/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */
@import url('https://fonts.googleapis.com/css?family=Darker+Grotesque:500,700|Literata&display=swap');
/*
font-family: 'Darker Grotesque', sans-serif; REG400, MEDIUM500
font-family: 'Literata', serif; REG400
*/
/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Styles - Mobile First Styles
   ========================================================================== */
body {
	font-size:18px;
	font-family: 'Darker Grotesque', sans-serif;
	font-weight:500;
	background:#eee;
}
a {
	text-decoration:none;
	color:rgb(0,102,204);
}
a:hover {
	color:rgb(20,20,20);
}
p {
}
strong {
	font-weight:700;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Literata', serif;
	color:rgba(0,102,204,0.8);
}
h1 {
	font-size:1.2em;
}
h2 {
	font-size:1.1em;
}
h3, h4, h5, h6 {
	font-size:1.0em;
}
#wrapper {
	width:100%;
	max-width:1920px; /*rslide max width is the same as this, see .js settings*/
	margin:auto;
	background:#fff;
}
header {
	
}
#topBar {
	width:100%;
	background:rgba(255,255,255,1.0);
}
#logoCont {
	display:block;
	clear:both;
	width:100%;
	padding:0.8em 0;
	text-align:center;
}
	.logo {
		font-family: 'Literata', serif;
		font-size:1.6em;
		color:#666;
	}
nav {
}
.nav { /*Class*/
	position:relative;
	height:auto;
	overflow:hidden;
	padding:0;
	margin:0;
}
.nav ul {
	list-style:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
.nav ul li {
	display:block;
	float:left;
	width:100%;
	-webkit-transition: background 400ms ease-in-out;
	-moz-transition: background 400ms ease-in-out;
	-ms-transition: background 400ms ease-in-out;
	-o-transition: background 400ms ease-in-out;
	transition: background 400ms ease-in-out;
}
.nav ul li a {
	display:block;
	width:100%;
	padding:0.75em 0;
	color:#666;
	font-size:1.1em;
	text-align:center;
	text-decoration:none;
	border-bottom:solid 1px #eee;
}
.nav ul li:hover {
	background:rgba(0,102,204,0.2);
}
.nav ul li:hover a {
	border-bottom:solid 1px #06C;
}
.nav-mobile { /*Mobile menu specific*/
	display:none;
	cursor:pointer;
	position:absolute;
	top:0px;
	right:10px;
	height:40px;
	width:40px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	background:rgba(0,102,204,0.8);
	background-image: url(../img/gfx/nav.svg);
	background-repeat: no-repeat;
	background-position: center center;
}
.banner-container {
	position:relative;
	width:100%;
	max-width:1920px;
}
#page {
}
main {
	font-size:1.2em;
}
article header {
}
aside {
}
footer {
	padding:2.0em 0;
	background:#333;
	color:#999;
}
	footer a, footer a:visited {
		text-decoration:none;
		color:#CCC;
	}
	footer a:hover {
		color:#FFF;
		text-decoration:underline;
	}
	#address, #siteLinks, #credit {
		box-sizing:border-box;
		width:100%;
		padding:1.0em 4%;
	}
	#address {
	}
	#siteLinks {
	}
	#credit {
		font-size:0.9em;
	}
/*----- IMAGE STYLES -----*/
.responsive {
	width:100%;
	height:auto;
}
.banner {
	max-width:1920px;
}
/*----- TEXT STYLES -----*/
.pCen {
	text-align:center;
}
.title {
	font-family: 'Literata', serif;
}
.caption {
	font-size:0.9em;
}
.smallText {
	font-size:0.7em;
}
/*----- BANNER OVERLAY STYLES -----*/
.overlayCont {
	display:none;
	box-sizing:border-box;
	width:100%;
	text-align:center;
}
.title-banner {
	box-sizing:border-box;
	margin:0;
	padding:1.0em;
	font-family: 'Literata', serif;
	font-size:1.0em;
	color:#fff;
	background:rgba(0,102,204,0.8);
	border:solid 1px #06C;
	-webkit-transition: all 600ms ease-in-out;
	-moz-transition: all 600ms ease-in-out;
	-ms-transition: all 600ms ease-in-out;
	-o-transition: all 600ms ease-in-out;
	transition: all 600ms ease-in-out;
}
.title-banner:hover {
	padding:1.3em;
	color:#FFF;
	background:rgba(20,20,20,0.8);
}
/*----- BLOCK STYLES -----*/
.block {
	display:block;
}
.containerRow {
	display:block;
	clear:both;
	width:100%;
}
/*Columns will flex, add as many as required*/
.col {
	flex:1;
	box-sizing:border-box;
	background:transparent;
}
.col-half {
	flex:2;
	box-sizing:border-box;
	background:transparent;
}
.col-2thirds {
	flex:3;
	box-sizing:border-box;
	background:transparent;
}
.innerCont {
	display:block;
	clear:both;
	width:90%;
	margin:auto;
}
.full {
	box-sizing:border-box;
	width:100%;
	padding:0.5em 5%;
}
	.dark {
		background:#333;
		color:#ccc;
	}
	.dark h1 {
		color:#fff;
	}
	.light {
		background:#fff;
	}
/*---------- CTA ----------*/
#cta {
	display:block;
	clear:both;
	box-sizing:border-box;
	width:80%;
	margin:1.0em auto;
	border-top:solid 2px #CC9;
	text-align:center;
}
#cta p {
	margin:10px 0;
}
.ctaTitle {
	font-family: 'Literata', serif;
	font-size:1.5em;
}
.ctaText {
	font-size:1.0em;
}
.ctaAction {
	font-size:1.1em;
}
.btn-cta {
	display:block;
	clear:both;
	box-sizing:border-box;
	padding:0.2em 0.5em;
	margin-bottom:0.4em;
	border:solid 1px #ccc;
	-webkit-transition: all 600ms ease-in-out;
	-moz-transition: all 600ms ease-in-out;
	-ms-transition: all 600ms ease-in-out;
	-o-transition: all 600ms ease-in-out;
	transition: all 600ms ease-in-out;
}
.btn-cta:hover {
	background:#ccc;
}
/*----- FORM STYLES ------*/
.btn {
	display:inline-block;
	width:auto;
	padding:0.2em 0.5em;
	margin-bottom:1.0em;
	border:solid 1px #666;
	-webkit-transition: all 600ms ease-in-out;
	-moz-transition: all 600ms ease-in-out;
	-ms-transition: all 600ms ease-in-out;
	-o-transition: all 600ms ease-in-out;
	transition: all 600ms ease-in-out;
}
.btn:hover {
	background:#333;
	color:#fff;
	padding:0.4em 0.8em;
}

@media (min-width: 1px) and (max-width: 767px) {
	/*mobile specific*/
	nav {
		min-height:45px;
	}
	.nav-list {
		display:none;
	}
	.nav-mobile {
		display:block;
	}
	.nav-active {
		display:block;
	}
	.nav-mobile-open {
		border-radius:5px 5px 0 0;
		-webkit-border-radius:5px 5px 0 0;
		-moz-border-radius:5px 5px 0 0;
	} /*end mobile specific*/
}
@media (min-width: 640px) {
	.overlayCont {
		display:block;
		position:absolute;
		bottom:15px;
		padding:1.5em 0.5em;
	}
	.title-banner {
		font-size:0.8em;
	}
}
@media (min-width: 768px) {
	h1 {
		font-size:1.4em;
	}
	h2 {
		font-size:1.3em;
	}
	h3, h4, h5, h6 {
		font-size:1.2em;
	}
	.nav {
		margin-bottom:0.8em;
	}
	.nav ul {
		max-width:1200px;
		margin:auto;
	}
	.nav ul li {
		width:18%; /*based on 5 links at 18% each - first child 10%*/
	}
	.nav ul li:first-child {
		width:10%;
	}
	.nav ul li a {
		padding:0.6em 0;
		color:#FFF;
		border-bottom:none;
		border-right:solid 1px rgba(255,255,255,0.25);
	}
		.nav ul li:last-child a {
			border-right:none;
		}
	.nav ul li:hover {
		background:rgba(0,102,204,0.8);
	}
	.nav ul li:hover a {
		border-bottom:none;
	}
	.overlayCont {
	}
	.title-banner {
		font-size:1.0em;
	}
	.ctaTitle {
		font-size:1.5em;
	}
	.ctaText {
		font-size:1.2em;
	}
	.ctaAction {
		font-size:1.4em;
	}
	.btn-cta {
		display:inline-block;
		clear:none;
	}
}
@media (min-width: 900px) {
	header {
		position:relative;
	}
	#topBar {
		position:absolute;
		top:0px;
		z-index:999;
		background:rgba(20,20,20,0.50);
	}
	.logo {
		color:#fff;
	}
}
@media (min-width: 1024px) {
	.containerRow {
		display:flex;
	}
	.col, .col-half, .col-2thirds {
		/*padding:1%;*/
	}
}
@media (min-width: 1200px) {
	h1 {
		font-size:1.5em;
	}
	h2 {
		font-size:1.4em;
	}
	h3, h4, h5, h6 {
		font-size:1.4em;
	}
	.ctaTitle {
		font-size:1.8em;
	}
}
@media (min-width: 1440px) {
}
 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


