/* =================================================================== */
/*
/*  01. =webfonts and iconfonts
/*  02. =document setup
/*  03. =preloader
/*  04. =forms
/*  05. =theme common styles
/*  06. =header styles
/*  07. =hero section
/*  08. =portfolio styles
/*  09. =services
/*  10. =about
/*  11. =testimonials
/*  12. =contact
/*  13. =footer
/*
/* =================================================================== */


/** 
/* 01. =webfonts and iconfonts
/* =================================================================== */
@import url("font-awesome/css/font-awesome.min.css");


/** 
/* 02. =document setup
/* =================================================================== */

/* Body 
---------------------------------------------------------------------- */
html, body { height: 100%; }
body { color:#ffffff; background:#155793; font:18px/30px 'Merriweather', serif; font-weight:normal; }

/* links 
---------------------------------------------------------------------- */
a, a:visited { outline: none; color:#ffffff; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; }
a:hover, a:focus { color:#e1edf8; }

/* Typography
--------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {font-family: "Merriweather", serif;color:#ffffff;font-style:normal;text-rendering:optimizeLegibility;margin:18px 0 15px;}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }

h1 {
	font-size: 36px;
	line-height: 36px;
	margin-top: 0;
	letter-spacing: -1px;
}

h2 {
	font-weight:normal;
	font-size: 30px;
	line-height: 30px;
}

h3 {
	font-size: 26px;
	line-height: 30px;
}

h4 {
	font-size: 18px;
	line-height: 30px;
}

h5 {
	font-size: 14px;
	line-height: 30px;
	margin-top: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

h6 {
	font-size: 13px;
	line-height: 30px;
	margin-top: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

p { margin: 15px 0 15px 0;
}

p img {
	margin: 0;
}

em {
	font: 16px/30px "Merriweather", serif;
	font-style: normal;
}

strong,
b {
	font-weight:600;
}

small {
	font-size: 11px;
	line-height: inherit;
}

hr {
	border: solid #ffffff;
	border-width: 1px 0 0;
	clear: both;
	margin: 23px 0 12px;
	height: 0;
}

/* Lists  
--------------------------------------------------------------------- */
ul,
ol {
	margin-top: 15px;
	margin-bottom: 15px;
}

ul {
	list-style: disc;
	margin-left: 17px;
}

ul.para li { font:20px/36px "Merriweather", serif; } 

dl {
	margin: 0 0 15px 0;
}

dt {
	margin: 0;
	color: #fdc501;
}

dd {
	margin: 0 0 0 20px;
}

/* Floated image  
--------------------------------------------------------------------- */
img.pull-right {
	margin: 12px 0px 0px 18px;
}

img.pull-left {
	margin: 12px 18px 0px 0px;
}


/* block grids default paddings 
--------------------------------------------------------------------- */
.bgrid {
	padding: 0 20px;
	margin:20px 0;
}

@media only screen and (max-width:1024px) {
	.bgrid {
		padding: 0 18px;
	}

}

@media only screen and (max-width:768px) {
	.bgrid {
		padding: 0 15px;
	}

}

@media only screen and (max-width:600px) {
	.bgrid {
		padding: 0 10px;
	}

}

@media only screen and (max-width:400px) {
	.bgrid {
		padding: 0;
	}

}


/* 
/* 04. =forms
/* =================================================================== */

form {
	margin-bottom: 30px;
}

fieldset {
	margin: 0 0 30px 0;
	padding: 0;
	border: none;
}

input,
button {
	-webkit-font-smoothing: antialiased;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
	display: block;
	padding: 18px 20px;
	margin: 0 0 12px 0;
	border: 0;
	outline: none;
	vertical-align: middle;
	color: #a3a4a6;
	font-family: "Merriweather", serif;
	font-size: 15px;
	line-height: 24px;
	border-radius: 3px;
	max-width: 100%;
	background: rgba(255, 255, 255, 0.1);
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

textarea {
	min-height: 252px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	color: #000000;
	background: #FFFFFF;
}

.button,
.button:visited,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	font: 16px/30px "Merriweather", serif;
	padding: 9px 16px;
	margin: 0 3px 6px 0;
	background: #ffffff;
	color: #0f2e4a;
	text-decoration: none;
	cursor: pointer;
	height: auto;
	text-align: center;
	border: none;
	-webkit-appearance: none;
	-webkit-font-smoothing: inherit;
	border-radius: 3px;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	color: #ffffff;
	background: #0f2e4a;
}

label,
legend {
	font: 15px/30px "Merriweather", serif;
	margin: 12px 0;
	color: #252525;
	display: block;
}

label span,
legend span {
	color: #575859;
	font: 16px/30px "Merriweather", serif;
}

input[type="checkbox"],
input[type="radio"] {
	font-size: 15px;
	color: #575859;
}

input[type="checkbox"] {
	display: inline;
}


/** 
/* 05. =theme common styles
/* =================================================================== */

/* hr */
hr {
	border: solid #ffffff;
	border-width: 2px 0 0;
	width: 180px;
	margin: 11px 0 30px;
	height: 0;
	clear: both;
	text-align: left;
}

/* for css animations */
.show {
	filter: alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	zoom: 1;
}

/* sections */
.section-head h1 {
	font: 30px/42px "Merriweather", serif;
	letter-spacing: 0;
	color: #FFFFFF;
	margin-bottom: 30px;
	margin-top: 18px;
}

.section-head h1 span {
	color: #ffffff;
	position: relative;
	left: 3px;
}

.section-head p {
	font: 20px/36px "Merriweather", serif;
	width: 95%;
}

.section-head:hover h1 + hr {
	border-color: #ffffff;
	width: 180px;
	text-align: left;
}

@media only screen and (max-width:768px) {
	.section-head {
		text-align: center;
	}

	.section-head p {
		font: 18px/36px "Merriweather", serif;
		width: auto;
	}

	.section-head h1 + hr {
		margin-left: auto;
		margin-right: auto;
	}

}

@media only screen and (max-width:600px) {
	.section-head p {
		font: 17px/33px "Merriweather", serif;
		width: auto;
	}

}

@media only screen and (max-width:400px) {
	.section-head [class*="column"] {
		padding: 0;
	}

}


/** 
/* 06. =header styles
/* =================================================================== */

header {
	height: 120px;
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 600;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;  

	
}
header.opaque {
	background: #0f2e4a;
}

/* header logo */
header .logo {
	float: left;
	width: auto;
	margin: 30px 50px 0 20px;
	z-index: 600;    
	
	/* add position relative since z-index only applies to  
	elements that have been given an explicit position */
	position: relative;
}

header .logo a {
	display: block;
	margin: 0;
	padding:0;
	border: none;
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	height:92px;
	width: 180px;
	background: url("../images/logoK@2x.png") no-repeat center;
	background-size: 180px 92px;
}

/* header social */
header .header-social {
	font-size: 20px;
	font-weight: normal;
	line-height: 66px;
	margin-top: 0;
	margin-left: 30px;
	padding-left: 36px;
	border-left: 1px solid rgba(150, 150, 150, 0.2);
	float: left;
	position: relative;
	top: -1px;
}

header .header-social li {
	display: inline-block;
	margin-right: 15px;
}

header .header-social li a {
	color: #FFFFFF;
}

header .header-social li a:hover {
	color: #fdc501;
}

/* media queries:  
/* header/header components */
@media only screen and (max-width:880px) {
	header .header-social {
		display: none;
	}

}

@media only screen and (max-width:768px) {
	header {
		background: #0f2e4a;
	}

	header .row {
		width: 100%;
	}

	header .logo {
		margin-left: 0px;
	}

}

/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap,
#nav-wrap ul,
#nav-wrap li,
#nav-wrap a {
	margin: 0;
	padding: 0;
}

/* nav-wrap */
#nav-wrap {
	font: 20px "Merriweather", serif;
	text-transform: none;
	float: right;  
}

/* hide toggle button */
#nav-wrap > a {
	display: none;
}

ul#nav {
	min-height:150px;
	display: inline-block;
	width: auto;  

	/* left align the menu */
	text-align: left;
}

ul#nav li {
	position: relative;
	list-style: none;
	display: inline-block;
	height: 150px;    
}

/* Links */
ul#nav li a {

	/* 14px padding top + 14px padding bottom + 38px line-height = 66px */
	display: block;
	padding: 59px 0px 24px 0px;
	line-height: 38px;
	text-decoration: none;
	text-align: left;
	color: #FFFFFF;
	margin-left:30px;
	position: relative;
	-moz-transition: color 0.2s ease-in-out;
	-o-transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}

ul#nav li a:hover {
	color: #fff;
	background-color:transparent;
	border-bottom:2px solid #fff;
}

ul#nav li a:active {
	color:#fff;
	background-color:transparent;
	border-bottom:2px solid #fff;
	}

ul#nav li.current a {
	color:#fff;
	background-color:transparent;
	border-bottom:2px solid #fff;	
}


/* mobile navigation 
--------------------------------------------------------------------- */
@media only screen and (max-width:768px) {
	#nav-wrap {
		z-index: 700;
		display: block;
		width: 100%;
		float: none;
		position: absolute;
		top: 0;
		right: 0;
	}

	/* mobile-btn and toggle-btn */
	#nav-wrap > a {
		border: none;
		color: #FFFFFF;
		height: 40px;
		min-width: 40px;
		font-size: 12px;
		text-align: left;
		float: right;
		display: block;
		padding: 0;
		position: relative;
		top: 13px;
		right: 20px;
	}

	#nav-wrap > a:hover .menu-icon {
		background: #FFFFFF;
	}

	#nav-wrap .menu-icon {
		display: inline-block;
		width: 24px;
		height: 3px;
		margin-top: -3px;
		position: absolute;
		right: 8px;
		top: 50%;
		bottom: auto;
		left: auto;
		background: #fff;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		-webkit-transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		font: 0/0 a;
		text-shadow: none;
		color: transparent;
	}

	#nav-wrap .menu-icon:before,
	#nav-wrap .menu-icon:after {
		content: '';
		width: 100%;
		height: 100%;
		position: absolute;
		background-color: inherit;
		left: 0;
	}

	#nav-wrap .menu-icon:before {
		bottom: 8px;
	}

	#nav-wrap .menu-icon:after {
		top: 8px;
	}

	/* dropdown nav */
	#nav-wrap ul#nav {
		background: #1c212a;
		padding: 54px 45px 60px 45px;
		margin: 0;
		height: auto;
		display: none;
		clear: both;
		width: 100%;
		float: none;
		position: absolute;
		top: 120px;
		right: 0;
	}

	#nav-wrap ul#nav > li {
		display: block;
		float: none;
		height: auto;
		text-align: left;
		border-bottom: 1px dotted rgba(200, 200, 200, 0.1);
		padding: 6px 0;
	}

	#nav-wrap ul#nav > li:first-child {
		border-top: 1px dotted rgba(200, 200, 200, 0.1);
	}

	#nav-wrap ul#nav li a {
		display: block;
		width: auto;
		padding: 0;
		color: #cacbcb;
		padding: 12px 0;
		line-height: 16px;
		border: none;
	}

	#nav-wrap ul#nav li a:hover {
		color: #FFFFFF;
	}

	#nav-wrap ul#nav li.current > a {
		background: none;
		color: #fdc501;
	}

	#nav-wrap ul#nav li.current > a:after {
		display: none;
	}

	#nav-wrap a.mobile-btn {
		display: none;
	}

	.js #nav-wrap a#toggle-btn {
		display: block;
	}

	/* if js is disabled */
	.no-js #nav-wrap:not(:target) > a:first-of-type,
	.no-js #nav-wrap:target > a:last-of-type {
		display: block;
	}

	.no-js #nav-wrap:target ul#nav {
		display: block;
	}

}

/* make sure the menu is visible on larger screens
--------------------------------------------------------------------- */
@media only screen and (min-width:769px) {
	#nav-wrap ul#nav {
		display: block !important;
	}

}


/* 
/* 07. =hero section
/* =================================================================== */

#hero {
	background: #155793 url(../images/header_1.jpg) no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	min-height: 630px;
	width: 100%;
	text-align: left;
	position: relative;
}

#hero-2 {
	background: #155793 url(../images/header_2.jpg) no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	min-height: 330px;
	width: 100%;
	text-align: left;
	position: relative;
}

.hero-content {
	position: relative;
	padding-top: 106px;
	padding-bottom: 102px;
}

.hero-content-2 {
	position: relative;
	padding-top: 56px;
	padding-bottom: 52px;
}

/* hero slider */
#hero-slider {
	margin: 180px 0 20px;
}

#hero-slider .slides .flex-caption {
	margin: 0 35% 0 0px;
}

#hero-slider .slides .flex-caption h1 {
	font: 49px/1.3 "Merriweather", serif;
	letter-spacing:0;
	line-height:49px;
	padding-bottom: 0px;
	color: white;
	position: relative;    

	/* for css animations */
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
}



#hero-slider .slides .flex-caption h3 {
	font: 20px/1.9 "Merriweather", sans-serif;
	color: rgba(255, 255, 255, 1);
	width: 85%;
	margin-top: 24px;    

	/* for css animations */
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
}

#hero-slider .slides .flex-caption h1 span,
#hero-slider .slides .flex-caption h1 a {
	display: inline-block;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* for oldIE - IE9 */
.oldie #hero-slider .slides .flex-caption h1 {
	filter: alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	zoom: 1;
}

.oldie #hero-slider .slides .flex-caption h3 {
	filter: alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	zoom: 1;
}

/* media queries:  
/* #hero / .hero-contert / #hero-slider */

@media only screen and (max-width:1200px) {
	#hero-slider .slides .flex-caption h1 {
		font: 44px/1.3 "Merriweather", serif;
	}

}

@media only screen and (max-width:1024px) {
	.hero-content, .hero-content-2 {
		padding-bottom: 90px;
	}

	#hero-slider {
		text-align: left;
		margin: 180px 0 36px;
	}

	#hero-slider .slides .flex-caption {
		margin: 0 auto;
		width: 90%;
	}

	#hero-slider .slides .flex-caption h1 {
		font: 43px/1.3 "Merriweather", serif;
	}

	#hero-slider .slides .flex-caption h1::after {
		margin-left: -50px;
		left: 0%;
	}

	#hero-slider .slides .flex-caption h3 {
		font: 16px/1.9 "Merriweather", serif;
		width: 80%;

	}

}

@media only screen and (max-width:768px) {
	#hero, #hero-2 {
		min-height: auto;
	}

	.hero-content, .hero-content-2 {
		padding-bottom: 72px;
	}

	#hero-slider {
		margin: 150px 0 36px;
	}

	#hero-slider .slides .flex-caption {
		margin: 0 40px 0;
		width: auto;
	}

	#hero-slider .slides .flex-caption h1 {
		font: 41px/1.3 "Merriweather", serif;
	}

	#hero-slider .slides .flex-caption h3 {
		font: 16px/1.9 "Merriweather", serif;
		width: 100%;
	}

}

@media only screen and (max-width:600px) {
	.hero-content, .hero-content-2 {
		padding-bottom: 72px;
	}

	#hero-slider {
		margin: 164px 0 36px;
	}

	#hero-slider .slides .flex-caption {
		margin: 0 35px 0;
		width: auto;
	}

	#hero-slider .slides .flex-caption h1 {
		font: 39px/1.3 "Merriweather", serif;
	}

	#hero-slider .slides .flex-caption h3 {
		font: 15px/1.9 "Merriweather", serif;
		width: 90%;
	}

}

@media only screen and (max-width:480px) {
	.hero-content, .hero-content-2 {
		padding-bottom: 72px;
	}

	#hero-slider {
		margin: 78px 0 36px;
	}

	#hero-slider .slides .flex-caption {
		margin: 132px 20px 0;
		width: auto;
	}

	#hero-slider .slides .flex-caption h1 {
		font: 36px/1.3 "Merriweather", serif;
	}

	#hero-slider .slides .flex-caption h3 {
		width: auto;
	}

}

@media only screen and (max-width:400px) {
	.hero-content, .hero-content-2 {
		padding-bottom: 54px;
	}

	#hero-slider {
		margin: 132px 0 24px;
	}

	#hero-slider .slides .flex-caption {
		margin: 0;
	}

	#hero-slider .slides .flex-caption h1 {
		font: 30px/1.3 "Merriweather", serif;
	}

}


/** 
/* 08. =portfolio styles
/* =================================================================== */

#portfolio {
	background: #155793;
	padding:70px 0;
	border-bottom: 1px solid #155793;  
}

#portfolio .row.items {
	max-width: 1260px;
	margin-top: 24px;
}

/* media queries - portfolio */

@media only screen and (max-width:1300px) {
	#portfolio .row.items {
		width: 100%;
		padding: 0;
	}

	#portfolio .row.items .columns {
		padding: 0;
	}

}

/* portfolio content */
#portfolio-wrapper {
	margin-top: 36px;
}

#portfolio-wrapper:before,
#portfolio-wrapper:after {
	content: "";
	display: table;
}

#portfolio-wrapper:after {
	clear: both;
}

#portfolio-wrapper .bgrid {
	padding: 0;
}

.folio-item .item-wrap {
	background: #111417;
	overflow: hidden;
	position: relative;
}

.folio-item .item-wrap a {
	display: block;
	cursor: pointer;
	position: relative;
}

/* overlay */
.folio-item .item-wrap .overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
	-moz-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}

.folio-item .item-wrap .link-icon {
	display: block;
	height: 30px;
	width: 30px;
	margin-left: -15px;
	margin-top: -15px;
	font-size: 14px;
	line-height: 30px;
	text-align: center;
	color: #FFFFFF;
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
	-moz-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	position: absolute;
	top: 50%;
	left: 50%;
}

.folio-item .item-wrap img {
	vertical-align: bottom;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.folio-item .portfolio-item-meta {
	width: 100%;
	text-align: center;
	position: absolute;
	top: 20%;
	left: -100px;
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.folio-item .portfolio-item-meta h5 {
	font: 14px/21px "Merriweather", serif;
	letter-spacing: 2px;
	color: white;
	margin: 0;
}

.folio-item .portfolio-item-meta p {
	font: 14px/18px "Merriweather", serif;
	color: #8A8A8A;
	margin: 0;
}

/* on hover */
.folio-item:hover .overlay,
.folio-item:hover .link-icon,
.folio-item:hover .portfolio-item-meta {
	filter: alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	zoom: 1;
}

.folio-item:hover .portfolio-item-meta {
	left: 0;
}

.folio-item:hover .item-wrap img {
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

/* media queries - .portfolio-item-meta */

@media only screen and (max-width:500px) {
	.folio-item .portfolio-item-meta {
		top: 16%;
	}

	.folio-item .portfolio-item-meta h5 {
		font: 13px/21px "Merriweather", serif;
		letter-spacing: 1px;
	}

	.folio-item .portfolio-item-meta p {
		font: 13px/18px "Merriweather", serif;
	}

}

@media only screen and (max-width:400px) {
	.folio-item .portfolio-item-meta {
		top: 12%;
	}

	.folio-item .portfolio-item-meta h5 {
		font: 11px/18px "Merriweather", serif;
		letter-spacing: 1px;
	}

	.folio-item .portfolio-item-meta p {
		font: 11px/16px "Merriweather", serif;
	}

}


/* 
/* 10. =about
/* =================================================================== */

#about { background:#003e77; padding:70px 0; }


/** 
/* 12. =contact
/* =================================================================== */

#contact {
	background: #12151B;
	padding-top: 120px;
	padding-bottom: 138px;
	overflow: hidden;
	border-bottom: 1px solid #15191d;  
}

#contact h3 {
	font: 18px/36px "Merriweather", serif;
	color: #fdc501;
	padding: 0;
	margin-bottom: 6px;
}

#contact .left {
	padding-right: 35px;
}

#contact .right {
	padding-left: 35px;
	position: relative;
	top: -6px;
}

/* media queries:  
/* #contact / .left .right */

@media only screen and (max-width:1024px) {
	#contact .left {
		padding-right: 30px;
	}

	#contact .right {
		padding-left: 30px;
	}

}

@media only screen and (max-width:768px) {
	#contact .left,
	#contact .right {
		width: 100%;
		padding: 0 15px;
	}

	#contact .right p.lead {
		font: 18px/36px "Merriweather", serif;
	}

}

@media only screen and (max-width:600px) {
	#contact .left,
	#contact .right {
		padding: 0 10px;
	}

	#contact .right p.lead {
		font: 17px/33px "Merriweather", serif;
	}

}

@media only screen and (max-width:400px) {
	#contact .left,
	#contact .right {
		padding: 0;
	}

}

/* contact form */
#contact form {
	margin-top: 12px;
	margin-bottom: 30px;
}

#contact form div {
	position: relative;
}

#contact form div:before,
#contact form div:after {
	content: "";
	display: table;
}

#contact form div:after {
	clear: both;
}

#contact form div label {
	font: 11px/24px "Merriweather", serif;
	position: absolute;
	bottom: 3px;
	right: 6px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0 20px;
	color: #e64e04;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
#contact select {
	margin-bottom: 45px;
	width: 100%;
}

#contact button.submitform {
	font: 15px/30px "Merriweather", serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	height: 60px;
	display: inline-block;
	padding: 15px 30px;
	width: 100%;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#message-warning,
#message-success {
	display: none;
	background: #0F1215;
	border-radius: 3px;
	padding: 24px;
	margin-bottom: 36px;
	width: 100%;
}

.error {
	color: #e64e04; padding-bottom:30px;
}

input[type="text"], input[type="password"], input[type="email"] { margin-bottom:20px; }

#message-warning {
	color: #e64e04;
}

#message-success {
	color: #fdc501;
}

#message-warning i,
#message-success i {
	margin-right: 10px;
}

/* form loader */
#submit-loader {
	display: none;
	position: relative;
	left: 0;
	top: 18px;
	width: 100%;
	text-align: center;
}

#submit-loader .text-loader {
	display: none;
	font: 14px/30px "Merriweather", serif;
	color: #FFFFFF;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.oldie #submit-loader .s-loader {
	display: none;
}

.oldie #submit-loader .text-loader {
	display: block;
}

/* loader animation 
------------------------------------------- */
.s-loader {
	margin: 12px auto 30px;
	width: 70px;
	text-align: center;
	-moz-transform: translateX(2.5px);
	-o-transform: translateX(2.5px);
	-webkit-transform: translateX(2.5px);
	-ms-transform: translateX(2.5px);
	transform: translateX(2.5px);
}

.s-loader > div {
	width: 12px;
	height: 12px;
	background-color: #FFFFFF;
	border-radius: 100%;
	display: inline-block;
	margin-right: 5px;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.s-loader .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.s-loader .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
	0%,
	80%,
	100% {
		-moz-transform: scale(0);
		-o-transform: scale(0);
		-webkit-transform: scale(0);
		-ms-transform: scale(0);
		transform: scale(0);
	}

	40% {
		-moz-transform: scale(1);
		-o-transform: scale(1);
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}

}

@keyframes sk-bouncedelay {
	0%,
	80%,
	100% {
		-moz-transform: scale(0);
		-o-transform: scale(0);
		-webkit-transform: scale(0);
		-ms-transform: scale(0);
		transform: scale(0);
	}

	40% {
		-moz-transform: scale(1);
		-o-transform: scale(1);
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}

}


/** 
/* 13. =footer
/* =================================================================== */

footer { padding-top:50px; padding-bottom:25px; position:relative; color:#fff; background:#0f2e4a; }
footer .content { margin-bottom:12px; }
footer a, footer a:visited { color:#fff; }
footer a:hover, footer a:focus { color:#fff; }
footer .info {width:90%; max-width:800px; margin:0px auto 0px; text-align:center; clear:both;}

/* impressum */
footer .impressum { clear:both; margin:15px 0; padding:0px 18px 6px 18px; font:14px/24px "Merriweather", serif; letter-spacing:.5px; text-align:center; }
footer .impressum li { display: inline-block; padding: 0 5px; }


/* Leistungen @ Home*/
#portfolio .bgrid:hover { background-color:#003e77; border-radius:3px; }
#portfolio .bgrid a { background-color:#003e77; border-radius:3px; padding:5px 7px; }
#portfolio .bgrid a:hover { background-color:#155793; border-radius:3px; padding:5px 7px; color:#fff; }