
@font-face {
    font-family: 'yekanbakh-reg';
    src: url('../webfonts/YekanBakh-Regular.woff');
    src: url('../webfonts/YekanBakh-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    font-family: yekanbakh-reg;
    font-size: 16px;

    background-color: #EEF9FF;
    background-image:url("../images/pattern1366-800.png");
}
p{
    line-height: 2.3;
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6{
    line-height: 1.8 !important;
}
li {
    list-style-type: none;
    position: relative;
}
a{
    cursor: pointer;
    color: black;
}
hr{
    border-top: #B2EBFF solid;
}
header{
    padding: 30px 0;
}

.bg-blue-682{
    background-color: #005682;
}

.bg-green-0e6{
    background-color: #D7F0E6;
}

.bg-blue-9ff{
    background-color:#EEF9FF ;
}
.bg-blue-bff{
    background-color: #B2EBFF;
}
.bg-blue-4ff{
    background-color:#DCF4FF ;
}

.bg-green-377{
    background-color: #399377;
}

.bg-blue-294{
    background-color: #006294;
}
.bg-blue-333{
    background-color: #003351;
}



.text-black-677{
    color: #637677;
}
.text-blue-351{
    color: #003351;
}
.text-blue-682{
    color: #005682;
}
.text-blue-4b4{
    color: #0074B4;
}

.text-blue-2df{
    color: #0092DF;
}

.text-blue-dff{
    color: #6DDDFF;
}
.text-dark-455{
    color: #495455;
}
.text-black-520{
    color: #0E2520;
}


.text-justify{
    text-align: justify;
}

.w-fit{
    width: fit-content;
}

.btn-blue-682{
    background-color: #005682;
    color: white;
}
.btn-blue-682:hover{
    background-color: #014c72;
    color: white;
}
.border-bff{
    border: 2px solid #b2ebff;
}

.border-4ff{
    border: 2px solid #DCF4FF;
}
.accordion-button::after{
    margin-left: unset;
    margin-right: auto;
}
.accordion-button:not(.collapsed){
    background-color:#6DDDFF;
}
.accordion-button:focus{
    box-shadow: none;
}

/********************** menu-header start **************************/


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
}


.no-scroll {
    overflow: hidden;
    height: 100vh;
}


.close-menu {
    position: fixed;
    top: -3px;
    left: 15px;
    font-size: 67px;
    color: white;
    background: none;
    border: none;
    z-index: 1001;
    cursor: pointer;
    display: none;
}


.nav-menu.show ~ .close-menu {
    display: block;
}

#toggleMenu{
    cursor: pointer;
}

.sub-menu {
    display: none;
    position: relative;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 100px;
    flex-direction: column;
}

.responsive-nav {
    display: none;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    margin: 0;
}
.nav-menu li{
    cursor: pointer;
    margin: 0 10px;
    font-weight: 600;
    color: white;!important;
}
.nav-menu li a {
    color: white;!important;
}
.nav-menu li .img-icon{
    margin-left: 5px;
}
.nav-menu .left-item, .nav-menu .right-item {
    display: flex;
    align-items: center;
}

.nav-menu .logo {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    cursor: default;
}
.nav-menu .logo img{
    width: 200px;
}
.left-item {
    margin-right: auto;
    background: #005682;
    border-radius: 8px;
    padding: 7px 24px;
}

.right-item {
    margin-left: auto;
    background: #005682;
    border-radius: 8px;
    padding: 7px 24px;
}
.has-sub-menu  .text-sub {
    position: relative;
}

.has-sub-menu .text-sub::after {
    content: "\25BC";
    font-size: 12px;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/********************** menu-header end **************************/

a.btns-arrow{
    transition: transform 0.3s ease;
}
a.btns-arrow img.img-arrow{
    transition: transform 0.3s ease;
}
a.btns-arrow:hover img.img-arrow {
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.social-media{
    background-color: #EEF9FF;
    color: #005682;
    border-radius: 8px;
    padding: 5px 10px;
    border: 2px solid #005682;
    width: fit-content;
    margin-left: 10px;
    margin-bottom: 20px;
}


/********************** slider  **************************/
.slick-slide {
    margin: 0 20px;
}


.slick-prev:before,
.slick-next:before {
    color: black;
}


.slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
}

.slick-active {
    opacity: .5;
}

.slick-current {
    opacity: 1;
}
.slick-dots li button:before{
    font-size: 15px;
    color:#005682 ;
}
.slick-dots li.slick-active button:before{
    color:#005682 ;
    opacity: 1;
}
.slider img {
    border-radius: 10px;
    height: 260px;
}

.slider.slider-nav .h-nav-size{
    height: 150px;
}
.slider.slider-nav img{
    cursor: pointer;
}

.single-item .img-client{
    width: 75px;
    height: 75px;
    border-radius: 50%;
}
.opinion-slider .single-item .slick-prev:before,.opinion-slider .slick-next:before {
    color: white;
    font-size: 30px;
}
.single-item .slick-dots li button:before{
    color: white;
}
.single-item .slick-dots li.slick-active button:before{
    color: white;
}
.gradient-border {
    position: relative;
    background: linear-gradient(232deg, #C913B9, #F9373F, #FECD00);
    border-radius: 34px;
    padding: 5px 16px 5px 16px;
}
.instagram-page{
    border-radius: 30px; /* باید کمتر از .gradient-border باشد */
}
.instagram-page .instagram-Phone-img {
    margin-top: -100px;
}


.sidebar {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}
.content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}
.sidebar .list-group-item {
    border: none;
    background: none;
}

.search-bar input {
    border: none;
    color: #5c5c5c;
    border-radius: 0 5px 5px 0;
}

.search-bar input:focus {
    outline: none;
    box-shadow: none;
}

.search-bar button {
    border: none;
    padding: 6px 12px;
    background-color: #0092DF;
    border-radius: 20px 0 0 20px;
}



.article_section .sidebar .list-group .bg-white:hover , .article_section .sidebar .hashtag a:hover{
    background-color:#8ed3f3 !important;
    transition: 0.2s;
}

.article_section .content .comment .user-info img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 10px;
}

.active>.page-link, .page-link.active{
    background-color: #00B6FF;
    border-color: #00B6FF;
}
.section-grid-blog a{
    transition: 0.3s;
}
.section-grid-blog a:hover{
    box-shadow: 0 0 8px gray;
    transition: 0.3s;
}
.section-grid-blog a span:hover{
    background-color: #ace1f9;
}

 .page-link{
    color: black;
}

.section-grid-blog .news-image{
    height: 300px;
}
.video-list:before{
    content: "";
    width: 61px;
    height: 61px;
    background-image: url("../images/icon-play.svg") ;
    background-repeat: no-repeat;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
}
.video-gallery .video-list img{
    height: 177px;
}

.section-weight-time .input-group input{
    border-radius: 0 5px 5px 0 !important;
    border-left: none;
}
/* برای حذف اسپینرها در مرورگرهای Chrome و Safari */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


input[type="number"] {
    -moz-appearance: textfield;
}
.section-weight-time .input-group span{
    border-radius: 5px 0 0 5px !important;
    border-right: none;
}

.search-calories button{
    width: 25%;
    margin-right: 50px;
}


thead th:first-child {
    border-radius: 0 10px 0 0;
}
thead th:last-child {
    border-radius: 10px 0 0 0;
}
table tbody tr td{
    background-color: #F5F6F6 !important;
    border: 2px solid white !important;
}

table tr:last-child td:first-child {
    border-radius: 0 0 10px 0;
}


@media (min-width: 992px) {
    li:hover .sub-menu {
        display: block;
    }
    .sub-menu {
        position: absolute;
        top: 102%;
        right: 0;
        padding: 20px 0;
        width: 188px;
        border-radius: 8px;
    }
    .sub-menu li{
        margin: 0;
    }
    .sub-menu li a{
        padding: 10px 15px 10px 0;
        color: #005682;
    }
    .sub-menu li a:hover{
        background: #005682;
        color: white;
    }
}

@media (max-width: 1200px) {
    .slider img{
        height: 189px;
    }
}

@media (max-width: 992px) {
    .responsive-nav {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
        align-items: center;
    }
    .nav-menu {
        display: block;
        position: absolute;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100%;
        background-color:white;
        background-image: url("../images/pattern1366-800.png");
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 30px 0;
    }
    .nav-menu li{
        margin: 0;
        margin-bottom: 15px;
    }
    .nav-menu li a{
        width: 100%;
        display: block;
        color: #005682;
    }
    .nav-menu.show {
        right: 0;
    }
    .nav-menu .logo {
        display: none;
    }
    .nav-menu .left-item, .nav-menu .right-item{
        display: block;
        background: none;
        padding: 7px 25px 7px 0;
        color: #005682;
    }
    .sub-menu{
        background: none;
        box-shadow: none;
        padding:20px 30px 0 0;
    }
    .has-sub-menu .text-sub{
        display: block;
        width: 100%;
    }
    .has-sub-menu .text-sub::after{
        left: 20px;!important;
    }
    .instagram-page .instagram-Phone-img {
        margin-top: 0;
    }
    .video-gallery .video-list img{
        height: 145px;
    }

}
@media (max-width: 768px) {
    .slider img{
        height: 322px;
    }
    .video-gallery .video-list img{
        height: 240px;
    }
    .search-calories button{
        width: 100%;
        margin-right: 0;
    }
}
@media (max-width: 460px) {
    .slider img{
        height: 232px;
    }
    .slider.slider-nav .h-nav-size img{
        height: 88px;
    }
}