﻿body
{
	background-color: #FFFFFF;
	background-position: center top; /*background-image: url(images/BG.jpg); */
	background-repeat: no-repeat;
	color: #000000;
	font-family: "Trebuchet MS" , Arial, verdana;
	font-size: 10pt;
	margin: 0px 0px;
}

table
{
	margin: 0px 0px 0px 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	border-bottom-style: none;
}

.NumCharsRemaining {
	font-size:11px; 
	text-align:right; 
	padding-right:5px; 
	color:green;
}

.NoCharsRemaining {
	color: red !important;
}

.divSurveyInfo
{
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 10pt;
}

.SurveyLogo
{
	max-height: 200px;
	width: auto;
	max-width: 100%;
}

.ClinicTitle
{
	/* specific to 1941 for now */
	width: 100%;
	text-transform: uppercase;
	text-align: left;
	font-size: 12pt;
	vertical-align: middle;
}

.OnRow
{
	background-color: #F5F5F5;
}

.OffRow
{
	background-color: White;
}

.MTQuestionHeader
{
	/*text-transform: uppercase;*/
	text-align: left;
	/*line-height: 1em;*/
}

.MTQuestionSubHeader
{
	font-size: smaller;
	line-height: 2em;
}

.MTError {
	color: Red;
}

.Error
{
	color: Red;
	font-size: 14pt;
}

.Success
{
	color: Green;
}

#container
{
	margin: 0px auto;
	width: 900px;
	text-align: left;
}

#middle
{
	background: #555f69;
	float: left;
}

#content
{
	display: block;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 0px;
	padding-top: 0px;
	float: left;
	margin: 0px;
	width: 860px;
	color: white;
}

#content P
{
	font-family: "Trebuchet MS" , Arial, verdana;
	font-size: 10pt;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 10px;
	margin: 0px;
	padding-top: 0px;
}

.button
{
	color: White;
	font-size: 10pt;
	font-weight: bold;
	background: url(./images/buttons/button_blue.gif) 0 0 no-repeat;
	height: 28px;
	width: 107px;
	padding-top: 8px;
	cursor: pointer;
	text-align: center; /*float: left;*/
}

.button:hover
{
	background-position: 0 -36px;
}

.buttonLG
{
	color: White;
	font-size: 10pt;
	font-weight: bold;
	background: url(./images/buttons/buttonLG_blue.gif) 0 0 no-repeat;
	height: 28px;
	width: 150px;
	padding-top: 8px;
	cursor: pointer;
	text-align: center;
	float: left;
}

.buttonLG:hover
{
	background-position: 0 -36px;
}

.clear
{
	clear: both;
}

.Subject
{
	color: #ee9414;
	text-align: right;
}

.FinePrint
{
	font-size: 9pt;
}

/* Help Popups */
div.Help
{
	position: absolute;
	width: 300px;
	height: 100px;
	background-color: #111111;
	padding: 10px;
	border: 2px solid #666;
	margin: 0 auto;
	opacity: 0;
	khtmlopacity: 0;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	z-index: 9998;
}

.contact_form_label
{
	float: left; /* for whatever reason, float is required to make the width work */
	width: 200px;
	text-align: right;
	padding-right: 5px;
}

.contact_form_input
{
	margin-bottom: 4px;
}

.AnswerHeaderTop { display: block; }
.AnswerHeaderPerRow { display: none; }

@media only screen 
  and (max-width: 767px)
{
	.AnswerHeaderTop { display: none; }
	.AnswerHeaderPerRow { display: block; }
	
	.pad-bottom-sm
	{
		padding-bottom: 5px;
	}
}

.AutoAdvanceButton {
	font-size: 14pt;
	text-align: center;
	white-space: normal; /* This fixes an issue where the button text is too long and gets chopped off. Using "normal" here will allow for multiple lines of text. */
	margin: 10px 0 10px 0;
	color: #ffffff;
	background: -moz-linear-gradient(
		top,
		#42aaff 0%,
		#003366);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#42aaff),
		to(#003366));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #003366;
	-moz-box-shadow: -4px 4px 4px rgba(000,000,000,0.5), inset 2px 2px 1px rgba(255,255,255,0.5);
	-webkit-box-shadow: -4px 4px 4px rgba(000,000,000,0.5), inset 2px 2px 1px rgba(255,255,255,0.5);
	box-shadow: -4px 4px 4px rgba(000,000,000,0.5), inset 2px 2px 1px rgba(255,255,255,0.5);
	text-shadow: 0px -1px 0px rgba(000,000,000,0.7), 0px 1px 0px rgba(255,255,255,0.3);
}

.AutoAdvanceButton.active, .AutoAdvanceButton:active {
	background-color: #163550;
	box-shadow: 2px -2px 2px rgba(000,000,000,0.5), inset -2px -2px 1px rgba(255,255,255,0.5);
	-moz-box-shadow: 4px 4px 4px rgba(000,000,000,0.5);
	-webkit-box-shadow: 4px 4px 4px rgba(000,000,000,0.5);
}

.AutoAdvanceButtonNoBGColor {
	font-size: 14pt;
	text-align: center;
	white-space: normal; /* This fixes an issue where the button text is too long and gets chopped off. Using "normal" here will allow for multiple lines of text. */
	margin: 10px 0 10px 0;
	color: #ffffff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #003366;
	-moz-box-shadow: -4px 4px 4px rgba(000,000,000,0.5), inset 2px 2px 1px rgba(255,255,255,0.5);
	-webkit-box-shadow: -4px 4px 4px rgba(000,000,000,0.5), inset 2px 2px 1px rgba(255,255,255,0.5);
	box-shadow: -4px 4px 4px rgba(000,000,000,0.5), inset 2px 2px 1px rgba(255,255,255,0.5);
	text-shadow: 0px -1px 0px rgba(000,000,000,0.7), 0px 1px 0px rgba(255,255,255,0.3);
}

/* 
	Added 10/21/2019. Up until now we've been using col-xs-1 for answer headers when there are more than 6 headers for a question, and that results in very ugly 
	"smooshing" together of the answer headers on mobile devices. So these classes are for defining 1/nth of a block so we can use more of the available width. 
	I.e., "col-xs-1-7" defines "1/7th of a block", "col-xs-1-8" defines "1/8th of a block", etc. Note that I am only defining them for the "xs" level and only
	for the "1"-Nth level. I.e., I don't define "col-md-1-7" or "col-xs-2-7", etc. Those can be added later if we need them.
*/
.col-xs-1-5 {
	width: 20%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}


.col-xs-1-7 {
	width: 14.28%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-1-8 {
	width: 12.5%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-1-9 {
	width: 11.11%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-1-10 {
	width: 10%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-1-11 {
	width: 9.09%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

/* For WCAG compliance, we'll use the default browser focus outline (Bootstrap normally shrinks this down). */
input:focus {
	outline-offset: 2px !important;
}

legend { /* For WCAG. Used by all questions (except free-text). */
	border: none;
	color: inherit;
	line-height: inherit;
	margin-bottom: 0;
	padding-top: 5px; /* Needed for the correct vertical spacing in the numeric range rows. */
	padding-bottom: 5px; /* Needed for the correct vertical spacing in the numeric range rows. */
}