/* max-width and margin center survey in browser */
div.survey_body {
	margin-top:1em;
	background-color:#eee;
	border:thin solid gray;
/*	max-height:900px; 
	overflow:auto; */
	padding:1em;
	max-width:900px;
	margin:auto;
}
* {
	transition: all 0.25s ease-out;
	-webkit-transition: all 0.25s ease-in;
	-moz-transition: all 0.25s ease-in;
}
body {
	font-family: 'Montserrat',source-sans-pro,sans-serif;
	
}
p {
	
	font-family: 'Montserrat',source-sans-pro,sans-serif;
}
div.survey_body p.survey_title {
	
	font-family: 'Montserrat',source-sans-pro,sans-serif;
	font-size:24;
	font-weight:bolder;
	display:inline-block;
	text-align:center;
}
div.survey_body p.survey_intro {
	font-style:italic;
}
div.survey_body table {
	width:100%;
}
/* page title */
div.survey_body thead tr:nth-child(1) {
	background-color:#38B4B1;
}
div.survey_body thead tr:nth-child(1) td {
	padding:0.5em;
	color:white;
	font-weight:bolder;
}
div.survey_body tbody tr:nth-last-child(1) td {
	padding-bottom:1em;
}
/* question prompt in bold */
div.survey_body tbody tr:nth-child(1) td {
	padding-top:1em;
	font-weight:bolder;
}
/* question explanation in italic */
div.survey_body tbody tr:nth-child(2) td {
	font-style:italic;
}
/* hide conditional pages/questions until activated by javascript */
[data-conditional='Y'] {
	display:none;
}
/* hide the dummy submit button used to prevent submits when pressing enter within a text input box */
button.survey_dummy {
	display:none;
}
p.survey_thanks {
	display:none;
}
/* highlight required questions */
tbody.survey_question[data-highlighted='R'] tr:nth-child(3) {
	background-color:#6c6;
}
input.survey_ym_year,
input.survey_ym_month {
	width:4em;
	text-align:right;
}

/* vertical separation on small screens for the checkboxes for fat fingers */
@media only screen and (max-width:540px) {
	label > * {
		margin-top:1em;
		margin-bottom:1em;
	}
}

button#restart a {
	text-decoration:none;
}