/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1270px) {

    .header .h__arrow {
        margin-top: 0;
        width: 50px;
        height: 50px;
        border-radius: 5px;
        line-height: 50px;
        font-size: 30px;
        top: 222px;
    }

    .header .h__arrow_prev {
        left: 50%;
        margin-left: -570px;
    }

    .header .h__arrow_next {
        right: 50%;
        margin-right: -570px;
    }

    .header .h__info {
        background: #fff0;
        padding: 20px;
    }

    .header .h__caption, .header .h__p {

    }

}

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {

    .content {
        width: 970px;
    }

    .ruk {
        flex-direction: column;
    }

    .ruk__photo {
        width: 100%;
        margin-bottom: 30px;
    }

    .ruk__text {

        width: 100%;
    }

    .header .h__left {
        width: 210px;
    }

    .header .h__right {
        width: calc(100% - 210px);
    }

    .header .h__bottom a {
        font-weight: 500;
        padding: 35px 9px;
        font-size: 13px;
    }

    .h__search {
        margin-left: 5px;
    }

    .header .hs__form {
        width: 170px;
    }

    .header .hs__input {
        width: 170px;
    }

    .header .h__icon-block {
        margin-right: 10px;
    }

    .header .h__icon-block span {
        font-size: 13px;
    }

    .header .h__arrow_prev {
        margin-left: -470px;
    }

    .header .h__arrow_next {
        margin-right: -470px;
    }

    .header .h__caption {
        font-size: 24px;
    }

    .header .h__p {
        font-size: 18px;
    }

    .header .hs__form {
        width: 180px;
    }

    .header .hs__input {
        width: 180px;
    }

    .header .h__icon-block span {
        font-size: 12px;
    }

    .header .h__phone {
        padding: 0 15px;
        font-size: 12px;
    }

    .text-content h1 {
        font-size: 22px;
    }

    .header .h__bottom nav > ul > li > a {
        padding: 38px 0px;
        font-size: 12px;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {

    .content {
        width: 750px;
    }

    .services__main-wrapper  {
        flex-direction: column;
    }

    .services__advantages {
        width: 100%;
    }

    .services__advantage {
        width: 100%;
    }

    .services-list__item, .services-list__item:nth-child(3n) {
        width: 48%;
        margin-right: 4%;
        padding: 20px;
    }

    .services-list__item:nth-child(2n) {
        margin-right: 0;
    }

    .second-header {
        height: auto;
    }

    .main-header .container, .second-header .container {
        width: 100% !important;
        padding: 0;
    }

    .main-header > .container > .row, .second-header > .container > .row {
        width: 100% !important;
        margin: 0;
    }

    .main-header > .container > .row > .col-md-12, .second-header > .container > .row > .col-md-12 {
        padding: 0;
    }

    .header .h__block {
        margin-top: 0;
    }

    .header .h__left {
        width: 100%;
        float: none;
        height: auto;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
        border: none;
        box-shadow: none;
    }

    .header .h__logo {
        max-width: 500px;
        display: block;
        margin: 0 auto;
        height: auto;
    }

    .header .h__bottom ul {
        padding: 0;
        text-align: center;
    }

    .header .h__right {
        width: 100%;
        float: none;
    }

    .header .h__slider {
        position: relative;
        left: auto;
        top: auto;
    }

    .header .h__info {
        margin-top: 0;
        background-color: transparent;
        padding: 60px;
    }

    .header .h__caption, .header .h__p {

    }

    .header .h__arrow {
        top: 50%;
        margin-top: -20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
    }

    .header .h__arrow_prev {
        margin-left: 0;
        left: 5px;
    }

    .header .h__arrow_next {
        margin-right: 0;
        right: 5px;
    }

    .main-header {
        overflow: visible;
        z-index: 111;
        position: relative;
    }

    .second-header {
        height: auto;
        position: relative;
        z-index: 111;
    }

    .header .h__block {
        overflow: visible;
        padding-top: 50px;
    }

    .header .h__logo {

    }

    .header .h__logo img {
        width: 200px;
        margin-top: 0;
    }

    .header .h__top {
        height: auto;
    }

    .header .h__right {
        height: auto;
    }

    .header .h__phone {
        position: absolute;
        right: 5px;
        top: 15px;
        background: transparent;
        color: #333;
        padding: 0;
        width: auto;
    }

    .header .h__phone span a {
        color: #34373b;
        line-height: 20px;
        font-size: 16px;
        padding: 0;
        display: inline-block;
    }

    .header .h__phone i {
        font-size: 17px;
    }

    .header .h__bottom {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        height: 50px;
        box-shadow: 1px 3px 2px #00000026;
    }

    .header .hb__burger {
        display: block;
        margin: 0 auto;
        position: absolute;
        top: -4px;
        left: 7px;
    }

    .header .h__bottom nav {
        display: none;
        top: 50px;
        left: 0;
        width: 100%;
        background: #f7f7f7;
        box-shadow: -1px 3px 5px 0 rgba(0, 0, 0, .15);
        border-top: 1px solid #cdcdce;
        padding: 10px 0;
        position: fixed;
    }

    .header .h__bottom nav > ul {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-y: scroll;
    }

    .header .h__bottom nav > ul > li {
        display: block;
    }

    .header .h__bottom nav > ul > li > a {
        display: block;
        padding: 11px;
    }

    .header .h__bottom nav > ul > li > ul {
        display: none !important;
    }

    .header .h__icon-block span {
        font-size: 14px;
    }

    .header .h__icon-block span.h__line {
        display: block;
        line-height: 1;
        width: 100%;
        text-align: right;
        margin-bottom: 5px;
    }

    .header .h__slider {
        overflow: hidden;
    }

    .header .h__slide {
        overflow: hidden;
    }

    .header .h__img {
        width: 740px;
        height: 270px;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -370px;
    }

    .header .h__info {
        padding: 20px 30px;
    }

    .header .h__caption {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .header .h__p {
        font-size: 16px;
        line-height: 1.3;
    }

    .header .h__arrow {
        top: 50%;
        margin-top: -20px;
        width: 20px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
        border-radius: 0;
    }

    .header .h__arrow_prev {
        left: 0;
    }

    .header .h__arrow_next {
        right: 0;
    }

    .contuct-us .cu__block i {
        width: 25%;
    }

    .contuct-us .cu__text {
        width: 75%;
    }

    .services .s__nav {

    }

    .services .s__nav > ul {
        margin-bottom: 40px;
    }

    .services .s__nav > ul > li {
        display: inline-block;
    }

    .services .s__nav > ul > li::before {
        display: none;
    }

    .services .s__nav > ul > li.current-menu-item, .services .s__nav > ul > li.current-menu-parent {
        display: block;
    }

    .services .s__nav > ul > li.current-menu-parent > a {
        background-color: #fff;
    }

    .services .s__nav > ul > li > a {

    }

    .services .s__nav > ul > li > ul {
        background-color: #fff;
    }

    .services .s__nav > ul > li > ul > li {

    }

    .services .s__nav > ul > li > ul > li > a {

    }

    .services .s__img {

    }

    .services .s__block {
        float: none;
        width: 100%;
    }

    .services .s__ul {
        float: none;
        width: 100%;
    }

    .services__main-cover {
        background-position: center right;
    }

    .services .s__ask {
        max-width: 400px;
        margin: 0 auto 20px;
    }

    .services .s__price {
        float: none;
        text-align: center;
    }

    .services .sp__img {
        width: 300px;
        margin: 0 auto 20px;
    }

    .services .sp__right {
        float: none;
        margin: 0;
        width: 100%;
    }

    .services__advantages {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30%;
    }

    .services__advantage {
        font-size: 18px;
        line-height: 1.5;
        width: 100%;
    }

    .footer {
        height: auto;
        padding-bottom: 50px;
    }

    .generator-clients__wrapper {
        height: auto;
    }

    .generator-clients__image {
        width: 100%;
        height: 300px;
        display: block;
        float: none;
    }

    .generator-clients__term {
        width: 100%;
        height: auto;
        display: block;
        float: none;
    }

    .gotopersonal {
        top: auto;
        bottom: 0px;
    }

    .images-kuzov__img {
        height: 150px;
    }


    .zap__wrapper {
        padding: 0;
        width: 100%;
    }

    .zap__wrapper::after {
        display: none;
    }

    .header .h__top .text-elem {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {

    .content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .photo__block {
        width: 48%;
    }

    .politic__p label {
        color:#fff;
    }

    .politic__p a {
        color:#fff;
    }

    .feed__blocks {
        flex-direction: column;
    }

    .price__block {
        width: 100%;
        font-size: 16px;
    }

    .services .s__ask {
        background: #ffffff47;
        background: #353535c7;
    }

    .services .politic .p__p {
        color:#fff;
    }

    .services__main-wrapper label span {
        color:#fff;
    }

    .services .sa__caption {
        color:#fff;
    }

    .main-header {
        background: #888;
    }

    .utp {
        padding: 20px 0;
        margin-bottom: 0;
    }

    .utp .u__block {
        border-right: 0;
        text-align: center;
        padding: 10px 0;
        max-width: 300px;
    }

    .utp .u__text {
        width: 250px;
        text-align: left;
    }

    .certificates .c__img {
        max-width: 300px;
        display: block;
        margin: 0 auto 30px;
    }

    .sale {
        text-align: center;
    }

    .sale .s__left {
        margin-bottom: 20px;
    }

    .sale .s__button {
        float: none;
    }

    .contuct-us .cu__block i {
        width: 60px;
    }

    .contuct-us .cu__text {
        width: 350px;
    }

    .contuct-us .cu__calendar {
        margin-bottom: 30px;
    }

    .services__main-cover {
        /* background: #444 !important; */
        padding-bottom: 20px;
        background-position: center center;

    }

    .services .s__ask {
        margin: 0 auto 20px;
    }

    .services .s__nav > ul > li > a {
        padding: 8px;
    }

    .services .sp__photos {

    }

    .services .s__mobile {
        display: block;
        position: relative;
        background: #ffffff linear-gradient(to bottom, #ffffff, #ededed);
        height: 60px;
    }

    .services .hb__burger {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }

    .services .s__mobile span {
        margin-left: 70px;
        display: inline-block;
        line-height: 60px;
        font-size: 18px;
    }

    .services .s__nav {
        display: none;
    }

    .services .s__ul > li {
        float: none;
        display: inline-block;
        height: auto;
        width: auto;
        margin-right: 20px;
    }

    .services__list {
        float: none;
    }

    .services__advantages {
        padding-left: 20px;
    }

    .marki {
        margin-bottom: 0;
    }

    .marka .mm__button {
        padding: 5px 10px;
    }

    .modal-dialog .ms__button {
        width: 100%;
    }

    .table-overflow {
        width: 100%;
        overflow-x: scroll;
    }

    .table-mobile-wide {
        width: 100% !important;
    }

    .breadcrumbs a, .breadcrumbs span {
        font-size: 12px;
    }

    .copy {
        text-align: center;
        margin-bottom: 46px;
    }

    .copy .c__dev, .copy .c__year {
        float: none;
    }

    .copy .c__dev {
        text-decoration: underline;
    }

    .process__href {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .process__elem {
        display: block;
        margin-bottom: 30px;
    }

    .process__img {
        max-height: 300px;
    }

    .process__text {
        width: 100%;
        text-align: center;
    }

    .auto-remont {
        background: url(../img/price-auto_mob.png) no-repeat top center;
    }

    .auto-color {
        background: url(../img/price-auto_mob.png) no-repeat top center;
    }

    .auto {
        width: 345px;
    }

    .dot1 {
        bottom: 100px;
        left: 20px;
    }

    .dot2 {
        bottom: 122px;
        left: 45px;
    }

    .dot3 {
        bottom: 160px;
        left: 50px;
    }

    .dot4 {
        bottom: 170px;
        left: 140px;
    }

    .dot5 {
        bottom: 110px;
        left: 120px;
    }

    .dot6 {
        bottom: 75px;
        left: 185px;
    }

    .dot7 {
        bottom: 162px;
        left: 200px;
    }

    .dot8 {
        bottom: 138px;
        left: 220px;
    }

    .dot9 {
        bottom: 115px;
        left: 245px;
    }

    .dot10 {
        bottom: 130px;
        left: 275px;
    }

    .dot11 {
        bottom: 90px;
        left: 316px;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width: 600px) {

    .photo__block._fixed {
        height: 200px;
    }

    .services-list__item, .services-list__item:nth-child(2n), .services-list__item:nth-child(3n) {
        width: 100%;
        margin-right: 0;
        font-size: 14px;
    }

    .header .h__search {
        width: 100%;
        display: block;
        float: none;
        margin: 0 auto;
        padding: 16px 20px 0;
    }

    .h__search .hs__form {
        width: 100%;
    }

    .h__search .hs__input {
        width: 100%;
    }

    .callback-bt {
        width: 48%;
        right: auto;
        left: 1%;
        height: 40px;
        -webkit-animation: none;
        animation: none;
        border: none;
        padding-top: 2px;
        border-radius: 8px;
        bottom: 3px;
        z-index: 11;
        box-shadow: none;
    }

    .callback-bt:hover {

    }

    .callback-bt i {
        display: none;
    }

    .callback-bt .text-call {
        height: 100%;
        width: 100%;
        overflow: visible;
        border-radius: 0;
    }

    .callback-bt .text-call span {
        display: block;
        position: initial;
        color: #fff;
        opacity: 1;
        right: 0;
        top: 0;
        font-size: 13px;
        border-radius: 0;
        line-height: 17px;
        margin-top: 0px;
        font-weight: 400;
    }

    .button-whatsapp {
        display: block;
        width: 48%;
        left: auto;
        right: 1%;
        height: 40px;
        -webkit-animation: none;
        animation: none;
        border: none;
        padding-top: 2px;
        border-radius: 8px;
        bottom: 3px;
        z-index: 11;
        color: #fff;
        box-shadow: none;
        text-transform: uppercase;
        background: #13990b;
        position: fixed;
        text-align: center;
        line-height: 1.3;
    }

    .button-whatsapp:hover {
        text-decoration: none;
        color: #fff;
    }

    .bottom-cover {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 46px;
        background: #eee;
        z-index: 10;
    }

    .images-kuzov__img {
        height: 150px;
        width: 40%;
        margin: 0 5px 10px;
    }

    .attention-section {
        padding: 10px;
        background: #eee;
        margin-top: 50px;
    }

    .attention-section::after {
        display: none;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .photo__block._fixed {
        height: 150px;
        margin-bottom: 5px;
    }

    .header .h__form {
        width: 100%;
    }

    .sect-price__table {
        width: 330px;
    }

    .sect-price__table tr {
        font-size: 14px;
    }

    .services h1#h1-main {
        font-size: 24px;
        padding: 5px;
    }

    .s__under-h2 {
        font-size: 18px;
    }

    .breadcrumbs a, .breadcrumbs span {
        font-size: 11px;
        text-transform: none;
    }

    #map_canvas, #map_canvas2 {
        height: 250px;
    }

    .services__advantage {
        font-size: 14px;
        line-height: 1.5;
        width: 100%;
    }

    .services .s__price {
        margin-top: 0;
    }

    .services .sp__caption {
        font-size: 16px;
    }

    .h2 {
        margin-bottom: 30px;
    }

    .certificates {
        margin: 30px 0;
    }

    .photos {
        margin: 30px 0;
    }

    .marka-online {
        padding: 30px 0;
    }

    .map {
        padding: 30px 0;
    }

    .map .h2 {
        font-size: 16px;
    }

    .app {
        padding: 30px 0;
    }

    .politic .p__p {
        font-size: 12px;
    }

    a.insta-sign {
        top: auto;
        bottom: 55px;
    }

    a.insta-sign:hover {
        transform: translateX(330px);
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 360px) {

    .header .h__time, .header .h__email {
        display: none;
    }

    .header .h__search {
        padding-bottom: 16px;
    }

    .header .h__caption {
        font-size: 18px;
    }

    .header .h__p {
        font-size: 14px;
    }

    .utp .u__text {
        text-align: center;
    }

    .h2 {
        font-size: 22px;
    }

    .certificates .c__arrows, .testimonials .t__arrows {
        float: right;
        position: relative;
        z-index: 2;
        background-color: #eee;
        padding-left: 0px;
        margin-top: 13px;
    }

    .services .sp__img {
        width: 100%;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {

    .main-screen {
        background-size: contain;
        background-position: center center;
    }

    .main-screen__h1 {
        font-size: 61px;
    }

    .main-screen__bottom {
        padding-top: 80px;
    }

    .main-screen__text1 {
        font-size: 25px;
    }

    .price-block table {
        width: 100%;
    }

    .h2._new, .marka-online._black .h2 {
        font-size: 33px;
    }


}

/* Large Devices, Wide Screens */
@media only screen and (max-width: 992px) {

    .main-screen__h1 {
        font-size: 53px;
    }

    .main-screen__right .span1 {
        font-size: 23px;
    }

    .main-screen__text1 {
        font-size: 20px;
    }

    .main-header {
        height: auto !important;
    }

    .h2._new, .marka-online._black .h2 {
        font-size: 27px;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {

    .content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-screen {
        background-position: center 50px;
    }

    .main-screen__left {
        max-width: 370px;
        margin: 0 auto;
        padding: 0 0 100px 0;
        font-size: 41px;
    }

    .main-screen__right {
        max-width: 370px;
        margin: 0 auto;
        padding: 0;
    }

    .main-screen__h1 {
        font-size: 41px;
    }

    .main-screen__h1 .span1, .main-screen__h1 .span2 {
        padding-left: 0;
        text-align: center;
        font-weight: 700;
    }

    .main-screen__bottom {
        padding-top: 200px;
        flex-direction: column;
    }

    .main-screen__text1 .span3, .main-screen__text1 .span2 {
        display: inline;
    }

    .main-screen__button {
        width: 100%;
        text-align: center;
    }

    .main-header {
        background: #888;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width: 480px) {

    .main-screen__h1 {
        font-size: 31px;
    }

    .main-screen__bottom {
        padding-top: 120px;
    }

    .main-screen__left {
        padding-bottom: 50px;
    }

    .h2._new, .marka-online._black .h2 {
        font-size: 23px;
        font-weight: 700;
    }

    .price-block {
        padding: 0;
        box-shadow: none;
        font-size: 13px;
    }

    .price-block td {

    }

    .auto {
        width: 100%;
    }

}