/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */
 /*brand red:e31b23
 brand black: 231f20*/

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html {font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #e31b23; color: #fff; text-shadow: none; }
::selection { background: #e31b23; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }


abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ===================================================
    Initializr styles
    http://verekia.com/initializr/responsive-template
    Author: Jonathan Verrecchia
   =================================================== */

body{height:100%; font:16px/24px Helvetica, Helvetica Neue, Arial, sans-serif; }
.wrapper{
	width:90%;
	margin:0 5%;
}
/* COMMON STYLES
----------------------------------------------------*/

html {background:#ecece7;}
header h1,
h2, h3, h4, h5, h6 {display:block; font-family: 'Raleway', sans-serif; font-weight:100;}
h2, h3, h4, h5, h6 {font-weight:600;}

nav li a {font-family: 'Raleway', sans-serif; font-weight:100; padding:30.5px 0; }
#title img {width:150px; padding-top:7.5px;}
.logo {}
.logo a {display:block; /*background:url(images/logo.png) center center no-repeat;text-indent:-99999px;*/text-align:center;}
#title {margin:.25em 0;}

/* ===================
    ALL: Orange Theme
   =================== */
.faux-header-container {height:84px;opacity:0.3;background:#231f20;}

#footer-container{margin-top:50px; border-top:    20px solid #231f20; }
#footer-container {background: #393939;}
#main aside{
	/* background: #393939;
	border-top:    20px solid #e31b23;
	background-color: rgba(35,31,32,0.3); */
	background-color: #d2d2ce;

}
#main{
	padding:30px 0;
	}
nav {padding-top:45px;}
.header-container {position:absolute; top:0; height:84px; width:100%; opacity:1; border-bottom: 20px solid #231f20;	-webkit-box-shadow:0 5px 10px #000;
		   -moz-box-shadow:0 5px 10px #aaa;
		        box-shadow:0 5px 10px #aaa;
		        
}

#main section {padding-bottom:30px;}
#main aside p,
#main aside a,
#footer-container{	font:16px/24px 'Raleway', sans-serif;}

#footer-container a,
#footer-container a:active,
#footer-container a:link,
#footer-container a:hover,
#main a,
#main a:active,
#main a:link
#main a:hover {display:inline-block;font-weight:300; text-decoration: underline; color:#fff;}

.home #main article {
	/* background:transparent; */
	background-color: #D2D2CE;
	color:#393939;
	}

}
.about #main img {float:right;display:block; margin:0 0 1em 1em; border:1px solid #000; box-shadow:0px 1px 2px rgba(0,0,0,0.8);}
a,
a:active,
a:link {-webkit-tap-highlight-color:#231f20;}

#title { color:white; }

::-moz-selection { background: #e31b23; color: #fff; text-shadow: none; }
::selection      { background: #e31b23; color: #fff; text-shadow: none; }

/* ==============
    MOBILE: Menu
   ============== */
.about ul {padding:0; margin:0 0 .75em; list-style:none;}
.about ul ul {padding:0 0 1.5em 2em; font-size:.9em; list-style:disc;}
.about ul > li {margin:0 0 1em;}
.about li b {font-weight:normal; text-decoration:underline; display:block;}
.about li li {margin:.5em 0 0em;}
.about h4 {text-transform:none;}
.about .rule {color:#000;font-size:1.3em; width:100%;}
.about .portrait {max-width:160px;}
nav a{
	display:block;
	margin-bottom:10px;
	padding:15px 0;
	background:#e31b23;
	color:white;
	text-align:center;
	text-decoration:none;
	font-weight:bold;
}
#wufoo-z7x3p3 {max-width:100%; }
nav a:hover, nav a:visited{
	color:white;
	text-decoration:none;
}
nav a:hover,
nav a.current {background:#231f20;}


nav a:hover{
}
#main a:hover,
#footer-container a:hover {color:#e31b23;}

/* ==============
    MOBILE: Main
   ============== */

#main{
	/*padding:30px 0;*/padding: 0 0 0;
}

#main article h1{
	font-size:2em;
}

#main aside, #main article {
	/* color:white; */
	/* padding:0px 5% 10px; */
	margin-top: 20px;
}


#footer-container footer {
	color:white;
	padding:20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 #title{ padding-top:20px; }


/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
	
	#main article, #main aside {
		margin-top: 40px;
	}

	#main{padding-top: 0;}

	nav a{
		float:left;
		width:22%;
		margin:0 1.7%;
		padding:23px 2%;
		margin-bottom:0;
	}
	
	nav li:first-child a{ margin-left:0;  }
	nav li:last-child  a{ margin-right:0; }
	
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

	nav ul li{
		display:inline;
	}	
	.oldie nav a{
		margin:0 0.7%;		
	}
}

@media only screen and (min-width:600px) {
  body {background:url(images/globe.png) top left no-repeat;}

}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

	.faux-header-container,
	#main aside, #main article {
		-webkit-box-shadow:0 5px 10px #aaa;
		   -moz-box-shadow:0 5px 10px #aaa;
		        box-shadow:0 5px 10px #aaa;
	}

/* ============
    WIDE: Menu
   ============ */
	
	#title{
		float:left;
	}

	nav{
	   padding-top:0;
		float:right;
		width:50%;
	}
	#main{
		padding-top: 0;
	}


/* ============
    WIDE: Main
   ============ */

	#main article {
		float:left;
		/* padding:1% 2.5%; */
		width: 49%;
	}
		
	#main aside {
		float:right;
		width: 49%;
		/* margin-right:4%; */
	}
	#wufoo-z7x3p3 {max-width:50%; }

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

	.wrapper{
		width:1026px; /* 1140px - 10% for margins */
		margin:0 auto;
	}
}

/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}




	#mainIndex {
		padding: 0 40px;
		margin-bottom: 20px;
	}

	#mainIndex p {
		font-size: 12px;
		line-height: 16px;
		margin: 4px 0;
	}
	#mainIndex h3 {
		margin: 5px 0;
	}
	#mainIndex ul {
		margin: 2px 0;
	}

	#main section a {
		color: #393939;
		font:16px/24px 'Raleway', sans-serif;
	}
	#main aside a {
		color: #393939;	
	}