@media (max-width:1220px) {
    .razvl_pools .row{
        max-width:650px;
    }
    .razvl_pools_holder{
        padding:75px 0; 
     }
     
     div[id^=slider-next_]{
        right:0px;
    }
    div[id^=slider-next_]:hover, div[id^=slider-prev_]:hover{opacity:1;}
    div[id^=slider-prev_]{
        left:0px;	
    }
}

@media (max-width:1115px) {
    body, header, #container, .row,  div.header {
        width: 100%;
        min-width:0;
        transition:all 0.3s ease 0s;
    }
    body{overflow-x:hidden;}
    .index-service-title{
        font-size:1.15em;
    }

    .row.simple{
        width:96%;
        margin:260px 2% 0 2%;
    }
    
    .pool_types-content{
        max-width:75%;
        transform:skewX(-10deg);
        padding:0 6% 35px 6%;
    }
    .pool_types-content>div{
        transform:skewX(10deg);
    }
    .pool_types-item:nth-of-type(1) .pool_types-content{
        margin-right:0;
    }
    .pool_types-item:nth-of-type(2) .pool_types-content{
        margin-left:0;
    }
    
    .gallery_arrows{
        width:96%;
        left:2%;
        margin-left:0;
    }
}/* 1115 px*/

@media (max-width:1040px) {
    .topmenu table , .footer-menu table{
        width:75%;
        margin:0 1%;
        float:left;
     }
     .header_soc{
         position:absolute;
         right:0;
     }
     .razvl_pools_holder{
        padding:50px 0; 
     }
     
    .how-work{
        float:none;
        clear:both;
        width:250px;
        margin:30px auto 70px auto;
    }
    .how-work:after{
        content:'';
        position:absolute;
        top:auto;
        right:auto;
        width:54px;
        left:calc(50% - 25px);
        bottom:-37px;
        transform:rotateZ(90deg);
    }
    
    .footer_soc{
        float:left;
        margin-left:0;
    }
    .footer-menu td{padding:8px 15px 8px 0;}
    .index-text{width:96%;margin:20px 0 0 2%;height:auto;}
}/* 1040 px*/

@media (max-width:990px) {
    .header-holder table, .header-holder tbody, .header-holder tr{display:block;position:relative;float:left;width:100%;height:auto;}
    .header-holder table td{
        display:block;
        position:relative;
        width:230px;
        float:left;
    }
    .header-holder table td:nth-of-type(2),
    .header-holder table td:nth-of-type(3){
        width:calc(100% - 240px);
        text-align:left;
        float:right;
    }
    .header-holder table td:nth-of-type(2){
        height:105px;
    }
    .header-contacts p{margin-left:0;}
    
    .section-calculate-title{
        font-size:3.5em;
        margin:50px 0 40px 0;
    }
    
}/* 990 px*/


@media (max-width:870px) {        
    .header {
        position:relative;
        padding:11px 0 52px 0;
     }
     
    #slider-section {
        height: 550px;
    }
    .slider .slide {    
        padding: 280px 0 0 0;
        height: calc(100% - 280px);
    }
    .slide-text{        
        font-size:3em;
    }
    .add_request{text-align:center;margin-top:25px;}
    
    
    .topmenu_mobile{display:block;}
    div.topmenu{border-radius:0px;top:calc(100% - 51px);}
    div.topmenu table, .footer-menu table{
        display:none;
        clear:both;
        margin-bottom:10px;
    }
    div.topmenu td{
        width:96%;
        display:block;
        text-align:left;
        padding:1% 1% 1% 5px;
        margin:0;
        height:auto;
    }
        
    div[class^=navbar-toggle]{display:block;} 

     h1.title.simple_title{margin-top:20px;}
    
      
}/* 870 px*/

@media (max-width:770px) {
    .header-contacts{         
        font-size:1.05em;
        line-height:1.8em;
    }
    .header-holder table td:nth-of-type(2){
        height:95px;
    }
    
    #gallery_objects_1,#gallery_holder_1{height:300px;}
    #gallery_objects_1 .bx-wrapper{height:300px;width:100%;}
    .photo-slide{ width:225px !important;height:300px;}
    .photo-slide a{display:block;width:225px;height:150px;overflow:hidden;}
    .photo-slide a img{width:225px;}
    .photo-slide a+a{margin-left:-112px;}
    .gallery_arrows{
        top:43.5%;
    }
    .gallery_arrows>div{
        font-size:2em;
    }
    
    .section-services #gallery_objects_3{
        width:900px;
        max-width:96%;
        padding:30px 2% 35px 2%;
    }
    .section-services .bx-wrapper{
        padding:3% 4% 1% 4%;
        width:92%;
    }
    
    .section-calculate-title{
        font-size:3em;
        margin:45px 0 35px 0;
    }
    
    .section-calculate form{
        width:96%;
        max-width:300px;
        margin:0 auto 35px auto;
    }
    .section-calculate input[type="submit"]{
        width:280px;    
    }
    
    .section-about .row{
        columns: 1;
        -moz-columns: 1;        
        font-size:0.95em;
    }
    
    
    
    .gallery-item{
        width:calc(31.3% - 4px);
    }

    .footer-contacts p, .footer-contacts div{
        display:block;
        background:transparent;
        width:100%;
        padding:0;
        margin:0;
        line-height:1.5em;
        height:auto;
    }
    .footer-contacts div{margin-bottom:10px;}
    
    .catalog-block table{  
        font-size:0.9em;
    }
    .catalog-block table tr:first-of-type{
         font-size:1.1em;
    }
    .catalog-block table td[colspan="3"]{
        font-size:1.1em;
    }
    
    .pool_types-content{
        max-width:85%;
        transform:skewX(-7deg);
        padding:0 6% 35px 6%;
    }
    .pool_types-content>div{
        transform:skewX(7deg);
    }
    .pool_types-item:nth-of-type(1) .pool_types-content{
        margin-right:-4%;
    }
    .pool_types-item:nth-of-type(2) .pool_types-content{
        margin-left:-4%;
    }
}

@media (max-width:680px) {
    .permissions{
        float:left;
        position:relative;
        width:96%;
        margin:15px 0 15px 2%;
        max-width:850px;
    }
    .permission{
        float:left;
        width:48%;
        margin:2% 1%;
    }
    .permissions .clear_2{display:block;}
    
    .index-service{
        width:calc(96% - 4px); 
        max-width:343px;
        float:none;
        margin:1.5% auto;
        border:2px solid #006ab3;
        border-radius:3px;
    }
    
    
    .header-phone{
        float:left; 
        font-size:1.15em;
        padding:35px 0 10px calc(4% + 51px);
     }
    
    
    .title, h1.title, h2.title{
        font-size:3em;
        width:96%;margin-left:2%;
    }
    .after_title{
        font-size:1.15em;
        width:96%;margin-left:2%;
    }
}


@media (max-width:590px) {
    .header-holder{
        height:340px;
    }
    .header-back{
        bottom:60px;
        left:-10%;
        background:#fff;
    }
    .header-holder table td{
        width:100%;
        text-align:center;
    }
    .header-holder table td:nth-of-type(2),
    .header-holder table td:nth-of-type(3){
        width:100%;
        text-align:center;
    }
    .header-contacts{         
        font-size:1.05em;
        line-height:1.6em;
    }
    .header-contacts p{
        padding:0;
        background:transparent !important;
        text-align:center;
    }   
    
    .logo_footer{width:100%;margin:10px 0;padding:0;text-align:center;}
    .footer-center{width:96%;}
    .footer_soc{text-align:center;width:100%;}
    
    #slider-section {
        margin-top:300px;
        height: auto;
    }
    .slider .slide {    
        padding: 95px 0 0 0;
        height: calc(100% - 95px);
    }
    .slide-text{        
        font-size:2.5em;
    }
    .add_request{
        text-align:center;
        margin-top:25px;
        padding-bottom:45px;
    }
    .add_request a{
        font-size:1.15em;
    }
    
    .pool_types-content{
        max-width:85%;
        transform:skewX(0deg);
        padding:0 2% 35px 2%;
    }
    .pool_types-content>div{
        transform:skewX(0deg);
    }
    .pool_types-item:nth-of-type(1) .pool_types-content{
        margin-right:0;
    }
    .pool_types-item:nth-of-type(2) .pool_types-content{
        margin-left:0;
    }
    
    .row.simple{
        margin-top:380px;
    }
}/* 590 px*/

@media (max-width:520px) {
    .section-calculate-title{
        font-size:2em;
        margin:35px 0 25px 0;
    }
    .section-calculate form{
        margin:0 auto 25px auto;
    }
    .section-calculate input{
        padding:5px 10px;
        margin:5px;
        font-size:1em;    
    }
    
     
    
   
    
    .gallery-item{
        width:calc(48% - 4px);
    }
    
    .oc-form input{
        width:96%;
        margin:1.5% 1.5% 1.5% 0;
    }
    
    .catalog-block table{  
        font-size:0.8em;
    }
    .catalog-block table tr:first-of-type{
         font-size:0.9em;
    }
    .catalog-block table td[colspan="3"]{
        font-size:1.1em;
    }
}

@media (max-width:450px) {
    .title, h1.title, h2.title{
        font-size:2em;
    }
    .after_title{
        font-size:1em;
        margin:0px 0 15px 0;
    }
    
    .permissions{
        margin:5px 0 5px 2%;
    }
    .permission{
        float:none;
        clear:both;
        width:100%;
        margin:20px auto;
        max-width:200px;
    }
                
}


@media (max-width:400px) {
    .header-phone{
        font-size:1.05em;
    }
    .header-adres{
       font-size:1.05em;
    }
    .slide-text{        
        font-size:1.7em;
    }
    .add_request a{padding:8px 10px;}
    
    .permission-list-item{
       font-size:1.05em;
        line-height:1.3em;
        padding:2px 0 5px 35px;
    }
    
    .section-services .orange_button{
        padding:15px 10px;
        font-size:0.9em;
    }
}/* 400 px*/

@media (max-width:350px) {  
    .footer-copyright,a.footer-wi{
        font-size:0.9em;
    }
}