/*rwd*/
.mean-container .mean-bar{
    position: absolute;
    z-index: 20;
}
.mean-container .mean-bar:after{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(14,38,90,0.7);
    left: 10px;
    top:2px;
}
.mean-container .mean-bar,
.mean-container .mean-nav ul li a.mean-expand{ 
    background: none;
}   
.mean-container  #block-superfish-1,
.mean-container  #block-superfish-2{
    float: left;
    width: 100%;
}
.meanclose #block-superfish-2 ul{
    margin-top: 0 !important;
    display: block !important;
}
#menu_rwd{
    width: 50px;
    margin: 0 auto;
}
.mean-container .mean-nav ul li a.mean-expand{ 
    border-left: none !important;
    border-bottom: none !important;
    height: 34px;
}
.mean-container .mean-nav ul li a.mean-expand,
.mean-container .mean-nav ul li a.mean-expand:hover{
    background: #27aeec;
} 
.mean-container .mean-nav{
    height: 40px;
    margin-top: 0;
    background: none;
    max-width: 100%;
    right: 0;
    top:0;
} 
.mean-container .mean-nav.open{
    height: 80vh;
    overflow: auto;
    margin: 0;
    padding: 0;
    top: 30px;
    position: absolute;
}
.mean-container a.meanmenu-reveal {
    font-size: 14px !important;
    font-weight: 300 !important;
    max-width: 100%;
    display: block;
    text-align: center;
    width: 40px;
    top: 15px;
    left: 20px !important;
    right: auto; 
    z-index: 10;
    padding: 0;
}
.mean-container a.meanmenu-reveal img{
    display: block;
    max-width: 190px;
    height: auto;
    float: left;
    background: #fff;
    padding: 5px;
    margin-top: -5px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
} 
.mean-container a.meanmenu-reveal .hamburger{
    width: 50px;
    float: right;
} 
.mean-container .mean-bar{
    padding: 10px 0 0;
    min-height: none;
}
.mean-container .mean-nav ul{
    /*margin-top: 55px;*/
    width: 100%;
}
.mean-container .mean-nav ul li{
    background: #0e265a !important;
} 
.mean-container .mean-nav ul li span,
.mean-container .mean-nav ul li a {
	display: block;
	float: left;
	width: 90%;
	padding: 1em 5%;
	margin: 0;
	text-align: left;
	color: #fff; 
    border-top: solid 1px #27aeec;
	text-decoration: none;
	text-transform: uppercase;
}
.mean-container .mean-nav ul li li a{
    padding: 1em 6%;
    opacity: 1;
}
/*smartphone*/
@media only screen and (max-width: 40em) {
    
.front #content::after{
    display: none;
}  
*{
    background-attachment: scroll !important;
} 
.title{
	font-size:1.3em; 
}   
    
.front #content,    
#content{
    padding:1em;
    background: none;
}   
#content p{
    text-align: center;
}
#content p a,
.node-type-produkt .field-name-field-zdj-cia a.colorbox{
    margin: 0 auto;
}
.node-type-produkt .field-name-field-zdj-cia a.colorbox{
    float: none;
    text-align: center;
}    
#logo_container{
    float: none;
    width: 80%;
    height: 100px;
    margin-top: 70px;
    display: block;  
    background-position: center center;
    background-size: 90% auto;
}  
#header h1{
    position: absolute;
    font-size: 1em;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}  
#block-views-oferta-front-block{
    margin-top: 0;    
}    
#block-menu-block-1 ul.menu,    
.view-oferta-front .view-content{
    flex-direction: column;    
}
.view-oferta-front .views-row{
    width: 100%;    
}   
.view-oferta-front .views-field-title{
    top:50px; 
}
.view-oferta-front .views-field-view-node a::after{
    bottom: 50px;
}       
#counter::before{
    background-position: center top;
}
.counter-container{
    width: 100%;    
}    
#block-views-loga-ue-block,
#block-views-nasi-klienci-block{
    max-width: 95%;    
}      
#block-views-loga-ue-block .field-content{
    flex-wrap: wrap;
}   
#block-views-loga-ue-block .field-content img{
    max-width: 36%;
    margin: 4.5%;
}  
.not-front .node-type-page .field-name-body,
.node-type-oferta .field-name-body,
.node-type-page .field-name-field-obraz,
.node-type-oferta .field-name-field-obraz,    
#footer-contact,
#footer-map,
.node-webform .field-name-body,    
.node-webform .webform-client-form,
.node-webform .form-item,
.form-actions input{ 
	width:100%; 
} 
.view-referencje .views-field-field-obraz{
    text-align: center;
    margin-bottom: 1em;
} 
#footer-contact{
    background-size: 130% auto;    
}    
#footer-map{
    margin-top: 0;    
}    
footer{
    padding: 30px 0;    
}  
#block-block-1{
    padding-top: 80px;
} 
.c-data{
    width:130px;
    height:130px;
    line-height: 110px;
    border: solid 5px rgba(39,174,236,0.5);
}
.c-data::after{
    width: 140px;
    height: 140px;
    left: -10px;
    top: -10px;
    border: solid 5px rgba(39,174,236,0.5);
}    
.counter{
    font-size: 1.7em;
}    
.plus{ 
    font-size: 1em;    
} 
#powierzchnia::before{
     bottom: 45px;   
}  
.player{
     text-align: center;   
} 
.player iframe{
    max-width: 100%; 
}
#block-block-2{
    margin-top: 2em;
}
.node-type-webform footer{
    width: 100%;
    margin-left: 0;
    padding: 0 1em;
    margin-top: 0;
}    
.node-webform .field-name-body{
    margin-bottom: 1em;
}     
.webform-component p{
    text-align: center !important;
    font-size: 1.2em !important;
} 
#copyright{      
    position: relative;
    margin-left: 1%;
    margin: 10px 0;
    width: 98%;
    height: auto;
}    
#copyright{
    padding: 10px 0;
    height: auto;
    flex-direction: column;
}    
#copy{
    position: relative; 
    width: 100%;  
    bottom: 0;
    left: 0;
    line-height: 20px;
    font-size: 0.8em;
    padding: 0;
    text-align: center;
    margin-bottom: 10px;
}    
#efabryka{ 
     width: 180px; 
     margin: auto;
     display: table;
     position:relative;
     bottom: 0px;
     font-size: 0.8em;
     right: 0;
     left: 0;
     float: none;
} 
#content table{
     display: block;
     max-width: 100%;
     overflow: scroll;
}   
    /* 
    
table tr td{
    display: block !important;
    width: 100%;
}  */
}



@media only screen and (min-width: 40.063em) and (max-width: 64em) {

.front #content::after{
    display: none;
}
*{
    background-attachment: scroll !important;
} 
.front #content,    
#content{
    padding:1em;
    background: none;
} 
.title,
.block__title,
.node__title{ 
	font-size:1.5em;   
} 
.view-oferta-front .views-field-title{
    top:25px; 
}
.view-oferta-front .views-field-view-node a::after{
    bottom: 20px;
}    
#counter::before{
    background-position: center top;
}    
#block-views-loga-ue-block,
#block-views-nasi-klienci-block{
    max-width: 95%;    
}  
.c-data{
    width:160px;
    height:160px;
    line-height: 140px;
}
.c-data::after{
    width: 180px;
    height: 180px;
}    
.counter{
    font-size: 2.3em;
}    
.plus{
    font-size: 1em;    
} 
#powierzchnia::before{
     bottom: 70px;   
}  
.player{
     text-align: center;   
}    
#block-menu-block-1 ul.menu li a{
     padding: 10px 20px;   
}    
nav ul.menu li a, 
nav ul.menu li a.active, 
nav ul.menu li span{
   margin: 0 0.9em;
   font-size: 0.9em;
}     
.node-webform .field-name-body,    
.node-webform .webform-client-form{ 
	width:100%; 
} 
.node-webform .field-name-body{
    margin-bottom: 1em;
}    
.node-webform .field-name-body p{
    text-align: center !important;
}
#footer-contact{
    margin-left: -130px;
}    
#footer-map{
    width: calc(100% - 360px);    
}    
#copyright{
    padding: 10px 0;
    height: auto;
    flex-direction: column;
}    
#copy{
    position: relative; 
    width: 100%;  
    bottom: 0;
    left: 0;
    line-height: 20px;
    font-size: 0.8em;
    padding: 0;
    text-align: center;
    margin-bottom: 10px;
}    
#efabryka{ 
     width: 180px; 
     margin: auto;
     display: table;
     position:relative;
     bottom: 0px;
     font-size: 0.8em;
     right: 0;
     left: 0;
     float: none;
}  
}

@media all and (max-width: 1024px){
    .menu_close_btn,
    .menu_open_btn{
        display: none;
    }

    nav{
        position: relative;
        z-index: 0;
        top: initial;
        width: auto;
        padding-top: 2.5em;
        background: none;
        left: initial;
        transition: all .4s ease;
    } 
}