/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1.8em;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 300;
}
ol, ul {
	list-style: none;
}
ul, li {
	padding: 0px;
	margin: 0px;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	outline: none;
	border: 0;
}
img {
	outline: none;
	border: 0;
}
/* =Scss Variables
-------------------------------------------------------------- */
/* =Global
-------------------------------------------------------------- */
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	background-color: rgba(254,254,254,1);
}
* {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
	text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.3);
	/*color: rgba(255,153,0,1);*/
	color: rgba(102,153,255,1);
	line-height: 1;
	font-weight: 300;
}
a {
	text-decoration: none;
	color: #FF6600;
}
a:hover {
	color: #993300;
}
/* =Template
-------------------------------------------------------------- */
#img_left {
	position: fixed;
	z-index: -1;
	background:url(../img/img_collage_left.jpg);
	
	background-repeat: repeat-y;
	background-position: left;
	background-size: 6% auto;
	background-color: transparent;
	width: 100%;
	/* make is larger: as mobile browsers redraw after scroll*/
	min-height: 130%;
	margin-left: -500px;
	/* Chrome and Safari are displaying a border around the image */
	content: '';
	opacity: 0;
	outline: none;
	border: 0;
}
#img_right {
	position: fixed;
	z-index: -1;
	background: url(../img/img_collage_right.jpg);
	background-repeat: repeat-y;
	background-position: right;
	background-size: 6%;
	background-color: transparent;
	width: 100%;
	min-height: 130%;
	margin-left: 5000px;
	content: '';
	opacity: 0;
	outline: none;
	border: 0;
}
#wrapper {
	width: 100%;
	height: 100%;
	margin: 0;
	padding-top: 15px;
	padding-bottom: 0em;
}
#main #content {
	margin-top: 8em;
}
.container {
	width: 80%;
	margin: 0 auto;
	padding: 0 30px;
}
section {
	padding: 3em 0;
	padding-bottom: 2.5em;
}
section h1 {
	font-weight: 400;
	padding-bottom: 1em;
}
section p {
	padding-bottom: 1.5em;
}
section p:last-child {
	margin-bottom: 3em;
}
section.color {
	background-color: rgba(255,102,0,0.1);
	color: white;
}
.p_head {
	font-weight: 600;
}
/* =Header
-------------------------------------------------------------- */
header {
	width: 100%;
	height: auto;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	/*background-color: rgba(255,153,0,1);*/
	background-color: rgba(102,153,255,1);
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	-ms-transition: height 0.3s;
	-o-transition: height 0.3s;
	transition: height 0.3s;
	box-shadow: rgba(0,0,0,1);
	-webkit-box-shadow: 0px 2px 5px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 2px 5px 5px rgba(0,0,0,0.4);
	box-shadow: 0px 2px 5px 5px rgba(0,0,0,0.4);
}
#logo {
	padding-top:0.2em;
	font-size: 3.6em;
	color: rgba(255,204,0,1);
	font-weight: 400;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
#logo_extra {
	color:rgba(255,255,255,1);
	font-weight: 400;
	font-size: 1.2em;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;

}
header nav {
	float:left;
  padding-top:0.9em;
	width: 138%;
	margin-left: -18%;
	min-width: 300px;
}
header nav a {
	display: inline-block;
	font-size: 1.1em;
	color: rgba(255,255,255,1);
	text-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.5);
	font-weight: 600;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 1em;
	padding-right: 1em;
	margin-bottom: 0.2em;
	background-color: rgba(255,204,0,0.9);
	border: medium;
	/*width: 145px;*/
	min-width: 16%;
	max-width: 100%;
	-webkit-box-shadow: 0 6px 6px -6px rgba(0,0,0,0.6);
	-moz-box-shadow: 0 6px 6px -6px rgba(0,0,0,0.6);
	box-shadow: 0 6px 6px -6px rgba(0,0,0,0.6);
}
header nav a:hover {
	/*background-color: rgba(255,153,0,1);*/
	background-color: rgba(102,153,255,1);
	color: rgba(255,255,255,1);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
header.smaller {
	background-color: rgba(102,153,255, 0.9);
	 padding-top:0.2em;
	
}
header.smaller nav{ padding-top:0.5em;}
header.smaller nav a {
	
	padding-bottom: 0em;
}
header.smaller h1#logo {
	font-size: 1.5em;
}
header.smaller h1#logo_extra {
	font-size: 0.0em;
}
/* =Footer
-------------------------------------------------------------- */
footer {
	width: 100%;
	overflow: hidden;
	position: fixed;
	bottom: 0;
	left: 0;
	height: 30px;
	font-size: 1em;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	z-index: 999;
	/*background-color: rgba(255,153,0,1);*/
	background-color: rgba(102,153,255,09);
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	-ms-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
	opacity: 1;
	-webkit-box-shadow: 0px -2px 4px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px -2px 4px 5px rgba(0,0,0,0.4);
	box-shadow: 0px -2px 4px 5px rgba(0,0,0,0.4);
}
footer div {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	color: rgba(255,255,255,1);
	text-shadow: 0.5px 0.5px 2px rgba(0,0,0,0.5);
	font-weight: 400;
	text-align: center;
}
footer.smaller {
	opacity: 0;
}
/* =Extras
-------------------------------------------------------------- */
.clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}

/* =Media queries
-------------------------------------------------------------- */

@media (max-width: 1205px) {
header nav a {
	min-width: 33%;
}
#main #content {
	margin-top: 10em;
}
}
@media (max-width: 825px) {
header nav a {
	min-width: 49%;
}
}
 @media (max-width: 645px) {
#main #content {
	margin-top: 12em;
}
footer {
	font-size: 0.7em;
}
.container {
	width: 90%;
}
}
@media (max-width: 525px) {
header nav a {
	font-size: 1.0em;
	padding-top: 0.1em;
	padding-bottom: 0.2em;
	padding-left: 0.2em;
	padding-right: 0.2em;
	margin-bottom: 0.2em;/*width: 110px;*/
}
@media (max-width: 418px) {
 #main #content {
 margin-top: 9em;
}
 header nav a {
 font-size:0.9em;
 padding-top: 0.1em;
 padding-bottom: 0.1em;
 padding-left: 0.1em;
 padding-right: 0.1em;
 margin-bottom: 0.2em;
/*width:105px;*/
}
#logo {
 font-size: 2em;
}
#logo_extra {
 font-size: 1.0em;
}
}
@media (max-width: 418px) {
header nav {
	margin-left: -22%;
	width: 142%;
}
}
