/* Stylesheets for default layout, does not include questions and answers */

/* general style on body */
body {
	margin: 0px;
	background-color: #e9e9e9;
	font-family: 'Roboto', 'Segoe UI Semilight', 'Segoe UI', 'Arial', sans-serif;
	padding-bottom: 30px;
}

/* Always vertical align images */
img {
	vertical-align: middle;
}

/* always make bold even bolder */
b {
	font-weight: bolder;
}

.IpsosGreen {
	font-weight: bold;
	color: #008281;
}

/* 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: #e9e9e9;
	z-index:9999;
}

/* styles for the header */
#header {
	background-color: #424d59;
	border-bottom: 1px solid #2c343c;
	height: 50px;
}

/* 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 {
	color: #a7a7a7;
	font-size: 12px;
	padding: 10px;
	text-align: center;
}

/* styles for the content container */
#readability {
	margin: auto;
	min-width: 300px;
	max-width: 1130px;
	font-size: 100%;
	color: #262626;
	line-height: 1.4;
	text-align: right;
}

#readability div {
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 10px;
}

#readability span {
	display: inline-block; 
	text-align: center; 
	cursor: pointer; 
	width: 20px; 
}

/* styles for the content container */
#content {
	margin: auto;
	min-width: 300px;
	max-width: 1130px;
	font-size: 100%;
	color: #262626;
	line-height: 1.4;
}

/* styles for the subcontent container */
#subcontent {
	background-color: #ffffff;
	border: 1px solid #dadada;
	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: #FFF;
	background-color: #49BFBC;
	border-color: #42BCB9;
	border: 1px solid transparent;
	border-radius: 2px;
	margin-bottom: 0px;
	text-align: center;
	vertical-align: middle;
	background-image: none;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 100%;
	line-height: 1.42857;
	-moz-user-select: none;
	width: auto !important;
}

/* navigation buttons on mouse over */
.mrNext:hover, .mrPrev:hover, .mrStop:hover {
	background-color: #3eb0ae;
	width: auto !important;
}

/* styles for mobile warnings in mobile mode */
/* will not be displayed when mobile mode is off */

#mobile {
	display: none;
}

@media screen and (max-width: 768px) {
	#mobile {
		border: 1px solid #dddddd; 
		border-radius: 4px; 
		background-color: #eeeeee; 
		margin-bottom: 10px;
		display: block;
		font-size: 12px;
	}
	#mobile td {
		padding: 6px;
	}
}

/* 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;
}

#unsupported td {
	padding: 6px;
}

/* styles for error messages generated by error handler */

#errorhandler {
	border: 1px solid #dddddd; 
	border-radius: 4px; 
	background-color: #eeeeee; 
	margin-bottom: 10px;
}

#errorhandler td {
	padding: 6px;
}

/* progress bar */

	.progressbar {
		border: 1px solid #d7d7d7; 
		width: 100%; 
		max-width: 300px; 
		height: 22px; 
		margin: auto; 
		margin-top: 20px; 
		margin-bottom: 20px;
		border-radius: 3px;
		font-size: 11px;
		color: #808080;
	}

/* Error texts */

	.mrErrorText {
		display: block;
		padding: 6px;
		color: #d10000 !important;
		font-weight: normal !important;
		border-radius: 3px;
		background-color: #fff5f5;
		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;
	}
