/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

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; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { 
	margin: 0; font-size: 100%;
	line-height: 1.231;
	background: url(../img/white_texture.png) repeat #999;
	-o-transition:all .2s linear;  
	-moz-transition:all .2s linear;  
	-webkit-transition:all .2s linear;
	transition:all .2s linear;  
}

body, button, input, select, textarea { font-family: "museo-slab", serif; color: #222; }

#container {
	width: 93.75%; /* 900px/960px */
	background: none;
	margin: 0 auto; 
	overflow: hidden;
	padding-top: 2em;
}

#maincontent{
	width: 62.5%; /* 600px/960px */
	padding: 0.8em 5.33333333%;
	float: left;
}

#rtcol{
	float: right;
	width: 24.75%; /* 180px/960px */
	padding: 10px;
	margin-top: 200px;
}

#header{
	width: 62.5%; /* 600px/960px */
	padding:0.8em 5.33333333%;
	float: left;
	margin: 0;
}

.horizontal{
	float: left;
	position: relative;
	width: 175px;
	margin: 0 10px 15px 0;
	padding: 10px 0;
	font-size: 0.75em;
   }

#bottomnav{
	padding: 0 auto;
	position: relative;
	clear: both;
	height: 10.625em;
	background-color: #CCC;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
   
footer{
	max-width: 940px;
	margin: 0 auto;
	padding-bottom: 1em;
}

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #484848;
	text-decoration: none;
}
a:visited { color: #484848; }
a:hover { color: #344893;
}
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }

.largetype a:visited{
	color: #344893;
}

/* =============================================================================
   Typography
   ========================================================================== */

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; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
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%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

h1, h2, h3, h4
 {
	font-family: "museo-slab",serif;
	font-style: normal;
	font-weight: 300;
	margin-bottom: 1em;
	padding: 0;
}

h1{
	font-size: 1.875em; /* 30px / 16px */
	line-height: 1em;
}

h2.largetype{
	color: #344893;
	font-size: 6.4375em; /* 103px/16px */
	text-shadow: 2px 2px 1px #fff;
	letter-spacing: -2pt;
	line-height: 1em;
	margin-bottom: 0.25em;
	-webkit-transition:all .3s ease-in;  
	-moz-transition:all .3s ease-in;  
	-o-transition:all .3s ease-in;  
	transition:all .3s ease-in;
}

h2 a{
	color: #344893;
	text-decoration: none;
}

h3{
	font-size: 1.3125em; /* 21px/16px */
	padding-bottom: 1em;
	font-weight: 700;
}

h4.location{
	text-align: left;
	color: #344893;
	padding-left: 1em;
}

.location{
	padding-right: 2em; /* 32px/16px*/
}

p{
	margin: 0 0 1em; padding: 0;
	line-height: 1.375em; /* 22px/16px */
	font-family: "freight-sans-pro", sans-serif;
	font-weight: 300;
	font-size: 1em;
}

.copyright{
	margin: 0 auto;
	text-align: center;
}

.figcaption{
	font-size: 0.875em; /* 12px/16px */
	font-weight: 300; 
	line-height: 1em;
}

.figcaption i{
	font-weight: 300;
	font-style: italic;
}

.horizontal li{
	margin-bottom: 0.5em;
}

h4{
	font-size: 1.1251em; /* 18px/16px */
	font-weight: 500;
}


/* =============================================================================
   Lists
   ========================================================================== */

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; }


ul.dropdown {
	margin: 0px;
	padding: 0px;
	float: left;
	list-style-image: none;
	list-style-type: none;
	position: relative;
	z-index: 597;
}

ul.dropdown a:link, ul.dropdown li{
	color: #000;
	text-decoration: none;
}

ul.dropdown a:hover, ul.dropdown li:hover{
	color: #344893;
	text-decoration: none;
}

ul.dropdown ul{
	background-color: #fff;
	width: 7em;
	padding:0 0.5em 0 0; margin: 0;
	list-style-type: none;
	list-style-image: none;
	position: absolute;
	visibility: hidden;
	z-index: 598;
	top: 100%;
	left: 0;
	font-size: 0.875em /* 14px/16px */;
	font-family: "freight-sans-pro", sans-serif;
	font-weight: 300;
}

ul.dropdown li{
	line-height: 1em;
	display: inline-block;
	padding: 0.4375em .75em; /* 7px/16px 12px/16px */  
	margin: 0;
	list-style-type: none;
	list-style-image: none;
	font-family: "freight-sans-pro", sans-serif;
	font-weight: 300;
}

ul.dropdown li:hover{
/*	border-bottom: 2px dotted #00477F;*/
	position: relative;
	z-index: 599;
}

ul.dropdown li:hover>ul{
	visibility: visible;
}

ul.dropdown ul li{
	float: none;
	border: none;
	text-shadow: none;
	}
	

/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img, embed, object, video{
	max-width: 100%;
}

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle;
	-o-transition:all .2s linear;  
	-moz-transition:all .2s linear;  
	-webkit-transition:all .2s linear;
	transition:all .2s linear;  

}

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }

.figure{
	margin-bottom: 0.5em;
/*	margin-left: 2.53164557% /* 12px/474px *!/;*/
	width: 100%; ;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; padding: 5px; background-color: rgba(125, 125, 125, 0.2); 
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
}
fieldset { border: 1; margin: 0; padding: 5px; }

/* Indicate that 'label' will shift focus to the associated form element */
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; }

/*
 * Consistent box sizing and appearance
 */

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; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid { )
}
input:invalid, textarea:invalid { background-color: #ccfecc;
	opacity: 0.5;
}

#login fieldset{
	margin: 0;
}

#login label{
	display: block;
	margin-bottom: 0;
	font-weight: bold;
	line-height: 2em;
	color: #666;
	color: rgba(0, 0, 0, 0.6);
	text-shadow: 0 1px 1px #fff;
}

#login fieldset:last-child{
	margin: 0;
}

#login fieldset input[type="text"], input[type="password"]{
	width: 93%;
	padding: 5px 8px;
	font-size: 1em;
	color: #666;
	border: none;
	background-color: #f9f9f9;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
}

#login fieldset input[type="submit"]{
	border: none;
	padding: 5px 8px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
}

#login input[type="text"]:focus{
	-webkit-box-shadow: 0px 0px 5px rgba(51, 204, 255, 0.5);
	-moz-appearance	-box-shadow: 0px 0px 5px rgba(51, 204, 255, 0.5);
	box-shadow: 0px 0px 5px rgba(51, 204, 255, 0.5);

}

/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: 
   ========================================================================== */
















/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.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; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 480px) {
  /* Style adjustments for viewports 480px and under go here */
h2.largetype {
	font-size: 1.5em;
}
#bottomnav{
	background: none;
}
#rtcol{
	float: none;
	margin: 0 auto 20px;
	position: relative;
	clear: both;
	width: 75%;
	}

h1{
	font-size: 1.5em;
}

}

@media only screen and (max-width: 768px) {
  /* Style adjustments for viewports 768px and under go here */

h2.largetype{
	font-size:4.5em;
}

#container{
	position: relative;
	margin: 20px;
	width: auto;
}

#header,
#rtcol,
#maincontent {
	margin: 0 0 30px;
	width: auto;
}

}

/*@media only screen and (max-width: 800px) {
h2.largetype{
	font-size: 1em;
}

#bottomnav{
	background: none;
	width: 75%;
}

#rtcol{
	float: none;
	margin-left: 20px;
}

}*/

/*@media only screen and (max-width: 1024px) {
  /* Style adjustments for viewports 1024px and under go here *!/
h2.largetype {
	font-size: 5.375em;
}
#bottomnav{
	background: none;
}*/

/*#header{
	width: 60%;
}*/

h1{
	font-size: 1.625em;
}

h3{
	font-size: 1.25em;
}
}

/*@media only screen and (max-width: 320px) {
h2.largetype{
	font-size: 2.75em;
}

#bottomnav{
	background: none;
	width: 75%;
}

#rtcol{
	float: none;
	margin-left: 20px;
}*/


/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}
