@media(max-width: 1420px){
    .header_controls__button{
        font-size: 11px;
        width: 100px;
        height: 90px;
        padding-top: 60px;
    }
    .header_controls__button img{
        top: 15px;
    }
}
@media(max-width: 1350px){
    /*.header_controls{*/
    /*    right: -80px;*/
    /*}*/
    .header_controls__button:hover{
        right: 70px;
    }
}
@media(max-width: 1200px) {
    .short-nav {
        display: flex;
    }
    .header_wrapper{
        position: absolute;
        width: 100%;
        overflow: auto;
        max-height: 0;
        left: 0;
        top: 100px;
        background: #fff;
        transition: max-height 0.6s ease-in-out 0s;
    }
    body.menu_shown .header_wrapper{
        max-height: calc(100vh - 72px);
    }
    .header_menu{
        padding: 30px 16px 10px;
    }
    .header_menu li{
        margin: 0 0 30px;
        display: block;
    }
    header{
        height: 72px;
    }
    header > .container{
        max-width: none;
    }
    #lang-selector{
        left: unset !important;
        right: 5rem !important;
    }
    .start{
        border-top-width: 72px;
        padding-top: 60px;
        padding-bottom: 45px !important;
        height: auto;
    }
    .icon_menu{
        display: block;
    }
    .header_controls{
        display: none;
    }
}
@media(max-width: 1199px){
    .features_item{
        padding: 5px 10px 5px 60px;
    }
    .features_item span{
        font-size: 13px !important;
    }
    .features_item img{
        transform: translate(-50%, -50%) scale(0.8);
        left: 30px;
    }
    .doctors_tabs__title span{
        font-size: 16px;
    }
    .decisions_item .simple-list{
        margin-left: -74px;
        padding-top: 20px;
    }
    .header_wrapper{
        margin-right: 1rem;
    }
    #lang-selector{
        margin-left: 0 !important;
    }
}

@media(max-width: 991px){
    html{
        font-size: 16px;
    }
    .logo-mphar,
    footer .logo-mphar{
        width: 144px;
        height: 46px;
    }
    footer .logo-mphar{
        margin-bottom: 15px;
    }
    .section-wrapper{
        padding-top: 72px;
        margin-top: -72px;
    }
    .subtitle:before{
        border-right-width: 8px;
        border-left-width: 8px;
        border-top-width: 12px;
        margin-top: -6px;
    }
    .future{
        height: auto;
        padding-top: 38px;
    }
    .future_item{
        margin-top: 30px;
    }
    .frame{
        margin-right: 0;
        margin-left: 0;
    }
    .usage_item{
        font-size: 14px !important;
    }
    .usage_item__img{
        width: 90px;
        height: 68px;
    }
    .usage_item__img img{
        transform: translate(-50%, -50%) scale(0.8);
    }
    .experience_item{
        padding-left: 75px;
        font-size: 16px;
    }
    .decisions_item{
        margin-bottom: 38px;
    }
    .features_decor,
    .meetings_decor{display: none;}
    .meetings_item{opacity: 1 !important;}
    .features_list{
        margin: 0 -24px;
    }
    .doctors_item{
        font-size: 14px;
    }
    .decisions{
        margin-top: 35px;
    }
}
@media (max-width: 767px){
    .future_item{
        width: 136px;
        height: 136px;
        font-size: 13px;
    }
    .future_item b{
        font-size: 38px;
    }
    .future_item span{
        font-size: 27px;
    }
    .accordion_title{
        line-height: 40px;
        padding-right: 32px;
    }
    .accordion_title:before{
        font-size: 40px;
        margin-right: 8px;
    }
    .accordion_title:after{
        margin-top: -10px;
        top: 20px;
        border-left-width: 20px;
        border-top-width: 13px;
        border-bottom-width: 13px;
    }
    .accordion_title span{
        width: calc(100% - 40px);
    }
    .simple-list li,
    .subtitle{
        padding-left: 22px;
    }
    .subtitle{
        font-size: 21px;
    }
    .subtitle:before{
        top: 0.6em;
    }

    .usage{
        margin: 0 -8px -20px;
    }
    .usage_item{
        width: 33.333%;
        display: inline-block;
        text-align: center;
        vertical-align: top;
        padding: 0 8px;
        margin-bottom: 30px;
        height: 95%;
    }
    .usage_item_link {
        height: 100%;
    }
    .usage_item__img{
        width: 100%;
        height: 78px;
    }
    .usage_item__img img{
        top: 75px;
        transform: translate(-50%, -100%) scale(0.8);
    }

    .doctors_item{
        padding: 0 5px;
        text-align: center;
    }
    .doctors_item__img{
        width: 100%;
        height: 68px;
        border-right: 0;
    }
    .doctors_item__text{
        height: 3.6em;
    }
    .doctors_tabs{
        margin-top: -30px;
    }

    .experience_item{
        padding-right: 15px;
    }

    .feedback--pharm .feedback_card span{
        text-align: center !important;
    }

    .meetings{
        padding-left: 0;
        padding-right: 0;
    }
    .meetings_item{
        margin-left: 20px;
        margin-right: 20px;
    }
    .features_list{
        margin: 0;
    }
    .features_item{
        opacity: 1 !important;
        margin: 0 0 15px;
    }

    .ready{
        padding-bottom: 30px;
    }
    .epilogue{
        margin-bottom: 50px;
    }

    .footer_title{
        margin-top: 16px;
    }

    .popup_window.container{
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media(max-width: 575px){
    body{
        font-size: 16px;
    }
    body.menu_shown{
        overflow: hidden;
    }
    .header_wrapper{
        height: calc(100vh - 72px);;
    }
    .section{
        padding-bottom: 5px;
        margin-bottom: calc(50vw * 0.14054); /* tan(8deg) = 0.14054 */
    }
    .accordion:before,
    .accordion:after{
        height: calc(50vw * 0.14054);
        border-top-width: calc(25vw * 0.14054);
        border-bottom-width: calc(25vw * 0.14054);
    }
    .ready_decor:before{
        transform: skewY(8deg);
    }
    .ready_decor:after {
        transform: skewY(-8deg);
    }
    .title{
        font-size: 35px;
    }
    .start{
        background-image: url(../img/bg-start_mobile.png);
        font-size: 16px;
        padding-top: 100px;
    }
    .start p{
        font-size: 20px;
    }
    .start_pointer{
        margin-top: 12px;
    }
    .intro{
        font-size: 21px;
    }
    .future_list{
        margin: 0 -15px;
    }
    .map_title{
        left: 15px;
        width: calc(100% - 70px);
        text-align: left;
    }
    .meetings{
        max-width: 210px;
        padding-top: 14px;
        margin: 0 auto;
        background: url(../img/bg-curve.png) center top / 100% auto no-repeat;
    }
    .meetings_item{
        border-radius: 40px;
        padding-top: 152%;
        font-size: 13.5px;
    }
    .meetings_item:before{
        font-size: 21px;
    }
    .meetings_item img{
        transform: translate(-50%, -50%) scale(0.7);
    }
    .doctors_item__text{
        height: 6em;
    }
    .doctors_tabs__title{
        padding-left: 84px;
        padding-right: 40px;
    }
    .doctors_tabs__title img{
        left: 42px;
    }
    .doctors_tabs__title .fas{
        right: 25px;
    }
    .decisions_item{
        font-size: 16px;
    }
    .feedback .swiper-slide{
        padding: 0 15px;
    }
    .feedback_card{
        padding: 20px 14px;
        font-size: 16px;
    }
    .feedback_author{
        margin-top: 24px;
        font-size: 18px;
    }
    .feedback--doctors .feedback_card:after{
        right: 60%;
    }
    .feedback--doctors .feedback_author{
        margin-top: 70px;
        padding-left: 0;
    }
    .downloads_item{
        margin: 0 12px 28px;
        height: 128px;
        padding-top: 75px;
        line-height: 51px;
    }
    .downloads_item img{
        top: 20px;
    }
    .downloads_item span{
        font-size: 15px;
    }
    .ready_button span,
    .epilogue{
        font-size: 21px;
    }
    .ready_button{
        height: 116px;
        line-height: 72px;
    }
    footer{
        padding: 25px 0;
    }
    .footer_title,
    footer{
        font-size: 12px;
    }
    .socials,
    .footer_menu,
    .footer_title,
    .spotify{
        padding-left: 26px;
    }
    .footer_title{
        margin-bottom: 15px;
    }
    .non-mobile {
        display: none !important;
    }
    .short-nav {
        display: flex;
    }
}

@media(max-height: 450px) and (min-height: 320px) {
    #lang-selector .x-option{
        padding: 0.15rem 0.25rem !important;
        font-size: 0.8rem !important;
    }

    #lang-selector .x-option img{
        width: 19px !important;
        height: 14px !important;
    }
}

@media(max-width: 450px){
    .short-nav > li {
        padding: 10px;
    }
}

@media(max-width: 400px){
    .short-nav {
        font-size: 14px;
    }
    #lang-selector{
        left: 60% !important;
    }
}

@media(max-width: 350px){
    .short-nav > li {
        padding: 6px;
        flex-basis: 80px;
        text-align: center;
        line-height: 20px;
    }
}

@media(max-width: 320px){
    .start{
        padding-top: 100px;
    }

    .d-mm-block{
        display: block;
    }
    .d-mm-flex{
        display: flex;
    }

}
