@media screen and (max-width: 700px){
    #langBar{ width:auto; text-align:center; top:40px; right:102px; }
    #langBar a.ics{ display:block; margin:22px 8px; }
    #langBar a.last-lang-sel{ margin-bottom:0px; }
    #langBar a.first-lang-sel{ margin-top:0px; }
    .row{
        width:98%;
        margin:0px 1%;
    }
    #slider{ display:none; }
    #iconSet>a.ic_search{ display:none; }
    #searchBar{ display:none; }
    #iconSet{ margin-right:15px; margin-top:-5px; }
    #head td a>img{ margin-top:-8px;  }
    #head{ padding-top:4px; height:60px; }
    #homeBlocks>div{ display:block; width:98%; height:auto; }
    #homeBlocks>div>a{ width:98%; }
    #footer>footer>ul{ margin:0px; }
    #footer>.footer>ul{ margin:0px; }
    #footer>.footer2>ul{ margin:0px; }
    li.relativeLI{ width:100%; display:block; }
    #menu>ul{ display:none; }
    #mobileLine{ display: block; height:38px; width:100%; }
    #homeBlocks>div>a{ margin-top:10px; margin-bottom:10px; }
    #homeBlocks{ padding-top:2px; }
    .hbLiner{ height:10px; }
    #homeBlocks>div>a.semiHBR{ background-position: center center !important; }
    a.semiHBR{ height:390px; }
    #footer>footer>ul>li{ text-align: center; }
    #footer>.footer>ul>li{ text-align: center; }
    #footer>.footer2>ul>li{ text-align: center; }
    #footer>footer>ul>li:nth-child(1){ width:50%; }
    #footer>footer>ul>li:nth-child(2){ width:50%; }
    #footer>footer>ul>li:nth-child(3),
    #footer>footer>ul>li:nth-child(4),
    #footer>footer>ul>li:nth-child(5){
        display:none;
    }
    #footer>.footer>ul>li:nth-child(1){ width:50%;  }
    #footer>.footer>ul>li:nth-child(2){ width:50%;  }
    #footer>.footer>ul>li:nth-child(3),
    #footer>.footer>ul>li:nth-child(4),
    #footer>.footer>ul>li:nth-child(5){
        display:none;
    }
    #footer>footer.mob2{ display:block; margin-top:100px; }
    #footer>footer.mob2>ul>li{ text-align: center; }
    #footer>footer.mob2>ul>li:nth-child(1){ width:50%; }
    #footer>footer.mob2>ul>li:nth-child(2){ width:50%; }
    div.footerCNTS{ display:none; }
    #footer>.footer2{ display:block; }
    #footer>.footer2>ul>li{ text-align: center; width:50%; }
    #footer a.iconImageFooter{ margin:0px 7px; }
    div.has-2-columns .wp-block-column:first-child{ width:100%; }
    div.has-2-columns .wp-block-column:nth-child(2){ width:100%; }
    div.has-2-columns .wp-block-column:nth-child(2) figure.wp-block-image>img{ width:100%; }
    div.has-2-columns:nth-of-type(2) .wp-block-column:first-child figure.wp-block-image>img{ width:100%; margin-bottom: 20px; }
    div.has-2-columns .wp-block-column iframe{ margin-bottom:30px; }
    #catItems a.catITEMBlock{ width:90%; height:auto; margin:0px 0px 20px 0px; }
    td.itemSaleBanner, .catITEMBlock .itemDeliveryBanner{ font-size:13px; }
    .itemSlide{ width:100%; height:auto; }
    #itemSlider {width: 100%;height: 340px;}
    div#itemCard{ padding-top:0px; }
    div#itemCard>table td{ display:block; float:left; width:100%;clear:both; }
    #itemHEADER h1{ padding-right:0px; }
    #itemPriceNStuff{ text-align:center; margin-top:30px; }
    #itemHEADER h1{ font-size:20px; padding:0px; text-align:center; padding-top:2px; }
    #itemHEADER h1 .itemDeliveryBanner{ float:none; clear:both; display:block; width:100%; }
    #itemHEADER h1 .itemSaleBannerItem{ float:none; clear:both; display:block; width:100%; }
    img.ratedStarSVG{display: block;clear: both;float: none;margin: 0px auto;margin-top: 10px;}
    div#IACHolder{ margin:0px auto; display:block; text-align:center; }
    div#itemPriceControl{ text-align:center; }
    div#ATC{ width: 272px;margin: 5px auto; }
    div#ATC table td{ width: 50%; text-align: center; float: none; display: table-cell; }
    #addToCartBTN{ height:24px; margin-top:4px; }
    div#priceTotal{width: 90%; display: block; margin: 30px auto 0px auto; }
    div#priceTotal table td{ display: table-cell; width:50%; clear: none; }
    tr.hide_mobile{ display:none; }
    tr.hide_pc{ display: table-row; }
    #itemSpecTable{ width:90%; margin: 10px auto; margin-top:30px; }
    div#itemCard>table tr.hide_pc td{ padding-top:10px; }
    a.mattToggle{ margin-top:17px; }
    .materialRow{ background-size: cover !important; height:auto; padding-bottom:10px;  }
    a.catITEMBlockLarge{ width:280px; padding:3px; }
    #SIH_sliderInner{ left:5px; }
    #SIH_slider td.itemSaleBanner,#SIH_slider td.itemDeliveryBanner{font-size: 10px;}
    #SIH_slider{ height:430px; }
    .itemSmallNThin{ font-size:13px; }
    .itemBigNBold{ font-size:17px; }
    .stsLink{ margin: 40px auto 0px auto; }
    #textureSelection tr td{ width:100%; display:block; clear:both; }
    .grayscale>div img{ width:100%; }
    .grayscale>div{ width:28%; }
    div.tones img{ width:100%; }
    div.tones{ width:28%; }
    div.grayscale{ text-align:center; }
    .grayscale>div span, .tones>span{ left:0px; }
    div.clothSelection{ margin-left:15px; text-align:left; }
    div#activeTexture{ margin-left:10px; text-align:left; }
    b.btopmar{ margin-left:15px; text-align:left; }
    .clothSelection_1{ margin-top:20px; }
    a.ctxclink{ position:absolute; top:20px; right:0px; }
    #textureSelection tr td{ text-align:center; }
    .itemSlide img{ height:auto; }
    #shareIcons{ left:50%; margin-left:-122px; }
    div#overlayBGICARD_TXT{ left:50%; margin-left:-170px; font-size:15px; }
    .articlePara iframe{ width:100%; margin:0px auto;; display:block; }
    #cartSections{ display:none; }
    #cartItems td{ clear:both; width:100%; display:block; column-count: 1; }
    div.accsCartItemRw{ display:block; width:100%; }
    #cartItems td>b{ display:block; }
    .hide_mobile{ display:none !important;}
    .csb_carts{ width:100%; }
    .csb_carts table{ width:100%; display:block; }
    .csb_carts table thead{ width:100%; display:block; }
    .csb_carts table thead tr{ width:100%; display:block; }
    .csb_carts table thead tr td{ width:100%; display:block; }
    .csb_carts table tbody{ width:100%; display:block; }
    .csb_cart_1 table tbody tr{ width:100%; display:block; }
    .csb_cart_1 table tbody tr td{ width:100%; display:block; }
    #cartItems td{ text-align:center;}
    #cartItems .numberSet{ margin:5px auto; display:block;}
    div.accsCartItemRw_textures img{float: none;display: inline;margin-top: 5px;margin-bottom: -8px;}
    img.remCartItem{ margin-top:10px; }
    .csb_carts table tbody tr {border-bottom: solid #c4c4c4 1px;padding-bottom: 45px;}
    img.cartItemImagePrev{ margin-top:0px;}
    .csb_carts table tfoot{ width:100%; display:block; }
    .csb_carts table tfoot tr.trHeaderCartItems{ width:100%; display:block; }
    .csb_carts table tfoot tr.trHeaderCartItems td{ width:100%; display:block; text-align: center; }
    .csb_carts table tfoot tr.deliveryPlacesTR{ width:100%; }
    .csb_carts table tfoot tr.deliveryPlacesTR td{ width:100%; text-align: center; display:block; }
    .deliverySelector, .montagSelector, .movingSelector, .personSelector{ margin-right:0px; }
    .deliveryRightIcon{ margin-left:0px; }
    .csb_carts table tfoot tr.trHeaderCartItems td{ border-bottom:none; }
    .csb_carts table tfoot tr.trHeaderCartItems{ border-bottom: solid #c4c4c4 1px; padding-bottom: 15px; }
    .movingSelector>span.deliveryItext{ margin-left:38px; }
    tr.trHeaderCartItems h2{ padding-left:0px; }
    div.hide_pc{ display:block; }
    div.bcbdivs{ width:210px; margin:5px auto; margin-bottom: 20px; }
    div.bcbdivs .bcbtexts{ width: 150px; font-size:11px;  }
    #bottomCartButtons table tr td{ display: block;width: 100%;text-align: center; }
    .bcbarrows{ height:20px; }
    span.bcbarrowright{ margin-right:-16px; }
    span.bcbarrowleft{ margin-left:-16px; }
    .csb_carts table tfoot tr.mobileStretch{ width:100%; display:block; text-align:center; }
    .csb_carts table tfoot tr.mobileStretch td{ width:100%; display:block; text-align:center;  }
    .csb_carts table tfoot tr.deliveryAdds{ width:100%; }
    .csb_carts table tfoot tr.deliveryAdds td{ width:100%; display:block }
    #log_em, #log_ps{ display:block; margin-bottom:5px; }
    .personSelector{ margin-top:10px; margin-bottom:0px }
    .csb_cart_2 table tbody tr{ border-bottom:none; }
    .csb_cart_2 table tbody tr.mobileCenter{ text-align:center; }
    .csb_cart_2 table tbody tr.mobileCenter td{ text-align:center; }
    .csb_cart_2 table tbody tr.personFields{ text-align:center; }
    .csb_cart_2 table tbody tr.personFields td{ text-align:center; }
    .csb_cart_2 table tbody tr.personFields, .csb_cart_2 table tbody tr.personFields td{ width:100%; }
    .csb_cart_2 table tbody tr.mobileCenter{ width:100%; display:block; }
    .csb_cart_2 table tbody tr.mobileCenter td{ width:100%; display:block; }
    .csb_cart_2 table tbody tr.LIN_hide{ width:100%; display:block; }
    .csb_cart_2 table tbody tr.LIN_hide td{ width:100%; display:block; }
    #bottomCartButtons2 table tbody tr, #bottomCartButtons2 table tbody tr td{ width:100%; display:block; }
    .csb_cart_3 table tbody tr{ width:100%; display:block; text-align:center; padding-top: 35px; }
    .csb_cart_3 table tbody tr td{ width:100%; display:block; text-align:center; }
    .csb_carts table tbody tr.mobileNoBorder{ border-bottom: none; }
    .preFinalOrderH{ width:85%; }
    .bignempty{ font-size:22px; }
    #sliderStatic{ height:auto; margin-bottom:5px; }
    #catSelector>a{ width:33%; font-size:11px; }
    .fmatSelCats table tr, .fmatSelCats table tr td{ width:100%; display:block; text-align:center; }
    #exm1, #exm2, #exm3, #exm4{ width: 85%; margin-left:5%; }
    #mattPreTXTHEAD table tr, #mattPreTXTHEAD table tr td, #mattPreTXTCONTENT table tr, #mattPreTXTCONTENT table tr td{ width:100%; display:block; text-align:center; font-size:19px; }
    #mattPreTXTCONTENT td p{font-size: 13px;padding: 0px 20px;}
    #mattPreTXTCONTENT td h3{ margin-top:20px; }
    #mattPinkBG{ height:auto; padding-bottom:30px; }
    .scale__value{ margin-left:-20px; }
    img.ftm_arrow{ margin-bottom:0px; }
    img.whiteBall{ margin-left:-20px; }
    div.filterCats{ margin-left:28%; }
    div.fmatSelCats table tr td:nth-child(2){ text-align:left; }
    #doSearchMatt{ display:none; }
    #doSearchMatt_mobile{ display:block; margin: 30px auto 0px auto; }
    td.exmMobileRow{ padding-top:40px; }
    div.csb_showit{ display:block; }
    #profileContent .persSelSeparator{ display:none; }
    #profileContent div.csb_showit input[type="text"],
    #profileContent div.csb_showit input[type="password"]{
        resize: none;
        border: solid #C1C1C1 1px;
        color: #474747;
        width: 80%;
        padding: 4px 20px;
        font-size: 13px;
        margin-bottom: 12px;
    }
    #langSelector{ left:0%; width:100%; margin-left:0px; }
    #langSelector a.ics{ width:40px; height:40px; margin:0px 15px; }

    /* Piespiežam hero slidera bloku būt vienā gabalā */
    #sliderSmall,
    #sliderSmall .homeSlideSingle,
    #sliderSmall .homeSlideSingle_1 {
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center center !important;

        /* fiksējam augstumu, lai nerastos vieta atkārtojumam */
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
        overflow: hidden !important;
        display: block !important;
    }
    a.catITEMBlock_afterSlide{
        display: block;
        margin: 10px auto 20px auto;
    }
    a.catITEMBlock_afterSlide div.itemTitle_afterSlide{
        display:block;
            background-color: rgba(0, 0, 0, 0.3);
    }
    #blogBlock div table tr td{
        display:block;
        width:100%;
        text-align:center;
        margin-bottom:20px;
    }
    div.blog_item_desc{
        padding:0px 40px;
    }
    #clientReviews>div{
        width:90%;
        margin:0px auto 30px auto;
    }
    div#clientReviews {
        padding: 25px 0px 0px 0px;
    }
    
     div#cpageHolder.cpageAboutUs{
        background:#d7d7d7;
        padding:0px;
        padding-top:10px;
     }
     div#cpageHolder.cpageAboutUs.cpageArticlePage{
        background:#d7d7d7;
        padding: 10px 20px;
    }
    div#cpageHolder.cpageAboutUs div.has-2-columns .wp-block-column:nth-child(1) h2,
    div#cpageHolder.cpageArticlePage h2{
        margin-top:0px;
        font-size:28px;
        margin-bottom:10px;
    }
    div#cpageHolder.cpageAboutUs div.has-2-columns .wp-block-column:first-child{
        padding-left:0px;
    }
    div#cpageHolder.cpageAboutUs .wp-block-gallery img,
    div.articlePara .wp-block-gallery img{
        width:100%;
    }
    div.articlePara td{
        display:block;
        width:100%;
    }
    div#cpageHolder.cpageAboutUs>*,
    div#cpageHolder.cpageArticlePage>*{
        width:100%;
    }
    div#cpageHolder.cpageAboutUs p,
    div#cpageHolder.cpageArticlePage p {
        margin-top: 0px;
        line-height: 24px;
        margin-bottom: 10px;
    }
    div#cpageHolder.cpageAboutUs ol, 
    div#cpageHolder.cpageArticlePage ol, 
    div#cpageHolder.cpageAboutUs ul,
    div#cpageHolder.cpageArticlePage ul {
        margin-left: 15px;
        list-style: auto;
        line-height: 24px;
        margin-bottom: 20px;
    }
    div#cpageHolder.cpageAboutUs div.has-2-columns .wp-block-column{
        display:block;
        width:auto;
        padding:0px 20px;
        padding-left: 20px !important;
    }

    div#cpageHolder.cpageAboutUs div.has-2-columns .wp-block-column:first-child p {
        font-size: inherit;
        line-height: 24px;
        margin-bottom: 10px;
    }
    div#cpageHolder.cpageAboutUs ul.wp-block-gallery{
       list-style:none;
               margin-left: 0px;
    }
    #cpageHolder.cpageHolderProdCatPage a.catITEMBlock{
        width:90%;
    }
    div.productCatHeader td a.msf_filter{
       width:auto;
    }
    div#cpageHolder.cpageHolderProdCatPage{
        background:#d7d7d7;
        padding: 0px;
        padding-top: 10px;
    }
    div.productCatHeader td{
        width:100%;
        display:block;
        text-align:center;
    }
    .custom-dropdown{
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #SIH_slider.SIH_slider_sofaProds{
        width: auto;
        height: auto;
    }
    #SIH_sliderInner{
        width: auto;
        position: relative;
        text-align: center;
        left: auto;
    }
    a.catITEMBlock_afterSlide{
        float:none !important;
        display:block;
        margin: 10px auto 20px auto;
    }
    #validMessGLOBAL{
        width: 100% !important;
        left: 0px !important;
    }
    .articlePara{
        padding:0px 20px;
    }
    .logoutLink{
        margin:5px auto;
    }
    div.productCatHeader td a.msf_filter.msf_filter_modelish{
        margin-top: 10px;
        width: 79%;
        padding: 3px;
    }
    a.mattToggle{
        margin-top:-2px;
    }
    .mhmatHeaderMat{
        padding-top: 10px;
        padding-bottom: 0px;
    }
    div#cpageHolder.cpageHolderProdCatPage a.catITEMBlock>img{
        width: 90%;;
    }
    #SIH_slider {
        height: auto;
    }
    div#similarItemsH{
        background:#d7d7d7;
        padding:10px 0px;
        padding-top:0px;
    }
    #cpageHolder.cpageHolderProdCatPage.cpageHolderProdCatPageSim a.catITEMBlock{
        width:auto;
    }
    #itemSlider {
        width: 100%;
        height: 280px;
        margin-top: 20px;
    }
    div#overlayBGICARD_TXT {
        left: 0px;
        margin-left: 0px;
        font-size: 15px;
        top: 2%;
    }
    .orderPersonFields input[type="text"], .orderPersonFields input[type="tel"], .orderPersonFields textarea {
        resize: none;
        border: solid #C1C1C1 1px;
        color: #474747;
        width: 82%;
        padding: 4px 20px;
        font-size: 13px;
        margin-bottom: 12px;
    }
    #findMattressH img.ftm_arrow{
        margin-top: 5px;
        margin-bottom: -5px;
    }
    #catSelector.catSelectorFM a {
        width: 80%;
        font-size: 13px;
        padding: 5px;
    }
    div.blogBlock_1 div.blog_item_desc{
        text-align:left;
        padding:20px 0px 10px 0px;
    }
}
