/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */
 
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }


/**
 * Minimal base styles.
 * Mostly nabbed from the HTML5 Boilerplate: http://html5boilerplate.com/
 */

small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }
/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }
/* Normalise lists and remove margins for navigation lists */
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style: none; list-style-image: none; }
/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
/* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
textarea { overflow: auto; } 
/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css ; */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }
/* These selection declarations have to be separate. No text-shadow: twitter.com/miketaylr/status/12228805301 - Also: hot pink! */
/* Make buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
em { font-style: italic; }



/**
 * Primary styles
 * Dark Blue:	#002d56
 * Light Blue:	#0096d6
 * Gold:		#fbb034
 */

body { font: 0.9em/1.5em "Segoe UI", Calibri, "Lucida Sans Unicode", "Lucida Grande", sans-serif; background: #f1f1f1 url('../images/bg_body.jpg'); }
a { color: #f60; text-decoration: none; }
a:hover, a:active, a:focus { color: #c7792a; text-decoration: underline; }

p, ul, ol, h1, h2, h3, h4, h5, h6 { margin: 0 0 1.5em; }
h1 { font-size: 1.9em; letter-spacing: -0.05em; color: #002d56; }
h2 { font-size: 1.6em; letter-spacing: -0.05em; color: #002d56; border-bottom: 1px solid #0096d6; }
h3 { font-size: 1.5em; letter-spacing: -0.05em; color: #0096d6; }
h4 { font-size: 1.3em; color: #002d56; font-weight: bold; }
h5 { font-size: 1.2em; color: #0096d6; font-weight: bold; }
h6 { font-size: 1em; color: #666; font-weight: bold; }


.box { margin: 1.6em 0; padding: 20px;  background: #D6D6D6 url('../images/bg_footer.jpg') top center; border: 1px solid #bbb; }
.box h2 { margin-top: 0; }
.box.yellow { border: 1px solid #cb6; background: #fe9; background: rgba(255, 240, 160, 0.3); }
.box.blue { border: 1px solid #6bc; background: #9ef; background: rgba(160, 240, 255, 0.3); }

.button { background: #0096d6; border-bottom: 2px solid #002d56; color: #fff; padding: 3px 10px; letter-spacing: 0; font-weight: bold; 
	box-shadow: 0px 2px 2px rgba(0,0,0,0.2); border-radius: 4px; text-shadow: 0px 1px 1px rgba(0,0,0,0.5); }
.button:hover { background: #0076b6; text-decoration: none; }


#header {
	padding: 0.5em; margin-bottom: 2em;
	background: #0086c3 linear-gradient(to top, #0086c3 0%,#01325b 100%); /* W3C */
	text-align: center; box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
}
#header h1 {
	margin: 0;
	font-size: 1em;
	letter-spacing: 0.1em;
	color: #fff;
	text-transform: uppercase;
	
	position: relative;
}
.header-logo {
	width: 60px;
	height: auto;
}

/* Screen readers only */
.header-word-riverconnect { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

.header-word-flood, .header-word-markers {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	display: inline-block;
	position: absolute;
	top: 0;
	width: 49%;
	padding-top: 25px;
	text-align: center;
}
.header-word-flood { left: 0; padding-right: 45px; text-align: right; }
.header-word-markers { right: 0; padding-left: 45px; text-align: left; }

#page {
	padding: 0 1.5em 1.5em;
	max-width: 45em;
	margin: 0 auto;
}
#page h1 {
	margin: 0.9em 0 1em;
	font-size: 2em;
	line-height: 1.2em;
}
.p-intro {
	font-size: 1.2em;
}
.image {
	display: block;
	margin: 0 -1.5em 1.5em -1.5em;
}
.image img {
	display: block;
	width: 100%;
	height: auto;
	
	-webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0px 8px 16px 0px rgba(0, 0, 0, 0.3);
	box-shadow:         0px 8px 16px 0px rgba(0, 0, 0, 0.3);
}
.image .caption {
	display: none;
}

/* Sub-page menu */
.menu {
	margin: 0 0 1.5em;
	padding: 0;
}
.menu li {
	margin: 0 0 0.5em;
	padding: 0;
	list-style: none;
}
.menu li a {
	display: block;
	padding: 1em;
	background: #fff;
	font-size: 1.2em;
}

#footer {
	padding: 1.5em;
	
	border-top: 4px solid #2299cc;
	
	background: #015383; /* Old browsers */
	background: -moz-linear-gradient(top, #015383 0%, #002A52 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#015383), color-stop(100%,#002A52)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #015383 0%,#002A52 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #015383 0%,#002A52 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #015383 0%,#002A52 100%); /* IE10+ */
	background: linear-gradient(to bottom, #015383 0%,#002A52 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#015383', endColorstr='#002A52',GradientType=0 ); /* IE6-9 */
	
	text-align: center;
}
#footer .copyright {
	display: block;
	color: #2299cc;
	font-weight: bold;
}
#footer a {
	color: #41a7d3;
	text-decoration: underline;
}

/**
 * Non-semantic helper classes
 */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
/* Hide for both screenreaders and browsers: css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }
/* Hide only visually, but have it available for screenreaders: by Jon Neal. www.webaim.org/techniques/css/invisiblecontent/ ; &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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; }

.left { float: left; }
.right { float: right; }


/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
 
@media print {
	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
	-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
	a, a:visited { color: #444 !important; 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; } /* css-discuss.incutio.com/wiki/Printing_Tables */
	tr, img { page-break-inside: avoid; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3{ page-break-after: avoid; }
}