/* #Fonts
================================================== */

/*@import "http://fast.fonts.com/cssapi/"; */

@import "fontawesome/all.css";

/* #Reset & Basics 
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, 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; }
	body {
		line-height: 1; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }
	sub, sup {
		font-size: 50%;
		line-height: normal; }


/* #Basic Styles
================================================== */
	html, body {
		background: #fff;
		overflow-x: hidden;
	}
	body {
		font: 14px/1 "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
		font-weight: 300;
		color: #444;
		text-align: center;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-moz-osx-font-smoothing: grayscale;
		-webkit-text-size-adjust: 100%;
	}


/* #Typography
================================================== */
	h1, h2, h3, h4 {
		color: #505050;
		font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
		font-weight: normal; }
	h1 a, h2 a, h3 a, h4 a { font-weight: inherit; color:inherit; text-decoration: inherit; }
	h1 strong, h2 strong, h3 strong, h4 strong { font-weight: normal; }
	
	/* Min Font Size */
	h1 { font-size: 35px; line-height: 1; margin-bottom: 14px; letter-spacing: -1px }
	h2 { font-size: 30px; line-height: 1; margin-bottom: 10px; }
	h3 { font-size: 25px; line-height: 1; margin-bottom: 10px; }
	
	h1 small { display: block; font-size: 20px}

	p { margin: 0 0 20px 0; }
	p img { margin: 0; }

	em { font-style: italic; }
	strong { font-weight: bold;  }
	small { font-size: 80%; }

/*	Blockquotes  
	blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
	blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
	blockquote cite { display: block; font-size: 12px; color: #555; }
	blockquote cite:before { content: "\2014 \0020"; }
	blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
*/

	hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 20px; height: 0; }


/* #Links
================================================== */
	a { color: #333; text-decoration: underline; outline: 0; }
	a:hover, a:focus { color: #000; }
	p a { line-height: inherit; }


/* #Images
================================================== */

	img { -ms-interpolation-mode: bicubic; max-width: 100%; height: auto !important }
	
	.image, .image img { object-fit: cover; width: 100%; height: 100% !important; }


/* #Buttons
================================================== */

	button[type="submit"],
	button[type="button"],
	.buttonlink,
	.cta a {
		background: #043686;
		border: 0;
		margin: 10px 0 0 0;
		padding: 10px 15px ;
		cursor: pointer;
		font-size: 17px; 
		float: right;
		color: #fff;
		text-decoration: none;
	    outline: 0;	
	    float: right;
	}  
	button[type="submit"]:hover,
	button[type="button"]:hover,
	.buttonlink:hover,
	.cta a:hover {
		color: #fff;
		background: #000;
	}
	
	button[type="submit"]:after,
	#cmsForm button[type="button"]:after,
	.buttonlink:after,
	.cta a:after {
		content: '\f061';
		font: 400 17px/1 'Font Awesome 5 Pro';
		padding: 2px 2px 0 20px;
		display: block;
		float: right;
	}
	

/* #Forms
================================================== */

	#main form { 
		background: #f8f8f8;
		padding: 30px;
		overflow: hidden;
	} 
	form, fieldset {
		margin-bottom: 0; }
	form p {
		margin-bottom: 20px;
		position: relative;  }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="date"],
	textarea,
	select,
	.checkgroup  {
		border: 1px solid #ccc;
		padding: 8px 14px 6px;
		outline: none;
		border-radius: 4px;
		font: 15px/1.4 "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
		color: #777;
		margin: 0;
		width: 100%;
		display: block;
		background: linear-gradient(#f6f6f6 0%, #fff 100%);
		box-sizing: border-box;
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none; } 

	input[type="date"] {
		height: 37px;
		line-height: 1;
	}

	select {
		line-height: 1.3;
		background: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px top 5px, linear-gradient(#f6f6f6 0%, #fff 100%);
	    padding-right: 30px;
	}
	select[multiple] {
		background-image: none;
	}
	
	select::-ms-expand { display: none; }
	

	
	input[type="text"]:hover,
	input[type="password"]:hover,
	input[type="email"]:hover,
	input[type="date"]:hover,
	textarea:hover {
		border: 1px solid #000; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	input[type="date"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		background: #fff;
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		resize: none; }
		
	label,
	legend {
		display: block;
		font-weight: normal;
		position: relative;
		margin-bottom: 5px; }
		
	input[type=checkbox ] + label { margin-left: 5px; } 
	input[type="checkbox"] {
		display: inline;
		float: left; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }
	::-webkit-input-placeholder { color: rgba(0,0,0,0.3); line-height: 1.3  }
	::-moz-placeholder { color: rgba(0,0,0,0.3); line-height: 1.3  }
	:-ms-input-placeholder { color: rgba(0,0,0,0.3); line-height: 1.3  }
	input:-moz-placeholder { color: rgba(0,0,0,0.3); line-height: 1.3  }
	
	.checkgroup {
		overflow: auto;
		max-height: 265px; }
	.multicheck {
		float: left;
		margin: 8px 7px 8px 0 ;
		padding: 0;
		width: auto;
		clear: left; }
	.multilabel {
		float: left;
		width: 76%;
		padding: 5px 0 0 0;
		margin: 0; }
	
	.contactCheck {
		position: absolute; 
		left: -9999px;
	}
	
	input[type=date]:after,
	.fa-calendar:after {
		color: #494a4a;
		font: 300 20px/0.7 'Font Awesome 5 Pro';
		margin-right: 12px;
		text-decoration: none;
		content: '\f073';
		position: absolute;
		right: 0;
		bottom: 12px;
		pointer-events: none;
	}
	
	input[type="date"]::-webkit-datetime-edit-text { color: #b9b9b9; }
	input[type="date"]::-webkit-inner-spin-button,
	input[type="date"]::-webkit-calendar-picker-indicator {
	   opacity: 0;
	}

	
	/* Ajax & Error Checking */
	
	.formerror input,
	.formerror textarea,
	.formerror select {
		border: 1px solid #d11010;

	}
	.formerror input:hover,
	.formerror textarea:hover,
	.formerror select:hover {
		border: 1px solid #eb6e5d;
	}
	.formerror input:focus,
	.formerror textarea:focus,
	.formerror select:focus {
	}
	
	.formerror label:after,
	.formerror legend:after {
		color: #d11010;
		content: " *";
		position: absolute;
		top: 0;
		left: -10px;
	}
	
	.formerror legend+label:after,
	.formerror legend+label+label:after {
		content: " " ; 
	}
	
	.formerror label,
	.formerror legend {
		color: #d11010;
	}
	
	.formerror ::-webkit-input-placeholder { color: rgba(255,255,255,0.5); }
	.formerror ::-moz-placeholder { color: rgba(255,255,255,0.5); }
	.formerror :-ms-input-placeholder { color: rgba(255,255,255,0.5); }
	.formerror input:-moz-placeholder { color: rgba(255,255,255,0.5); }
	
	.formerror input[type=date]:after,
	.formerror .fa-calendar:after { color: #fff; }
	
	#submitButton {
		margin: 0;
		padding: 0;
	}
	
	.error {
		color: #d11010;
		text-align: left !important;
	}
	.message {
		color: #fff;
		background: #1a3965;
		padding: 10px 15px 5px;
		margin-bottom: 15px;
	}
	.message a {
		color: #fff;
	}
	#waiting {
		position: absolute;
		text-align: center;
		background: url(/_img/layup/loading.svg) no-repeat center center;
		background-size: 100px;
	}
	
	
 
	
/* #Tables
================================================== */	
	
	table {
		margin-bottom: 10px;
		max-width: 100% !important;
	}
	table[border="1"] td {
		border: 1px solid #b9b8b6;
	}
	td, th {
		padding: 6px;
		text-align: left;
		vertical-align: top;
	}
	th {
		background: #a8a8a8;
		color: #fff;
	}
	
	

/* #Clearing
================================================== */

    .clear {
		clear: both;
		display: block;
		overflow: hidden;
		visibility: hidden;
		width: 0;
		height: 0;
		line-height: 0;
    }
	
/*	alt .clear  {
		content: '\0020';
		display: block;
		overflow: hidden;
		visibility: hidden;
		width: 0;
		height: 0; 
	}
*/


/* #Base Animations
================================================== */

.shake {	
    animation: shake 1s ;
}

@keyframes shake {
  from, to {
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    transform: translate3d(10px, 0, 0);
  }
}