
@media only screen and (max-width: 1100px) {

    header .rightheader a.book {
        margin-left: 27px;
        height: 50px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        width: 130px;
        text-align: center;
        font-size: 14px;
        line-height: 1.2;
    }
    header a.logo img {
        height: 70px;
    }
    header ul {
        justify-content: space-between;
        padding-left: 30px;
    }
    header ul li {
        margin: 0;
    }

}

@media only screen and (max-width: 950px) {

    .mfp-bg {
        background: #f3f3f3;
        opacity: 1;
    }
    .mfp-wrap {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    .mfp-iframe-holder {
        padding: 0;
    }
    .mfp-iframe-holder .mfp-content,
    .mfp-iframe-scaler {
        width: 100% !important;
        height: 100% !important;
        max-width: none;
    }


    header nav {
        display: none;
    }
    header .navlink {
        display: flex;
        margin-left: 30px;
    }

}

@media only screen and (max-width: 850px) {

    section.getintouch p {
        text-align: center !important;
    }
    footer .top {
        flex-wrap: wrap;
    }
    footer .top .footer_column.about {
        width: 100%;
        margin-bottom: 30px;
    }

}

@media only screen and (max-width: 768px) {

    .columns {
        column-count: 2;
    }
    h1 {
        font-size: 55px;
    }
    section.call_to_action[class*="hero"] .hero_img .wrapper h2 {
        font-size: 40px;
    }
    section {
        padding: 50px 0;
    }
    header .top .contacts p {
        display: none;
    }
    header .top .contacts p:first-child {
        display: block;
    }
    section.block .block_image {
        max-height: 400px;
        min-height: 100px;
    }
    section.block_type_courses .course,
    section.block_type_classes .class {
        margin-bottom: 50px !important;
    }

}

@media only screen and (max-width: 600px) {

    footer ul li {
        text-align: center;
    }
    footer .top .footer_column {
        padding-right: 0;
    }
    footer .top .footer_column.footernav {
        flex-grow: 1;
    }
    footer .top .footer_column.other {
        width: 100%;
        margin-top: 30px;
    }

}

@media only screen and (max-width: 550px) {

    section[class*="hero"].big_hero .hero_img {
        height: 85vh;
    }
    section[class*="hero"] p br {
        display: none !important;
    }
    .columns {
        column-count: 1;
    }
    header .rightheader a.book {
        display: none;
    }
    h1 {
        font-size: 50px;
    }
    section[class*="hero"] p {
        font-size: 22px;
    }
    section {
        padding: 40px 0;
    }
    section.intro p {
        font-size: 20px;
    }

}
