/* shipping */
#fortoShippingForm {
	font-family: inherit;
	font-size: 16px;
	width: 100%;
	max-width: 50em;
	margin: 0 auto;
}

.forto-tabs {
	display: flex;
	list-style: none;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
}

.forto-tabs .tab-item {
	width: 33.3333%;
}

.forto-tabs .tab-link {
	color: rgba(42, 57, 80, 0.5);
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0.75rem 0.75rem 0.75rem calc(1.5rem + 20px);
	font-size: 12px;
	background-color: #e3e3e3;
	background-repeat: no-repeat;
	background-position: 0.75rem 50%;
	background-size: 20px;
}

.forto-tabs .tab-link.active {
	background-color: #f7f7f7;
}

.forto-tabs .tab-link.active,
.forto-tabs .tab-link:not(.active):hover {
	color: #2a3950;
}

.forto-tabs .tab-link strong {
	font-weight: inherit;
}

.forto-tabs .tab-link.active strong,
.forto-tabs .tab-link:not(.active):hover strong {
	color: rgba(42, 57, 80, 0.5);
}

.forto-tabs-content {
	background-color: #f7f7f7;
}

.forto-tabs-content .forto-tab-pane {
	display: none;
	margin-top: 0;
	padding: 1em;
}

.forto-tabs-content .forto-tab-pane.active {
	display: block;
}

.forto-row {
	display: flex;
}

.forto-form-group {
	margin-bottom: 1em;
	display: flex;
	flex-wrap: wrap;
}

.forto-form-group + .forto-form-group {
	padding-left: 0;
}

.forto-form-group.w20 {
	flex-basis: 20%;
}

.forto-form-group.w80 {
	flex-basis: 80%;
}

.forto-form-group.w100 {
	flex-basis: 100%;
}

.forto-form-group label {
	color: rgba(42, 57, 80, .5);
	font-size: 0.875em;
	display: block;
	margin-bottom: 0.5em;
	width: 100%;
}

.forto-form-group label.forto-label-cover {
	color: #2a3950;
	font-size: inherit;
	text-align: center;
	display: inline-block;
	width: 6.5em;
	padding: calc(0.5em + 5px) 0.5em;
	border: thin solid #e6e6e6;
	position: relative;
	cursor: pointer;
	background-color: #fff;
	flex-grow: 1;
}

.forto-form-group label.forto-label-cover.checked {
	background-color: rgba(33, 164, 232, 0.05);
	border-color: #1d95d4;
}

.forto-form-group .forto-link-switch {
	color: #2a3950;
	text-decoration: none;
	border-bottom: thin solid #ccc;
}

.forto-link-switch.active {
	border-color: #1d95d4;
}

.forto-form-group > .link-switch {
	padding: 0;
	border: 0 none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	margin: 0;
}

.forto-form-group .link-switch input[type="number"] {
	width: min(6.5em, calc(27.5% - 5px));
	margin-right: 5px;
	flex: 1 1 auto;
}

.forto-form-group > .link-switch:not(:first-of-type) {
	display: none;
}

select.forto-form-control {
	display: inline-block;
	width: auto;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: calc(10px + 1em) !important;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAG0lEQVR42mNgwAfKy8v/48I4FeA0AacVDFQBAP9wJkE/KhUMAAAAAElFTkSuQmCC");
	background-repeat: no-repeat;
	background-position: calc(100% - 0.5em) center;
}

input[type].forto-form-control,
select.forto-form-control {
	font-size: 1em;
	margin: 0;
	padding: 0.5em;
	border: thin solid #e6e6e6;
	border-radius: 0;
	background-color: #fff;
}

input[type="number"].forto-form-control {
  -moz-appearance: textfield;
  appearance: textfield;
  margin: 0;
}

input[type=number].forto-form-control::-webkit-inner-spin-button,
input[type=number].forto-form-control::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.forto-form-control {
	width: 6.5em;
}

input.forto-form-control[name="qty"] {
	width: 10ch;
	margin-right: 5px;
}

input.forto-form-control[name="weight"] {
	flex-grow: 1;
	margin-right: 5px;
}

.forto-form-group.w100 input.forto-form-control,
.forto-form-group.w50 input.forto-form-control {
	/* width: calc(100% - 1em); */
	width: 100%;
}

.forto-label-cover input {
	position: absolute;
	visibility: hidden;
	opacity: 0;
}

.forto-form-submit {
	width: 100%;
	font-weight: 700;
}

.forto-error-message {
	color: #900;
	font-size: 0.9em;
	display: none;
	margin: 0;
	padding: 1em;
}

/* quiz */
#fortoQuizForm {
	font-size: 16px;
	display: grid;
	grid-template-rows: 6.25em 0.25em auto;
	background-color: #f7f7f7;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999999;
}

.forto-quiz-bar {
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	height: 6.25em;
}

.forto-quiz-bar > * {
	display: flex;
	align-items: center;
	justify-content: center;
}

.forto-quiz-bar > :first-child,
.forto-quiz-bar > :last-child {
	flex: 0 0 auto;
	width: 6.25em;
}

.forto-quiz-bar > :not(:first-child):not(:last-child) {
	flex: 1 0 auto;
	border-right: thin solid #e6e6e6;
	border-left: thin solid #e6e6e6;
}

.forto-quiz-title h1 {
	font-size: 1.625em;
	line-height: 1.4;
	text-align: center;
	margin: 0;
}

.forto-quiz-logo img {
	width: 80%;
}

.forto-quiz-steps-wrap {
	display: none;
	width: 50%;
}

.forto-quiz-steps {
	font-size: 0.875em;
	display: flex;
	justify-content: space-between;
}

.forto-quiz-step {
	margin: 0;
}

.forto-quiz-step span {
	text-align: center;
	display: block;
}

.forto-quiz-step span:first-child {
	color: #e4e4e4;
	font-size: 0.8em;
	height: 1.8em;
	width: 1.8em;
	margin: 0 auto;
	border: thin solid #e4e4e4;
	border-radius: 50%;
}

.forto-quiz-step.on span:first-child {
	color: #21a4e8;
	border-color: #21a4e8;
}

.forto-quiz-step span:last-child {
	color: #e4e4e4;
	white-space: nowrap;
	margin-top: 0.7em;
}

.forto-quiz-step.on span:last-child {
	color: #000;
	font-weight: bold;
}

.forto-quiz-steps hr {
	width: 15%;
	margin: 1em 0 0;
	border: 0 none;
	border-top: thin solid #eee;
}

.forto-quiz-progress {
	background-color: #ccc;
	width: 100%;
	height: 0.25em;
	position: relative;
}

.forto-quiz-progress .forto-progress-bar {
	background-color: #21a4e8;
	height: 100%;
	width: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.forto-quiz-content {
	overflow-y: auto;
}

.forto-quiz-form,
.forto-quiz-result {
	width: 90%;
	margin: 0.625em auto;
}

.forto-quiz-form fieldset,
.forto-quiz-form #question0 {
	min-height: calc(97vh - 110px);
	padding: 0;
	border: 0 none;
	opacity: 0.25;
}

.forto-quiz-form fieldset.on {
	opacity: 1;
}

.forto-quiz-form #question0 {
	display: flex;
	justify-content: space-between;
	opacity: 1;
}

.forto-quiz-form #question0 > * {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.quiz-start-text {
	flex: 0 0 58%;
	max-width: 58%;
}

.quiz-start-text h2 {
	font-size: 2.5em;
	margin: 0 0 0.25em;
}

.quiz-start-text p {
	font-size: 1.125em;
	margin: 1em 0 2em;
}

.quiz-start-text > button {
	width: 30%;
	border: thin solid #1d95d4;
}

.quiz-start-text > button,
.quiz-start-text > button:hover,
.quiz-start-text > button:focus {
	color: #fff;
	background-color: #21a4e8;
}

.quiz-start-image {
	flex: 0 0 41%;
	max-width: 41%;
}

.question-wrap {
	background-color: #fff;
	width: 60%;
	margin: 0 auto;
	padding: 1.5em 3.8em;
}

.question-wrap .forto-row {
	justify-content: space-between;
	margin: 0;
}

.question-wrap .forto-form-group {
	padding-right: 0;
	padding-left: 0;
}

.question-wrap .forto-form-group label.forto-label-cover {
	line-height: 2;
	width: 100%;
}

.forto-form-group.w50 {
	flex-basis: 49%;
}

.forto-form-group.w33 {
	flex-basis: 32.3333%;
}

.question-wrap .question-title {
	font-size: 1.6em;
	margin-top: 0.7em;
	margin-bottom: 1.9em;
}

.question-wrap .question-subtitle {
	font-size: 0.8em;
	margin-bottom: 0.7em;
}

.question-wrap .next-question {
	font-size: 1.125em;
	display: block;
	margin-top: 2em;
	margin-left: auto;
	padding: 0;
	border: thin solid transparent;
	cursor: pointer;
}

.question-wrap .next-question,
.question-wrap .next-question:hover,
.question-wrap .next-question:focus {
	color: #04a6ee;
	background-color: transparent;
}

.forto-quiz-slider {
	margin-top: 2em;
	position: relative;
}

.forto-quiz-slider .forto-slider-labels {
	color: #b2b2b2;
	font-size: 0.8em;
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: absolute;
	top: -1.7em;
	visibility: hidden;
}

.forto-quiz-slider .forto-slider-handle {
	font-size: 0.8em;
	font-weight: normal !important; /*! add !important for fucking autoptimize shit */
	text-align: center;
	height: 1.5em !important; /*! add !important for fucking autoptimize shit */
	width: 2em !important; /*! add !important for fucking autoptimize shit */
}

.forto-quiz-result {
	text-align: center;
	display: none;
	margin-top: 3em;
}

.forto-quiz-result h2 {
	font-size: 1.625em;
	font-weight: normal;
	margin: 0;
}

.forto-quiz-result .result-svg {
	width: 20em;
	margin: 5em auto;
	position: relative;
}

.result-svg .quiz-score {
	font-size: 1.125em;
	font-weight: bold;
	line-height: 1;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.quiz-score span:last-child {
	font-size: 3em;
}

.quiz-score span {
	display: block;
}

.forto-quiz-result .quiz-result-description {
	font-size: 1.125em;
	margin-bottom: 2em;
}

.forto-quiz-result .quiz-report {
	color: #fff;
	display: inline-block;
	background-color: #21a4e8;
	padding: 1em;
	border: thin solid #1d95d4;
}

.forto-quiz-result .quiz-report:hover,
.forto-quiz-result .quiz-report:focus {
	columns: #fff;
}
