/* Stylesheets for default layout, does not include questions and answers */

/* general style on body */
body { /* CVB CHANGED */
	margin: 5px;
	background-color: #EBEFF1;
	background-image: url("");
	background-repeat: repeat;
	font-family: 'Segoe UI', 'Open Sans', Arial, sans-serif;
	padding-top: 10px;
	padding-bottom: 30px;
}

/* Always vertical align images */
img {
	vertical-align: middle;
}

/* always make bold even bolder */
b {
	font-weight: bolder;
}

/* remove dotted lines around radiobuttons, checkboxes and submit boxes */
:root input:focus, :root button:focus {
	outline: none;
}

/* styles for overlay curtain, to be removed when all content is ready */
#overlay {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color: #ffffff;
	z-index:9999;
}

/* styles for the header */
#header {
	background-color: #ffffff;
	border-bottom: 1px solid #006d6f;
	height: 50px;
	display: none;
}

/* styles for the subheader */
#subheader {
	margin: auto;
	width: 95%;
	max-width: 1130px;
	height: 100%;
	line-height: 50px;
}

/* styles for messages in debug mode (questionname) */
#debug {
	background-color: #006d6f;
	color: #ffffff;
	font-size: 10px;
	padding: 5px;
	text-align: center;
}

/* styles for the content container */
#content {
	margin: auto;
	min-width: 300;
	max-width: 800px;
	font-size: 100%;
	color: #575756;
	line-height: 1.4;
}

/* styles for the subcontent container */
#subcontent {
	background-color: #ffffff;
	border: 0px solid #383838;
	margin-left: 10px;
	margin-right: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

/* styles for the navigation container */
#navigation {
	margin-top: 20px;
	text-align: center;
}

/* navigation buttons */
.mrNext, .mrPrev, .mrStop {
	-webkit-appearance: none;
	cursor: pointer;
	color: #FFFFFF;
	background-color: #006d6f;
	border: 3px solid #006d6f;
	/*border-radius: 2px; */
	margin-bottom: 0px;
	text-align: center;
	vertical-align: middle;
	background-image: none;
	white-space: nowrap;
	padding: 6px 12px;
	font-family: 'Segoe UI', 'Open Sans', Arial, sans-serif !important;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.42857;
	-moz-user-select: none;
	width: auto !important;
}

/* navigation buttons on mouse over */
.mrNext:hover, .mrPrev:hover, .mrStop:hover {
	background-color: #ffffff;
	color: #006d6f;
	border: 3px solid #006d6f;
	width: auto !important;
}


/* styles for single response answers - CVB ADDED */
.nld_SingleResponse_Label {
	border-bottom: 1px solid #EBEFF1 !important;
}

.nld_SingleResponse_Label:hover {
	background-color: #EBEFF1 !important;
	color: #000000;
}

span.mrQuestionTable > .nld_SingleResponse_Container:last-child > .nld_SingleResponse_Label {
	border-bottom: none !important;
}

/* styles for multiple response answers - CVB ADDED */
.nld_MultipleResponse_Label {
	border-bottom: 1px solid #EBEFF1 !important;
}

.nld_MultipleResponse_Label:hover {
	background-color: #EBEFF1 !important;
	color: #000000;
}

span.mrQuestionTable > .nld_MultipleResponse_Container:last-child > .nld_MultipleResponse_Label {
	border-bottom: none !important;
}

.nld_OpenEndCodes_Label:hover {
	background-color: #EBEFF1 !important;
	color: #000000;
}

table.nld_Grid_Categorical .nld_Grid_AnswerCell:hover {
	background-color: #EBEFF1 !important;
}

.nld_CollapsibleGrid_ItemCell:hover {
  background-color: #EBEFF1 !important;
}

.nld_CollapsibleGrid_AnswerCell:hover {
  background-color: #EBEFF1 !important;
}

/* styles for mobile warnings in mobile mode */
/* will not be displayed when mobile mode is off */

#mobile {
	display: none;
	color: #ffffff;
}

@media screen and (max-width: 768px) {
	#mobile {
		border: 1px solid #dddddd; 
		border-radius: 4px; 
		background-color: #383838; 
		margin-bottom: 10px;
		display: block;
		font-size: 12px;
	}
}

/* styles for IE8 or lower message */
/* is off by default, ony switched on when browser is detected by unsupported_ie.css */

#unsupported {
	border: 1px solid #dddddd; 
	border-radius: 4px; 
	background-color: #eeeeee; 
	margin-bottom: 10px;
	display: none;
}

/* styles for error messages generated by error handler */

#errorhandler {
	border: 1px solid #dddddd; 
	border-radius: 4px; 
	background-color: #eeeeee; 
	margin-bottom: 10px;
}

/* progress bar */

	.progressbar {
		border: 1px solid #ffffff; 
		width: 100%; 
		max-width: 300px; 
		height: 22px; 
		margin: auto; 
		margin-top: 20px; 
		margin-bottom: 20px;
		border-radius: 3px;
		font-size: 11px;
		color: #006d6f;
		background-color: #ffffff; 
	}

/* Error texts */

	.mrErrorText {
		display: block;
		padding: 6px;
		color: #d9415c !important;
		font-weight: normal !important;
		border-radius: 3px;
		background-color: #ffe2e2;
		border: 1px solid #ffe2e2 !important;
		margin-top: 20px;
	}

	.nld_Grid_ItemCell .mrErrorText {
		margin: 0px !important;
	}

	.nld_Grid_AnswerCell .mrErrorText {
		margin: 0px !important;
		margin-bottom: 1px !important;
	}

	.nld_SingleResponse_Container .mrErrorText {
		display: inline !important;
		padding: 0px !important;
		background-color: transparent !important;
		border: none !important;
	}

	.nld_MultipleResponse_Container .mrErrorText {
		display: inline !important;
		padding: 0px !important;
		background-color: transparent !important;
		border: none !important;
	}

	.nld_Colum_Categorical_Container .mrErrorText {
		display: inline !important;
		padding: 0px !important;
		background-color: transparent !important;
		border: none !important;
	}

	.nld_Grid_Categorical .nld_Grid_AnswerCell .mrErrorText {
		margin-top: 5px !important;
		margin-bottom: 5px !important;
		width: 100%;
		background-color: transparent;
		border: 0px !important;
	}