/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

.section_doctor{
    padding: 3vh 0;
}

.doctor_card_stack a{
    border-radius: 1vw;
    background: #F3F0F0;
    padding: 0.5vh 0.5vw;

    color: rgb(0, 0, 0);
    font-size: 1vw;
    font-weight: 400;
    transition: transform 1s ease;
}

.doctor_card_stack a:hover{
    transform: scale(1.07);
    text-decoration: none;
    color: rgb(0, 0, 0);

}

.doctro_card_info a:hover{
    text-decoration: none;
}

.doctor_card_wrap{
    display: flex;
    gap: 2vw;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    border: 0.1vw solid rgb(129, 189, 187);
    border-radius: 0.3vw;
    padding: 1.5vh;
    margin-bottom: 2vh;

}

.doctor_card{
    flex:0 0 68%;

}

.doctor_record{
    flex: 1 1 100%;
}


.doctor_card_info_wrap{
    display: flex;
    align-items: flex-start;
    gap: 2vw;
    margin-bottom: 2vh;

}

.doctro_card_info h2{
    color: rgb(0, 0, 0);
    font-size: 1.4vw;
    margin-bottom: 1.5vh;
}
.doctor_card_stack_wrap{
    display: flex;
    align-items: flex-start;
    gap: 2vw;
}




.doctor_card_stack{
    display: flex;
    align-items: center;
    gap: 0.5vw;
    flex-wrap: wrap;
    margin-bottom: 1.5vh;
}




.doctor_card_expirience{
    display: grid;
    grid-template-columns: 3.5vw 1fr;
    align-items: flex-start;
    margin-bottom: 1.5vh;
}

.doctor_card_expirience:last-child{
    margin-bottom: 0;
}

.doctor_card_expirience h6{
    color: rgb(0, 0, 0) !important;
    font-size: 1vw;
    font-weight: 400;
    margin-bottom: 0;
}

.doctor_card_expirience img{
    height: 100%;
}

.doctor_card_expirience_img{
    height: 1.5vw;
}

.doctor_card ul{
    margin-top: 1.5vh;
    border-radius: 0.3vw;
    background: rgb(247, 243, 243);
    padding: 1.5vh 1vw;
}

.doctor_card ul li p:first-child{
    font-size: 1vw;
    color: #6A6A6A;
}

.profession_ul li{
    list-style-type: disc;
    color: rgb(0, 0, 0);
    font-size: 1.1vw;
    font-weight: 400;
    margin-bottom: 1vh;
    list-style-position: inside;
}

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

.education_ul ul li{
    display: grid;
    grid-template-columns: 6vw 1fr;
}
.education_ul h5 {
    margin: 1vw 0;
}
.opit_ul li, .education_ul li {
    display: grid;
    grid-template-columns: 2vw 8vw 75%;
    border: 0.1vw solid #3D3E63;
    padding: 1vw;
    margin-bottom: 1.5vw;
    border-radius: 0.2vw;
}
.spec_ul li {
    display: grid;
    border: 0.1vw solid #3D3E63;
    padding: 1vw;
    margin-bottom: 1.5vw;
    border-radius: 0.2vw;
}
.opit_ul li:before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='Layer_1' data-name='Layer 1' viewBox='0 0 24 24' width='512' height='512' fill='%233D3E63'%3e%3cpath d='m17,0H7c-1.654,0-3,1.346-3,3v21h16V3c0-1.654-1.346-3-3-3Zm-6,19h-3v-2h3v2Zm0-4h-3v-2h3v2Zm-2-7v-2h2v-2h2v2h2v2h-2v2h-2v-2h-2Zm7,11h-3v-2h3v2Zm0-4h-3v-2h3v2Zm8-6v15h-2V6.184c1.161.414,2,1.514,2,2.816ZM2,6.184v17.816H0v-15c0-1.302.839-2.402,2-2.816Z'/%3e%3c/svg%3e");
    background-repeat:no-repeat;
    background-size: 1.3em;
    content: " ";
}
.education_ul li:before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg fill='%233D3E63' version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='800px' height='800px' viewBox='0 0 260 188' xml:space='preserve'%3e%3cpath d='M134.3,109.2L202,83.8V146c0,13.4-32.2,24.3-72,24.3S58,159.4,58,146V83.8l67.9,25.4l4.2,1.6L134.3,109.2z M130.1,98L258,50 L130.1,2L2,50l20,7.5v81.8c-4.7,2.2-8,7.1-8,12.7v34h28v-34c0-5.7-3.3-10.6-8.1-12.8V61.9L130.1,98z'/%3e%3c/svg%3e");
    background-size: 1.5em;
    content: " ";
    background-repeat:no-repeat;
}

.doctor_card ul li::marker{
    color: rgb(129, 189, 187);
    font-size: 1.5vw;
    margin-right: 1vw;
}
.doctor_card ol li::marker{
    color: rgb(129, 189, 187);
    font-size: 1.5vw;
    margin-right: 1vw;
}
.doctor_card ol li {
    list-style-type: disc;
    color: rgb(0, 0, 0);
    font-size: 1.1vw;
    font-weight: 400;
    margin-bottom: 1vh;
    list-style-position: inside;}
.doctor_card_logo{
    min-width: 14vw;
    max-width: 14vw;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0.3vw;
}
#mobile_calendary{
    display: none;
}


.fc-daygrid-day {
    background-color: #f0f0f0;
}

.fc-daygrid-day-number {
    color: #333;
}

.fc-daygrid-day.fc-day-today {
    background-color: #007bff;
    color: #fff;
}


.array_info{
    display: none;
    max-height: 0;
    opacity: 0;
    transition: max-height 1s ease, opacity 0.7s ease;
}

.array_info.active{
    display: block;
    opacity: 1;
    max-height: none;
    margin-bottom: 1vh;
}
.array_info:last-child{
    margin-bottom: 0;
}

.open_arrow_img{
    transition: transform 1s ease;
}
.open_arrow_img.active{
    transform: rotate(180deg);
    transition: transform 1s ease;
}

.open_arrow{
    margin-bottom: 1vh !important;
}

.doctro_card_info .doctor_card_expirience:last-of-type img{
    margin-left: 0.3vw;
}

#mobile_recording{
    display: none;
}
.section_doctor h5 {
    cursor: pointer;
}
.section_doctor .col-lg-6 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 100%;
}


.news_more__wrap {
    display: flex;
    justify-content: flex-start;
    gap: 0.5em;
}

.news_more__block {
    padding: 1em 1em;
    border-radius: 0.5em;

    flex: 0 0 24.5%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: space-between;
    background: #F3F0F0;
}

.news_more__img {
    height: 10em;
    margin-bottom: 1em;
}

.news_more__img img {
    margin: 0 !important;
    width: 100%;
    border-radius: 0.5em;
    height: 100%;
    object-fit: cover;
}
.news_more__block h5{
    margin: 0 !important;
}

.news_more__block a {
    display: block;
    padding: 0.5em;
    border-radius: 0.3em;
    background: #81BDBB;
    text-align: center;
    color: white;
}

.news_more__block a:hover{
    color: white;
    text-decoration: none;
    transform: scale(1.03);
}

.news_more__content{
    max-height: 12em; /* ограничьте высоту контейнера */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* количество строк */
    -webkit-box-orient: vertical;
}

.news_more__content p{
    margin: 1em 0 0;
}

.doctor__slide {
    flex: 1 1 auto;
    /* Дополнительные стили */
}
#doctor__slider_prev{
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 0em;
    opacity: 1;
    width: 2em;
    height: 2em;
    outline: none;
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    left: auto;
    z-index: 5;
}
#doctor__slider{
    position: relative;

}

#doctor__slider_next img{
    transform: rotate(-90deg);
}

#doctor__slider_prev img{
    transform: rotate(90deg);
}
#doctor__slider_next{
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: 0em;
    opacity: 1;
    width: 2em;
    height: 2em;
    outline: none;
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    left: auto;
    z-index: 5;
}
.clinic-licence__block{
    margin-bottom: 0 !important;
}


#doctor__slide{
    flex: 0 1% 25%;
}
.section_doctor .doctor_card_expirience h5 {
    margin: 0;
}
.section_doctor h5 {
    color: rgb(129, 189, 187);
    font-size: 1.1vw;
    margin: 1em 0;
}


.review-tabs {
    display: flex;
    margin-bottom: 2em;
}

.tab-button {
    padding: 1em 2em;
    border: 0.1em solid #ddd;
    background-color: #fff;
    cursor: pointer;
    margin-right: 0.5em;
    transition: background-color 0.3s;
}

.tab-button.active {
    background-color: #f7f7f7;
    border-bottom: 0.1em solid #81bdbb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
