@font-face {
	font-family: 'Corbel-Bold';
	src: url('fonts/Corbel-Bold.eot');
	src: url('fonts/Corbel-Bold.eot?#iefix') format('embedded-opentype'),
		url('fonts/Corbel-Bold.woff') format('woff'),
		url('fonts/Corbel-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Corbel-BoldItalic';
	src: url('fonts/Corbel-BoldItalic.eot');
	src: url('fonts/Corbel-BoldItalic.eot?#iefix') format('embedded-opentype'),
		url('fonts/Corbel-BoldItalic.woff') format('woff'),
		url('fonts/Corbel-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}


body {
	background:#808285;
	font-family: Corbel-Bold;
}
header {
	position:relative;;
	z-index:2;
}
.wrapper {
	width:100%;
	max-width: none;
}
header.main .absolute__header .logo {
	left:50%;

}
#test,
#test h1,
#test h2 {
	color:#fff;
}
#test {
	min-height:400px;
	max-width:560px;
	margin:0 auto;
}
#test h1 {
	font-size: 44px;
	font-family: Corbel-BoldItalic;
}
#test h2 {
	font-size:30px;
	line-height:36px;
	margin-bottom:20px;
	font-family: Corbel-BoldItalic;
}
#test p.intro {
	font-size:18px;
	line-height:24px;
	margin-bottom:30px;
	font-family: Corbel-Bold;
}
#submit-btn {
	border:0;
	outline:0;
	background:#f36d22;
	color:#fff;
	padding:15px 25px;
	font-size:18px;
	font-family: Corbel-Bold;
}
#loading {
	font-size:18px;
	font-family: Corbel-Bold;
}

#loading span {
	display: inline-block;
	line-height:40px;
	padding-left:42px;
	background:url(images/test-loading.gif) left center no-repeat;

}
.question {
	position:relative;
	border-top:10px solid #f36d22;
	padding:20px 0 0 90px;
	margin:20px 0 20px;
	min-height:120px;
}

.question:last-child {
	border-top:0;
	min-height:0;
	padding:0;
}

.question .number {
	position:absolute;
	top:20px;
	left:-20px;
	width: 90px;
	height: 90px;
	background: url(images/q-number.png) no-repeat;
	text-align: center;
	color:#fff;
	font-family: Corbel-BoldItalic;
	font-size: 56px;
	line-height:86px;
}

.question.checked-q .number {
	background: url(images/q-number-gray.png) no-repeat;
}

.hidden {
    display: none!important;
}
.cbx {
	position: relative;
	font-size: 14px;
	line-height: 14px;
	cursor: pointer;
	user-select: none;
	padding-left:30px;
	display:inline-block;
	margin-bottom:25px;
	font-size: 18px;
	padding-top:0;
	text-align:left;
	line-height: 24px;
}
.cbx:before {
	content: '';
	position: absolute;
	top:0;
	left:0;
	margin-right: 4px;
	width: 24px;
	height: 24px;
	border: 3px solid #fff;
	background: none;
	border-radius: 12px;
	transition: all 0.2s ease;
}
.cbx:after {
	content: '';
	position: absolute;
	top: 6px;
	left: 6px;
	width: 12px;
	height: 12px;
	background:#f36d22;
	display: none;
	border-radius: 6px;
}
.cbx:hover:before {

}
.cbx-inp:checked +.cbx:before {
	background: #f36d22;
	border-color: #f36d22;
}
.cbx-inp:checked +.cbx:after {
	display:block;
}
.cbx-inp:checked +.cbx:hover:before {
	background: #f36d22;
}

.result p {
	font-family: Corbel-Bold;
}

.result a {
	color:#fff;
	text-decoration:underline;
}

.result .result-splash {
	width:210px;
	height:210px;
	background: url(images/result-splash.png) no-repeat;
	display:block;
	margin:0 auto;
	font-size:65px;
	font-family: Corbel-BoldItalic;
	text-align: center;
	margin-bottom:40px;
}

.result .result-splash .text {
	display:block;
	font-size:24px;
	padding-top:70px;
	padding-bottom: 20px;
}

#page-content {
	padding:100px 0 40px;
}

@media screen and (min-width: 768px) {
	.cbx-inp:checked +.cbx:hover:before {
		animation: cbx-bg 0.3s ease forwards;
		animation-delay: 2s;
	}
}
@media screen and (min-width: 768px) {
	.cbx-inp:checked +.cbx:hover:after {
		animation: shake 0.35s ease;
		animation-delay: 2s;
		animation-iteration-count: infinite;
	}
}
@media only screen and (max-width : 768px) {

	#page-content {
		padding:60px 0 40px;
	}

	#test {
		padding:0 15px;
	}

	#test h1 {
		font-size:24px;
	}

	#test p.intro {
		font-size:16px;
	}

	#test h2 {
		font-size:18px;
		line-height:20px;
	}

	.cbx {
		font-size:16px;
	}

	.question {
		padding-left: 60px;
		min-height: 80px;
	}

	.question .number {
		position:absolute;
		top:20px;
		left:0px;
		width: 45px;
		height: 45px;
		background: url(images/q-number.png) no-repeat;
		background-size: 45px;
		font-size: 24px;
		line-height:45px;
		letter-spacing: -1.5px;
	}

	.question.checked-q .number {
		background: url(images/q-number-gray.png) no-repeat;
		background-size: 45px;
	}

}

@media only screen and (max-width : 990px) {

	#page-content {
		padding:60px 0 40px;
	}
}
