h1{
    width: 100%;
    text-align: center;
    font-size: 245%;
    line-height: 120%;
    font-weight: 700;
    color: #e2e2c4;
    text-shadow: 2px 2px 6px #292929; 
    font-style: oblique;
    letter-spacing: 3px;
    background-color: #5353536e;
    padding-bottom: 1vw;
}
h3{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 24px 32px;
}
h4{
    text-align: left;
    font-size: 22px;
    font-weight: bold;
    padding: 32px 16px 16px 0;
}
h5{ /*для розділу "Рекомендації"*/
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    padding: 32px 16px 16px;
    color: #663520;
}
h6{
    font-size: 18px;
    font-weight: 600;
    line-height: 125%;
    font-style: italic;
}
body{
    min-width: 360px;
}
section{
    width: 100%;
    background: #E4E4DB;
}
.wrapper{
    padding: 8px 32px 32px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    border-right: 1px solid #aeaeae;
    border-left: 1px solid #aeaeae;
}
.wrapper_no_padding{
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
}
.wrapper_u{
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8px 16px;
}
.no_scroll{
    overflow: hidden;
}
.overlay{
    display: none;
    z-index: 300;
}
.overlay_fixed{
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #73737371;
}

footer{
    gap: 16px;
    border-top: 1px solid #0000001a;
    background-color: #c2cbc4;
}
footer a{
    padding: 24px 8px 0;
    font-size: 16px;
    font-style: italic;
}
.under_footer{
    background-color: rgb(51, 57, 51);
}
.under_footer p{
    text-align: right;
    font-size: 12px;
    line-height: 120%;
    color: #fff;
}
.under_footer a{
    color: #fff;
    text-decoration: underline;
}
.content{
    display: none;
}
.content.show{
	display: block;
}


/* Header */
header{
    width: 100%;
    border: 1px solid #c4c4c4;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 500;
}
.wrapper_header{
    margin: 0 auto;
    width: 100%;
}
.bg_top{
    background-color: rgb(51, 57, 51);
    border-bottom: 1px solid #000;
    
}
.bg_top p{
    font-size: 16px;
    line-height: 120%;
    color: #fff;
}
.bg_top a{
    color: inherit;
}
.bg_nav{
    background: #b2c7b9;
}
.header_top{
    height: 36px;
    padding: 0 16px;
}
.header_top > a {
    color: #fff;
}
.header_top div:nth-child(1) > a{
    margin: 0 32px;
    width: 32px;
    height: 32px;
}
.bg_top .lang{
    margin: 0 32px 0 0;
    color: #fff;
    border: 1px solid #fff;
    padding: 3px;
    border-radius: 5px;
}
.header_top, .header_bottom{
    max-width: 1300px;
    margin: 0 auto;
    
}
.nav_menu{
    justify-content: right;
    gap: 16px;
    padding: 10px 16px;
}
.header-nav{
    padding: 8px;
    font-size: 18px;
    cursor: pointer;
}
.header-nav.active{
    border-bottom: 1px solid black;
}

.logo{
    /* background-color:#C8C8B5;   */
    padding-top: 90px;
}
.wrapper_no_padding{
    height: 30vw;
    background: url(../img/header_new.png) no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* .wrapper_no_padding > div{
    filter: blur(10px);
} */
.wrapper_no_padding a{
    display: none;
    text-align: center;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #343a37;
    background-color: #ffffff36;
}


/* Tabs content */
.content ul{
    /* margin: 14px 0; */
    padding-left: 24px;
    list-style: disc;
    gap: 8px;
}
.content li{
    font-size: 18px;
}
.swiper-slide{
    cursor: default;
}

/* content_1 */
.content_main_page .wrapper > div{
justify-content: space-around;
align-items: center;
padding: 8px 0;
gap: 16px;
}

.right_text{
    margin: 24px 0;
}
.right_text p{
    font-size: 18px;
    line-height: 125%;
    font-style: italic;
    text-align: center;
}
.doctor{
    margin-bottom: 18px;
}
.doctor h5{
    font-size: 14px;
    margin-bottom: 18px;
}
.doctor a{
    color: #663520;
    text-decoration: none;
    text-wrap: nowrap;
    font-weight: 600;
}
    
/* End tab 1 */
/* Tab 2 */
/* Tab 3 */
.hint p{
    font-size: 18px;
    line-height: 150%;
}
/* Tab 4 */
.quest ul{
    margin: 0;
}
.quest p{
    font-size: 18px;
}

/* Tab 5 */
.map address{
    max-width: 480px;
    margin: 0 auto;
}
.map p, .map a{
    font-size: 18px;
    font-weight: 600;
    padding: 4px 0;
    text-align: center;
}
.map > div > img{
    display: block;
    margin: 0 auto;
}
.contact{
    max-width: 300px;
    margin: 0 auto;
}
.contact img{
    margin-left: 16px;
}
/* Dynasty */
.dynasty_content > div{
    display: none;
    padding-bottom: 16px;
}
.dynasty_content > div.show{
    display: block;
}
.dynasty_content div img{
    width: 100%;
    max-width: 400px;
}
.dynasty_button {
padding: 32px 0;
}
.dynasty_button p {
    
    font-size: 22px;
    font-weight: 600;
    color: #32323263;
    display: flex;
    gap: 16px;
    cursor: pointer;
}
.dynasty_button span{
    color: #32323263;
    font-size: 16px;
    padding: 4px 0;
    text-wrap: nowrap;
}
.dynasty_button > div{
    padding-bottom: 4px;
    cursor: pointer;
}
.dynasty_button div.active{
   
    border-bottom: 3px solid #919191;
}
.dynasty_button .active p,
.dynasty_button .active span{
     color: #323232;
}
.dynasty_content p{
    line-height: 24px;
}
.dynasty_content span{
    font-weight: 700;
    text-wrap: nowrap;
}
.dynasty_content_1 > div{
    gap: 32px;
}
.img_quotes{
    gap: 32px;
}
.dynasty_content_3 img{
    display: block;
    margin: 0 auto;
}

/* Slider Quotes */
.quotes{
    background-color: #b2c7b9;
}
.swiper-slide p{
    font-size: 14px;
    line-height: 125%;
    text-align: right
}
.swiper-slide .author{
    padding-top: 5px;
    font-weight:600;
    text-decoration: underline;
    display: block;
    width: 100%;
    margin-left: auto;
    text-align: right;
}
.swiper-slide .text_author{
    font-style: italic;
}

.swiper{
    padding: 16px 0;
}
.swiper-slide{
    height: auto;
}
.swiper-wrapper{
    align-items: stretch;
}
.swiper-pagination-bullet{
    width: 15px;
    height: 15px;
}
.swiper-pagination-bullet-active{
    background-color: #2d5b34;
}




/* Only Burger */
    .burger{
        position: absolute;
        top: -1000px;
    }
@media screen and (max-width: 1050px){
    .burger{
        background-color: #0000000c;
        width: 40px;
        height: 40px;
        padding: 5px;
        /* border: 1px solid #a6a6a6; */
        position: relative;
        top: 0;
        z-index: 100;
    }
    .burger_item{
        width: 22px;
        height: 2.5px;
        background-color: #000;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: translate .5s;
        border-radius: 3px;
        z-index: 50;
    }
    .burger_item::after,
    .burger_item::before{
        content: '';
        width: 22px;
        height: 2.5px;
        background-color: #000;
        position: absolute;
        transition: .5s;
        border-radius: 3px;
        z-index: 50;
    }
    .burger_item::after{
        top: 5px
    }
    .burger_item::before{
        top: -5px;
    }
    .burger_menu_active .burger_item{
        background-color: transparent;
        
    }
    .burger_menu_active .burger_item::after{
        transform: rotate(45deg);
        top: 0;
        transition: .5s;    
    }
    .burger_menu_active .burger_item::before{
        transform: rotate(-45deg);
        top: 0;
        transition: .5s;
    }
    .nav_menu{
        display: flex;
        border: 1px solid #000;
        position: absolute;
        top: 36px;
        right: -100%;
        max-width: 400px;
        width: 100%;
        padding: 0 30px;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 22px;
        z-index: 500;
        transition: right .75s;
        gap: 0;
    }
    .nav_menu.show{
        right: 0;
    }
    .header-nav{
        width: 100%;
        text-align: center;
        padding:  20px 0;
        border-bottom: 1px solid #00000012;
    }
    .header-nav:last-child{
        border: none
    }
    .header-nav:hover{
    background-color: #a6a6a6;
    border: 1px solid #000;
    }
    /* Burger end */


    .header_top{
        padding: 0 16px;
    }
    .header_top > a{
        display: none;
    }
    .bg_top .lang{
        color: #000;
        border: 1px solid #000;
    }
    .logo{
        padding-top: 36px;
    }
    .bg_top p {
        font-size: 14px;
        color: #ffffff;
    }
    .wrapper_no_padding a{
        display: block;
    }
    .bg_top {
        background: #c2cbc4;
    }
    .bg_top p {
        color: #272727;
    }
    .dynasty_content_1 > div{
        flex-direction: column;
        align-items: center;
    }
    .dynasty_button{
        flex-direction: column;
        padding: 0 0 16px;
        gap: 16px;
    }
    .dynasty_button >div{
        width: fit-content;
    }
    .dynasty_button div:nth-child(1){
        
    }
    .dynasty_button div:nth-child(2){
        margin: 0 auto;
    }
    .dynasty_button div:nth-child(3){
        margin-left: auto;
    }
    .dynasty_button p{
        font-size: 20px;
        display: inline-block;
    }
}




@media screen and (max-width: 900px){
    h1{
        letter-spacing: 1px;
        font-size: 3.5vw;
    }
    .logo .wrapper_no_padding {
        height: 35vw;
    }
    .logo .wrapper{
        position: static;
        background-color: rgba(255, 255, 255, 0.215);
        backdrop-filter: blur(3px);
        padding: 4px 16px;
    }
    .content_main_page .wrapper > div{
        flex-direction: column;
        padding-top: 0;
        gap: 32px;
    }
    .content_main_page img{
        max-width: 480px;
        width: 100%;
    }
    .header_top div:nth-child(1) > a{ 
        margin: 0 0 0 8px;
    }
    .bg_top .lang {
        margin: 0 16px 0 0;
    }

}
@media screen and (max-width: 785px){
    .img_quotes{
        flex-direction: column;
    }
    .swiper{
        width: 100%;
    }
}
@media screen and (max-width: 650px){
    .wrapper{
        padding: 8px 16px 32px;
    }
    .wrapper_no_padding a{
        padding: 12px;
        font-size: 11px;
        color: rgb(44, 53, 49);
    }
    h1{
        font-size: 5vw;
    }
    h3,h4,h5,h6{
        font-size: 20px;
        line-height: 130%;
    }
    h3{
        padding: 16px 0;
    }
        .content_main_page .wrapper > div {
        padding: 0;
    }
    .h3{
        width: 100%;
        text-align: left;
        padding: 16px 8px;
    }
    /* .content h4{
        padding: 16px 16px 16px 0;
    } */

    .right_text{
        margin-bottom: 0;
    }
    .doctor  a{
        display: block;
        margin-top: 16px;
    }
    .right_text p{
        font-size: 15px;
        text-align: left;
    }
    .map > div > img{
        width: 100%;
    }
    .bg_top {
        padding: 8px 0;
    }
    .logo{
        padding-top: 52px;
    }
    .nav_menu{
        top: 52px;
    }
    .header_top{
        padding: 0 8px;
    }
    .header_top p{
        font-size: 14px;
        letter-spacing: -1px;
    }
    h6{
        font-size: 16px;
    }
    .swiper{
        padding: 8px 0;
    }
}


.hide{
    display: none;
}





