


.first-nav {
    background: #ffff;
}

.sec-nav {
    background: #ffff;
}

header.scroll .first-nav {
    background: #ffff;
}

header.scroll .sec-nav {
    background: #ffff;
}
.category-products-header {
    display: flex;
    align-items: center;
    width: 98.4%;
    height: 55px !important;
    height: 100%;
    padding: 10px;
    /* background: #f4f4f4; */
    margin-inline: 8px auto;
    /* border-bottom: 1px solid; */
    border-radius: 8px;
    border: 1px solid #cccc;
    justify-content: space-between;
    margin-bottom: 1rem;
}


.category-tabs-box {
    display: flex
;
    margin-left: 5px;
    justify-content: space-between;
    align-items: center;
    padding-inline: 5px;
    cursor: pointer;
}
.category-tabs-title {
    display: flex;
    margin-right: 18px;
}

.category-sort-mobile {
    display: none;
}

.category-tabs-box span.active {
    font-weight: 600;
    color: #dc3545 !important;
}
.service_category_section{
    margin-top: 1rem;
}
.service_item {
    padding: 0.7rem 1rem;
}.service_item a {
   color: var(--additional-color2);
}
.services-sub_cat-items{
    /*border: 1px solid #14395e;*/
    border-radius: 7px;
    height: 400px;
    background-color: #6697bb24;
    gap: 6px;
}
.category-banner-title{
    margin-top: 11rem;
}
.toman_unit{
    font-size: 12px;
}

.col-category-item{
    padding-inline: 10px;
    margin-bottom: 20px;
}

.course-img {
    width: 300px;
    height: 300px;
}

.each-course {
    padding-inline: 27px;
}

.service_category_section{
    padding-top: 50px;
}








/*responsive*/
/*responsive*/
/*responsive*/

@media screen and (max-width: 1399px){
    .course-img {
        width: 290px;
        height: 290px;
    }
}


@media screen and (max-width: 1199px){

    .course-img {
        width: 260px;
        height: 260px;
    }

    .col-subcat-services{
        margin-bottom: 30px;
    }

    .services-sub_cat-items {
        display: flex;
        align-items: center;
        justify-content: center;
        height: fit-content;
        padding-block: 22px;
    }

    .service_item a {
        font-weight: 600;
        font-size: 15px;
    }

    .service_item {
        padding: 0.7rem 0.8rem;
    }

    .service_item{
        background: var(--extra-color);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        color: #fff !important;
    }

    .service_item a{
        color: #fff !important;
    }
}




@media screen and (max-width: 991px){




    .category-sort-desc .category-tabs-box{
        display: none;
    }

    .category-sort-mobile .category-tabs-title {
        display: flex;
        margin-right: 18px;
    }



    .category-sort-mobile {
        display: none;
        padding-top: 15px;
        align-items: flex-start;
        padding-inline: 50px;
        flex-direction: column;
        background-color: #fff;
        bottom: 0;
        right: 0;
        margin: auto;
        border-radius: 15px;
        height: max-content;
        width: 100%;
        position: fixed;
        z-index: 1110000;
        padding-bottom: 20px;
    }

    .category-sort-mobile.show {
        display: flex;
    }

    .category-tabs-close {
        position: absolute;
        right: 17px;
        top: 17px;
    }
    .category-sort-mobile.show .category-tabs-close svg {
        display: inline;
        margin-bottom: 10px;
    }

    .category-sort-mobile-title {
        color: #444 !important;
        font-size: 1rem !important;
        width: 100%;
        text-align: right;
        border-bottom: 1px solid #c7c7c7;
        padding-bottom: 10px;
    }

    .category-sort-mobile-title {
        display: block;
    }

    .category-tabs-title.show .category-tabs-box {
        margin-top: 15px;
        width: 100%;
        border-left: 0;
        position: relative;
    }

    .category-tabs-box span.active {
        font-weight: 600;
        color: #dc3545 !important;
    }

    .category-tabs-box > span.active::before, .category-tabs-box > a.active::before {
        content: url('data:image/svg+xml,<svg width="30px" height="30px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Interface / Check"><path id="Vector" d="M6 12L10.2426 16.2426L18.727 7.75732" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>');
        position: absolute;
        left: 0;
    }















    .service_item {
        min-width: max-content;
        min-height: fit-content;
    }
    .category-sort-mobile-title {
        display: block;
    }
    .category-sort-mobile-title {
        color: #444 !important;
        font-size: 1rem !important;
        width: 100%;
        text-align: right;
        border-bottom: 1px solid #c7c7c7;
        padding-bottom: 10px;
    }
    .category-products-header-right {
        display: flex
    ;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        /* border: 1px solid #ECECEC; */
        padding-inline: 15px;
        height: 49px;
        border-radius: 7px;
        /* background-color: #fc0da9; */
    }
    .services-sub_cat-items {
        justify-content: flex-start;
        padding-inline: 20px;
        overflow: auto;
        gap: 10px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE 10+ */
    }


    .services-sub_cat-items::-webkit-scrollbar{
        display: none;

    }


}

@media screen and (max-width: 767px){

}


@media screen and (max-width: 575px){

    .category-sort-mobile .category-sort-mobile-title {
        padding-right: 28px;
    }

    .category-sort-mobile {
        padding-inline: 20px;
    }

    /*.addressbar {*/
    /*    padding-top: 122px !important;*/
    /*}*/

    .service_category_section {
        padding-top: 38px;
    }


    .service_item a {
        font-size: var(--mobile-title-font);
    }

    .courses-category.container{
        padding: 0;
    }

}


@media screen and (max-width: 375px){

    .course-img {
        width: 228px;
        height: 228px;
    }

}


@media screen and (max-width: 320px){
    .course-img {
        width: 205px;
        height: 205px;
    }
}

/*responsive*/
/*responsive*/
/*responsive*/
