html, body, #container {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    color: #333333;
    position: relative;
}
.validation_error {
	border: solid 2px red !important;
	color: red;
}
@media only screen and (min-width: 500px) {
	#container {
		/* background-color: #FFFFFF; */
	}
	#container .quest_page {
		width: 412px;
		min-height: 812px;
		margin: 0 auto;
		/* background-color: #fbfbfb; */
	}
}
@media only screen and (max-width: 499px) {
	.quest_page {
		min-height: 812px;
	}
}
.quest_page {
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	max-width: 425px;
}
.quest_header {
	background-color: #FFFFFF;
	border-bottom: #CCC solid 1px;
	position: fixed;
	height: 40px;
	z-index: 10;
	width: inherit;
	display: flex;
	flex-direction: row;
}
.logo {
	order: 2;
    flex-grow: 5;
    margin: 0 auto;
}
.logo img {
	width: 110px;
    margin-left: 100px;
    margin-top: 4px;
}
.quest_body {
	flex-grow: 10;
	display: flex;
	flex-direction: column;
	padding: 20px 20px 110px 20px;
	font-family: system-ui;
	margin-top: 60px;
}
.quest_body_title {
	font-size: 1.8em;
	line-height: 1.1em;
	padding-bottom: 30px;
	font-weight: bold;
	color: #5555AA;
}
.header_button {
    margin: 0;
    padding: 6px 6px 6px 2px;
    width: 28px;
    font-size: 1.1em;
    cursor: pointer;
    order: 1;
    align-self: flex-start;
}
.quest_body_subtitle {
	font-size: 1.2em;
	color: #333;
	line-height: 1.2em;
	margin-bottom: 40px;
}
.dropdowns_wrapper {
	margin: 40px 0;
	display: flex;
	justify-content: space-between;
}
.family_medical .dropdowns_wrapper {
	background-color: rgba(200,100,0,0.04);
	padding: 20px 10px;
	margin: 0 -10px;
	border-radius: 10px;
	position: relative;
	align-items: center;
	flex-direction: column;
}
.family_medical .dropdowns_wrapper:not(:first-child) {
    margin-top: 20px;
}

.answers_wrapper table {
    width: 100%;
    border-spacing: 0;
    margin-bottom: 20px;
}
.answers_wrapper .answer_line {
    font-size: 0.9em;
}
.answers_wrapper tr.answer_line td {
    padding: 12px;
	border-bottom: solid 1px #75bfff;
}
.answers_wrapper tr.answer_line:first-child td {
    border-top: solid 1px #75bfff;
}
.answers_wrapper .remove_line_button .remove_answer_button {
	margin-top: 0;
	width: 10px;
	height: 16px;
}

.answers_wrapper .remove_line_button .remove_answer_button span {
	font-size: 20px;
}


.quest_body_button, .link_button a {
	background-color: rgb(7 79 142);
	/* width: 30vw; */
	padding: 17px 20px;
	text-align: center;
	color: white;
	text-transform: uppercase;
	border-radius: 10px;
	margin: 80px auto 0;
	cursor: pointer;
	font-weight: bold;
	border: 1px solid transparent;
	outline: none;
	vertical-align: middle;
}
.quest_body_button.disabled {
    background-color: gainsboro;
}
.type_concent_checkbox input {
    margin-right: 14px;
}
.type_concent_checkbox {
    padding: 20px 0;
}
.link_button {
    text-align: center;
    margin-top: 50px;
}
.quest_footer {
	flex-grow: 1;
	position: fixed;
	background-color: #75bfff;
	/* left: 0; */
	height: 10px;
	/* right: 0; */
	bottom: 0;
	z-index: 100;
	border-top: solid 1px #CCCCCC;
	-webkit-box-shadow: 0px 0px 2px 4px rgba(0,0,0,0.54);
	box-shadow: 0px 0px 1px 1px rgb(0 0 0 / 54%);
	padding-top: 4px;
	width: inherit;
}
.quest_type_boolean {
	display: flex;
	justify-content: space-around;
	text-align: center;
	align-content: center;
	align-items: stretch;
}
.quest_selection {
	border: solid 1px #CCC;
	border-radius: 8px;
	padding: 10px 30px;
	width: 24%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.multi_check, .multi_check label {
    cursor: pointer;
}
.multi_check input {
    margin-right: -20px;
}
.check_line {
	line-height: 2em;
	padding: 10px;
	background-color: rgb(240 248 255);
	border: solid 1px #CCCCCC;
	border-radius: 8px;
	margin-bottom: 12px;
	/* transition: background-color 0.85s ease-in; */
}
.check_line input[type="checkbox"],
.check_line input[type="radio"] {
    visibility: hidden;
}
.check_line.checked,
.quest_selection.checked,
.quest_selection.checked {
    font-weight: bold;
    background-color: rgba(7,79,152,0.8);
    color: #FFFFFF;
}
.check_line input[type="text"] {
    margin-left: 17px;
    padding: 5px 20px 5px 7px;
    border: solid 1px #EFEFEF;
    border-radius: 8px;
    font-size: 1em;
    font-family: system-ui;
    width: 60%;
}
.check_line .other_button {
	/* border-radius: 10px; */
	/* border: solid 1px #DDDDDD; */
	/* background-color: white; */
	color: #666666;
	cursor: pointer;
	float: right;
	margin: 5px 4px;
	padding: 0 6px;
	line-height: 1em;
}
.quest_type_number {
    flex-direction: row;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.quest_type_number input {
    width: 100px;
    padding: 22px 0px;
    font-size: 1.3em;
    text-align: center;
    border-radius: 8px;
}
.quest_type_number label.additional_label {
    padding: 0 10px;
    font-style: italic;
}
.quest_type, .quest_type_blood_pre {
    text-align: center;
}
.quest_type_date input, .quest_type_blood_pre input {
    padding: 10px 12px;
    margin: 0 10px;
    border-color: #CCCCCC;
    border-width: 1px;
    border-style: dotted;
    border-radius: 8px;
    font-size: 1.2em;
}
.quest_type_blood_pre input {
	justify-content: space-evenly;
}
.date_row.date_inputs {
    justify-content: center;
	display: flex;
	align-items: center;
}
.date_row.date_titles, .blood_pre_row.bp_titles {
    display: flex;
    align-content: space-evenly;
    justify-content: center;
    font-size: 0.7em;
    color: #666666;
    margin-bottom: 4px;
}
.bp_titles label {
    padding: 0 16px;
}
.date_titles label {
    padding: 0 38px;
}

.medications .quest_type_dropdown {
    width: 60%;
}
.family_medical #dropdown_1.quest_type_dropdown {
    width: 50%;
}
.family_medical #dropdown_2.quest_type_dropdown {
    width: 60%;
}
.quest_type_dropdown .choices__list {
    text-transform: capitalize;
}
.quest_type_dropdown .choices__inner {
    border-width: 0;
    border-bottom: solid 1px #CCC;
    background: transparent;
}
.quest_type_dropdown .choices .choices__inner {
	min-height: unset;
	width: 90%;
}
.medicine_dosage {
	width: 40px;
	padding: 10px;
	text-align: center;
	vertical-align: bottom;
	border: solid 1px #EEEEEE;
	border-radius: 8px;
}
.family_medical .remove_answer_button {
	position: absolute;
	top: -6px;
	right: -3px;
}
.family_medical .remove_answer_button span {
	font-size: 18px;
}
.family_medical .age_when_diagnosed {
	border-radius: 8px;
	font-size: 0.9em;
	text-align: center;
}
.family_medical .age_when_diagnosed p {
    margin: 0 0 8px 0;
}
.family_medical .age_when_diagnosed input {
	width: 40px;
    padding: 10px 0 10px 10px;
    border-radius: 4px;
    border: solid 1px #CCC;
    text-align: center;
}
.family_medical .quest_type_dropdown {
		border: solid 1px #CCC;
		border-radius: 8px;
		margin-bottom: 20px;
}
.family_medical .quest_type_dropdown .choices__inner {
	border: none;
}
.quest_type_textarea textarea {
	width: 90%;
	line-height: 1.6em;
	font: inherit;
	height: 200px;
	border-radius: 6px;
	padding: 14px;
}
.dosage_label {
    align-self: flex-end;
    font-size: 0.7em;
    margin-left: 2px;
}
.remove_answer_button {
    /* background-color: rgba(200,0,0,0.2); */
    /* border: dotted 1px red; */
    /* border-radius: 10px; */
    width: 22px;
    font-size: 10px;
    height: 20px;
    margin-top: 10px;
    border: none;
    background: none;
    color: #a70505;
    font-size: 14px;
	cursor: pointer;
}
.dosage {
	display: flex;
}
.secondary_button {
    background-color: transparent;
    border: none;
    text-decoration: underline;
    border: solid 1px rgb(7 79 142);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.9em;
    color: rgb(7 79 142);
    cursor: pointer;
}
.tertiary_button {
    background-color: transparent;
	text-decoration: underline;
	margin-top: 8px;
	border: none;
	font-size: 1.2em;
	cursor: pointer;
}
.language_selector {
    padding: 10px;
    order: 3;
}
.language_selector select {
	background-color: transparent;
	border-color: #A6A6A6;
	padding: 2px 8px;
	border-radius: 6px;
}
.all_selectors {
    direction: ltr;
}
.transition-fade {
	transition: 0.6s;
	opacity: 1;
	transition-timing-function: ease-out;
}

.transition-fade.animate_now {
	transition: 0.2s;
	opacity: 0;
}

.allow_skip_button {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    text-decoration: underline;
    color: #87cefa;
    cursor: pointer;
}

/* FOOTER */

.progress_wrapper {
    width: 60%;
    height: 4px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.progress_bar {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.progress_current {
    background-color: rgb(0, 0, 0);
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.4s ease 0s;
    top: 0px;
    opacity: 0.7;
}
.single_radio {
	cursor: pointer;
}
@-webkit-keyframes shake {
    0% { -webkit-transform: translate(10px, 0) rotate(0deg); } 
    10% { -webkit-transform: translate(-20px, 0) rotate(-1deg); }
    20% { -webkit-transform: translate(10px, 0) rotate(1deg); }
    30% { -webkit-transform: translate(-20px, 0) rotate(0deg); }
    /* 40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
    50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
    60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
    70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
    80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
    90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
    100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); } */
}
.shake {
    -webkit-animation-name: shake;
    -webkit-animation-duration: 0.5s;
    -webkit-transform-origin:50% 50%;
    /* -webkit-animation-iteration-count: infinite; */
    display:inline-block
}


@keyframes blinker {
	50% {
	  opacity: 0;
	}
}
.modal_window {
	/* background-color: yellow; */
	width: 80%;
	height: 
	80%;
	position: absolute;
	top: 0;}  