/* ------------------------------------------------
   The Whisky Exchange
   Designed and Built by The Whisky Exchange
   All Rights Reserved

   Quiz CSS file 

   Content:
   Layout
   Text Header
   Image Header
   Quiz Item
   Intro
   Question
   Answer
   Action
   Complete
   Products
   Share
   Animations
   ------------------------------------------------ */

/* ------------------------------------------------
   Layout
   ------------------------------------------------ */
.quiz {
	overflow: hidden;
}
.quiz__container {
	padding: 20px 10px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
@media (min-width: 768px) {
	.quiz__container {
		padding: 100px 10px;
	}
}

/* ------------------------------------------------
   Text Header
   ------------------------------------------------ */

/* Container */
.quiz-text-header {
	position: relative;
	padding: 20px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	font-size: 0.8em;
	text-align: center;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	-moz-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	color: #046c84;
	z-index: 2;
}
@media (min-width: 768px) {
	.quiz-text-header {
		padding: 40px 20px;
	}
}
@media (min-width: 960px) {
	.quiz-text-header {
		padding: 60px 20px;
		font-size: 1em;
	}
}

/* Content */
.quiz-text-header__content {
	display: inline-block;
	max-width: 960px;
	margin: 0 auto;
	padding: 10px;
	background: #fff;
}
.quiz-text-header__content-inner {
	border: 1px solid #046C84;
	padding: 20px 10px;
}
@media (min-width: 960px) {
	.quiz-text-header__content-inner {
		padding: 20px 20px;
	}
}
.quiz-text-header__logo {
	display: block;
	width: 70%;
	max-width: 225px;
	margin: 0 auto 20px;
}
@media (min-width: 960px) {
	.quiz-text-header__logo {
		margin: 0 auto 20px;
	}	
}
.quiz-text-header__title {
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 2.8em;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.quiz-text-header__strap {
	display: none;
}
@media (min-width: 768px) {
	.quiz-text-header__strap {
		display: block;
		font-size: 1.8em;
		letter-spacing: 0.1em;
	}
}

/* ------------------------------------------------
   Image Header
   ------------------------------------------------ */
.quiz-image-header {
	position: relative;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	-moz-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	z-index: 2;
}
.quiz-image-header__title {
	margin: 0;
	padding: 0;
}
.quiz-image-header__image {
	display: block;
	width: 100%;
	height: auto;
}
.quiz-image-header__image--small {
	display: block;
}
@media (min-width: 660px) {
	.quiz-image-header__image--small {
		display: none;
	}	
}
.quiz-image-header__image--large {
	display: none;
}
@media (min-width: 660px) {
	.quiz-image-header__image--large {
		display: block;
	}	
}

/* ------------------------------------------------
   Quiz item
   ------------------------------------------------ */

.quiz-item {
	position: relative;
	display: none;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	overflow: hidden;
	background: #eee;
	font-size: 0.8em;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	-moz-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
}
@media (min-width: 960px) {
	.quiz-item {
		font-size: 1em;
	}
}
@media (min-width: 768px) {
	.quiz-item__content {
		margin-left: 33.333333%;
	}
}
@media (min-width: 960px) {
	.quiz-item__content {
		margin-left: 40%;
	}	
}
.quiz-item__header {
	padding: 10px 20px;
	background-color: #d1d0ce;
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 1.6em;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #046c84;
}
@media (min-width: 768px) {
	.quiz-item__header {
		-webkit-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
		-moz-box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
		box-shadow: 3px 3px 10px 0px rgba(102,102,102,1);
	}
}
@media (min-width: 960px) {
	.quiz-item__header {
		padding: 20px;
	}
}
.quiz-item__image {
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
@media (min-width: 768px) {
	.quiz-item__image {
		position: absolute;
		top: 0;
		left: 0;
		width: 33.333333%;
		height: 100%;
	}
}
@media (min-width: 960px) {
	.quiz-item__image {
		width: 40%;
	}
}
.quiz-item__image::after {
	display: block;
	content: "";
	width: 100%;
	padding-bottom: 50%;
}
@media (min-width: 768px) {
	.quiz-item__image::after {
		display: none;
	}
}
/* ------------------------------------------------
   Intro
   ------------------------------------------------ */
.quiz-intro {
	display: block;
}
.quiz-intro__copy {
	padding: 20px 20px 0;
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 2em;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #046c84;
}
.quiz-intro__message {
	padding: 20px;
	font-family: 'Droid Serif',times,serif;
	font-size: 1.2em;
	font-style: italic;
	line-height: 1.2;
	color: #046c84;
}
/* ------------------------------------------------
   Question
   ------------------------------------------------ */

/* Copy */
.quiz-question__copy {
	padding: 20px;
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 2em;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #046c84;
}

/* ------------------------------------------------
   Answer
   ------------------------------------------------ */

/* Container */
.quiz-answer {
	position: relative;
	margin-bottom: 5px;
	padding: 0 20px;
}

/* Input */
.quiz-answer__input {
	display: none;
}

/* label */
.quiz-answer__label {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	right: 20px;
	width: 100%;
	cursor: pointer;
	font-size: 0;
	z-index: 4;
}

/* Button */
.quiz-answer__content {
	display: block;
	position: relative;
	min-height: 50px;
	padding: 0 10px 0 50px;
	overflow: hidden;
	background: #8aacb5;
	border: none;
	color: #fff;
	cursor: pointer;
	text-align: left;
}
.quiz-answer__content::before {
	display: block;
	position: absolute;
	content: "";
	top: 0;
	left: -50%;
	width: 50%;
	height: 100%;
	background: rgba(2,75,92,1);
	background: -moz-linear-gradient(left, rgba(2,75,92,1) 0%, rgba(2,75,92,0) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(2,75,92,1)), color-stop(100%, rgba(2,75,92,0)));
	background: -webkit-linear-gradient(left, rgba(2,75,92,1) 0%, rgba(2,75,92,0) 100%);
	background: -o-linear-gradient(left, rgba(2,75,92,1) 0%, rgba(2,75,92,0) 100%);
	background: -ms-linear-gradient(left, rgba(2,75,92,1) 0%, rgba(2,75,92,0) 100%);
	background: linear-gradient(to right, rgba(2,75,92,1) 0%, rgba(2,75,92,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#024c5c', endColorstr='#024c5c', GradientType=1 );
	z-index: 1;
}
@media (min-width: 960px) {
	.quiz-answer__content::before {
		transition: left 0.5s ease;	
	}
}
@media (min-width: 960px) {
	.quiz-answer:hover .quiz-answer__content::before {
		left: 0%;
	}
}
.quiz-answer__input:checked + .quiz-answer__content::before {
	left: 0%;
}
.quiz-answer__content::after {
	display: block;
	position: absolute;
	content: "";
	top: 50%;
	left: 10px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	background: #8aacb5;
	border: 8px solid #8AACB5;
	border-radius: 50%;
	font-family: FontAwesome;
	text-align: center;
	line-height: 30px;
	font-size: 15px;
	z-index: 2;
	transition: all 0.2s ease;
}
.quiz-answer__input:checked + .quiz-answer__content::after {
	background: #024c5c;
}
.quiz-answer__text {
	position: relative;
	display: table;
	table-layout: fixed;
	width: 100%;
	height: 50px;
	font-family: 'Droid Serif', times, serif;
	font-style: italic;
	font-size: 1em;
	line-height: 1.5;
	z-index: 2;
}
.quiz-answer__text-inner {
	display: table-cell;
	vertical-align: middle;
	padding: 10px 0;
}

/* ------------------------------------------------
   Actions
   ------------------------------------------------ */

/* Container */
.quiz-action {
	padding: 15px 20px 20px;
	zoom: 1
}
.quiz-action::after {
	content: "";
	display: table;
	clear: both;
}
.quiz-action::before {
	content: "";
	display: table;
}
/* Buttons */
.quiz-action__button {
	display: block;
	padding: 10px 20px;
	background: #046c84;
	border: 0;
	font-size: 0.8em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
}
.quiz-action__button--next {
	float: right;
}
.quiz-action__button--prev {
	float: left;
}

/* ------------------------------------------------
   Complete
   ------------------------------------------------ */
.quiz-complete__container {
	position: relative;
}
.quiz-complete__placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #eee;
	z-index: 10;
}
.quiz-complete__spinner {
	position: absolute;
	top: 10%;
	left: 50%;
	margin: -40px 0 0 -40px;
	width: 80px;
	height: 80px;
	font-size: 80px;
	line-height: 80px;
	color: #046c84;
}
@media (min-width: 768px) {
	.quiz-complete__spinner {
		top: 50%;
	}
}
.quiz-complete__error {
	display: none;
}
.quiz-complete__title {
	padding: 20px 20px 0;
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 2em;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #046c84;
}
.quiz-complete__number {
	color: #8aacb5;
}
.quiz-complete__message {
	padding: 20px;
	font-family: 'Droid Serif',times,serif;
	font-size: 1.2em;
	font-style: italic;
	line-height: 1.2;
	color: #046c84;
}

/* ------------------------------------------------
   Products
   ------------------------------------------------ */
.quiz-products {
	padding: 20px 0 10px;
}
.quiz-products__title {
	padding: 0 20px;
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #046c84;
}
.quiz-products__list {
	padding: 0 10px;
	font-size: 0;
}
.quiz-products__item {
	display: inline-block;
	width: 50%;
	padding: 10px;
	vertical-align: top;
	font-size: 16px;
}
@media (min-width: 660px) {
	.quiz-products__item {
		width: 33.333333%;
	}
}
.quiz-products__product {
	font-size: 0.8em;
	text-align: center;
	color: #046c84;
}
.quiz-products__image {
	margin-bottom: 10px;	
}
.quiz-products__name {
	font-weight: 700;
}
.quiz-products__meta {
	
}
.quiz-products__price {
	
}
.quiz-products__ppl {
	
}

/* ------------------------------------------------
   Share
   ------------------------------------------------ */
.quiz-share {
	padding: 20px 0 10px;
}
.quiz-share__title {
	padding: 0 20px;
	font-family: 'Oswald','Lato',arial,sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #046c84;
}
.quiz-share__list {
	padding: 0 10px;
	*zoom: 1;
}
.quiz-share__list::before,
.quiz-share__list::after {
    content: " ";
    display: table;
}
.quiz-share__list::after {
    clear: both;
}
.quiz-share__item {
	width: 100%;
	padding: 10px;
}
@media (min-width: 450px) {
	.quiz-share__item {
		float: left;
		width: 33.333333%;
	}
}
.quiz-share__link {
	display: block;
	padding: 15px 10px;
	border-radius: 4px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
}
.quiz-share__link--facebook {
	background: #3b5999;
}
.quiz-share__link--facebook:hover {
	background: #35508a;
}
.quiz-share__link--twitter {
	background: #1da1f2;
}
.quiz-share__link--twitter:hover {
	background: #1a90da;
}
.quiz-share__link--email {
	background: #aaaaaa;
}
.quiz-share__link--email:hover {
	background: #999999;
}
/* ------------------------------------------------
   Animations
   ------------------------------------------------ */

/* Base animated class */
.quiz__animated {
	-webkit-animation-duration: 0.6s;
	animation-duration: 0.6s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

/* Fade Out */
@-webkit-keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
.quiz__animated--fadeOut {
	-webkit-animation-name: fadeOut;
	animation-name: fadeOut;
}

/* Fade out right */
@-webkit-keyframes fadeOutRight {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
}
@keyframes fadeOutRight {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
}
.quiz__animated--fadeOutRight {
	-webkit-animation-name: fadeOutRight;
	animation-name: fadeOutRight;
}

/* Fade out left*/
@-webkit-keyframes fadeOutLeft {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}
@keyframes fadeOutLeft {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}
.quiz__animated--fadeOutLeft {
	-webkit-animation-name: fadeOutLeft;
	animation-name: fadeOutLeft;
}

/* Fade in left */
@-webkit-keyframes fadeInLeft {
	from {
		opacity: 0;
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}
@keyframes fadeInLeft {
	from {
		opacity: 0;
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}
.quiz__animated--fadeInLeft {
	-webkit-animation-name: fadeInLeft;
	animation-name: fadeInLeft;
}

/* Fade in right */
@-webkit-keyframes fadeInRight {
	from {
		opacity: 0;
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}
@keyframes fadeInRight {
	from {
		opacity: 0;
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}
.quiz__animated--fadeInRight {
	-webkit-animation-name: fadeInRight;
	animation-name: fadeInRight;
}