/*
	General Stylesheet for Biom'Up SBSS
	Developed by Nile Livingston
	January 2016

	For responsive styles, please see responsive.css
*/

/*
	General
*/

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }


/*--position icons--*/
.user-button-nav li i.material-icons {
    top: 4px;
    position: relative;
    right: 4px;
}




/* A trick to preload an image for later */
#preload-01 { background: url("../images/spinner.gif") no-repeat -9999px -9999px; }

.clear {
	clear: both;
}

body {
	background-color: #FFF;
	font-family: "Karla", sans-serif;
}

strong {
	font-weight: bold;
}

#logo-logged-in {
	padding: 10px 0 20px;
	display: block;
	margin: 0 auto;
	max-width:210px;
}

#logout-link {
	float: right;
	text-align: right;
	padding: 1% 5%;
	font-family: "Karla", sans-serif;
	color: #008bcb;
}

sup {
    position: relative;
    font-size: 70%;
    line-height: 0;
    vertical-align: baseline;
    top: -0.4em;
}

button:hover, input[type=submit]:hover {
	cursor: pointer;
}

a {
	text-decoration: none;
}

/*
	Login page
*/

#logo-login-page {
	padding: 2% 0 3%;
	display: block;
	margin: 0 auto;
	width:170px;
}

#hero-wrap {
	overflow: hidden; 
	background-repeat: no-repeat;
  	background-size: cover;
	height: 700px;
}

#hero-wrap-short {
	overflow: hidden; 
	background-repeat: no-repeat;
	background-position: center;
	
	height: 180px;

	background-position: center top;
  	background-size: cover;
}

#form-area {
	width: 400px;
	height: 370px;

	margin: 1.5em auto 0;
	padding: 1%;
	background-color: rgba(11, 136, 196, 0.9);
	color: rgba(255, 255, 255, 0.9);

	box-shadow: 0 5px 3px #BBB;
}

#form-area h1 {
	text-transform: uppercase;
	text-align: center;
	font-size: 1.8em;
	margin-top: 5%;
	font-family: "Abel", sans-serif;
}

#form-area form {
	margin: 0 auto;
	text-align: center;
	width: 90%;
}

#form-area form label {
	display: block;
	text-align: left;
	padding: 7% 0 2%;
	font-family: "Karla", sans-serif;
	font-size: 1em;
}

#form-area input {
	border: solid 1px #5B6A71;
	width: 100%;
	height: 2em;
	padding-left: 0.5em;
	font-size: 1em;
}

button, #form-area #login, #form-area #forgot-submit {
	background-color: #9cbb12;
	color: white;
	border: none;
	border-radius: 6px;
	font-family: "Karla", sans-serif;
	font-weight: bold;
	font-size: 1em;
	height: 2.4em;
	/*padding-left: 0;*/

	text-align: center;
}

#form-area #login, #form-area #forgot-submit {
	/* this line resets an iOS style */
	-webkit-appearance: none;

	width: 5.75em;
	margin: 5% 0 3%;
	float: right;
}

#form-area #login:hover, #form-area #forgot-submit:hover {
	cursor: pointer;
}

#lost-password, #back-to-login {
	display: block;
	width: 9em;
	margin: 0;
	

	text-decoration: none;
	padding-top: 1em;
}

#login-form-feedback, #forgot-form-feedback, #add-user-feedback {
	font-family: "Karla", sans-serif;
	font-size: 0.9em;
	line-height: 1.2em;
}

#lost-password p, #back-to-login p {
	color: #ffffff;
	text-align: center;
	font-family: "Karla", sans-serif;
	font-size: 0.9em;
}

#forgot-instructions {
	padding-top: 4%;
	width: 90%;
	margin: 0 auto;
	font-family: "Karla", sans-serif;
	line-height: 1.3em;
	font-size: 0.9em;
}

#form-area #forgot-submit {
	width: 8em;
}


/*
	Start Page
*/

#start-page-hero {
	background-image: url("../images/start-hero.jpg");
	background-size: 1280px auto;
	overflow: hidden; 
	background-repeat: no-repeat;
	background-position: center;
	height: 285px; 

	box-shadow: 0 5px 3px #DDD;

	background-position: center center;
  	background-size: cover;
}

#start-page-headline {
	text-transform: uppercase;
	text-align: center;
	font-size: 1.8em;
	color: #008bcb;
	padding-top: 1.5em;
	margin: 0 auto 1%;
	font-family: "Abel", sans-serif;
	line-height: 1.2em;
}

#start-page-description {
	width: 40em;

	text-align: center;
	margin: 0 auto;
	font-family: "Karla", sans-serif;
	color: #4e4e4e;
	font-size: 1em;
	line-height: 1.5em;
}

.start-page-nav {
	text-align: center;
	margin: 3% auto;
}

.start-page-nav li {
	display: inline;
	padding: 0 0.5em;
}

.start-page-button {
	margin: 0.5% auto;
    width: 24%;
    height: 2.5em;
    font-size: 0.8em;
    padding: 0 2em;
}

/*
	Video page
*/

#video-wrap {
	background-color: #f3f3f3;
	padding: 2%;
	margin-top: 2%;
}

#back-to-homepage-link {
	font-family: "Karla", sans-serif;
	font-size: 0.9em;
	float: right;
	color: #008bcb;
}

#sbss-video {
	display: block;
	margin: 1em auto;
	width: 100%;
	height: 402px;
}

.sidedock {
	display: none;
}

#sbss-table {
	display: block;
	margin: 2% auto;
	text-align: center;
	width: 100%;
}

#table-text {
	font-family: "Karla", sans-serif;
	font-size: 0.6em;
	padding: 0 1em 2em;
	color: #414141;
}

.container-60 {
	width: 715px;
	margin: 0 auto;
}

.sbss-table {width:100%;font-size:11px;}
.sbss-table th {width:14%;padding:1em;}
.sbss-table th:nth-child(1) {text-align:left;}
.sbss-table td:nth-child(2),.sbss-table td:nth-child(3),.sbss-table td:nth-child(4),.sbss-table td:nth-child(5),.sbss-table td:nth-child(6),.sbss-table td:nth-child(7) {text-align:center;}
.sbss-table .blue-text {color:#008bcb;}


/*
	Footer
*/

footer {
	background-color: #EFEFEF;
	padding: 2% 5%;
	width: 90%;
	height: auto;

	/* Little trick to extend the footer background color, if necessary */
	box-shadow: 0px 1000px 0px 1000px #EFEFEF;
}

#footer-description,
#footer-description-alt {
	color: #717171;
	float: left;
	/*width: 63%;*/
	width:60%;
	font-family: Helvetica, sans-serif;
	font-size: 0.7em;
	line-height:1.3em;
	padding-top:10px;
}

#footer-nav,
#footer-nav-alt {
	float: right;
	text-align: right;
	/*width: 35%;*/
	padding-top:10px;
	width:25%;
	font-family: "Karla", sans-serif;
}

#footer-nav li,
#footer-nav-alt li {
	display: inline;
	padding: 1em;
}

#footer-nav a,
#footer-nav-alt a {
	color: #0C8CC9;
	text-transform: uppercase;
	text-decoration: none;
}


/*
	New Styles
*/

/* Hide radio button */
.test-form input[type=radio],
.sbss-table input[type=radio] {
	display: none;
}

/* Score button */
.test-form input[type=radio] + label,
.sbss-table input[type=radio] + label {
    display:inline-block;
    margin:-2px;
    padding: 10px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    width: 15%;
}

/* Active score button */
.test-form input[type=radio]:checked + label,
.sbss-table input[type=radio]:checked + label {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    background-color: #008bcb;
    text-shadow: none;
    color: #eee;
}

.test-form input[type=submit] {
	display: block;
	margin: 0 auto;

	border: none;
	background: none;
	text-transform: uppercase;
	color: #008bcb;
	font-weight: bold;
}
.test-form input[type=submit]:disabled {
	font-weight: normal;
	color: #aaa;
}

.test-form input[type=submit]:hover {
	cursor: pointer;
}
.test-form input[type=submit]:disabled:hover {
	cursor: auto;
}



.video-wrap {background-color:#efefef;}

.test-video {
	display: block;
	margin: 0 auto;
	padding: 13px 0;
}

.test-form {
	margin: 0 auto;
}

#the-username {
	text-align: right;
	color: #666;
	font-size: 15px;
	margin-bottom: 10px;
}

#test-attempts {
	text-align: right;
	color: #999;
	font-size: 15px;
}

#admin-logo {
	padding: 3em 0;
	display: block;
	margin: 0 auto;
	width: 161px;
}

#admin-login-wrap {
	text-align: center;

	width: 320px;
	height: 250px;

	padding: 1%;
	background-color: rgba(11, 136, 196, 0.9);
	color: rgba(255, 255, 255, 0.9);

	box-shadow: 0 5px 3px #BBB;
	margin: 0 auto 3em;
}

#admin-login-wrap h1 {
	text-transform: uppercase;
	text-align: center;
	font-size: 1.8em;
	margin: 5%;
	font-family: "Abel", sans-serif;
}

#admin-login-wrap form label, #admin-login-wrap p {
	margin: 1em auto 0;
	font-family: "Karla", sans-serif;
}

#admin-login-wrap form input {
	border: solid 1px #5B6A71;
	height: 2em;
	padding-left: 0.5em;
	font-size: 1em;
	margin: 1em 0;
}

#admin-login-wrap form #admin-submit {
	width: 10em;

	background-color: #9cbb12;
	color: white;
	border: none;
	border-radius: 6px;
	font-family: "Karla", sans-serif;
	font-weight: bold;
	font-size: 1em;
	height: 2.4em;
	padding-left: 0;

	text-align: center;
}

#admin-logout-button {
	display: block;
	text-align: right;
}

.admin-table {
	margin: 1em auto 2em;
	width:85%;
	color:#717171;
	line-height: 14px;
	background-color:#f9f9f9;
}
.admin-table th, table.results-table td {padding: 1em;}
.admin-table td {font-size: 13px;}
.admin-table tr {border:none;}
.admin-table tr:nth-child(odd) {background-color:#ededed;}
.admin-table th {
	width:15%;
	text-align: left;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #9cbb12;
	color: #FFF;
}
.admin-table th:nth-child(2) {
	width: 7%;
}
.admin-table th:nth-child(3), .admin-table th:nth-child(4) {
	width: 12%;
}

.admin-table a {
	color: #008bcb;
}


/* user table */

.no-results {
	margin: 5% auto;
    text-align: center;
    font-size: 18px;
    color: #666;
}

.user-table {
	margin: 1em auto 2em;
	width: 90%;
	color:#717171;
	line-height: 14px;
	background-color:#f9f9f9;
}
.user-table th, table.results-table td {padding: 1em;}
.user-table td {font-size: 13px;}
.user-table tr {border:none;}
.user-table tr:nth-child(odd) {background-color:#ededed;}
.user-table th {
	width: 10%;
	text-align: left;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #9cbb12;
	color: #FFF;
	vertical-align: middle;
}

.user-header {
	font-family: "Karla", sans-serif;
	color: #008bcb;
	font-size: 16px;
	text-transform: uppercase;
	margin-left: 5%;
	font-weight: bold;
}

.user-button-nav {}

.user-button-nav li {
	/*padding: 1% 0 1% 1.25%;*/
	padding:1% 0;
	margin:0;
	display:block;
	float:right;
}

.user-button-nav li button {
	border-radius: 0;
    font-weight: normal;
	padding-bottom: 7px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    margin: 0 auto;
    font-size: 14px;
}


nav {
	text-align: right;
	margin: 0.5em 0;
}

nav ul li {
	display: inline-block;
	margin: 0;
	padding: 1% 1.25%;
}

nav ul li a {
	font-family: "Karla", sans-serif;
	color: #008bcb;
}

tr {
	border: solid thin black;
}

td {
	padding: 1em;
}

.flagged {
	background-color: rgba(255, 0, 0, 0.6);
}





/*--TESTING--*/

.header {padding: 0 5%;width: 90%;}
.header li a {font-weight:bold;color:#008bcb; font-size: 15px;}

.header-results {padding: 0 5% 2% 5%;width: 90%;}
.header-results li a {font-weight:bold;color:#008bcb;}

.content-wrap {width:100%;margin: 0px 0px 0px 0px;padding: 0px;}
.lockout-message {font-size:14px;line-height:20px;}

/*--instructions--*/
.instructions-content {width:55%;margin:0 auto;padding:30px 0;}
.instructions-content p, .instructions-content li {margin:10px 0;line-height:21px;font-size:15px;color:#717171;}
.instructions-content ol {
	margin-left: 1em;
}

.center-button {text-align:center;}
.instructions-page-button {margin: 3% auto 6%;width: 12em;height: 2.5em;font-size: 1.1em;}


/*--test page --*/
.test-form {margin:20px auto 20px auto;color:#717171;font-size:14px;}
.test-form label {font-size:21px;line-height:32px;font-weight:bold;text-transform:uppercase;color:#717171;}
.test-form #submit {font-size:14px;}

.logo-wrap {width:15%;text-align:center;float:left;/*padding-top:13px;*/}
.logo-wrap img {width:120px;}
.right-wrap {width: 77%; /*float: right;*/ margin:0 auto;}
.test-progress {font-size:22px; line-height:24px; font-weight:bold; color:#008bcb; margin-bottom: 7px;}
.test-prompt {font-size:17px;line-height:24px;font-weight:normal;color:#717171;margin-bottom:7px;}
.test-video {width: 720px; height: 405px;}
.question-wrap {
	text-align: left;
	padding-top:14px;
	padding: 2% 0;
}

/*--results--*/
.results-table {width:55%;color:#717171;line-height:24px;background-color:#f9f9f9; margin: 0 auto;}
.results-table th, table.results-table td {padding:8px;}
.results-table td {width:50%;}
.results-table tr {border:none;}
.results-table tr:nth-child(odd) {background-color:#ededed;}
.results-table th {text-align:left;font-size:24px;font-weight:bold;text-transform:uppercase;background-color:#9cbb12;color:#FFF;}
.results-titles {font-weight:bold;color:#008bcb;}
.sbss-titles {font-weight:bold;}
.accuracies-titles {font-weight:bold;}
td.results-buttons {text-align:right; padding: 2em 0!important;}
.results-buttons a {padding:2.5% 4.5%;background-color:#9cbb12;color:#FFF;}
.passing {
	color: #9CBB12;
}
.failing {
	color: red;
}


/* add user page */
.add-user-wrap {
	text-align: center;

	width: 320px;
	height: 250px;

	padding: 1em;
	background-color: rgba(11, 136, 196, 0.9);
	color: rgba(255, 255, 255, 0.9);

	box-shadow: 0 5px 3px #BBB;
	margin: 0 auto;

	margin: 1em auto 2em;
}

.add-user-wrap h1 {
	text-transform: uppercase;
	text-align: center;
	font-size: 1.8em;
	margin: 5%;
	font-family: "Abel", sans-serif;
}

.add-user-wrap form input {
	border: solid 1px #5B6A71;
	height: 2em;
	padding-left: 0.5em;
	font-size: 1em;
	margin: 1em 0;
}

.add-user-wrap form input[type=submit] {
	width: 10em;

	background-color: #9cbb12;
	color: white;
	border: none;
	border-radius: 6px;
	font-family: "Karla", sans-serif;
	font-weight: bold;
	font-size: 1em;
	height: 2.4em;
	padding-left: 0;

	text-align: center;

	margin: 0 auto;
}

#add-user-feedback {
	margin-top: 0.5em;
}

.locked-out {
	color: #666;
    margin: 0 auto 2em;
    width: 50%;
}

.test-form .sbss-table {
	margin-top: 2em;
}

.progress-wrap {
	width: 75%;
	float: left;
}
.submit-wrap {
	width: 25%;
	float: right;
}

.instructions-link {
	color: #008bcb;
	text-decoration: underline;
}

#video-table-wrap {
	padding: 2em 0;
}

#footer-description p, #footer-description-alt p {
	margin: 1% 0;
}

/** new css **/
#hero-wrap {
	background-color: #d8d8d8;
	padding: 6em 0;
}
.we-wrap {
    max-width: 70%;
    margin: 0 auto;
}
#form-area {
	width: initial;
	max-width: 400px;
	margin: initial;
	background-color: #2591c9;
}
.we-top-text {
	max-width: 400px;
	margin-bottom: 2em;
}
.we-top-text h2 {
    color: #005594;
    font-size: 3rem;
    font-weight: 600;
}
sup {
    font-size: 60%;
}
.we-top-text p {
    font-size: 1.7rem;
    font-weight: 400;
	line-height: 1.2;
	color: #005594;
}
#form-area #login,
#admin-login-wrap form #admin-submit {
	background-color: #02518f;
}
#logo-login-page {
	margin: initial;
}
#hero-wrap {
    background-image: url(../images/SpotGradeCertification.png);
}
img {
	max-width: 100%;
}
.footer-logo {
    max-width: 150px;
    float: right;
}
#lost-password {
	display: block;
}

/** admin interfaces css**/
#admin-login-wrap {
    width: initial;
    max-width: 400px;
    margin: initial;
    background-color: #2591c9;
}

