/*
TODO: 

/work
? Vajag .long vienādā platumā ar gallery
? Vajag gallery-header border-bottom vienādā platumā ar gallery
? responsive css for labels & details... 

.serif { font-family: "Fauna One", "Glegoo", serif; color: #000; }
.handwritten { font-family: 'Amatic SC', 'Moon Flower', sans-serif; color: #000; font-size: 2.5em; font-weight: bold; }

.hdrImg_title { display: block; width: 50%; margin-left: auto; max-width: 500px; font-size: 2em; }
.hdrImg_subtext {  display: block; width: 50%; margin-top: 10px; margin-left: auto; max-width: 500px; font-size: 1.25em;}
.hdrImg-fixed { background-attachment: fixed; }
.hdrImg_button { display: block; width: 90%; margin-top: 30px; margin-left: auto; max-width: 400px; }
.hdrImg_button_text { float: none; display: block; margin: 0.6em 0 0.6em; padding: 20px; max-width: 9em; width: 47.1%; background-color: teal; text-align: center;  font-size: 1.2em;  font-weight: 400 !important;  color: white !important; }
.btn { border: 1px solid #ffffff; border-radius: 5px; }

.sign { float: none; display: block; text-align: left; width: 400px; height: 100%; background-repeat: no-repeat; background-size: cover; margin: 100px auto 20px; max-width: 600px; }

*/
body, html { 
	height: 100%; 
	color: #312C2F; 
	letter-spacing: 1px; 
	word-spacing: 3px; 
}
body { 
	font-family: 'Europa', 'Oxygen', 'Source Sans Pro', sans-serif;
	margin: 0;
	font-size: 12px;
	text-align: justify;
}

.wf-loading { 
	display: none;
 } /* Ne touche pas! A class controlled by webfontloader to avoid FOUT */

a:link { 
	color: #312C2F;
	text-decoration: none;
	font-weight: 100;
}

a:visited { 
	color: #312C2F;
}

a:hover { 
	color: #0D9683;
	font-weight: 300;
}

a:active { 
	color: #0D9683;
}

.aqua { 
	color: #20866f;
}
 
.umber { 
	color: #c7121e;
}
 
.gray { 
	color: #b4b0ac;
}
 
.off-black { 
	color: #242024;
}

.black { 
	color: #000;
}

.header {  
	width: 100.00%; 
	height: 140px; 
	display: inline-block; 
	white-space: nowrap; 
	vertical-align: top; 
	margin: 0px; 
	border-bottom: 1px solid #c0c0c0; 
	border-top: 3px solid #0D9683;
}

.insignia { 
	width: 35.00%; 
	height: 100%;
	display: inline-block; 
	margin: 0px auto; 
	vertical-align: top; 
}

.nav-menu { 
	display: inline-block; 
	position: relative; 
	width: 65.00%; 
	height: 140px; 
}

.nav-menu ul { 
	width: 100%; 
	height: 99%; 
	margin: 0; 
	padding: 0; 
	text-align: center; 
	list-style: none; 
}

.nav-menu li { 
	width: 100%; 
	float: none;
	display: inline;
	margin: 0px 0.4em;
	font-size: 1.25em;
	font-weight: bold;
}

.nav-menu a { 	
	position: relative;
	top: 60px;
	font-size: 1.1em;
	font-weight: 400;
} 

.nav-menu .active a { 	
	-webkit-font-smoothing: subpixel-antialiased;
	border-bottom: 2px solid gray;
}

.nav-img { 
	border: 0;
	height: 65px;
	margin: 0;
	padding: 40px 0px 0px;
	vertical-align: top;
}

.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; 
	width: 70px; 
	height: 55px; 
	float: right; 
	text-indent: -9999px; 
	overflow: hidden; 
	background: #0D9683 url(../img/hamburger.gif) no-repeat 50% 33%;
}

.headerBullet { 
	top: 60px;
	position: relative;
	font-size: 14px;
}

.headerLogo svg { 
	display: inline-block;
	float: left;
	height: 125px;
	margin: 10px;
	margin-bottom: -30px;
}

.headerText { 
	display: inline-block;
	width: 60%;
	vertical-align: top;
	margin: 40px 15% 0px 0px;
	padding: 0px;
	text-align: center;
}

.headerText h1 { 
	padding: 0px;
	margin: 0px 0px 10px;
}

.headerText h3 { 
	padding: 0px;
	margin: -20px 0px 0px;
	font-weight: 400;
}

.content {
	min-height: calc(100vh - 195px);
}


/* Footer... */
.footer { 
	position: relative;
	height: 50px;
	text-align: center;
	background: #0D9683;
}

.copyright { 
	position: absolute;
	bottom: 15px;
	width: 100%;
	text-align: center;
	font-size: 1.2em;
	font-weight: 300;
	color: #fff;
}

.grad { 
	width: 100%;
	height: 3px;
	background: -webkit-linear-gradient(left, #D72B29, #0D9683, #312C2F);
	background:      -o-linear-gradient(right, #D72B29, #0D9683, #312C2F);
	background:    -moz-linear-gradient(right, #D72B29, #0D9683, #312C2F);
	background:         linear-gradient(to right, #D72B29, #0D9683, #312C2F);
}



/* Common elements... */
.mainTitle { 
	font-size: 2em;
	font-weight: 300;
}

.heavy { 
	font-weight: 600;
}

.clearer { 
	clear: both;
	height: 50px;
}

.error { 
	color: rgba(209, 83, 83, 1);
	padding: 0px 7px;
}

label.error { 
	float: left;
	max-width: 300px;
	color: rgba(209, 83, 83, 1);
	padding: 0px 7px;
	font-size: 1.1em;
	font-weight: 100;
}

.msgForm>input.error, .msgForm>textarea.error { 
	border: 1px solid rgba(209, 83, 83, 1);
}

/* About... */
.hdrImg { 
	position: relative;
	display: block;
	width: 100%;
	min-height: 25em;
	margin: 0px auto;
	padding: 75px 0px;
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	overflow: hidden;
}

.hdrImg_container { 
	position: absolute;
	display: block;
	width: 40%;
	max-width: 1200px;
	min-height: 8em;
	bottom: 10px;
	right: 10%;
}

.aboutTitle { 
	float: none;
	display: block;
	text-align: center;
	width: 100%;
	margin: 110px auto 20px;
	max-width: 600px;
	font-size: 2em;
	font-weight: 100;
	color: #fff;
}

.slides-container { 
	width: 90%;
	margin: 15px auto;
	padding: 20px;
	text-align: center;
	        box-sizing: border-box;
	   -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.slide { 
	display: inline-table;
	max-width: 400px;
	max-height: 400px;
	margin: 35px;
	padding: 0px;
}

.slide-icon { 
	max-height: 225px;
	width: auto;
	margin: 10px auto;
}

.slide-title { 
	display: inline-table;
	margin: 10px;
	padding: 0px;
	font-size: 1.75em;
	font-weight: 400;
	width: 100%;
}

.slide-title-border { 
	content: '';
	position: relative;
	margin: 20px auto 30px;
	padding: 0px;
	width: 75%;
	height: 1px;
	background: #c0c0c0;
}

.slide-caption { 
	margin: 10px;
	padding: 0 0 0 5%;
	text-align: left;
	font-size: 1.25em;
	color: gray;
	font-weight: 300;
}

.morecontent span { 
	display: none;
}

.morelink { 
	display: inline;
	color: #0D9683 !important;
	font-weight: 400 !important;
	font-size: 0.9em !important;
	text-decoration: none;
	margin: 0px 0px 0px 5px;
	bottom: 2px;
}


/* Portfolio gallery */
.gallery { 
	margin: 50px auto 100px;
	padding: 0px;
	background-color: #fff;
	text-align: center;
}

.gallery-header { 
	display: block;
	width: 90%;
	max-width: 1200px;
	margin: 0px auto 30px;
	border-bottom: 1px solid #c0c0c0;
}

.gallery-title { 
	position: relative;
	width: 33%;
	margin: 5px auto -10px;
	padding: 0px 0px 10px;
	text-align: center;
	background-color: #fff;
}

.container:before, 
.container:after { 
	content: "";
	display: table;
	flex-basis: 0;
	order: 9999;
}

.container:after { 
	clear: both;
}

.gallery-container { 
	display: flex;
	justify-content: center;
	width: 90%;
	max-width: 1200px;
	margin: 0px auto;
	padding: 0px;
	overflow: hidden;
}

.gallery_column { 
	display: block;
	width: 100%;
	margin: 0px auto;
	padding: 0px 0px 0px 2.5%;
	max-width: 1200px;
}

/* .gallery_column.grid>.widget { float: left;
} */
.gallery_column>.widget { display: inline-block; float: left; margin: 0.1%; width: 24%; }
.gallery_column>.widget: nth-child(4n+1) { clear: left; }
.gallery_column>.widget: nth-child(4n+2) { clear: none; }
.gallery_column>.widget: nth-child(4n+3) { clear: none; }
.gallery_column>.widget: nth-child(4n+4) { clear: none; }

.gridImage { 
	display: block; 
	width: 100%; 
	height: 100%; 
	background-position: center top; 
	background-size: cover; 
	min-height: 22em; 
	-webkit-filter: grayscale(100%); 
	   -moz-filter: grayscale(100%); 
	    -ms-filter: grayscale(100%); 
	     -o-filter: grayscale(100%); 
	        filter: grayscale(100%); 
/* 	        filter: url("grayscale.svg"); */ 
	        filter: gray; 
}

.gridImage:hover { 
	-webkit-transition: opacity 0.5s ease; 
	        transition: opacity 0.5s ease; 
	-webkit-transition-duration: 0.125s; 
	        transition-duration: 0.125s; 
	-webkit-filter: grayscale(0%); 
	   -moz-filter: grayscale(0%); 
	    -ms-filter: grayscale(0%); 
	     -o-filter: grayscale(0%); 
	        filter: grayscale(0%); 
	        filter: none; 
	        filter: ; /* IE 6-9 */  
	cursor: pointer; 
}

.gridImage-tag { 
	display: none; 
	width: 100.00%; 
	height: 35px; 
	padding: 7px 0px 7px; 
	background-color: #fff; 
	opacity: 0.95; 
	border: 1px solid #FBFAFA; 
	box-sizing: border-box; 	
	text-transform: uppercase;  
	font-weight: 400; 
	font-size: 1.25em; 
	text-align: center; 
	display: inline-block; 
	opacity: 0; 
	   -moz-transition: all 750ms ease;	
	-webkit-transition: all 750ms ease;	
	     -o-transition: all 750ms ease;	
	        transition: all 750ms ease; 
}

.gridImage-tag.in-view {	
	opacity: 1; 
	   -moz-transition: all 750ms ease; 
	-webkit-transition: all 750ms ease; 
	     -o-transition: all 750ms ease; 
	        transition: all 750ms ease; 
}

.gridImage-tag-icon { 
	background-size: cover; 
	background-repeat: no-repeat; 
	width: 50px; 
	height: 50px; 
	margin: -35px 0px 0px 5px; 
}

.app { background-image: url(/img/icons/appIcon.png); }
.web { background-image: url(/img/icons/webIcon.png); }

.gridContact { 
	position: relative; 
	height: 100%; 
	width: 100%; 
	min-height: 22em;	
	background-color: #fff; 
	font-weight: 400; 
	/*border: 1px solid #dbdbdb;*/
	        box-sizing: border-box;
	   -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
}

.getInTouch { 
	border: 3px solid black; 
	width: 75%;
	height: 50%;
	padding: 12px;
	margin: 25% 6%;
	text-align: center;
	font-size: 1.5em;
	font-weight: 100;
	color: #000;
}

/* Portfolio details... */
.long { 
	display: none;
	width: 350%;
	margin: 20px 5px;
	padding: 25px;
	border: 1px solid #d5d5d5;
	
	-webkit-box-shadow: 6px 6px 18px 0px rgba(168,168,168,0.9);
	   -moz-box-shadow: 6px 6px 18px 0px rgba(168,168,168,0.9);
	        box-shadow: 6px 6px 18px 0px rgba(168,168,168,0.9);
}

.project-title { 
	font-size: 15px;
	border-bottom: 1px solid #0D9683;
	margin: 0 0 50px 0;
}

.project-img { 
	width: 50%;
	height: 100%;
}

.project-img, 
.projText { 
	display: inline-table;
	vertical-align: top;
}

.project-img img { 
	width: 100%;
	margin-bottom: 10px;
}

.img-wrap { 
	height: 350px;
	overflow-y: scroll;
	padding: 0 10px 0 0;
}

.img-wrap::-webkit-scrollbar { 
	border: 1px solid black;
	width: 7px;
}

.img-wrap::-webkit-scrollbar-track { 
	background: #C2BDBA;
}

.img-wrap::-webkit-scrollbar-track-piece { }
.img-wrap::-webkit-scrollbar-thumb { 
	background: #312C2F;
	cursor: pointer;
}

.project-text { 
	width: 48%;
	text-align: justify;
	font-size: 13px;
	height: 100%;
}

.project-text-deets { 
	padding-left: 40px;
}

.project-components { 
	font-size: 15px;
	margin: 0 0 50px 0;
}

.project-description {}


/* Contact... */
.leftPane img {  }

.bio { 
	position: relative;
	margin: 10% auto;
	width: 90%;
}

.bio-img {	
	position: relative;
	float: left;
	margin: 2% 3%;	 width: 175px;
	height: auto;
	top: 0px;
	overflow: hidden;
	text-align: center;
	 background: #FFF;
	background-repeat: no-repeat;
	background-position: center center;
	        border-radius: 100px;
	-webkit-border-radius: 100px;
	   -moz-border-radius: 100px;
} 

.bio-name { 
	margin: 10px 0px 2px;
	padding: 0px;
	font-size: 2em;
	font-weight: 400;
}

.bio-title { 
	margin: 0px 0px 20px;
	padding: 0px;
	font-size: 1.15em;
	font-weight: 300;
	color: #c0c0c0;
	font-style: italic;
}

.bio-caption { 
	margin: 0px;
	padding: 0px;
	text-align: left;
	font-size: 1.25em;
	color: gray;
	font-weight: 300;
}

.background { 
	content: '';
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.portrait {  
	position: absolute;
	bottom: 0px;
	z-index: -1;
	width: 45%;
	margin: 0px 28% -50px;
	padding: 0px;
	opacity: 0.4;
}

.contactInfo { 
	display: block;
	vertical-align: top;
	width: 49%;
	padding: 50px 0;
	margin: 0 auto;
	text-align: center;
	        box-sizing: border-box;
	   -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.contactsTitle { 
	/*margin: 15px 0px 5px;*/
	font-size: 2em;
	color: #000;
	text-transform: uppercase;
}

.contactsDeets { 
	font-size: 1.2em;
	text-align: justify;
	margin: 0 auto;
	/*float: right;*/
	/*margin-right: 10px;*/
}

.contactsDeets a { 
	color: #0D9683 !important;
	font-weight: 400 !important;
	text-decoration: none;
}

.msgForm { 
	margin: 10% auto; /* tagad virsraksts vienā līmenī ar Tavu vārdu */
	width: 67%;
	height: 75%;
}

.formTitle { 
	margin: 15px 0px 5px;
	font-size: 1.75em;
	font-weight: 100;
	color: #fff;
	text-transform: uppercase;
}

.formTitle-caption { 
	margin: 0px 0px 20px;
	font-size: 1.2em;
	font-weight: 100;
	color: #858585;
	text-align: left;
}

.input { 
	width: 100%;
	        box-sizing: border-box;
	   -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 1em;
	margin: 1em 0;
	font-size: 1.1em;
	font-weight: 100;
	color: #858585;
	background-color: #000;
	border: 1px solid #414141;
	border-radius: 3px;}
	.msgForm>textarea { min-height: 200px;
	resize: none;
	padding: 1em;
}

.msgForm>input[type=text] { 
	height: 2.5em;
	padding: 0 1em;
	margin: 1em 0;
}

.msgForm>input[type=submit] { 
	min-width: 120px;
	max-width: 30%;
	height: 2em;
	padding: 0em;
	margin: 1em 0em 0em;
	color: #20866f;
	background-color: #fff;
	font-size: 1.2em;
	border: 1px solid #c0c0c0;
}


.social { 
	position: absolute;
	width: 30%;
	height: 30px;
	right: 0;
	top: -13px;
}

.social li { 
	position: absolute;
	height: 100%;
	width: 30px;
	list-style: none;
}

.social li: last-child { 
	margin-right: 0;
}

.social .tooltip { 
	position: relative;
	display: block;
	opacity: 0;
	height: 35px;
	width: 135px;
	top: 15px;
	margin-left: -105px;
	text-align: center;
	font-weight: 400;
	font-size: 1.2em;
	line-height: 35px;
	color: #fff;
	   -moz-transform: translateY(20px);
	    -ms-transform: translateY(20px);
	-webkit-transform: translateY(20px);
	        transform: translateY(20px);
}

.social .tooltip: before { 
	content: "";
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	/* top: -10px;
	*/ left: 0;
	right: 0;
	margin: auto;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
}

.social a { 
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
	text-align: center;
}

.social a.tw svg { 
	width: 21px;
	height: 21px;
}


/*
.social a.tw .tooltip: before { border-bottom: 12px solid #00aced;
}
*/
.social a.tw .mask svg { 
	bottom: 5px;
}

.social a.ln svg { 
	width: 21px;
	height: 21px;
}

.social a.ln .tooltip,
.social a.ln:after { 
	background-color: #007bb6;
}

.social a.tw .tooltip,
.social a.tw:after { 
	background-color: #00aced;
}

/*
.social a.ln .tooltip: before { border-bottom: 12px solid #007bb6;
}
*/

.social a.ln .mask svg { 
	bottom: 5px;
}

.social a:hover .mask { 
	height: 100%;
}

.social a:hover>svg { 
	opacity: 0;
	   -moz-transition-delay: 120ms;
	     -o-transition-delay: 120ms;
	-webkit-transition-delay: 120ms;
	        transition-delay: 120ms;
}

.social a svg { 
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.social .mask { 
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	display: block;
	overflow: hidden;
	height: 0;
	   -moz-transition: all 400ms cubic-bezier(.165,.84,.44,1);
	     -o-transition: all 400ms cubic-bezier(.165,.84,.44,1);
	-webkit-transition: all 400ms cubic-bezier(.165,.84,.44,1);
	        transition: all 400ms cubic-bezier(.165,.84,.44,1);
}

.social .mask svg { 
	top: auto;
}

#map-canvas { 
	border: 1px solid grey;
	width: 90%;
	max-width: 740px;
	height: 400px;
	margin: 50px auto;
	padding: 0px;
}

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

/* responsive */

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

@media screen and (min-width: 1025px) {
    .nav-toggle { 
	    display: none; 
	}
    
	.nav-menu a { 
		position: relative; 
		top: 60px; 
		font-size: 1.1em; 
		font-weight: 400; 
	}
	 
    .nav-menu .active a { 	
	    -webkit-font-smoothing: subpixel-antialiased; 
	    border-bottom: 2px solid gray;
	}

	/* Contact... */
	.pane { 
		max-height: 800px; 
		display: inline-table;
	}
	
	.leftPane { 
		width: 49%; 
		float: left; 
	}
	
	.rightPane { 
		width: 49%; 
		height: auto; 
		background-color: #000; 
		float: right; 
		margin-bottom: 50px; 
	}
	
	.portrait { 
		display: block; 
	}

	.gridImage-tag { 
		margin: 75% 0px 0%; 
	}
}

@media screen and (min-width: 581px) and (max-width: 1024px) {
	
	.nav-toggle { 
		display: block; 
	}
	
	.nav-menu { 
		display: none; 
	}
	
	.nav-menu.opened { 
		display: inline-block; 
		position: relative; 
		height: 300px; 
		margin: 130px 0px 0px; 
	}
	
	.nav-menu.opened a { 
		display: block; 
		height: 20px; 
		padding: 10px; 
		margin: -18px 0px 0px -60%; 
		color: #fff; 
		background-color: #0D9683; 
		top: 0px !important; 
	}
	
	.nav-menu li: nth-child(2n) { display: none; height: 120px; } /* hide menu icon */
	
	.headerBullet {
		display: none;
	}

	.gallery_column { 
		padding: 0px; 
	}
	
	.gallery_column.grid>.widget { 
		float: left; 
	}
	
	.gallery_column>.widget: nth-child(2n+1) { margin: 0.1%; width: 49%; clear: left; max-width: inherit; }	
	.gallery_column>.widget: nth-child(2n+2) { margin: 0.1%; width: 49%; clear: none; max-width: inherit; }

	.slide-caption { 
		padding: 0 0 0 2%; 
		width: 100%; 
	}
	
	.gridImage-tag { 
		margin: 75% 0px 10%; 
	}


	/* Contact... */
	.pane { 
		display: inline-table; 
	}
	
	.leftPane { 
		width: 49%; 
		float: left; 
	}
	
	.rightPane { 
		width: 49%; 
		height: auto; 
		background-color: #000; 
		float: right; 
		margin-bottom: 50px; 
	}
	
	.portrait { 
		display: block; 
	}
}

@media screen and (max-width: 580px) {	
	
	.nav-toggle { display: block; }
	
	.nav-menu { display: none; }
	
	.nav-menu.opened { 
		display: inline-block; 
		position: relative; 
		height: 300px; 
		margin: 130px 0px 0px; 
	}
	
	.nav-menu.opened a { 
		display: block; 
		height: 20px; 
		padding: 10px; 
		margin: -18px 0px 0px -60%; 
		color: #fff; 
		background-color: #0D9683; 
		top: 0px !important; 
	}
	
	.nav-menu li: nth-child(2n) { 
		display: none; 
		height: 120px; 
	} /* hide menu icon */

	.headerBullet {
		display: none;
	}
	
	.gallery_column { 
		padding: 0px; 
	}
	
	.gallery_column.grid>.widget { 
		float: left; 
	}
	
	.gallery_column>.widget: nth-child(1n+1) { margin: 0.1%; width: 100%; clear: left; max-width: inherit; }	

	.gridImage-tag { 
		margin: 75% 0px 10%;
	}

	/* Contact... */
	.pane { 
		display: block; 
	}
	
	.leftPane { 
		float: none; 
		width: 90%; 
		padding: 0px; 
		margin: 0px auto 50px; 
	}
	
	.rightPane { 
		float: none; 
		width: 90%; 
		background-color: #000; 
		padding: 25px 0px; 
		margin: 0px auto 50px; 
	}
	
	.portrait { 
		display: none; 
	}

}

@media (max-width:1150px),(max-device-width:1150px){
	
	.bio:first-child {
		margin-top: 5%;
	}
	
	.msgForm {
		margin: 20% auto;
	}
	
	.social {
		position: relative;
		width: 100%;
		right: 0;
	}
	
	.social li {
		position: static;
		display: inline-block;
		vertical-align: top;
		float: right;
	}
	
	.slide {
		margin: 35px auto;
	}
	
}

@media (max-width:990px),(max-device-width:990px){
	
	.rightPane {
		width: 100%;
		float: none;
	}
	
	.msgForm {
		margin: 10% auto;
		width: 90%;
	}
	
	.leftPane {
		width: 100%;
		float: none;
	}
	
	.nav-toggle {
		margin-right: 3%;
	}
	
	.social {
		position: absolute;
		top: -11px;
		right: 0;
		width: 30%;
	}

}

@media (max-width: 870px),(max-device-width: 870px){
	.gallery_column>.widget {
		width: 49%;
	}
	
	.gridContact {
		border: none;
	}
	
	.gridImage-tag {
		opacity: 1;
	}
	
}

@media screen and (max-width: 680px) {
	
	.hdrImg {
		min-height: 10px;
	}
	
	.hdrImg_container {
		position: static;
		width: 80%;
		min-height: 10px;
		margin: 0 auto;
	}
	
	.aboutTitle {
		margin: 20px auto;
		width: 100%;
	}
	
	.content {
		/*overflow-x: hidden;*/
	}
}

@media screen and (max-width: 650px), (max-device-width: 650px) {
	
	.gallery_column>.widget {
		width: 90%;
		margin: 0.1% 5%;
	}
	
	.gridImage {
		        filter: none;
		     -o-filter: none;
		    -ms-filter: none;
		   -moz-filter: none;
		-webkit-filter: none;
	}
	
	.slide-caption {
		text-align: justify;
		padding: 0;
	}
	
	.hdrImg {
		padding: 30px 0;
	}
	
	.gallery-title {
		width: 90%;
		background: transparent;
	}
	
	.slide-title {
		margin: 10px auto;
	}
}


@media screen and (max-width: 540px) {
	
	.insignia {
		
	}
	
	.headerLogo svg {
		height: 80px;
		width: 90px;
		margin: 30px 5px;
	}
	
	.headerText {
		width: auto;
		margin: 45px auto 0 0;
	}
	
	.headerText h1 {
		font-size: 16px;
	}	
	
	.headerText h3 {
		font-size: 10px;
	}
}

@media screen and (max-width: 525px) {
	.bio-img {
		display: block;
		margin: 2% auto;
		float: none;
	}
	
	.social {
		position: relative;
		width: 100%;
		text-align: center;
	}
	
	.social li {
		position: static;
		float: none;
	}
	
	.bio-name,
	.bio-title {
		text-align: center;
	}
	
	.contactInfo {
		width: 300px;
	}
}

/* 6+ Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) { 

	.hdrImg {
		padding: 60px 0;
		min-height: 10px;
	}
	
	.hdrImg_container {
		position: static;
		width: 80%;
		margin: 0 auto;
	}
	
	.aboutTitle {
		margin: 0 auto;
	}
}

/*
#contacts .content a { color: #009CDE; }
#contacts .content a: hover { color: #0057B8; }
.contactWrap { height: 300px; min-width: 585px; width: 70%; max-width: 900px; margin: 0 auto; font-size: 15px; }
.formLabel { width: 98px; }
.contactForm { min-width: 325px; max-width: 557px; display: inline-block; vertical-align: middle; border-left: 1px solid #009CDE; padding: 0 0 0 40px; }
.productLine {width: 260px; }

.building { margin: 40px 0; }
.building img.factory { width: calc(80vw - 360px); max-width: 740px; padding-right: 40px; border-right: 1px solid #009CDE; }
.rightContactCol { width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; height: ; float: left; }
#contacts .contactWrap { height: auto; width: 80%; max-width: 1100px; }
#contacts .contactForm { padding: 0 0 0 40px; vertical-align: top; margin: 0 auto; display: inline-block; width: 270px; max-width: 270px; min-width: 270px; border: none; }

.formLabel, .inputBox { display: inline-block; }
#contacts .inputBox { margin-bottom: 5px; margin-right: 5px; }
.formRightInput img { vertical-align: -16px; }
.contactForm textarea { max-width: 550px; height: 100px; margin: 0 0 10px 0; }
#contacts .contactForm textarea { width: 255px; max-width: 255px; }
.clear { clear: both; }
.submitButton { height: 25px; width: auto; border: 1px solid #009CDE; border-radius: 3px; background: white; color: #009CDE; text-transform: uppercase; padding: 3px 5px; margin: -33px 0 0 10px; float: right; font-size: 16px; }
.inputBox input[type="text"] { width: 200px; border: 1px solid #aaa; }

#contacts .inputBox input[type="text"] { width: 160px; margin-top: -1px; display: inline; }
*/

