@font-face {
    font-family: 'ElegantIcons';
    src: url('../fonts/ElegantIcons.eot');
    src: url('../fonts/ElegantIcons.eot') format('embedded-opentype'), url('../fonts/ElegantIcons.ttf') format('truetype'), url('../fonts/ElegantIcons.woff') format('woff'), url('../fonts/ElegantIcons.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

#quiz {
    width: 1040px;
    height: 596px;
    font-size: 14px;
    position: relative;
    margin: 80px auto 60px auto;
}

#quiz .question_wrapper {
    display: none;
    animation-duration: 200ms;
}

#screen-2 {
    border: 1px solid #ddd;
}
#screen-2 .radio {
    padding: 1.2em 2em;
    margin: 0;
}

#screen-2 .radio>img {
    position: absolute;
    height: 1.9em;
}

#screen-2 .radio>span {
    font-size: 42px;
    margin-top: -8px;
    right: 0;
    position: absolute;
    margin-right: 0.5em;
}

#screen-2 .radio>label {
    margin-left: 2em;
    font-size: 18px;
    max-width: 380px;
}

#screen-2 .icon_check {
    color: #00a14d;
}

#screen-2 .icon_close {
    color: #e14242;
}

#screen-2 .radio input[type="radio"] {
    left: 0;
    top: 0;
    margin: 0;
    z-index: 1;
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin-left: 1px;
    cursor: pointer;
}

#screen-2 .radio.right {
    background-color: #b0ffd6;
}

#screen-2 .radio.wrong {
    background-color: #feadba;
}

#quiz #btn-start {
    text-transform: uppercase;
    border-width: 2px;
}

#quiz .btn-white {
	background: #ffffff;
	color: #15171c;
	text-align: center;
	height: 40px;
	padding: 10px;
	border-radius: 3px;
}

#quiz .btn-white:hover{
	color: #3c3c3c;
	background: #e0e0e1;
}

#btn-next:not(.active) {
    display: none;
}

#quiz #btn-next {
    z-index: 2;
    position: absolute;
    bottom: 0;
    margin-bottom: 20px;
    margin-right: 20px;
    right: 0;
    text-transform: uppercase;
}

#quiz .btn-base:hover,
#quiz .btn-base:active,
#quiz .btn-base:visited,
#quiz .btn-base:focus {
    text-decoration: none;
}

#quiz .screen {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    animation-duration: 200ms;
}

#quiz .screen.active {
    z-index: 1;
}

#quiz .btn-ouline {
    color: #fff;
    border-color: #fff;
    cursor: pointer;
}

#quiz .btn-ouline:hover {
    color: #484848;
}

#quiz #btn-restart {
    margin-top: 2em;
    border-radius: 0;
    color: #00a14d;
    border-color: #00a14d;
}

#quiz #btn-restart:hover {
    color: #fff;
    background-color: #00a14d;
}

#screen-1 {
    position: relative;
    background-image: url('../img/slider1.jpg');
    box-shadow: inset 0 0 0 500px rgba(0, 161, 77, 0.5);
    text-align: center;
    vertical-align: middle;
}


/* #screen-1 .inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
} */

#screen-1 .inner img {
    padding: 10px;
    height: 80px;
}

#screen-1 .inner>div:not(:last-child) {
    margin-bottom: 50px;
}

#screen-1 .text-box {
    color: #fff;
    display: inline-block;
    padding: 0.5em 3em;
    font-weight: bolder;
    font-size: 54px;
}

#screen-2 .question-progress {
    margin-top: 4em;
    text-align: center;
}

#screen-2 .step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 1em 0.8em;
    display: inline-block;
    color: #fff;
    font-size: 18px;
}

#screen-2 .step.pass {
    background-color: #00a14d;
    width: 30px;
    height: 30px;
    margin: 5px;
    line-height: 30px;
    vertical-align: top;
    font-weight: 700;
    font-family: 'Arial';
    transition: all 200ms;
}

#screen-2 .question_wrapper .question {
    padding: 0.5em 2em;
    color: #00a14d;
    font-size: 32px;
    text-align: center;
}

#screen-2 .radio .check {
    background-image: url('../img/checked.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 1em;
    height: 1em;
    left: 0;
    position: absolute;
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

#screen-2 .inner-left,
#screen-2 .inner-right {
    padding: 0;
}

#screen-2 .inner-right {
    color: #fff;
    z-index: -1;
    height: 100%;
    text-align: center;
    font-size: 18px;
    background-image: url('../img/bg-question.png');
    box-shadow: inset 0 0 0 500px rgba(0,0,0,.2);
    transition: background-image 200ms;
    background-size: 100% 100%;
}

#screen-2 .inner-right .explain-wrapper {
    padding: 0em 2em;
    animation-duration: 100ms;
}


#screen-2 .inner-right .explain-wrapper > div > div:not(.fadeIn) { 
    opacity: 0;
}
#screen-2 .inner-right .explain-wrapper .bubble {
    color: #121212;
    background-image: url('../img/bubble.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#screen-2 .inner-right .explain-wrapper .emoticon {
    margin-top: -10%;
    padding-bottom: 10px;
    height: 100px;
    width: 100px;
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
}
#screen-2 .inner-right .explain-wrapper .bubble > div:nth-child(2) {
    font-size: 46px;
    margin-top: -20px;
    margin-bottom: 60px;
}

#screen-2 .inner-right .bubble span {
    font-size: 130px;
}

#screen-2 .inner-right > div > div:not(:last-child){
    margin-bottom: 20px;
}

#screen-2 .inner-right .explain {
    word-break: break-word;
    line-height: 1.2;
}
@keyframes color_change {
	from { color: #6AB4E9; }
	to { color: #008aff; }
}
#screen-2 .inner-right .explain a {
    animation: color_change 300ms infinite alternate;
}
#screen-2 .inner-right .explain a:hover {
    color: #0076da;
}


#screen-3 {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
    box-shadow: inset 0 0 0 500px rgba(0, 161, 77, 0.5);
}

#screen-3 .popup {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 700px;
    height: 400px;
    margin: auto;
    background-color: #fff;
    animation-duration: 300ms;
}

#screen-3 .popup-inner>div {
    font-size: 54px;
    color: #00a14d;
}

#screen-3:not(.active) {
    opacity: 0;
}

#quiz .question_wrapper:not(.visible) {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#quiz .question_wrapper.visible {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#quiz .vertical-middle {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

#quiz .active,
#quiz .visible {
    opacity: 1;
    display: block;
}