/* Only put items relating to the layout of taking surveys in here.  It's only called there. */

body {
	margin: 0;
	padding: 0;
	color: #555;
	/*font: normal 10pt Arial,Helvetica,sans-serif;*/
	/*font-family: Arial,Helvetica,sans-serif;*/
	font-size: 18px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
	background: #5AAD34;
	text-align: initial;
}

#tsErrorPage,
#finishedPage {
	text-align: center;
	margin-top: 3em;
	margin-bottom: 150px;
	font-size: 26px;
}

#tsErrorPage #tsErrorMessage,
#finishedPage #finishedPageContainer {
	padding: 25px;
	background-color: #FFF;
	max-width: 480px;
	margin: 0 auto;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	font-family: Arial, Helvetica, sans-serif;
}

#finishedPage #finishedPageContainer #finishedThankYou {
	margin-top: 30px;
	margin-bottom: 45px;
	font-weight: bold;
}

#finishedPage #finishedPageContainer #finishedAction {
	font-size: 13px;
	margin-bottom: 25px;
}

#tsErrorMessage #tsErrorFooter {
	font-size: 14px;
	margin-top: 10px;
}

#pageContainer {
	margin-left: 20px;
	margin-right: 20px;
}

#page {
	margin-top: 20px;
	margin-bottom: 5px;
	background-color: transparent;
	padding-left: 0;
	padding-right: 0;
	border-radius: 2px;
}

div.element {
	/*padding: 25px 12px 20px 12px;*/
	/*margin: 25px 12px 20px 12px;*/
	margin: 18px 8px 13px 8px;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 20px;
	padding-right: 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-khtml-border-radius: 5px;
}

div#surveyTitle {
	/*background-color: #000000;*/
	color: #FFFFFF;
	font-family: arial, sans-serif;
	font-size: 30px;
	padding-top: 35px;
	padding-right: 25px;
	padding-left: 25px;
	padding-bottom: 35px;
	border-radius: 3px 3px 0 0;
}

div#pageTitle {
	background-color: #F0F0F0;
	color: #151515;
	font-family: arial, sans-serif;
	font-size: 20px;
	padding-top: 11px;
	padding-right: 25px;
	padding-left: 25px;
	padding-bottom: 11px;
}

/* Turn off the number field dial */
input[type=number] {
	-moz-appearance:textfield;
}

#footer {
	padding: 20px;
	margin: 50px 20px 20px 20px;
	font-size: 16px;
	text-align: center;
}

#footer img#miniLogo {
	margin-top: 10px;
}

div.navPageButtons {
	text-align: center;
	margin-top: 75px;
}

/* Checkbox / radio button formatting */
/*.imageQuestionInput2 input[type="radio"],*/
/*.imageQuestionInput2 input[type="checkbox"],*/
/*.form-check input[type="radio"],*/
/*.form-check input[type="checkbox"],*/
.questionField input[type="radio"],
.questionField input[type="checkbox"] {
	opacity: 0;
	visibility: hidden;
}

.questionField .form-check.mcOption {
	padding-left: 0;
}

.questionField .d-inline-block.mcHorizontal {
	margin-right: .75rem;
}
/** This needs to be right after the above **/
.rtl .questionField .d-inline-block.mcHorizontal {
	margin-right: inherit;
	margin-left: .75rem;
}
.rtl .questionField .d-inline-block.mcOption.mcHorizontal {
	padding-left: 1rem;
	margin-left: 0;
}

.ratingOption input.form-check-input,
.mcOption input.form-check-input {
	height: 20px;
	width: 20px;
	z-index: -1;
	margin-left: 0;
}

.mcOption label.form-check-label {
	/*display: block;*/
	display: flex;
	align-items: center;
	margin-left: -6px;
	margin-right: -6px;
	padding: 3px 7px 3px;
	cursor: pointer;
}

.ratingOption label.form-check-label {
	display: block;
	margin-left: -3px;
	margin-right: -3px;
	padding: 4px 5px 4px;
	cursor: pointer;
}

.ratingOption label.form-check-label:hover,
.mcOption label.form-check-label:hover {
	background-color: #feffb7;
	border-radius: 3px;
}

.mcOption.mcVertical + .mcOtherText {
	margin-left: 30px;
}
/** This needs to be after the above **/
.element .d-inline-block.mcHorizontal + .element.rtl .mcOtherText {
	margin-right: 30px;
	margin-left: inherit;
}

.checkboxButtonOutline {
	content: "";
	display: block;
	height: 20px;
	width: 20px;
	border: 1px solid #acacac;
	border-radius: 2px;
	background-color: white;
	margin: 4px 9px 0 0;
	/*position: relative;*/
	/*float: left;*/
	position: absolute;
}
/** This needs to be after the above **/
.element.rtl .checkboxButtonOutline {
	margin: 4px 0 0 9px;
	float: right;
}
.element.elem_mc.rtl .imageQuestionCheck2.checkboxButtonOutline,
.element.elem_mc.rtl .imageQuestionCheck.checkboxButtonOutline {
	margin: 0;
	float: left;
}

.radioButtonOutline {
	content: "";
	display: block;
	height: 20px;
	width: 20px;
	border: 1px solid #939393;
	background-color: white;
	border-radius: 50%;
	margin: 0 6px 0 0;
	position: absolute;
}
/** This needs to be after the above **/
.element.elem_mc.rtl .radioButtonOutline {
	/*margin: 4px 0 0 6px;*/
	margin: 0;
}
.element.elem_mc.rtl .imageQuestionCheck.radioButtonOutline {
	margin: 0;
}
/*.element.elem_mc.rtl .radioButtonText {*/
/*	margin-right: 29px;*/
/*}*/
.element.elem_mc.rtl .imageChoice.radioButtonText {
	margin-right: 0;
}

.imageQuestionLabel2.checked .radioButtonOutline,
.imageQuestionLabel2.checked .checkboxButtonOutline,
.form-check-label.checked .radioButtonOutline,
.form-check-label.checked .checkboxButtonOutline {
	background-color: #0CB107;
	border-color: #0CB107;
}

.element:not(.rtl) span.radioButtonText,
.element:not(.rtl) span.checkboxButtonText {
	margin-left: 29px;
	margin-left: 1.8rem;
	/*display: block;*/
}
/** This needs to be after the above line **/
/*.element.rtl .mcVertical span.radioButtonText,*/
/*.element.rtl .mcVertical span.checkboxButtonText,*/
/*.element.rtl .mcHorizontal span.radioButtonText,*/
/*.element.rtl .mcHorizontal span.checkboxButtonText,*/
.element.rtl span.radioButtonText,
.element.rtl span.checkboxButtonText {
	margin-right: 29px;
	margin-right: 1.8rem;
}
/*.element.rtl .mcOption.mcHorizontal span.checkboxButtonText {*/
/*	margin-right: 0;*/
/*}*/

.ratingOption label.form-check-label.focused .radioButtonOutline,
.ratingOption label.form-check-label.focused .checkboxButtonOutline,
.mcOption label.form-check-label.focused .radioButtonOutline,
.mcOption label.form-check-label.focused .checkboxButtonOutline {
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	border: 1px solid rgba(81, 203, 238, 1);
}

.form-check-inline.mcVertical {
	display: inline-block;
}

.form-check-inline .form-check-input {
	position: absolute;
}

table td .form-check.ratingOption {
	padding-left: 0;
}

.questionField table {
	width: 100%;
}

td.tableChoice {
	cursor: pointer;
}

/** Buttons **/
.navPageButtons .btn {
	padding: .6rem 1.7rem;
	font-family: "Open Sans";
}

.questionField .multiselect-container li a label:hover {
	background-color: #feffb7;
}

.questionField button.multiselect.btn {
	white-space: inherit;
	text-align: left;
}

.questionField .multiselect-native-select div.btn-group.show {
	display: block;
}

/** Validation Errors **/
#pageContainer .element .errorMessage {
	color: red;
}

#pageContainer .element .errorMessage label.error {
	margin-top: .5rem;
}

.questionField .errorWrapper {
	border: 1px solid transparent;
}

.questionField.error > input,
.questionField.error > textarea,
.questionField.error .errorWrapper {
	border: 1px solid #ff000017;
	background: #FEE;
	border-radius: 2px;
	color: #3b3b41;
	padding: 6px;
	margin: -6px;
}
/** This needs to be right after the above **/
.questionField.error > textarea,
.questionField.error > input {
	padding: .375rem .75rem;
	margin: 0;
}

form#form #pageContainer .element .questionField.error .sort-handle .hamburger-bar {
	background-color: #3b3b41;
}
.questionField.error tbody tr:nth-child(odd) {
	background: #e6e6e6 !important;
}
.questionField.error tbody tr:nth-child(even) {
	background: transparent !important;
}

/* Progress Bar */
.progressWrapper {
	padding-top: 25px;
	padding-bottom: 25px;
}

.progress {
	position:relative;
	margin-left:auto;
	margin-right:auto;
	width: 250px;
	height: 10px;
}

.progressBar {
	background: #34dc03 none !important;
}

.progressTitle {
	text-align: center;
}

/** Preview **/
#previewHeader {
	background-color: #f9f954;
	padding: 10px 10px 12px 10px;
	color: #000000;
	border:1px solid #FFF;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 20px;
}

#previewHeader .previewExplanation {
	font-size: 16px;
	/*font-weight: normal;*/
	color: #e20000;
}

body.preview {
	padding-top: 50px;
}

.hamburger-bar {
	width: 35px;
	height: 5px;
	background-color: #333;
	margin: 6px 0;
	transition: 0.4s;
}

.form-check-label.imageQuestionLabel:hover {
	cursor: pointer;
}

/** Star Rating **/
.starIconContainer2 .radioButtonOutline {
	position: relative;
	margin: 0;
}
.starIconContainer2 .form-check-input {
	margin: 0;
}

/** Language selection **/
#languageSelectorContainer {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1031;
    /*padding: 5px;*/
}
/** This need to stay right after the above **/
#previewHeader + #languageSelectorContainer {
	top: 67px;
}

/** Survey password protection page **/
#passwordPageContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#passwordPageContainer #surveyPasswordInputGroup {
	margin-top: 120px;
	margin-bottom: 80px;
}

#passwordPageContainer #surveyPasswordInputGroup label {
	display: flex;
	align-items: center;
	font-weight: bold;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 25px;
}

#passwordPageContainer #surveyPasswordInputGroup img {
	width: 25px;
	height: 30px;
}

#passwordPageContainer #surveyPasswordInputGroup span {
	margin-right: 10px;
	margin-left: 10px;
}

#passwordPageContainer #surveyPasswordInputGroup button {
	width: 70px;
	height: 35px;
	margin-top: 10px;
	margin-left: auto;
	float: right;
}

#passwordPageContainer #surveyPasswordInputGroup input#surveyPasswordInput {
	min-width: 300px;
}

#passwordPageContainer .errorMessage.show {
	color: red;
	padding: 5px;
}
