/*
Theme Name: Blos quiz theme
Theme URI: https://dupontwebdesign.com/
Author: Dupont Webdesign
Author URI: https://dupontwebdesign.com
Description: Theme for quiz
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: <https://www.gnu.org/licenses/gpl-2.0.html>
Text Domain: quiz-theme
*/
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
    overflow-x: hidden;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 400 !important;
	background-image: url('https://blos-quiz.bijnaklaar.be/wp-content/uploads/2022/09/IMG_0359_2.jpg');
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 100vh;
}

h4 {
    font-size: 24px;
    color: #111111;
	margin: 8px 0;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 600 !important;
}

#header, h3, hr, #footer, .post-edit-link {
    display: none;
}

.cf7mls-btns {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
	width: 100%;
	transition: all 0.5s ease;
}

.cf7mls-btns button, .cf7mls_back.action-button {
    color: #111111 !important;
	background-color: transparent !important;
	padding: 0 !important;
    display: block;
    float: none !important;
    min-width: inherit !important;
    margin: 0 32px 0 0 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	transition: all 0.25s ease;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 400 !important;
}

.cf7mls-btns .cf7mls_next.action-button {
	margin-right: 16px !important;
}

.cf7mls_next.action-button img {
	width: 0 !important;
	margin-left: 0 !important;
}

.cf7mls-btns button:hover {
	opacity: 0.8;
	transition: all 0.25s ease;
}

.fieldset-cf7mls-wrapper .cf7mls_back_fs, .fieldset-cf7mls-wrapper .cf7mls_current_fs ~ .fieldset-cf7mls {
	top: 15vh !important;
}

.wpcf7-list-item label {
	display: flex;
}

.wpcf7-list-item-label {
	transition: all 0.25s ease;
}

.wpcf7-not-valid-tip {
	margin-top: 8px;
}

.wpcf7-list-item-label:hover {
	opacity: 0.8;
	transition: all 0.25s ease;
}

.fieldset-cf7mls-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
	padding: 15vh 0;
    max-width: 600px;
    margin: 0 auto;
}

.fieldset-cf7mls-wrapper .fieldset-cf7mls .step + p, .fieldset-cf7mls-wrapper .fieldset-cf7mls .cf7mls-btns + p {
	display: none;
}

.fieldset-cf7mls-wrapper .fieldset-cf7mls {
	position: relative;
	transition: all 1s !important;
	background-color: #fff !important;
	padding: 32px !important;
}

.fieldset-cf7mls-wrapper p.counter {
	position: absolute;
	bottom: 46px;
}

.fieldset-cf7mls-wrapper .fieldset-cf7mls .step.last + p {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
}

.fieldset-cf7mls-wrapper .fieldset-cf7mls .step.last + p .wpcf7-spinner {
	display: none !important;
}

.fieldset-cf7mls-wrapper .fieldset-cf7mls .step.last + p .wpcf7-submit {
	margin: 0 !important;
}

.fieldset-cf7mls-wrapper .step.last p.counter {
	bottom: 0;
}

fieldset {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

fieldset[data-cf7mls-order="0"] .counter {
	bottom: 0 !important;
}

fieldset[data-cf7mls-order="0"] .cf7mls-btns .cf7mls_next.action-button {
	margin-right: 0 !important;
}

fieldset[data-cf7mls-order="0"] .cf7mls-btns {
	justify-content: center;
	align-items: center;
}
fieldset[data-cf7mls-order="0"] .cf7mls-btns button {
	cursor: pointer !important;
    display: inline-block !important;
	border: 1px solid #111 !important;
    background-clip: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    color: #111 !important;
    padding: 12px 16px !important;
    text-align: center !important;
    position: relative !important;
	border-radius: 0 !important;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 600 !important;
	margin-right: 0 !important;
}

fieldset .step {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
	width: 100%;
	min-height: 250px;
	margin-top: 32px !important;
}

input[type=text], input[type=email], input[type=number], textarea, select {
    border: 1px #111 solid;
    background-clip: padding-box;
    border-radius: 5px;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
    padding: 0.9285714286em 0.7857142857em;
    word-break: normal;
	margin: 0 auto;
    line-height: inherit;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 400 !important;
}

.wpcf7-form-control-wrap[data-name="language"] {
	text-align: center;
}

.wpcf7-form-control-wrap[data-name="language"] .wpcf7-list-item {
	text-align: center;
	margin-top: 10px;
}

textarea {
	height: 100px;
	width: 50%;
	margin: 0 auto;
}

span.wpcf7-list-item {
	display: inline-block;
	margin: 0;
}

.wpcf7 .wpcf7-list-item {
	display: flex;
	margin-bottom: 10px;
}

.wpcf7-checkbox label, .wpcf7-radio label {
	position: relative;
	cursor: pointer;
}

input[type=text]:focus, input[type=email]:focus, input[type=number]:focus, textarea {
    outline: none;
    border-color: #111111;
    -webkit-box-shadow: 0 0 0 1px #111111;
    box-shadow: 0 0 0 1px #111111;
}

fieldset input[type=submit] {
	cursor: pointer;
	border: none !important;
    color: #fff !important;
	background-color: #111 !important;
	padding: 0 !important;
    display: block;
    float: none !important;
    min-width: inherit !important;
    margin: 0 32px 0 0 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	transition: all 0.25s ease;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 400 !important;
	padding: 12px 39px !important;
}

p {
    width: 100%;
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 400 !important;
}

p.intro {
	width: inherit;
	text-align: center;
	margin-top: 32px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.step.flex .wpcf7-radio, .step.flex .wpcf7-checkbox {
	display: flex;
    flex-direction: row;
    justify-content: center;
}

.wpcf7-radio, .wpcf7-checkbox {
	display: grid;
    flex-direction: column;
    justify-content: space-around;
	grid-template-columns: repeat(3, 1fr);
/*     grid-auto-flow: column;
    grid-template-rows: 1fr 1fr 1fr;
	grid-template-columns: auto; */
    grid-gap: 16px;
}


.wpcf7-radio .wpcf7-list-item, .wpcf7-checkbox .wpcf7-list-item {
	min-height: 40px;
}

.wpcf7-checkbox .wpcf7-list-item, .wpcf7-radio .wpcf7-list-item {
    text-align: left;
}
.wpcf7-list-item {
    margin-left: 0 !important;
    padding: 4px;
}

span.wpcf7-list-item {
	display: inline-block;
	margin: 0;
}
.wpcf7 .wpcf7-list-item {
	display: block;
	margin-bottom: 10px;
}
.wpcf7-checkbox label {
	position: relative;
	cursor: pointer;
}
.wpcf7-form-control-wrap[data-name="skintone"] label {
	display: flex;
	justify-content: flex-start;
	align-content: center;
}
/* .wpcf7-form-control-wrap[data-name="skinconcern"] .wpcf7-checkbox, .wpcf7-form-control-wrap[data-name="goal"] .wpcf7-checkbox {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr 1fr;
}
 */
.wpcf7-form-control-wrap[data-name="skinconcern"] {
	margin: 0 auto;
	display: flex;
    justify-content: center;
}

input[type=checkbox], input[type=radio] {
	position: absolute;
	visibility: hidden;
	width: 12px;
	height: 12px;
	top: 0;
	left: 0;
}
input[type=checkbox] + span:before, input[type=radio] + span:before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 0;
	height: 12px;
	width: 12px;
	top: 0px;
	left: 0px;
	border: 2px solid #111;
	border-radius: 50px;
}
input[type=checkbox] + span:after, input[type=radio] + span:after {
	font-family: "neuzeit-grotesk", sans-serif !important;
	font-weight: 400 !important;
	display: block;
	position: absolute;
	content: "\2713";
	height: 12px;
	width: 12px;
	top: 0;
	left: 3px;
	visibility: hidden;
	font-size: 16px;
	text-align: center;
	line-height: 18px;
}
input[type=checkbox]:checked + span:before, input[type=radio]:checked + span:before {
	background: transparent;
}
input[type=checkbox]:checked + span:after, input[type=radio]:checked + span:after {
	visibility: visible;
}

.wpcf7-list-item-label {
	margin-left: 25px;
	display: inline-block;
}

.step.skintone .wpcf7-list-item-label {
	margin-left: 40px;
}

.step.skintone .wpcf7-list-item input[type=radio] + span:after {
	top: 4px !important;
	left: 6px !important;
}

.step.skintone .wpcf7-list-item input[type=radio] + span:before {
	border: none !important;
	width: 24px !important;
	height: 24px !important;
}

.step.skintone .wpcf7-list-item:nth-of-type(1) input[type=radio] + span:before {
	background-color: #F3E4C8;
}
.step.skintone .wpcf7-list-item:nth-of-type(2) input[type=radio] + span:before {
	background-color: #E8BB94;
}
.step.skintone .wpcf7-list-item:nth-of-type(3) input[type=radio] + span:before {
	background-color: #EBBC8B;
}
.step.skintone .wpcf7-list-item:nth-of-type(4) input[type=radio] + span:before {
	background-color: #BA9065;
}
.step.skintone .wpcf7-list-item:nth-of-type(5) input[type=radio] + span:before {
	background-color: #8E522D;
}
.step.skintone .wpcf7-list-item:nth-of-type(6) input[type=radio] + span:before {
	background-color: #523F38;
}

.wpcf7-response-output {
    background: white !important;
    border: none !important;
    width: 50% !important;
    padding: 30vh 5% !important;
    margin: 0 auto !important;
    position: absolute !important;
    top: 150px;
    left: 20%;
    color: black;
    right: 20%;
    text-align: center !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
}

.wpcf7-validation-errors {
	display: none !important;
}

.privacy {
	display: flex;
    justify-content: center;
    align-items: center;
}

.privacy label {
	display: block;
    position: relative;
    text-align: left;
}

.privacy .wpcf7-list-item {
	margin-bottom: 0;
}

/* Choose language */

.page-id-28 .home-intro {
	background-color: white;
	padding: 32px;
	margin: 20vh auto;
	width: 35%;
}

.page-id-28 .home-intro p {
	text-align: center;
}

.page-id-28 .wp-block-buttons {
	display: flex;
    justify-content: center;
    align-items: center;
	margin-top: 64px;
}

.page-id-28 .wp-block-buttons .wp-block-button__link {
	color: #111111 !important;
	background-color: #fff !important;
	border-radius: 0;
    display: block;
	font-size: 16px !important;
	font-weight: 600 !important;
	transition: all 0.25s ease;
	font-family: "neuzeit-grotesk", sans-serif !important;
	margin: 0 8px;
	border: 1px solid #111;
}

@media (max-width: 1522px) {
	.wpcf7-response-output {
		width: 50% !important;
	}
}

@media (max-width: 1119px) {
	.wpcf7-response-output {
		width: 50% !important;
	}
}

@media(max-width: 768px) {
	.wpcf7-radio .wpcf7-list-item, .wpcf7-checkbox .wpcf7-list-item {
		min-height: 20px;
	}
    h4 {
    	font-size: 20px;
	}
	.fieldset-cf7mls-wrapper .cf7mls_back_fs {
		top: 32px !important;
	}
	.fieldset-cf7mls-wrapper {
		padding: 32px 0;
	}
	
    .wpcf7-checkbox, .wpcf7-radio {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.wpcf7-response-output {
		height: 100% !important;
		width: inherit !important;
		margin: 0 !important;
		left: 0% !important;
		padding: 15vh 16px !important;
		top: 16px !important;
		right: 0 !important;
	}	
	
	.page-id-28 .home-intro {
		padding: 16px 24px;
		width: 80%;
	}
	
	.page-id-28 .wp-block-buttons {
		margin-top: 24px;
	}
}