@media (max-width:1115px) {
    body, header, #container, .row, .layout0, div.layout, div.header {
        width: 100%;
        min-width:0;
        transition:all 0.3s ease 0s;
    }
    body{overflow-x:hidden;}

    #slider-section .owl-buttons{        
        left:auto;
        right:0;
        width:100%;
    }
    
    .bx-viewport{width:calc(100% - 80px) !important;}

    h1.title{width:96%;margin-left:2%;overflow:hidden;}
    .simple-block{width:96%; margin:0 auto;}
}/* 1215 px*/

@media (max-width:1040px) {
    .logo{margin-left:10px;}
    .gallery-preview{
        width:31.33%;
    }
    
    .index-catalog-item{width:29%;margin:8px 2%;}
    .index-text{width:96%;margin:20px 0 0 2%;height:auto;}
}/* 1215 px*/

@media (max-width:990px) {
    .header-phone, .header-adres{
        padding: 15px 0 15px 50px;
        margin:15px 10px 0 0;
        font-size:1.1em;
     }
     .header-adres{
         font-size:0.95em;
         margin-left:10px;    
         line-height:1.6em;
     }
     .permission{
        width:21%;
        margin:10px 2%;
    }
}/* 990 px*/


@media (max-width:870px) {
    .header-phone, .header-adres{
        float:right;
        width:calc(100% - 300px);        
        padding: 0 0 0 50px;         
        margin-top:4px;
        font-size:1.1em;
     }
     .header-adres{
         font-size:0.95em; 
         line-height:1.6em;          
         margin-top:0px;
     }
    
    #slider-section {
        position: relative;
        height: 400px;
    }
     .slide-content>div{    
        font-size:1.6em;
     }
     .slide-content>div:first-of-type{font-size:2.3em;}
     #slider-section .owl-prev, #slider-section .owl-next,.slide-content a{
         width:40px; height:40px;
     }
     #slider-section .owl-prev{right:55px;}
     
    .permission{
        width:46%;
    }
    .footer-contacts, .footer-copyright{
        width:96%;
        margin:10px 2%;
    } 
     
    .index-catalog-item{width:46%;margin:8px 2%;}
    .topmenu_mobile{display:block;}
    .topmenu table{
        top:100%;
        background-color:#f88831;
        position:absolute;
        width:100%;
        z-index:5;
        box-shadow:0px 20px 20px 0 rgba(0,0,0,0.3);
        transform: rotateX(90deg) translateX(-100%);
        transition: all 0.3s ease 0s;
    }
    .topmenu table.active{
        transform: rotateX(0deg) translateX(0);
    }
    .topmenu td{
        width:96%;
        display:block;
        text-align:left;
        padding:7px 2%;
        margin:0;
        height:auto;
    }
    .topmenu td:before{        
        display:none;
    }
    .topmenu td.active, .topmenu td:hover{        
        padding-left:6%;
        width:92%;
    }
    .topmenu td a{
        display:inline-block;
        width:100%;
    }
    
    div[class^=navbar-toggle]{display:block;} 
    .footer-menu{display:none;}

    div.catalog-tree {
        margin: 5px 1%;
    }
    .title, h1.title, h2.title{margin:20px 1%;}
    
      div.leftmenu-catalog{
        display:none;
      	position:absolute;
      	top:0;
      	left:0;
      	border:none;
      	width:96%;
      	margin:0;
      	padding:1% 2%;
      	background: #fff;
        box-shadow:0px 20px 20px 0 rgba(0,0,0,0.3);
      	z-index:560;
      }
    .leftside {
        width: 0px;
        height: 0px;
        overflow: hidden;
        float: left;
        margin: 0;
    } 
    div.rightside{width:98%;margin:0 1%;}
    
    .rightside h1{margin-top:0;}
      
}/* 870 px*/
@media (max-width:770px) {
    .catalog-preview-description{
        font-size:0.9em;
    }
    
    .contact-left{
        width:96%;
    }
    .contact-text{
        width:100%;
    }    
    .map{
        width:96%;
    }
    .map iframe{
        height:350px;
    }
}
@media (max-width:730px) {
    .news-preview{
        width:96%;
        margin:3% auto;
        float:none; 
    }

    .catalog-preview{
        width:47%;
        margin:1% 1% 1% 2%;
    }
    .catalog-preview:nth-of-type(even){
        margin-left:1%;
        margin-right:2%;
    }
    .catalog-preview-description{
        font-size:1em;
    }
    
    .tovar-preview{
        width:42%;
        margin:2% 0% 2% 8%;
    }
    .tovar-preview:nth-of-type(even){
        float:right;
        margin:2% 8% 2% 0%;
    }
    
    .aquagallery{
        width:calc(31.33% - 4px);
    }
    
    
}

@media (max-width:680px) {
    .logo{
        width:100%;
        margin:10px 0;
        text-align:center;
    }
    .header-phone, .header-adres{
        display:block;
        padding: 0;
        background:transparent; 
        font-size:1.2em;
        font-weight:normal;
        margin:5px 2%;
        height:auto;
        width:96%;
        text-align:center;
     }
     .header-phone{ margin-bottom:10px;}
     
    .catalog-preview-title{       
        top:0.5em;        
        font-size:1.25em; 
        height:3em;
    }
    .catalog-preview-description{
        font-size:0.9em;
    }
    .catalog-preview:hover .catalog-preview-description{
        top:5em;
    }
    
    .tovar-preview{
        width:45%;
        margin:2% 0% 2% 3%;
    }
    .tovar-preview:nth-of-type(even){
        float:right;
        margin:2% 3% 2% 0%;
    }
    
    .footer-contacts td, .footer-copyright td{
        display:block;
        width:100%;
        text-align:center !important;
    } 
    .footer-contacts .orange_button{margin:15px 0 0 0;}
    
    .title, h1.title{font-size:1.8em;}  
}


@media (max-width:590px) {
    .slide-content{            
        padding:10px 75px 10px 15px;
        margin:8% 0 0 15px;
        max-width:calc(100% - 125px);
    }
    .slide-catalog-content{
        font-size:1.8em;
    }
    
    
    .catalog-index-item{width:calc(48% - 2px);margin:1%;}
    div.catalog-item:not(.slide), div.catalog-category{width:calc(48% - 2px);}
    div.catalog-category{margin:0.75% !important;}
    .index-catalog-item{width:98%;margin:8px 2%;}
            
    div.slider-block {
        width: 100%;
        height:400px;
    }
    
    .cartbox-block .oc-form_holder, .oc-form_holder{width:90%;margin:20px 5%;} 
    .oc-form_holder .grey_button{width:calc(100% - 2px);}
}/* 590 px*/

@media (max-width:520px) {
    .index_text{
        width:94%;
        margin-left:3%;
    }
    .form-download{
        width:300px;
    }
    .form-download td{
        display:block;        
    }
    .form-download label{
        text-align:left;
    }
}

@media (max-width:450px) {
    #slider-section {
       position: relative;
       height: 350px;
    }
    .slide-content>div{    
       font-size:1.1em;
    }
    .slide-content>div:first-of-type{font-size:1.7em;}
    .permission{
        width:96%;
    }
    .catalog-preview, .catalog-preview:nth-of-type(even), .tovar-preview, .tovar-preview:nth-of-type(even){
        width:96%;
        margin:2% auto 4% auto;
        float:none;
    }
    .aquagallery{
        width:calc(48% - 4px);
    }
    
    
     
    .navbar-toggle-catalog {margin:4px auto;}
    
    div.topmenu{        
        top:76px;
    }
}


@media (max-width:400px) {
   
}/* 400 px*/

@media (max-width:350px) {
    .slide-content>div{    
        font-size:1em;
     }
    .slide-content>div:first-of-type{font-size:1.5em;}
}