/* Medium Layout: 1280px. */

@media only screen and (min-width: 992px) and (max-width: 1200px) {}


/* Tablet Layout: 768px. */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .mainmenu-area #primary-menu > ul > li > a {
        padding: 30px 12px;
    }
    .header-area {
        /* padding-top: 200px; */
    }
    .price-table,
    .box {
        padding: 30px 15px;
    }
    .price-table.active {
        padding: 50px 15px;
    }
    .single-team {
        margin-bottom: 30px
    }
    .side-icon-boxes {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .faq-img img {
        max-width: 100%;
        z-index: 99;
        margin-left: 0px;
    }

    .font-48 h2 {
        font-size: 48px !important;
    }
    
    .rect-descr {
        background-color: rgba(255, 215, 191, 0.2);
        border-radius: 18px;
        /* height: 575px; */
        padding-left: 0px;
        /* margin-top: 220px; */
        /* margin-bottom: 24px; */
    }

    .header-text h3 {
        margin-bottom: 0px;
        font-family: 'AGLetterica Bold', 'Arial Narrow', sans-serif;
        font-size: 22px;
    }


    .one-guy img {
        max-width: 100%;
        /* overflow: hidden; */
        z-index: -1;
        /* padding-bottom: 66px; */
        margin-left: -180px;
        margin-top: -380px;
    }

    /* .header-left-bg {
        z-index: 10;
        background: url('../images/one-guy-m.png') no-repeat center / 768px auto;
    } */

    .header-left-bg {
        background: url('../images/one-guy-m.png') no-repeat 160px -100px / 560px auto;
        background-size: contain;
    }



}


/* Mobile Layout: 320px. */

@media only screen and (max-width: 767px) {
    body {
        font-size: 18px;
    }
    .header-area {
        padding-top: 0px;
        padding-bottom: 0px;
        height: auto;
    }
    .page-title h2,
    .header-text h2 {
        font-size: 24px;
    }
    .mainmenu-area .navbar-toggle {
        margin-top: 20px;
    }
    .mainmenu-area .navbar-toggle .icon-bar {
        background-color: #000000;
    }

    .mainmenu-area.affix .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }

    .mainmenu-area #primary-menu {
        background-color: #791616;
    }
    .mainmenu-area #primary-menu ul {
        overflow-y: auto;
        max-height: 70vh;
        margin: 0;
    }
    .mainmenu-area #primary-menu > ul > li > a {
        padding: 15px;
        overflow: hidden;
        color: #ffffff;
    }
    .box {
        padding: 30px 15px;
    }
    .box .box-icon {
        height: auto;
    }
    .single-blog,
    .single-team,
    .price-table.active {
        margin-top: 30px;
    }
    .form-double input {
        width: 100%;
    }
    .footer-top {
        /* margin-bottom: 50px; */
    }
    .x-left {
        text-align: left;
    }
    .mainmenu-area .logo {
        margin-left: 15px;
    }

    /** RZ */
    .header-area .rect-descr {
        height: 580px !important;
        margin-top: 0px !important;
    }

    .font-48 h2 {
        font-size: 38px;
    }

    .faq-img img {
        max-width: 100%;
        z-index: 99;
        margin-left: 0px;
    }

    .rect-descr {
        background-color: rgba(255, 215, 191, 0.2);
        border-radius: 18px;
        height: 575px;
        padding-left: 0px;
        /* margin-top: 220px; */
        /* margin-bottom: 24px; */
    }

    .one-guy img {
        max-width: 100%;
        /* overflow: hidden; */
        z-index: -1;
        /* padding-bottom: 66px; */
        margin-left: -180px;
        margin-top: -256px;
    }

    .img-center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        /* width: 50%; */
    }
    
    .logo {
        width: 100%;
    }

    .header-left-bg {
        background: url('../images/one-guy-m.png') no-repeat 0px 50px / 420px auto;
        background-size: contain;

    }

    .header-text h3 {
        margin-bottom: 0px;
        font-family: 'AGLetterica Bold', 'Arial Narrow', sans-serif;
        font-size: 22px;
    }

    .header-btn {
        /* margin-top: 80px; */
        text-align: center;
    }

    .m-text-center {
        text-align: center;
    }

    .m-bonus-text {
        padding-left: 38px;
    }

    .address {
        font-size: 13px;
    }
}


/* Wide Mobile Layout: 480px. */

@media only screen and (min-width: 480px) and (max-width: 767px) {}