@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.20.3/font/bootstrap-icons.min.css');

body,html{
	font-family: var(--mainfont);
	font-size:16px;
}

:root{

	--c1-h: 197;
	--c1-s: 90%;
	--c1-l: 51%;

	--c1: hsl(var(--c1-h),
	 var(--c1-s), 
	var(--c1-l));

	--c1-bg-desate: hsl(var(--c1-h),
	 45%, 
	95%);

	--c1-darker: hsl(var(--c1-h),
		 calc(var(--c1-s) *1.025),
		calc(var(--c1-l) * .7)
	);

	--c1-lighter: hsl(var(--c1-h),
		 calc(var(--c1-s) *1.025), 
		calc(var(--c1-l) * 1.2)
	);

	--c2-darker: hsl(var(--c2-h),
		 calc(var(--c2-s) *1.025),
		calc(var(--c2-l) * .7)
	);

	--c2-lighter: hsl(var(--c2-h),
		 calc(var(--c2-s) *1.025), 
		calc(var(--c2-l) * 1.2)
	);

	--c3-darker: hsl(var(--c3-h),
		 calc(var(--c3-s) *1.025),
		calc(var(--c3-l) * .7)
	);

	--c3-lighter: hsl(var(--c3-h),
		 calc(var(--c3-s) *1.025), 
		calc(var(--c3-l) * 1.2)
	);

	--c4-darker: hsl(var(--c4-h),
		 calc(var(--c4-s) *1.025),
		calc(var(--c4-l) * .7)
	);

	--c4-lighter: hsl(var(--c4-h),
		 calc(var(--c4-s) *1.025), 
		calc(var(--c4-l) * 1.2)
	);

	--c5-darker: hsl(var(--c5-h),
		 calc(var(--c5-s) *1.025),
		calc(var(--c5-l) * .7)
	);

	--c5-lighter: hsl(var(--c5-h),
		 calc(var(--c5-s) *1.025), 
		calc(var(--c5-l) * 1.2)
	);

	--mainfont: 'Inter', sans-serif;
	--subfont: 'Mulish', sans-serif;
	--serif: 'Playfair Display', serif;

}

*{
	box-sizing:border-box;
}

.cw{
	width:100%;
	max-width:1200px;
	margin:0px auto;
}

.btn-s{
	display:block;
	width:100%;
	text-align:center;
	text-decoration: none;
	max-width:max-content;
	padding:.25em 1em;
	transition:.3s background;
	border:none;
}

.btn-s.fw{
	max-width:100%;
}

.btn-s.c1{
	background:var(--c1);
	color:#fff;
}

.btn-s.c1-25:hover{
	background:var(--c1-25);
}

.btn-s.c1-50:hover{
	background:var(--c1-50);
}

.btn-s.c1-75:hover{
	background:var(--c1-75);
}

.btn-s.center{
	margin-inline:auto;
}

.btn-wht{
	--white:#fff;
	background:var(--white);
}

.btn-gray{
	--gray:#f2f2f2;
	background:var(--gray);
	color:#000;
}

.btn-gray:hover{
	background:color-mix(in srgb, var(--gray) 85%, #000000);
}

.btn-s.white-text{
	color: #fff;
}

.section{
	padding:1.75em;
	padding-inline:1.5em;
}

.grid-row{
	--col:2;
	display:grid;
	grid-template-columns: repeat(var(--col),minmax(0,1fr));
}

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

.img-block.fw{
	width:100%;
}


/*typography*/

h1,h2,h3,h4,h5,h6,p{
	margin:0;
}

.s-t{
	font-size:2.25em;
	line-height:1.25em;
	font-weight:800;
}

.s-h{
	font-size:1.5em;
	line-height:1.25em;
	font-weight:700;
}

.s-sh{
	font-size:1.25em;
	line-height:1.25em;
	font-weight:600;
}

p{
	font-weight:400;
	line-height:1.5em;
}

.disclaimer{
	font-size:.8em;
	font-weight:400;
	margin-block:1em;
	line-height:1.25em;
}

/*default textbox*/

::-ms-input-placeholder { /* Edge 12-18 */
  color: #aaa;
  font-weight:300;
}

::placeholder {
  color: #aaa;
  font-weight:300;
}



input[type="text"],
select,
input[type="date"]{
	display:block;
	max-width:100%;
	width:100%;
	padding:1em 1em;
	font-size:1em;
	background:#fff;
	border:1px solid color-mix(in srgb, var(--c1) 0%, #e7e7e7);
	border-radius:.25em;
/*	margin-block:1em;*/
	text-align:left;
/*	transition:.05s outline;*/
/*	box-shadow:.1em .1em .25em color-mix(in srgb, var(--c1) 40%, transparent) inset;*/
}


input[type="date"]{
	text-transform: uppercase;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

input:focus,select:focus{
	outline:solid color-mix(in srgb, var(--c1), transparent 0%) .2em;
	outline-offset:0px;
}

.combobox {
    position: relative;
    isolation: isolate;
}

.combobox::after {
    content: '';
    position: absolute;
    width: 0.5em;
    aspect-ratio: 1/1;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    top: calc(50% - 0.25em);
    right: 1em;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
}

.combobox option{
	background:#fff;
}

/*main*/

.main-logo{
	display:block;
	max-width:14rem;
	margin-inline:auto;
	aspect-ratio:108/20;
	object-fit: contain;
	position: relative;
	top:-.375rem;
}

.survey-wrapper{
	max-width:32rem;
	margin-inline:auto;
	padding-block:2em;
}

.survey-wrapper .s-t{
	font-family: var(--serif);
	color:#111;
	letter-spacing: -.025em;
	margin-bottom:1rem;
}

.survey-check-grid{
	display:grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap:1em;
	padding-block:1em;
}

.survey-check-grid a{
	display:block;
	background:var(--c1-bg-desate);
	text-align: center;
	padding:1.5rem 2.25rem;
	border-radius:.375rem;
	color:#000;
	font-weight:600;
	text-decoration: none;
	position: relative;
	isolation: isolate;
	line-height:1.5em;
}

.survey-check-grid a img{
	display:block;
	aspect-ratio:1/1;
	width:3.75rem;
	margin-inline:auto;
	margin-bottom:1rem;
	object-fit: contain;
}

.survey-check-grid a::before{
	position: absolute;
	aspect-ratio:1/1;
	content:'';
	border-radius:99em;
	width:1.675em;
	border:2px solid #ccc;
	top:1em;
	right:1em;
	background:#fff;
	display:flex;
	align-items: center;
	justify-content: center;
	font-size:.9em;
	color:#fff;
}

.survey-check-grid a.active::before,
.survey-check-grid a.active:hover::before{
	content:'✔';
	background:var(--c1);
	border-color:var(--c1);
}

.survey-check-grid a:hover::before{
	background:color-mix(in srgb, var(--c1), transparent 80%);
	border-color:var(--c1);
}

.survey-check-grid a:hover,
.survey-check-grid a.active{
	box-shadow:0 0 0 2px var(--c1);
}

.survey-next{
	background:#44ba59;
	color:#fff;
	max-width:100%;
	font-size:1.5em;
	padding:1rem;
	font-weight: 600;
	border-radius:.375rem;
	opacity:.25;
	pointer-events: none;
}

.survey-next:hover{
	background:color-mix(in srgb, #44ba59, #000 15%);
}

.survey-next.active{
	opacity:1;
	pointer-events: initial;
}

.resbtn{
	background:#44ba59;
	color:#fff;
	max-width:100%;
	font-size:1.5em;
	padding:1rem;
	font-weight: 600;
	border-radius:.375rem;
	opacity:.25;
	pointer-events: none;
	cursor:pointer;
}

.resbtn:hover{
	background:color-mix(in srgb, #44ba59, #000 15%);
}

.resbtn.active{
	opacity:1;
	pointer-events: initial;
}

.submitbtn{
	background:#44ba59;
	color:#fff;
	max-width:100%;
	font-size:1.5em;
	padding:1rem;
	font-weight: 600;
	border-radius:.375rem;
	opacity:.25;
	pointer-events: none;
}

.submitbtn:hover{
	background:color-mix(in srgb, #44ba59, #000 15%);
}

.submitbtn.active{
	opacity:1;
	pointer-events: initial;
}

.survey-list > div:not(:first-child){
	display:none;
}

.survey-list > div.active{
	display:grid;
}

.survey-check-grid ~ .linked-check-grid{
	display:none;
}

.form-group{
	margin-bottom:1em;
}

.form-label{
	padding-left:.25em;
	margin-bottom:.5em;
}

.progress-bar{
	position: relative;
	isolation:isolate;
	background:var(--c1-bg-desate);
	overflow:clip;
	height:.5rem;
	border-radius:99em;
	margin-bottom:1em;
}

.progress-bar > .progress{
	position: absolute;
	inset:0;
	background:var(--c1);
	transform:translateX(calc(var(--progress) * -1%));
	border-radius:99em;
	transition:.5s transform;
}

.survey-back{
	color:#000;
	text-decoration: none;
	display:block;
	max-width:max-content;
	margin-bottom:1rem;
}

/* Container for checkbox and label */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    margin-top: 1rem;
    user-select: none;
    margin-bottom:1rem;
}

/* Hide the native checkbox */
.checkbox-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    min-width: 1.2em;
    min-height: 1.2em;
    border: 2px solid #ccc;
    border-radius: 0.25em;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Checkbox tick mark */
.checkbox-container input[type="checkbox"]::before {
    content: "";
    min-width: 0.6em !important;
    min-height: 0.6em !important;
    aspect-ratio:1/1;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #007bff;
    border-radius: 0.15em;
}

/* Checked state */
.checkbox-container input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* Focus style */
.checkbox-container input[type="checkbox"]:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/*footer*/

.footer{
	background:var(--c1);
	color:#fff;
	text-align:center;
	font-weight:300;
}

ul.footer-links{
	list-style:none;
	margin-left:0;
	padding-left:0;
	display:flex;
	flex-wrap:wrap;

	justify-content: center;
	gap:1em;
}

.footer-links a{
	color:inherit;
}

.footer-links a:focus{

	outline:3px solid var(--c1-darken);
	outline-offset:.5em;
}

.footer .tb-logo{
	margin-bottom:2em;
}

@media(max-width: 1200px){
	body{
		font-size: 14px;
	}
}

@media(max-width:600px){

	.survey-check-grid{
		gap:.5em;
	}
}

@media(max-width:320px){

}

.rad{
	display:none;
}