@charset "utf-8";

/**********  --RESET--  **********/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
/*ol, ul {
	list-style: none;
}*/
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
  	outline: none;
}
/**********  --END RESET--  **********/


/**********  --GLOBAL--  **********/

body {
	background-color: #f0f3f8;
	font-family: Arial, Helvetica, sans-serif;
}

a {
	color: #36f;
	text-decoration:none;
}

a:hover {
	color: #39c;
	text-decoration:underline;
}

p, aside {
	line-height: 1.6em;
	padding: 1% 2% 2% 1%;
}

iframe {
	max-width:100%;
}

section[role*=main] ul {
	line-height: 1.4em;
	padding: 1% 2% 2% 8%;
}

section[role*=main] .navlist {
	color:#008285;
}

section[role*=main] h1, section[role*=main] h2, section[role*=main] h3 {
	font-size:1.5rem;
	color: #04376e;
	margin-bottom:2%;
	margin-left:.5%;
	font-weight:bold;
}

section[role*=main] h2, section[role*=main] h3 {
	font-size:1.1rem;
	margin-top:3%;
}

section[role*=main] h3 {
	font-size:1rem;
}

.clear {
	clear: both;
}

section[role*=main] ul.spaced {
	padding-left:5.2% !important;	
}

section[role*=main] ul.spaced li {
	margin-bottom:3.5%;	
}

.hide-text {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.to-top a {
	border-top: 1px solid #4976ff;
	border-bottom: 1px solid #4976ff;
	text-decoration: none;
	padding: 2px;
	font-size: 11px;
	color: #48a1d1;
}

.to-top a:hover {
	color: #fff;
	background-color: #48a1d1;
}

.sidebox {
	background-color:#e6f4fa;
	float:right;
	font-weight:bold;
	font-style:italic;
	padding:2%;
	margin:1.7% 1% 1% 3%;
	max-width:20%;
	min-width:80px;
	font-size:.75rem;
}

.right {
	float: right;
}

#wrapper {
	width:70%; /*67.709%;*/
	min-width:260px;
	margin: 0 auto 1% auto;
	background-color:#fff;
	box-shadow:.3em .3em 1em .075em #b6b8ba;
	behavior: url(styles/pie.htc);
	font-size:.8rem;
	position:relative;
	overflow:hidden;
}

header {
	float:left;
	width:100%;
}

header nav {
	background-color:#f6f6f6;
	font-size:.7rem;
	float:right;
	width:175px !important;
	padding:1% 0 .75% 4%;
	border-bottom-left-radius:2em;
}

header nav a {
	margin:0 2%;
	color:#000;
}

header h1 {
	background:url(../images/logo.gif) transparent 0 1% no-repeat;
	width:186px; /*image dimensions*/
	height:65px;
	margin: 2.38461% 0 1% 3.28205%;
}

header .sm {
	float:right;
	position:relative; top:2.9em; left:15em;
}

header h2 {
	width: 67.6923%;
	max-width: 67.6923%;
	float: right;
	margin: -2% 0 0 0;
	text-align: right;
	color: #fff;
	background-color: #008285;
	font-weight: bold;
	padding: .41025% 3.07692% .41025% 0;
	font-style: italic;
	font-size: .95rem;
}


	
/*main nav*/
#mainnav {
	float: left;
	border-left: 14px solid #008285;
	padding: 1.53846% 0 .51282% 3.07692%;
	line-height: 1.5em;
	width: 24%; /*235px*/ /*24.7%*/
	min-width:100px;
	font-size:.8rem;
	margin-top:1%;
	position:absolute; top:102px;
}

#mainnav ul {
	margin-bottom: 12.10256%;
}

#mainnav ul li:first-child {
	list-style:none;
}

#mainnav ul li:first-child + li + li a, #mainnav ul li:first-child + li + li + li a {  
	padding:0 0 0 7%;
}

#mainnav ul li:first-child + li + li + li a {  
	padding:0 0 4% 7%;
}

#mainnav li {
	display: inline;
}

#mainnav a {
	text-decoration: none;
	padding: 1px 2px;
	display: block;
	color: #008285;
	clear:right;
}
/*end main nav*/


section[role*=main], section#lcs, section#swm {
	width:70.75%;
	background:url(../images/banner_main.jpg) transparent .3em 1.3em no-repeat;
	background-size:contain;
	padding-top:28%;
	box-sizing: border-box;
	overflow:hidden;
	float:right;
}

section#lcs {
	background-image:url(../images/banner_ls.jpg);
}

section#swm {
	background-image:url(../images/banner_swm.jpg);
}

section#projects ul.spaced a {
	font-weight:bold;
}

#newssection {
	width:99%;
	margin-left:1%;
}

#newssection div {
	clear:both;
	line-height: 1.5em;
	display:table-row;
	border-radius:15px;
	margin-right:2px;
}

#newssection div:nth-child(even) {
	background-color:#fafafa;
}

#newssection span {
	float:left;
	width:15%;
	margin-top:1.25%;
	margin-bottom:1.25%;
	margin-left:1%;
}

#newssection span + span {
	float:right;
	width:82%;
	margin-top:1.25%;
	margin-bottom:1.25%;
	padding-right:1%;
	/*font-weight:bold;*/
}

#newssection span + span p {
	margin-top:1.5%;
}

#newssection span + span em {
	font-style:italic;
	font-weight:normal;
}

#newssection span + span ul {
	margin-bottom:-2%;
	margin-left:-3%;
}

#newssection span img {
	margin:16% 0 0 12%;
}

#newssection .new {
	border:1px solid #008285;
	display:inline-block;
	margin-bottom:1%;
	width: 99%;
}

footer {
	border-top:1px dashed #a6d34f;
	width:100%;
	text-align:right;
	margin-top:2%;
	font-size:.85em;
	padding:2% 1% 2% 0;
	position:relative; right:1%;
}
/**********  --END GLOBAL--  **********/





@media all and (min-width: 1px) and (max-width: 759px) {
	
	p {
		padding: 1% 3% 4% 2%;
  	}
	
	section[role*=main] h1 {
		margin-top:4%;
		margin-bottom:4%;
	}
	
	header .sm {
		float:right;
		position:relative; top:2.4em; left:14.3em;
	}
	
	#mainnav {
		border-left: none;
		width:100%;
		padding: 0;
		float:left;
  	}
	
	#mainnav ul {
		text-align:center;
		padding:1%;
	}
	
	#mainnav li {
		display:inline-block;
		margin:0;
	}
	
	#mainnav ul li:first-child + li + li a, #mainnav ul li:first-child + li + li + li a {  
		padding:0;
	}
	
	#mainnav a:before {
		content:'●';
		padding:0 .6em 0 .1em;
		font-size:.8rem;
	}
	
	#mainnav #home a:before {
		content:'';
	}
	
	section[role*=main], section#lcs, section#swm {
		width:100%;
		padding:41% 2% 1% 2%;
		float:left;
		background-position:0 1.3em;
	}
}


@media all and (min-width: 421px) and (max-width: 759px) {
	
	#mainnav {
		-bracket-:hack(; /*chrome only hack*/
			margin-top:8%;
		);
  	}
  
	section[role*=main], section#lcs, section#swm {
		margin-top:7.5em;
	}
	
	*:-o-prefocus,hgroup {position:relative; bottom:2.4em;} /*opera only hack*/
	*:-o-prefocus,section[role*=main] {margin-top:6.5em;} /*opera only hack*/
}



@media all and (min-width: 460px) and (max-width: 515px) {
	
	*:-o-prefocus,hgroup {position:relative; bottom:1.6em;} /*opera only hack*/
	
	header .sm img {
		width:24px;
		height:24px;
	}
	
}



@media all and (min-width: 1px) and (max-width: 459px) {

	#wrapper {
		width:90%;
	}

	hgroup {
		margin-top:7%;
		-bracket-:hack(; /*chrome only hack*/
			position:relative; bottom:2em;
		);	
	}
	
	header .sm {
		position:relative; top:2em; left:14.3em;
		/*position:relative; top:2em; left:16em;*/
		width:55px;
		padding:1%;
	}
	
	header .sm img {
		width:24px;
		height:24px;
	}
	
	#mainnav {
		margin-top:17%;
	}
	
	section[role*=main], section#lcs, section#swm {
		margin-top:9em;
		-bracket-:hack(; /*chrome only hack*/
			margin-top:6em;
		);
	}
	
	*:-o-prefocus,hgroup {position:relative; bottom:2.9em;} /*opera only hack*/
	*:-o-prefocus,section[role*=main] {margin-top:6em;} /*opera only hack*/
}
