﻿
/*=== Default stylings ========================================================================*/
.surveybody .errorMessage {
	width: 100%;
	color: red;
	font-weight: bold;
}

.surveybody .inputError {
	border-color: red;
}
.surveybody input[type="submit"] {
	-webkit-appearance: none;
}

.surveybody input, .surveybody select, .surveybody textarea { border: 1px solid darkgray; }
.surveybody select, .surveybody option { color: black; }
	.surveybody select.placeholder { color: gray; }
	.surveybody input[type='text'][readonly] { background-color: #e0e0e0 !important; }

.surveybody label { 
	display: inline;
	font-size: unset;
}

.surveybody p {
	display: block;
	margin: 0;
}

.surveybody .radiocheck { display: none; }
#lbl_survey_form > p { display: none; }

/*=== Theme A - Modern ========================================================================*/
.surveybody.modern { padding: 5px; }

/* selects, textareas */
.surveybody.modern .arr_side select {
	width: 80%;
}

.surveybody.modern .arr_over select,
.surveybody.modern .arr_over textarea {
	margin-top: 5px;
}

.surveybody.modern select,
.surveybody.modern textarea,
.surveybody.modern input[type='text'],
.surveybody.modern .radiocheck {
	-moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 1px 0px,rgba(0, 0, 0, 0.25) 0 1px 1px inset;
	-webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 1px 0px,rgba(0, 0, 0, 0.25) 0 1px 1px inset;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 1px 0px,rgba(0, 0, 0, 0.25) 0 1px 1px inset;
}

.surveybody.modern select,
.surveybody.modern textarea,
.surveybody.modern input[type='text'] {
	font-size: 14px;
	width: 90%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	-o-transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	-webkit-transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.surveybody.modern select {
	padding: 7px 8px;
	margin-bottom: 5px;
}

.surveybody.modern textarea {
	padding: 7px 12px;
}

.surveybody.modern .rbTable input[type='text'],
.surveybody.modern .cbTable input[type='text'] {
	position: absolute;
	font-size: 12px;
	padding: 3px 5px;
	min-height: 0;
	width: unset;
}

.surveybody.modern select:focus,
.surveybody.modern textarea:focus,
.surveybody.modern input[type='text']:focus,
.modern input[type="checkbox"]:focus + .radiocheck,
.modern input[type="radio"]:focus + .radiocheck {
	outline: none;
	border-color: #4d90fe;
	-moz-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 1px inset, #4d90fe 0 0 5px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 1px inset, #4d90fe 0 0 5px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 1px 1px inset, #4d90fe 0 0 5px;
	background-color: white;
}

/* checkboxes, radio buttons, rankings */
.surveybody.modern input[type="checkbox"],
.surveybody.modern input[type="radio"] {
	height: 0;
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.surveybody.modern .cbTable,
.surveybody.modern .rbTable,
.surveybody.modern .rankTable {
	padding-bottom: 5px;
}
	.surveybody.modern .cbTable tr,
	.surveybody.modern .rbTable tr,
	.surveybody.modern .rankTable tr {
		vertical-align: baseline;
	}
		.surveybody.modern .cbTable td,
		.surveybody.modern .rbTable td,
		.surveybody.modern .rankTable td {
			height: 16px;
		}

.surveybody.modern .radiocheck {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 5px 1px 0;
	background-color: white;
	border: 1px solid gray;
	vertical-align: middle;
}
	.surveybody.modern input[type="checkbox"]:hover + .radiocheck,
	.surveybody.modern input[type="radio"]:hover + .radiocheck {
		background-color: #e4e4e4;
	}
	.surveybody.modern input[type="checkbox"]:active + .radiocheck,
	.surveybody.modern input[type="radio"]:active + .radiocheck {
		background-color: #ccc;
	}

.surveybody.modern input[type="checkbox"] + .radiocheck {
	-moz-border-radius: .1875em;
	-webkit-border-radius: .1875em;
	border-radius: .1875em;
}
	.surveybody.modern input[type="checkbox"]:checked + .radiocheck {
		background-image: url(../images/icons/check-black.png);
		background-position: center center;
		background-repeat: no-repeat;
	}

.surveybody.modern input[type="radio"] + .radiocheck {
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
	.surveybody.modern input[type="radio"]:checked + .radiocheck {
		background-image: url(../images/icons/circle-black.png);
		background-position: center center;
		background-repeat: no-repeat;
	}
	
.surveybody.modern .radiocheck + label,
.surveybody.modern .rankNum + label {
	vertical-align: middle;
}

.surveybody.modern .rankTable input.rankNum {
	padding: 2px 0;
	vertical-align: -2px;
}


/* submit */
.surveybody.modern input[type="button"]:focus {
	outline: none;
}

.surveybody.modern #btn_submit {
	padding: 8px 15px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border-width: 0;
	color: white;
	text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 2px;
	-moz-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
}

	.surveybody.modern #btn_submit:hover {
		-moz-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(0, 0, 0, 0.15);
		-webkit-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(0, 0, 0, 0.15);
		box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(0, 0, 0, 0.15);
	}

	.surveybody.modern #btn_submit:active {
		-moz-box-shadow: inset 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(0, 0, 0, 0.3);
		-webkit-box-shadow: inset 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(0, 0, 0, 0.3);
		box-shadow: inset 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(0, 0, 0, 0.3);
	}

	.surveybody.modern #btn_submit.lightBackground {
		color: black;
		text-shadow: rgba(0, 0, 0, 0.2) 1px 1px 1px;
		border: 1px solid gray;
		border: 1px solid rgba(0, 0, 0, 0.4);
	}

	.surveybody.modern #btn_submit.darkBackground {
		-moz-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
		-webkit-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
		box-shadow: inset 0 -1px rgba(0, 0, 0, 0.4);
	}

		.surveybody.modern #btn_submit.darkBackground:hover {
			-moz-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(255, 255, 255, 0.12);
			-webkit-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(255, 255, 255, 0.12);
			box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 0 0 50px rgba(255, 255, 255, 0.12);
		}

		.surveybody.modern #btn_submit.darkBackground:active {
			-moz-box-shadow: inset 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 50px rgba(255, 255, 255, 0.25);
			-webkit-box-shadow: inset 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 50px rgba(255, 255, 255, 0.25);
			box-shadow: inset 0 1px rgba(0, 0, 0, 0.6), inset 0 0 0 50px rgba(255, 255, 255, 0.25);
		}
