@media all and (max-width: 1120px) {
	div.justify {width:98%;}
	section#steps ul li {margin:10px 5px;}
	.box-know {display:none;}
	article#content.wniosek.wide {padding-right:0;width:800px;}

}

@media all and (max-width: 820px) {
	header#logo {text-align:center;width:100%;height:83px;left:0;margin-left:0;top:55px;background-color:rgba(37, 39, 49, 0.7);padding:10px 0;}
	section#opinie.content div.right h3 {font-size:40px;}
	footer#bottom nav#submenu {text-align:center;}
	footer#bottom p.design {width:100%;text-align:center;bottom:-20px;}
	div.boxes5 div.box img {max-width:100%;}
	footer#bottom div.copyright {text-align:center;}
	section.content p.phone {position:relative;top:0;right:auto;}
	section.choice div.box img {max-width:100%;}
	div.supplement {display:none;}
	div.calculator {width:100%;margin:0;}
	table.form {width:100%;}
	section.form label {width:100%;}
	section.form input, section.form textarea {width:100%;}
	article#content {width:96%;}
	article#content.wniosek.wide {width:96%;}

	div.fb-widget	{display:none;}
	div.pf-widget {display:none;}
}

@media all and (max-width: 640px) {
	section#opinie.content div.right h3 {font-size:30px;line-height:40px;padding-top:170px;}
	section#opinie.content div.left div.opinia p, section#opinie.content div.left div.opinia p span {font-size:14px;}
	footer#bottom nav#submenu {display:none;}
	footer#bottom {height:auto;}
	footer#bottom div.copyright p {line-height:16px;}
	div.boxes5 div.box {width:50%;}
	div.zalety img {display:none;}
	section.choice div.box {width:47%;}
	img.center {max-width:100%;}
	section.content header h2 {font-size:40px;}
	section.content table.form {width:100%;}
	section.content section.form.kontakt input, section.content section.form.kontakt textarea {width:100%;}
	/*div.calculator input[type="text"] {left:350px;top:75px;}*/
	div.result {width:100%;}
	div.result div.result-button a i {display:none;}
}

@media all and (max-width: 560px) {
	section#front.main header h2 {font-size:42px;line-height:42px;}
	section#opinie.content {background-position:90% -90px;}
	section#opinie.content div.left {width:100%;}
	section#opinie.content div.left div.opinia p {color:#000;}
	section#opinie.content div.right {display:none;}
	section.content.czekamy section.form {width:96%;}
	section.content.czekamy table.form {width:100%;}
	div.fb-widget, div.lr-widget {display:none;}
	header#logo img {max-width:100%;}
	section.content div.justify div.opinion table {width:100%;}
	section.content div.justify div.opinion {padding-left:10px;padding-right:10px;}
	.calculator .ui-widget-content {display:none;}
	div.calculator .scontent.pslider, div.calculator .scontent.rslider {background:none;padding-bottom: 15px;}
	div.calculator input[type=text] {
		float: none;
		width: 100%;

		padding: 15px;
		text-align: left;
	}
	div.result {
		margin-top: 15px;
		display:table;
		width: 100%;
		height: auto;
	}
	div.result div.result-button {
		display: block;
		width: 100%;
		height: auto;
	}
	div.result div.result-rata {
		display: block;
		width: 100%;
		height: auto;
	}
	div.result div.result-button a {
		display: block;
		height: auto;
		padding: 25px 15px;
	}
	div.calculator h3 {
		margin-bottom: 0;
	}
	div.calculator .scontent {min-height:0;}
	span.rata {font-size:15px;}
	div.result div.result-button a span {line-height:16px;}
	table.phone {width:100%;}
	#filtr div.form label, article.wniosek div.form label {top:0;width:100%;}
	#filtr div.form input, #filtr div.form select, article.wniosek div.form input, article.wniosek div.form textarea, article.wniosek div.form select {width:100%;margin-top:10px;}
	#filtr div.form span, article.wniosek div.form span {display:none;}
	#filtr input[type="submit"], article.wniosek input[type="submit"], form.td input[type="submit"] {padding:10px;font-size:14px;}

}

@media all and (max-width: 450px) {
	section.choice div.box {width:90%;margin:5px auto;display:table;}
	div.result div.result-rata p.txt {line-height:16px;}
	div.result div.result-button a span {display:none;}
	div.result div.result-rata p {line-height:40px; margin-bottom:0;}
	div.result div.result-rata i {display:none;}
	div.result div.result-rata p.txt {padding:17px 0 0 0;}
}

@media all and (max-width: 820px) {
	nav#menu {display:none; }
	.nav-collapse ul {
	  margin: 0;
	  padding: 0;
	  width: 100%;
	  display: block;
	  list-style: none;
	}
	
	.nav-collapse li {
	  width: 100%;
	  display: block;
	}
	
	.js .nav-collapse {
	  clip: rect(0 0 0 0);
	  max-height: 0;
	  position: absolute;
	  display: block;
	  overflow: hidden;
	  zoom: 1;
	  z-index:9999;
	}
	
	.nav-collapse.opened {
	  max-height: 9999px;
	}
	
	.disable-pointer-events {
	  pointer-events: none !important;
	}
	
	.nav-toggle {
	  -webkit-tap-highlight-color: rgba(0,0,0,0);
	  -webkit-touch-callout: none;
	  -webkit-user-select: none;
	  -moz-user-select: none;
	  -ms-user-select: none;
	  -o-user-select: none;
	  user-select: none;
	}
	}
	@media screen and (min-width: 820px) {
	  .js .nav-collapse {
		position: relative;
	  }
	  .js .nav-collapse.closed {
		max-height: none;
	  }
	  .nav-toggle {
		display: none;
	  }
}
@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

/* ------------------------------------------
  NAVIGATION STYLES
  (+ responsive-nav.css file is loaded in the <head>)
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 820px) {
  .nav-collapse li {
    width: 25%;
    *width: 24.9%; /* IE7 Hack */
    _width: 19%; /* IE6 Hack */
  }
}

.nav-collapse a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  background: #07222b;
  border-bottom: 1px solid white;
  padding: 0.7em 1em;
  float: left;
  text-transform:uppercase;
}

@media screen and (min-width: 820px) {
  .nav-collapse a {
    margin: 0;
    padding: 1em;
    float: left;
    text-align: center;
    border-bottom: 0;
    border-right: 1px solid white;
  }
}

.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

@media screen and (min-width: 820px) {
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

.nav-toggle {
  position: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  text-indent: -999px;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  background-color:#999;
  color: #FFF; /* Edit this to change the icon color */
  font-family: "responsivenav", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  font-size: 28px;
  text-transform: none;
  position: absolute;
  content: "≡";
  text-indent: 0;
  text-align: center;
  line-height: 55px;
  speak: none;
  width: 100%;
  top: 0;
  left: 0;
  z-index:10000;
}

.nav-toggle.active::before {
  font-size: 24px;
  content:"x";
}