/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

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%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #4568CD; color: #fff; text-shadow: none; }
::selection { background: #4568CD; 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, serif; _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; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
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, input[type="search"]::-webkit-search-cancel-button { -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; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author: Justin Luey http://twitter.com/justinluey
   ========================================================================== */
img {max-width: 100%;}
.border {border:3px solid #000; }

a {color: #1a2d89; text-decoration: none;}
a:hover {color: #798be3; text-decoration: underline;}
a:visited {color: #1a2d89;}

html {border-top: 5px solid #000;}
body {border-top: 15px solid #1a2d89; background: #F3F3F3 url(../img/bg.png); margin: 0 auto; overflow: auto;}
.wrapper {margin: 0 auto; padding:0; width: 98%; max-width: 1200px;}

img.logo {max-width: 95%; margin: 5px auto 5px auto; display: block; text-align: center;}
header {margin:0; padding:0; overflow: hidden;}
header a {color:#333; text-decoration: none;}
header a:hover {color:#888;}
header a:visited {color:#fff;}
nav {margin:0 auto; padding: 0; text-align: center; border-top:2px solid #ccc;}
nav a {margin:0; padding:10px 0; float:left; background: #F1F1F1; color:#1a2d89; text-decoration: none; width:100%; border-bottom: 1px solid #9D9999;}
nav a:hover {color:#4568CD; text-decoration: none;}
nav a:visited {color: #1a2d89;}
#social {margin: 10px auto; padding:0; text-align: center;}
.mobile {display: block; margin: 0 auto; padding:0; text-align: center; max-width: 98%;}
.full {display: none;}
#main {margin:10px 0; padding:0 2%; overflow:auto;}
#main h1 {text-align: center;}
#main h3 {text-align: center;}
li {margin: 5px auto;}
section {margin:2% 0; padding: 2% 0;  overflow: auto; display: block; min-height: 720px;}
section h2 {margin: 20px 0 20px 0; text-align: center; font-size: 1.5em;}
p {text-align: justify; font-family: serif; font-size: 1em;}
.social_icon {width:36px;}
iframe {max-width:100%; margin:10px auto; padding:0; border:3px solid #000;}
iframe a {color: #000;}
footer {background: #1a2d89; color: #ffffff; text-align: center; border-top: 4px double #F3F3F3; margin: 10px 0 0 0; padding:2% 2%; font-size: 0.9em; text-align: center; }
footer a {text-decoration: none; color:#ffffff; text-align: left; margin-right: 2%; }
footer a:hover {color:#888; }
footer a:visited {color: #fff;}
footer p {text-align: center; font-size: 0.8em;}
.button { color: #fff; margin: 10px auto; padding:5px 15px; display:inline-block; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px; -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
background-image: #595c5a;
background-image: -webkit-linear-gradient(bottom, #888a85 0%, #555753 0%, #2e3436 100%);
background-image: -moz-linear-gradient(bottom, #888a85 0%, #555753 0%, #2e3436 100%);
background-image: -o-linear-gradient(bottom, #888a85 0%, #555753 0%, #2e3436 100%);
background-image: -ms-linear-gradient(bottom, #888a85 0%, #555753 0%, #2e3436 100%);
background-image: linear-gradient(bottom, #888a85 0%, #555753 0%, #2e3436 100%); }
.button:hover {background: #888;}
a.button {color:#fff; text-decoration: none;}
a:hover.button {color:#fff; background: #888; }
a:visited.button {color:#fff;}

ul li {list-style: circle;}

address {margin-left: 10px; font-size: 1.1em; font-style: normal;}

.fancybox {margin:2% 1%; display: block; float: left;}

/* Table */

table, th, td { border: 1px solid black; padding: 5px;}
td { }

th {text-align: left;}


/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 40em) {
	/* Style adjustments for viewports that meet the condition */
	body {border-top: 25px solid #1a2d89;}
	.border {border:5px solid #000; }
	.wrapper {width: 90%;}
	img.logo {max-width: 400px; margin:0; display: block; float: left;}
	header {padding:2% 0 1% 0; }
	#social {float:right;}
	nav {float:left; clear:both; margin:0; padding:0; width:100%; text-align: left; border-top: none; border-bottom: 2px dotted #888; font-size: 1.2em;}
	nav a {color:#333; width:auto; margin-right: 20px; border: none; font-size: 1.1em; background: inherit;}
	nav a:hover { color: #888;  border-bottom: 3px solid #888; padding-bottom:0px;}
	nav a:visited {color: #333;}
	#main { padding:0;}
	#main h1 {text-align: left;}
	#main h3 {text-align: left;}
	p {text-align: left; font-size: 1.2em;}
	.full {display: block; margin: 0; padding: 0;}
	.mobile {display: none;}
	section {margin:0 auto 2% auto; padding:0; max-width: 1200px;}
	section h2 {text-align: left; font-size: 1.4em;}
	aside {float:left; width:25.3333333%; margin:2% 2%; padding:1% 2%; font-size: 0.8em;  }
	aside h2 {margin:5px 0 10px 0; padding:0;}
	footer {text-align: center; border-top: 12px double #F3F3F3; margin: 10px 0 0 0; padding:2%; font-size: 1em;}
	footer a {text-align: right;  }
	footer a:hover {color:#888; border-bottom: 5px solid #888;}
	.social_icon {width:48px;}

}

@media only screen and (min-width: 80em) {
	/* Style adjustments for viewports that meet the condition */

	img.logo {max-width: 420px;}
	#main { padding:0;}
	section h2 {text-align: left; font-size: 2.1em;}


}

/* =============================================================================
   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; *line-height: 0; }
.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; }

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !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; }
}


