@charset "UTF-8";
/* CSS Document */

* { padding: 0; margin: 0; text-decoration: none; box-sizing: border-box; max-width: 100%; }
html { scroll-behavior: smooth; }
body { font-family: "Roboto", Arial, sans-serif; background-color: #f2f4f8; }
.cleared { float: none; display: block; clear: both; }
.centered { text-align: center; }
.wrap { width: 100%; max-width: 960px; padding: 20px; margin: 0 auto; }
.copy { margin-bottom: 1.8em; clear: left; }
.hide { display: none; }
.mobile { display: none; }
hr { opacity: .3; }
ul { padding: 0; list-style-position: inside; margin-bottom: 1em; }
h1, h2, h3, h4 { font-family: "Roboto", Arial, sans-serif; line-height: 1.4em; margin-bottom: 0.8em; }
h1 { font-size: 32px; margin-bottom: 0; }
h2 { font-size: 38px; max-width: 800px; text-align: center; margin-left: auto; margin-right: auto; }
h3 { font-size: 27px; max-width: 800px; text-align: center; margin-left: auto; margin-right: auto; }
h4 { font-size: 21px; max-width: 800px; text-align: center; margin-left: auto; margin-right: auto; }
h4 em { font-style: normal; color: #DD5737; }
p, li { font-size: 21px; line-height: 1.4em; margin-bottom: 1em; color: #000000; font-weight: 400; }
.urgent { color: #DD5737; }


header { padding: 35px 20px 15px; }
header .logo { max-width: 300px; display: block; margin: 0 auto; }


article { background-color: #fff; padding: 40px 20px; }

/*Form*/

#form { max-width: 960px; margin-left: auto; margin-right: auto; }
#form form { font-size: 14px; background: #fff; padding-bottom: 40px;     box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.07); }
#form p { font-size: 40px; line-height: 1.2em; color: #335eea; font-weight: 700; text-align: center; }
#form form .question { padding: 40px 40px 0; text-align: center; }
#form label { display: block; cursor: pointer; margin-bottom: 16px; line-height: 1em; }
#form input[type=radio] { margin-right: 10px; vertical-align: top; }
#form input[type=tel], #form input[type=text], #form input[type=email] { padding: 15px 20px; border-radius: 5px; width: 100%; outline: none; height: 56px; border: 1px solid rgb(171, 193, 223); border-radius: 4px; font-size: 16px; }
#form select { width: 100%; padding: 10px; border: 1px solid #dedede; }
#form .previous-next { background-color: transparent; color: #fff;  padding-left: 40px; padding-right: 40px; }
#form .control { background-color: #32b348; padding: 18px 24px; display: block; font-weight: 600; line-height: 1em; text-align: center; }
#form .control:hover { background-color:#30a644; cursor: pointer; }
/* #form .prev { float: left; } */
#form .next { font-size: 22px; font-weight: 700;  }
#form .submit { border: none; color: #fff; font-weight: 700; line-height: 1em; font-size: 22px; display: none; }
.qualify-button { background-color: #DD5737; color: #fff; font-weight: 700; font-size: 28px; border-radius: 6px; padding: 10px 40px; }
#form .question { display: none; }
#form .question.active { display: block; }
#form .error-message { background-color: red; border-radius: 4px; color: #fff; padding: 16px; margin-bottom: 20px; display: none; }
#disqualify { display: none; }
#disqualify .wrap { max-width: 700px; padding: 40px; border: 1px dashed #CDE0EC; }
#disqualify .wrap h5 { font-size: 30px; }

/* progress bar */
#progress-bar-container {
    max-width: 100%;
    background-color: #eaecf0;
    margin: 20px 20px 30px;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background-color: #037bff;
    transition: width 0.3s ease;
}

/*Footer*/
footer { max-width: 1600px; padding: 40px 20px; margin: 0 auto; }
footer p { font-size: 16px; font-weight: 300; line-height: 1.8em; }


/* DEBUG: Custom CSS to style radio buttons as real buttons */
#form input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  opacity: 0;
}

#form label {
	display: inline-block;
	text-align: center;
	font-size: 30px;
	color: #335eea;
	padding: 18px 20px;
	background-color: #eaeefe;
	font-weight: 700;
	border-radius: 4px;
	cursor: pointer;
	margin-right: 10px;
	transition: background-color 0.3s;
	width: 48%;
}
#form .injury label {
    display: block;
    width: 100%;
}

/* When the radio button is checked, style its parent label */
#form label:has(input[type="radio"]:checked) {
  background-color: #037bff;
}

/* DEBUG: Custom CSS to hide .previous-next until .fullname becomes active */
#form .previous-next {
  display: none !important;
}

/* When .fullname has the active class, show .previous-next */
#form .fullname.active ~ .previous-next, #form .email.active ~ .previous-next, #form .phone.active ~ .previous-next {
  display: block !important;
}
#form .question.last.active ~ .previous-next .submit {
    display: block;
	width: 100%;
}

/*MOBILE*/
@media (max-width: 767px){

#form p {
    font-size: 24px;
    line-height: 1.2em;
	font-weight: 700;
}
#form label {
    display: block;
    text-align: center;
    font-size: 30px;
    color: #335eea;
    padding: 18px 20px;
    background-color: #eaeefe;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
    width: 100%;
}
}