/*! HTML5 Boilerplate v8.0.0 JK Customised | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */

/*----- GOOGLE FONTS -----*/

/*----- BASE STYLES - OPINIONATED DEFAULTS -----*/
html {
	color: #222;
    font-size: 1em;
    line-height: 1.4;
}
/*
 * Remove text-shadow in selection highlight:
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio, canvas, iframe, img, svg, video {
	/*Remove the gap between audio, canvas, iframes, images, videos and the bottom of their containers:*/
    vertical-align: middle;
}
fieldset {
	/*Remove default fieldset styles.*/
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
	/*Allow only vertical resizing of textareas.*/
    resize: vertical;
}

/*----- CORE STYLES - Mobile First Styles -----*/
body {
	font-family: 'Lato', sans-serif;
	font-size:16px;
}
a {
	color:#055E8A;
	text-decoration:underline;
}
a:visited {
	color:#055E8A;
	text-decoration:none;
}
a:hover {
	color:#000;
	text-decoration:underline;
}
a:active {
	color:#000;
}
a:focus {
	color:#BF1722;
}
p {
}
strong {
	font-weight:600;
}
h1, h2, h3, h4, h5, h6 {
	color:#26213A;
}
h1 {
	font-size:2.0em;
}
h2 {
	font-size:1.8em;
}
h3 {
	font-size:1.8em;
}
h4 {
	font-size:1.8em;
}
h5 {
	font-size:1.8em;
}
h6 {
	font-size:1.8em;
}
.pCen {
	text-align:center;
}
.skip {
	display:block;
	padding:0.5em;
	text-align:right;
	/*keep font size 16px or 1.0em for mobile devices, don't go below this size*/
}
	.skip, .skip:visited {
		color:#666;
	}
/*----- NAVIGATION -----*/
nav { /*html5 element*/
}
.nav { /*Class*/
	position:relative;
	height:auto;
	overflow:hidden;
	padding:0;
	margin:0;
	/*background:#fcfcfc;*/
	/*background:#F0F9FF;*/
	background:#26213A;
}
.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 600ms ease-in-out;
	-moz-transition: background 600ms ease-in-out;
	-ms-transition: background 600ms ease-in-out;
	-o-transition: background 600ms ease-in-out;
	transition: background 600ms ease-in-out;
}
.nav ul li a {
	display:block;
	width:100%;
	padding:0.75em 0;
	color:#fff;
	text-align:center;
	text-decoration:none;
	border-bottom:dashed 1px #ccc;
}
.nav ul li:hover {
	background:#F0F9FF;
}
.nav ul li:hover a {
	color:#222;
}
.nav-mobile { /*Mobile menu specific*/
	display:none;
	cursor:pointer;
	position:absolute;
	top:5px;
	right:5px;
	height:40px;
	width:40px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	background-color: rgba(0,0,0,1.0);
	background-image: url(../img/gfx/nav.svg);
	background-repeat: no-repeat;
	background-position: center center;
}
@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: 768px) {
	.nav ul li {
		width:17%; /*based on 5 links at 20% each - adjust as required*/
	}
	.nav ul li:first-child {
		width:15%;
	}
	.nav ul li a {
		border-bottom:none;
		border-right:solid 1px #008DD2;
	}
		.nav ul li:last-child a {
			border-right:none;
		}
}
@media (min-width: 1440px) {
	.nav ul {
		max-width:1440px;
		margin:auto;
	}
}
/*----- SITE STRUCTURE -----*/
#wrapper {
	width:100%;
	max-width:1920px; /*rslide max width is the same as this, see .js settings*/
	margin:auto;
	-webkit-box-shadow: 0 0 5px 5px #cccccc;
	box-shadow: 0 0 10px 4px #cccccc;
}
header {
}
#logoCont {
	display:block;
	box-sizing:border-box;
	padding:0 4%;
	margin-bottom:1.0em;
	text-align:center;
}
	.logo {
		width:100%;
		height:auto;
		max-width:400px;
	}
#page {
	/*Main page area*/
}
main {
}
	main p, main ul, main ol {
		font-size:1.2em;
		line-height:1.4em;
	}
aside {
}
footer {
	padding-bottom:2.0em;
	background: rgb(38,33,58);
	background: -moz-linear-gradient(0deg, rgba(38,33,58,1) 0%, rgba(38,33,58,1) 82%, rgba(73,72,102,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(38,33,58,1) 0%, rgba(38,33,58,1) 82%, rgba(73,72,102,1) 100%);
	background: linear-gradient(0deg, rgba(38,33,58,1) 0%, rgba(38,33,58,1) 82%, rgba(73,72,102,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#26213a",endColorstr="#494866",GradientType=1);
	border-top:solid 2px #26213A;
}
.footCont {
	/*Using flex-basis percent setup*/
	display:flex;
	flex-wrap:wrap;
	width:100%;
	clear:both;
	height:auto;
	overflow:hidden;
}
.footCont .col {
	flex-basis:96%;
	margin:2%;
	align-self:flex-end;
	text-align:center;
	background:none;
	color:#eee;
}
.footCont .col a, .footCont .col a:visited {
	color:#fff;
}
.footCont .col a:hover {
	color:#ccc;
}
/*----- LAYOUT CONCEPTS -----*/
.cont {
	display:block;
	box-sizing:border-box;
	padding:1.0em 4%;
}
.containerRow {
	display:block;
	clear:both;
	width:100%;
}
.col {
	flex:1;
	box-sizing:border-box;
}
.full {
	display:block;
	width:100%;
	padding:0;
	margin:0;
}
.const1024 {
	max-width:1024px;
	margin:auto;
}
/*----- IMAGE STYLES -----*/
.responsive {
	width:100%;
	height:auto;
}
.img200 {
	max-width:200px;
}
.img500 {
	max-width:500px;
}
.rCornersTop {
	border-radius:20px 20px 0 0;
}
/*----- TEXT STYLES -----*/
.txt2 {
	font-size:1.4em;
}
.iSm {
	font-size:1.2em;
}
.iMed {
	font-size:2.0em;
}
.iLg {
	font-size:3.0em;
}
/*----- BLOCK STYLES -----*/
.bg1 {
	background:#F0F9FF;
}
.bg2 {
	background:#FCFCFC;
}
.bg3 {
	background:#F39E53;
}
.bg4 {
	background:#F2E4CC;
}
.tile {
	display:flex;
	box-sizing:border-box;
	padding:0.6em 1.2em;
	border:solid 2px #008DD2;
	border-radius:20px 0px 20px 0px;
	background:#F0F9FF;
	align-items: center;
  	justify-content: center;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
	/*Spacing on mobiles up to 1024*/
	margin:0.8em 4%;
}
.tile:hover {
	background:#ffffff;
	transform:scale(1.1);
	cursor:move;
}
	@media (min-width:1024px) {
		.tile {
			margin:auto;
		}
	}
.hovScale {
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
.hovScale:hover {
	scale:1.05;
}
/*----- BANNER STYLES -----*/
/*Consider moving to own stylesheet*/

/*----- BUTTON STYLES ------*/
/*Form styles in form.css stylesheet*/
.btn {
	display:inline-block;
	box-sizing:border-box;
	padding:0.4em 1.2em;
	background:#26213A;
	border-radius:6px;
	text-align:center;
	color:#fff;
	text-decoration:none;
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
.btn:visited {
	color:#fff;
}
.btn:hover {
	background:#EF7F1A;
	color:#222;
	scale:1.05;
	text-decoration:none;
}
.bg3 .btn:hover {
	background:#f0f9ff;
}
/*----- MEDIA QUERIES START -----*/
@media (min-width: 1px) and (max-width: 767px) {
}
@media (min-width: 640px) {
}
@media (min-width: 768px) {
	h1 {
		font-size:2.4em;
	}
	h2 {
		font-size:2.0em;
	}
	h3 {
		font-size:2.0em;
	}
	h4 {
		font-size:1.8em;
	}
	h5 {
		font-size:1.8em;
	}
	h6 {
		font-size:1.8em;
	}
	.footCont {
		display:;
	}
	.footCont .col {
		flex-basis:29.3333%;
		margin:2%;
	}
	.footCont .col:first-child {
		text-align:left;
	}
	.footCont .col:nth-child(2) {
		text-align:center;
	}
	.footCont .col:last-child {
		text-align:right;
	}
}
@media (min-width: 1024px) {
	.containerRow {
		display:flex;
	}
	.col {
		margin:1%;
	}
}
@media (min-width: 1200px) {
}
@media (min-width: 1440px) {
}
@media (min-width: 1680px) {
	.cont {
		padding:1.0em 8%;
	}
	.footCont .col {
		flex-basis:25.3333%;
		margin:2% 4%;
	}
}
@media (min-width: 1920px) {
	
}
 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden, 
 [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
*/

.sr-only {
  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
*/

.sr-only.focusable:active,
.sr-only.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;
    }
}