@font-face {
	font-family: 'Proxima Nova';
	src: url('../fonts/ProximaNova-Regular.eot');
	src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
		url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/ProximaNova-Regular.woff') format('woff'),
		url('../fonts/ProximaNova-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Proxima Nova';
	src: url('../fonts/ProximaNova-Bold.eot');
	src: local('Proxima Nova Bold'), local('ProximaNova-Bold'),
		url('../fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/ProximaNova-Bold.woff') format('woff'),
		url('../fonts/ProximaNova-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: 'Proxima Nova';
	src: url('../fonts/ProximaNova-Light.eot');
	src: local('Proxima Nova Light'), local('ProximaNova-Light'),
		url('../fonts/ProximaNova-Light.eot?#iefix') format('embedded-opentype'),
		url('../fonts/ProximaNova-Light.woff') format('woff'),
		url('../fonts/ProximaNova-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}



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


h1, h2, h3, h4, h5, h6{
    font-weight: 700;
}
h1{
    font-size: 60px;
}
h3{
    font-size: 45px;
}
h4{
    font-size: 25px;
}
html,
body {
    height: 100%;
    font-family: 'Proxima Nova';
    color: #000000;
    font-size: 18px;
    line-height: 1;
    font-weight: 300;
}
a {
    text-decoration: none;
    color: inherit; 
}
ul {
    list-style: none;
}
button {
    font-family: 'Proxima Nova';
    background-color: transparent;
    border: none;
    padding: 0;
}
.wrapper {
    min-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; 
}
.main {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto; 
    margin-top: 218px;
}
.container{
    max-width: 1840px;
    padding: 0 20px;
    margin: 0 auto;
}
/* *************ХЕДЕР*********** */
.header{
    padding: 35px 55px;
    background-color: #ffffff;
    position: fixed;  
    top: 0;  
    z-index: 100;  
    width: 100%;
}
.header__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo img{
    max-height: 145px;
}
.menu{
    align-items: center;
    display: flex;
}
.menu {
    display: flex;
    align-items: center;
}
.menu__btn{
    display: none;
    width: 40px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}
.menu__btn span{
    background-color: #000000;
    height: 2px;
    width: 100%;
}
.menu__list {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    z-index: 3;
    font-weight: 400;
}
.menu--close{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color .6s ease;
}
.menu--close.menu--open{
    display: block;
}
.menu__close {
    display: none;
}
.menu__link {
	position: relative;
	text-decoration: none;
}
.menu__link::before {
	content: '';
	position: absolute;
	left: 0; bottom: -5px;
	width: 0;
	height: 1.5008px;
	background-color: #000000;
}
.menu__link:hover:before {
	width: 100%;
}
.menu__link::before {
	transition: width 0.35s;
}

/* *************ОСНОВНА ЧАСТИНА СТОРІНКИ*********** */
.article-padding {
    padding: 65px 25px;
}
.top__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.top__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.top__title {
    margin-bottom: 48px;
    font-size: 50px;
}
.top__phonenumber {
    font-size: 44px;
    border-bottom: 1px solid #000000;
    width: fit-content;
}
.top__adress {
    margin-top: 30px;
    border-bottom: 1px solid #000000;
    width: fit-content;
}
.top__img {
    width:calc( ( 100% - 20px ) / 2 );
    height: 100%;
}
.about__inner {
    display: flex;
    justify-content: space-between;
}
.about__img {
    width:calc( ( 100% - 20px ) / 2 );
    height: 100%;
}
.about__content {
    padding: 0 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about__content-text {
    font-size: 27px;
    margin-bottom: 26px;
    line-height: 150%;
}
.about__content-list {
    font-size: 27px;
    list-style-type: disc;
}
.about__content-item {
    font-size: 18px;
    margin-left: 30px;
}
.about__content-item + .about__content-item{
    margin-top: 20px;
}
.priority__inner{
    display: flex;
    justify-content: space-between;
}
.priority__content{
    padding: 0 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.priority__content-text{
    font-size: 27px;
    margin-bottom: 26px;
}
.priority__content-list {
    font-size: 27px;
    list-style-type: disc;
}
.priority__content-item {
    font-size: 18px;
    margin-left: 30px;
}
.priority__content-item + .priority__content-item{
    margin-top: 20px;
}
.priority__img {
    width:calc( ( 100% - 20px ) / 2 );
    height: 100%;
}
.personality__inner{
    display: flex;
    justify-content: space-between;
}
.personality__content{
    padding: 0 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.personality__content-text{
    font-size: 27px;
    margin-bottom: 26px;
}
.personality__content-list {
    font-size: 27px;
    list-style-type: disc;
}
.personality__content-item {
    font-size: 18px;
    margin-left: 30px;
}
.personality__content-item + .personality__content-item{
    margin-top: 20px;
}
.personality__img {
    width:calc( ( 100% - 20px ) / 2 );
    height: 100%;
}
.consult__inner{
    display: flex;
    justify-content: space-between;

}
.consult__content{
    padding: 0 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.consult__content-text{
    font-size: 27px;
    margin-bottom: 26px;
}
.consult__content-list {
    font-size: 27px;
    list-style-type: disc;
}
.consult__content-item {
    font-size: 18px;
    margin-left: 30px;
}
.consult__content-item + .consult__content-item{
    margin-top: 20px;
}
.consult__img {
    width:calc( ( 100% - 20px ) / 2 );
    height: 100%;
}

/* *************СТОРІНКА ПОСЛУГИ*********** */
.services__items{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
/* анімація завантаження зображень */
.services__item{
    opacity: 0; 
}
.services__item-img{
    width: 100%;

}
.services__item.element-show{ 
    -webkit-animation: scale-up-center 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: scale-up-center 1.0s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;    
    opacity: 1; 
    transition-duration: 1.0s; 
    }
.services__item:nth-child(1){
    animation-delay: 0.0s;
}
.services__item:nth-child(2){
    animation-delay: 0.05s;
}
.services__item:nth-child(3){
    animation-delay: 0.1s;
}
.services__item:nth-child(4){
    animation-delay: 0.15s;
}
.services__item:nth-child(5){
    animation-delay: 0.2s;
}
.services__item:nth-child(6){
    animation-delay: 0.25s;
}
.services__item:nth-child(7){
    animation-delay: 0.3s;
}
.services__item:nth-child(8){
    animation-delay: 0.35s;
}
.services__item:nth-child(9){
    animation-delay: 0.4s;
}
.services__item:nth-child(10){
    animation-delay: 0.45s;
}
.services__item:nth-child(11){
    animation-delay: 0.5s;
}
.services__item:nth-child(12){
    animation-delay: 0.55s;
}
.services__item:nth-child(13){
    animation-delay: 0.6s;
}
.services__item:nth-child(14){
    animation-delay: 0.65s;
}
.services__item:nth-child(15){
    animation-delay: 0.7s;
}
.services__item:nth-child(16){
    animation-delay: 0.75s;
}
    
/* *
 * ----------------------------------------
 * animation scale-up-center
 * ----------------------------------------
 */
 @-webkit-keyframes scale-up-center {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
}
@keyframes scale-up-center {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
}
.page-title{
    font-size: 40px;
    text-align: center;
    margin-bottom: 25px;
}

/*********** ОПИС ДОДАТКОВИХ КЛАСІВ ДЛЯ СТОРІНКИ ПОСЛУГИ ***********/
/* article__inner - якщо блок містить картинку та блок content

article__content - якщо блок має декілька елементів тексту або список

article__text - текст з тегом p

article__list - немаркований список з переліком послуг

article__list-item - елемент списку

article__img - картинка, що входить у блок inner */

.article__inner{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.article__content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 70px;
}
.article__text{
    font-size: 18px;
    line-height: 33px;
}
.article__text + .article__text{
    margin-top: 33px;
}
.article__list{
    font-size: 18px;
    line-height: 33px;
}
.article__list + .article__list{
    margin-top: 33px;
}
.article__list-item{
    list-style-type: disc;
    margin-left: 30px;
}
.article__img{
    width:calc( ( 100% - 20px ) / 2 );
    height: 100%;
}
.amosova__content-text a{
    font-weight: 700;
    font-size: 20px;
}
.customers td{
    padding: 12px;
    width: 100%;
}
.customers td:nth-child(2){
    vertical-align: middle;
    padding-right: 50px;
}
.customers tr:nth-child(odd){
    background-color: #f3f3f3;
}
.customers tr:hover{
    background-color: #e0e0e0;
}
.customers p{
    width: 100px;
}
.cardiology-1__content-list,
.phlebology-1__content-list,
.usd-1__content-list{
    margin-top: 33px;
    margin-bottom: 33px;
}
.phlebology-2__content-list,
.dermatology-2__content-list,
.echocardiography-2__content-list{
    margin-bottom: 33px;
}
.phlebology-4__content-list,
.rheumatology-1__content-list,
.rheumatology-2__content-list,
.rheumatology-3__content-list,
.neurology-1__content-list,
.neurology-3__content-list,
.dermatology-1__content-list,
.dermatology-3__content-list,
.usd-2__content-list,
.usd-3__content-list,
.functional_diagnostics-1__content-list,
.functional_diagnostics-2__content-list{
    margin-top: 33px;
}
.cardiology-kids-2__content-text{
    margin-bottom: 33px;
}
.cardiology-kids-1__content-list,
.functional_diagnostics-5__content-list{
    margin-top: 33px;
    margin-bottom: 33px;
}
.lab-1__adress{
    text-decoration: underline;
}
.lab-1__content-item-link{
    font-weight: 700;
    text-decoration: underline;
}
.therapy-1__inner{
    padding: 0 60px;
}
.price__title{
    margin-bottom: 25px;
    font-weight: 700;
}
details{
    position: relative;
    padding-left: 25px;
}
details summary {
    list-style: none;
}
details::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 5px;
    right: 0;
    width: 15px;
    background-image: url(../images/arrow-bottom.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
details + details{
    margin-top: 25px;
}
details table{
    margin-top: 10px;
}
.price__content-list{
    margin-top: 33px;
    margin-bottom: 33px;
}
.price__content-item{
    list-style-type: decimal;
}
.public__title{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 25px;
}
.public__text{
    line-height: 33px;
}
.public__text + .public__text{
    margin-top: 25px;
}
.public__content-list{
    line-height: 33px;
}
.public__content-item{
    list-style-type: disc;
    margin-left: 40px;
}



/* *************СТОРІНКА КОНТАКТИ*********** */
.contacts__box{
    padding: 160px 0;
}
.contacts__box-inner{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.contacts__box-content{
    display: flex;
    flex-direction: column;
    margin-right: auto;
    font-size: 27px;
    line-height: 150%;
    gap: 20px;
}
.contacts__box-content span{
    font-weight: 700;
}
.contacts__box-title{
    text-align: center;
    margin-bottom: 50px;
}

/* *************ФУТЕР*********** */
.footer{
    background-color: #f1f1ef;
    padding: 50px;
}
.footer__inner {
    display: flex;
    justify-content: space-around;
}
.footer__contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 16px;
}
.footer__contacts-title {
    margin-bottom: 32px;
}
.footer__social {
    width: 320px;
}
.footer__social-title {
    margin-bottom: 32px;
}
.footer__social-links {
    padding: 17px 0;
    display: flex;
    gap: 0 20px;
}
.footer__social-link img{
    width: 30px;
    height: 30px;
}
.footer__social-payment {
    padding: 17px 0;
    display: flex;
    gap: 0 60px;
}
.footer__social-payment img{
    max-width: 130px;
}





/******* АДАПТИВ*******/
@media(max-width: 1440px) {
    .main {
        margin-top: 163px;
    }
    .header,
    .footer{
        padding: 30px 50px;
    }
    .header__logo img{
        max-height: 100px;
    }
    .top__title {
        font-size: 50px;
    }
    .top__phonenumber {
        font-size: 40px;
    }
    .about__content-text,
    .priority__content-text,
    .personality__content-text,
    .consult__content-text{
        font-size: 22px;
        line-height: 1;
        margin-bottom: 20px;
    }
    .about__content-item + .about__content-item,
    .priority__content-item + .priority__content-item,
    .personality__content-item + .personality__content-item{
        margin-top: 10px;
    }
    .article__text{
        line-height: normal;
    }
    .amosova__content-text a{
        font-weight: 700;
        font-size: 20px;
    }
    .article__list p{
        line-height: normal;
        margin-bottom: 10px;
    }
}
@media(max-width: 1280px) {
    .main {
        margin-top: 113px;
    }
    .header,
    .footer{
        padding: 20px 20px;
    }
    .header__logo img{
        max-height: 70px;
    }
    .about__content-text,
    .priority__content-text,
    .personality__content-text,
    .consult__content-text {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .about__content-text:nth-child(2){
        margin-bottom: 3px;
    }
    .about__content-item + .about__content-item{
        margin-top: 8px;
    }
    .contacts__box{
        padding: 100px 0;
    }
    .contacts__box-inner{
        flex-direction: column;
        gap: 40px;
    }
    .contacts__box-map{
        width: 100%;
        height: 500px;
    }
    .contacts__box-content{
        margin: 0 auto;
    }
    .footer__contacts {
        margin-left: 0;
        margin-right: 0;
    }
    .footer__social-payment {
        gap: 0 30px;
    }
    .footer__social {
        width: 300px;
    }
    .article__content{
        padding-left: 30px;
    }
    .article__text{
        font-size: 16px;
        line-height: normal;
    }
    .article__list{
        font-size: 16px;
        line-height: normal;
    }
    .article__text + .article__text{
        margin-top: 25px;
    }
    .page-title {
        font-size: 30px;
    }
}
@media(max-width: 1024px) {
    .article-padding{
        padding: 40px 20px;
    }
    .contacts__box-content{
        font-size: 20px;
    }
    .top__title {
        font-size: 40px;
    }
    .top__phonenumber {
        font-size: 30px;
    }
    .top__adress{
        font-size: 14px;
    }
    .about__content-text,
    .priority__content-text,
    .personality__content-text,
    .consult__content-text {
        font-size: 18px;
        line-height: 1;
    }
    .about__content-item,
    .priority__content-item,
    .personality__content-item {
        font-size: 14px;
        margin-left: 15px;
    }
    .about__content-item + .about__content-item,
    .priority__content-item + .priority__content-item,
    .personality__content-item + .personality__content-item{
        margin-top: 2px;
    }
    .article__content{
        padding-left: 0;
    }
    .amosova__content-text a{
        font-size: 18px;
    }
    .therapy-1__inner{
        padding: 0;
    }
    .article__text + .article__text{
        margin-top: 10px;
    }
    .customers td:nth-child(2){
        padding-right: 12px;
    }
    .customers p{
        width: 80px;
    }

}
@media(max-width: 768px) {
    .main {
        margin-top: 133px;
    }
    .article-padding{
        padding: 25px 0;
    }
    h3{
        font-size: 30px;
    }
    h4 {
        font-size: 20px;
    }
    .header{
        padding: 45px;
    }
    .header__logo img {
        max-height: 40px;
    }
    .menu__list{
        transform: translateX(-100%);
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        margin: 0 auto;
        background-color: #fcdb00;
        display: block;
        text-align: center;
        padding: 80px 0;
        transition: all 900ms cubic-bezier(.9, 0, .33, 1);
        gap: 40px 0;
    }
    .menu__list.menu--open{
        transform: translateX(0);
    }
    .menu__close-btn{
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .menu__item{
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .menu__link{
        font-size: 30px;
        color: #000000;
        transition: all 300ms cubic-bezier(.9, 0, .33, 1);
    }
    .menu__link::before {
        background-color: #000000;
    }
    .menu__btn{
        display: flex;
    }
    .menu__close{
        display: block;
    }
    .top__content{
        margin: 0 auto;
    }
    .top__title {
        font-size: 30px;
        margin-bottom: 20px;
        text-align: center;
    }
    .top__phonenumber {
        font-size: 25px;
        margin: 0 auto;
    }
    .top__adress{
        margin: 30px auto 0;
    }
    .top__img {
        display: none;
    }
    
    .top__content p{
        text-align: center;
    }
    .about__inner,
    .priority__inner,
    .personality__inner,
    .consult__inner{
        flex-direction: column;
    }
    .about__img,
    .personality__img{
        padding: 17px;
        width: 100%;
    }
    .about__content-text,
    .priority__content-text,
    .personality__content-text,
    .consult__content-text{
        font-size: 24px;
        margin-bottom: 24px;
    }
    .about__content-item,
    .priority__content-item,
    .personality__content-item{
        font-size: 18px;
    }
    .about__content-item + .about__content-item,
    .priority__content-item + .priority__content-item,
    .personality__content-item + .personality__content-item{
        margin-top: 10px;
    }
    .priority__img,
    .consult__img{
        order: -1;
        padding: 17px;
        width: 100%;
    }
    .services__items{
        grid-template-columns: repeat(2, 1fr);
    }
    .contacts__box{
        padding: 70px 0;
    }
    .contacts__box-content{
        font-size: 18px;
    }
    .contacts__box-title {
        margin-bottom: 20px;
    }
    .footer__inner{
        justify-content: space-between;
    }
    
    .footer__social-payment img {
        max-width: 80px;
    }
    .footer__social {
        width: 175px;
    }
    .footer__contacts-adress,
    .footer__contacts-phonenumber,
    .footer__contacts-email{
        font-size: 14px;
    }
    .article__inner{
        flex-direction: column;
    }
    .amosova__img{
        padding: 17px;
        width: 100%;
        height: 700px;
        object-fit: cover;
        object-position: center right;
    }
    .article__text + .article__text{
        margin-top: 15px;
    }
    .article__img{
        padding: 17px;
        width: 100%;
    }
    .cardiology-2__img,
    .cardiology-4__img,
    .therapy-2__img,
    .surgery-4__img,
    .phlebology-2__img,
    .phlebology-4__img,
    .rheumatology-2__img,
    .endocrinology-2__img,
    .neurology-2__img,
    .psychiatry-1__img,
    .dermatology-2__img,
    .cardiology-kids-2__img,
    .echocardiography-2__img,
    .usd-2__img,
    .functional_diagnostics-2__img,
    .functional_diagnostics-4__img{
        order: -1;
    }
    .surgery-2__img,
    .phlebology-3__img,
    .rheumatology-3__img{
        order: -1;
        height: 500px;
        object-fit: cover;
        object-position: center right;
    }
}
@media(max-width: 570px) {
    
    .top__title{
        margin: 30px auto;
        text-align: center;
    }
    .top__phonenumber{
        margin: 0 auto;
    }
    .top__adress{
        margin: 30px auto 0;
    }
    .top__img{
        display: none;
    }
    .contacts__box-content{
        font-size: 16px;
    }
    .footer__inner{
        flex-direction: column;
        align-items: center;
    }
    .footer__social-title,
    .footer__contacts-title{
        margin: 20px auto 20px;
    }
    .footer__contacts-adress,
    .footer__contacts-phonenumber,
    .footer__contacts-email {
        margin: 0 auto 17px;
    }
    .footer__social-links {
        justify-content: center;
        margin: 0 auto 17px;
        padding: 0;
    }
    .footer__social-payment{
        justify-content: center;
    }
    .footer__social-payment img {
        max-width: 50px;
    }
}
@media(max-width: 480px) {
    .main {
        margin-top: 103px;
    }
    .header,
    .footer{
        padding: 30px;
    }
    .top__adress{
        font-size: 13px;
    }
    .about__content,
    .priority__content,
    .personality__inner {
        padding: 0;
    }
    .about__content-text,
    .priority__content-text,
    .personality__content-text,
    .consult__content-text {
        font-size: 18px;
    }
    .about__content-item,
    .priority__content-item,
    .personality__content-item {
        font-size: 16px;
    }
    .amosova__img{
        padding: 0;
        height: 500px;
    }
    .page-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .article__text{
        font-size: 14px;
    }
    .article__list{
        font-size: 14px;
    }
}
@media(max-width: 360px) {
    .top__adress{
        font-size: 11px;
    }
    .top__phonenumber {
        font-size: 20px;
    }
}