@media only screen and (min-height: 1100px) {
    .body-wrapper {
        background-size: contain;
    }
}

@media only screen and (max-width: 1300px) {
    .main-content-wrapper {
        width: 66%;
    }
}


/* Large Devices, Wide Screens */

@media only screen and (max-width: 1100px) {
    .main-content-wrapper {
        width: 63%;
    }
    .col-left {
        margin-bottom: 15px;
    }
    .col-left,
    .col-right {
        float: none;
        width: 100%;
    }
}

@media only screen and (min-width: 1023px) {
    .page-id-12 {
        background-image: none !important;
    }
}

@media only screen and (max-width: 1023px) {
    .body-wrapper {
        background-size: 60%;
    }
    footer {
        position: fixed;
        top: 0;
        background: #000;
        box-shadow: 0px 7px 7px rgba(0, 0, 0, .5);
        width: 100%;
        z-index: 9995;
    }
    .page-id-12 .container-wrapper img {
        display: none;
        visibility: none;
        overflow: hidden;
    }
    .page-id-12 .main-content-wrapper {
        width: 100%;
    }
    nav.menu-header {
        display: table;
        margin: 0 auto;
    }
    .page-menu ul li {
        float: left;
        margin: 20px;
    }
    .content-wrapper {
        display: table;
        padding-top: 50px;
    }
    .home .main-content-wrapper {
        width: 100%;
    }
    .home .main-content.mCustomScrollbar._mCS_1>div>div {
        padding: 40px 0;
        padding-top: 200px;
    }
    .main-content.mCustomScrollbar._mCS_1>div:after,
    .main-content.mCustomScrollbar._mCS_1>div:before {
        display: none;
    }
}


/* IPAD PORTRAIT */

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


/* IMALLER THAN IPAD PORTRAIT*/

@media only screen and (max-height: 775px) {
    .body-wrapper {
        background-size: contain;
    }
}


/* IMALLER THAN IPAD PORTRAIT*/

@media only screen and (max-width: 767px) {
    .main-content-wrapper {
        width: 100%;
    }
    .body-wrapper {
        background-image: none !important;
    }
    body:not(.page-id-12) .main-content-wrapper {
        margin-bottom: 300px;
    }
    body.home .main-content-wrapper {
        margin-bottom: 0px;
    }
    .page-id-12 span.gototop,
    .home span.gototop {
        display: none;
    }
    .home h1 {
        padding-top: 0px;
    }
    span.gototop {
        display: block;
        background: #fff;
        width: 40px;
        height: 40px;
        position: absolute;
        bottom: 20px;
        left: 50%;
        margin-left: -20px;
        border-radius: 50%;
        opacity: .5;
        background-position: center 7px;
        background-repeat: no-repeat;
        background-image: url(images/arrow-top.png);
    }
}


/* IPHONE 5 LAND*/

@media only screen and (max-width: 666px) {
    .section-space-top {
        padding-top: 20px;
    }
    .page-menu ul li:not(:last-child):after {
        margin-left: 3px;
    }
    .page-menu {
        left: 0;
    }
    .page-menu ul li {
        margin: 10px 0;
    }
    .page-menu a {
        font-size: 12px;
    }
    .page-menu ul li:not(:last-child):after {
        margin-left: 3px;
    }
    .home .main-content.mCustomScrollbar._mCS_1>div>div {
        padding-top: 100px;
    }
}


/* SMALLER THAN IPHONE 5 LAND */

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


/* Extra Small Devices, Phones */

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


/* Custom, iPhone Retina */

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