/* ---------------------------------------------------------
Page Defaults
-----------------------------------------------------------*/
html,
body {
	height: 100%;
	-ms-overflow-x: hidden;
	overflow-x: hidden;
}

body {
	/*padding-top: 50px;*/
	margin-bottom: 100px;
	position: relative;
	font-family: "Roboto Slab", serif;
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
}

@font-face {
	font-family: impossible;
	src: url("../fonts/Impossible-ZVKZz.otf");
}

img {
	max-width: 100%;
}

strong {
	font-weight: 700;
}

section {
	margin-bottom: 60px;
}

.cursive {
	font-family: impossible;
}

h2.cursive {
	font-size: 60px;
}

.container-fluid {
	max-width: 1200px;
}

/* ---------------------------------------------------------
Navigation
-----------------------------------------------------------*/
nav {
	z-index: 2;
}

nav.navbar.navbar-fixed-none {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.nav > li > a,
.navbar-default .navbar-nav > li > a {
	color: #FFF;
	text-transform: capitalize;
}

.nav > li > a:focus,
.nav > li > a:hover {
	color: : #fff;
	background: #01b3c7;
}

.navbar-fixed-top {
	background: #01b3c7;
	border: none;
}

.navbar-brand span {
	display: none;
}

.navbar-fixed-top .navbar-brand span {
	display: block;
	color: #FFF;
}

.navbar-fixed-top .navbar-brand .img-wrapper {
	display: none;
}

.navbar-brand img {
	padding: 3px;
	margin-top: -16px;
	max-height: 130px;
}

.navbar-brand .img-wrapper {
	position: relative;
}

.navbar-brand .img-wrapper:before {
	/*content: "";*/
	position: absolute;
	top: -16px;
	left: -10px;
	border-bottom: 10px solid transparent;
	border-right: 10px solid #fff;
}

.navbar-brand .img-wrapper:after {
	/*content: "";*/
	position: absolute;
	top: -16px;
	left: 100%;
	border-bottom: 10px solid transparent;
	border-left: 10px solid #fff;
}

.navbar-default .navbar-nav > .active > a {
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
}

ul.navbar-nav .social a {
	padding: 0;
	margin: 8px 5px;
}

ul.navbar-nav .social a:focus,
ul.navbar-nav .social a:hover {
	background: none;
}

ul.navbar-nav .social img,
footer .social img  {
	max-height: 34px;
	-webkit-transition: all ease 0.3s;
	-moz-transition: all ease 0.3s;
	-ms-transition: all ease 0.3s;
	-o-transition: all ease 0.3s;
	transition: all ease 0.3s;
}

ul.navbar-nav .social a:focus img,
ul.navbar-nav .social a:hover img,
footer .social a:focus img,
footer .social a:hover img {
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
}

.navbar-default .navbar-toggle {
	border-color: #FFF;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #FFF;
}

/* ---------------------------------------------------------
Jumbotron
-----------------------------------------------------------*/
.jumbotron {
	background: #01b3c7 url("../img/gallery/bg.jpg") no-repeat center 39%;
	background-size: cover;
	background-attachment: fixed;
	color: #fff;
	height: 100%;
}

.jumbotron .container-fluid {
	position: absolute;
	bottom: 70px;
	left: 0;
	right: 0;
	z-index: 2;
}

.jumbotron:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 20%;
	top: 0;
	z-index: 1;
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.jumbotron:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 50%;
	bottom: 0;
	z-index: 1;
	background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.jumbotron h1 {
	font-size: 50px;
}

/* ---------------------------------------------------------
Facilities
-----------------------------------------------------------*/
.facility {
	padding: 15px 0;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #dedede;
	-webkit-transition: all ease 0.3s;
	-moz-transition: all ease 0.3s;
	-ms-transition: all ease 0.3s;
	-o-transition: all ease 0.3s;
	transition: all ease 0.3s;
}

.facility:hover {
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}

.facility img {
	max-height: 36px;	
}

.facility p {
	margin-top: 10px;
	text-transform: capitalize;
	margin-bottom: 0;
}

/* ---------------------------------------------------------
About
-----------------------------------------------------------*/
#about .img-wrapper {
	position: relative;
}

#about .img-wrapper:after {
	content: "";
	position: absolute;
	top: 20px;
	left: 20px;
	bottom: -20px;
	background: #eee;
	width: 100%;
	z-index: -1;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	-ms-transition: all ease 0.5s;
	-o-transition: all ease 0.5s;
	transition: all ease 0.5s;
}

#about .img-wrapper:before {
	content: "";
	position: absolute;
	top: -20px;
	left: -20px;
	width: 150px;
	height: 120px;
	border-top: 8px solid #01b3c7;
	border-left: 8px solid #01b3c7;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	-ms-transition: all ease 0.5s;
	-o-transition: all ease 0.5s;
	transition: all ease 0.5s;
}

/* ---------------------------------------------------------
Mission
-----------------------------------------------------------*/
#mission {
	position: relative;
}

#mission:after {
	content: "";
	position: absolute;
	bottom: 100%;
	height: 20px;
	left: 0;
	right: 0;
	background: #FFF;
}

#mission:before {
	content: "";
	position: absolute;
	top: 100%;
	height: 20px;
	left: 0;
	right: 0;
	background: #FFF;
	z-index: 1;
}

#mission .background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #01b3c7 url("../img/gallery/bg.jpg") no-repeat center 39%;
	background-size: cover;
	background-attachment: fixed;
	filter: blur(5px);
	-webkit-filter: blur(5px);
	opacity: 0.5;
}

#mission h2 + p {
	font-size: 20px;
	margin-bottom: 30px;
}
#mission .row .col-md-4:first-child p {
	margin-bottom: 65px;
}

#mission .row .col-md-4:last-child p {
	margin-bottom: 50px;
}

/* ---------------------------------------------------------
Products
-----------------------------------------------------------*/
#products a.img-wrapper {
	text-decoration: none;
	position: relative;
	display: block;
	overflow: hidden;
}

#products a.img-wrapper h2 {
	position: absolute;
	bottom: -100%;
	font-size: 80px;
	left: 0;
	right: 0;
	z-index: 1;
	color: #fff;
	-webkit-transition: all ease 0.3s;
	-moz-transition: all ease 0.3s;
	-ms-transition: all ease 0.3s;
	-o-transition: all ease 0.3s;
	transition: all ease 0.3s;
}

#products a.img-wrapper:hover h2 {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

#products a.img-wrapper:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 100%;
	-webkit-transition: all ease 0.3s;
	-moz-transition: all ease 0.3s;
	-ms-transition: all ease 0.3s;
	-o-transition: all ease 0.3s;
	transition: all ease 0.3s;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

#products a.img-wrapper:hover:after {
	top: 0;
}

/* ---------------------------------------------------------
CTA
-----------------------------------------------------------*/
.cta {
	position: relative;
	padding: 30px 0 50px;
	background: url("../img/gallery/bg.jpg") no-repeat center 39% fixed;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #fff;
}

.cta:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	background: rgba(182, 24, 21, 0.6);
}

.cta h2.cursive {
	font-size: 80px;
}

.cta p {
	font-size: 20px;
}

.cta .btn {
	margin-top: 25%;
	padding: 15px;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid #fff;
	color: #fff;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 20px;
	
}

/* ---------------------------------------------------------
Gallery
-----------------------------------------------------------*/
.gallery {
	display: inline-block;
	margin-top: 20px;
}

#gallery img {
	float: left;
	width: 25%;
	padding: 5px;
}

/* ---------------------------------------------------------
Footer
-----------------------------------------------------------*/
footer {
	background: #01b3c7;
	color: #fff;
	padding: 20px 0;
}

footer address {
	line-height: 2.2;
	font-size: 18px;
	margin-bottom: 0;
}

.footlogo {
	margin-bottom: 20px;
	/*padding: 20px;*/
	max-width: 140px;
}

footer .well {
	background: #fff;
	color: #333;
	margin-bottom: 0;
}

footer .glyphicon-ok-circle {
	color: green;
}

footer .well > .well {
	padding: 10px;
	background: #eee;
	margin: 0;
}

footer .well hr {
	margin: 10px 0;
}

footer h4 {
	font-size: 18px;
	margin: 10px 0;
}

footer ul li a,
footer ul li a:hover,
footer ul li a:focus {
	color: #FFF;
}

footer ul.social li {
	float: left;
	margin: 0 5px 5px;
}

footer ul.social li img {
	max-height: 30px;
}

/* ---------------------------------------------------------
-----------------------------------------------------------*/

@media (max-width: 767px) {
	section {
		margin-bottom: 30px;
	}
	h2.cursive {
		font-size: 50px;
	}
	#facilities {
		width: 94%;
		margin: auto;
	}
	#facilities .col-md-2 {
		margin: 0;
		padding: 0;
	}
	.facility {
		-webkit-border-radius: 0;
		border-radius: 0;
	}
	.facility p {
		font-size: 14px;
	}
	#about h2.cursive {
		margin-bottom: 30px;
	}
	#about .img-wrapper:before {
		border-top: 4px solid #01b3c7;
		border-left: 4px solid #01b3c7;
		top: -10px;
		left: -10px;
	}
	#about .img-wrapper {
		width: 96%;
		margin: auto;
		margin-bottom: 20px;
	}
	#about .img-wrapper:after {
		top: 10px;
		left: 10px;
		bottom: -10px;
	}
	#mission img,
	#mission .row .col-md-4:first-child p,
	#mission .row .col-md-4:last-child p {
		margin-bottom: 20px;
	}
	#products a.img-wrapper:after {
		top: 0;
	}
	#products a.img-wrapper h2 {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}
	#products .col-md-6 {
		margin-bottom: 15px;
	}
	.cta {
		padding: 150px 0;
		margin-bottom: 0;
	}
	.cta h2.cursive {
		font-size: 60px;
	}
	.cta p {
		font-size: 14px;
	}
	.cta .btn {
		margin-top: 40px;
	}
	#gallery li {
		width: 50%;
	}
	#map {
		margin-bottom: 0;
	}
	footer {
		text-align: center;
	}
	footer .list-unstyled {
		display: inline-block;
	}
}