/* Custom, iPhone Retina */
@media only screen
and (min-width: 320px)
and (max-width: 480px) {
}

@media only screen
and (min-width: 320px)
and (max-width: 480px)
and (orientation: portrait) {
}

@media only screen
and (min-width: 320px)
and (max-width: 480px)
and (orientation: landscape) {
}

/*iPhone 5 hack*/
@media only screen and (max-width: 568px) {
}

/*720P and + display hack*/
@media only screen and (max-width: 767px) {
    header .form-group .form-control,  header .form-group {
        max-width: 250px;
    }
    header .form-inline .form-group button.btn-primary, header .form-inline .form-group input.form-control {
        float: left;
    }

    .header-detailing-lst > li {
        text-align: center;
    }

    .left-menu{
        /* width: 133px; */
        float: left;
    }

    header .form-inline .form-group button.btn-primary {
        margin-left: 10px;
    }
    .top-search-form {
        top: 54px;
        position: absolute;
    }
    .subgroupsmainpage {
        list-style: none;
        columns: 1;
    }

    .menu-main li > a:hover, .menu-main li > a:focus, .menu-main li > a:active, .menu-main li.active > a, #menuMain li.active a {
        color: #fff;
        background: #dd127b;
        border-color: #ffffff;
    }

    #menuMain span.menu-ico{
        display: none;
    }

    .row{
        margin: 0 -5px;
    }
    .col-xs-6, .col-xs-12 {
        padding: 0 5px;

    }
    .menu-main {
        padding-left: 0;
        margin-left: 0;
    }
    .installphones {
        margin: 10px 0 0px 55px;
    }

    .header-logo {
        width: 70%;
        max-width: 400px;
        margin-top: 20px;
    }

    .header-soc img {
        width: 26px;
        height: 26px;
    }

    .mobile-phone-button {
        display: block;
        z-index: 88;
       /* width: 130px; */
        border: 1px solid #dd127b;
        border-radius: 5px;
        padding: 3px 6px;
        font-weight: bold;
        color: #dd127b;
        float: right;
        line-height: 31px;
        margin:4px 15px 0 0;

    }


    .mobile-phone-button img{
        width: 30px;
    }

    .installphones div {
        margin-top: 10px;
    }

    .header-link-ico-margin {
        margin: 0 2px 0 56px;
    }

    .header-h {
        font-size: 16px;
        /*margin-left: 94px;*/
    }

    .header-h-margin {
        margin: 10px 0 0 40px;
    }

    .head-info {
        text-align: right;
        display: none;
    }

    .header-link-ico, .header-link-ico img {
        height: 26px;
        width: 26px;
    }

    .header-phone {
        font-size: 17px;
    }

    .navbar-main {
        margin: 0 0 0;
    }

    .menu-main li {
        display: block;
        border-bottom: 1px solid #ddd;
    }


    .menu-main li > a {
        display: block;
        padding: 15px 10px;
        font-size: 15px;
        text-transform: uppercase;
    }

    .fotorama.custom .fotorama__caption__wrap {
        opacity: 1;
        padding: 0px 10px 3px;
    }

    .fotorama.custom .fotorama__caption__wrap h4 {
        font-size: 11px;
        font-weight: normal;
        letter-spacing: 0.02em;
    }

    .fotorama.custom .fotorama__caption__wrap small {
        display: none;
    }

    #table-scroll {
        width: 100%;
        height: auto;
        overflow: auto;
    }

    .navbar-header {
        text-align: center;
    }
    .navbar-toggle {
        float: left;
        margin: 4px 0 0 20px;
    }

    .left-menu .h3{
        display: none;
    }
    .marki-menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 8;
        background: #fff;
    }

    .burger {
        width: auto;
        border: 1px solid gray;
        border-radius: 3px;
        float: left;
        padding: 10px;
    }

    .burger span {
        display: block;
        border-top: 2px solid gray;
        padding: 2px 0;
        width: 20px;
    }

    .open-left-menu {
        margin-top: 20px;
        display: block;
        width: 100%;
        height: 60px;
    }
}


@media (max-width: 768px) {

}


@media only screen
and (min-width: 768px)
and (max-width: 1000px){
    .installphones {
        margin-left:72px;
    }

    .header-h {
        font-size: 15px;
    }

    .header-phone {
        font-size: 19px;
    }

    /*
    header>.container>.row>.col-sm-6 {
        display: block;
        width: 40%;
    }
    */

    header>.container>.row>.col-sm-3:last-child {
        display: block;
        width: 34%;
    }
    header>.container>.row>.col-sm-3:last-child form{
        margin-top: 10px;
    }
    header>.container>.row>.col-sm-3:last-child form button{
        margin: 10px 10px 0 0;
    }
    header .hidden-sm {
        display: block !important;
    }

    #menuMain .menu-main li > a {
        padding: 18px  5px;
        font-size: 12px;
    }

    #slideshow0 .slideshow-main__text {
        top: 20px;
    }

    #slideshow0 .slideshow-main__text .slideshow-main__title {
        font-size: 18pt;
    }

    html {
        overflow-x: hidden;
    }
}

@media only screen
and (min-width: 1000px)
and (max-width: 1024px)
{
    header .header-h{
        margin: 0 0 0 94px;
    }

    header .header-h-margin {
        margin: 0 0 0 44px;
    }


    header .header-link-ico-margin {
        margin: 0 0 0 62px;
    }

    .header-phone {
        font-size: 16px;
    }

    .header-link-ico {
        width: 24px;
        height: 24px;
    }

    header>.container>.row>.col-sm-3:last-child form input{
        width: 145px;
    }
    .imgcategory .col-md-3 {
        width: calc(100%/3);
    }

    .pageheader h1 {
        font-size: 38px;
    }

    .cta-bottom__info .soc_icon img {
        height: 44px;
    }

    .form-embed__title {
        font-size: 17px;
        font-family: 'Open Sans';
    }
}

@media only screen
and (min-width: 768px)
and (max-width: 1024px)
{
    .header-h {
        margin: 0;
        text-align: center;
    }
}

@media only screen
and (min-width: 1024px)
and (max-width: 1280px)
{
    .header-phone {
        font-size: 17px;
    }

    .slideshow-main__text {
        top: 130px;
    }

    .headershopphones {
        margin-top: -11px;
    }

    .headershopphones>div:last-child {
        margin-top: -3px;
    }

}

@media only screen
and (min-width: 1000px)
and (max-width: 1200px)
{
    .header-phone {
        font-size: 17px;
    }

    .slideshow-main__text {
        top: 130px;
    }

    .headershopphones {
        margin-top: -11px;
    }

    .headershopphones>div:last-child {
        margin-top: -3px;
    }

    .header-h {
        margin: 0 0 0 84px;
        font-size: 16px;
    }

    .header-h-margin {
        margin: 0 0 0 0;
    }

    .headerform {
        display: flex;
        padding: 0 0 0 0;
    }

    .header-info>.address {
        padding: 0 0 10px 0;
        margin-top: -10px;
    }
    .header-link-ico {
        display: none;

    }
}

/* Medium Devices, Desktops */
@media only screen
and (min-width: 768px)
and (max-width: 1000px){
    h1 {
        font-size: 30px;
    }

    .page-header {
        margin-top: 0;
    }

    .visual-service__description {
        width: 49%;
        float: left;
        margin-top: 15px;
    }

    .visual-service__form {
        position: absolute;
        right: -10px;
        bottom: -200px;
        width: 49%;
    }

    .service__box {
        padding: 0 10px 20px;
    }

    .service__box .fotorama {
        margin: 0;
    }

    .margin-top-md-100 {
        margin-top: 0;
    }

    .header-h {
        font-size: 16px;
    }

    .header-link-ico {
        display: inline-block;
        width: 23px;
        height: 23px;
    }

    .header-link-ico-margin {
        margin-left: 58px;
    }

    .installphones {
        margin: 0;
    }

    .head-info > .address .iconround {
        margin: 0;
    }

    header>.container {
        padding: 20px;
    }

    .head-info > .address {
        padding-top: 0;
    }

    .headerform {
        position: relative;
        top: -10px;
    }

    .header-h-margin {
        margin: 0 0 0 35px;
        text-align: left;
    }

    .header-detailing-lst > li {
        text-align: center;
    }
}


@media only screen and (max-width: 1200px) {
    .services-list__carousel {
        margin-left: 50px;
        margin-right: 50px;
    }

    .services-list__carousel .slick-prev, .services-list__carousel .slick-next {
        top: 40%;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1320px) {

}


/* Large Devices, Wide Screens */
@media only screen and (max-width: 1600px) {
    .showcase-folio__carousel .car-products__price {
        font-size: 15px;
    }
}


@media only screen
and (min-width: 768px) {
    .menu-main li > a:hover, .menu-main li > a:focus, .menu-main li > a:active, .menu-main li.active > a, #menuMain li.active a {
        color: #fff;
        background: #dd127b;
        border-color: #ffffff;
    }

    #menuMain span.menu-ico{
        display: none;
    }


    .navbar-main {
        border: none;
        background: #efefef;
    }

    #menuMain {
        text-align: center;
        max-height: 48px !important;
    }

    .menu-main {
        display: inline-block;
        padding: 0;
        margin: 0;
    }

    .menu-main li {
        display: inline-block;
        float: left;
    }

    .menu-main li > a {
        display: block;
        padding: 10px 13px;

        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 0.02em;
        font-weight: bolder;
    }

    .menu-main li > a:hover, .menu-main li > a:focus, .menu-main li > a:active {
        text-decoration: none;
    }


    .showcase-folio__carousel {
        margin-left: 60px;
        margin-right: 60px;
    }


}

@media only screen and (min-width: 991px) {
    .menu-main li > a {
        padding: 12px 12px;
        font-size: 13px;
    }

    .menu-main li:last-of-type > a {
        padding-right: 20px;
    }

    .visual-service__img {
        margin-right: 60px;
    }

    .visual-service__description {
        position: absolute;
        left: 50px;
        bottom: 50px;
        width: 400px;
    }

    .visual-service__form {
        position: absolute;
        right: 10px;
        top: 30px;
        width: 380px;
    }

    .service-list__menu {
        margin-right: 30px;
    }
}

@media only screen and (min-width: 1020px) {
    .menu-main li > a {
        padding: 16px 20px;
        font-size: 13px;
    }
}


@media only screen and (min-width: 1100px) {
    .menu-main li > a {
        padding: 16px 15px;
        font-size: 13px;
    }

}

@media only screen and (min-width: 1200px) {
    .menu-main li > a {
        padding: 16px 16px;
        font-size: 13px;
    }

    .services-list__carousel {
        margin-left: 50px;
        margin-right: 50px;
    }

    .services-list__carousel .slick-prev, .services-list__carousel .slick-next {
        top: 40%;
    }
}

@media only screen and (min-width: 1320px) {

    .container {
        width: 1300px;
    }
}


@media only screen and (min-width: 1280px) {
    .container {
        width: 1280px;
    }

    .logo {
        margin-left: 10px;
    }

    html, body {
        font-size: 17px;
    }

    .service-content__boxed {
        padding-left: 116px;
        padding-right: 116px;
    }

    .services-list__carousel {
        margin-left: 0;
        margin-right: 0;
    }

    .service__subtitle_h2 {
        font-size: 31px;
        color: #000;
    }

    .head-info > div {
        font-size: 15px;
        padding-left: 10px;
        color: #d8d8d8;
    }

    .head-info > .phone {
        padding-top: 15px;
    }

    .head-info > div::before {
        background: url(../image/sprite/icons-header-sprite-w.png) no-repeat;
    }

    .head-info .phone::before {
        margin-top: 16px;
    }

    .head-info .phone-number {
        font-size: 20px;
        line-height: 2;
    }

    .head-info a {
        color: #dd127b;
    }

    .head-info .notreloadpage {
        padding: 3px 15px;
        background: #a2292d;
        color: #fff;
        display: inline-block !important;
        border-radius: 4px;
        border: none;
        text-decoration: none;
        border-bottom: 2px solid #710e11;
        font-size: 14px;
    }

    .head-info .notreloadpage:hover, .head-info .notreloadpage:focus, .head-info .notreloadpage:active {
        background: #cc3338;
        border-color: #710e11 !important;
        text-decoration: none;
    }

    header {
        background: #232628;
    }

    .navbar-main {
        height: 48px;
        min-height: 48px;
        border-radius: 0;
        background: rgba(234, 237, 240, 1);
        margin-bottom: 0;
        margin-top: 0;
    }

    .menu-main li > a {
        font-size: 15px;
        color: #232628;
        padding: 15px 20px 12px;
        font-weight: bolder;
        background: none;
    }

    .menu-main li > a:hover, .menu-main li > a:focus, .menu-main li > a:active, .menu-main li.active > a {
        color: #fff;
        background: #dd127b;
        border-color: #ffffff;
    }

    #menu-car-brands {
        /*height: 105px;*/
        display: block;
    }

    #menu-car-brands a {
        color: #c1cada;
    }

    #menu-car-brands a:hover {
        color: #fff;
    }

    .common-home #menu-car-brands {
        display: none;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .h1, .h2, .h3, h1, h2, h3 {
        margin-top: 35px;
    }

    h4, .h4 {
        font-size: 17px;
        line-height: 1.2;
    }

    h2, .h2 {
        font-size: 36px;
    }

    .pageheader {
        text-align: center;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .pageheader h1 {
        max-width: 1280px;
    }

    .pageheader .breadcrumb {
        width: auto;
        display: inline-block;
        background: #fafbfd;
        border-radius: 300px;
    }

    .pageheader .breadcrumb > li {
        text-shadow: none;
        font-size: 13px;
    }

    .pageheader .breadcrumb > li > a {
        color: #8d94bb
    }

    .pageheader .breadcrumb > li > a:hover {
        color: #000
    }


    .pagination-box {
        font-size: 15px;
        margin-bottom: 50px;
    }

    blockquote.dashed {
        max-width: 909px;
        font-size: 25px;
        padding: 16px 15px;
    }

    .main-coggs {
        font-size: 17px;
        font-weight: 100;
        color: #fff;
    }

    .main-coggs .media-heading {
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
        color: #dd127b;
    }

    .main-coggs .media-left, .main-coggs .media > .pull-left {
        padding-right: 30px;
    }

    .product-thumb h4 {
        margin-top: 20px;
        min-height: 64px;
    }

    .product-thumb .caption {
        font-size: 14px;
        color: #000;
    }

    #column-left {
        padding-right: 45px;
        font-size: 15px;
    }

    .list-group a {
        color: #2e303c;
        padding: 12px 12px;
    }

    .list-group a.active, .list-group a.active:hover {
        color: #fff;
        background: rgb(214, 3, 10);
        border-color: #d6030a;
        text-shadow: none;
    }

    .aside__module-title {
        font-size: 17px;
        background: #2e303c;
        color: #fff;
        border-color: #2e303c;
    }

    .category-list__item > .row > .col-lg-8 {
        width: 41.66666667%;
    }

    .category-list__item > .row > .col-lg-4 {
        width: 58.33333333%;
    }

    .category-list__item {
        font-size: 15px;
        color: #000;
        border-bottom: 3px dotted #f7f7f7;
        padding-bottom: 32px;
        margin-bottom: 40px;
    }

    .category-list__item .h3 {
        font-size: 28px;
        display: block;
        margin-top: 0;
        margin-bottom: 10px;
        text-decoration: none;
        font-weight: normal;
    }

    .category-list__carname {
        font-size: 15px;
        display: inline-block;
        background: #e42f35;
        color: #fff;
    }

    .category-list__item hr {
        margin-bottom: 6px;
    }

    .category-list__item .price {
        color: #000;
    }

    .category-list__item .btn {
        text-transform: uppercase;
        font-size: 11px;
        outline: none !important;
        padding: 8px 16px;
        margin-top: 10px;
    }

    .category-list__item .btn .fa {
        margin-right: 10px;
    }

    .product-product #content > .row > .col-sm-8 {
        width: 58.33333333%;
    }

    .product-product #content > .row > .col-sm-5 {
        width: 41.66666667%;
    }

    .form-embed__title {
        display: block;
        margin-bottom: 18px;
    }

    .form-embed .btn {
        font-size: 19px;
        text-transform: uppercase;
        padding: 13px 16px;
    }

    .product__short-info {
        font-size: 15px;
    }

    .product__form {
        max-width: 450px;
        padding: 25px 35px 20px;
        background: radial-gradient(circle at 72% 45%, #207daa 10%, #002241 70%);
    }

    .product__form .form-embed__title {
        color: #fff;
        text-shadow: none;
        font-size: 19px;
    }

    .form-embed_input {
        font-size: 19px;
        padding: 10px 12px;
    }

    .product__form .btn {
        font-size: 19px;
        font-weight: 300;
    }

    .product__form .btn b {
        font-weight: normal;
    }

    .form-embed__floatinput {
        position: relative;
        padding-right: 65px;
    }

    .product__form .form-embed__pseudolink {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        /* font-weight: 100;font-size: 13px;padding: 0;color: #0759b1;border-bottom: 1px dotted #7188a2; */
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
        background-color: #e7e7e7;
        background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
        background-repeat: repeat-x;
        border: 1px solid #ddd;
        border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
        color: #000;
        margin: 0 0 0 10px;
        padding: 10px 19px;
        border-radius: 4px;

    }

    .product__form .form-embed__pseudolink span {
        display: none;
    }

    .modal-sm {
        width: 420px;
    }

    .modal-dialog {
        margin-top: 10%;
    }

    .form-modal {
        padding: 50px;
    }

    .form-modal__input {
        padding: 12px 12px;
    }

    .form-modal textarea.form-control {
        min-height: 120px;
    }

    .form-modal .btn {
        padding: 11px 16px;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        text-shadow: none !important;
        font-weight: bolder;
    }

    .error {
        font-size: 12px;
    }

    .folio-thumb h4 > a {
        font-size: 20px;
        text-align: center;
        display: block;
        padding: 10px;
    }

    .visual-service__form {
        width: 480px;
        top: 20px;
    }

    .visual-service__form .form-embed {
        padding: 50px 50px 35px;
        box-shadow: -7px 7px 18px 1px rgba(0, 0, 0, 0.45);
    }

    .visual-service__form .btn {
        font-size: 19px;
        text-transform: uppercase;
        padding: 13px 16px;
    }

    .visual-service__content {
        padding: 50px 120px 50px;
    }

    .content-boxed {
        max-width: 1000px;
    }

    .cta-bottom {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .services__link {
        font-size: 25px;
    }

    .services__item {
        font-size: 15px;
        color: #111;
    }

    .service-list__item .image {
        padding: 0 15px;
    }

    .services-catalog__link {
        font-size: 25px;
    }

    .services-catalog__item {
        font-size: 15px;
        color: #111;
    }

    .service-list__item .service-list__link {
        font-size: 19px;
    / / color: #cc272c;
        padding: 12px 40px;
    }

    .service__offer {
        margin: 20px 60px 20px;
        background: #eee url(../image/bg/bg_service_offer.png) no-repeat right 0;
    }

    .fotorama.custom .fotorama__caption__wrap {
        max-width: 420px;
        padding: 15px 26px 20px;
        font-size: 20px;
        opacity: 0.8;
    }

    .fotorama.custom .fotorama__caption__wrap h4 {
        font-size: 26px;
        background: #d83030;
    }

    .fotorama.custom .fotorama__caption__wrap small {
        display: block;
    }

    .visual-service__description {
        width: 450px;
        font-size: 23px;
        line-height: 1.65;
    }

    .car-card__side {
        max-width: inherit;
    }

    .car-brand-card__description {
        padding-right: 30px;
    }

    .car-brand__introtext {
        font-weight: 100;
    }

    #content h2.car-shop__heading {
        font-size: 30px;
    }

    .content-service .car-card__side {
        position: relative;
    }

    .content-service .car-card__side::before {
        /* background: rgba(51, 1, 1, 0.63); */
        background: rgba(53, 37, 37, 0.63);
        position: absolute;
        content: '';
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .content-service .car-card__side::after {
        content: '';
        display: block;
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
        border: 1px solid rgba(255, 255, 255, 0.26);
    }

    .content-service .car-card__name {
        margin: 0;
        max-width: none;
        position: absolute;
        background: transparent;
        text-align: center;
        top: 23%;
        left: 20px;
        right: 20px;
        font-size: 23px;
        color: #fff;
        font-weight: normal;
    }

    #content {
        color: #000;
        padding-bottom: 50px;
    }

    #content h2 {
        color: #222;
        margin-bottom: 20px;
    }

    #content h3 {
        color: #252525;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .contentbox {
        padding-left: 50px;
    }
}

@media only screen and (max-width: 767px) {
    .showcase-service__item {
        margin: 10px 0 !important;
    }

    .headerform .btn {
        height: 33px;
    }

    .header-logo {
        margin: 20px auto;
        display: block;
    }

    .headershopphones, .header-h-margin {
        margin: 0;
    }

    .installphones {
        text-align: right;
        padding: 0;
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .installphones div {
        margin-top: 0;
    }

    .headerform {
        margin-top: 20px;
    }

    .headershopphones>div:last-child .header-phone a:last-child{
        display: block;
    }

    h1 {
        margin-top: 10px;
        font-size: 24px;
    }

    .breadcrumb {
        padding : 0;
    }
    .breadcrumb > li {
        padding: 0 5px;
    }
}



@media only screen and (min-width: 1280px) {
    .container.main-coggs {
        width: 1300px;
    }
}