#tablet-top-row {
    background: #b12c2c;
    height: 38px;
    line-height: 38px;
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 999999999;
}
.mob-popup-nav-wrap {
    display: none;
    background: #fff;
    top: 0;
    z-index: 99999999999;
    position: fixed;
    width: 100%;
   /* height: 100%;*/

    bottom:0;
    overflow-y:scroll;
    overflow-x:hidden;
}
/*
.mob-popup-nav-wrap {
    position: absolute;
    z-index: 999999999;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}*/

.mobile-nav-main {
    background: #b12c2c;
    color: #fff;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    z-index: 999999;
    font-size: 15px;
    padding: 0 15px;
    box-sizing: border-box;
}
.lang-selector-mob {

}
.mobile-nav-icon svg {
    width: 36px;
    height: 36px;
    margin-top: 7px;
}
.mobile-nav-icon, .mobile-nav-icon:active, .mobile-nav-icon:focus{
    color: #fff;
}

.inner_page, .main_page {
    padding-top: 200px;
}
.news-row {
    padding: 0 20px;
}
.popup .right-side .outer-wrapper, .popup-content iframe {
    overflow: hidden;
    max-height: 100%;
    width: 100%;
}
.popup .right-side .outer-wrapper .inner-wrapper {
    height: 99%;
    padding-right: 20px;
    width: 100%;
    overflow-y: scroll;
    box-sizing: content-box;
}
.r-nav-wrap {
  /*  margin-left: 20px;*/
}
.main-text video, .inner-text video {
  max-width: 100% !important;
    height: auto !important;
}
.contact-team-groups-wrap {
    padding-left: 15px;
}
.mobile-logo-img {
    width: 346px;
    height: 91px;
    background: url(/templates/frontend/images/new/av_logo_big.png) no-repeat;
}
.mobile-logo-img-new {
    width: 120px;
    height: 40px;
    background: url(/templates/frontend/images/new/av_logo_big.png) no-repeat;
    background-size: contain;
    margin-top: -35px;
    margin-left: -10px;
}
.mobile-nav-main a {
    vertical-align: middle;
}
.mobile-hidden-part {
    padding-left: 20px;
    display: none;
}
.sales .mobile-description {
    overflow: auto;
    padding-left: 30px;
    padding-top: 40px;

}
.content-row.unfoldable {
    /*fix top spacing?*/
/*    margin-top: auto;*/
}
.content-row.unfoldable.kitchen-catalogue {
    margin-top: 200px;
    padding-left: 20px;
}
.fb-mob {
    width: 34px;
    height: 38px;
    position: absolute;
    right: 0;
    top: 0;
    background: url(/templates/frontend/images/new/fb_mob.png) no-repeat;
}
#mobile-only-top  .top-menu,
#tablet-top-row .top-menu {
    padding: 0;
    margin-top: 0;
    margin-left: 10px;
}
#mobile-only-top  .top-menu {
    margin-left: 0;
}
#mobile-only-top {
    position: relative;
    background: #b12c2c;
    color: #fff;
    text-transform: uppercase;
    padding-left: 10px;
    height: 38px;
    line-height: 38px;
    margin-top: -10px;
}
#tablet-top-row {
    margin-top: -10px;
}


.sub-top ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px #c15656 solid;
}

.sub-top ul li {
    background: #b12c2c;
    width: 50%;
    float: left;
}

.sub-top ul li:first-child {
    border-right: 1px #c15656 solid;
}
.sub-top ul a {
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    display: block;
    padding: 10px;
}

.sub-top ul a:hover,
.sub-top ul a:active,
.sub-top ul a:visited,
.sub-top ul a:focus {
    background: #961a1a;
    text-decoration: none;
}
.mob-lang {
    position: absolute;
    right: 50px;
    top: 0;
    line-height: 38px;
    text-transform: uppercase;
}
.mob-lang a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.mob-badge-wrap {
    position: relative;
}

.mob-badge-wrap .badges {
    position: absolute;
    width: 145px;

    height: 90px;
    z-index: 999999;
    left: 50%;
    margin-left: -73px;
}
.top-tablet-wrap   .mob-badge-wrap  .badges {
    position: fixed;
    top: 58px;
    right: 15px;
    left: auto;
    margin-left: 0;

}
.mob-badge-wrap .made-in-latvia, .mob-badge-wrap .badge-360, .mob-badge-wrap .badge-action, .mob-badge-wrap .badge-address {
    position: static;
    display: inline-block;
    margin-right: 10px;
    margin-left: 0;
}
.mobile-popup-nav-main {
    margin: 0;
    padding: 0;
}
#mobile-only-top-wrap .mob-badge-wrap .badges {
    margin: 0 auto;
}

.photo-popup {
    position: fixed;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    z-index: 9999999999;
    /*display: none;*/

}

.popup-photo {
    min-width: 300px;
    min-height: 200px;
    width: 90%;
    margin-top: 100px;
    margin-left: 20px;
    display: none;
}
.contact-image {
    position: relative;
}
.map_link_mob {
    width: 43px;
    height: 43px;
    position: absolute;
    left: 0;
    top: 40px;
    text-align: center;
    background: url(/templates/frontend/images/new/map_indicator.png) no-repeat;
}
.description_link_mob {
    width: 43px;
    height: 43px;
    position: absolute;
    left: 0;
    top: 40px;
    text-align: center;
    background: url(/templates/frontend/images/new/description_indicator.png) no-repeat;
}
.map_link_mob span, .photo_link_mob span, .waze_mob span {
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    padding-top: 27px;
    display: block;
}
.photo_link_mob {
    width: 43px;
    height: 43px;
    position: absolute;
    left: 0;
    top: 145px;
   /* top: 93px;*/
    text-align: center;
    background: #b12c2c url(/templates/frontend/images/new/photo.png) no-repeat  center 7px;
}
.waze_mob {
    width: 43px;
    height: 43px;
    position: absolute;
    left: 0;
    top: 93px;
    text-align: center;
    background: #89b8ca url(/templates/frontend/images/new/waze2.png) no-repeat  center top;
}

.waze_mob_new {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    display: inline-block;
    text-align: center;
    background: #89b8ca url(/templates/frontend/images/new/waze2.png) no-repeat  center top;
}
.main_page .mob-logo, .main_page   .mobile-logo-img   {
    width: 345px;
}
.mob-logo {
    z-index: 9999999;
    display: block;
    width: 225px;
    margin: 45px  auto 0 auto;
}
.mob-logo img, .mobile-logo-img {
    width: 225px;
    background: url(/templates/frontend/images/new/av_logo_big.png) no-repeat;
    -webkit-background-size: 225px 59px;
    -o-background-size: 225px 59px;
    -moz-background-size: 225px 59px;
    background-size: 225px 59px;
}
.tablet-logo {
    position: fixed;
    z-index: 9999999;
    margin-top: 80px;
    width: 190px;
    margin-left: 20px;
    top: 0;
}

.req-tab-place #req-wrap {
    margin-top: -285px;
}
.req-tab-place #req-wrap h3.main {
    font-size: 24px;
}

.md-contact-center {
    width: 760px;
    margin: 0 auto;
}

.contact-info-col.min-device {
    width: 90%;
    padding-right: 45px;
}
.contact-photo-col.min-device {
    width: 10%;
}
.contact-photo-col.min-device .contact-image {
    background: transparent !important;
}
.contact-photo-col.min-device .map_link_mob,  .contact-photo-col.min-device .photo_link_mob,  .contact-photo-col.min-device .waze_mob  {
    left: auto;
    right: 0;
}

.tech-description-link {
    position: absolute;
    top: 35px;
    right: 0;
    text-transform: uppercase;
    color: #b12c2c;
    font-size: 11px;
    font-weight: bold;
    padding-right: 12px;
    background: url(/templates/frontend/images/new/red_arr.png) no-repeat right  center;
}

.tech-description-link.clicked {
    background: url(/templates/frontend/images/new/red_arr_up.png) no-repeat right  center;
}
.tech-description-link:hover {
    cursor: pointer;
}

.mobile-popup-man-nav h3, .mobile-popup-description h3 {
    margin-left: 30px;
}

.mobile-side-nav-link,
.sale-description-side-nav-link,
.mobile-side-nav-link-desk {
    position: absolute;
    top: 150px;
    right: -100px;
    width: 150px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    background: #b12c2c;
    padding: 15px 20px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    z-index: 5;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
}
.sale-description-side-nav-link {
    top: 299px;
}
.mobile-side-nav-link-desk {
    top: 300px;
}
.mobile-side-nav-link:hover,
.mobile-side-nav-link:focus,
.mobile-side-nav-link:active,
.mobile-side-nav-link:visited,
.mobile-side-nav-link-desk:hover,
.mobile-side-nav-link-desk:focus,
.mobile-side-nav-link-desk:active,
.mobile-side-nav-link-desk:visited,
.sale-description-side-nav-link:hover,
.sale-description-side-nav-link:focus,
.sale-description-side-nav-link:active,
.sale-description-side-nav-link:visited {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

.no-csstransforms .mobile-side-nav-link {
    top: 0;
    right: 0;
}

.sale-description-popup-man-nav .r-nav-wrap {
    padding-right: 40px
}

.mobile-popup-description, .mobile-popup-description .slide-cap, .mobile-popup-description .slide-description  {
    color: #3b3b3b;

}
.mobile-popup-description .slide-cap, .mobile-popup-description .slide-description {

    display: block;
    position: static;
    width: auto;
    text-align: left;
}
.mobile-popup-description .slide-description {
    margin-left: 30px;
}

.mobile-popup-description .slide-cap {
    font-family: 'Lora', serif;
    font-weight: normal;
    color: #3b3b3b;
    margin-bottom: 15px;
    font-size: 18px;
    margin-top: 40px;
}
/*--------------------------------------------------------------*/

@media all   and (min-width: 1399px) {
    .main_page {
        padding-top: 400px;
    }
}
@media all   and (max-width: 1199px) {
    #pages-block {
        position: static;
        margin-left: 25px;
    }
    /*
    #navigation {
        display: none;
    }*/
    .mobile-close-nav,
    #close-photo-popup,
    #mobile-popup-close-nav,
    #sale-description-popup-close-nav {
        background: url(/templates/frontend/images/new/close.png) no-repeat;
        position: absolute;
        width: 51px;
        height: 46px;
        top: 0;
        right: 0;
        z-index: 999999999999;
    }


    .forms-container h2, .forms-container .forms-container-div {
       margin-left:   20px !important;
       margin-right:   20px !important;
    }
    #menu_slider_container h2 {
        width: auto;
        margin-left: 25px;
    }

    .form_add_text {
        margin: 0 20px;
    }
    #measure-block-main .text {
        font-size: 28px;
    }
    #measure-block-main {
        margin-bottom: 50px;
    }
    #mapCanvas {
        left: 60%;
    }
    .panorama .text360 {
        font-size: 22px;
    }
    .contact-image {
        margin-left: 120px;
    }
   /* .content-row,  .service-page .content-row {
        margin-top: 375px;
    }*/
    #navigation .main-nav {
        text-align: center;
    }
    #navigation .main-nav li a {
        margin: 0 18px;
    }

    .right-mob-nav-items {
        float: right;
        padding-top: 10px;
    }
    .right-mob-nav-items a {
        color: #fff;
        padding-left: 5px;
        vertical-align: top;
    }
    .right-mob-nav-items a:hover {
        text-decoration: none;
    }
    .right-mob-nav-items a svg {
        width: 30px;
        height: 30px;
        color: #fff;
    }
    .lang-selector-mob a {
        margin-top: -9px;
        display: inline-block;
        font-size: 18px;
    }
        /* .content-row.unfoldable.kitchen-catalogue{
             margin-top: 150px;
         }*/
    .kitchen-catalogue .services.inner .text {
        width: auto;
    }
    .row .col-xs-4.sw {
        padding-right: 20px;
    }
    .nav-line2, #navigation {
        background: #fff;
        /*-webkit-box-shadow: 0px 3px 2px 0px rgba(50, 50, 50, 0.25);
        -moz-box-shadow: 0px 3px 2px 0px rgba(50, 50, 50, 0.25);
        box-shadow: 0px 3px 2px 0px rgba(50, 50, 50, 0.25);*/

        z-index: 999999999;
    }
    .nav-line2 {
        margin-top: -11px;
        z-index: 99999999;
        padding: 0;

        -webkit-box-shadow: 0px 0px 6px 0px rgba(50, 50, 50, 0.40);
        -moz-box-shadow:    0px 0px 6px 0px rgba(50, 50, 50, 0.40);
        box-shadow:         0px 0px 6px 0px rgba(50, 50, 50, 0.40);
    }

    #navigation .catalogue li {
        width: 33%;
    }
    #navigation .catalogue li#gallery-menu {
        width: 34%;
        /* -webkit-box-shadow: 0px -3px 3px 0px rgba(50, 50, 50, 0.25);
         -moz-box-shadow:    0px -3px 3px 0px rgba(50, 50, 50, 0.25);
         box-shadow:         0px -3px 3px 0px rgba(50, 50, 50, 0.25);*/

    }
    .gallery .services.inner .text {
        width: auto;
    }
    .tablet-desctop-description {
        padding-left: 20px;
    }
    #navigation .catalogue li span, #navigation .catalogue li.last span, .ru #navigation .catalogue li span, .ru #navigation .catalogue li.last span {
        background: none;
        padding: 0 0 0  10px;
    }
    .mob-arrow-indicator {
        padding: 0;
        display: inline-block;
        margin-left: 7px;
    }

    #navigation .catalogue li .mob-arrow-indicator, #navigation .catalogue li.last .mob-arrow-indicator,
    .ru #navigation .catalogue li .mob-arrow-indicator,  .ru #navigation .catalogue li.last .mob-arrow-indicator {
        display: inline-block;
        vertical-align: top;
        width: 7px;
        height: 47px;
        background: url(/templates/frontend/images/new/arrow_white.png) no-repeat 0 center;
    }
    #navigation .catalogue li.last .mob-arrow-indicator, .ru  #navigation .catalogue li.last .mob-arrow-indicator {
        background: url(/templates/frontend/images/new/arrow_white.png) no-repeat 0 center;
    }

    #navigation .catalogue li span.mob-arrow-indicator {
        padding: 0;
    }
    .col-xs-8.cont-left-top, .cont-right-top {
        width: 100% !important;
    }


    .col-xs-12.wp {
        padding: 0;
    }
    .benefits {
        margin-bottom: 20px;
    }
    .benefits h3 {
        font-size: 21px;
    }
    .benefits .ben-txt {
        width: 80%;
    }
    .benefits .benefit {
        min-height: 190px;
    }


    .portfolio-min-slider h2  {
        margin-left: 20px;
    }

    .shops-hdr h2 {
        margin-left: 15px;
    }



    #experience2 {
        width: 262px;
        height: 203px;
        background: #bd9038;
        color: #fff;
        position: absolute;
        left: 50%;
        top: 0;
        font-family: "Lora", serif;
        font-size: 24px;
        z-index: 999;
    }

    #experience2.mob {
        /*margin-left: 145px;*/
        margin-left: 14px; /* 250/2 - 262/2, 250 = carousel initial width, 262=experience wodth */
    }

    #experience2.tab {
        margin-left: 159px;
    }
    #experience2.tab2 {
        margin-left: 294px; /* 850/2  - 262/2 */
    }
    .car-wrap-for-mobile {
        margin: 0 auto;
    }
    .mp-carousel-block {
        -webkit-box-align:center;
        -webkit-box-pack:center;
        display:-webkit-box;
    }


    .top-service h2 {
        margin-left: 20px;
    }
    .service-page  .inner-service  {
        margin: 20px;

    }

    .service-page .content-row.free-serv {
        padding: 20px;
        box-sizing: border-box;
    }
    .service-page .description {
        margin-bottom: 10px;
    }

    .news-header {
        padding-top: 40px;
        position: relative;
    }

    .news-page  .news-date {
        position: absolute;
        top: 0;
        left: 0;
        margin-left: 0;
    }

    .service-page .right-side.services  .text, .news-page .right-side.services  .text {
        width: auto;
        font-size: 28px;
        padding-right: 30px;
        margin-top: 65px;
    }
    .news-page .news-row .read_more, a.all_news {
        margin-top: 15px;
    }

    .news-wrapper {
        margin-top: 60px;
        padding: 0 20px;
       /* margin-left: 20px;
        margin-right: 30px;*/
    }
    .news-gallery-item {
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .news-gallery-item:nth-child(3n+3) {
        margin-right: 10px;
    }
    .news-gallery-item:nth-child(2n+2) {
        margin-right:  0;
    }

    .services {
        margin-bottom: 0;
    }
    .kitchen-catalogue .image-wrap img {
        width: 100%;
    }

    .kitchen-catalogue   #measure-block   {
        padding-left: 20px;
    }

    .manufactor_page .inner-text, .manufactor_page  h2, .partner-min-slider h2 {
        padding: 0 20px;
    }
}


@media all   and (max-width: 991px) { /*  all phones & tabl */

    .mob-popup-gallery img {
        display: block;
        width: 90%;
        margin: 10px auto 0 auto;
    }
    .hide-mobile {
        display: none;
    }
    .prev-block, .next-block {
        padding-top: 70px;
    }


    .top-line {
        position: fixed;
    }

    .services .text, .question .text {
        width: auto;
    }


    #experience {
        display: none;
      /*  left: auto;
        right: 10px;*/
    }


    .slide-video-block  .video-frame {
        padding: 30px 90px 75px 40px;
        margin-left: 20px;
    }
    .mobile-popup-man-nav, .mobile-popup-description,
    .sale-description-popup-man-nav,
    .sale-description-popup {
        position: fixed;
        left: -120%;
        width: 100%;
        top: 0;
        bottom: 0;
        background: #ffffff;
        overflow: hidden;
    }
    .mobile-popup-man-nav, .mobile-popup-description,
    .sale-description-popup-man-nav,
    .sale-description-popup {
        z-index: 999999999;
    }

    .sale-description-popup-man-nav .mobile-description,
    .sale-description-popup .description {
        margin-top: 55px;
    }
    .mobile-popup-man-nav ul,
    .mobile-popup-man-nav ul ul {
        padding: 0;
    }
    .mobile-popup-man-nav ul li,
    .mobile-popup-man-nav ul ul li {
       width: 100%;
    }

    .mobile-popup-man-nav ul li {
        border-top: 1px #e5e5e5 solid;
        border-bottom: 0;
        padding-left: 30px;

        height: 40px;
        line-height: 40px;
        height: auto;
        list-style-type: none;
    }

    .mobile-popup-man-nav ul li li {
        border: none;
    }

    .mobile-popup-man-nav li ul li:first-child {
        border-top: none;
    }

    .mobile-popup-man-nav .right-menu ul li {
        padding-left: 0;
    }

    .r-nav-wrap {
        max-height: 100%;
        overflow-y: scroll;
        width: 100%;
        padding-right: 20px;
    }

    .mobile-popup-man-nav ul li a {
        color: #3b3b3b;
        text-decoration: none;
        font-size: 14px;
        display: block;
        width: 100%;
        padding-left: 30px;
    }

    .mobile-popup-man-nav ul li a:hover {
        color: #bd9038;
    }



}
.additional-contact-img {
    display: none;
}

/* Small devices (tablets, 768px and up) */
@media all and (min-width:768px){
    #tablet-top-row .top-menu {
        margin: 0 auto;
        display: block;
        width: 435px;
        text-align: center;
    }


    .row.galleries.unfoldable .left-side {
        padding: 0 20px;
    }
    .cat_31 .services {
        margin-top: 80px;
    }


   /* .waze_mob {
        left: 0;
        background: #89b8ca url(/templates/frontend/images/new/waze2.png) no-repeat  center 7px;
    }*/
}

/* Medium devices (desktops, 992px and up) */
/*@media all   and (min-width: 992px) {
   .top-line {
        text-align: center;
    }
    .inner-row {
        min-width: 1170px;
        width: 1170px;
    }
    #top-header {
        width: 1170px;
    }
    #navigation {
        min-width: 1170px;
    }
}
*/
@media all   and (min-width: 1200px) {
    .top-line {
        text-align: center;
    }
    .inner-row {
        min-width: 1170px;
        width: 1170px;
    }
    #top-header {
        width: 1170px;
    }
    #navigation {
        min-width: 1170px;
    }
    .content-row.unfoldable,
    .content-row,
    .service-page .content-row  {
       /* margin-top: 150px;*/
    }

}
@media all   and (max-width: 1200px) {

    /*#mobile-full-nav,*/
    .mobile-popup-man-nav, #mobile-gallery-nav, .mobile-popup-description,
    .mob-popup-nav-wrap {
        position: fixed;
        left: -120%;
        width: 100%;
        top: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 9999999999999;
    }

    .mobile-popup-man-nav, .mobile-popup-description {
        z-index: 999999999;
        position: fixed;
    }
    .mob-nav-header {
        font-size: 24px;
        font-weight: normal;
        color: #3b3b3b;
        text-transform: capitalize;
        margin: 20px 0 20px 30px;
        font-family: Georgia, Times, "Times New Roman", serif;
    }
    .mob-nav-header img {
        height: 40px;
    }
    .image-gallery-mob-small {
        width:100%;
    }
    #mobile-full-nav ul li a, .mobile-popup-man-nav ul li a, #mobile-gallery-nav ul li a {
        color: #3b3b3b;
        text-decoration: none;
        font-size: 18px;
        display: block;
        width: 100%;
        padding-left: 30px;
    }
    .GITheWall ul {
        text-align: center !important;
    }
    .GITheWall ul li {
        margin-right: 0 !important;
    }
    .gallery h2 {
        text-align: center;
    }
    /*
    #mobile-full-nav ul.mobile-popup-nav-main li a, .mobile-popup-man-nav ul.mobile-popup-nav-main  li a   {
        padding-left: 0;
    }*/

    .mobile-popup-nav-main li a {
        text-transform: uppercase;
    }
    #mobile-full-nav ul li a:hover, .mobile-popup-man-nav ul li a:hover, #mobile-gallery-nav ul li a:hover {
        color: #bd9038;
    }

    #mobile-full-nav ul, #cat_134, #mobile-gallery-nav ul  {
        border-bottom: 1px #e5e5e5 solid;
    }

    .side-menu.manufactor  .top-item  a {
        margin-left: 0;
        line-height: 40px;
        border-top: 0;
        padding-left: 30px;
    }

    .mobile-popup-man-nav ul,  .mobile-popup-man-nav ul ul {
        padding: 0;
    }
    .mobile-popup-man-nav ul li,  .mobile-popup-man-nav ul ul li {
        width: 100%;
    }
    .mobile-popup-nav-main .active {
        font-weight: bold;
    }
    .mobile-popup-nav-main .active li  a {
        font-weight: normal;
    }
    .mobile-popup-nav-main > li.mob-expandable > a,    .mobile-popup-nav-main  > li.mob-expandable > a,
    .mobile-popup-nav-main   li.exp  a {
        background: url(/templates/frontend/images/new/plus.png) no-repeat left top 16px;
    }

    .mobile-popup-nav-main > li.mob-expandable > a.clicked,    .mobile-popup-nav-main  > li.mob-expandable > a.clicked,
    .mobile-popup-nav-main   li.exp  a.clicked {
        background: url(/templates/frontend/images/new/minus.png) no-repeat left top 16px;
    }

    .mobile-popup-nav-main ul {
        list-style-type: none;
    }
    .mobile-popup-nav-main li.mob-expandable ul {
        padding: 0;
    }
    #mobile-full-nav ul li ul,    #mobile-full-nav ul li ul ul {
        border-bottom: 0;
        display: none;
    }
    .mobile-popup-nav-main   li.exp li a {
        background: none;
    }
    .mobile-popup-nav-main li a {
        padding-left: 30px;
    }
    #mobile-full-nav ul li, .mobile-popup-man-nav ul li, #mobile-gallery-nav ul li {
        border-top: 1px #e5e5e5 solid;
        border-bottom: 0;
        padding-left: 30px;

       /* height: 50px;*/
        line-height: 50px;

        /*height: 40px;
        line-height: 40px;*/
    }
    #mobile-gallery-nav ul li {
        height: auto;
        padding-left: 0;
    }
    #mobile-gallery-nav ul li a {
        margin-left: 30px;
    }

    #mobile-gallery-nav .expanded ul   {
        border-bottom: 0;
    }
    .mobile-popup-man-nav ul li li {
        border: none;
    }

    .mobile-popup-man-nav li ul li:first-child {
        border-top: none;
    }

    .mobile-popup-man-nav .right-menu ul li {
        padding-left: 0;
    }


}
@media all and (max-width:767px){ /*---------mobile only-------*/

    .slider-wrap, .visible-xs.slider-wrap {
        background: #e7e7e8;
        margin-bottom: 15px;
        text-align: center;
        height: 290px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .carousel-inner img, .carousel-inner>.item>img {
        /* width: 100%;*/
        margin: 0 auto;
        max-height: 290px !important;
        max-width: 100% !important;
    }
    .GITheWall ul li {
         margin-bottom: 0 !important;
    }

    #parking_popup {
        width: 100%;
        margin-left: 0 !important;
        left: 0 !important;
    }

    #close-parking-popup {
        margin: 0;
        position: absolute;
        top: 0;
        right: 0;

    }

    #parking_popup .col-xs-6 {
        width: 100%;
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
    }

    .mobile-only-top-wrap .top-line {
        text-align: left;
        position: static;
        height: auto;
        line-height: 20px;
        padding:   10px 0 10px 20px;
    }
    .file_upload {
        width: auto;
    }

    .photo_link_mob {
        display: none !important;
    }
    .top-slider.fixed, #top-header.fixed {
        position: static;
        height: 520px;
    }
     #navigation-submenu {
         position: fixed;
         height: auto;
         top: 0;
         bottom: 0;
         z-index: 9999999999;
     }
     #close-navigation-submenu {
        position: fixed;
     }
     #navigation {
            bottom: auto;
            top: 500px;   /* 520+88, 88=top red line*/
      }
    .inner-row {
        min-width: 400px;
        width: 400px;
    }

    .main-page-content {
        margin-top: 10px;
        /*margin-top: 80px;*/
    }

    .mobile-only-top-wrap .top-line-link {
        display: block;
        position: static;
    }

    .mobile-only-top-wrap {
        position: absolute;
        top: 0;
    }

    #header-block h1 {
        font-size: 28px;
       /* margin-top: 195px;*/
        margin: 145px 20px 0 20px;
    }
    .service-page .content-row
    {
        margin-top: 0;
    }
    .location.half {
        margin-top: -10px;
    }
    .contact-container .location.second {
        margin-top: 55px;
    }
    .contact-container .location.third {
        margin-top: 60px;
    }
    .slide-video-block  .video-frame {
        padding: 30px 0 75px 0;
        border-left: 0;
        margin: 0 20px;
    }
    .slide-video-block  .video-frame .text {
        font-size: 28px;
        line-height: 36px;
        font-weight: normal;
        width: auto;
    }
    .inner-row {
        width: auto;
        min-width: initial;
    }
    .col-xs-12.wp {
        padding: 0;
    }


    /*---nav --- */
    .visible-xs.mobile-menu-li {
        display: inline-block !important;
    }
    .mobile-menu-li a {
        padding-right: 20px;
        display: block;
        background: url(/templates/frontend/images/new/nav_mob_lines.png) no-repeat right center;
    }



    .mob-full-wrap {
        /*margin-left: 20px;*/
    }

    .side-menu.manufactor li a {
        padding: 0;
    }

    .r-nav-wrap {
        max-height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
        padding-right: 20px;
    }
/*
    .mobile-popup-man-nav ul ul li {
        padding-left: 0px;
    }*/
    #cat_144 {
        padding-left: 0px;
    }
    #cat_144 a {
        padding-left: 30px;
    }

    .mobile-popup-man-nav ul li {
        height: auto;
        list-style-type: none;
    }

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


/* moved up
    .mobile-close-nav, #close-photo-popup, #mobile-popup-close-nav, #mobile-popup-close-description {
        background: url(/templates/frontend/images/new/close.png) no-repeat;
        position: absolute;
        width: 51px;
        height: 46px;
        top: 0;
        right: 0;
        z-index: 999999999999;
    }
    .mobile-close-nav:hover, #close-photo-popup:hover, #mobile-popup-close-nav:hover, #mobile-popup-close-description:hover {
        cursor: pointer;
    }/*

    #navigation .catalogue li#gallery-menu {
        text-align: center;
    }

    #navigation .catalogue li {
        width: 50%;
    }
    #navigation .catalogue li#gallery-menu {
        width: 100%;
        background: #bd9038;
        -webkit-box-shadow: 0px 3px 3px 0px rgba(50, 50, 50, 0.25);
        -moz-box-shadow:    0px 3px 3px 0px rgba(50, 50, 50, 0.25);
        box-shadow:         0px 3px 3px 0px rgba(50, 50, 50, 0.25);
    }
    #navigation.fixed .nav-line2.hidden {
        display: none;
    }
    #navigation.fixed {
        top: 0;
    }
    /* hide sub menu */
    .cat-nav {
     /*   display: none;*/
    }
    #mobile-only-top {
        margin-top: 0;
    }
    .mobile-only-top-wrap  {
        width: 100%;
        z-index: 9999999;
    }

    .mob-badge-wrap .made-in-latvia {
        display: none;
    }
    .mob-badge-wrap {
        top: 75px;
        position: absolute;
        right:  0;
    }
    .mob-badge-wrap .badges {
        width: 60px;
    }
    .main_page .mob-logo, .main_page .mobile-logo-img, .mob-logo {
        margin: 45px 0 0 10px;
    }

    #header-block-wrapper {
        position: static;
    }

    .video-frame  a .bottom-link {
        font-weight: bold;
        display: block;
        margin-top: 5px;
    }


    .benefits .benefit {
        min-height: auto;
        margin-bottom: 20px;
    }

    .contact-image {
        width: 100%;
    }

    .req-mob-place {
        margin: 50px 20px;
    }
    .req-mob-place h3.main {
        font-size: 24px;
        color: #3b3b3b;
        margin-bottom: 25px;
    }


    .forms-container h2, .forms-container-div {
        margin-left: 20px;
        margin-right: 20px;
    }

     .form-block  form {
        padding: 30px 20px 40px 20px;
    }
    .form-block  form .left {
        width: 30%;
        margin-right: 0;
        padding-right: 20px;
        box-sizing: border-box;
    }
    .form-block  form .right {
        width: 69%;
    }

    .form-block  form input[type="text"], .form-block  form input[type="email"], .form-block  form textarea {
        width: 100%;
    }

    .content-row,  .service-page .content-row {
        margin-top: 0;
    }

    .inner-service .short-row {
        width: 100%;
        padding-right: 140px;
    }
    .inner-service .service-image {
        width: 100%;
        position: static;
        margin-bottom: 10px;
       /* width: 100px;*/
    }

    .service-page  .inner-service {
        margin: 0;
    }
    .service-page  .inner-service {
        padding-left: 20px;
        padding-top: 0;
        margin-top: 20px;

    }
    .top-service {
        background: #fff;
        margin-top: 0px;
      /*  margin-top: 100px;*/
    }
    .top-service .content-row {
        margin-top: 0;
        padding: 20px 0;
    }

    .service-page .content-row.free-serv {
        margin-top: 0;
    }
    .top-service .content-row {
        padding-bottom: 0;
    }
    .top-service h2 {
        font-size: 26px;
    }
    .service-page h2 {
        font-size: 24px;
    }
    .inner-service h3 {
        font-size: 21px;
    }
    .service-page .right_column, .service-page .left_column {
        min-width: 80px;
    }
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-image {
        margin-left: 0;
    }
    .news-wrapper {
       /* margin-top: 120px;*/
        padding: 20px;
    }
    .news-inner-page {
        margin-top: 65px;
        padding: 20px;
    }
    #measure-block        {
        padding: 20px;
    }
    .kitchen-catalogue   #measure-block   {
        padding-left: 0;
    }
    .content-row.unfoldable.kitchen-catalogue {
        margin-top: 150px;
        padding: 20px;
    }



    .mobile-hidden-part {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        padding-bottom: 50px;
        width: 100%;
        background: #fff;
        display: none;
        z-index: 9999999999;
    }


    .kitchen-catalogue  .mobile-hidden-part .model-description {
        margin-top: 20px;
    }
    .kitchen-catalogue .model-description  big, .kitchen-catalogue .right-side h3 {
        margin: 0;
        color: #000;
        z-index: 99999;
    }

    .manufactor_page,
    .main-catalogue,
    .galleries {
        padding-left: 20px;
        padding-right: 20px;
      /*  padding-right: 80px;
        margin-top: 150px;*/
        position: relative;
    }

    .row.galleries.unfoldable {
        margin-top: 0;
       /* margin-top: 100px;*/
    }
    
   .manufactor_page .gallery .services,   .manufactor_page  #measure-block,  .manufactor_page  .gallery .services.inner .text {
        margin-left: 0;
        padding-left: 0;
    }

    .manufactor_page .services.inner .btn2 {
        margin-left: 0;
    }

    .manufactor_page .gallery .services.inner .text {
        width: auto;
        margin-top: 20px;
    }

    .manufactor_page #measure-block {
        margin-bottom: 50px;
    }
    
    .inner-text img {
        max-width:100%;
        height:auto;
    }
     .inner_page {
         padding-top: 50px;
     }

     #measure-block {
         position: static !important;
     }
    .main_page {
        padding-top: 0;
    }

    .forms-container {
        margin-top: 65px;
    }
    .benefits .ben-txt {
        width: 100%;
    }
    .contact-container  hr {
        width: 100%;
    }

    #navigation-submenu {
        top: -48px;
    }

    .manufactor_page .inner-text, .manufactor_page  h2, .partner-min-slider h2, .news-row {
        padding: 0;
    }

    .news-page #measure-block .text {
       margin-top: 0;
    }

    .video-container {
        width: 100%;
        left: 0;
        margin-left: 0;
    }
    .contact-info-col.min-device {
        padding-right: 0;
    }
    .partner-min-slider  #prev {
        left: -15px;
    }
    .partner-min-slider  #next {
        right: -15px;
    }

    .top-menu li a, .lang-selector a {
        font-size: 11px;
    }
    .top-menu li:first-child a {
        margin-left: 0;
    }
    .top-menu li:last-child a {
        margin-right: 0;
    }

    #mobile-only-top {
        line-height: 20px;
        padding-top: 10px;
    }
    #mobile-only-top  .top-menu {
        margin-right: 50px;
        margin-bottom: 7px;
    }

    .mob-lang, .fb-mob {
        top: auto;
        bottom: 0;
    }
    .main-catalogue {
        position: relative;
    }


    .services.inner .btn2.call_link {
        margin-left: 0;
    }

 }

 @media all and (max-width: 768px) {
    .mobile-side-nav-link, .mobile-side-nav-link-desk {
        position: absolute;
        top: 150px;
        right: -100px;
        width: 150px;
        text-align: center;
        color: #fff;
        text-transform: uppercase;
        font-size: 14px;
        font-weight: bold;
        background: #b12c2c;
        padding: 15px 20px;
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
        z-index: 5;
        -webkit-transform-origin: left top;
        -moz-transform-origin: left top;
        -o-transform-origin: left top;
        -ms-transform-origin: left top;
        transform-origin: left top;
    }
     .mobile-side-nav-link-desk {
         top: 300px;
     }
    .mobile-side-nav-link:hover,
    .mobile-side-nav-link:focus,
    .mobile-side-nav-link:active,
    .mobile-side-nav-link:visited,
    .mobile-side-nav-link-desk:hover,
    .mobile-side-nav-link-deskk:focus,
    .mobile-side-nav-link-desk:active,
    .mobile-side-nav-link-desk:visited {
        cursor: pointer;
        color: #fff;
        text-decoration: none;
    }
 }
@media all   and (max-width:480px){
    .location.half p {
        font-size: 12px;
    }
    .mob-logo-new {
        display: none !important;
    }
    .form-block  form .right, .form-block  form .left {
        width: 100%;
    }
    #allowedExtensions {
        display: inline-block;
    }

    .contact-container {
        height: auto;
    }

    #mobile-only-top {
        height: auto;
    }

    #carousel3 a, #carousel3 .image {
        width: 180px !important;
    }
    #menu_slider_container h2 {
        margin-left: 25px;
    }
}

@media all   and (max-width:420px){
    body {
      /*  overflow-x: auto;*/
    }

    .additional-contact-img {
        display: block;
    }


    .photo_link_mob {
        display: block  !important;
    }

    .nav-wrap > div {
        padding: 0;
    }

    #experience2 {
        display: none;
    }
    .car-wrap-for-mobile {
      width: 100% !important;
    }

    .main_page .mob-logo,
    .main_page .mobile-logo-img,
    .mob-logo,
    .mobile-logo-img {
        width:  225px;
        height: 59px;
    }
    #navigation .catalogue li span {
        font-size: 12px;
    }

    .inner_page .mob-logo {
        margin-top: 45px;
    }

    .inner_page #header-block h1 {
        margin-top: 150px;
        font-size: 24px;
    }
    #navigation .catalogue #gallery-dropdown li {
        width: 100%;
    }

    /*
    .row.galleries.unfoldable {
        margin-top: 100px;
    }*/
}
/*-----------------------------retina icons--------------------*/
@media  only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (   min--moz-device-pixel-ratio: 1.5),
only screen and (     -o-min-device-pixel-ratio: 3/2),
only screen and (        min-device-pixel-ratio: 1.5)
{

    .mobile-menu-li a {
        background: url(/templates/frontend/images/new/nav_mob_lines_big.png) no-repeat  right center;
        -webkit-background-size: 11px 7px;
        -o-background-size: 11px 7px;
        -moz-background-size: 11px 7px;
        background-size: 11px 7px;
    }

    .main_page   .mobile-logo-img {
        background: url(/templates/frontend/images/new/logo_mob_big.png) no-repeat;
        -webkit-background-size: 346px 91px;
        -o-background-size: 346px 91px;
        -moz-background-size: 346px 91px;
        background-size: 346px 91px;

    }

    .mobile-logo-img {
        background: url(/templates/frontend/images/new/logo_mob_big.png) no-repeat ;
        -webkit-background-size: 225px 59px;
        -o-background-size: 225px 59px;
        -moz-background-size: 225px 59px;
        background-size: 225px 59px;


    }

    .map_link_mob {
        background: url(/templates/frontend/images/new/map_indicator_mob.png) no-repeat ;
        -webkit-background-size: 43px 43px;
        -o-background-size: 43px 43px;
        -moz-background-size: 43px 43px;
        background-size: 43px 43px;
    }


    .fb-mob {
        background: url(/templates/frontend/images/new/fb_mob_big.png) no-repeat;
        -webkit-background-size: 34px 38px;
        -o-background-size: 34px 38px;
        -moz-background-size: 34px 38px;
        background-size: 34px 38px;
    }

    .photo_link_mob {
        background: #b12c2c url(/templates/frontend/images/new/photo_big.png) no-repeat  center 7px;
        -webkit-background-size: 21px 16px;
        -o-background-size: 21px 16px;
        -moz-background-size: 21px 16px;
        background-size: 21px 16px;
    }

    .waze_mob {
        background: #b12c2c url(/templates/frontend/images/new/waze_big.png) no-repeat  center top;
        -webkit-background-size: 43px 43px;
        -o-background-size: 43px 43px;
        -moz-background-size: 43px 43px;
        background-size: 43px 43px;
    }


    .tech-description-link {
        background: url(/templates/frontend/images/new/red_arr_big.png) no-repeat right  center;
        -webkit-background-size: 7px 4px;
        -o-background-size: 7px 4px;
        -moz-background-size: 7px 4px;
        background-size: 7px 4px;
    }

    .tech-description-link.clicked {
        background: url(/templates/frontend/images/new/red_arr_up_big.png) no-repeat right  center;
        -webkit-background-size: 7px 4px;
        -o-background-size: 7px 4px;
        -moz-background-size: 7px 4px;
        background-size: 7px 4px;
    }


    @media all   and (max-width:420px){ /* fix for very small screens*/
        .main_page   .mobile-logo-img {
            background: url(/templates/frontend/images/new/logo_mob_big.png) no-repeat ;
            -webkit-background-size: 225px 59px;
            -o-background-size: 225px 59px;
            -moz-background-size: 225px 59px;
            background-size: 225px 59px;
        }
    }
}