/* 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;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans.eot');
    src: url('../fonts/OpenSans.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans.svg#OpenSans') format('svg'), url('../fonts/OpenSans.ttf') format('truetype'), url('../fonts/OpenSans.woff') format('woff'), url('../fonts/OpenSans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'icomoon';
    src: url('/local/templates/sw/css/../fonts/icomoon/icomoon.eot');
    src: url('/local/templates/sw/css/../fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'), url('/local/templates/sw/css/../fonts/icomoon/icomoon.woff') format('woff'), url('/local/templates/sw/css/../fonts/icomoon/icomoon.ttf') format('truetype'), url('/local/templates/sw/css/../fonts/icomoon/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-Semibold';
    src: url('../fonts/OpenSans-Semibold.eot');
    src: url('../fonts/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-Semibold.svg#OpenSans-Semibold') format('svg'), url('../fonts/OpenSans-Semibold.ttf') format('truetype'), url('../fonts/OpenSans-Semibold.woff') format('woff'), url('../fonts/OpenSans-Semibold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('../fonts/OpenSans-Bold.eot');
    src: url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-Bold.svg#OpenSans-Bold') format('svg'), url('../fonts/OpenSans-Bold.ttf') format('truetype'), url('../fonts/OpenSans-Bold.woff') format('woff'), url('../fonts/OpenSans-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-weight: 300;
    margin: 0;
    background: var(--white);
    color: #000000;
    font-family: 'OpenSans', Arial, sans-serif;
}

:root {
    --black: #000;
    --white: #fff;
    --green: #81bdbb;
    --dark-green: #5c817f;
    --purple: #3D3E63;
    --purple-light: rgb(77, 9, 156);
    --grey: #C4C4C4;
    --grey-light: #F4F4F4;
    --grey-dark: #3b5957;
    --border-radius-btn: 0.3125rem;
    --border-radius-s18: 1.125rem;
    --border-radius-s20: 1.25rem;
    --border-radius-s16: 1rem;
    --border-std: 0.0625rem;
    --box-shadow: 0 .8em 1.2em rgba(0, 0, 0, 0.1);
    --s12: 0.75rem;
    --s14: 0.875rem;
    --s16: 1rem;
    --s18: 1.125rem;
    --s20: 1.375rem;
    --s22: 1.5rem;
    --s24: 1.75rem;
    --s50: 2.2rem;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: normal;
    src: url("/local/templates/sw/css/../fonts/webfonts/fa-brands-400.eot");
    src: url("/local/templates/sw/css/../fonts/webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("/local/templates/sw/css/../fonts/webfonts/fa-brands-400.woff2") format("woff2"), url("/local/templates/sw/css/../fonts/webfonts/fa-brands-400.woff") format("woff"), url("/local/templates/sw/css/../fonts/webfonts/fa-brands-400.ttf") format("truetype"), url("/local/templates/sw/css/../fonts/webfonts/fa-brands-400.svg#fontawesome") format("svg");
}

.fab {
    font-family: 'Font Awesome 5 Brands';
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    src: url("/local/templates/sw/css/../fonts/webfonts/fa-regular-400.eot");
    src: url("/local/templates/sw/css/../fonts/webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("/local/templates/sw/css/../fonts/webfonts/fa-regular-400.woff2") format("woff2"), url("/local/templates/sw/css/../fonts/webfonts/fa-regular-400.woff") format("woff"), url("/local/templates/sw/css/../fonts/webfonts/fa-regular-400.ttf") format("truetype"), url("/local/templates/sw/css/../fonts/webfonts/fa-regular-400.svg#fontawesome") format("svg");
}

.far {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    src: url("/local/templates/sw/css/../fonts/webfonts/fa-solid-900.eot");
    src: url("/local/templates/sw/css/../fonts/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("/local/templates/sw/css/../fonts/webfonts/fa-solid-900.woff2") format("woff2"), url("/local/templates/sw/css/../fonts/webfonts/fa-solid-900.woff") format("woff"), url("/local/templates/sw/css/../fonts/webfonts/fa-solid-900.ttf") format("truetype"), url("/local/templates/sw/css/../fonts/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

.fa,
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}


html {
    font-size: 16px;
    background: var(--grey);
    color: var(--black);
    scroll-behavior: smooth;

}

a {
    text-decoration: none;
    color: #000000;
}

h1 {
    font-size: var(--s50);
    font-family: 'OpenSans-Bold';
    margin: 0 0 1em 0;
}

h2 {
    font-size: var(--s22);
    font-family: 'OpenSans-Bold';
    margin: 0 0 1em 0;
}
.text_margin {
    margin: 1em 0;
}

h3 {
    font-size: var(--s22);
    font-family: 'OpenSans-Bold';
    margin: 0 0 1em 0;
}
h1, h2, h3 {
    color: var(--grey-dark);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.header-content {
    width: 100%;
    padding: 5px 0;
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.2s;
}

.header-actions {
    transition: all 400ms ease;
    margin-top: 2rem;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: block;
    float: left;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: var(--border-radius-btn);
    border: 0;
    top: 95%;
    left: -40px;

}

.main-menu__mobile {
    display: none;
}

.top_menu_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu, .navbar-nav {
    display: flex;
    flex: 0 65%;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    flex: 0 10%;
}

.visible-making {
    flex: 0 20%;
}

.navbar-nav .first-link {
    color: #363636;
    font-size: var(--s14);
    display: inline-block;
    vertical-align: middle;
    font-family: 'OpenSans-Bold';
}

.nav-item .first-link:hover {
    color: var(--green);
}

.navbar-expand-md .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: .7rem;
}



section {
    padding: 3rem 0;
}

.indent-block {
    background: var(--grey-light);
}

.sb-icon-search {
    background: transparent;
    z-index: 90;
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    text-align: right;
    border-bottom: 1px solid transparent;
    font-size: var(--s22);
}



.sb-icon-search:before {
    content: "\e000";
}

.navbar {
    display: flex;
}

.btn {
    text-align: center;
    padding: .65em 1.2em;
    border-radius: var(--border-radius-btn);
    display: block;
    min-width: 7em;
    font-family: 'OpenSans-Semibold';
    color: #fff;
    cursor: pointer;
    background: var(--green);
    width: 100%;
    max-width: 16em;
    transition: transform 0.5s ease; /* Плавный переход */
}

.btn:hover {
    background: var(--purple);
    transform: scale(1.03); /* Увеличиваем кнопку в 1.2 раза */
}

.medflex-medtochka-widget {
    vertical-align: middle;
    font-weight: 600;
    color: var(--gr, #81bdbb) !important;
    height: auto !important;
    border-radius: 6px !important;
    border: 0.1vw solid var(--gr, #81bdbb) !important;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 1em;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    min-height: 40px !important;
    max-height: 60px !important;
    max-width: 16em;
    padding: 0.65em 1.2em;
}

.text-right {
    display: flex;
    gap: .5em;
    flex-direction: column;
}

/*slider*/
.slider__item {
    display: flex;
    position: relative;
    min-width: 100%;
    transition: 0.5s;
    left: 0;
    width: 100%;
    flex-shrink: 0;
    padding: 0 2px;
    max-height: max-content;
    height: 29rem;
}

.slider__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    height: 100%;
    transition: 0.5s;
    width: 100%;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.slider {
    margin: 1em 0;
    display: flex;
    align-items: flex-start;
    position: relative;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: max-content;
}

.slider .btn-button {
}

.slider .item-block {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
.slider img {
        z-index: 1;
    position: relative;
    top: -100%;
        width: 100%;
}
*/
.slider .item-block img {
    position: absolute;
    top: 0;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-s20);
}

.slider .item-block picture {
    z-index: 1;
    top: -100%;
    width: 100%;

}

.slider .item-block .container {
    top: 0;
    z-index: 2;
    left: 0;
    position: relative;
    height: 100%;
}


.slider .item-block-mini img {
    top: auto;
}

.slider#slider-mini {
    margin: 0 0 20px 0px;
    width: 100%;
    height: fit-content;
}

.slider .item-block-mini img {
    display: block;
}

.slick-prev {
    top: 50%;
    opacity: 1;
    outline: none;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    width: 3em;
    height: 3em;
    color: transparent;
    bottom: 30px;
    position: absolute;
    -moz-transition: 0.6s 0.05s ease;
    -o-transition: 0.6s 0.05s ease;
    -webkit-transition: 0.6s 0.05s ease;
    transition: 0.6s 0.05s ease;
    z-index: 20;
    left: 1.7rem;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.slick-prev:after {
    width: 12px;
    content: '';
    position: absolute;
    right: 0;
    transition: all 400ms ease;
    height: 12px;
    background: transparent;
    top: 16px;
    left: 18px;
    border-top: 2px solid #434242;
    border-left: 2px solid #434242;
    transform: rotate(-45deg);

}

.slider .item-block .container {
    max-height: max-content;
}

.slick-next {
    top: 50%;
    opacity: 1;
    width: 3em;
    height: 3em;
    outline: none;
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    left: auto;
    right: -1.3em;
    outline: none;
    z-index: 5;
    position: absolute;
    color: transparent;
    transform: translate(-50%, -50%);
}

.slick-next:after {
    width: 12px;
    height: 12px;
    background: transparent;
    top: 16px;
    left: 14px;
    border-top: 2px solid #434242;
    border-left: 2px solid #434242;
    transform: rotate(135deg);
    content: '';
    position: absolute;
    right: 0;

    transition: all 400ms ease;
}

.col-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw;
}

.main-company .row {
    display: flex;
    align-items: center;
}

.main-company .title {

}

.main-company .text {
    flex: 0 70%;
}

/*p {*/
/*    margin: 1em 0;*/
/*}*/

.teg_style {
    border-radius: var(--border-radius-s18);
    background: var(--green);
    padding: 0.3em 1em;
    color: white;
    font-size: 1em;
    font-weight: 400;
    transition: transform 0.5s ease; /* Плавный переход */
}

.teg_style.active,
.teg_style:hover {

    background: var(--purple);
    transform: scale(1.03); /* Увеличиваем кнопку в 1.2 раза */

}
p.title_specialize:hover, .doctors_p:hover, .open_arrow_img:hover {
    Cursor: pointer!important;
}
#specialization p {
    Cursor: pointer;
}

.main-services__list {
    display: flex;
    gap: .5em;
    flex-wrap: wrap;
}

.main-services .procedure {
    padding: 3em 0px;
    display: grid;
    grid-template-columns: 25% 1fr;
    align-items: start;
    gap: 1em;
}

.main-doctors__block {
    display: flex;
    flex-direction: column;
    gap: 1em;
    position: relative;
}
.button-vrach-specialnost {
    position: relative;
    display: block;
}
.main-doctors__block .sign-up {
    position: static;
    bottom: 0;
}
.main-doctors__block #doc_photo {
    width: 15em;
    height: 15em;
    display: block;
    background-size: cover; /* Вписать изображение, обрезая края */
    background-position: center; /* Центрировать изображение */
    background-repeat: no-repeat; /* Не повторять */
    position: relative;
}

.doctor-card {
    position: relative;
    width: 15em;
    height: 15em;
    overflow: hidden;
    display: inline-block;
}

/* Контейнер для фона */
.circle-background {
    position: absolute;
    top: 32%;
    left: 33%;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Круг */
.circle-background::before {
    content: '';
    position: absolute;
    width: 10em;
    height: 10em;
    background-color: var(--green);
    border-radius: 50%;
    z-index: 1;
}


.circle-background::after {
    content: '';
    position: absolute;
    width: 14em;
    height: 14em;
    top: 0;
    left: -4em;
    z-index: 1;
    border-radius: 50%;
    border: 1px solid var(--green);
}

.main-doctors__block ul {
    padding-inline-start: 1.1em;
}

.main-doctors__block ul li {
    list-style: disc;
}

.link-name, .td-vrach-spisok li::marker {
    color: var(--green);
}

.link-name {
    font-size: var(--s18);
}

.col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
    align-items: stretch; /* Растягивает элементы по высоте */
}

.main-nwes__block strong {
    font-size: 1em;
    line-height: 1.4;
    color: #8D8D8D;
    font-family: 'OpenSans-Semibold';
    font-weight: normal;
    display: block;
    margin: 20px 0 10px;
}

=
.main-nwes__block a h2 {
    font-size: 1.2em;
    line-height: 1.6;
    font-family: 'OpenSans-Bold';
}

.main-nwes__block img {
    max-height: 10em;
    border-radius: var(--border-radius-s16);
    width: 100%;
    object-fit: cover;
}

.main-nwes__block a.link {
    font-size: 1.2em;
    line-height: 1.6;
    font-family: 'OpenSans-Bold';
}

.col-xl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 60%;
    max-width: 60%;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.main-reviews {
    background: url(/upload/back.webp);
    background-size: cover;
    background-position: center;
    padding: 3em 0;
}

.slick-initialized .slick-slide {
    display: block;
    outline: none;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.col-xl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 60%;
    max-width: 60%;
}
.main-reviews-slider {
    padding: 3rem;
    border-radius: var(--border-radius-s16);
    box-shadow: var(--box-shadow);
}
.offset-xl-1 {
    position: relative;
    width: 100%;
    padding: 1em 0;
    max-width: 60%;
    flex: 0 0 60%;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0 0 10px 0;
}

.slick-slider .slick-track, .slick-slider .slick-list {

    transform: translate3d(0, 0, 0);
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

.reviews-slider .slick-next {
    width: 32px;
    height: 32px;
    box-shadow: none;
    top: auto;
    bottom: 0;
    right: 0;
}

.reviews-slider .slick-prev {
    width: 32px;
    height: 32px;
    box-shadow: none;
    top: auto;
    bottom: 0;
    right: 50px;
    left: auto;
}

.reviews-slider .slick-prev:after {
    width: 10px;
    height: 10px;
    top: 10px;
    left: 12px;
    border-top: 2px solid #434242;
    border-left: 2px solid #434242;
}

.reviews-slider .slick-next:after {
    width: 10px;
    height: 10px;
    top: 10px;
    left: 9px;
    border-top: 2px solid #434242;
    border-left: 2px solid #434242;
}

footer {
    background: var(--purple);
}



.footer-content .row {
    justify-content: space-between;
    padding-top: 2em;
    flex-wrap: nowrap;
}

.col-lg-3 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.footer-content .row {
    justify-content: space-between;
    padding-top: 2em;
    flex-wrap: nowrap;
    display: flex;
    -ms-flex-wrap: wrap;

}

.footer-content .col-lg-6 {
    max-width: max-content;
    padding: 0 0.5vw;
    flex: 0 0 50%;
}

.footer-content__menu .item-order-02 {
    display: grid;
    gap: 0 1em;
    grid-template-columns: repeat(2, 1fr);
}

ul.footer-menu li a {
    font-size: 1em;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
}

.footer-content__contacts .item-block p, .footer-content__contacts .item-block p a, .text-white {
    font-family: 'OpenSans-Semibold';
    color: #fff;
}

.footer-content__info p a, .main-clinic .caption-block h2, .footer-content__info p, .footer-content__info p a.link, .footer-content__menu p, .footer-content__contacts p, .footer-content__contacts .item-block .image {
    color: #797EA4;
}

.footer-content__menu p, .footer-content__contacts p {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'OpenSans-Bold';
}

.footer-content__menu ul li {
    margin-bottom: .5rem;
}

.button-messengers {
    position: fixed;
    bottom: 6em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    right: 10%;
}



.law__wrapper {
    text-align: center;
    padding: 1rem 0;
}

.footer__law a span {
    color: var(--green);
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    opacity: 1;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    margin-top: 0;
}

.sticky .medflex-medtochka-widget {
    display: none;
}

.sticky .header-logo img {
    max-width: 19rem;
}
.sticky .text-right {
    gap: 0;
}

.block-vrach-specialnost {
display: flex;
flex-direction: column;
gap: 1rem;
}

.fab {
font-family: 'Font Awesome 5 Brands';
}

.fa-telegram:before {
content: "\f2c6";
font-size: 1.8rem;
}

.fa, .fas, .far, .fal, .fab {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;

}
.header-content .fa, .header-content .fas, .header-content .far, .header-content .fal, .header-content .fab {
color: var(--grey-dark);
}
.social-block i {
color: #495057;
line-height: 1.5em;
font-size: 2rem;
}

.social-block i:hover {
color: var(--green);

}

ul.footer-menu li a:hover {
color: var(--green);
}

.fa-instagram:before {
content: "\f16d";
}

.fa-vk:before {
content: "\f189";
}

.fa-facebook-f:before {
content: "\f39e";
}

.fa-odnoklassniki:before {
content: "\f263";
}

.fa-whatsapp:before {
content: "\f232";
}

.fa-twitter:before {
content: "\f099";
}

.fa-viber:before {
content: "\f409";
}

.fa-yandex:before {
content: "\f413";
}

.fa-eye:before {
content: "\f06e";
}

.fa-phone:before {
content: "\f095";
}

.fa-clock:before {
content: "\f017";
}

.fa-map:before {
content: "\f279";
}

.fa-map-marker-alt:before {
content: "\f3c5";
}

.fa-envelope:before {
content: "\f0e0";
font-size: 1.5rem;
}

.social-block {
display: flex;
gap: .5rem;
align-items: center;
}

.block-show:after {
content: '';
position: absolute;
top: 0rem;
right: .5rem;
width: .5rem;
height: .5rem;
border-top: 2px solid #495057;
border-right: 2px solid #495057;
transform: rotate(135deg);
transition: all 400ms ease;
}

.header-content__block {
display: flex;
gap: 1.5em;
align-items: center;
}

.header-content .row {
display: flex;
align-items: center;
}

.item-block__small {
display: flex;
align-items: center;
gap: .5em;
position: relative;
}

.item-block__address {
width: 38%;
}

.header-content__block .item-block__hidden {
display: none;
}

.header-content .text p {
margin: .1em 0;
}

.block-show {
width: 20px;
height: 14px;
background: transparent;
position: relative;
cursor: pointer;
margin: 0 0 0 7px;
}

.header-content__block .item-block__small.active .block-show:after {
top: 5px;
transform: rotate(-45deg);
transition: all 400ms ease;
border-color: #363636;
}

footer .item-block {
display: flex;
align-items: center;
gap: 1rem;
}

.footer-content__menu p:first-child, .first:first-child {
font-size: 1.5rem;
}

footer .fa-map-marker-alt:before, footer .fa-phone:before {
font-size: 1.5rem;
}

.fa-arrow-right:before {
content: "\f061";
}

.news_section .consult_form_wrap {
flex-direction: column;
margin: 0;
gap: 0;
position: sticky;
top: 6em;
height: max-content;
padding: 0.5em 1em;
}

.consult_form_wrap {
display: flex;
justify-content: space-between;
gap: 10em;
align-items: center;
Background-size: 12vw;
background-origin: content-box;
padding: 0.5em 2em;
border-radius: .5em;
border: var(--border-std) solid var(--grey-light);
margin: 1.5em 0;
}
.flexbox{
display: flex;
justify-content: space-between;
gap: 3rem;
align-items: flex-start;
}

.top_procedure{
flex: 0 0 25%;
}
.gridbox {
display: grid;
grid-template-columns: 20rem 1fr;
gap: 2rem;
position: relative;
}
.left-menu__price {
padding: 2em 2em;
border-radius: var(--border-radius-s16);
box-shadow: var(--box-shadow);
position: sticky;
top: 6rem;
height: max-content;
}
ul.left-menu__clinic li a {
color: #363636;
font-size: 1em;
line-height: 1.4;
font-family: 'OpenSans-Bold';
text-decoration: none;
}
ul.left-menu__clinic li {
display: block;
margin: 1rem 0;
}
ul.left-menu__clinic li a.selected {
color: var(--green);
}
.left-menu__price.scroll {
top: 7rem;
}
.proceduri-key-info__item {
padding: 1em;
border-radius: var(--border-radius-s16);
border: 0.1em solid #81bdbb;
margin: 2em 0;
}
p.note, blockquote, .note {
margin: 1em 0;
padding: 2em;
border-left: 0.4em solid #81bdbb;
}
.clinic-licence__block {
object-fit: cover;
overflow: hidden;
}

.license-for-doctor{
margin-bottom: 2rem;
}

a.licence-link {
display: block;
position: relative;
text-decoration: none;
font-family: 'icomoon';
}
.clinic-licence__block a.licence-link img {
width: 100%;
border-radius: 4px;
transition: all 400ms ease;
}
.clinic-licence__block a.licence-link:after {
content: "\e000";
color: #363636;
font-size: 1.4em;
background: #fff;
position: absolute;
top: calc(50% - 24px);
left: calc(50% - 24px);
padding: 12px 13px 11px;
border-radius: 50%;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
opacity: 0;
transition: all 400ms ease;
}
.col-xl-4 {
max-width: 25%;
}
.license-for-doctor {
display: flex;
gap: 1rem;
}
.clinic-organization__block img {
max-width: 100%;
width: 4em;
}
.clinic-organization__block .row {
display: flex;

}
.clinic-organization__block, .clinic-requisites__block, .vacancies-block__text {
margin: 0 0 2rem 0;
background: var(--grey);
padding: 2rem;
border-radius: var(--border-radius-s18);
}
.clinic-organization__block .text-right {
align-items: flex-end;
}
.partners-slider__item {
margin: 1em;
border-radius: 0.5em;
min-height: 12vw;
align-items: center;
display: flex;
aspect-ratio: 1;
justify-content: center;
padding: 3em;
box-shadow: 0px 0.2em 0.5em rgba(0, 0, 0, 0.15);
    flex-direction: column;
}
.grid_4 {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1vw;
}
.partners-slider__item img {
margin: 0 auto 2em auto;
}


.mfp-content>div {
max-width: 30rem;
background: white;
padding: 1.25rem;
border-radius: var(--border-radius-s18);
opacity: 0;
animation: .4s ease-in-out .1s forwards show;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}


@keyframes bg-show {
0% {
    background-color: transparent;
}
100% {
    background-color: rgba(0, 0, 0, .75);
}
}

@keyframes bg-hide {
0% {
    background-color: rgba(0, 0, 0, .75);
}
100% {
    background-color: transparent;
}
}


@keyframes show {
0% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}

@keyframes hide {
0% {
    opacity: 1;
}
100% {
    opacity: 0;
}
}



.section_doctor {
padding: 3vh 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: 1px solid var(--green);
border-radius: var(--border-radius-s16);
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: center;
gap: 1vw;
margin: 1rem 0;
}

.section_doctor h5 {
color: rgb(129, 189, 187);
font-size: 1.1vw;
margin-bottom: 0;
}
.doctor_card_stack_wrap p {
width: 40%;
}

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


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

.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.5em;
}

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

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

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

.doctor_card ul li::marker {
color: rgb(129, 189, 187);
margin-right: 1vw;
}

.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;
}

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

.invisible_block_info{
overflow:hidden;
max-height:0;
opacity:0;
transition:max-height .35s ease,opacity .35s ease;
}

.invisible_block_info.active{
opacity:1;
/* max-height остаётся inline-стилем,
   поэтому здесь ничего не задаём */
}
.invisible_block_info.active ul{
display: block;
}
.doctor_info {
    background: rgb(247, 243, 243);
    display: block;
    font-size: 1.5rem;
    margin: auto;
    border-radius: 0.3vw;
    color: rgb(129, 189, 187);
}

.doctor_info.closeBtn{
    display: none;
    margin-top: 1vh;
}
.otdelenie {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    flex-wrap: wrap;
    margin-bottom: 2em;
}
.otdelenie 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;
}
.otdelenie a:hover {
    transform: scale(1.07);
    text-decoration: none;
    color: rgb(0, 0, 0);

}

.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 25%;
    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;
}
.left_img {
    height:auto;
    width:22em;
    float:left;
    padding: 0 3em 2em 1em;
}
.page-doctors__desc, .doctor__metro {
    border-radius: 0.3vw;
    background: rgb(247, 243, 243);
    padding: 1.5vh 1vw;
}
.doctor__metro {
    margin-bottom: 2em;
}
.page-doctors__desc p {
    color: #363636;
    font-size: 1.2em;
    line-height: 1.8;
    font-family: 'OpenSans';
}
.doc_text {
    border: 0.1vw solid #3D3E63;
    padding: 1vw;
    margin-bottom: 1.5vw;
    border-radius: 0.2vw;
}
.doc_text ul li {
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    text-decoration: none;
    border-radius: .3em;
    transition: .3s ease-out;
    margin-bottom: 1em;
}
.page-doctors__desc .doc_text ul li::before {
    background: none;
}
.page-doctors__desc .doc_text ul li {
    list-style-type: none;
    font-size: 1.2em;
}

.doc_text ul {
    display: grid;
    grid-template-columns: 40% 40%;
    gap: 0 5%;
    margin: 3% 2%;
}

.doc_text ul li:hover:before {transform: rotate(360deg);}
@media screen and (orientation: portrait) {

    .doc_text {
        padding: 4vw;
        margin: 4vw 0;
        border-radius: 1.3vw;
    }

    .page-doctors__desc, .doctor__metro {
        padding: 1.5vh 4vw;
        margin: 0 -3vw;
    }
    .doctor__metro {
        margin-bottom: 2em;
    }


    .doc_text ol li:before {
        left: -1.3em;
    }

    .doc_text ol li {
        padding-left: 2em;
    }

    .doc_text ul {
        display: flex;
        flex-direction: column;
    }

    .doc_text ul li {

        padding: .4em .4em .4em 1em;
    }
}

.ux-input{
    margin-bottom: 1em !important;
}

.doctor_info_btn{
     border-radius: var(--border-radius-btn);
    background: rgb(255, 255, 255) !important;
    color: var(--green);
    margin-bottom: 1vh;
    border: 1px solid var(--green);
    transition: transform 1s ease;
}

.doctor_info_btn:hover{
    color: rgb(129, 189, 187);
    text-decoration: none;
    transform: scale(1.05);
}


.ux-input {
    display: block;
    width: 100%;
    padding: 0 2vh;
    background: #fff;
    border-radius: 0.3em;
    outline: 0;
    box-shadow: none;
    font-family: inherit;
    font-weight: 400;
    color: #000;
    text-align: left;
    appearance: none;
    height: 2em;
    font-size: 1em;
    border: 0.1vw solid rgb(129, 189, 187);

    margin-bottom: 0.4em;
}

select.ux-input {
    -webkit-appearance: none; /* Safari and Chrome */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* Standard */
    background: url('images/arrow_bot.svg') no-repeat right 1em center;
    padding-right: 3em; /* Space for the custom arrow */
    background-size: 1em;
}
.doctors__bold {
    font-family: 'OpenSans-Bold';
    font-weight: 500;
}
.doctors__title {
    color: rgb(0, 0, 0);
    font-size: 1.2em;
    margin-bottom: 1.5vh;
}
.doctors_p {
    font-family: 'OpenSans-Bold';
    font-weight: 500;
    color: rgb(129, 189, 187);
    font-size: 1.1em;
    margin-bottom: 0;
}
.page-doctors__desc .doc_text ul li:before {
    border-radius: 0;
    position: absolute;
    left: -1.9em;
    top: 2em;
    margin-top: -1.8em;
    background-size: 2em;
    background-repeat: no-repeat;
    background-image: url(/images/plus.png);
    height: 2em;
    width: 2em;
    line-height: 2em;
    transition: all .7s ease-out;
    content: " ";
}
.fa-file:before {
    content: "\f15b";
    font-size: 3rem;
}
.clinic-licence__document {
    border-radius: var(--border-radius-s16);
    box-shadow: var(--box-shadow);
    padding: 2em;
    margin: 2em 0 0 0;
    display: flex;
    gap: 3rem;
}
.clinic-licence__document .fas {
    color: var(--green);
}
.clinic-licence__document a {
    font-weight: 600;
}
.clinic-licence__document .text p {
    color: var(--grey-dark);
}
.clinic-licence__document .text {
    display: grid;
    gap: 1rem;
}
.clinic-organization__block:last-child, .clinic-requisites__block:last-child, .vacancies-block__text:last-child {
    margin: 0;
}
.clinic-requisites__block h2 {
    margin: 1em 0;
}
.clinic-requisites__block h2:first-child {
    margin: 0 0 1em 0;
}
.active-dropdown, .dropdown-toggle, .dropdown-menu.active-dropdown  {
    display: block;
}
.dropdown-menu {
    left: -50%;
    min-width: 18em;
    border: 0;
    top: 130%;
    box-shadow: var(--box-shadow);
    padding: 0 2rem;
}

.dropdown-menu li {
    color: #363636;
    font-family: 'OpenSans-Semibold';
    font-size: 1rem;
    display: block;
}

.nav-item.dropdown .dropdown-menu {

    max-height: 0;           /* свёрнуто */
    overflow: hidden;        /* прячет всё, что вне max-height */
    transition: all .3s ease-in-out;
}

/* 2) «Открытое» состояние — класс .open */
.nav-item.dropdown.open .dropdown-menu {
    padding: 1rem 2rem;

    /* здесь ставим высоту, достаточную для контента;
       если меню разное по высоте, можно написать очень большое значение */
    max-height: none;       /* подберите под свой контент */
}

.dropdown-menu li:not(:last-of-type){
    padding: 0 0 1rem 0;}

.nav-item{
    position: relative;
}
.reviews__info_wrap .reviews__info_review:first-child a img{
    width: 90%;
    height: auto;
}
.reviews__info_wrap .reviews__info_review:first-child  a {
    width: 20em;
}
.reviews__info_review {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.reviews__info_wrap {
    display: flex;
    align-items: stretch;
}
.section_reviews p {
    margin-bottom: 0;
}
.section_reviews {
    margin-bottom: 1em;
}
.section_reviews {
    padding: 1rem 0;
}

.back_reviews{
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviews_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    gap: 1em;
    margin-bottom: 1em;
}

.reviews {
    height: 100%;
    padding: 1em;
    border-radius: 0.3em;
    border: 0.1vw solid rgba(217, 217, 217, 1);
}

.reviews__title__img {
    width: 4em;
    height: 4em;
    border-radius: 50%;
    overflow: hidden;
}

.reviews__title {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin-bottom: 1em;
}

.reviews__title__text_name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3em;
}

.reviews__title__rating {
    display: flex;
    align-items: center;
    gap: 0.1em;
    margin-bottom: 0;
}

.reviews_description {
    max-height: 3lh;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.reviews_description.expanded {
    max-height: none;
    -webkit-line-clamp: unset;
}

.reviews_description_btn {
    margin-top: 0.2em;
    color: #757575;
}

.reviews__title__text_date {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.reviews .sw-review-source-link {
    display: block;
    margin-top: 0.5em;
    text-decoration: underline;
    padding-bottom: .1vw;
    transition: all 1s ease;
    color: black;
}

.sw-review-source-link:hover {
    color: black;
    transform: scale(1.03);
}

#toggleReviewsBtn {
    display: inline-block;
    padding: 1vh 0;
    border-radius: 0.3em;
    background: #81bdbb;
    font-size: 1em;
    transition: all 1s ease;
    line-height: normal;
    min-width: 13vw;
    color: white;
}

#collapseBtn {
    display: inline-block;
    padding: 1vh 0;
    border-radius: 0.3em;
    background: #81bdbb;
    font-size: 1em;
    transition: all 1s ease;
    line-height: normal;
    min-width: 13vw;
    color: white;
}

#collapseBtn:hover {
    background: #3D3E63;
}

.reviews__btns {
    display: flex;
    justify-content: flex-start;
    gap: 1em;
    margin-top: 1rem;
}



.reviews__info {
    width: 100%;
    padding: 2em 2em;
    border: 1px solid var(--green);
    border-radius: var(--border-radius-s16);
    margin-bottom: 1em;

}

.reviews__info_review a {
    display: block;
    width: 10em;
}
.show-popup {
    position: relative;
}

.reviews__info_review a img {
    display: inline-block;
    width: auto;
    height: 1.5em;
}

.reviews__info_review_title {
    margin-top: 1em;
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.reviews__info_wrap {
    display: flex;
    justify-content: space-between;
}

.reviews__info_review {
    flex: 0 0 15%;
}

.reviews__info_review_title-h2 {
    font-size: 2em;
    font-weight: bold;
}

.reviews__info_wrap svg {
    width: 2em;
}

.reviews__info_review_title-h3 {
    font-size: 1.1em;
    color: #757575;
}

.sw-reviews-btn {
    display: inline-block;
    padding: 1vh 0;
    border-radius: 0.3em;
    background: rgb(255, 230, 0);
    font-size: 1em;
    transition: all 1s ease;
    line-height: normal;
    min-width: 13vw;
    text-align: center;
}

.sw-reviews-btn:hover {
    background: #854385;
    color: white;
}

.otziv .container .container {
    max-width: 100%;
}

.otziv .container .container .reviews {
    background: #ffffff;
}

.otziv .container .section_reviews {
    padding: 0;
}


.reviews__component_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3em;
    padding: 2em 0;
    border-top: 0.1em solid rgba(217, 217, 217, 1);
    border-bottom: 0.1em solid rgba(217, 217, 217, 1);
    margin: 2em 0;
}

.reviews__component_content_img {
    height: 2em;
    margin-bottom: 1em;
}

.reviews__component_content_img img {
    height: 100%;
    width: auto;
}


.reviews__component_content_title {
    font-family: 'OpenSans-Bold';
    font-size: 1.1em;
    display: block;
    margin-bottom: 0.8em;
}

.reviews__component_content p {
    text-align: justify;
}

#review_filter,
#site_select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(/images/arrow_bot.svg) no-repeat right 1em center;
    background-size: 1em;
    display: block;
    padding: 0 1.2em;
    border-radius: 0.3em;
    outline: 0;
    box-shadow: none;
    font-family: inherit;
    font-weight: 400;
    color: #000;
    text-align: left;
    appearance: none;
    width: 13rem;
    height: 2.65em;
    font-size: 1em;
    border: 0.1em solid rgb(129, 189, 187);

}

.reviews_select_wrap {
    display: flex;
    align-items: center;
    gap: 2em;

}
.footer-content__contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.footer-content .reviews__info_wrap {
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
}
.footer-content .reviews__info_wrap span {
    font-size: 1.5em;
    text-align: center;
    color: #F3F0F0;
    display: block;
    -webkit-transform: scaleY(1);
    padding: 1em 0;
}
.footer-content .reviews__info_wrap .reviews__info_review:first-child a img {
    display: none;
}
.footer-content .reviews__info_wrap .reviews__info_review:first-child a {
    display: block;
    width: 10em;
}
.footer-content .reviews__info_review_title {
    gap: 0.5em;
    height: 3rem;
    align-items: center;
    margin-top: 0;
}
.stretched-text {
    font-size: 1.5em;
    color: #F3F0F0;
    display: block;
    width: 100%;
    padding: 1em 0 0 0;
    -webkit-transform: scaleY(2);
    transform: scaleY(2);
    box-sizing: border-box;
    text-align: justify;
    text-justify: inter-word; /* Для современных браузеров */
}

.stretched-text::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 0;
    visibility: hidden;
}
.footer-content__menu p {
    padding-bottom: 1.5rem;
}
.header-content .row {
    padding: 1rem 0;
}

.back_reviews .btn {
    width: 20rem;
    height: 2.65em;
}
.reviews_select_wrap select {
    text-align: center;
    min-width: 7em;
    font-family: OpenSans-Semibold;
    cursor: pointer;
    width: 100%;
    max-width: 16em;
    padding: 0.65em 1.2em;
    border-radius: var(--border-radius-btn);
    background: var(--green);
    transition: transform 0.5s;
}
#doc_photo {
    width: 15em;
    height: 15em;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.doctro_card_info {
    max-width: 32rem;
}
p.attention {
    margin: 2rem 0;
    background: #FBFBFB;
    padding: 2rem 3rem;
    font-family: 'OpenSans-Bold';
    font-style: italic;
    display: flex;
    font-size: 1.1em;
    line-height: 1.8;
    border-radius: var(--border-radius-s16);
    box-shadow: var(--box-shadow);
    height: max-content;

}
.attention_img {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}
.accordion > .card:not(:last-of-type) {
    border-bottom: 0.1em solid var(--grey-dark);
    padding: 0 0 1em;
}
.card .btn:after {
    content: '+';
    position: absolute;
    width: auto;
    height: auto;
    border: 0;
    top: -12px;
    right: -20px;
    transform: rotate(0deg);
    transition: all 400ms ease;
    font-size: 2em;
}
.card .btn:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: 8px;
    left: -20px;
    border-radius: 50%;
}
.card .btn {
    width: 100%;
    max-width: 100%;
    background: none;
    color: var(--grey-dark);
    text-align: start;
    padding: 0;
}
.card .btn-link {
    font-weight: normal;
    text-decoration: none;
    font-family: 'OpenSans-Bold';
    position: relative;
    display: block;
}
.card .btn:hover {
    transform: scale(1);
}
.mb-0 {
    font-size: 1.1rem;
}
.icon svg, .reviews-slider__item strong {
    fill: var(--green);
    padding-bottom: 1rem;
}
.reviews-slider__item strong{
    color: var(--green);
    padding: .5rem 0;
    display: block;
}
.main-news .container .btn-button, .main-reviews .container .caption-block .btn-button {
    margin-top: 2rem;
}
.news_detail h2, .news_detail h3 {
    margin: 1rem 0;
}

.button-widget {
    position: fixed;
    bottom: 6em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    left: 10%;
}
.button-widget img, .button-messengers img {
    width: 4.5rem;
}

.main-doctors .col-xl-3.col-lg-4 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}


.education_ul li {
    display: grid;
    grid-template-columns: 2rem 5rem 75%;
    border: 0.1px solid #3D3E63;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.3rem;
}

.title_specialize{
    margin-top: 1rem;
}

.education_ul li:before {
    background-image: url(data:image/svg+xml;charset=UTF-8;base64,PHN2ZyBmaWxsPScjM0QzRTYzJyB2ZXJzaW9uPScxLjEnIGlkPSdMYXllcl8xJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB3aWR0aD0nODAwcHgnIGhlaWdodD0nODAwcHgnIHZpZXdCb3g9JzAgMCAyNjAgMTg4JyB4bWw6c3BhY2U9J3ByZXNlcnZlJz48cGF0aCBkPSdNMTM0LjMsMTA5LjJMMjAyLDgzLjhWMTQ2YzAsMTMuNC0zMi4yLDI0LjMtNzIsMjQuM1M1OCwxNTkuNCw1OCwxNDZWODMuOGw2Ny45LDI1LjRsNC4yLDEuNkwxMzQuMywxMDkuMnogTTEzMC4xLDk4TDI1OCw1MCBMMTMwLjEsMkwyLDUwbDIwLDcuNXY4MS44Yy00LjcsMi4yLTgsNy4xLTgsMTIuN3YzNGgyOHYtMzRjMC01LjctMy4zLTEwLjYtOC4xLTEyLjhWNjEuOUwxMzAuMSw5OHonLz48L3N2Zz4=);
    background-size: 1.5em;
    content: " ";
    background-repeat: no-repeat;
}

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

.opit_ul li:before {
    background-image: url(data:image/svg+xml;charset=UTF-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGlkPSdMYXllcl8xJyBkYXRhLW5hbWU9J0xheWVyIDEnIHZpZXdCb3g9JzAgMCAyNCAyNCcgd2lkdGg9JzUxMicgaGVpZ2h0PSc1MTInIGZpbGw9JyMzRDNFNjMnPjxwYXRoIGQ9J20xNywwSDdjLTEuNjU0LDAtMywxLjM0Ni0zLDN2MjFoMTZWM2MwLTEuNjU0LTEuMzQ2LTMtMy0zWm0tNiwxOWgtM3YtMmgzdjJabTAtNGgtM3YtMmgzdjJabS0yLTd2LTJoMnYtMmgydjJoMnYyaC0ydjJoLTJ2LTJoLTJabTcsMTFoLTN2LTJoM3YyWm0wLTRoLTN2LTJoM3YyWm04LTZ2MTVoLTJWNi4xODRjMS4xNjEuNDE0LDIsMS41MTQsMiwyLjgxNlpNMiw2LjE4NHYxNy44MTZIMHYtMTVjMC0xLjMwMi44MzktMi40MDIsMi0yLjgxNlonLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 1.3em;
    content: " ";
}

.title_specialize{
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.page-mews h2 {
    font-size: var(--s20);
}
.text__table_dop_sections_dop_block {
    border: 0.1em solid #CDCDCD;
    border-radius: .5em;
    padding: 1em;
    margin-bottom: 1em;
}
.text__table_dop_sections_wrap {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#services-text__table_wrap {
    overflow: hidden;
    max-height: .1rem;
    height: auto;
}

.header-actions .row {
    display: flex;
     justify-content: space-between;
    align-items: center;
}
.top_menu_header {
    display: block;
    width: 31%;
}
.bx-breadcrumb {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
    color: var(--grey-dark);
    margin-bottom: 1rem;
}

.fa-long-arrow-alt-right:before {
    content: "⟶";
    color: var(--grey);
}
.bx-breadcrumb a{
    color: var(--grey);
}

.license-for-doctor {
    align-items: center;
    position: relative;
}
#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%;
    z-index: 5;
}
#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;
}
.doctor_price_wrap {
    box-sizing: border-box;
    border: 1px solid var(--green);
    border-radius: var(--border-radius-s16);
    background: rgb(255, 255, 255);
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    position: relative;
}
.doctor_price {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1vh;
    width: 100%;
}
.doctor_price_wrap img {
    max-width: 2rem;
}
.doctor_price_wrap span {
    color: var(--green);
    font-family: 'OpenSans-Bold';
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}
.doctor_sale img  {
    fill: var(--green);
    max-width: 2.5rem;
}
.doctor_sale {
    position: absolute;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1vh;
    width: max-content;
    top: 4.5rem;
    left: 16rem;
    min-width: 2.5rem;
}
#p_sale {
    text-decoration:line-through;
    color: var(--grey);
}
#p_price {
    color: var(--grey-dark);
    font-family: 'OpenSans-Bold';
    font-weight: 500;
    scale: 1.2;
}
.doctor_price_sale {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.news_detail li {
    list-style: disc;
    margin-left: 1.2rem;
    margin-bottom: .5rem;
}
.news_detail ul {
    margin-bottom: .5rem;
}
.news_detail li::marker {
    color: var(--grey-dark);
}
.news_detail p {
    margin-bottom: 0.7rem;
    line-height: 1.4;
}
.news_detail p:last-child {
    margin: 0;
}
.news_detail img {
    border-radius: var(--border-radius-s16);
    margin-bottom: 1rem;
}
.popup_doctor .doctors_btn {
    font-weight: 600;
    margin-bottom: .3rem;
}
.popup_doctor span {
    font-size: .8rem;
    text-transform: lowercase;
}
.popup_doctor span:after {
    content:", ";
}
.popup_doctor span:last-child:after {
    content:"";
}
.popup_doctor .popup_doctor_price img {
    width: 1.3rem;
    margin-right: .3rem;
}
.popup_doctor .popup_doctor_year img {
    width: 1.5rem;
    margin-right: .3rem;
}
.popup_doctor_price, .popup_doctor_year {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.popup-body {
    padding: 5rem;
}

.mfp-figure{
    max-width: none;
    width: 40rem;
}

.js-open-calendar._active,
.doctor_calendar_date._active{
    box-sizing: border-box;
    border: 0.1px solid rgb(129, 189, 187);
    border-radius: var(--border-radius-btn);
    padding: 0.5rem 0.3rem;

}
.header-actions a .selected, .header-actions a:active {
    color: var(--dark-green);
}
.header-actions .dropdown-item:hover, .header-actions .dropdown-menu a:hover {
    color: var(--green);
}
.js-open-calendar{
    text-align: center;
}


.doctor_calendar_full {
    background: white;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 28rem;
    padding: 0.5rem;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-s16);
    border: 0.1px solid var(--green);
    z-index: 100;
    transform: translate(-50%, -50%);
}
button.mfp-close, button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    -webkit-appearance: none;
    display: block;
    outline: 0;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    font-size: 3rem;
    margin: 1rem;
    border: 1px solid;
    border-radius: 50%;
    background: #E7F5F4;
}

.doctor_info_btn {
    margin-top: 0.5rem;
    max-width: none;
}

#record-doctor-form {
    width: 70rem;
    max-width: 70rem;
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    border-radius: 0.5rem;
    padding: 4rem 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    overflow-y: auto;
}

#open-date-recording{
    margin-bottom: 0.5rem;
}
.text-full table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    border: 0.1em solid #81BDBB;
    border-radius: 0.5em;
    margin-bottom: 1rem;
    box-shadow: 0 0.2em 0.4em rgba(0, 0, 0, 0.05);
}

.text-full tr {
    display: table-row;
    background-color: #fff;
}

.text-full tr:nth-child(even) {
    background-color: #f9fbfc;
}

.text-full th,
.text-full td {
    text-align: center;
    padding: 1rem;
    vertical-align: middle;
    min-width: 100px; /* Чтобы ячейки не схлопывались слишком сильно */
    white-space: nowrap; /* Текст в ячейках не переносится */
}

.text-full tr:first-child th {
    background-color: #e6f3f2;
    font-size: 1.3em;
    font-weight: bold;
}
.text-full tbody {
    width: 100%;
    display: table;
}
/* Убираем последнюю границу справа для ячеек */
.text-full td:last-child,
.text-full th:last-child {
    border-right: none;
}
.error-block {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.error-block p.code {
    color: #171E54;
    font-size: 500px;
    font-family: 'OpenSans-Bold';
    line-height: 1.1em;
}
.error-block h1 {
    color: #171E54;
    margin: 0 0 20px 0;
}
.error-block p {
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    color: #363636;
}
.doctor__all_doctors {
    margin-top: 2rem;
}
.bx-breadcrumb-item a {
    white-space: nowrap;
}
footer .reviews__info_wrap svg {
    width: 1em;
}

.search-results__block {
    border-bottom: 1px solid #C4C4C4;
    padding: 0 0 2rem 0;
    margin: 0 0 2rem 0;
}

.search-results__block a.link{
    color: #3b5957;
    display: inline-block;
    margin: 0 0 10px 0;
    font-size: 1em;
    line-height: 1.6;
    font-family: 'OpenSans-Bold';
}

.search-results__block a.section {
    font-size: 1em;
    line-height: 1.6;
    font-family: 'OpenSans-Semibold';
    text-decoration: underline;
    color: #3b5957;
}

.search-results__block p {
    color: #363636;
    font-size: 1em;
    line-height: 1.6;
    margin: 2rem 0 0 0;
}
.year_price .doctor_price_sale {
    flex-direction: unset;
    gap: 1rem;
}
.services__section_title h2 {
    font-size: var(--s16);
    font-family: 'OpenSans';
    margin: 0;
}