@media only screen and (max-width: 1200px) {
    .menu li {
        margin-right: 18px;
    }
    .header_main .btn {
        margin-top: 170px;
    }
    header {
        min-height: 750px;
    }
    .s_how .items {
        margin-left: -30px;
    }
    .s_how .how1 h3,
    .s_how .how2 h3,
    .s_how .how3 h3 {
        font-size: 32px;
    }
    .s_projects .item .img {
        margin-left: 40px;
    }
    .s_services .item {
        width: 233px;
    }
    .s_services .item.w {
        width: 315px;
    }
    .s_trust .item {
        width: 160px;
    }
}

@media only screen and (max-width: 991px) {
    h1 {
        text-align: center;
        font-size: 38px;
    }
    h1 span {
        font-size: 40px;
    }
    h2 {
        font-size: 30px;
    }
    .s_audit input:not(.btn) {
        width: 100%;
        max-width: 340px;
    }
    .header_top {
        background-image: none;
        background-color: #191919;
    }
    .menu_small {
        display: block;
    }
    .menu {
        display: none;
        line-height: 25px;
        position: absolute;
        right: -10px;
        top: 45px;
        background-color: #191919;
        box-shadow: -2px 5px 15px rgba(0, 0, 0, 0.6);
        padding: 10px 0;
        z-index: 99;
    }
    .footer_top {
        background-image: none;
        background-color: #242424;
        padding-bottom: 20px;
    }
    footer .menu {
        top: -175px;
    }
    header {
        background-image: url(../img/bg/mobile/bg_header.png);
        background-attachment: scroll;
        background-position: center top!important;
    }
    .header_main {
        background-image: url(../img/bg/mobile/bg_header.png);
        -webkit-background-size: cover;
        background-size: cover;
        background-position: center top;
    }
    .menu li {
        margin: 0!important;
        display: block;
        text-align: center;
    }
    .menu a {
        display: block;
        padding: 0 20px;
    }
    .menu a:hover {
        border-color: transparent;
    }
    .header_main .btn {
        margin-top: 150px;
    }
    .s_how .how.how1,
    .s_how .how.how2,
    .s_how .how.how3 {
        text-align: center;
        height: auto;
        background-color: #242424;
    }
    .s_how .how.how1 .items,
    .s_how .how.how2 .items,
    .s_how .how.how3 .items {
        margin: 20px 0 0;
    }
    .s_how .how.how1 h3,
    .s_how .how.how2 h3,
    .s_how .how.how3 h3 {
        margin: 0;
        padding: 100px 0;
        font-size: 30px;
    }
    .s_how .how {
        background-image: none;
        margin-bottom: 0;
        padding-bottom: 30px;
    }
    .s_how .how .items {
        background-color: transparent;
    }
    .s_how .how .bg_mobile {
        -webkit-background-size: cover;
        background-size: cover;
        background-position: center top;
    }
    .s_how .how1 .bg_mobile {
        background-image: url(../img/bg/mobile/bg_how1.png);
    }
    .s_how .how2 .bg_mobile {
        background-image: url(../img/bg/mobile/bg_how2.png);
    }
    .s_how .how3 .bg_mobile {
        background-image: url(../img/bg/mobile/bg_how3.png);
    }
    .s_certified h2 br,
    .s_result h2 br {
        display: none;
    }
    .s_result table {
        font-size: 16px;
    }
    .s_result table br {
        display: none;
    }
    .s_projects .item {
        text-align: center;
    }
    .s_projects .item .img {
        margin: 0 auto;
        float: none;
    }
    .s_projects .item .result {
        margin: 30px auto 0;
        float: none;
        background-image: none;
        border: 2px dashed #eca62d;
        border-radius: 15px;
        padding: 10px 15px 20px;
        height: auto;
    }
    form {
        background-image: none;
    }
    input:not(.btn) {
        display: block;
        margin: 0 auto 15px;
    }
    input.btn {
        margin-top: 10px;
    }
    .s_audit .left,
    .s_audit .right {
        padding: 25px 40px;
        font-size: 16px;
    }
    .s_audit .left {
        padding-right: 120px;
    }
    .s_audit .left span {
        font-size: 160px;
        right: 30px;
    }
    .s_audit .left::before {
        top: 20px;
    }
    .s_services .bg {
        background-color: transparent;
    }
    .s_services .item {
        padding-top: 110px!important;
        width: 186px!important;
        height: 224px!important;
        margin: 0 2px 8px;
    }
    .s_trust .item {
        width: 180px;
    }
    .s_contacts .wrap {
        max-width: 350px;
    }
    .pg-canvas {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 34px;
        letter-spacing: 0;
    }
    h1 span {
        font-size: 36px;
        display: inline;
    }
    h2 {
        font-size: 28px;
    }
    .btn {
        font-size: 22px;
        letter-spacing: 0;
        padding: 13px 30px;
    }
    .logo {
        font-size: 14px;
        -webkit-background-size: 240px;
        background-size: 240px;
        padding: 30px 0 0 60px;
        margin-top: 5px;
        letter-spacing: 0;
    }
    .callback {
        margin-top: 0;
    }
    .callback .phone {
        font-size: 22px;
    }
    .callback .fancybox {
        font-size: 16px;
    }
    header {
        min-height: 1px;
    }
    .header_main {
        padding: 90px 0 130px;
    }
    .header_main .btn {
        margin-top: 110px;
    }
    .s_how .item {
        padding-top: 110px!important;
        width: 186px!important;
        height: 224px!important;
    }
    .s_how .how1 h3,
    .s_how .how2 h3,
    .s_how .how3 h3 {
        font-size: 28px;
    }
    .s_certified .item {
        margin: 30px 20px;
    }
    .s_result table {
        font-size: 14px;
    }
    .s_result table .w {
        width: 65%;
    }
    .s_result .wrap {
        padding: 0 5px 10px;
    }
    .s_result table tr span {
        font-size: 20px;
    }
    .s_result table tr {
        height: 55px;
    }
    .s_result {
        padding: 60px 0;
    }
    .s_projects .item {
        padding: 0 5px;
    }
    .s_projects .item h3,
    .s_projects .item .link {
        font-size: 22px;
    }
    .s_projects {
        padding: 50px 0;
    }
    .s_projects .carousel {
        padding-bottom: 70px;
    }
    .s_form.form1,
    .s_form.form2 {
        padding: 60px 0;
    }
    .s_audit .left,
    .s_audit .right {
        text-align: center;
        padding: 20px;
        height: auto;
    }
    .s_audit .right ul {
        display: inline-block;
        text-align: left;
    }
    .s_audit .left span {
        display: none;
    }
    .s_audit .left p {
        margin: 15px 0;
    }
    .s_audit .left::before {
        top: auto;
        right: auto;
        bottom: -30px;
        left: 50%;
        margin-left: -10px;
        border: 10px solid transparent;
        border-top: 20px solid #fff;
    }
    .s_audit .right {
        padding-top: 40px;
    }
    .s_audit form {
        margin-top: 40px;
    }
    .s_audit {
        padding: 50px 0;
    }
    .s_trust .item {
        height: 150px;
        line-height: 150px;
        padding: 0 20px;
    }
    .s_trust {
        padding: 50px 0;
    }
    .s_contacts .wrap {
        margin: 50px auto;
    }
    .s_contacts {
        height: auto;
    }
    #map {
        position: relative;
        height: 500px;
    }
    h2.bg_line {
        padding-bottom: 15px;
    }
    h2.bg_line::before {
        height: 2px;
        width: 180px;
        margin-left: -90px;
    }
}

@media only screen and (max-width: 600px) {
    h1, h1 span {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    body {
        font-size: 16px;
    }
    .logo {
        font-size: 11px;
        -webkit-background-size: 200px;
        background-size: 200px;
        padding: 23px 0 0 55px;
    }
    .callback .phone {
        font-size: 20px;
    }
    .callback .fancybox {
        font-size: 14px;
    }
    .s_how .how2 h3 {
        font-size: 28px;
    }
    .s_certified .wrap {
        margin: 40px 0 10px;
    }
    .s_certified .item {
        margin: 0;
    }
    .s_result table {
        font-size: 13px;
        line-height: 1.2em;
    }
    .s_result table tr span {
        font-size: 18px;
    }
    .s_projects .item h3,
    .s_projects .item .link {
        font-size: 20px;
    }
    .s_projects .item p {
        font-size: 16px;
    }
    .s_trust .item {
        width: 155px;
        line-height: 100px;
        height: auto;
    }
    #map {
        height: 400px;
    }
    h2.bg_line::before {
        width: 150px;
        margin-left: -75px;
    }
}

@media only screen and (max-width: 480px) {
    h1, h1 span {
        font-size: 22px;
    }
    h2 {
        font-size: 20px;
    }
    .btn {
        font-size: 20px;
    }
    .logo {
        font-size: 10px;
        -webkit-background-size: 170px;
        background-size: 170px;
        padding: 20px 0 0 45px;
    }
    .callback .phone {
        font-size: 15px;
        letter-spacing: -.3px;
    }
    .callback .fancybox {
        font-size: 12px;
        letter-spacing: -.5px;
    }
    .s_how .item,
    .s_services .item {
        padding: 100px 5px 0!important;
        width: 140px!important;
        height: 190px!important;
        font-size: 14px;
        line-height: 1.2em;
        margin: 0 2px 8px;
    }
    .s_how .how2 h3 {
        font-size: 25px;
    }
    .s_result table {
        font-size: 12px;
    }
    .s_result table tr span {
        font-size: 16px;
    }
    .s_projects .item .img {
        width: 300px;
        height: 166px;
    }
    .s_projects .item .img img {
        width: 205px;
        height: 114px;
    }
    .prev_button {
        left: 0;
        margin-left: 0;
    }
    .next_button {
        right: 0;
        margin-right: 0;
    }
    .s_trust .item {
        width: 150px;
    }
    h2.bg_line::before {
        width: 130px;
        margin-left: -65px;
    }
    .fancybox-close {
        top: 5px;
        right: 5px;
    }
    .fancybox-close {
        width: 30px;
        height: 30px;
    }
    .popup {
        padding: 40px 10px;
        width: auto;
        width: 300px;
    }
    .popup h2 {
        font-size: 18px;
    }
    .popup h2 span {
        font-size: 22px;
    }
    .popup input {
        height: 40px;
    }
    .popup input.btn {
        height: 50px;
        font-size: 16px;
        margin-top: 5px;
    }
    .popup .security {
        font-size: 14px;
        margin-top: 15px;
    }
    .header_main {
        background-image: url(../img/bg/mobile/bg_header_320.png);
    }
    .s_projects .item .result {
        width: auto;
    }
}

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

@media only screen and (max-width: 768px) {
    .portfolio-grid.owl-carousel .owl-nav button.owl-prev {
        left: -15px
    }
    .portfolio-grid.owl-carousel .owl-nav button.owl-next {
        right: -15px
    }
    .s_projects .portfolio-grid {
        padding: 0 30px
    }
}

@media (max-width: 767px) {
    .clients li {
        margin-bottom: 20px;
        width: 100%;
        float: none;
    }
    .clients li img {
        opacity: 1;
    }
}

@media only screen and (min-width: 992px) {
    .container {
        padding: 0;
    }
    .menu {
        display: block !important;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        width: 1000px;
        padding: 0;
    }
}

@media only screen and (min-width: 1400px) {
    .s_projects .item .result {
        margin-right: 10px;
    }
}