/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.hidden { display: none !important; }

.post-finder-quiz {
	width: 100%;
	min-height: 300px;
	padding: 40px 0;
}

.post-finder-quiz .quiz-slider {
	padding: 10px 30px;
	height: 100%;
	max-height: 430px;
}

@media (max-width: 991.98px) {
	.post-finder-quiz .quiz-slider, .post-finder-quiz #quiz-result {
		padding: 60px 0 0;
	}
}

.post-finder-quiz .quiz-slider > div {
	display: flex;
	align-content: space-between;
	flex-wrap: wrap;
	height: 100%;
}
.post-finder-quiz .quiz-slider > div > * {
	flex: 0 100%;
}

.post-finder-quiz .quiz-description {
	padding-right: 40px;
}

.post-finder-quiz h2, .post-finder-quiz .quiz-description > div {
	margin-bottom: 80px;
}

.post-finder-quiz .question h2 {
	margin-bottom: 20px;
}

.answerInput, .answerSelect {
	margin-bottom: 20px;
}

.answerInput {
	border: 0;
	height: 60px;
	padding: 10px;
	outline: none;
	min-width: 280px;
	border-bottom: 1px solid #000;
	color: #000;
	font-size: 18px;
}
.answerInput:focus {
	border-bottom: 2px solid #0075BF;

}
.answerInput.empty {
	border-bottom: 2px solid red;
}

.post-finder-quiz button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	-webkit-appearance: none;
	border: 0;
	height: 70px;
	width: 70px;
	border-radius: 50%;
	margin-left: 5px;
	background: #0075BF;
	color: #fff;
	vertical-align: middle;
	transition: 0.15s;
	outline: none !important;
}

.post-finder-quiz button:active {
	transform: scale(0.8);
	outline: none;
}

.post-finder-quiz button > svg {
	width: 40px;
	height: auto;
	fill: #fff;
}
.post-finder-quiz .button { display: inline-block; }
.post-finder-quiz .button > svg {
	width: 27px;
	margin-left: 15px;
}

.quiz-post {
	text-align: center;
	margin-bottom: 30px;
}
.quiz-post a:hover { text-decoration: none; }
.quiz-post h3 {
	font-size: 20px;
}
.quiz-post img {
	padding: 0 45px;
	margin-bottom: 15px;
}
.img-fluid {
	max-width: 100%;
	height: auto;
}

.post-finder-quiz .custom-select {
	position: relative;
	display: inline-block;
	max-width: 250px;
	min-width: 180px;
	margin: 0;
	height: 50px;
	padding: 0;
	z-index: 10;
}
.post-finder-quiz .answerSelect {
	border: none;
	outline: none;
	background: transparent;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0;
	margin: 0;
	display: block;
	padding: 10px 15px;
	height: 100%;
	width: 100%;
	font-size: 18px;
}


/* loading ring */
.lds-ring {
	padding: 50px 0;
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 80px;
}
.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 4px solid #f5f5f5;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #e1e1e1 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}
@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
