/*@media only screen and (-webkit-min-device-pixel-ratio: 2) {*/
@media only screen and (max-width: 390px) {
    .float {display: none;}
    .line-vertical {display: none;}
    .line-horizontal {display: none;}
    .buttons_block {display: none;}
    .btn-corp-gallery {display: none;}
    
    div, p, svg {
        box-sizing: initial;
    }
    
    .container0 {
        width: 390px;
        margin: 0 auto;
    }
    .container0 .header {
        height: 204px;
        width: 390px;
        margin: 0 auto;
    }
    .logo {
        background-size: 195px;
        background-repeat: no-repeat;
        width: 195px;
        height: 53px;
        top: 0 !important;
        left: 0;
        position: relative;
        margin: 20px;
    }
    .container0 .header {
        height: inherit;
    }
    .container0 .header ul {
        position: relative;
        top: 0;
        margin-left: 20px;
    }
    .container0 .header ul li {
        display: block;
        margin-right: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .main {
        height: inherit;
        width: 100%;
    }
    .main h1 {
        font-size: 30px;
        text-transform: uppercase;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 20px;
    }
    .main p {
        margin-left: 20px;
        margin-right: 20px;
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 29px;
    }
    .timetable h2 {
        font-size: 30px;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 34px;
        font-weight: 400;
    }
    .mk_gallery {
        width: 390px !important;
    }
    .mk_gallery_item {
        width: 360px;
        height: 360px;
        margin: 0 15px;
    }
    .mk_img {
        height: 360px;
        width: 360px;
    }
    .inner-left {
        margin-left: 0;
        width: 390px;
        float: none;
        padding-top: 10px;
    }
    .corp-events {
        height: inherit;
    }
    .corp-events h2 {
        font-size: 30px;
        margin-left: 20px;
        margin-bottom: 30px;
    }
    .corp-events p {
        width: 350px;
        line-height: 28px;
        font-size: 18px;
        font-weight: 600;
        padding: 0 20px;
    }
    .corp-events button.more {
        width: 200px;
        margin-left: 95px;
    }
    .gallery-wrapper {
        width: 390px;
        border-radius: 0;
        float: none;
        height: inherit;
    }
    .corp-gallery {
        /*width: 390px !important;
        height: inherit;
        display: grid;*/
    }
    .corp-gallery {
        display: none;   
    }
    .corp-events button:hover {
        background-color: initial;
        border-color: transparent;
        color: #fff;
    }
    .carousel-indicators .active {
        opacity: 1;
        background-color: #fff !important;
    }
    .corp-gallery img {
        width: 390px;
        height: auto;
    }
    .gift-cards {
        background-size: 390px;
        background-position-x: 0;
        background-position-y: 0;
        padding-top: 390px;
        height: inherit;
    }
    .gift-cards h2 {
        left: 0;
        font-size: 30px;
        position: relative;
        width: 360px;
        margin-left: 30px;
        top: 0;
    }
    .gift-cards div {
        left: 0;
        top: 0;
        position: relative;
        width: 350px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .video {
        height: inherit;
    }
    .video video {
        width: 390px;
        height: auto;
    }
    .team h2 {
        margin-left: 20px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    .team .images {
        margin-left: 0;
        margin-top: 0;
    }
    .team .images div.w33 {
        width: 390px;
    }
    .courses .inner {
        width: 390px;
    }
    .courses .inner h2 {
        font-size: 30px;
        padding-left: 0;
        margin-left: 20px;
    }
    .courses .inner .course_name h3 {
        line-height: 30px;
    }
    .courses .inner .course_img {
        background-size: 390px;
        background-repeat: no-repeat;
        width: 390px;
        height: 247px;
        margin-bottom: 20px;
    }
    .courses .inner .course_img.normal {
        margin-left: 0;
    }
    .courses .inner .course_name {
        margin-left: 20px;
        margin-right: 20px;
        height: initial;
    }
    .courses .inner .course_body {
        margin-left: 20px;
        margin-right: 20px;
    }
    .courses .inner .course_program_btn, 
    .courses .inner .course_program_btn_rollback {
        margin-left: 20px;
    }
    .courses .inner button {
        margin-left: 20px;
        padding: 0 10px;
    }
    .courses .inner .course_program {
        margin-left: 20px;
    }
    .course-form {
        margin-left: 20px;
        margin-right: 20px;
    }
    .corp-events-form {
        top: 100px;
        height: 590px;
    }
    #corp_events_close, #corp_events_complete_close {
        margin-left: 20px;
    }
    .mk_wizard {
        width: 350px;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        border: 0px;
        transform: none;
        box-shadow: none;
        padding: 0px 20px;
        font-size: 12px;
    }
    .mk_wizard .mk_wizard_header div.active {
        font-size: 18px;
    }
    .mk_wizard .mk_wizard_header div {
        font-size: 18px;
    }
    .mk_wizard .mk_wizard_header svg {
        margin: 0 10px;
        padding-top: 7px;
    }
    .mk_wizard .mk_wizard_header div.close {
        position: absolute;
        top: 0;
        right: 0;
    }
    .mk_wizard .mk_wizard_header {
        padding: 10px 0;
    }
    .mk_wizard_step1_1, 
    .mk_wizard_step1_2, 
    .mk_wizard_step1_3 {
        width: 100%;
    }
    .mk_wizard_step1 p,
    .mk_wizard_step1 div,
    .mk_wizard_step1 span {
        margin: 5px 0;
        font-size: 12px;
        background: none;
        font-family: 'Open Sans', sans-serif !important;
    }
    .mk_wizard span {
        font-size: 12px;
        background-color: transparent !important;
        font-family: 'Open Sans', sans-serif !important;
    }
    .mk_wizard_step1_content,
    .mk_wizard_step2_content {
        overflow-y: scroll;
        overflow-x: clip;
    }
        .mk_wizard_step1 .mk_signup, .mk_wizard_step2 .mk_signup {
        margin: 15px auto 0 auto;
    }
    .mk_wizard_step2_1, 
    .mk_wizard_step2_2, 
    .mk_wizard_step2_3 {
        width: 100%;
    }
    .mk_wizard_step2_2 p:first-child {
        width: 250px;
    }
    #qty_down, #qty_up {
        margin-left: 0;
        margin-top: 20px;
        display: inline-block;
    }
    .prepayment {
        margin-left: 70px;
    }
    .mk_qty {
       margin-top: 20px; 
    }
    .qty_text {
        display: block;
    }
    .mk_wizard_step1 ul li {
        font-size: 12px;
    }
    
    .footer .inner {
        width: 390px;
    }
    .footer .inner h2 {
        font-size: 30px;
        margin-left: 20px;
        margin-top: 20px;
    }
    .footer .inner .contacts {
        width: 390px;
        font-size: 16px;
        height: inherit;
    }
    .footer .inner .contacts-info {
        padding: 0 20px;
        border: 0;
    }
    .footer button.how-to-get {
        width: 200px;
        margin-left: 20px;
    }
    .footer .inner .social .buttons {
        float: right;
        margin-right: 10px;
    }
    .footer .inner .social {
        width: 390px;
        height: inherit;
        text-align: right;
        margin-top: -60px;
    }
    .footer .inner .social .soc_wa,
    .footer .inner .social .soc_vk {
        margin: 0 5px;
    }
    .footer .inner .links {
        width: 390px;
        border: 0;
        padding-top: 25px;
    }
    .footer .inner .links ul {
        margin-left: 20px;
    }
    .footer .bottom {
        height: inherit;
    }
    .footer .bottom .inner {
        width: 390px;
    }
    .footer .bottom .copy {
        width: 370px;
        margin-left: 20px;
        border: 0;
        height: inherit;
        float: none;
        display: block;
    }
    .footer .bottom .copy span {
        position: relative;
    }
    .footer .bottom .mail {
        width: 390px;
        height: inherit;
        float: none;
        display: block;
    }
    .footer .bottom .mail a {
        position: relative;
        left: 0;
        margin-left: 20px;
    }
    .footer .bottom .gallery-link {
        width: 390px;
        border: 0;
        float: none;
    }
    .footer .bottom .gallery-link a {
        position: relative;
        left: 0;
        margin-left: 20px;
        top: 36px;
    }
    .footer .bottom .clear {
        height: 20px;
    }
    .corp-events-form-complete {
        top: 100px;
    }
    .course-form-complete {
        margin-left: 0;
    }
    #carouselExampleIndicators {
        top: 0;
        width: 360px;
        display: block;
    }
}

@media only screen and (max-width: 360px) {
    .container0 {
        width: 360px;
    }
    .container0 .header {
        width: 360px;
    }
    .mk_gallery {
        width: 360px !important;
    }
    .mk_gallery_item {
        width: 330px;
        height: 330px;
    }
    .mk_img {
        height: 330px;
        width: 330px;
        background-size: 330px;
    }
    .inner-left {
        width: 360px;
    }
    .gallery-wrapper {
        width: 360px;
    }
    .corp-gallery {
        /*width: 360px !important;*/
    }
    .corp-gallery img {
        width: 360px;
    }
    .corp-events p {
        width: 320px;
        line-height: 28px;
        font-size: 18px;
        font-weight: 600;
        padding: 0 20px;
    }
    .gift-cards {
        background-size: 360px;
    }
    .gift-cards div {
        left: 0;
        top: 0;
        position: relative;
        width: 320px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .gift-cards h2 {
        left: 0;
        font-size: 30px;
        position: relative;
        width: 330px;
        margin-left: 30px;
        top: 0;
    }
    .video video {
        width: 360px;
        height: auto;
    }
    .team .images div.w33 {
        width: 360px;
    }
    .courses .inner {
        width: 330px;
    }
    .courses .inner .course_img {
        background-size: 360px;
        width: 330px;
        height: 247px;
    }
    .courses .inner button {
        margin-left: 20px;
        padding: 0 10px;
        font-size: 16px;
        max-width: 320px;
    }
    .mk_wizard {
        width: 350px;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        border: 0px;
        transform: none;
        box-shadow: none;
        padding: 0px 20px;
        font-size: 12px;
    }
    .footer button.how-to-get {
        width: 170px;
        margin-left: 20px;
    }
    .footer .inner {
        width: 360px;
    }
    .footer .inner .contacts {
        width: 360px;
    }
    .footer .inner .social {
        width: 160px;
        float: right;
    }
    .footer .inner .links {
        width: 360px;
    }
    .footer .bottom .inner {
        width: 360px;
    }
    .footer .bottom .copy {
        width: 340px;
    }
    .footer .bottom .mail {
        width: 340px;
    }
    .footer .bottom .gallery-link {
        width: 340px;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    

}

@media screen and (min-width: 1890px) {
    .container0 {
        width: 1855px;
    }
    video {
        width: 1855px;
    }
}