.h-d{
	display: inline-block;
}

body.lang-pl #boxy_home{
	background-image: none;
}

.bs{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body.bgg{
	min-width: 0;
}

#zawartosc_slider{
	width: 100%;
	max-width: 100%!important;
	min-width: 0 ;
}

#maximage .mc-image{
	min-width: 0;
}

body .mc-cycle{
	min-width: 0 !important;
}
 
#container{
	width: 100%;
	padding: 0 0px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#pas_zamow, #pas_partnerzy,.footer{
	width: 100%;
	padding: 0 15px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.jcarousel-wrapper{
	width: 100% !important;
	padding: 0 60px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin-left: 0!important;
}

.jcarousel-control-prev{
	left: 0!important;
}

.jcarousel-control-next{
	right: 0 !important;
}

#top_line1{
	padding-bottom: 0px;
	border-bottom: 1px solid #d1d1d1;
	background:none;
}

span.mobileButton{
	display: block;
	background-color: #3d96df;
   -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 40px;
    padding: 10px 9px;
    position: absolute;
    right: 10px;
    top: 15px;
    width: 40px;
}

#top_line2{
	position: relative;
}

span.mobileButton span {
    background-color: #fff;
    display: block;
    height: 2px;
    margin-bottom: 7px;
    width: 100%;
}

#top_line1{
	height: auto;
}
#top_contact{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: auto;
	margin-left: 0;
	padding-left: 0px;
}

#top_contact a {
	margin-left: 20px;
}

#top_contact i{
	margin-right: 5px;
}

#top_fb{
	margin-bottom: -4px;
}

#top{
	height: auto;
	padding-left: 15px;
	padding-right: 15px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body.bgg, body.bgg.home{
	background: none;
}

.logo img{
	margin-left: 0;
}

div.menu{
	position: absolute;
	width: 265px;
	right: 10px;
	top: 65px;
	background-color: #3d96df;
	height: auto;
	opacity: 0;
	z-index: -1;
	padding: 10px;
}

span.mobileButton.active + div.menu{
	opacity: 1;
	z-index: 65;
}

.menu ul{
	margin: 5px 0;
}

.menu ul li.m_active, .menu ul li:hover {
    border-top: 0px solid transparent;
}

.menu ul li{
	height: auto;
	margin: 0;
	width: 100%;
	-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 2px 10px;
}

.menu > ul > li.m_active >  a, .menu > ul > li:hover > a, .menu ul li.m_active > span{
	color: #fff;
}

.menu ul li ul{
	position: relative; 
	display: block;
	margin-left: 0;
	margin-top: 5px;
	width :100%;
}

.menu ul li ul li{
	width: 100%;
	padding: 2px 10px;
	background-color: #3d96df;
}

.menu ul li:hover ul li{
	background-color: #3d96df;
}
.menu ul li ul li a{
	text-align: left;
	font-weight :600;
	color: #312f2f;
}

.menu ul li ul li.li_pompy ul{
	margin-top: 0;
	margin-left: 0;
	padding: 0 10px;
	-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

.menu ul li:hover ul li:hover, .menu ul li.m_active  ul li:hover,
.menu ul li.m_active ul li.m_active{
	border: 0px;
	background-color: #3d96df;
}

.menu ul li:hover ul li:hover a, .menu ul li.m_active ul li:hover a{
	color: #fff;
}

.menu ul li.m_active ul li.m_active >  a{
	color: #fff;
}


.menu ul li.m_active ul li.m_active a {
    color:#312f2f;
}

.menu ul li.m_active ul li.m_active > a{
	color: #fff;
}

.menu ul li{
	border-top: 0px solid transparent;
}

.menu ul li.m_active a, .menu ul li:hover a {
	color: #fff;
}




#top_contact a {
    margin-left: 10px;
}

.menu ul li ul li ul li{
	padding: 2px 10px;
}

.menu ul li:hover ul li:hover ul  li:hover a{
	color: #fff;
}

.menu ul li ul ul{
	margin-left: 0;
	margin-top: 0;
}

.menu ul li:hover ul ul{
	display: block;
}

.menu ul li.m_active ul li:hover ul li.m_active  a, .menu ul li.m_active:hover ul li:hover ul li.m_active:hover  a{
	color: #3d96df;
}

div#maximage.desktop{
	display: none;
}

div#maxim2.mobile{
	display: block;
}

div#maxim2.mobile img{
	width: 100%;
	height: auto;
}

#slider_box{
	height: auto;
	z-index: 2;
}

a#arrow_left, a#arrow_right, div#nav{
	display: none;
}

div#boxy_home, body.lang-ua #boxy_home,body.lang-ru #boxy_home, #boxy_home.homen, body.lang-ua #boxy_home.homen, body.lang-ru #boxy_home.homen{
	background: url(../img/boxbg.png) no-repeat center top transparent;
	background-size : cover;
	height: auto;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 20px;
	padding-bottom: 10px;
}

#boxy_home a{
	width: 24%;
	margin-right: 1%;
	height: auto;
}

#boxy_home a:last-child{
	margin-right: 0;
}

#box1,#box2, #box3, #box4{
	margin-left: 0;
	margin-top: 0;
}

#boxy_home a img{
	width: 100%;
	height: auto;
}

#dlaczego_home{
	height: auto;
	background: url(../img/whybg.png) no-repeat center top transparent;
	background-size: cover;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 30px;
	padding-bottom: 30px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	
}
#dlaczego_home h3{
	margin-top: 0;
}

.dlaczego_col1{
	background: url(../img/why1.png) no-repeat left top 12px transparent;	
	padding-left: 55px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin-left: 20px;
	width: 45%;
	float: left;
	 margin-top: 20px;
	 font-size: 11px;
}

.dlaczego_col2{
	background: url(../img/why2.png) no-repeat left -8px top -3px transparent;	
	padding-left: 55px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 45%;
	margin-right: 20px;
	 margin-top: 20px;
	 font-size: 11px;
}

.footer-wrapper-home{
	background: none;
	height: auto;
}

#pas_zamow{
	background-color: #0079b1;
	height: auto;
	padding: 10px 15px;
	overflow: hidden;
	position: relative;
}

#pas_zamow span{
	font-weight: 600;
	color: #ffffff;
	width: 100%;
	display: block;
	float: left;
	max-width: 50%;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

#pas_zamow a{
	margin-right: 0;
	margin-top: 0;
}

#pas_partnerzy{
	margin-top: 20px;
}

.footer{
	height: auto;
	background-color: #0e0e0e;
	overflow: hidden;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 10px;
}

.f_tel, .f_email, .fl2_left, .foot_line1_right{
	margin-left: 0;
	margin-top: 0;
}

.fl2_left{
	width: 50%;
}

.fl2_right{
	float: right;
	width: 50%;
	margin-left: 0;
	margin-top: 0;
}

.foot_line2{
	height: auto;
}

.foot_line1{
	height: auto;
	margin-bottom: 20px;
}

body.bgp{
	min-width: 0;
	background: url(../img/bgp-mobile.png) no-repeat right top 137px transparent;
}

.footer-wrapper, body.bgp.lang-ua .footer-wrapper, body.bgp.lang-ru .footer-wrapper{
	height: auto;
	background: none;
}

#content_podstrona{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

#content_podstrona img{
	max-width: 100%;
}

body.lang-ru .menu > ul > li{
	padding: 2px 10px;
}


div.news-button{
	margin-top: 15px;
}

div.kontakt_col2{
	display: none;
}

.kontakt_col1, .kontakt_col3{
	width: 50%;
	-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

.kontakt_col1{
	padding-right: 20px;
	min-height: 0;
	padding-bottom: 20px;
}

.kontakt_col3{
	padding-left: 0px;
}

.kontakt_col1 .h-d{
	width: 100%;
}

.new-box-home{
	padding-left: 15px;
padding-right: 15px;
    -moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin-top: -10px;
}


.new-box-home a{
	width: 24%;
	margin-right: 0.7%;
}

.new-box-home a img{
	width: 100%;
	height: auto;
}

.new-box-home a.leaf-left::before, .new-box-home a.leaf-right::before{
	display: none;
}

.new-box-home.no-main-boxes{
	margin-top: 25px;
}

.content-cols .content-lcol-with-photos{
	width: 100%;
	float: none;
}


@media all and (max-width: 799px){
	.dlaczego_col1, .dlaczego_col2{
		width: 100%;
		float :left;
		margin-right: 0px;
		margin-left:  0px;
	}
	.dlaczego_col2{
		margin-top: 5px;
	}
	
	#dlaczego_home h3{
		text-align: left;
	}

	.hidden-xs{
		display: none;
	}
}

@media all and (max-width: 699px){
	#top_fb{
		clear: both;
	}
	
	#top_flags{
		float: left;
	}
	
	#zawartosc_slider{
		margin-top: 155px;
	}
	
	body.bgp{
		background-position: right top 167px;
	}
	
	a.button_link{
		 margin: 10px  0px;
		 clear :both;
		 display: block;
		 text-align: center;
		 line-height :14px;
	}
	
}

@media all and (max-width: 599px){
	#boxy_home a, .new-box-home a {
		margin-right: 4%;
		width: 48%;
	}
	
	#boxy_home a:nth-child(2n+2), .new-box-home a:nth-child(2n+2) {
		margin-right: 0;
		float: right;
	}
	
	#boxy_home a {
		margin-right: 4%;
		width: 48%;
	}
	
	#boxy_home a:nth-child(2n+2) {
		margin-right: 0;
		float: right;
	}
	
	img.fullw{
		float :none; display: block;
		margin-left: 0;
		margin-bottom: 20px;
	}
	
	.kontakt_col1, .kontakt_col3{
		width :100%;
	}
	
	.kontakt_col3{
		margin-top: 20px;
	}
	
	
}

@media all and (max-width: 499px){
	.foot_line1_left{
		width: 100%;
	}
	
	.foot_line1_right{
		width: 100%;
		float: left;
		margin-top: 10px;
	}
	
	.fl2_left{
		width: 100%;
	}
	
	.fl2_right{
		width: 100%;
		float :left;
		text-align: left;
		margin-top: 5px;
	}
	
	.galeria img{
		width: 48%;
		float: left;
		margin: 10px 0;
	}
	.galeria a:nth-child(2n+2)  img{
		float: right;
	}
	
	#top_contact a{
		display: block;
		clear: both;
		margin: 5px 0;
	}
}

@media all and (max-width: 399px){
	#top_flags{
		clear: both;
		margin-bottom: 5px;
	}
	
	#top_fb{
		float: left;
		margin-bottom: -10px;
	}
	
	#zawartosc_slider{
		margin-top: 200px;
	}
	
	
	
	#boxy_home a, .new-box-home a {
		margin-right: 0%;
		width: 100%;
	}
	
	#boxy_home a:nth-child(2n+2),.new-box-home a:nth-child(2n+2) {
		margin-right: 0;
		float: left;
	}
	
	.dlaczego_col1, .dlaczego_col2{
		line-height:20px;
		height: auto;
		background: none;
		padding-left: 0px;
	}
	
	#pas_zamow span{
		top: 0;
		-webkit-transform: translateY(0);
		transform: translateY(0);
		width: 100%;
		max-width: 100%;
		position: relative;
		text-align: center;
	}	
	
	#pas_zamow a{
		float :none;
		margin: 55px auto 0;
	}
	body.bgp{
		background-position: left 60% top 200px;
	}
	
	#content_podstrona img{
		clear :both;
		display: block;
		margin: 10px 0;
		float: none;
	}
	
	#content_podstrona img.hidden-xs{
		display: none;
	}
	
	#content_podstrona ul{
		margin-top: 0;
	}
	
	#content_podstrona .galeria img{
		width: 48%; 
		clear :none;
		float :left;
	}
	
	#content_podstrona .galeria a:nth-child(2n+2) img{
		float :right;
	}
	
	#content_podstrona img.img-flag{
		margin: 0 5px;
		display:inline-block;
		clear: none;
	}	
	
	.logo img{
		margin-top: 18px;
		width: 190px;
	}
	
}

/* body.build */

 body.build  .menu ul li.m_active > a,  body.build  .menu ul li:hover > a , body.build  .f_tel span, body.build .f_email a, body.build .fl2_left span, body.build  .fl2_right a, body.build  #content_podstrona span, body.build .menu ul li.m_active span{
    color: #fff;
}

body.build span.mobileButton, body.build div.menu, body.build .menu ul li ul li{
	background-color: #97be0d;
}

body.build .menu ul li.m_active > a, body.build .menu ul li:hover > a {
    color: #fff;
}

body.build #boxy_home, body.lang-ua.build #boxy_home, body.build.lang-ru #boxy_home{
 background: transparent url("../img/boxbg.png") no-repeat scroll center top / cover ;
} 