/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, * {
	box-sizing: border-box;
}

body {
	background: #000;
	font-family: 'Roboto', 'sans-serif';
}

.app-box {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	min-height: 100vh;
	width: 100%;
	justify-content: center;
	align-items: center;
}

.app-box.loading:before {
	content: " ";
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(252,252,252,.7);
	z-index: 80;
}

.app-box.loading:after {
  content: " ";
  display: block;
  position: absolute;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #464646;
  border-color: #464646 transparent #464646 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
  z-index: 90;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.app-box__in {
	width: 100%;
	max-width: 700px;
	border: 5px solid #FF8D8D;
	background: #fff;
	padding: 47px 35px 104px;
}

.app-box__title h1 {
	text-align: center;
	font-weight: bold;
	line-height: normal;
	font-size: 60px;
	margin-bottom: 13px;
}

.app-box__title h2 {
	text-align: center;
	font-weight: normal;
	line-height: normal;
	font-size: 24px;
	margin-bottom: 83px;
}

.app-box__start-button {
	text-align: center;
}

.app-box__start-button a {
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	font-size: 20px;
}

.button-primary {
	display: inline-block;
	padding: 13px 47px 13px;
	background: #FF8D8D;
	border-radius: 5px;
	color: #000;
	transition: 150ms color ease-in;
	text-decoration: none;
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	font-size: 20px;
}

.button-primary:hover {
	color: #fff;
}

.step-test__title h3 {
	font-style: normal;
	font-weight: normal;
	line-height: 31px;
	font-size: 24px;
	margin-bottom: 23px;
}

.step-test__answers-list {
	margin-bottom: 49px;
}

.step-test__answers-list li {
	font-weight: 500;
	line-height: normal;
	font-size: 24px;
	margin-bottom: 14px;
	color: #FF6B6B;
}

.step-test__attention {
	font-weight: 500;
	line-height: 23px;
	font-size: 18px;
	margin-bottom: 27px;
}

.step-test__questions ul {
	margin-bottom: 45px;
}

.step-test__questions ul li {
	margin-bottom: 18px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
}

.step-test__questions ul li label {
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	font-size: 18px;
}

.step-test__questions ul li input {
	text-align: center;
	border: none;
	border-bottom: 1px solid #ADADAD;
	width: 70px;
	font-style: normal;
	font-weight: normal;
	line-height: 23px;
	font-size: 18px;
	transition: 100ms border-bottom ease-in;
}

.step-test__questions ul li input:focus {
	outline: none;
}

.step-test__questions ul li input.error {
	border-bottom: 1px solid red;
}

.step-test__questions ul li input::-webkit-outer-spin-button,
.step-test__questions ul li input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.step-test__result-button {
	text-align: center;
}

.step-result__title h1 {
	text-align: center;
	font-style: normal;
	font-weight: bold;
	line-height: 31px;
	font-size: 24px;
	margin-bottom: 25px;
}

.step-result__bar {
	margin-bottom: 49px;
    padding: 80px 0 160px;
}

.step-result__description {
	max-width: 488px;
}

.step-result__description p {
	font-style: normal;
	font-weight: normal;
	line-height: 23px;
	font-size: 18px;
	margin-bottom: 23px;
}

.step-result__main-bar {
	position: relative;
	width: 100%;
	height: 8px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fcbab0+0,f21e07+100 */
	background: #fcbab0; /* Old browsers */
	background: -moz-linear-gradient(left, #fcbab0 0%, #f21e07 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #fcbab0 0%,#f21e07 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #fcbab0 0%,#f21e07 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcbab0', endColorstr='#f21e07',GradientType=1 ); /* IE6-9 */
}

.top-bar, .bottom-bar, .average-bar {
	height: 25px;
	left: 0;
	position: absolute;
	border-right: 1px solid #FF8D8D;
}

.top-bar__in, .bottom-bar__in, .average-bar__in {
	position: absolute;
	right: 0;
	text-align: center;
}

.top-bar {
	top: -25px;
}

.top-bar__in {
	transform: translateX(50%) translateY(-100%);
}

.top-bar__value {
	font-style: normal;
	font-weight: bold;
	line-height: normal;
	font-size: 30px;
}

.top-bar__desc {
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	font-size: 16px;
	color: #636363;
}

.bottom-bar, .average-bar {
	bottom: -25px;
}

.bottom-bar__in {
	transform: translateX(50%) translateY(30px);
}

.bottom-bar__value, .average-bar__value {
	font-style: normal;
	font-weight: bold;
	line-height: normal;
	font-size: 18px;
}

.bottom-bar__title, .average-bar__desc {
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	font-size: 16px;
	color: #636363;
}

.average-bar {
	height: 110px;
    bottom: -110px;
}

.average-bar__in {
	transform: translateX(50%) translateY(115px);
}

.step-result__again-button {
	text-align: center;	
}