/*!
Theme Name: AlcoMed Theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Version: 1.0.0
Text Domain: alcomed-theme
эту оставить
*/

@import '../css/reset.css';
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto:regular,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat:700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Russo+One:regular");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:600&display=swap");

body {
    font-family: 'Roboto', sans-serif;
}

/* Popup */

.popup__block {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: 999;
    top: -100vh;
    left:0;
    transition: 0.5s ease-in-out;
}

.popup__block__open {
    top: 0;
}

.popup__wrapper {
    position: absolute;
    max-width: 600px;
    min-width: 350px;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 50px;
}

.popup__wrapper.style-1 {
    border-radius: 30px;
}

.popup__wrapper.style-1 .popup__form {
    border-radius: 50px;
}

.popup__wrapper.style-2 {
    border-radius: 0;
}

.popup__wrapper.style-2 .popup__form {
    border-radius: 0;
}

.popup__wrapper.style-3 {
    border-radius: 10px;
}

.popup__wrapper.style-3 .popup__form {
    border-radius: 5px;
}

.popup__form {
    padding: 13px 15px;
    border-radius: 5px;
    border: 1px solid #666666;
    margin: 20px 10px 20px 0;
    width: 100%;
}

.btn__popup__form {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 25px;
    background-color: var(--button);
    color: var(--button-txt);
    border-radius: 5px;
    display: block;
}

.popup__wrapper.style-1 .btn__popup__form {
    border-radius: 50px;
}

.popup__wrapper.style-2 .btn__popup__form {
    border-radius: 0;
}

.popup__wrapper.style-3 .btn__popup__form {
    border-radius: 5px;
}

.popup__close {
    position: absolute;
    right: 20px;
    top: 20px;
    transform: rotate(45deg);
    font-size: 30px;
}

/* Navigation */

/* .header__navigations ul li {
    margin: 0 30px 0 0 ;
} */

.header__navigations {
    background: var(--background-navi);
    color: var(--navi-text-color);
}

.header__navigations a {
    color: inherit;
}

.menu-item-has-children::before {
    content: "+";
    display: inline-flex;
    order: 1;
    margin: 0 0 0 10px;
    font-size: 18px;
    transform: rotate(0deg);
    transition: ease-in-out 0.3s;
}

.menu-item-has-children:hover::before {
    transform: rotate(-45deg);
}

.menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
}

.header__navigations__list .sub-menu {
    display: none;
    position: absolute;
    min-width: 300px;
    background: #f5f5f5;
    z-index: 9;
    list-style: none;
    margin: 36px 0 0 -10px;
    top: 0;
    color: #535353;
}

.sub-menu::-webkit-scrollbar {
    width: 5px;
    -webkit-appearance: none;
}

/* Track */
.sub-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    -webkit-appearance: none; 
}
 
/* Handle */
.sub-menu::-webkit-scrollbar-thumb {
    background: #888; 
    -webkit-appearance: none;
}

/* Handle on hover */
.sub-menu::-webkit-scrollbar-thumb:hover {
    background: #555; 
    -webkit-appearance: none;
}





.header__navigations__list .menu-item-has-children:hover .sub-menu {
    display: block;
}

.header__navigations__list.mobile .sub-menu {
    display: none;
    margin: 15px 0 0 -20px;
    /* padding: 0 30px; */
    position: relative;
    height: 200px;
    overflow: auto;
}

.toggle__nav__active .sub-menu.sub-menu__active {
    display: block;
}

.header__navigations__list.mobile .sub-menu li {
    padding-left: 40px;
}

.toggle__nav__active .menu-item-has-children::before {
    content: "+";
    display: inline-flex;
    order: 1;
    position: absolute;
    /* margin: 0 0 0 10px; */
    font-size: 18px;
    transform: rotate(0deg);
    transition: ease-in-out 0.3s;
    right: 20px;
}

.toggle__nav__active .menu-item-has-children:hover::before {
    transform: rotate(-45deg);
}

.toggle__nav__active .menu-item-has-children {
    position: relative;
    display: block;
    align-items: center;
}

.sub-menu li {
    padding: 10px 15px;
}

.sub-menu li:hover {
    background: #d6d6d6;
    width: 100%;
}

.header__navigations__list {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    list-style: none;
    font-size: 13px;
    justify-content: space-between;
    align-items: center;
    line-height: 120%;
}

.header__navigations__list > li {
    position: relative;
    padding: 10px;
    /* margin-right: 50px */
}

.header__navigations__list > li:hover {
    /* padding: 15px 20px; */
    background: var(--background-navi-color-button);
    cursor: pointer;
    color: var(--background-navi-text-color);
}

.toggle__nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 300px;
    height: 100%;
    background: #f5f5f5;
    z-index: 99;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    box-shadow: 0px 4px 50px 30px rgba(0, 0, 0, 0.15);
}

.toggle__nav__active {
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav {
    max-height: 410px;
    position: relative;
    overflow: auto;
    /* max-width: 800px; */
    /* margin: 50px auto 100px; */
    /* height: 100%; */
    /* overflow: auto; */
    /* padding: 50px 0; */
    z-index: 999;
    /* margin: 0 0 50px 0; */
    overflow: auto;
    margin: 0 0 30px 0;
}

.nav__contact__info {
    padding: 0 20px;
    margin: 0 0 50px 0;
}

.site__name {
    margin: 20px 0 0;
    font-weight: 700;
    font-size: 14px;
}

.header__navigations__list.mobile .menu-item-has-children {
    display: none;
}

.header__navigations__list.mobile {
    flex-direction: column;
    font-size: 16px;
    color: #535353;
}

.header__navigations__list.mobile a {
    color: inherit;
}

.header__navigations__list.mobile li {
    margin-right: unset;
    padding: 10px 20px;
    margin: 0;
}

.header__navigations__list.mobile .submenu li {
    padding: 10px
}

.header__navigations__list.mobile .menu-item-has-children {
    justify-content: space-between;
}

.header__navigations__list.mobile .menu-item-has-children::before {
    font-size: 20px;
}

.toggle__btn {
    z-index: 100;
    position: relative;
    display: none;
    width: 30px;
    height: 20px;
}

.nav__btn {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    background-color: #6C6C6C;
    border-radius: 7px;
}

.nav__btn:before {
    position: absolute;
    content: "";
    display: block;
    top: -7px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #6C6C6C;
    border-radius: 7px;
    transition: 0.3s;
}

.nav__btn::after {
    position: absolute;
    content: "";
    display: block;
    bottom: -7px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #6C6C6C;
    border-radius: 7px;
    transition: 0.3s;
}

.toggle__btn__close .nav__btn {
    background-color: #6c6c6c00;
    position: fixed;
}

.toggle__btn__close .nav__btn::before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    top: 0;
}

.toggle__btn__close .nav__btn::after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    bottom: 0;
}

/* Tabs */

.tabs-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
}

.tab-item {
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    color: #000000;
    padding: 10px 39px;
    transition: 0.5s;
    border-radius: 8px;
}

.tab-item:hover,
.tab-item:active {
    color: var(--background-navi-color-button);
    background: var(--background-navi-text-color);
}

.tab-item.tab-item__active {
    color: var(--background-navi-color-button);
    background: var(--background-navi-text-color);
}

.product__tabs__block {
    display: none;
}

.product__tabs__block__active {
    display: block;
}

.product__tabs {
    width: 250px;
    margin: 100px auto 30px;
    border: 1px solid #c8c8c8;;
    border-radius: 10px;
    overflow: hidden;
}

.product__tabs__block {
    opacity: 0;
    transition: 0,5s;
}

.product__tabs__block.product__tabs__block__active {
    opacity: 1;
}

/* Header */

.logo__info__block {
    display: flex;
    align-items: center;
}

.container {
    max-width: 1330px;
    padding: 0 20px;
    margin: 0 auto;
}

.header__container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__adress {
    margin: 0 0 0 20px;
    /* max-width: 210px; */
}

.header__adress.style-2 {
    margin: 10px 0 0 0;
    max-width: 210px;
}

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

.logo__info.style-2 {
    display: block;
    align-items: center;
}

.logo {
    width: 200px;
}

.info__header__right {
    display:flex;
    align-items: center;
}

.icon-text__block {
    display: flex;
    align-items: center;
    -webkit-appearance: none;
}

.header__container .icon-text__block a {
    color: inherit;
    -webkit-appearance: none;
}

.icon-text__block svg {
    color: var( --icon-color);
    margin-right: 10px;
}

.icon-text__block img {
    margin-right: 10px;
}

.text {
    color: var(--text-color);
    font-size: 16px;
    line-height: 25px;
}

.header-text {
    color: var(--black);
    /* max-width: 200px; */
}

.header-text.style-2 {
    /* max-width: 210px; */
}

.phone-text {
    color: var(--dark-blue-color);
    font-weight: 700;
    font-size: 25px;
}

.slider__background {
    max-width: 100%;
    padding: 50px;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;
    background-image: url('../img/slider-img/img-slider-1.png');
    display: flex;
    align-items: center;
}

.slider__container {
    max-width: 1330px;
    margin: 0 auto;
    overflow: hidden;
}

.slider__title {
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    text-transform: uppercase;
    color: var(--slider-title-color);
}

.slider__info {
    max-width: 630px;
    padding: 50px;
}

.slider__info.style-2 {
    margin: 0 auto;
    text-align: center;
}


.slider__text {
    font-size: 25px;
    line-height: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--slider-text-color);
}

.btn__prev {
    width: 40px;
    height: 40px;
    display: inline-block;
    background: url("./assets/img/icon/btnprev.svg");
}

.btn__next {
    width: 40px;
    height: 40px;
    display: inline-block;
    background: url("./assets/img/icon/btnprev.svg");
    transform: rotate(180deg);
}

.slider__btn__block {
    margin: 30px 0 0;
}

/* Buttons */

.btn__popup {
    margin-left: 20px;
}

.btn__form {
    padding: 15px 36px;
    display: inline-block;
    background-color: var(--button);
    color: var(--button-txt);
}

.btn {
    display: inline-block;
    padding: 15px 36px;
    background-color: var(--button);
    color: var(--button-txt);
    font-weight: 700;
}

.btn.style-1 {
    padding: 15px 46px;
    border-radius: 50px;
}

.btn.style-2 {
    padding: 15px 55px;
    border-radius: 0;
}

.btn.style-3, .btn.style-4 {
    padding: 15px 55px;
    border-radius: 5px;
}

.slider-btn {
    display: inline-block;
    padding: 15px 55px;
    font-weight: 700;
    background-color: var(--button);
    color: var(--button-txt);
}

.slider-btn.style-1 {
    padding: 15px 36px;
    border-radius: 50px;
}

.slider-btn.style-2 {
    border-radius: 0;
}

.slider-btn.style-3 {
    border-radius: 5px;
}

/* Breadcrumb */

.breadcrumb {
    margin-top: 20px;
}

.breadcrumb a, .breadcrumb a:link, .breadcrumb a:visited {
    color: inherit;
}

/* Fonts */

.single-page__title {
    margin: 30px auto;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 30px 0;
    font-family: inherit;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 40px;
    line-height: 40px;
}

h4 {
    font-size: 35px;
}

h5 {
    font-size: 30px;
}

h6 {
    font-size: 25px;
}

.title-2 {
    font-weight: 700;
    font-size: 35px;
    line-height: 40px;
}

.title-1 {
    color: var(--title);
    font-size: 45px;
    margin: 70px 0 30px;
    font-weight: 700;
}

.title-1.style-1 {
    font-family: 'Montserrat', sans-serif; 
}

.title-1.style-2 {
    font-family: 'Roboto Slab';
}

.title-1.style-3 {
    font-family: 'Russo One';    
    text-align: center;
}

.title-1.style-4 {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    margin: 70px 0 50px;
}

.title-1.style-4::after {
    content: "";
    position: absolute;
    display: block;
    width: 150px;
    height: 2px;
    background-color: #FFCA2C;
    transform: translate(-50%, 10px);
    left: 50%;
}

/* Content */

/* Contact page */

.contact__page {
    display: flex;
    margin: 0 0 70px 0;
}

.contact__page .title-2.footer {
    color: #000;
}

.contact__page .icon-text__block {
    
    margin: 0 0 20px 0;
}

.contact__page .footer__text {
    color: #000;
}

.pros__wrapper {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* margin: 70px 0 0; */
}

.pros.style-2 {
    margin: 70px auto ;
}

.pros__background {
    padding: 25px 0;
    background: var(--background-pros);
}

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

.pros.style-2 .icon-text__block {
    background: var(--background-pros);
    padding: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.pros.style-2 .icon-text__block:not(:last-child) {
    margin-right: 20px;
}

.pros-text {
    color: var(--pros-txt);
}

/* Services card style 1 */

.services__cards {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services__card {
    display: flex;
    align-items: center;
    background: var(--background-card);
    margin-bottom: 20px;
}

.services__card.style-1 {
    border-radius: 20px;
    max-width: 630px;
    padding: 20px;
}

.services__card.style-1:nth-child(odd),
.services__card.style-4:nth-child(odd) {
    margin-right: 20px;
}

.services__card.style-1 img,
.services__card.style-4 img {
    width: 280px;
    height: 100%;
    object-fit: cover;
    margin-right: 20px;
}

.services__card .title__card {
    color: var(--title-card);
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 10px;
}

.services__card.style-1 .price,
.services__card.style-4 .price {
    color: var(--price);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.text.card__text-style-1,
.text.card__text-style-4 {
    margin: 15px 0;
    line-height: 20px;
    font-size: 16px;
    color: var(--text-card);
}

/* Services card style 2 */

.services__card.style-2 {
    max-width: 300px;
    flex-direction: column;
    text-align: center;
    margin-right: 20px;
    color: var(--text-card);
    box-shadow: 0px 4px 20px rgba(55, 64, 156, 0.15);
}

.services__card.style-2 .card__info,  
.services__card.style-5 .card__info  {
    padding: 20px;
}

.services__card.style-2 img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.services__card.style-2 .text.card__text-style-1 {
    color: var(--text-card);
}

/* Services card style 3 */

.services__card.style-3 {
    width: 100%;
    margin-right: 20px;
}

.services__card.style-3 .services__image {
    flex: 0 0 350px;
    overflow: hidden;
    height: 150px;
}

.services__card.style-3 .services__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services__card.style-3 .price {
    margin: 0 20px 0 0;
    color: var(--price);
    font-weight: 700;
}

.price__info__block {
    display: flex;
    align-items: center;
}

.card__info__block {
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

/* Services card style 4 */

.services__card.style-4 {
    border-radius: 10px;
    max-width: 630px;
    padding: 20px;
}

.services__card.style-4 .price {
    margin-bottom: 0;
}

/* Services card style 5 */

.services__card.style-5 {
    max-width: 300px;
    flex-direction: column;
    text-align: center;
    margin-right: 20px;
    color: var(--text-card);
}

.services__card.style-5 img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    padding: 20px;
}

.services__card.style-5 .text.card__text-style-1 {
    color: var(--text-card);
}

.services__card.style-5 .price {
    color: var(--price);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Converssion block */

.converssion__img {
    display: block;
    flex: 0 0 50%;
    overflow: hidden;
    position: relative;
}

.converssion__img img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    position: absolute;
}

.block-right {
    padding: 50px;
    color: var(--text-color-footer);
}

.converssion__block {
    display: flex;
    /* align-items: center; */
    background: var(--background-footer);
}

.converssion__block.style-1 {
    border-radius: 30px;
    overflow: hidden;
}

.converssion__block.style-3 {
    border-radius: 10px;
    overflow: hidden;
}

.converssion__price {
    color: var( --icon-color) !important;
    margin: 30px 0;
}

.converssion__text {
    margin: 0 0 30px 0;
}




/* Doctors */

.doctor__ava {
    width: 300px;
    height: 300px;
    overflow: hidden;
}

.doctor__ava.style-1 {
    border-radius: 30px;
}

.doctor__ava.style-2 {
    border-radius: 10px;
}

.doctor__ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 70px 0 0;
}

.doctor__card {
    text-align: center;
    width: 300px;
    margin: 0 20px 20px 0;
}

.doctor__name {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 700;
}

/* 404 */

.c-404 {
  text-align: center;
  margin: 70px auto;
}

.text-404 {
    font-size: 120px;
}

.btn-404 {
    border: 1px solid var(--button);
    background-color: unset;
    color: #000;
}



/* Table */

.head__td {
    display: grid;
    grid-template-columns: 8fr 4fr;
    background: var(--background-footer-2);
    color: var(--text-color-footer);
    padding: 20px 30px;
}

.content__td {
    display: grid;
    grid-template-columns: 8fr 4fr;
    padding: 20px 30px;
}

.container .content__td:nth-child(odd) {
    background: #f5f5f5;
}

.price__td {
    margin: 70px 0 0;
}

.content__name {
    margin-right: 15px;
}


/* Main text */

.main__text {
    margin: 70px 0;
}

.main__text-2 {
    margin: 30px 0;
    /* text-align: center; */
}

/* Programm */

.programm {
    margin-top: 80px;
}

.programm__block {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
}

.programm__text p {
    margin-bottom: 7px;
    font-weight: 400;
    margin: 0 30px 0 0;
}

.image__programm {
    /* width: 100%; */
    /* height: 280px; */
    /* overflow: hidden; */
    flex: 0 0 50%;
    border-radius: 30px;
    margin: 0 0 0 20px;
    position: relative;
}

.image__programm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

/* Programm style 2 */

.programm__block.style-2 .image__programm {
    border-radius: unset;
}

/* Programm style 3 */

.programm__block.style-3 {
    align-items: baseline;
}

.programm__block.style-3 .image__programm {
    height: 280px;
}

.programm__block.style-3 .image__programm img {
    height: 280px;
    position: relative;
}

.programm__block.style-3 .image__programm {
    border-radius: unset;
    margin: 0 0 20px;
}

.programm__block.style-3 .programm__text:not(:nth-child(2n)) {
    margin-right: 20px;
}

.program__sample__block {
    flex: 0 0 50%;
}

/* Programm style 4 */

.programm__block.style-4 .programm__text {
    margin-bottom: 7px;
    font-weight: 400;
    margin: 0 0 0 30px;
}

.programm__block.style-4 .image__programm {
    border-radius: unset;
}

/* Consultation */

.consultation__background {
    margin: 70px 0;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    background-image: url('../img/content/background.png');
}

.consultation {
    padding: 50px 20px;
    color: var(--form-color-text);
}

.text-2 {
    margin: 10px 0 30px;
    font-size: 20px;
    line-height: 30px;
}
.consultation__form {
    display: flex;
    margin-bottom: 30px;
}

.consultation__form__input {
    background: #fff;
    margin-right: 20px;
    padding: 13px 15px;
    color: #000;
    width: 30%;
}

.input__block a {
    color: var(--black);
}

.input__block label {
    font-size: 11px;
}

.input__block {
    display: flex;
}

.checkbox__label {
    position: relative;
    display: inline-flex;
}

/* Form style 2 */

.consultation__form.style-2 .consultation__form__input {
    border-radius: 50px;
}

.consultation__form.style-2 .btn__form {
    border-radius: 50px;
}

/* Form style 3 */


.consultation__form.style-3 .consultation__form__input {
    border-radius: 10px;
}

.block-right .consultation__form__input {
    width: 40%;
}

.consultation__form.style-3 .btn__form {
    border-radius: 10px;
}

.consultation.style-3 {
    text-align: center;
}

.consultation.style-3 .consultation__form {
    text-align: center;
    justify-content: center;
}

.consultation.style-3 .input__block {
    display: flex;
    justify-content: center;
}

/* FAQ */

.text__title__tab {
    width: 85%;
}

.faq__arrow {
    width: 30px;
    position: relative;
    margin-left: 10px;
}

.faq {
    margin-top: 80px;
}

.title__tab {
    display: flex;
    position: relative;
    background: var(--background-faq);
    padding: 14px 20px;
    border-radius: 5px 5px 0 0;
    font-weight: 700;
    font-size: 18px;
    color: var(--faq-title);
    justify-content: space-between;
    align-items: center;
}

.faq__arrow::after {
    content: ""; 
    transition: 0.3s;
    background: var(--color-arrow);
    transform: rotate(135deg);
    position: absolute;
    width: 20px;
    height: 3px;
    z-index: 4;
    top: 50%;
    right: -3px;
}

.faq__arrow::before {
    content: ""; 
    transition: 0.3s;
    background: var(--color-arrow);
    transform: rotate(45deg);
    position: absolute;
    width: 20px;
    height: 3px;
    z-index: 4;
    top: 50%;
}

.text__tab {
    overflow: hidden;
    background: #FFFFFF;
    border: 1px  solid var(--background-faq);
    margin-bottom: 50px;
    padding: 0 20px;
    transition: .3s ease-in-out;
    font-size: 16px;
    line-height: 20px;
    color: var(--text-color);
    margin-top: -30px;
    max-height: 0;
}

.tab__item.tab__item__active .text__tab {
    max-height: 450px;
    padding: 60px 20px 30px;
}

.tab__item.tab__item__active .title__tab::after {
    transform: rotate(225deg);
}


.tab__item.tab__item__active .title__tab::before {
    transform: rotate(-45deg);
}

/* FAQ style 2 */

.title__tab.style-2 {
    border-radius: 50px;
}

.tab__item.tab__item__active .faq__arrow::after {
    transform: rotate(225deg);
}

.tab__item.tab__item__active .faq__arrow::before {
    transform: rotate(-45deg);
}

/*  Customer */

.customers {
    margin-top: 80px;
    margin-bottom: 80px;
}

.customers__cards {
    justify-content: center;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.customer-card {
    display: flex;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--background-customer-block);
}

.customer-card .customer__text {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-customer)
}

.customer-card .customer__name {
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    color: var(--name-customer);
}

.customer-card .customer__info {
    margin-left: 0;
}

/*  Customer style 1 */

.customer-card.style-1 {
    align-items: center;
    max-width: 630px;
    border-radius: 30px;
}

.customer-card.style-1:nth-child(odd) {
    margin-right: 20px;
}

.customer-card.style-1 .customer__info {
    margin-left: 30px;
}

.customer-card.style-1 .customer__text {
    max-width: 440px;
}

/*  Customer style 2 */

.customer-card.style-2 {
    max-width: 610px;
    padding: 20px;
    margin-right: 20px;
    box-shadow: 0px 4px 20px rgba(55, 64, 156, 0.15);
}

/*  Customer style 3 */

.customer-card.style-3 {
    text-align: center;
    max-width: 400px;
    min-width: 270px;
    margin-right: 20px;
    flex-wrap: nowrap;
    overflow: auto;
    justify-content: unset;
}

/*  Customer style 4 */

.customer-card.style-4 {
    max-width: 400px;
    min-width: 270px;
    margin-right: 20px;
    border-radius: 10px;
}

.customer-card.style-4 .customer__name {
    margin-bottom: 10px;
}

.customer-card.style-4 .customer__name::before {
    content: "";
    vertical-align: text-top;
    margin-right: 10px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    background-image: url("./assets/img/icon/customer.svg");
}

/* Customer style 5 */

.customer-card.style-5 {
    text-align: center;
    max-width: 610px;
    margin-right: 20px;
}

/* Footer */

.footer__container {
    display: flex;
    margin: 70px auto 0;
    padding: 0;
    justify-content: space-between;
}

.footer__navigations .icon-text__block svg {
    color: var(--text-color-footer);
    margin-right: 10px;
}

.footer__contact {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    background: var(--background-footer-2);
}

.footer__wrapper {
    max-width: 550px;
    padding: 20px 20px;
}

.title-2.footer {
    margin-bottom: 30px;
    color: var(--text-color-footer);
}

.footer__text  {
    font-size: 25px;
    line-height: 25px;
    color: var(--text-color-footer);
}

.footer__text a {
    color: inherit;
}

.footer__wrapper .icon-text__block {
    margin-bottom: 20px;
}

.footer__wrapper .icon-text__block  img {
    margin-right: 10px; 
}

.background__footer__block {
    background: var(--background-footer);
}

.right__block {
    max-width: 1330px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin: 0 auto;
    align-items: center;
}

.footer__navigations__block .icon-text__block {
    margin-top: 10px;
}

.footer__text-2 {
    font-size: 16px;
    color: var(--text-color-footer);
}

.footer__text-2 a {
    color: inherit;
}

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

.footer__column {
    max-width: 300px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.footer__title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color-footer);
    margin-bottom: 10px;
}

.footer__navigations__block {
    padding: 50px 20px;
}

.footer__text__right__block {
    font-size: 13px;
    max-width: 550px;
    color: var(--text-color-footer);
}

.footer__navigations__list a {
    color: var(--text-color-footer);
}

.footer__navigations__list li {
    list-style: none;
    margin: 0 0 10px 0 !important;
}

.footer__navigations__list {
    margin: 0 !important;
}


@media (max-width: 1220px) {
    .phone-text {
        font-size: 16px;
    }

    .services__card.style-4:nth-child(odd) {
        margin-right: unset;
    }

}

@media (max-width: 1150px) {
    .header__container .icon-text__block {
        display: none;
    }

    .footer__container {
        flex-direction: column;
    }

    .title-1.style-1, 
    .title-1.style-2, 
    .title-1.style-3 {
        text-align: center;
        font-size: 35px;
    }
    
    .services__card.style-1:nth-child(odd) {
        margin-right: 0;
    }

    .converssion__img {
        display: none;
    }

}

@media (max-width: 780px) {
    .pros__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .pros {
        flex-direction: column;
    }

    .pros .icon-text__block:not(:first-child) {
        margin-top: 20px;
    }

    .programm__block {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    .image__programm {
        margin: 0 0 20px;
    }

    .image__programm img {
        position: relative;
    }

    .programm__block.style-3 .programm__text:first-child {
        margin: 20px 0 0;
    }

    .programm__text p {
        margin-bottom: 7px;
        font-weight: 400;
        margin: 0 ;
    }

    .programm__block.style-4 {
        flex-direction: column;
    }

    .programm__block.style-4 .programm__text p {
        margin: 0 ;
    }
    
    .pros.style-2 .icon-text__block:not(:last-child) {
        margin-right: 0;
    }

    .contact__page {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .services__card {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin-left: 0;
    }
    
    .services__card.style-1, 
    .services__card.style-4 {
        max-width: 360px;
    }

    .consultation__form {
        flex-direction: column;
        align-items: center;
    }

    .consultation__form__input {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .consultation__form .btn__form {
        display: block;
        text-align: center;
        width: 100%;
    }

    .services__card.customer-card img {
        margin-bottom: 20px;
    }

    .services__card.style-1 img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .services__card.style-4 img {
        width: 100%;
    }

    .services__card.style-4 img {
        margin-right: 0;
        margin-top: 20px;
    }

    .price__info__block {
        display: flex; 
        flex-direction: column;
        
    }

    .card__info__block {
        display: block;
    }

    .card__info__block .btn.style-3 {
        width: 100%;
        text-align: center;
    }

    .services__card.style-3 .price {
        margin: 0;
        margin-bottom: 20px;
    }

    .services__card.style-3 .services__image {
        flex: 0 0 200px;
    }

    .price__info__block {
        text-align: left;
    }
    
    .slider__title {
        font-size: 25px;
        line-height: 30px;
    }
    
    .footer__text {
        font-size: 16px;
    }
    
    .slider__background {
        padding: 20px;
    }
    
    .slider__btn__block {
    display: none;
    }

    .block-right .consultation__form__input {
        width: 100%;
    }

    .block-right {
        padding: 25px;
    }

    .customer-card.style-1:nth-child(odd) {
        margin-right: 0;
    }

    /* .menu-item-has-children:hover .sub-menu {
        display: unset;
    } */
}

@media (max-width: 550px) {
    .title-1 {
        font-size: 35px;
    }

    .header__container {
        flex-direction: column;
        align-items: center;
    }

    .header__container .btn {
        margin-top: 10px;
    }

    .right__block {
        flex-direction: column;
    }

    .social__icon__block {
        margin-top: 20px;
    }

    h1 {
        font-size: 25px;
        line-height: 35px;
    }

    .slider__text {
        font-size: 16px;
    }

    .customer-card.style-1 {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .customer-card.style-1 .customer__info {
        margin-top: 20px;
        margin-left: 0;
    }

    .customer-card.style-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .slider__info {
        padding: 20px;
    }
    
    .header__container .icon-text__block {
        display: flex;
        margin: 7px 0;
    }
    
    .header__adress {
        font-size: 14px;
    }
    
    .title__tab, .title__tab.style-2 {
        font-size: 16px;
    }

    .info__header__right {
        display:flex;
        align-items: center;
        flex-direction: column;
    }
    
    .toggle__btn {
        display: block
    }
    
    .logo__info {
        width: 100%
    }

    .logo__info.style-3 {
        order: -1;
    }
    
    .header__navigations {
        display: none;
    }
    
    .logo__info__block {
        flex-direction: column;
        width: 100%;
        align-items: unset;
    }
    
    .header__adress {
        margin: 5px 0 0 0;
    }

    .services__card.style-5 {
        margin-right: unset;
    }

    .services__card.style-2 {
        margin-right: 0;
    }

    .customer-card.style-5,
    .customer-card.style-4,
    .customer-card.style-3 {
        margin-right: 0;
    }

    .title-2 {
        font-size: 27px;
        text-align: center;
    }

    .doctor__card {
        margin: 0 0 20px 0;
    }

    .head__name.title-2 {
        text-align: left;
        font-size: 20px;
    }
}