html,
body {
	height: 100%;
	padding: 0;
	margin: 0;
	font-family: sans-serif;
}

img {
	border: 0;
}

section {
	display: block;
	width: 100%;
	min-width: 960px;
	position: relative;
	height: 100%;
	min-height: 600px;
	background: url(img/bg2.png) no-repeat center bottom #15448a;
	background-attachment: fixed !important;
}


/*tlo na poddstronach*/

section#wysokosciowe {
	background-color: #e9b602;
}

section#wycena {
	background-color: #3893ff;
}

section#dekarskie {
	background: #c1c0af;
}
section#przecieki {
	background: rgb(121, 116, 116);
}

section#kontakt {
	background-color: #00c297;
}

section .inner_bg {
	display: block;
	height: 100%;
	min-height: 600px;
	width: 100%;
}

section#dekarskie .inner_bg {
	background: url(img/dekarskie_bg.png) no-repeat center;
	background-size: 100%
}
section#przecieki .inner_bg {
	background: url(img/glass-roof.jpg) no-repeat center;
	background-size: 100%
}


/* po no-repeat: -100px, było center */

section#wycena .inner_bg {
	background: url(img/oferta_bg.png) no-repeat right bottom;
}

section#wysokosciowe .inner_bg {
	background: url(img/uslugi_bg.png) no-repeat -100px center;
}

section .logo {
	position: absolute;
	top: 10%;
	left: 10%;
	z-index: 99;
}

section#dekarskie .logo
/*{left:40%;}*/

{
	padding: 20px 40px;
	left: 2%;
	top: 2%;
}
section#przecieki .logo
/*{left:40%;}*/

{
	padding: 20px 40px;
	left: 2%;
	top: 2%;
}

section#wysokosciowe .logo
/*{padding:20px 40px;left:2%;top:2%;}*/

{
	left: 40%;
}


/*nawigacja na kasku*/

section#firma #front_navigation {
	display: block;
	height: 100%;
	margin: 0;
	padding: 0;
	max-height: 790px;
	width: 450px;
	background: url(img/firma_bg.png) no-repeat 0 bottom;
	position: absolute;
	top: 0;
	right: 5%;
	z-index: 2;
	display-style: none;
}

section#firma #front_navigation li {
	list-style: none;
	display: block;
	position: absolute;
	height: 30px;
	width: 0;
}

#front_navigation li.firma {
	left: 180px;
	bottom: 390px;
}

#front_navigation li.wysokosciowe {
	left: 180px;
	bottom: 420px;
}

#front_navigation li.dekarskie {
	left: 30px;
	bottom: 340px;
}

#front_navigation li.wycena {
	left: 100px;
	bottom: 200px;
}

#front_navigation li.kontakt {
	left: 270px;
	bottom: 30px;
}
#front_navigation li.przecieki {
	left: 190px;
	bottom: 140px;
}
#front_navigation li.realizacje {
	left: 230px;
	bottom: 80px;
}

section#firma #front_navigation li a {
	color: #fff;
	display: block;
	text-decoration: none;
	font-family: sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1em;
	line-height: 20px;
	overflow: hidden;
	background: #000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px 0px 5px 40px;
	width: 230px;
}

section#firma #front_navigation li a span {
	display: block;
	position: absolute;
	height: 40px;
	width: 140px;
	background: url(img/point.png) no-repeat top left;
	top: -5px;
	left: -10px;
}

#firma #front_navigation li a.m {
	width: 80px;
}

section#firma #front_navigation li a:hover span {
	background-position: 0 -40px;
}


/*nawigacja na dole ekranu*/

#nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 50%;
	margin-left: -550px;
	width: 1050px;
	height: 60px;
	background: rgba(0, 0, 0, .8);
	color: #fff;
	z-index: 100;
}

#nav a {
	display: block;
	width: 170px;
	text-align: center;
	float: left;
	color: #fff;
	text-decoration: none;
	line-height: 60px;
	font-family: sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-size: .8em;
	text-shadow: -1px -1px #444;
	background: url(img/menu_bg1.png) no-repeat 0 120px;
}

#nav a.dekarskie,
#nav a.wysokosciowe {
	width: 270px;
}

#nav a.dekarskie {
	background-image: url(img/menu_bg2.png);
}

#nav a.wysokosciowe {
	background-image: url(img/menu_bg5.png);
}

#nav a.wycena {
	background-image: url(img/menu_bg3.png);
}

#nav a.kontakt {
	background-image: url(img/menu_bg4.png);
}

#nav a.active {
	background-position: 0 0;
}

h1,
h3 {
	font-family: sans-serif;
	font-size: 2em;
}


/*firma*/

#firma h1 {
	color: #e9b602;
	position: absolute;
	top: 30%;
	left: 10%;
	width: 450px;
	text-rendering: optimizeLegibility;
}

#firma h3 {
	font-size: 1.5em;
	color: #e9b602;
	position: absolute;
	top: 30%;
	left: 10%;
	width: 450px;
	text-rendering: optimizeLegibility;
}

#firma div.content {
	background: #e9b602;
	position: absolute;
	top: 55%;
	width: 75%;
	margin-left: 8%;
	height: 250px;
	padding: 0 30px;
	overflow: hidden;
	border: 30px solid #e9b602;
}

#firma p {
	font-family: Tahoma, sans-serif;
	font-size: .8em;
	color: #734e06;
	font-weight: 600;
	width: 50%;
	padding: 0;
}

#firma p a {
	color: #734e06;
	text-decoration: underline;
}

#firma li {
	font-family: Tahoma, sans-serif;
	font-size: .8em;
	color: #734e06;
}

#firma .content h2 {
	font-family: Tahoma, sans-serif;
	font-size: 1.2em;
	color: #734e06;
	margin: 5px 0;
	padding: 0;
}

#firma .sc_nav {
	display: block;
	width: 80px;
	height: 40px;
	position: absolute;
	top: 55%;
	margin-top: 210px;
	left: 500px;
}

.sc_nav a {
	display: block;
	width: 100px;
	height: 40px;
	width: 40px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	background: #fff;
	text-indent: 80px;
	overflow: hidden;
}

.sc_nav a.up {
	background: url(img/up.gif) no-repeat 0 0;
}

.sc_nav a.down {
	background: url(img/down.gif) no-repeat 0 0;
	position: absolute;
	right: 0;
	top: 0;
}


/*dekarskie*/

#dekarskie h1 {
	color: #fff;
	position: absolute;
	top: 25%;
	left: 40%;
	width: 450px;
	text-rendering: optimizeLegibility;
}


#dekarskie h3 {
	font-size: 1.5em;
	color: #fff;
	position: absolute;
	top: 25%;
	left: 40%;
	width: 450px;
	text-rendering: optimizeLegibility;
}


#dekarskie div.content {
	background: #111;
	position: absolute;
	top: 45%;
	width: 60%;
	margin-left: 40%;
	padding: 0;
	color: #fff;
	height: 300px;
}

#dekarskie .content p {
	font-family: Tahoma, sans-serif;
	font-size: 1em;
	color: #fff;
	margin: 20px;
}

#dekarskie .content h2,
#dekarskie .content h4 {
	margin: 0 20px;
}

#dekarskie_nav {
	padding: 0 10px;
	width: 190px;
	float: left;
}

#dekarskie_nav li {
	list-style-type: none;
	padding: 5px 10px;
	text-align: right;
}

#dekarskie_nav li a {
	color: #fff;
	text-decoration: none;
}

#dekarskie_nav li a:hover,
#dekarskiee_nav li a.active {
	color: #e9b602;
}

#dekarskie #sub_content {
	height: 300px;
	overflow: hidden;
}

#dekarskie ul {
	margin: 10px;
	padding: 20px;
}

#dekarskie ul li {
	margin-bottom: 5px;
	font-size: .8em;
	color: #fff;
	list-style-type: none;
}

#dekarskie ul li a {
	font-size: .9em;
	color: #fff;
}

/*przecieki*/

#przecieki h1 {
	color: white;
	position: absolute;
	top: 25%;
	left: 5%;
	width: 450px;
	text-rendering: optimizeLegibility;
}


#przecieki h3 {
	font-size: 1.5em;
	color: #e9b602;
	position: absolute;
	top: 25%;
	left: 40%;
	width: 450px;
	text-rendering: optimizeLegibility
}


#przecieki div.content {
	background: #111;
	position: absolute;
	top: 53%;
	width: 60%;
	margin-right: 40%;
	padding: 0;
	color: #fff;
	height: 300px;
	box-sizing: border-box;
}

#przecieki .content p {
	font-family: Tahoma, sans-serif;
	font-size: 1em;
	color: #fff;
	margin: 20px;
}

#przecieki .content h2,
#przecieki .content h4 {
	margin: 0 20px;
	color: #e9b602
}
#przecieki_nav {
	padding: 0 10px;
	width: 190px;
	float: left;
}

#przecieki_nav li {
	list-style-type: none;
	padding: 5px 10px;
	text-align: right;
}

#przecieki_nav li a {
	color: #fff;
	text-decoration: none;
}

#przecieki_nav li a:hover,
#przecieki_nav li a.active {
	color: #e9b602;
}

#przecieki #sub_content {
	height: 300px;
	overflow: hidden;
}

#przecieki ul {
	margin: 10px;
	padding: 20px;
}

#przecieki ul li {
	margin-bottom: 5px;
	font-size: .8em;
	color: #fff;
	list-style-type: none;
}

#przecieki ul li a {
	font-size: .9em;
	color: #fff;
}


/*wysokosciowe*/

#wysokosciowe h1 {
	color: #fff;
	position: absolute;
	top: 25%;
	left: 40%;
	width: 450px;
	text-rendering: optimizeLegibility;
}

#wysokosciowe h3 {
	font-size: 1.5em;
	color: #fff;
	position: absolute;
	top: 25%;
	left: 40%;
	width: 450px;
	text-rendering: optimizeLegibility;
}

#wysokosciowe div.content {
	background: #111;
	position: absolute;
	top: 45%;
	width: 60%;
	margin-left: 40%;
	padding: 0;
	color: #fff;
	height: 300px;
}

#wysokosciowe ul {
	margin: 10px;
	padding: 20px;
}

#wysokosciowe ul li {
	list-style-type: none;
	margin-bottom: 5px;
}

#wysokosciowe ul li a {
	color: #fff;
}

#wysokosciowe_nav {
	padding: 0 10px;
	width: 190px;
	float: left;
}

#wysokosciowe_nav li a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

#wysokosciowe_nav li a:hover,
#wysokosciowe_nav li a.active {
	color: #e9b602;
}

#wysokosciowe #sub_content {
	height: 300px;
	overflow: hidden;
}

#wysokosciowe #sub_content ul {
	height: 300px;
	margin: 0;
	padding: 20px 10px 20px 30px;
}

#wysokosciowe #sub_content ul li {
	margin-bottom: 5px;
	list-style-type: circle;
}

#wysokosciowe .content p {
	font-family: Tahoma, sans-serif;
	font-size: .8em;
	color: #999;
}

#wysokosciowe .content h2 {
	padding: 0;
	margin: 0;
}

/*realizacje*/


#realizacje h1 {
	color: white;
	position: absolute;
	top: 15%;
	left: 2%;
	width: 450px;
	text-rendering: optimizeLegibility;
}

#realizacje h3 {
	font-size: 1.5em;
	color: #fff;
	position: absolute;
	top: 25%;
	left: 40%;
	width: 600px;
	text-rendering: optimizeLegibility;
}

#realizacje div.content {
	background: #111;
	position: absolute;
	top: 45%;
	width: 60%;
	margin-left: 40%;
	padding: 0;
	color: #fff;
	height: 300px;
}

#realizacje ul {
	margin: 10px;
	padding: 20px;
}

#realizacje ul li {
	list-style-type: none;
	margin-bottom: 5px;
}

#realizacje ul li a {
	color: #fff;
}

#realizacje_nav {
	padding: 0 10px;
	width: 190px;
	float: left;
}

#realizacje_nav li a {
	color: #fff;
	text-decoration: none;
}

#realizacje_nav li a:hover,
#realizacje_nav li a.active {
	color: #e9b602;
}

#realizacje #sub_content {
	height: 300px;
	overflow: hidden;
}

#realizacje #sub_content ul {
	height: 300px;
	margin: 0;
	padding: 20px 10px 20px 30px;
}

#realizacje #sub_content ul li {
	margin-bottom: 5px;
	list-style-type: circle;
}

#realizacje .content p {
	font-family: Tahoma, sans-serif;
	font-size: .8em;
	color: #999;
}

#realizacje h2 {
	padding: 0;
	margin: 0;
	padding-bottom: 5px;
	color: white;
}

#bigpicture{
	width: 50%;
	height: 60%;
	text-align: center;
	margin: 0 auto;
}
#bigpicture img{
	margin: 0 auto;
	text-align: center;
	padding: 5px;
	display: block;
	image-orientation: from-image;
}

.column {
	float: left;
	width: 30%;
	padding: 10px;
	text-align: center;
	margin: 0 auto;
  }
  
  .rowst:after {
	content: "";
	display: inline-block;
	clear: both;
  }

.column img {
	float: left;
	padding: 5px;
}
.column img:hover{
	border: 2px solid white;
}
#re img:hover{
	border: 2px solid white;
	padding: 5px;
}
#wi img:hover{
	border: 2px solid white;
	padding: 5px;
}

#realizacje .logo{
	position: absolute;
	top: 1%;
	left: 1%;
}




/*wycena*/

#wycena div.content {
	background: #111;
	position: absolute;
	top: 45%;
	width: 40%;
	margin-left: 10%;
	padding: 0;
	color: #fff;
	height: 300;
	border: 20px #111 solid;
}

#wycena .content .column {
	float: left;
	width: 50%;
	margin: 0;
	margin-right: -1px;
	padding: 0;
}

#wycena h1 {
	color: #fff;
	position: absolute;
	top: 25%;
	left: 10%;
	width: 450px;
	text-rendering: optimizeLegibility;
}

#wycena .content h2 {
	padding: 0;
	margin: 0;
}

#wycena .content p {
	font-family: Tahoma, sans-serif;
	font-size: 1em;
	color: #fff;
}

#wycena form input {
	line-height: 20px;
	font-family: tahoma;
	padding: 3px;
}

#wycena form input.submit {
	color: #fff;
	background: url(img/submit_bg.png);
	border: 0;
	width: 70px;
	height: 25px;
}

#wycena .content .for {
	display: block;
	padding: 10px 12px;
	margin: 20px;
	background-color: blue;
	color: #fff;
	text-decoration: none;
}

#wycena .content .for:hover {
	text-decoration: underline;
}


/*kontakt*/

#kontakt div.content {
	background: #111;
	position: absolute;
	top: 35%;
	width: 90%;
	left: 3%; 
	right: 3%;
	margin-left: 0%;
	padding: 30px;
	overflow: hidden;
	color: #fff;
	margin: auto;
}

#kontakt h1 {
	width: 400px;
}

#kontakt p {
	color: #999;
	width: 400px;
}

#kontakt p a {
	color: #00c297;
}

#kontakt #map_canvas {
	float: right;
	width: 350px;
	height: 300px;
}

span.new {
	font-weight: bold;
	color: #f00;
}

FORM */ .formularz {
	width: 600px;
	height: 600px;
	padding: 20px;
	margin: 0 auto;
	background-color: #fff;
}

.formularz form {
	width: 90%;
	margin: o auto;
	padding: 20px;
	text-align: right;
}

.formularz form fieldset {
	width: 80%;
	display: block;
	margin: 0 auto;
	font-size: 11px;
	border: 0;
}

.formularz form .form {
	height: auto;
	margin: 10px auto;
	padding: 0;
}

.formularz h1 {
	color: #aa001a;
}

.formularz a.zamform {
	display: block;
	float: right;
	padding-right: 20px;
	font-size: 11px;
	color: #949494;
	background: url(img/zamknij.jpg) right no-repeat;
}

.formularz form input,
.formularz form textarea,
.formularz form label {
	width: 50%;
	height: 20px;
	display: inline;
	margin: 0;
	padding: 0;
}

.formularz form input,
.formularz form textarea {
	background-color: #f1f1f1;
	border: 1px solid #cdc9ca;
}

.formularz form label {
	margin-right: 10px;
}

.formularz form textarea {
	width: 100%;
	height: 200px;
}

.formularz form legend {
	width: 100%;
	color: #949494;
	border-bottom: 1px solid #cdc9ca;
}



.buttons {
	background: transparent;
}

.buttons button {
	display: block;
	margin: 0 7px 0 0;
	background-color: #f5f5f5;
	border: 1px solid #dedede;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	font-size: 90%;
	line-height: 130%;
	font-weight: bold;
	cursor: pointer;
	width: auto;
	overflow: visible;
	padding: 4px 10px 3px 7px;
	/* IE6 */
}

.buttons button[type] {
	padding: 5px 10px 5px 7px;
	/* Firefox */
	line-height: 17px;
	/* Safari */
}

*:first-child+html button[type] {
	padding: 4px 10px 3px 7px;
	/* IE7 */
}

.buttons button img {
	margin: 0 3px -3px 0 !important;
	padding: 0;
	border: none;
	width: 16px;
	height: 16px;
}

button:hover {
	background-color: #dff4ff;
	border: 1px solid #c2e1ef;
	color: #336699;
}

button.tak {
	color: #529214;
	float: right;
}

button.tak:hover {
	background-color: #E6EFC2;
	border: 1px solid #C6D880;
	color: #529214;
}

button.nie {
	color: #d12f19;
	float: left;
}

button.nie:hover {
	background: #fbe3e4;
	border: 1px solid #fbc2c4;
	color: #d12f19;
}

#tlo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: #000;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

#podduze {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: #fff;
	padding: 20px;
	text-align: center;
}

#czekaj {
	position: absolute;
	z-index: 101;
}

.mySlides{
	margin-top: 30px;
	font-size: 25px;
}


.button {
	background-color: #4CAF50; /* Green */
	border: none;
	color: white;
	padding: 16px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	transition-duration: 0.4s;
	cursor: pointer;
	padding: 10px;
  }
  .button2 {
	background-color: white; 
	color: black; 
	border: 2px solid #008CBA;
	margin: 0 auto;
	text-align: center;
	width: 230px;
	padding: 10px;
  }
  
  .button2:hover {
	background-color: #008CBA;
	color: white;
  }


  @import 'https://fonts.googleapis.com/css?family=Raleway';

html, body
{
    margin: 0px;
}

header, footer
{
    font-family: Raleway;
    margin: 0 auto;
	padding: 5em 3em;
	text-align: center;
    background: #555;
}

header h1
{
    color: #AAA;
    font-size: 40px;
    font-weight: lighter;
    margin-bottom: 5px;
}

header span
{
    color: #222;
}

footer span
{
  color: #AAA;
}

div.container
{
    font-family: Raleway;
    margin: 0 auto;
	padding: 10em 3em;
	text-align: center;
}

div.container a
{
    color: #FFF;
    text-decoration: none;
    font: 20px Raleway;
    margin: 0px 10px;
    padding: 10px 10px;
    position: relative;
    z-index: 0;
    cursor: pointer;
}

.red
{
    background: #f44336;
}

.purple
{
    background: #673ab7;
}

.indigo
{
    background: #3f51b5;
}

.blue
{
    background: #2196f3;
}

.cyan
{
    background: #00bcd4;
}

.teal
{
    background: #009688;
}

.green
{
    background: #4caf50;
}

.lightGreen
{
    background: #8bc34a;
}

.lime
{
    background: #c0ca33;
}

.yellow
{
    background: #fdd835;
}

.amber
{
    background: #ffc107;
}

.orange
{
    background: #ff9800
}

.deepOrange
{
    background: #ff5722;
}

.brown
{
    background: #795548;
}

.gray
{
    background: #9e9e9e;
}

/* Top and Bottom borders go out */
div.topBotomBordersOut a:before, div.topBotomBordersOut a:after
{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #FFF;
    content: "";
    opacity: 0;
    transition: all 0.3s;
}

div.topBotomBordersOut a:before
{
    top: 0px;
    transform: translateY(10px);
}

div.topBotomBordersOut a:after
{
    bottom: 0px;
    transform: translateY(-10px);
}

div.topBotomBordersOut a:hover:before, div.topBotomBordersOut a:hover:after
{
    opacity: 1;
    transform: translateY(0px);
}

/* Top and Bottom borders come in */
div.topBotomBordersIn a:before, div.topBotomBordersIn a:after
{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #FFF;
    content: "";
    opacity: 0;
    transition: all 0.3s;
}

div.topBotomBordersIn a:before
{
    top: 0px;
    transform: translateY(-10px);
}

div.topBotomBordersIn a:after
{
    bottom: 0px;
    transform: translateY(10px);
}

div.topBotomBordersIn a:hover:before, div.topBotomBordersIn a:hover:after
{
    opacity: 1;
    transform: translateY(0px);
}

/* Top border go down and Left border appears */
div.topLeftBorders a:before
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 2px;
    height: 0px;
    background: #FFF;
    content: "";
    opacity: 1;
    transition: all 0.3s;
}

div.topLeftBorders a:after
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #FFF;
    content: "";
    opacity: 1;
    transition: all 0.3s;
}

div.topLeftBorders a:hover:before
{
    height: 100%;
}

div.topLeftBorders a:hover:after
{
    opacity: 0;
    top: 100%;
}

/* Circle behind */
div.circleBehind a:before, div.circleBehind a:after
{
    position: absolute;
    top: 22px;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 4px solid #0277bd;
    transform: translateX(-50%) translateY(-50%) scale(0.8);
    border-radius: 50%;
    background: transparent;
    content: "";
    opacity: 0;
    transition: all 0.3s;
    z-index: -1;
}

div.circleBehind a:after
{
    border-width: 2px;
    transition: all 0.4s;
}

div.circleBehind a:hover:before
{
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}

div.circleBehind a:hover:after
{
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.3);
}

/* Brackets go out */
div.brackets a:before, div.brackets a:after
{
    position: absolute;
    opacity: 0;
    font-size: 35px;
    top: 0px;
    transition: all 0.3s;
}

div.brackets a:before
{
    content: '(';
    left: 0px;
    transform: translateX(10px);
}

div.brackets a:after
{
    content: ')';
    right: 0px;
    transform: translateX(-10px);
}

div.brackets a:hover:before, div.brackets a:hover:after
{
    opacity: 1;
    transform: translateX(0px);
}


/* Border from Y to X  */
div.borderYtoX a:before, div.borderYtoX a:after
{
    position: absolute;
    opacity: 0.5;
    height: 100%;
    width: 2px;
    content: '';
    background: #FFF;
    transition: all 0.3s;
}

div.borderYtoX a:before
{
    left: 0px;
    top: 0px;
}

div.borderYtoX a:after
{
    right: 0px;
    bottom: 0px;
}

div.borderYtoX a:hover:before, div.borderYtoX a:hover:after
{
    opacity: 1;
    height: 2px;
    width: 100%;
}

/* Border X get width  */
div.borderXwidth a:before, div.borderXwidth a:after
{
    position: absolute;
    opacity: 0;
    width: 0%;
    height: 2px;
    content: '';
    background: #FFF;
    transition: all 0.3s;
}

div.borderXwidth a:before
{
    left: 0px;
    top: 0px;
}

div.borderXwidth a:after
{
    right: 0px;
    bottom: 0px;
}

div.borderXwidth a:hover:before, div.borderXwidth a:hover:after
{
    opacity: 1;
    width: 100%;
}

/* Pull down  */
div.pullDown a:before
{
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    top: 0px;
    content: '';
    background: #FFF;
    opacity: 0.3;
    transition: all 0.3s;
}

div.pullDown a:hover:before
{
    height: 100%;
}

/* Pull up  */
div.pullUp a:before
{
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    bottom: 0px;
    content: '';
    background: #FFF;
    opacity: 0.3;
    transition: all 0.3s;
}

div.pullUp a:hover:before
{
    height: 100%;
}

/* Pull right  */
div.pullRight a:before
{
    position: absolute;
    width: 2px;
    height: 100%;
    left: 0px;
    top: 0px;
    content: '';
    background: #FFF;
    opacity: 0.3;
    transition: all 0.3s;
}

div.pullRight a:hover:before
{
    width: 100%;
}

/* Pull left  */
div.pullLeft a:before
{
    position: absolute;
    width: 2px;
    height: 100%;
    right: 0px;
    top: 0px;
    content: '';
    background: #FFF;
    opacity: 0.3;
    transition: all 0.3s;
}

div.pullLeft a:hover:before
{
    width: 100%;
}

/* Pull up and down  */
div.pullUpDown a:before, div.pullUpDown a:after
{
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    content: '';
    background: #FFF;
    opacity: 0.3;
    transition: all 0.3s;
}

div.pullUpDown a:before
{
    top: 0px;
} 

div.pullUpDown a:after
{
    bottom: 0px;
}

div.pullUpDown a:hover:before, div.pullUpDown a:hover:after
{
    height: 100%;
}

/* Pull right and left  */
div.pullRightLeft a:before, div.pullRightLeft a:after
{
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0px;
    content: '';
    background: #FFF;
    opacity: 0.3;
    transition: all 0.3s;
}

div.pullRightLeft a:before
{
    left: 0px;
} 

div.pullRightLeft a:after
{
    right: 0px;
}

div.pullRightLeft a:hover:before, div.pullRightLeft a:hover:after
{
    width: 100%;
}

/* Highlight text out  */
div.highlightTextOut a
{
    color: rgba(255, 255, 255, 0.3); 
}

div.highlightTextOut a:before, div.highlightTextIn a:before
{
    position: absolute;
    color: #FFF;
    top: 0px;
    left: 0px;
    padding: 10px;
    overflow: hidden;
    content: attr(alt);
    transition: all 0.3s;
    transform: scale(0.8);
    opacity: 0;
} 

div.highlightTextOut a:hover:before, div.highlightTextIn a:hover:before
{
    transform: scale(1);
    opacity: 1;
}

/* Highlight text in  */
div.highlightTextIn a
{
    color: rgba(0, 0, 0, 0.4); 
}

div.highlightTextIn a:before
{
    transform: scale(1.2);
}


/*Responsywność 1 developer*/
@media only screen and (max-width: 1638px) {
	#wycena div.content {
		background: #111;
		position: absolute;
		top: 45%;
		width: 50%;
		margin-left: 10%;
		padding: 0;
		color: #fff;
		height: 300;
		border: 20px #111 solid;
	}

	#przecieki h1 {
		color: white;
		position: absolute;
		top: 22%;
		left: 5%;
		width: 450px;
		text-rendering: optimizeLegibility;
	}

	#przecieki div.content {
		background: #111;
		position: absolute;
		top: 53%;
		width: 60%;
		margin-right: 40%;
		padding: 0;
		color: #fff;
		height: 350px;
		box-sizing: border-box;
	}
}


/*Responsywność 2 developer*/

@media only screen and (max-width: 1000px){
	section#firma #front_navigation {
		right: 2%;
	}
	#firma p{
		font-size: .7em;
		width: 50%;
	}
	section{
		height: 50%;
		width: auto;
	}
	section .inner_bg {
		display: block;
		height: 100%;
		min-height: 600px;
		width: 100%;
		background-size: auto;
	}
	section#dekarskie .inner_bg {
		background: url(img/dekarskie_bg.png) no-repeat center;
		background-size: auto
	}
	section#przecieki .inner_bg {
		background: url(img/glass-roof.jpg) no-repeat center;
		background-size: auto
	}

	#realizacje .logo{
		display: none;
	}
	#realizacje h1 {
		color: #e9b602;
		position: absolute;
		left: 0px;
		top: 1%;
		text-align: center;
		width: 450px;
		text-rendering: optimizeLegibility;
	}
	#kontakt div.content{
		left: 0%;
		right: 0%
	}
	#kontakt h4{
		font-size: small;
	}
	#front_navigation li.realizacje {
		left: 190px;
		bottom: 80px;
	}

}




.demo-gallery > ul {
	margin: auto;
}
.demo-gallery > ul > li {
	display: inline-block;
	margin: auto;
	margin-bottom: 10px;
	margin-right: 10px;
	width: 70px;
}
.demo-gallery > ul > li a {
	border: 3px solid #FFF;
	border-radius: 3px;
	display: block;
	overflow: hidden;
	position: relative;
	float: left;
}
.demo-gallery > ul > li a > img {
	-webkit-transition: -webkit-transform 0.15s ease 0s;
	-moz-transition: -moz-transform 0.15s ease 0s;
	-o-transition: -o-transform 0.15s ease 0s;
	transition: transform 0.15s ease 0s;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	height: 100%;
	width: 100%;
}
.demo-gallery > ul > li a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
	opacity: 1;
}
.demo-gallery > ul > li a .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}
.demo-gallery > ul > li a .demo-gallery-poster > img {
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}
.demo-gallery > ul > li a:hover .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .justified-gallery > a > img {
	-webkit-transition: -webkit-transform 0.15s ease 0s;
	-moz-transition: -moz-transform 0.15s ease 0s;
	-o-transition: -o-transform 0.15s ease 0s;
	transition: transform 0.15s ease 0s;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	height: 100%;
	width: 100%;
}
.demo-gallery .justified-gallery > a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
	opacity: 1;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .video .demo-gallery-poster img {
	height: 48px;
	margin-left: -24px;
	margin-top: -24px;
	opacity: 0.8;
	width: 48px;
}
.demo-gallery.dark > ul > li a {
	border: 3px solid #04070a;
}
.home .demo-gallery {
	padding-bottom: 80px;
}