html, body {
	height: 100%;
}
body {
	position: relative;
	background: #fff;
	padding: 0;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	color: #333;
	font-size: 16px;
}


h2 {
	font-size: 36px;
	font-weight: 300;
	color: #757b86;
	margin: 0 0 35px 0;
	border-bottom: 2px solid #757b86;
	display: inline-block;
	padding: 0 0 15px 0;
}

p {
	line-height: 1.5em;
	margin: 0 0 25px 0;
}




/* page-nav 
#page-nav {
	margin: 0;
	padding: 0;
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1;
}
*/

.navbar-toggle {
	border-color: white;
	margin-top: 18px;
}
.navbar-toggle .icon-bar {
	background: #757b86;
}

.navbar {
	background-color: #414651;
	-moz-transition: background-color 0.3s linear;
	-webkit-transition: background-color 0.3s linear;
	transition: background-color 0.3s linear;
}

.navbar-header {
 display: none;
position: relative;
}

#page-nav {
}
#page-nav li a {
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	-moz-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	transition: all 0.3s linear;
}
#page-nav li a:hover, #page-nav li a:focus, #page-nav li a.selected {
	background: none !important;
	color: #6d8faa !important;
}

.header-shrink {
	background: #fff;
	border-bottom: 1px solid #ccc;
}

.navbar-header a {
	height: 70px;
	line-height: 70px;
	opacity: 0;
	-moz-transition: opacity 0.3s linear;
	-webkit-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
	display: block;
	padding: 0 15px;
}
.navbar-header a img {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

.header-shrink #page-nav li a {
	color: #333;
	line-height: 40px;
}
.header-shrink .navbar-header a {
	opacity: 1;
}


section#omnie, section#oferta, section#kontakt, section#referencje {
	padding: 100px 0;
}



/* page-intro */
#page-intro {
	width: 100%;
	height: 100%;
display: flex;
align-items: center;
justify-content: center;
	position: relative;
	background: #757b86 url('../img/02.jpg') center top;
	background-size: cover;
	text-align: center;
}
#page-intro #claim {
	width: 100%;
	height: 150px;
}
#page-intro #claim img {
	display: block;
	width: 420px;
	margin: 0 auto;
}
#page-intro #claim h1 {
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 700;
	margin: 20px 0 50px 0;
}
#page-intro #claim p {
	width: 30%;
	margin: 0 auto;
	color: #fff;
	font-size: 18px;
}
#page-intro #claim a.glyphicon {
	border: 3px solid #fff;
	border-radius: 50%;
	padding: 20px;
	font-size: 30px;
	color: #fff;
	text-decoration: none;
	margin-top: 40px;
}
#page-intro #claim a.glyphicon:hover {
	background: #9ca3b0;
}


/* omnie */
#omnie {
	background: #fff;
}
#omnie img {
	width: 200px;
	display: block;
	float: left;
	border: 5px solid #eaeaea;
	margin: 0 30px 0 0;
}


/* intersekcja */
#intersection {
	height: 400px;
	background: url('../img/01.jpg') center center;
	background-size: cover;
}
#intersection-offer {
	height: 400px;
	background: url('../img/01.jpg') center center;
	background-size: cover;
}
#intersection-contact {
	height: 500px;
	background: url('../img/02.jpg') center top;
	background-size: cover;
}

/* oferta */
#oferta {
	background: #eaeaea;
}
#oferta ul {
	margin: 0;
	padding: 0 0 0 20px;
}
#oferta ul li {
	margin: 15px 0;
}

/* kontakt */
#kontakt {
	background: #333;
	color: #fff;
	height: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#kontakt h2 {
	color: #fff;
	border-color: #fff;
}
#kontakt button {
	background: #757b86;
}
#kontakt p span.glyphicon {
	margin-right: 10px;
}
#kontakt a {
	color: #7094ae;
}




#referencje {
}

#referencje .referencje {
	position: relative;
	margin-bottom: 30px;
}
#referencje .referencje div {
	position: relative;
}

#referencje .referencje span.image {
	background: #414753;
	display: block;
	z-index: 0;
	position: relative;
}
#referencje .referencje span.image img {
	width: 100%;
	height: auto;
	display: block;
	opacity: 1;
}
#referencje .referencje:hover span.image img {
	cursor: pointer;
	opacity: 0.2;
}


#referencje .referencje span.title {
	display: none;
}
#referencje .referencje:hover a {
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
#referencje .referencje:hover span.title {
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
#referencje .referencje:hover span.title h3 {
	position: absolute;
	top: 35%;
	width: 100%;
	font-weight: 700;
	color: #fff;
	text-align: center;
}


/*
#referencje .referencje div {
	border: 4px solid #e6e6e6;
	text-align: center;
	display: none;
	font-size: 20px;
	font-weight: 700;
	color: #666;
	background: #f0f0f0;
	position: relative;
}
#referencje .referencje div:after, #referencje .referencje div:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	z-index: 1;
}
#referencje .referencje div:after {
	border-color: rgba(240, 240, 240, 0);
	border-top-color: #f0f0f0;
	border-width: 10px;
	margin-left: -10px;
}
#referencje .referencje div:before {
	border-color: rgba(230, 230, 230, 0);
	border-top-color: #e6e6e6;
	border-width: 16px;
	margin-left: -16px;
}
*/



@media screen and (max-width: 1280px) {
	#page-intro #claim p {
		width: 60%;
	}
}
@media screen and (max-width: 992px) {
	#page-intro #claim p {
		width: 80%;
	}
	
	.navbar-header a img {
		width: 230px;
	}
	
	#page-nav li a {
		font-size: 12px;
	}
	
}
@media screen and (max-width: 768px) {
	#page-intro #claim p {
		width: 90%;
	}
	#kontakt {
		height: auto;
	}

	.navbar-header a img {
		width: 200px;
	}
	
	#omnie img {
		width: 200px !important;
		height: auto !important;
	}
}

@media screen and (max-width: 640px) {

	body {
		font-size: 14px;
	}

	#oferta, #omnie {
		padding: 40px 0 50px 0;
	}
	
	#omnie img {
		float: none;
		margin: 0;
	}


	#page-intro {
		padding: 80px 0;
height: auto;
		min-height: 50vh;
	}
	#page-intro #claim {
		height: auto;
		position: relative;
	}

#page-intro #claim img {
width: 60%;

}

	#page-intro #claim p {
		font-size: 14px;
	}
}


