/* hides the spin-button for firefox & chrome */
input[type=number].no-spinner { -moz-appearance: textfield; }
input[type=number].no-spinner::-webkit-inner-spin-button,
input[type=number].no-spinner::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
body {
	background:#fff;
	color:#5a5b5d;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: .83em; }
h6 { font-size: .75em; }

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

div.row.wrapper {
	max-width:40em;
}

header.header-primary h1 {
	color:#4c5f7d;
	font-size:2.2em;
	font-weight:900;
	line-height:1;
}
header.header-primary h1 span {
	color:#434343;
	display:block;
	font-size:0.75em;
	font-style:italic;
	font-weight:300;
}

footer.footer-primary,
footer.footer-secondary,
footer.footer-fees {
	background-color:#f4f4f4;
	color:#8f8f8f;
	font-size:0.9em;
	font-weight:300;
	margin-top:1.5em;
	text-align:center;
}
footer.footer-secondary {
	margin-top:0;
}
footer.footer-primary a,
footer.footer-secondary a,
footer.footer-fees a {
	color:#8f8f8f;
	display:inline-block;
	padding:0.5em;
}
footer.footer-fees {
	background-color:inherit;
	margin-top:0.5em;
	text-align:center;
}
footer.footer-legend-notes {
	color:#8f8f8f;
	margin-bottom:1.5em;
	margin-top:1.5em;
}
footer.footer-legend-notes p {
	font-size:0.75em;
	margin-bottom:0.25em;
}
footer.footer-funded-learning {
	background-color:inherit;
	margin-top:0.5em;
	text-align:center;
}
footer.footer-funded-learning img {
	display:block;
	margin:0 auto;
	max-width:200px;
}
footer.footer-funded-learning small {
	color:#666;
	font-size:0.85em;
}

/* blockUI */
div.blockMsg {
	border:0;
	color: #fff;
	cursor: wait;
	left: 30%;
	padding:0;
	text-align:center;
    top: 30%;
    width:40%;
}
div.blockOverlay {
	background:#000;
	cursor: wait;
	opacity:0.8;
}
div.blockMsg div.spinner {
	background-color:rgba(255,255,255,1);
	border-radius: 100%;  
	height:100px;
	margin:1em auto;
	width:100px;
	-webkit-animation: scaleout 1.0s infinite ease-in-out;
	animation: scaleout 1.0s infinite ease-in-out;
}
@-webkit-keyframes scaleout {
	0% {
		-webkit-transform: scale(0.0)
	}
	100% {
		-webkit-transform: scale(1.0);
		opacity: 0;
	}
}

@keyframes scaleout {
	0% { 
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	} 100% {
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
		opacity: 0;
	}
}
@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 #222;
	min-height:3.5em;
	padding:1em 2.5em;
	position:fixed;
	text-align:center;
	visibility:hidden;
	width:100%;
	z-index:9999;
}
div.notice-bar.alert {
	background:#f04124;
	color:#fff;
	text-shadow:0 1px 1px #681b0f;
}
div.notice-bar div.message {
}
div.notice-bar a.close {
	color:#fff;
	font-size:2em;
	font-weight:700;
	position:absolute;
	right:0.5em;
	top:0.125em;
}

/*
==============================================
animations
==============================================
*/
.blink {
	animation: blink steps(1) 1s infinite;
}
@keyframes blink {  
	0% { opacity: 1.0; }
	50% { opacity: 0.0; }
	100% { opacity: 1.0; }
}
@-webkit-keyframes blink {  
	0% { opacity: 1.0; }
	50% { opacity: 0.0; }
	100% { opacity: 1.0; }
}

.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%);
	}
}
