/*
brand-primary (red) #ee352a
*/

/* ==============================================
foundation
============================================== */
ul.no-bullet {
	margin-left: 0;
	list-style: none;
}
button.radius, .button.radius, span.label.radius {
	border-radius:3px;
}

/* ==============================================
helpers
============================================== */	
.wrapper {
	margin: 0 auto;
	max-width: 60rem;	
}
table {
	width: 100%;
}
table.auto {
	width: auto;
}
table.medium-text {
	font-size:0.85em;
}
table.medium-text .button {
	font-size:0.85em;
}
td {
	vertical-align: top;
}
.nomargin {
	margin-bottom: 0;
}

div.embed-container {
	height: 0;
	max-width: 100%;
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
}
div.embed-container.video {
	border:1px solid #ccc;
	border-radius:3px;
}
div.embed-container iframe, div.embed-container object, div.embed-container embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}


/* ==============================================
website
============================================== */
body {
	background-color: #fff;
	background-image: url(../img/noise-light.png);
	color: #444;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
	
	/* sticky footer */
	display: flex;
	flex-direction: column;
	height: 100vh; /* Avoid the IE 10-11 `min-height` bug. */
}

/* adjust some elements for Open Sans larger height */
select {
	font-size: 0.92rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.33em; }
h4 { font-size: 1.17em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.67em; }

h1.styled, h2.styled, h3.styled, h4.styled, h5.styled, h6.styled {
    font-family: "Francois One", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

/* ==============================================
header & nav & footer
============================================== */
header.header-primary {
	background-color:#e0e0e0;
	background-image:url(../img/noise-light.png);
	margin-bottom:1rem;
	padding:0.5rem;
}
header.header-primary img.logo {
	image-rendering: -webkit-optimize-contrast;
	max-height: 64px;
}
nav.nav-primary {
	position: relative;
}
nav.nav-primary ul {
	list-style:none;
	margin: 1rem 0 0 0;
	min-width: 14rem;
	padding: 0;
	z-index: 1;
}
nav.nav-primary ul li {
	float: left;
	margin: 0;
	padding: 0;
}
nav.nav-primary ul a {
	background-color: #444;
	border-radius: 3px;
	color: #fefefe;
	display: block;
	font-size: 0.85rem;
	margin: 0.285rem 0.5rem;
	padding: 0.5rem 1.25rem;
}
nav.nav-primary ul a:hover {
	background-color: #000;
}
#nav-primary-toggler {
	display: none;
}

/* https://css-tricks.com/couple-takes-sticky-footer/ */
/* https://codepen.io/chriscoyier/pen/RRbKrL */
footer.footer-primary {
	background-color: #e0e0e0;
	background-image:url(../img/noise-light.png);
	margin-top: 1rem;
	padding: 1.5rem;
	
	/* sticky footer */
	flex-shrink: 0;
}
footer.footer-primary img {
	image-rendering: -webkit-optimize-contrast;
	max-height: 3rem;
}
footer.footer-primary a {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	color: inherit;
	font-size: 0.75rem;
}
#modal-privacy-policy div.contents {
	font-size: 0.85em;
}
#modal-privacy-policy div.contents.loading {
	background: transparent url(/img/ajax-loader-bw.gif) no-repeat center center;
	min-height: 4rem;
}

/*
==============================================
body-content
==============================================
*/
div.body-content {
	/* sticky footer */
	flex: 1 0 auto;
}

/*
==============================================
forms
==============================================
*/
form.responsive label.inline {
	text-align:right;
}
form.form-panel {
	background-color:#fff;
	border:1px solid #eee;
	box-shadow: 0 2px 2px #e7e7e7;
	color:#555;
	padding:1em;
}
form.form-panel h1.caption {
	border-bottom:1px solid #efefef;
	font-size:1.25em;
	font-weight:600;
	padding:0 0 0.25em 0;
	margin:-0.25em 0 2em 0;
}
form.form-panel div.caption {
	margin-bottom: 1rem;
}
form.form-panel div.caption h1 {
	font-weight:600;
}
form.form-panel a.help {
	display:block;
	margin-top:0.125em;
}
form.form-panel label {
	font-weight:700;
	margin-bottom:0;
	padding-bottom:0;
}
form.form-panel label.tile {
    background-color: #f8f8f8;
    border-color: rgba(204, 204, 204, 0.5);
    border-style: solid;
    border-width: 1px;
    display: inline-block;
    font-weight: normal;
    margin-bottom: 1em;
    padding:0.5rem 0.75rem;
}
form.form-panel label.tile input[type='radio'] {
	margin-bottom:0;
}

/* login/activate form */
form.form-panel.login,
form.form-panel.reset-password,
form.form-panel.activate {
	margin: 0 auto;
	max-width: 30rem;
}

/*
==============================================
blockUI
==============================================
*/
div.blockMsg {
	border:0;
	color: #fff;
	cursor: wait;
	left: 30%;
	padding:0;
	text-align:center;
    top: 30%;
    width:40%;
}
div.blockOverlay {
	background:#000;
	opacity:0.7;
}
@media only screen and (max-width:40em) {
	div.blockMsg {
		left: 10%;
		top: 20%;
		width: 80%;	
	}
}

/*
==============================================
notice bar
==============================================
*/
div.notice-bar {
	box-shadow:0 0 9px #333;
	min-height:3.5em;
	padding:1em 2.5em;
	position:fixed;
	text-align:center;
	visibility:hidden;
	width:100%;
	z-index:9999;
}
div.notice-bar a.close {
	color: #fefefe;
	font-size:2em;
	font-weight:700;
	position:absolute;
	right:1rem;
	top:0.125em;
}
div.notice-bar.alert {
	background: #ee352a;
	color: #fefefe;
	text-shadow:0 1px 1px #681b0f;
}
div.notice-bar.success {
	background: #3adb76;
	color: #fefefe;
	text-shadow:0 1px 1px #368a55;
}

/*
==============================================
animations
==============================================
*/
.slideDown{
	animation-name: slideDown;
	-webkit-animation-name: slideDown;	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;	
	visibility: visible !important;
}
@keyframes slideDown {
	0% { transform: translateY(-100%); }
	50%{ transform: translateY(8%);	}
	65%{ transform: translateY(-4%); }
	80%{ transform: translateY(4%); }
	95%{ transform: translateY(-2%); }			
	100% { transform: translateY(0%); }		
}
@-webkit-keyframes slideDown {
	0% { -webkit-transform: translateY(-100%); }
	50%{ -webkit-transform: translateY(8%);	}
	65%{ -webkit-transform: translateY(-4%); }
	80%{ -webkit-transform: translateY(4%);	}
	95%{ -webkit-transform: translateY(-2%); }			
	100% { -webkit-transform: translateY(0%); }	
}

.slideOut {
	animation-name: slideOut;
	-webkit-animation-name: slideOut;	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;	
	visibility: hidden !important;
	transition: visibility 1s ease;
}
@keyframes slideOut {
	0% { transform: translateY(0%); }
	100% { transform: translateY(-100%); }
}
@-webkit-keyframes slideOut {
	0% { transform: translateY(0%); }
	100% { transform: translateY(-100%); }
}

/* ==============================================
media queries
============================================== */
/* Small only - max 639px */
@media screen and (max-width: 39.9375em) {
}

/* Small & Medium only - max 960px */
@media screen and (max-width: 65em) {
	nav.nav-primary ul {
		display: none;
	}
	nav.nav-primary ul li {
		float: none;
		text-align: left;
	}
	#nav-primary-toggler {
		background: #444;
		border-radius: 3px;
		color: #fefefe;
		cursor: pointer;
		display: inline-block;
		font-size: 0.85rem;
		margin-top: 0.85rem;
		padding: 0.75rem 0.75rem;
	}
	#nav-primary-toggler:hover {
		background-color: #000;
	}
	#nav-primary-toggler.is-active + ul {
		background: #fefefe;
		display: block;
		position: absolute;
		right: 0;
		top: 2.5rem;
	}
	#nav-primary-toggler.is-active + ul a {
		border-radius: 0;
		margin: 0 0 1px 0;
	}
	#nav-primary-toggler.is-active + ul li:last-child a {
		margin: 0;
	}
	/* http://www.cssarrowplease.com/ */
	#nav-primary-toggler.is-active + ul:after {
		bottom: 100%;
		right: 5%;
		border: solid transparent;
		content: " ";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(68, 68, 68, 0);
		border-bottom-color: #444444;
		border-width: 8px;
		margin-left: -8px;
	}	
}

/* Medium and up - min 640px */
@media screen and (min-width: 40em) {}

/* Medium only - min 640px and max 1023px */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {}

/* Large and up - min 1024px */
@media screen and (min-width: 64em) {}

/* Large only - min 1024px and max 1199px */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}








