.bg_gray {
    background-color: #F7F7F7;
}

.khadamat_cover {
    height: 96vh;
    width: 100%;
}

.khadamat_cover_img {
    top: 0;
    right: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% -4% !important;
    background-repeat: no-repeat;
    opacity: 1;
}


.khadamat_cover_box {
    background-color: rgba(211, 47, 47, 0.75);
    margin-bottom: 6%;
    color: #fff;
    max-width: 980px;
    width: 100%;
}



.khadamat_cover_items ul {
    width: 100%;
    list-style: none;
    padding: 0;
}

.khadamat_cover_des {
    width: 100%;
}

.khadamat_cover_items ul li input[type=radio] {
    position: absolute;
    visibility: hidden;
}

.khadamat_cover_items ul li label {
    display: flex;
    position: relative;
    font-weight: 300;
    font-size: 1.35em;
    padding-right: 42px;
    margin: 10px auto;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
    align-items: center;
    text-align: right;
}

.khadamat_cover_items ul li:hover label {
    color: #FFFFFF;
}

.khadamat_cover_items ul li .check {
    display: flex;
    position: absolute;
    border: 3px solid #fff;
    border-radius: 100%;
    height: 35px;
    width: 35px;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
    align-items: center;
    justify-content: center;
}

.khadamat_cover_items ul li {
    position: relative;
    margin-bottom: 8%;
}

.khadamat_cover_items ul li:last-child {
    margin-bottom: 0;
}

.khadamat_cover_items ul li a:hover .check {
    border: 4px solid #eee;
}

.khadamat_cover_items ul li a .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 10px;
    width: 10px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

.khadamat_cover_items {
    padding-left: 37px;
    width: 85%;
}

input[type=radio]:checked~.check {
    border: 3px solid #fff;
}

input[type=radio]:checked~.check::before {
    background: #fff;
}

input[type=radio]:checked~label {
    color: #0DFF92;
}

input[type=radio]:checked~label h2 {
    font-weight: 700;
}

.khadamat_cover_items h2 {
    font-size: 18px;
    color: white;
    font-weight: 500;
}

.khadamat_cover_des h3 {
    color: #fff;
    font-weight: 600;
    font-size: 26px;
    text-align: center;
    line-height: 45px;
}

.khadamat_tab ul {
    padding: 0;
    list-style: none;
    display: flex;
    column-gap: 2%;
}


.khadamat_tab {
    padding: 40px 0;
    color: #313131;
    position: relative;
}

.khadamat_tab li a.active {

    background: #D32F2F !important;
    color: #fff !important;
    border: 1px solid #d32f2f !important;
}

.khadamat_tab ul li a {
    color:white;
    font-weight: 600;
}



@media (max-width:1200px) {
    .khadamat_cover_box {
        max-width: 767px;
    }

    .khadamat_cover_des h3 {
        font-size: 20px;
    }

    .khadamat_cover_items h2 {
        font-size: 16px;
    }

}

@media (max-width:767px) {
    .khadamat_cover_box {
        flex-direction: column-reverse;
        max-width: 360px;
        position: relative;
        bottom: 200px;
    }
    .khadamat_cover_items ul li .check{
        width: 25px;
        height: 25px;
    }
    
    .khadamat_cover_items ul li a .check::before {
        height: 7px;
        width: 7px;
        top: 6px;
        left: 6px;
    }

    .khadamat_cover_des h3 {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 28px;
    }

    .khadamat_cover_items {
        margin-top: 15px;
        width: 100%;
        padding-left:0 ;
    
    }
   

    .khadamat_cover_items h2 {
        font-size: 14px;
    }

    .khadamat_cover_items ul li {

        margin-bottom: 6%;
    }
    .khadamat_cover_img {
        background-position: unset !important;
    }


}


@media (max-width:767px) {
    .khadamat_tab {
        padding: 15px 0;

    }

    .tabs_btns {

        top: 15px;
        bottom: none;

    }

    .khadamat_tab .tbtn_normal {
        font-size: 12px;
    }

}






.tabs_btns {
    position: absolute;
    left: 0;
    bottom: 36px;
    display: flex;
    width: 80px;
    justify-content: space-between;

}

.tabbtn i {
    font-size: 16px;
    font-weight: 600;
    color: red;
}



.tabbtn {
    display: flex;
    width: 28px;
    height: 28px;
}

.tabbtn:hover a {
    background-color: #f7dcdc;
}

.tabbtn a {
    border-radius: 50%;
    border: 1px solid red;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabbtn.dark a {
    border: 1px solid black;
}

.tabbtn.whitecolor a {
    border: 1px solid white;
}

.tabbtn.whitecolor i {
    color: white;
}

.tabbtn.dark i {
    color: black;
}

.tabbtn.dark:hover a {
    background-color: #EBEBEB;
}



.khadamat_main_img {
    max-height: 320px;
    overflow: hidden;
}

.khadamat_main_img img {
    object-fit: cover;
    object-position: top;
}


.khadamat_main_body {
    width: 60%;
}
.khadamat_main_body p {
    text-align: justify;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
}

.khadamat_main_body h3 {
    font-size: 33px;
    font-weight: 600;
    color: #d32f2f;
}


@media (max-width:991px) {
    .khadamat_main_body h3 {
        font-size: 20px;

    }
    .khadamat_main_body {
      width: 100%;
    }

    p {
        font-size: 14px;
        line-height: 23px;
        color: #555555;
        font-weight: 400;
    }


    .khadamat_main_img {
        max-height: 260px;
    }

}


.background_khadamattab {
    background-color: grey;
}

.faq_khadamat .faq_body {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    justify-content: space-between;
}

.faq_khadamat .faq_items {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: transparent;
    margin-bottom: 15px;
    border-radius: 10px;
    position: relative;
    width: 49%;
    cursor: pointer;
}

@media (max-width:767px) {

    .faq_khadamat .faq_items {

        width: 100%;

    }

    .khadamat_main_body p {
       
        font-size: 16px;
        line-height: 26px;
   
    }
}



.faq_khadamat .s_22 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: right;
    background-color: #EBEBEB;
    padding: 10px;
    border-radius: 8px;
}

.faq_khadamat .questions_logo {
    float: right;
    width: 50px;
    padding: 3px;
}

.faq_khadamat .questions_text {
    float: right;
    width: 100%;
    padding-right: 2%;
}

.faq_khadamat .questions_text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.khadamat_titles {
    font-size: 1.5rem;
    color: #767676;
}

.khadamat_titles.dark {
    color: white;
}

@media (max-width:767px) {

    .khadamat_titles {
        font-size: 18px;
    }
}


.faq_khadamat .questions_btn {
    background-color: transparent;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: 2px solid gray;
}

.faq_khadamat .questions_btn a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq_khadamat .javab {
    width: 100%;
    background-color: #F1F1F1;
    height: auto;
    border-radius: 10px;
    margin-top: 8px;
    text-align: right;
    padding: 15px;
    border: 1px solid #BBB;
    display: none;
}

.felesh {
    font-size: 14px;
    font-weight: 700;
}

.rotate_icon {
    transform: rotate(90deg);
}

.faq_khadamat .javab p {
    font-size: 14px;
}

.consultation {
    overflow: hidden;
    max-width: 770px;
    margin: auto;
    box-shadow: 0px 0px 4px -2px gray;
    background-color: #fff;

}

.consultation_img img {
    object-fit: cover;
}

.consultation>div {
    width: 50%;
}

@media (max-width:767px) {

    .consultation>div {
        width: 100%;
    }
}



.consultation_body {
    width: 50%;
    padding: 0 30px;
}

.consultation_body h4 {
    font-size: 18px;
    text-align-last: center;
    margin-bottom: 40px;
}

.khadamat_opts .items .up {
    font-size: 4rem;
    text-align: center;
}

.khadamat_opts .items .down {
    font-size: 1.5rem;
    text-align: center;
}

.khadamat_opts {
    padding: 10px 0;
}

.khadamat_opts .items {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width:767px) {

    .khadamat_opts .items .up {
        font-size: 1.5rem;

    }

    .khadamat_opts .items .down {
        font-size: 12px;
    }

    .khadamat_opts .items:first-child .inner {
        margin-left: 10px;
    }

    .consultation_body h4 {

        margin-bottom: 15px;
    }

}

.khadamat_opts .items:first-child .inner {
    margin-left: 30px;
}

.khadamat_opts .items .inner {
    width: 100%;
    width: fit-content;
    color: white;
}

.khadamat_opts .items {
    border-left: 1px solid #bebebe;
}

.khadamat_opts .items:last-child {
    border-left: none;
    justify-content: end;
}

.khadamat_opts .items.items4 {
    width: 21%;
}

.khadamat_opts .items.items3 {
    width: 32%;
}

.khadamat_opts .items.items2 {
    width: 32%;
}

.khadamat_opts .items.items1 {
    width: 17%;
}

.kadamat_card_head h4 {
    font-size: 18px;
    font-weight: 600;
}

.kadamat_card_inner {
    background-color: #fff;
    height: 100%;
}

.kadamat_card_body li {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 400;
}


.kadamat_card_body li:last-child {
    margin-bottom: 0;
}

@media (max-width:767px) {

    .kadamat_card_head h4 {
        font-size: 16px;
    }

    .khadamat_opts .items:first-child .inner {
        margin-left: 10px;
    }

}

.owl-stage {
    display: flex;
}

.testimonial-item {
    height: 100%;
    padding: 4px 0px;
}

.testimonial-item .card_body{
 height: 100px;
}


.karfarma-slider .img_slider {
    width: 100px;
    margin: auto;
}

.karfarma-slider .tcard {
    padding: 25px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.karfarma-slider .img_title h4 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 10px;

}




/* ------------- */


.card-img-top {
    height: 100%;
    object-fit: fill;
    object-position: top;
}

.karfarma-slider .card-img-top {

    border-radius: 50%;
}

.khadamat-slider .tcard{
   box-shadow: none!important;
}

.khadamat-slider .tcard .view {
    height: 204px;
}


.khadamat-slider .owl-nav {
    top: -36px;

}
.karfarma-slider .card-img-top {

    border-radius: 50%;
}

.khadamat-slider .tcard .view {
    height: 204px;
}


.owl-nav {
    top: -45px;
    position: absolute;
    height: fit-content;
    left: 0;
    width: 80px
}