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

@import "//fast.fonts.net/cssapi/8f7344ce-0e7d-4362-82b7-e720cc12860e.css"; 
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";

/*font-family:'Candara W01';*/

/* #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;
	}
	body {
		font: 14px/1 "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #444;
		text-align: center;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
	}
	
	::-moz-selection { background: #7b858e; color: #fff; text-shadow: none; }
	::selection { background: #7b858e; color: #fff; text-shadow: none; }


/* #Typography
================================================== */
	h1, h2, h3, h4 {
		color: #181818;
		font-family: "Candara W01", Arial, sans-serif;
		font-weight: normal;
		color:inherit;
		letter-spacing: -1px }
	h1 a, h2 a, h3 a, h4 a { font-weight: inherit; color:inherit; }
	h1 strong, h2 strong, h3 strong, h4 strong { font-weight: normal; }
	h1 { font-size: 40px; line-height: 1; margin-bottom: 33px; }
	h2 { font-size: 28px; line-height: 1; margin-bottom: 30px; }
	h3 { font-size: 20px; line-height: 1; margin-bottom: 15px; }
	h4 { font-size: 17px; line-height: 1; margin-bottom: 3px; }
	
	h1 span,
	h1 a { float: right}

	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.scale-with-grid {
		max-width: 100%;
		height: auto; }
		
	img { -ms-interpolation-mode: bicubic; }


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

	button,
	.buttonlink {
		background: none;
		border: 1px solid #636363;
		margin: 0;
		padding: 10px 17px ;
		cursor: pointer;
		font: 20px/1 "Candara W01", Arial, sans-serif;	
		letter-spacing: -1px;
		float: right;
		color: #fff;
		background: #042b54;
		text-decoration: none;
		text-transform: uppercase;
	    outline: 0;	
	    box-sizing: border-box;
	    text-align: center;
	}  
	button:hover,
	.buttonlink:hover {
		background: #000;
		border: 1px solid #000;
		color: #fff;
	}
	
	.bsmall {
		font-size: 15px;
		padding: 5px 17px;
	}




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

	
	form, fieldset {
		margin-bottom: 0; }
	form p {
		margin-bottom: 16px; }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select,
	.checkgroup {
		border: 1px solid #ccc;
		padding: 8px 14px 6px;
		outline: none;
		border-radius: 1px;
		font: 20px/1 "Candara W01", Arial, sans-serif;
		letter-spacing: -1px;
		color: #777;
		margin: 0;
		width: 100%;
		display: block;
		background: #f6f6f6;
		box-sizing: border-box; 
		-webkit-appearance: none; }

	select {
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;
		line-height: 1.2;
		background: #f6f6f6 url(/_img/layup/select_bg2.png) no-repeat right 14px center;
		background-size: 20px;
		padding: 6px 40px 6px 14px;
	}
	select:hover  {
		background-image: url(/_img/layup/select_bg_hover.png);
	}
	select[multiple] {
		background-image: none;
	}
	select::-ms-expand { display: none; }
	
	.checkgroup {
		overflow: auto;
		max-height: 118px; }
		
	.checkgroup label { font-weight: normal;}
	
	body:after{ position: absolute; left: -9999px; content: url(/_img/layup/select_bg_hover.png); } /* remove image swap flash */
	

	
	input[type="text"]:hover,
	input[type="password"]:hover,
	input[type="email"]:hover,
	textarea:hover {
		border: 1px solid #000; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		background: #fff;
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		min-height: 60px;
		resize: none; }
	label,
	legend {
		display: block;
		font-weight: bold;
		position: relative;
		margin-bottom: 5px; }

	input[type=checkbox ] + label { margin-left: 25px; } 
	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); }
	::-moz-placeholder { color: rgba(0,0,0,0.3); }
	:-ms-input-placeholder { color: rgba(0,0,0,0.3); }
	input:-moz-placeholder { color: rgba(0,0,0,0.3); }
	
	.contactCheck {
		position: absolute; 
		left: -9999px;
	}
	


	
	/* Ajax & Error Checking */
	
	.formerror input,
	.formerror textarea,
	.formerror select {
		border: 1px solid #d11010;
		background-color: #9c2212;
		color: #fff !important;
	}
	.formerror input:hover,
	.formerror textarea:hover,
	.formerror select:hover {
		border: 1px solid #eb6e5d;
	}
	.formerror input:focus,
	.formerror textarea:focus,
	.formerror select:focus {
		background-color: #62150b;
	}
	
	.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); }
	
	#submitButton {
		margin: 0;
		padding: 0;
		clear: right;
	}
	
	.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;
	}
	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;
    }
	
/*	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);
  }
}