
.single-quiz img {
	max-width: 100%;
}

.single-quiz {
	margin: 30px auto;
}

.quiz-type-title {
	font-size: 18px;
	line-height: 25px;
	text-transform: uppercase;
	color: #78A0B4;
	margin: 25px 0;
	text-align: center;
}

.quiz-start-description {
    margin: 25px 0;
    margin-bottom: 40px;
}

.quiz-type-title, 
.quiz-result-item, 
.quiz--image, 
.quiz--title, 
.quiz--description, 
.quiz-answer-result, 
.quiz-answers[data-type="text"], 
.quiz-start-description {
	max-width: 780px; 
	margin-left: auto; 
	margin-right: auto;
}

.quiz--image img {
	max-width: 100%; 
}

.quiz-start {
	text-align: center; 
	display: none; 
}

.quiz {
	margin: 50px 0; 
}

[data-step="game"] .quiz-type-title {
	display: none; 
}

[data-step="game"] .quiz-progress,
[data-step="start"] .quiz-start {
	display: block;
}

.quiz-item {
	margin: 25px 0; 
}

.quiz--title {
    font-weight: bold;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: #00384A;
    margin: 25px auto;
}

/*
[data-result] .quiz--title {
	display: none;
}
*/

.quiz--description {
    color: #4e5152;
    margin: 25px auto;
    text-align: center;
	transition: opacity .5s linear; 
}

.quiz--image {
	text-align: center;
	position: relative;
	margin-bottom: 30px;
	transition: opacity .5s linear; 
}

.quiz--image_caption {
	color: #a7a7a7;
    text-align: left;
    font-size: 14px;
    text-align: center;
}

.quiz[data-step="result"] .quiz-progress, 
.quiz[data-step="result"] .quiz-questions,
.quiz-result-item, 
.quiz-results, 
.quiz-item[data-result] .quiz--image, 
.quiz-item[data-result] .quiz--description {
	display: none;
}

.quiz[data-preset="default"] .quiz-item[data-selected] .quiz-answers, 
.quiz-item[data-selected] .quiz--image, 
.quiz-item[data-selected] .quiz--description {
	opacity: 0; 
}

.quiz[data-step="result"] .quiz-results {
	display: block;
}

.quiz-answers-item {
    border: 1px solid #D5E6EB;
    padding: 25px;
    margin: 10px 0;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.quiz-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #D5E6EB;
    background: #fff;
    position: absolute;
    left: 25px;
    top: 50%;
    margin-top: -10px;
}

.quiz-checkbox::after {
	
}

.quiz-answers {
	transition: opacity .5s linear; 
}

.quiz-answers[data-type="image"] .quiz-checkbox {
    left: 50%;
    margin-left: -10px; 
    top: unset;
    bottom: 45px; 
}

.quiz-answers-item:hover {
	background-color: #f2fcff; 
	cursor: pointer;
}

.quiz-answers[data-type="image"] {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.quiz-answers[data-type="image"] .quiz-answers-item {
	display: inline-flex;
	width: calc(100% / 3 - 10px); 
}

.quiz-answers--image {
	width: 100%; 
}

.quiz-answers--image span {
	display: block;
	text-align: center;
	padding: 0 20px;
}

.quiz-answers--image img {
    width: 100%;
    height: 100%;
}

.quiz-answers--title {
    color: #3B3B3B;
    max-width: calc(100% - 80px);
    margin-left: 40px;
}

.text-border.quiz-progress {
	margin: 30px 0;
	color: #78A0B4;
}

.text-border.quiz-progress::after {
	margin-top: 26px;
}
.text-border.quiz-progress::before {
	margin-bottom: 26px;
}

.quiz-answer-result, 
.quiz-progress,
.quiz-item {
	display: none;
}

.quiz[data-start="1"] .quiz-progress {
	display: block;
}

.quiz[data-progress="polosa"] .quiz-progress {
	background-color: #EEEEE3;
    position: relative;
    height: 26px;
    width: 100%;
}

.quiz[data-progress="polosa"] .quiz-progress-title {
    position: relative;
    z-index: 2;
    line-height: 26px;
}

.quiz[data-progress="polosa"] .quiz-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #DD8126;
    height: 100%;
    z-index: 1;
    transition: width 400ms; 
}



.quiz-answers-item.active {
	background-color: #D5E6EB; 
}

.quiz[data-preset="all"][data-step="game"] .quiz-item, 
.quiz-item.active {
	display: block;
}

.quiz-answers-item.active .quiz-checkbox::before {
	width: 10px;
    height: 10px;
    background-color: #78A0B4;
    border-radius: 50%;
    content: "";
    display: inline-block;
    position: absolute;
    left: 4px;
    top: 4px;
}

.quiz[data-preset="default"] .quiz-item[data-result] .quiz-answers {
	display: none; 
}


.quiz-item[data-result] .quiz-answer-result.active {
	display: block; 
	text-align: center;
}

.quiz-answer-result img {
	display: block;
	margin: 20px auto; 
}
.quiz-result-msg {
	margin: 25px 0;
}
.quiz-result-text {
	font-weight: bold; 
	margin: 25px 0;
}
.quiz-result-success {
	color: #00384A; 
}
.quiz-result-fail {
	color: red; 
}


.quiz-results {
	margin: 50px 0;
}

.quiz-result-item {
	text-align: center;
}

.quiz-result-title {
	margin: 25px 0;
}


.quiz-share-title {
	color: #3B3B3B;
    font-weight: bold;
    margin: 10px 0;
}

.quiz-share-links {

}

.quiz-share-links .link-share {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
}

.quiz-share-links .link-share img {
	display: block;
}

.quiz-share-links .link-share:hover {
    background-color: #e6f1f7;
    border-radius: 3px;
}


@keyframes stepOutEffect {
	from { opacity: 0; }
	to { opacity: 1; }
}
.quiz[data-effect="step_out"] .quiz-item .quiz-answers-item {
	opacity: 0; 
}
.quiz[data-effect="step_out"] .quiz-item.active .quiz-answers-item:nth-of-type(1) {
	animation: stepOutEffect 700ms linear forwards 0s; 
}
.quiz[data-effect="step_out"] .quiz-item.active .quiz-answers-item:nth-of-type(2) {
	animation: stepOutEffect 700ms linear forwards 300ms; 
}
.quiz[data-effect="step_out"] .quiz-item.active .quiz-answers-item:nth-of-type(3) {
	animation: stepOutEffect 700ms linear forwards 600ms; 
}
.quiz[data-effect="step_out"] .quiz-item.active .quiz-answers-item:nth-of-type(4) {
	animation: stepOutEffect 700ms linear forwards 900ms; 
}
.quiz[data-effect="step_out"] .quiz-item.active .quiz-answers-item:nth-of-type(5) {
	animation: stepOutEffect 700ms linear forwards 1200ms; 
}
.quiz[data-effect="step_out"] .quiz-item.active .quiz-answers-item:nth-of-type(6) {
	animation: stepOutEffect 700ms linear forwards 1500ms; 
}



@keyframes riseOutEffect {
	from { transform: scale(0); }
	to { transform: scale(1); }
}
.quiz[data-effect="rise_out"] .quiz-item {
	transform: scale(0);
}
.quiz[data-effect="rise_out"] .quiz-item.active {
	animation: riseOutEffect 300ms ease-in-out forwards 0s; 
}
.quiz[data-effect="rise_out"] .quiz-answers {
	transform: scale(1);
}
.quiz[data-effect="rise_out"] .quiz-item[data-selected] .quiz-answers {
	transform: scale(0);
	transition: all 500ms ease-in-out;
}




.quiz[data-effect="word_out"] .quiz-answers--title span,
.quiz[data-effect="word_out"] .quiz--title span {
	opacity: 0; 
}
.quiz[data-effect="word_out"] .quiz--title span.active {
	opacity: 1;
}


.quiz[data-type="flip"] .quiz-item {
	display: block;
	position: relative;
    -webkit-perspective: 1500;
    -moz-perspective: 1500;
    -ms-perspective: 1500;
    perspective: 1500;
    -ms-transform: perspective(1500px);
    -moz-transform: perspective(1500px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
}

.quiz[data-type="flip"] .quiz-card {
	width: 400px;
	max-width: 100%;
    margin: 0 auto;
    transition: 0.7s;
    transform-style: preserve-3d;
    padding: 10px;
    border: 1px solid #d9e8ed;
    position: relative;
    cursor: pointer;
}

.quiz[data-type="flip"] .quiz--image {
	margin: 0;
}

.quiz[data-type="flip"] .quiz--image img {
	display: block;
	max-width: 100%;
}
.quiz[data-type="flip"] .quiz--image_caption {
	margin-top: 10px;
}

.quiz[data-type="flip"] .quiz--image-one,
.quiz[data-type="flip"] .quiz--image-two {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	background: #fff;
}

.quiz[data-type="flip"] .quiz--image-one {
    
}
.quiz[data-type="flip"] .quiz--image-two {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    z-index: 2;
}

.quiz[data-type="flip"] .quiz--image-two {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
} 


.quiz[data-type="flip"] .quiz-card.active {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}


.ds-result-load {
	text-align: center;
	height: 200px; 
	font-size: 20px;
	color: gray; 
}


@media (max-width: 480px) {
	.quiz[data-type="flip"] .quiz-item {
		width: 100%; 
		padding: 0 20px; 
	}

	.quiz[data-type="flip"] .quiz--image-one, 
	.quiz[data-type="flip"] .quiz--image-two {
		max-width: 100%; 
	}
}