body {
	margin: 0;
	padding: 0;
	font-family: "arial", sans-serif;
	font-size: 14px;
	background: url('../images/education.jpg');
	color: #000;
}
form {
	max-width: 760px;
	padding: 10px;
	margin: 30px auto;
}

.onetest, .testMenu {
	position: relative;
	box-shadow: 0 0 6px #335dab;
	border-radius: 6px 6px 6px 6px;  
	padding: 15px 20px 25px;
	margin-bottom: 15px;
	background-color: #FFFFFF;
	transition: .3s;
	
}
.onetest img {
	display: block;
	width: 100%;
	max-width: 480px;
	margin: 15px auto;
}
.onetest a {
	color: #000;
	text-decoration:none;
}
.otv {
	left: 150px;
	position: absolute;
	top: 15px;
}
#winotv {
	background-color: #FFFFFF;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 0 0 6px #00C036;
	display: none;
	margin: 0 auto;
	padding: 15px 50px 15px 50px;
	max-width: 435px;
	text-align: center;
}
#rezbutton {
	border-radius: 6px 6px 6px 6px;
	box-shadow: 0 0 6px #335dab;
	height: 65px;
	margin: 0 auto;
	width: 300px;
	display: block;
}
#rezbutton input {
	background-color: #FFFFFF;
	border: medium none;
	border-radius: 6px 6px 6px 6px;
	cursor: pointer;
	height: 100%;
	width: 100%;
	font: 22px 'Arial';
	color: #335dab;
	text-align: center;
}
.svob {
	font-style: italic;
	font-weight: bold;
	font-size: 12px;
}
.aspan:hover {
	color: #335dab;
	text-shadow: 0 0 6px;
	cursor: pointer;
}
#teacher {
	position: fixed;
	box-shadow: 0 0 6px #00C036;
	border-radius: 6px 6px 6px 6px;
	padding: 15px 20px;
	background-color: #FFFFFF;
	width: 1000px;
	margin: 100px -150px;
	z-index: 1;
	top: 0px;
	height: 700px;
}
.otv .imgtrue {
	background: url("../images/true.png") no-repeat;
	height: 59px;
	width: 53px;
}
.otv .imgfalse {
	background: url("../images/false.png") no-repeat;
	height: 52px;
	width: 60px;
}
/*.otv .img_nearly_true {
	background: url("") no-repeat;
	height: 53px;
	width: 321px;
}*/

.testMenu {
	max-width: 700px;
	margin: 30px auto;
}
.testMenu h1, .testMenu h2 {
	text-align: center;
	font-size: 1.3rem;
}
.testMenu h2 { margin: 10px 0 0 0; }
.testMenu ul {
	text-align: center;
	list-style: none;
}
.testMenu ul li {
	display: inline-block;
	font-size: 16px;
	border: 1px solid #335dab;
	border-radius: 5px;
	padding: 5px;
	margin: 5px;
	transition: 0.3s;
}
.testMenu ul li:hover {
	opacity: .7;
	box-shadow: 0 0 5px #6dcff6;
	background: linear-gradient(to bottom right, #f0f8ff, #6dcff6);
}
.testMenu ul li.current { background: linear-gradient(to bottom right, #f0f8ff, #6dcff6); }
.testForm {
	text-align: center;
	padding: 20px 15px 5px;
	width: 210px;
	border-radius: 5px;
	box-shadow: 0 0 5px #d04040;
	margin: 20px auto 0;
}
.testForm input, .testForm textarea {
	vertical-align: top;
	padding: 5px;
	font-size: 14px;
	width: 200px;
	margin-bottom: 15px;
}
.testForm input[type="submit"] {
	border-radius: 5px;
	box-shadow: 0 0 5px #d04040;
	background: transparent;
	border: none;
	width: 150px;
}
.testForm textarea { font-size: 16px; }
.tip {
	overflow: hidden;
	height: 17px;
}
.tip.active { height: 100%; }
.tip span {
	display: block;
	padding-bottom: 5px;
	color: #5b7dbb;
	text-decoration: underline;
	text-align: right;
	cursor: pointer;
}
@media (max-width: 730px) {
	.testMenu { margin: 30px 10px; }
}



/* Показать ответ */
.test-poster {
	position: absolute;
	right: 10px;
	bottom: 5px;
}
.test-poster::before {
	content: 'показать ответ';
	font-size: 0.8rem;
	text-decoration: underline;
}
.test-descr {
	position: absolute;
	top: 0;
	right: 0;
	display: none;
	text-align: left;
	color: #000;
	font-size: 0.9em;
	margin: 0;
	padding: 10px;
	background: rgba(255,255,255,0.95);
	box-shadow: 1px 5px 5px rgba(0,0,0,0.3);
	z-index: 9999;
	width: 266px;
	border: 1px solid #a00;
}
.test-poster:hover .test-descr {
	display: block;
}



.test-wrapper {
	max-width: 757px;
	min-height: 200px;
	padding: 1.5rem .5rem;
	box-sizing: border-box;
	margin: 0 auto;
}
.test-title {
	font-weight: bold;
}
.test-question {
	margin-bottom: 1rem;
}
.onetest p {
	padding: .25rem .5rem;
	border-radius: .5rem;
}
.onetest.true, .onetest p.true {
	background-color: rgba(95, 255, 52, .1);
	box-shadow: 0 0 6px #5dab33;
}
.onetest.false, .onetest p.false {
	background-color: rgba(255, 95, 52, .1);
	box-shadow: 0 0 6px #ab5d33;
}

.answers-count {
	display: none;
	position: fixed;
	left: 0;
	bottom: 0;
	text-align: center;
	padding: 1rem 1rem 1rem .5rem;
	background-color: #fff;
	border-radius: 0 .5rem 0 0;
	box-shadow: 0 0 6px #335dab;
}
.answers-count span {
 	vertical-align: middle;
}
.answers-count p {
	margin: 0;
}
.answers-count.active {
	display: block;
}
.answers-count.true {
	background-color: rgba(95, 255, 52, .5);
	box-shadow: 0 0 6px #5dab33;
}
.answers-count.false {
	background-color: rgba(255, 95, 52, .5);
	box-shadow: 0 0 6px #ab5d33;
}

#test-result {
	display: none;
	margin: 1rem auto 0;
}
#test-result.icon-happy, #test-result.icon-sad {
	display: block;
}