body {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	font-family: lato, arial, sans-serif;
	background: #fff;
}
a {
	text-decoration: none;
}
::-webkit-input-placeholder{ font-size: 16px; font-weight: 300; font-family: lato, arial, sans-serif; color: #999; }
:-moz-placeholder{ font-size: 16px; font-weight: 300; font-family: lato, arial, sans-serif; color: #999; }
::-moz-placeholder{ font-size: 16px; font-weight: 300; font-family: lato, arial, sans-serif; color: #999; }
:-ms-input-placeholder{ font-size: 16px; font-weight: 300; font-family: lato, arial, sans-serif; color: #999; }
.container {
	position: relative;
	min-width: 650px;
	text-align: center;
}

.spinner {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 90px;
	width: 90px;
	margin: -45px 0 0 -45px;
	
	transform-origin: center;
	-webkit-transform-origin: center;
	transform: rotate(0deg) scale(.8,.8);
	-webkit-transform: rotate(0deg) scale(.8,.8);
	
	animation: spinner_spin 10s infinite linear;
	-webkit-animation: spinner_spin 10s infinite linear;
}
#viewer .spinner {
	position: absolute;
	top: 30%;
}
	@keyframes spinner_spin { to { transform: rotate(-360deg) scale(.8,.8); } }
	@-webkit-keyframes spinner_spin { to { -webkit-transform: rotate(-360deg) scale(.8,.8); } }
	
	.spinner div {
		position: absolute;
		height:  30px;
		width: 30px;
		border-radius: 15px;
		background: #71bdd3;
		
		transform-origin: center;
		-webkit-transform-origin: center;
		
		transform: scale(.9,.9);
		-webkit-transform: scale(.9,.9);
		
		animation: spinner_pulse 3s infinite linear;
		-webkit-animation: spinner_pulse 3s infinite linear;
	}
	.spinner div:nth-child(1) {
		top: 2px;
		left: 14px;
		animation-delay: .5s;
		-webkit-animation-delay: .5s;
	}
	.spinner div:nth-child(2) {
		top: 2px;
		right: 14px;
		animation-delay: 1s;
		-webkit-animation-delay: 1s;
	}
	.spinner div:nth-child(3) {
		top: 30px;
		right: 0;
		animation-delay: 1.5s;
		-webkit-animation-delay: 1.5s;
	}
	.spinner div:nth-child(4) {
		bottom: 2px;
		right: 14px;
		animation-delay: 2s;
		-webkit-animation-delay: 2s;
	}
	.spinner div:nth-child(5) {
		bottom: 2px;
		left: 14px;
		animation-delay: 2.5s;
		-webkit-animation-delay: 2.5s;
	}
	.spinner div:nth-child(6) {
		top: 30px;
		left: 0;
		animation-delay: 3s;
		-webkit-animation-delay: 3s;
	}
	@keyframes spinner_pulse {
		0% { transform: scale(.9,.9) }
		75% { transform: scale(.2,.2) }
		100% { transform: scale(.9,.9) }
	}
	@-webkit-keyframes spinner_pulse {
		0% { -webkit-transform: scale(.9,.9) }
		75% { -webkit-transform: scale(.2,.2) }
		100% { -webkit-transform: scale(.9,.9) }
	}
.spinner.main {
	z-index: 1001;
	margin: -90px 0 0 -45px;
	opacity: .8;
	transition: margin-left .4s ease-out;
	-webkit-transition: margin-left .4s ease-out;
	transform: rotate(0deg) scale(1.2,1.2);
	-webkit-transform: rotate(0deg) scale(1.2,1.2);
	animation: spinner_main_spin 10s infinite linear;
	-webkit-animation: spinner_main_spin 10s infinite linear;
}
	@keyframes spinner_main_spin { to { transform: rotate(-360deg) scale(1.2,1.2); } }
	@-webkit-keyframes spinner_main_spin { to { -webkit-transform: rotate(-360deg) scale(1.2,1.2); } }

body > header {
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
	line-height: 50px;
	background: #fff;
	
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
}
body > header .container {
	height: 50px;
	text-align: left;
}
body > header h1 {
	padding-left: 50px;
	font-family: 'Ubuntu', lato, arial, sans-serif;
	font-size: 26px;
	font-weight: bold;
	color: #71bdd3;
}
body > header nav {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 50px;
}
body > header nav a {
	display: inline-block;
	margin-left: 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #aaa;
	cursor: pointer;
}
body > header nav a:hover,
body > header nav a.active {
	color: #71bdd3;
}

body > header nav a.login,
body > header nav a.register {
	display: none;
}
	body.showlogin > header nav a.login,
	body.showlogin > header nav a.register {
		display: inline-block;
	}
body > header nav a.btn {
	display: inline-block;
	line-height: 32px;
	padding: 0 15px;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	background-color: #71bdd3;
	border-radius: 3px;
	cursor: pointer;
	vertical-align: baseline;
	
	transition: background-color .4s;
	-webkit-transition: background-color .4s;
}
	body > header nav a.btn:hover {
	background-color: #519db3;
	}

button {
	width: auto;
	height: 38px;
	margin-top: 10px;
	padding: 0 40px;
	border: 1px solid #5ad845;
	line-height: 38px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: #5ad845;
	border-radius: 5px;
	cursor: pointer;
	vertical-align: top;
	
	transition: background-color .4s;
	-webkit-transition: background-color .4s;
}
button:hover {
	background-color: #6ae855;
}
button.alt {
	border-color: #ccc;
	color: #72bdd4;
	background-color: #fff;
}
button.disabled {
	border-color: #ccc;
	color: #fff;
	background-color: #ccc;
	cursor: default;
}
button.alt:hover {
	background-color: #eee;
}
button.success {
	background-color: #0c0;
}
button.fail {
	background-color: #f00;
}


#body {
	position: absolute;
	top: 51px;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: auto;
	padding-top: 25px;
	color: #333;
}
#body.intro {
	background: #fcfcfc url(images/bg_intro2.png) no-repeat center;
	background-size: cover;
}
#body h1 {
	font-size: 22px;
	color: #666;
}
#body > footer {
	margin-top: 100px;
	padding: 20px 0;
	text-align: center;
	font-size: 10px;
	color: #999;
}
#body > footer a {
	color: #999;
	cursor: pointer;
}
#body > footer em {
	display: inline-block;
	margin: 0 10px;
}
#body > footer .social_actions {
	padding: 0 0 20px 0;
}
#body > section {
	position: relative;
	min-height: 540px;
}
#body form {
	display: inline-block;
	width: 450px;
	padding: 10px;
	border: 1px solid #ccc;
	vertical-align: top;
	border-radius: 3px;
}
#body form label,
#body form .checkbox_row {
	display: block;
	line-height: 40px;
	color: #666;
}
#body form .checkbox_row label {
	display: inline-block;
}
#body form label span,
#body form .checkbox_row span {
	display: inline-block;
	width: 150px;
	padding-right: 10px;
	text-align: right;
}
#body form input[type="text"],
#body form input[type="email"],
#body form input[type="password"],
#body form textarea {
	box-sizing: border-box;
	width: 280px;
	height: 36px;
	padding: 0 8px;
	margin: 8px 0;
	border: 1px solid #ccc;
	line-height: 36px;
	font-size: 16px;
	font-family: lato, arial, sans-serif;
	color: #000;
	border-radius: 3px;
	box-shadow: none;
	
	transition: border-color .4s;
	-webkit-transition: border-color .4s;
}
#body form .button_row {
	padding-right: 7px;
	text-align: right;
}
#body form .error_msg {
	height: 0;
	margin: 0 -30px;
	overflow: hidden;
	line-height: 50px;
	font-size: 16px;
	font-weight: bold;
	color: #f00;
	text-align: center;
	
	transition: height .4s;
	-webkit-transition: height .4s;
}
#body form .error_msg.active {
	height: 50px;
}

/************ modals **************/
.modal_container {
	z-index: -1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,.3);
	opacity: 0;
	
	transition: opacity .4s, z-index 1s;
	-webkit-transition: opacity .4s, z-index 1s;
}
.modal_container.active {
	z-index: 10;
	opacity: 1;
	
	transition: opacity .4s, z-index 0;
	-webkit-transition: opacity .4s, z-index 0;
}
.modal_container .modal {
	position: absolute;
	top: 35%;
	left: 50%;
	min-height: 200px;
	width: 470px;
	margin: -100px 0 0 -230px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 0 40px 5px rgba(0,0,0,.5);
}
.modal_container.wide_modal_container {
	margin-left: -300px;
}
.modal_container.wide_modal_container .modal {
	width: 600px;
}
.modal h1 {
	padding: 0 20px;
	line-height: 38px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background-color: #71bdd3;
	border-radius: 8px 8px 0 0;
}
.modal p {
	padding-bottom: 5px;
	line-height: 20px;
	text-align: left;
	color: #666;
}
.modal .content {
	padding: 10px 20px 20px 20px;
}
.modal form {
	position: relative;
	display: block;
	text-align: right;
}
.modal form p {
	text-align: left;
}
form.contact_form {
	display: block;
	width: 320px;
	margin: 30px auto 0 auto;
}
.modal form input[type="text"],
.modal form input[type="email"],
.modal form input[type="password"],
.modal form textarea,
form.contact_form input,
form.contact_form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 36px;
	padding: 0 8px;
	margin: 8px 0;
	border: 1px solid #ccc;
	line-height: 36px;
	font-size: 16px;
	font-family: lato, arial, sans-serif;
	color: #000;
	border-radius: 3px;
	box-shadow: none;
	
	transition: border-color .4s;
	-webkit-transition: border-color .4s;
}
.modal form input.error,
.modal form textarea.error,
form.contact_form input.error,
form.contact_form textarea.error {
	border-color: #f00;
}
.modal form textarea,
form.contact_form textarea {
	height: 136px;
	padding: 8px;
	line-height: 20px;
}
.modal form label {
	display: block;
	line-height: 54px;
	color: #666;
}
.modal form.registration_form label {
	line-height: 42px;
	font-size: 14px;
}
.modal form label:after {
	display: block;
	content: "";
	clear: both;
}
.modal form .checkbox_row {
	font-size: 14px;
	color: #666;
	text-align: left;
}
.modal form .checkbox_row label {
	display: inline-block;
	margin-left: 12px;
	font-size: 12px;
}
.modal form .checkbox_row label input {
	vertical-align: middle;
}
.modal form label input[type="text"],
.modal form label input[type="email"],
.modal form label input[type="password"] {
	float: right;
	width: 70%;
	margin: 4px 0 4px 10px;
}
.modal form .button_row {
	text-align: right;
}
.modal form.registration_form label input[type="text"],
.modal form.registration_form label input[type="email"],
.modal form.registration_form label input[type="password"] {
	width: 280px;
}
.modal form.registration_form {
	text-align: left;
}
.modal form.registration_form label span,
.modal form.registration_form .checkbox_row span {
	display: inline-block;
	width: 134px;
	text-align: right;
}
.modal form .feedback {
	z-index: -1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	line-height: 30px;
	font-size: 18px;
	text-align: left;
	background: #fff;
	opacity: 0;
	
	transition: opacity .4s;
	-webkit-transition: opacity .4s;
}
.modal form .feedback.active {
	z-index: 10;
	opacity: 1;
}
.modal form .feedback h2 {
	margin-bottom: 10px;
	line-height: 50px;
	font-size: 30px;
	color: #f62;
}
.modal form .feedback button {
	position: absolute;
	bottom: 0;
	right: 0;
}
.modal form .recovery {
	margin-bottom: 3px;
	font-size: 12px;
	text-align: right;
	color: #999;
	cursor: pointer;
}
.modal form .error_msg,
form.contact_form .error_msg {
	height: 0;
	margin: 0 -30px;
	overflow: hidden;
	line-height: 50px;
	font-size: 16px;
	font-weight: bold;
	color: #f00;
	text-align: center;
	
	transition: height .4s;
	-webkit-transition: height .4s;
}
.modal form .error_msg.active,
form.contact_form .error_msg.active {
	height: 50px;
}
.modal form .error_msg a,
form.contact_form .error_msg a {
	color: #c00;
}
.modal form .error_msg a:hover,
form.contact_form .error_msg a:hover {
	color: #e00;
}
.modal form label.remember {
	float: left;
	text-align: left;
	color: #999;
}
.message_main .modal .content > div {
	min-height: 80px;
}


/************ intro page **************/
#intro {
	text-align: center;
}
#intro h1 {
	position: relative;
	top: 150px;
	font-size: 60px;
	font-weight: 300;
	font-family: 'Ubuntu', lato, arial, sans-serif;
	color: #333;
}
#intro h2 {
	position: relative;
	top: 200px;
	font-size: 32px;
	font-family: arial, sans-serif;
	color: #666;
	text-align: center;
}
#intro a.btn {
	position: relative;
	top: 275px;
	display: inline-block;
	height: 66px;
	padding: 0 20px;
	border: 1px solid #48a0c9;
	line-height: 66px;
	font-size: 36px;
	font-family: arial, sans-serif;
	color: #48a0c9;
	border-radius: 5px;
	cursor: pointer;
	background-color: #fff;
	box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
	
	transition: background-color .4s;
	-webkit-transition: background-color .4s;
}
#intro a.btn:hover {
	background-color: #eff;
}
#intro .disclaimer {
	position: relative;
	top: 350px;
	width: 800px;
	margin: auto;
	text-align: justify;
	color: #999;
}
#intro .disclaimer a {
	color: #48a0c9;
	cursor: pointer;
}
#intro .disclaimer a:hover {
	color: #2880a9;
}


/************ learn page **************/
#evaluation_wrapper {
	margin: 0 50px;
}
#evaluation {
	position: relative;
	text-align: center;
}
#evaluation .img {
	display: inline-block;
	min-height: 400px;
}
#evaluation .img span {
	position: relative;
	display: inline-block;
}
#evaluation .img .roi {
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	box-shadow: 0 0 2px 1px #fff inset, 0 0 4px 0px #000;
	-webkit-box-shadow: 0 0 2px 1px #fff inset, 0 0 4px 0px #000;
}
#evaluation img {
	max-height: 600px;
	max-width: 500px;
	border: 1px solid #333;
}
#evaluation_form_wrapper {
	position: relative;
	display: inline-block;
	margin: 40px 0 0 50px;
	vertical-align: top;
}
#evaluation_form {
	position: relative;
	padding: 10px 30px 40px 30px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fcfcfc;
}
#evaluation h4 {
	width: 100px;
	margin: 20px 0 0 480px;
	font-size: 10px;
	text-transform: uppercase;
}
#evaluation h2,
#evaluation input[type="text"] {
	position: relative;
	display: inline-block;
	height: 30px;
	width: 450px;
	border: none;
	border-bottom: 1px dashed #ccc;
	line-height: 30px;
	font-size: 18px;
	text-align: left;
	color: #666;
	vertical-align: bottom;
	background: #fcfcfc;
}
	::-webkit-input-placeholder{ font-size: 18px; color: #999; }
	:-moz-placeholder{ font-size: 18px; color: #999; }
	::-moz-placeholder{ font-size: 18px; color: #999; }
	:-ms-input-placeholder{ font-size: 18px; color: #999; }
.ui-autocomplete {
	max-height: 300px;
	width: 450px;
	overflow-x: hidden;
	overflow-y: auto;
}
#evaluation h2.correct {
	color: #5ad845;
}
#evaluation h2.correct:after {
	position: absolute;
	top: 0;
	left: -20px;
	height: 30px;
	display: block;
	content: "\2714";
	font-weight: bold;
	color: inherit;
}
#evaluation h2.incorrect {
	color: #f00;
}
#evaluation h2.incorrect:after {
	position: absolute;
	top: 0;
	left: -20px;
	height: 30px;
	display: block;
	content: "\2718";
	font-weight: bold;
	color: inherit;
}
#evaluation h2 a {
	position: absolute;
	top: 0;
	left: -24px;
	height: 30px;
	width: 20px;
	background: url(images/delete.png) no-repeat center;
	opacity: 0;
	cursor: pointer;
	
	transition: opacity .4s;
	-webkit-transition: opacity .4s;
}
#evaluation h2:hover a {
	opacity: 1;
}
#evaluation select {
	height: 30px;
	width: 450px;
	border: none;
	border-bottom: 1px dashed #ccc;
	line-height: 30px;
	font-size: 16px;
	color: inherit;
	background: #fcfcfc;
}
#evaluation select.confidence {
	width: 120px;
	margin-left: 10px;
	color: #666;
}
#evaluation .error_msg {
	padding-top: 3px;
	color: #f00;
}
.add_evaluation_button_row {
	padding-top: 15px;
	line-height: 28px;
	text-align: left;
	color: #999;
}
.add_evaluation_button_row button {
	height: 28px;
	margin: 0;
	padding: 0 30px;
	line-height: 28px;
	font-size: 14px;
}
.evaluation_button_row {
	padding-top: 3px;
	text-align: right;
}
#evaluation .diagnosis {
	margin-top: 50px;
	text-align: left;
}
#evaluation .diagnosis h3 {
    font-size: 18px;
	color: #5ad845;
}
#evaluation .diagnosis ul {
	margin-left: 30px;
	color: #5ad845;
	list-style-type: disc;
}
#evaluation .feedback {
	margin-top: 50px;
	text-align: left;
}
#evaluation .feedback h3 {
    font-size: 16px;
	color: #666;
}
#evaluation .feedback textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 36px;
	padding: 8px;
	margin: 8px 0;
	border: 1px solid #ccc;
	line-height: 20px;
	font-size: 16px;
	font-family: lato, arial, sans-serif;
	color: #000;
	border-radius: 3px;
	
	transition: height .4s;
	-webkit-transition: height .4s;
}
#evaluation .feedback textarea.expand {
	height: 116px;
}

#status {
	position: fixed;
	bottom: 0;
	right: 100px;
	width: 240px;
	padding-bottom: 10px;
	border: 1px solid #71bdd3;
	border-radius: 7px 7px 0 0;
	background: #fcfcf0;
}
.right_column_box h2 {
	padding: 5px 10px 5px 25px;
	font-weight: bold;
	color: #fff;
	background: #71bdd3;
	border-radius: 7px 7px 0 0;
}
.right_column_box .content {
	padding: 5px 10px;
}
.right_column_box .content > div {
	padding: 5px 0;
	border-bottom: 1px solid #eee;
}
.right_column_box .content > div:last-child {
	border-bottom: none;
}

.glass {
  width: 300px;
  height: 300px;
  position: absolute;
  border-radius: 50%;
  cursor: crosshair;
  
  /* Multiple box shadows to achieve the glass effect */
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.85),
    0 0 7px 7px rgba(0, 0, 0, 0.25), 
    inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
  
  /* hide the glass by default */
  display: none;
}

