@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500&display=swap');

@keyframes progressbar {
	100% {
		background-position: 20px 0;
	}
}

@keyframes move-light {
	60% {
		left: 100%
	}
	to {
		left: 130%
	}
}

@keyframes scale {
	0% {
		transform: scale(3);
	}
	20% {
		transform: scale(2);
	}
	40% {
		transform: scale(1.2);
	}
	60% {
		transform: scale(1.1);
	}
	80% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes moveX {
	0% {
		transform: translateX(15%);
		opacity: .1;
	}
	20% {
		transform: translateX(10%);
		opacity: .2;
	}
	40% {
		transform: translateX(5%);
		opacity: .4;
	}
	60% {
		transform: translateX(3%);
		opacity: .6;
	}
	80% {
		transform: translateX(2%);
		opacity: .8;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slide {
	0% {
		transform: translateX(40%);
		opacity: .1;
	}
	20% {
		transform: translateX(30%);
		opacity: .2;
	}
	40% {
		transform: translateX(20%);
		opacity: .4;
	}
	60% {
		transform: translateX(10%);
		opacity: .6;
	}
	80% {
		transform: translateX(5%);
		opacity: .8;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.quiz-main * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.quiz-main {
	display: flex;
	margin: auto;
	font-family: 'Montserrat';
	color: #373737;
	position: relative;
	min-height: 530px;
	border-radius: 7px;
}

.quiz-main > * {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 38px rgba(0, 0, 0, 0.20);
	-webkit-box-shadow: 0 0 38px rgba(0, 0, 0, 0.20);
}

.quiz-question {
    font-size: 25px;
    font-weight: 600;
    padding-bottom: 20px;
    padding-top: 15px;
    line-height: 1.2;
}

.quiz-content {
	width: calc(100% - 260px);
	min-width: 280px;
	padding: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
  margin-top: 20px;
}

.quiz-sidebar {
	width: 240px;
	display: flex;
  overflow: hidden;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding-top: 50px;
	overflow: hidden;
	margin-left: 15px;
  margin-top: 20px;
}

.quiz-manager__name {
	margin-top: 20px;
	font-size: 26px;
}

.quiz-manager__desc {
	margin-top: 3px;
	font-size: 14px;
}

.quiz-facts {
    background: #eee;
    margin: 10px 10px 15px 10px;
    padding: 20px 20px;
    border-radius: 5px;
    overflow-y: auto;
    min-height: 135px;
}

.quiz-facts .quiz-facts__heading {
	font-size: 16px;
	margin-bottom: 7px;
	font-weight: 500;
	display: block;
}

.quiz-facts .quiz-facts__text {
	font-size: 13px;
}

.quiz-answers {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	flex-grow: 3;
}

.quiz-answers__answer {
	display: flex;
	cursor: pointer;
	padding: 17px 15px;
	border: 1px solid #E6E6E6;
	margin-bottom: 12px;
	border-radius: 7px;
	opacity: 0;
	background-color: #fff;
	transition: .3s;
	transition-property: border;
}

.quiz-answers__answer_text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.quiz-answers__answer_desc {
	font-size: 14px;
}

.quiz-answers__answer.q-selected {
	border: 1px solid #99b927;
}

.quiz-answers__answer .quiz-answers__answer_marker {
	color: #E6E6E6;
	font-size: 24px;
	display: block;
	padding-right: 10px;
}

.quiz-answers__answer.q-selected .quiz-answers__answer_marker {
	color: #99b927;
}

.quiz-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px;
	border-top: 1px solid #E6E6E6;
	background-color: #fff;
	border-radius: 0 0 7px 7px;
}

.quiz-button {
	display: block;
	margin: 0 auto;
	background-color: #99b927;
	padding: 15px 25px;
	border-radius: 7px;
	font-size: 16px;
	font-weight: normal;
	color: #fff;
	border: none;
	outline: none;
	cursor: pointer;
	font-weight: 300;
}

.quiz-button:hover {
	background-color: #849F22;
}

.quiz-button[disabled] {
	opacity: .7;
	cursor: not-allowed;
}

.quiz-button__next {
	overflow: hidden;
	position: relative;
}

.quiz-button__next:after {
	content: "";
	position: absolute;
	top: 0;
	left: -65%;
	width: 25px;
	height: 100%;
	background: linear-gradient(90deg, hsla(0, 0%, 100%, .1), hsla(0, 0%, 100%, .4) 100%);
	transform: skewX(-22deg);
	animation: move-light 1s;
}

.quiz-button__next[disabled]:after {
	content: "";
	height: 0;
	width: 0;
	animation: none;
}

.quiz-manager__avatar {
	height: 150px;
	width: 150px;
	margin: 0 auto;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: 0;
	position: relative;
  border-radius: 5px;
}

.quiz-discount {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-align: center;
	background-color: #99b927;
	color: #fff;
	border-radius: 0 0 7px 7px;
	padding: 15px 0;
}

.quiz-discount > span {
	display: block;
	font-weight: bold;
	font-size: 14px;
}

.quiz-discount .quiz-discount__main {
	font-size: 22px;
}

.quiz-progressbar {
	background-color: #F6F6F6;
	height: 30px;
	border-radius: 7px;
	width: 100%;
	padding: 5px;
	position: relative;
}

.quiz-progressbar__line {
	background-color: #99b927;
	border-radius: 7px;
	height: 100%;
	width: 0%;
	background: linear-gradient( 45deg, #98CD27 25%, #B2E367 0, #B2E367 50%, #98CD27 0, #98CD27 75%, #B2E367 0);
	background-size: 20px 20px;
	animation: progressbar 1s linear infinite;
}

.quiz-progressbar__text {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	display: flex;
	text-align: center;
}

.quiz-progressbar__text > span {
	margin: auto;
	font-size: 12px;
	font-weight: 500;
}

.quiz-finish .quiz-progressbar__line {
	width: 95%;
}

.quiz-input__answer input {
	font-size: 16px;
	padding: 15px 15px;
	width: 100%;
	background-color: #EDEDED;
	border-radius: 4px;
	border: 1px solid #CCCCCC;
	outline: none !important;
	margin-bottom: 10px;
	opacity: 0;
}

.quiz-finish {
	width: 100%;
	min-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: #fff;
	padding: 15px;
	z-index: 900;
}

.quiz-finish h2 {
	text-align: center;
	font-weight: 400;
	font-size: 22px;
	margin-top: 10px;
}

.quiz-finish .quiz-finish__motivation {
	font-size: 14px;
	text-align: center;
	margin-bottom: 5px;
}

.quiz-finish input {
    font-size: 16px;
    padding: 14px 13px;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #CCCCCC;
    outline: none !important;
    margin-bottom: 20px;
    display: block;
    margin-top: 10px;
}

.quiz-finish__form {
	width: 80%;
	margin: 30px auto 25px auto;
	border: 1px solid #e8e8e8;
	padding: 25px;
	border-radius: 3px;
	box-shadow: 0 9px 40px 0 #e6e6e6;
	-webkit-box-shadow: 0 9px 40px 0 #e6e6e6;
	position: relative;
}

.quiz-finish__form label {
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 600;
	color: rgba(54, 54, 54, 0.7);
}

.finish-button {
	position: relative;
	display: block;
	box-shadow: 0 3px 10px 0 rgba(36, 141, 62, 0.5);
	-webkit-box-shadow: 0 3px 10px 0 rgba(36, 141, 62, 0.5);
	border-radius: 24px;
	overflow: hidden;
	margin-top: 15px;
}

.finish-button:after {
	content: "";
	position: absolute;
	top: 0;
	left: -65%;
	width: 45px;
	height: 100%;
	background: linear-gradient(90deg, hsla(0, 0%, 100%, .1), hsla(0, 0%, 100%, .6) 100%);
	transform: skewX(-22deg);
	animation: move-light 3s infinite;
}

.quiz-finish__icon svg {
	background-color: transparent;
	fill: #fff;
	stroke-width: 0;
	stroke: #fff;
	pointer-events: none;
	width: 16px;
	height: 16px;
}

.quiz-finish__icon {
	margin-left: calc(-.375em - 1px);
	margin-right: 4px;
	vertical-align: middle;
}

.finish-discount {
	position: absolute;
	top: -10px;
	right: 33px;
	display: flex;
	align-items: center;
	white-space: nowrap;
	animation: scale .5s linear;
}

.finish-discount > * {
	font-style: normal;
	font-stretch: normal;
	line-height: 12px;
	height: 20px;
	letter-spacing: normal;
	text-align: left;
	color: #222;
	border: 1px solid #f7cd47;
	font-size: 11px;
}

.finish-discount__title {
	font-weight: 500;
	border-radius: 4px;
	background-color: #faf1d6;
	padding: 4px 15px 4px 5px;
	max-width: 200px;
	white-space: nowrap;
	overflow: hidden;
	word-break: break-word;
	text-overflow: ellipsis;
}

.finish-discount__value {
	position: relative;
	margin-left: -10px;
	vertical-align: middle;
	font-size: 12px;
	font-weight: 700;
	background-color: #f7cd47;
	padding: 1px 12px 0 8px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 0 4px 4px 0;
	z-index: 2;
	font-weight: 500;
}

.finish-discount__value:before {
	content: "";
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #fff;
	border: 1px solid #c39c23;
	z-index: 2;
	right: 0;
}

.finish-discount__value:after {
	content: "";
	position: absolute;
	background-color: #f7cd47;
	width: 16px;
	height: 16px;
	right: -6px;
	border-radius: 4px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	z-index: -1;
	top: 1px;
}

.quiz-discount__mobile {
	display: none;
}

.quiz-facts__arrow {
	display: none;
}
@media (max-width: 1199px) {
	.quiz-main {
      min-height: 700px;
  }
}
@media (max-width: 800px) {
	.quiz-main {
      display: flex;
      flex-direction: column-reverse;
      min-height: 770px;
      height: 770px !important;
  }
	.quiz-main > * {
		width: 100% !important;
		box-shadow: none;
	}
	.quiz-sidebar {
		height: auto;
		margin-left: 0;
		display: block;
		text-align: left;
		position: relative;
		min-height: 150px;
		overflow: visible;
		position: absolute;
		top: 0;
		/* left: 0; */
		z-index: 900;
		/* padding: 10px; */
    padding-top: 0;

	}
	.quiz-content {
		width: 100%;
		padding: 20px;
		position: relative;
		display: flex;
		flex-direction: column;
		height: calc(100% - 150px);
		padding: 0px 20px 20px 20px;
		z-index: 99;
    padding-top: 20px;
	}
	.quiz-manager__avatar {
		width: 40px;
		height: 40px;
		margin: 0;
		border-radius: 50%;
	}
	.quiz-manager {
		display: flex;
		align-items: center;
		padding: 10px;
	}
	.quiz-manager__name {
		font-size: 18px;
	}
	.quiz-button__next {
		margin: 0;
	}
	.quiz-discount {
		display: none;
	}
	.quiz-manager__info {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin-left: 7px;
		position: relative;
	}
	.quiz-manager__info > * {
		display: inline-block;
		margin: 0;
	}
	.quiz-controls {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.quiz-discount__mobile {
		display: flex;
		flex-direction: column;
		background-color: #fff0c4;
		border-radius: 7px;
		padding: 5px 20px 5px 10px;
		min-width: 100px;
	}
	.quiz-discount__mobile > span {
		display: inline-block;
	}
	.quiz-discount__mobile_title {
		font-weight: 400;
		font-size: 12px;
	}
	.quiz-discount__mobile_main {
		font-weight: 500;
		font-size: 14px;
	}
	.quiz-manager__avatar:after {
		content: "";
		background: #1bb157;
		position: absolute;
		height: 6px;
		width: 6px;
		border: 1px solid #fff;
		border-radius: 50%;
		bottom: 2px;
		right: 2px;
	}
	.quiz-facts {
		/*max-height: calc(3.3em);*/
		margin: 0px 10px 15px 10px;
		height: auto;
		position: relative;
		max-height: 52px;
    text-align: center;
    padding: 11px 20px 5px 20px;
    margin-top: 3px;
    min-height: 62px;
	}
	.quiz-facts > * {
		display: inline;
	}
	.quiz-facts .quiz-facts__heading {
		font-size: 13px;
		display: inline;
	}
	.quiz-facts .quiz-facts__heading:after {
		content: ":";
	}
	.quiz-facts .quiz-facts__text {
		font-size: 13px;
	}
	.quiz-facts__arrow {
		margin-right: 5px;
		margin-left: 5px;
		margin-bottom: 6px;
		position: absolute;
		top: 50%;
		margin-top: -3.5px;
		right: 15px;
		width: 15px;
		-webkit-transition: all .3s ease;
		transition: all .3s ease;
		-webkit-animation-name: arrow-pulse;
		animation-name: arrow-pulse;
		-webkit-animation-duration: 1s;
		animation-duration: 1s;
		-webkit-animation-iteration-count: infinite;
		animation-iteration-count: infinite;
		cursor: pointer;
		z-index: 20;
		opacity: .7;
		display: none;
	}
	.assistant-mobile__arrow path {
		fill: #363636;
	}
	.quiz-finish__form {
		width: 100%;
		margin: 30px auto 25px auto;
	}
}