.description .title.other_service{
    margin-top: 35px !important;
    margin-bottom: 25px;
}
.list .item img{
    min-height: 41px !important;
    max-height: 41px !important;
    width: 68px;
}
.list .item{
    min-height: 80px;
}
.service-card.list{
    padding-top: 0;
    padding-bottom: 0;
}
.service-card.list .item{
    grid-template-areas: "icon title tags viewbtn cartbtn price";
    /*grid-template-columns: 74px 473px 1fr 160px 120px 158px;*/
    /*grid-template-columns: 0 522px 0fr 145px 120px 0;*/
    grid-template-columns: 0 471px 0fr 145px 120px 0;
    width: 100%;
    /*background: #F8F5F6;*/
    background: white;
    border-radius: 15px;
}
.service-card.list .btn.red-frame.btn-l.register-btn{
    margin: 0;
    max-width: 130px;
    min-width: unset;
    width: 100%;
}
.list .item .btn.red-frame{
    margin: 0;
    max-width: 130px;
    min-width: unset;
    width: 100%;
}
.service-card.list .item .btn-l{
    max-width: 130px;
    min-width: unset;
}
.list .item .btn.red-frame{
    padding: 0 24px;
}
.service-card:not(.list) img{
    margin: 0;
    padding-right: 27px;
    border-right: 1px solid #c4c4c4;
    min-height: 41px !important;
    max-height: 41px !important;
    width: 68px;
}
.service-card:not(.list) p{
    margin: 0;
    padding-left: 30px;
}
.service-card .price{
    color: #222;
    line-height: 22px;
    font-weight: 500;
    margin-left: 40px;
}
.service-card:not(.list){
    justify-content: unset;
}
.service-card:not(.list) .price{
    margin-left: auto;
}
.description .service-card + .btn.red.btn-h{
    margin-left: 0!important;
}

.description{
    display: block;
    z-index: 99;
}
.description .biography_container{
    max-height: 1000em; /* very large when expanded */
    /*transition: max-height 0.5s ease;*/
    overflow: hidden;
}
.description .biography_container.read_more{
    max-height: 19em;
    overflow: hidden;
    position: relative;
    margin-top: 5px;
    flex: 787px;
}
.description .read_more_button{
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    margin-top: 10px;
}
.description .read_more_button span{
    color: #DF1F26;
    font-weight: 500;
    font-size: 15px;
}
.description .read_more_button i{
    color: #d11818;
}

.description .read_less + .read_more_button i:before{
    content: "\e908" !important;
}

.biography_content p{
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

.biography_content p:not(:first-child){
    margin-top: 13px;
}
.description p strong{
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: #303030;
}

.read_more_button_container{
    display: flex;
}

.hidden_column_for_gap{
    flex: 158px;
}

.read_more_button_container .read_more_button{
    flex: 772px;
}

.read_more_button .arrow_down_img{
    background: url(/image/CaretDown.svg) no-repeat center;
    transition: .3s;
    width: 10px;
    height: 10px;
}

.container_for_service_cards_grouped{
    padding-left: 30px;
    padding-right: 30px;
    display: none;
}

.grouped_services_container.show_services .container_for_service_cards_grouped{
    display: block;
}

.grouped_services_container.show_services i:before{
    content: "\e92d";
}

.expand_service_list:after{
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    bottom: -4px;
    border-bottom: 1px solid rgb(237, 224, 224);
    width: calc(100% - 60px);
    left: auto;
}

.grouped_services_container.show_services .expand_service_list:after{
    content: none;
}

@media only screen and (max-width: 1600px){
    .service-card.list .item{
        padding: 0;
    }
}
@media (max-width: 1440px) and (min-width: 1290px){
    .service-card.list .item{
        grid-template-areas: "icon title tags cartbtn price"
                                     "icon title tags viewbtn price";
        grid-template-columns: 74px 1fr 160px 120px 158px;
        padding: 10px 0;
    }
}
@media only screen and (max-width: 1290px){
    .list .item .btn.dark-frame{
        margin: 0;
    }
}
@media (max-width: 1100px){
    .service-card.list .item{
        grid-template-areas: "icon title tags cartbtn price"
                                     "icon title tags viewbtn price";
        padding: 10px 0;
        grid-template-columns: 74px 1fr 160px 120px 158px;
    }
}
@media only screen and (max-width: 1024px) {
    .list .item .price{
        justify-content: center;
    }
}
@media only screen and (max-width: 890px){
    .service-card.list .item{

        grid-template-areas:
                "icon tags tags"
                "icon title title"
                "icon price price"
                "icon viewbtn cartbtn";
        grid-template-rows: repeat(4, auto);
        grid-template-columns: 127px 1.5fr 150px;

        /*grid-template-areas:
        "icon title title"
        "icon viewbtn cartbtn"
        "icon price price";*/
    }
    .list .item .price{
        /*padding-right: 30px;
        justify-content: end;*/
        justify-content: start;
        padding-left: 0;
        margin-left: 0;
    }
    /*.service-card.list .btn.red-frame.btn-l.register-btn{
        max-width: unset;
    }*/

    .service-card.list .item .title{
        padding-left: 0;
    }
}
@media (max-width: 600px){
    .service-card.list .btn.red-frame.btn-l.register-btn{
        max-width: unset;
    }
    .list .item .price p{
        font-size: 16px;
    }
    .service-card.list .item{
        padding-left: 20px;
        padding-right: 20px;
        grid-template-areas:
                "icon tags tags"
                "icon title title"
                "icon price price"
                "viewbtn viewbtn cartbtn";
    }

    .service-card:not(.list) img{
        border: none;
    }
}
@media only screen and (max-width: 450px){
    .service-card.list .item{
        grid-template-areas:
                "tags tags"
                "price price"
                "title title"
                "viewbtn cartbtn";
        grid-template-columns: 120px 1.5fr 2px;
        padding-bottom: 20px;
        padding-top: 0;
    }
    .list .item .title{
        padding-left: 0!important;
    }
    .list .item img{
        width: 41px;
    }
    .service-card:not(.list) p{
        padding-left: 0;
        flex: 180px;
        width: 100px;
    }

    .list .item .price{
        padding-left: 0!important;
    }
    .list .item .price p{
        margin: 0;
    }
}

/* NEW DESIGN */

.doctor{
    background: #F8F5F6;
    border-radius: 15px;
    padding: 40px;
}

.doctor .right .name{
    font-size: 36px;
    line-height: 40px;
    font-family: "Nyght Serif";
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doctor .right .name *{
    margin: 0;
    height: 45px;
    padding: 0 32px;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 15px;
}

.doctor .right p:nth-child(2), .doctor .right p:nth-child(5), .doctor .right p:nth-child(8){
    font-weight: 400!important;
    font-size: 15px;
    line-height: 22px;
    margin: 0!important;
}

.container_for_languages_doctor_page .lang_box_container{
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    font-size: 15px;
    font-weight: 400;
    color: #303030;
    line-height: 22px;
    width: unset;
}

.container_for_languages_doctor_page{
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 18px;
}

.doctor_phone_and_address i{
    font-size: 20px;
}

.doctor_phone_and_address p, .doctor_phone_and_address a{
    font-weight: 500!important;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.doctor_phone_and_address{
    display: flex;
    align-items: center;
    gap: 20px 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.doctor_phone_and_address p{
    margin: 0!important;
}

html body .wrap.sidenav_true .wrapper_for_doctor_card{
    width: 100vw!important;
    max-width: unset;
    margin-left: -50vw;
    position: relative;
    left: 50%;
    padding: 0 20px;
}

.wrapper_for_doctor_card .doctor{
    max-width: 1338px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.doctor .photo img{
    border-radius: 7px;
    /*max-width: 427px;
    max-height: 427px;
    width: 100%;
    height: 100%;
    object-fit: cover;*/
}

.doctor .photo{
    border-radius: 7px;
    width: 427px;
    min-width: 427px;
    height: 427px;
}

.doctor_services_wrapper .title{
    flex-basis: 153px;
    font-weight: 400;
    font-size: 36px;
    line-height: 40px;
    color: #303030;
    font-family: 'Nyght Serif';
}

.doctor_services_wrapper .item .title{
    font-family: "Montserrat", sans-serif;
    color: #303030;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.doctor_services_wrapper .services_container{
    flex-basis: 939px;
    background-color: #fcf4f4;
    border-radius: 8px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.doctor_services_wrapper{
    margin-top: 95px!important;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: flex-start;
}

.service-card:nth-child(2){
    margin: 10px 0 0 0;
}

.service-card{
    /*background: #F8F5F6;*/
    background: white;
    box-shadow: none;
    border-radius: 15px;
}

.service-card:not(.list) p{
    padding-left: 0!important;
}

.service-card p{
    color: #303030;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.right_side_container{
    margin-top: 3px;
}

.doctor .right{
    width: 100%;
    position: relative;
    gap: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.right_side_container + a{
    margin: 0!important;
    max-width: 188px;
    width: 100%;
    border-radius: 7px!important;
    font-weight: 500!important;
    font-size: 15px!important;
    background: #DF1F26!important;
    transition: .3s;
    height: 45px!important;
    text-transform: capitalize!important;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0!important;
}
.right_side_container + a:hover{
    background: #ff262e!important;
}

.description{
    padding: 0;
    margin: 0!important;
    background-color: unset;
    border-radius: 0;
    margin-top: 100px!important;
}

.container_for_doctor_description_content{
    display: flex;
    gap: 15px;
}

.container_for_doctor_description_content .title{
    margin: 0!important;
    font-size: 36px;
    line-height: 40px;
    font-weight: 400;
    color: #303030;
    font-family: "Nyght Serif";
    flex: 158px;
}

.biography_content p:first-child{
    margin: 0!important;
}

.description .biography_container{
    margin-top: 5px;
    flex: 787px;
}

.wrap.sidenav_true .section_for_homepage_newsletter{
    margin-top: 136px;
}

.expand_service_list{
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    line-height: 56px;
    margin-top: 10px;
    font-weight: 600;
    color: #222222;
    cursor: pointer;
    transition: .3s;
    position: relative;
}

.expand_service_list i{
    color: #d11818;
    font-size: 18px;
    font-weight: 600;
}

.grouped_services_container .service-card:first-child{
    margin: 0;
}

.grouped_services_container:last-child .expand_service_list:after{
    content: none;
}

.grouped_services_container:last-child .container_for_service_cards_grouped{
    margin-bottom: 15px;
}

.grouped_services_container.show_services.no_cats{
    padding-top: 20px;
}

.expand_service_list:hover{
    color: #d11818;
}

.grouped_services_container[data-category-id="0"]{
    order: 5;
}

@media (max-width: 1440px) and (min-width: 1290px){
    .service-card.list .item{
        grid-template-areas:
        "icon title tags cartbtn price"
        "icon title tags viewbtn price";
        padding: 10px 0;
        grid-template-columns: 0 1fr 160px 120px 158px;
    }
}

@media(max-width: 1280px) and (min-width: 1100px){
    .service-card.list .item{
        grid-template-areas:
        "icon title tags cartbtn price"
        "icon title tags viewbtn price";
        padding: 10px 0;
        grid-template-columns: 0 1fr 160px 120px 158px;
    }
}

@media (max-width: 1200px){
    .right_side_container + a{
        position: unset;
    }
}

@media (max-width: 1100px){
    .service-card.list .item{
        grid-template-columns: 0 1fr 160px 120px 158px;
    }
}

@media (max-width: 900px){
    .wrapper_for_doctor_card .doctor{
        padding: 16px;
        padding-bottom: 24px;
        flex-direction: column;
        max-width: 600px;
    }
    .doctor .photo{
        height: unset;
        width: 100%;
        min-width: unset;
    }
    .doctor .photo img{
        object-fit: cover;
        aspect-ratio: 1/1;
    }
    .doctor .right{
        flex-direction: column;
        padding: 0;
    }

    .right_side_container + a{
        max-width: unset;
    }

    .doctor_services_wrapper, .container_for_doctor_description_content{
        flex-direction: column;
        margin-top: 83px!important;
    }

    .doctor_services_wrapper .title, .container_for_doctor_description_content .title{
        font-size: 24px;
        line-height: 28px;
        flex: unset;
    }

    .description .read_more_button{
        padding-left: 0;
    }

    .hidden_column_for_gap{
        display: none;
    }

    .doctor_services_wrapper .services_container{
        flex-basis: unset;
        width: 100%;
    }

}

@media only screen and (max-width: 890px){
    .service-card.list .item{
        grid-template-columns: 20px 1.5fr 150px;
    }
}

@media (max-width: 768px){
    .list::before{
        content: none;
    }

    .expand_service_list, .container_for_service_cards_grouped{
        padding-left: 15px;
        padding-right: 15px;
    }

    .expand_service_list:after{
        width: calc(100% - 30px);
    }
}

@media (max-width: 600px){

    .doctor .right .name{
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    .doctor .right{
        margin-top: 16px;
    }

    .container_for_languages_doctor_page{
        margin-top: 18px;
        margin-bottom: 22px;
    }

    .doctor_phone_and_address{
        gap: 10px 30px;
    }

    html body .wrap.sidenav_true .wrapper_for_doctor_card{
        margin-top: 16px!important;
    }

    .service-card{
        flex-direction: column;
        gap: 10px;
    }

    .service-card:not(.list) .price{
        margin: 0;
    }

    .service-card p, .service-card .price{
        font-size: 15px;
        line-height: normal;
    }

    .service-card:not(.list) p{
        width: 100% !important;
        flex: unset!important;
    }

    .description::before{
        content: none;
    }

    .description{
        margin-top: 76px!important;
    }

    .list .item .title{
        padding-left: 0;
    }

    .doctor_services_wrapper .item .title{
        font-size: 15px;
        line-height: normal;
    }

    .expand_service_list{
        font-size: 20px;
        line-height: 32px;
    }

}

@media (max-width: 450px){
    .service-card.list .item{
        grid-template-columns: 120px 1.5fr 2px;
    }

    .expand_service_list{
        font-size: 18px;
    }
}