

@media only screen and (max-width: 1250px) {
	.pagewidth{
		width: 1000px;
	}
	#menu-top.fixed{
		margin: 5px 0 0 170px;
	}
	header.fixed #menu-top{
		margin: 5px 0 0 170px;
	}	
	.sf-menu a {
		padding: 0 10px 0 10px;
		font-size: 22px;
	}	
	.mp-galeria ul li{
		height: 200px;
	}
	.def_rows .image{
		border: 5px solid #0cb16c;
	}
}

@media only screen and (max-height: 900px) {
	footer {
		padding: 0 0 250px 0;
	}
}
@media only screen and (max-height: 800px) {
	footer {
		padding: 0 0 150px 0;
	}
}
@media only screen and (max-height: 700px) {
	footer {
		padding: 0 0 50px 0;
	}
}
@media only screen and (max-height: 600px) {
	footer {
		padding: 0 0 50px 0;
	}
}



/* dla rozdzielczości 768px */

@media only screen and (max-width: 999px) {
	.pagewidth{
		width: 768px;
	}
	.baner{
		height: 257px;
	}
	header #h-mobile{
		display: block;
	}
	#menu-top{
		display: none;
	}
	a.menu-mobile-toggle{
		display: block;
	}
	#menu-mobile{
		display: block;
	}
	#ofirmie, #oferta, #aktualnosci, #referencje, #galeria, #dojazd, #kontakt{
		top: -60px;
	}
	#back-top a, #go-down a{
		display: none;
	}
	header{
		position: relative;
		text-align: center;
		height: 60px;
		min-height: 60px;
		z-index: 200;
		-webkit-box-shadow: none;
		-moz-box-shadow:    none;
		box-shadow:         none;	
	}
	header.fixed{
		position: relative;
	}
	header .logo{
		display: none;
		position: relative;
		text-align: center;
		padding: 20px 0;
	}
	header.fixed .logo{
		position: relative;
		margin: 0 0 0 0;
	}
	header .logo-small.fixed{
		display: none;
	}
	header a.main-logo{
		display: none;
	}
	.wrap{
		padding-top: 0;
	}
	footer{
		line-height: 1.2;
		padding: 15px 0;
		min-height: auto;
	}
	footer .left{
		float: none;
		text-align: center;
	}
	footer .right{
		float: none;
		text-align: center;
		margin: 15px 0 0 0;
	}
	.articles .row .photo{
		float: left;
		width: 30%;
	}
	.articles .row .right{
		float: left;
		width: 70%;
	}
	#slider{
		min-height: auto;
	}
	.kontakt .kc .left{
		float: none;
		width: 100%;
		height: auto;
		text-align: center;
	}
	.kontakt .kc .right{
		float: none;
		width: 100%;
		padding-top: 50px;
		text-align: center;
	}
	.aktualnosci .row{
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}
	.mp-galeria ul li{
		height: 150px;
	}
	.def_rows{
		margin: 50px 0 0 0;
	}
	.def_rows .def1, .def_rows .def2, .def_rows .def3{
		float: none;
		width: 100%;
		padding: 0 0 10px 0;
		margin: 0 0 50px 0;
	}
	.home_parallax {
		display: block;
		position: relative;
		background: url(../img/baner.jpg) no-repeat;
		background-size: cover;
		background-position: bottom;
		background-color: #1d1b1b;
		overflow: hidden;
		height: 345px;
		width: 100%;
	}
	.home_parallax .c {
		position: absolute;
		bottom: 30px;
		width: 100%;
	}
	.home_parallax .t {
		font-size: 28px;
		font-weight: 400;
		white-space: normal;
		animation: none;
	}
	.home_parallax .t::after{
		display: none;
		content: "";
		animation: none;
	}
	.home_parallax .b a {
		animation: none;
	}
}



/* dla rozdzielczości 420px */

@media only screen and (max-width: 767px) {
	.pagewidth{
		width: 95%;
	}
	#main-content{
		width: 100%;
	}	
	#slider{
		margin: 0 auto 0 auto;	
	}
	.logowanie, .rejestracja {
		width: auto;
		max-width: 95%;
		margin: 0px auto;
	}
	.kontakt-l{
		width: 100%%;
		float: none;
		margin-top: 20px;
	}
	.kontakt-r{
		width: 100%;
		float: none;
		text-align: left;
		margin-top: 20px;
		margin-right: 0;
	}	
	.oferta-table td{
		display: block;
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}	
	.portfolio-table td{
		display: block;
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}
	.aktualnosci{
		 background-size: cover;
	}
	.aktualnosci .row{
		padding-bottom: 50px;
	}
	#witamy .content{
		background: #fff;
		margin-top: 0;
	}
	#witamy .content .text{
		padding: 20px 0 20px 0;
	}
	.mp-galeria ul li, .podstrona .mp-galeria ul li{
		width: 50%;
		height: 250px;
	}
	#cookie-info-bar{
		position: relative;
	}
	.parallax-slider #mainCaptionHolder .container {
		bottom: 15%;
	}
	.parallax-slider #mainCaptionHolder .container .slider_caption small {
		-webkit-animation: none;
		-moz-animation: none;
		animation: none;
	}
	.parallax-slider #mainCaptionHolder .container .slider_caption strong {
		-webkit-animation: none;
		-moz-animation: none;
		animation: none;
	}
	.oferta-p .pcat-list td {
		display: block;
		width: 100%;
	}
	.oferta-p .pcat-list td .row{
		display: block;
		width: 100%;
		max-width: 100%;
	}
	.formularz .left{
		width: 100%;
		margin-right: 0;
	}
	.formularz .right{
		width: 100%;
	}
	.omnie-l {
		float: none;
		width: 100%;
	}
	.omnie-r{
		padding: 20px 5% 30px 5%;
		float: none;
		width: 90%;		
	}
	.oferta{
		background: url('../img/oferta_bg.jpg') repeat center center;
		background-size: auto;
	}
}

@media only screen and (max-width: 480px) {
	.baner{
		height: 161px;
	}
	.aktualnosci .row .left{
		float: none;
		width: 100%;
	}
	.aktualnosci .row .left img.avatar{
		width: 99%;
		max-width: 99%;
	}
	.aktualnosci .row .right{
		float: none;
		width: 100%;
	}
	.mp-galeria ul li, .podstrona .mp-galeria ul li{
		width: 100%;
		height: 300px;
	}
	footer{
		font-size: 18px;
	}
	footer a{
		font-size: 18px;
	}
}


@media only screen and (max-width: 320px) {
	.articles .row .photo{
		float: none;
		width: 100%;
	}
	.articles .row .photo img{
		width: 100%;
	}
	.articles .row .right{
		float: none;
		width: 100%;
	}
	.mp-galeria ul li, .podstrona .mp-galeria ul li{
		width: 100%;
		height: 200px;
	}
}
