﻿.ext-page .bottom-buttons
{
	padding: 8px 0 24px 0;
	text-align: right;
}


/************************************************************/
/* General													*/
/************************************************************/

body
{
	overflow-x: hidden;
}


/************************************************************/
/* Header													*/
/************************************************************/

@media (max-width: 767px)
{
	.ext-page-inner .ext-page-header
	{
		border-bottom: none !important;
		padding: 24px 0 0 0;
		margin-bottom: 0;
	}
}


/************************************************************/
/* Progress Bar												*/
/************************************************************/

.qn-progress
{
	width: 100%;
	margin: 0;
	padding: 14px 0 20px 0;
	display: flex;
	align-items: center;
}

.qn-progress .qn-progress-info-dsk
{
	margin-right: 16px;
	white-space: nowrap;
}

.qn-progress .qn-progress-info-mbl
{
	display: none;
}

.qn-progress .qn-progress-info-dsk h3,
.qn-progress .qn-progress-info-mbl h3
{
	margin: 0;
	padding: 0;
	line-height: 1.42857143;
}

.qn-progress .qn-progress-bar
{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	box-shadow: none;
	flex-grow: 1;
	height: 12px;
	background-color: #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	overflow: hidden;
	margin-top: 1px;
}

.qn-progress .qn-progress-bar > div
{
	flex: 1;
	height: 100%;
	background-color: #e0e0e0;
}

.qn-progress .qn-progress-bar > div.completed
{
	background-color: #1a9b89;
}

.qn-progress .qn-progress-bar > div.completed:not(.no-click)
{
	cursor: pointer;
}

.qn-progress .qn-progress-bar > div.in-progress
{
	background-color: #ffd700;
}

.qn-progress .qn-progress-bar > div:not(:first-of-type)
{
	margin-left: 3px;
}

@media (max-width: 767px)
{
	.qn-progress
	{
		display: block;
		align-items: center;
		padding: 14px 0 16px 0;
	}

	.qn-progress .qn-progress-info-dsk
	{
		display: none;
	}

	.qn-progress .qn-progress-info-mbl
	{
		display: block;
		margin: 12px 0 0 0;
	}

	.qn-progress .qn-progress-bar
	{
		max-width: none !important;
		height: 5px;
		margin-top: 16px;
	}

	.qn-progress .qn-progress-bar > div:not(:first-of-type)
	{
		margin-left: 1px;
	}
}


/************************************************************/
/* Question And Answer										*/
/************************************************************/

.ext-page .qn-question-and-answer-outer,
.ext-page .qn-introductory-message-outer,
.ext-page .qn-concluding-message-outer
{
	filter: alpha(opacity=0);
	opacity: 0;
}

.ext-page .qn-introductory-message-inner,
.ext-page .qn-concluding-message-outer
{
	margin-bottom: 24px;
}

.ext-page h2.qn-question,
.ext-page .qn-introductory-message-inner h2,
.ext-page .qn-concluding-message-outer h2
{
	margin: 0 0 20px 0;
	padding: 0;
	line-height: 1.65;
	outline: 1px dashed transparent;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.ext-page h2.qn-question
{
	margin: 16px 0 12px 0;
}

.ext-page h2.qn-question > label
{
	padding: 0;
	margin: 0;
}

.ext-page .qn-introductory-message-inner h2,
.ext-page .qn-concluding-message-outer h2
{
	padding-top: 20px;
	line-height: 1.42857143;
}

.ext-page .qn-introductory-message-inner h2
{
	text-align: center;
}

.ext-page .qn-introductory-message-inner > .qn-introductory-images
{
	text-align: center;
	padding: 24px 0 0 0;
}

.ext-page .qn-introductory-message-inner > .qn-introductory-images > div
{
	display: inline-block;
}

.ext-page .qn-introductory-message-inner > .qn-introductory-images > div:not(:first-of-type)
{
	padding-left: 32px;
}

.ext-page .qn-introductory-message-inner > .qn-introductory-images > div:not(:last-of-type)
{
	padding-right: 32px;
}

.ext-page .qn-introductory-message-inner > .qn-introductory-images > div > img
{
	width: 121px;
	height: 121px;
}

.ext-page .qn-introductory-message-inner > .qn-introductory-images > div > h3
{
	padding: 0;
	margin: 12px 0 0 0;
	font-size: 90%;
}

@media (max-width: 767px)
{
	.ext-page .qn-introductory-message-inner
	{
		padding-top: 24px;
		margin-top: 20px;
	}

	.ext-page .qn-introductory-message-inner > .qn-introductory-images > div > h3
	{
		font-size: 80%;
	}
}


/************************************************************/
/* Additinal Question And Answer							*/
/************************************************************/

.qn-additional-qa
{
	display: none;
	overflow: hidden;
	filter: alpha(opacity=100);
	opacity: 1;
	border-top: 2px dashed #d0d0d0;
	margin-top: 32px;
}

.qn-additional-qa:not(.is-active)
{
	filter: alpha(opacity=0);
	opacity: 0;
	height: 0;
}

.ext-page .qn-additional-qa h2
{
	margin-top: 20px;
}


/************************************************************/
/* Answer Controls											*/
/************************************************************/

.qn-answer-ctrl
{
	font-size: 16px;
}

.qn-answer-ctrl > div,
.qn-answer-ctrl > input[type="text"],
.qn-answer-ctrl > textarea,
.qn-answer-ctrl > label
{
	font-size: 100%;
}

@media (max-width: 767px)
{
	.qn-answer-ctrl > div,
	.qn-answer-ctrl > input[type="text"],
	.qn-answer-ctrl > textarea,
	.qn-answer-ctrl > label
	{
		font-size: 90%;
	}
}


/************************************************************/
/* Textbox													*/
/************************************************************/

.qn-textbox .form-control
{
	padding: 10px 16px;
	margin: 0 0 24px 0;
	line-height: 1.65;
}

.qn-textbox input[type="text"].form-control
{
	padding: 20px 16px;
}


/************************************************************/
/* Checkbox	/ Radio											*/
/************************************************************/

.qn-checkboxes,
.qn-radios
{
	margin: 0 0 16px 0;
}

.qn-checkbox,
.qn-radio
{
	padding: 8px 8px 7px 8px;
	margin: 0 0 7px 0;
	line-height: 1.6;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.qn-checkbox:focus,
.qn-checkbox:active,
.qn-checkbox:hover,
.qn-radio:focus,
.qn-radio:active,
.qn-radio:hover
{
	outline: 0 solid transparent;
}

.qn-checkbox.checked,
.qn-radio.checked
{
	border: 1px solid #333;
	background-color: #f0f0f0;
}

.qn-checkbox:focus,
.qn-radio:focus
{
	border: 1px dashed #808080;
}

.qn-checkbox label,
.qn-radio label
{
	position: relative;
	display: table-cell;
	top: -1px;
	left: 10px;
	cursor: pointer;
}

.qn-checkbox > div,
.qn-radio > div
{
	position: relative;
}

.qn-checkbox > div > span:first-of-type > input[type="checkbox"],
.qn-radio > div > span:first-of-type > input[type="radio"]
{
	position: absolute;
	left: 0;
	top: 0;
	height: 1px;
	width: 1px;
	filter: alpha(opacity=0);
	opacity: 0;
	z-index: -1;
}

.qn-checkbox > div > span:first-of-type,
.qn-radio > div > span:first-of-type
{
	padding: 0;
	margin: 0;
}

.qn-checkbox > div > span:first-of-type:after,
.qn-radio > div > span:first-of-type:after
{
	content: '';
	clear: both;
}

.qn-checkbox > div .cheked-icon,
.qn-radio > div .cheked-icon
{
	position: relative;
	display: inline-block;
	float: left;
	width: 24px;
	height: 24px;
	border: 1px solid #808080;
}

.qn-checkbox > div .cheked-icon
{
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.qn-radio > div .cheked-icon
{
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}

.qn-checkbox > div .cheked-icon .fa-check,
.qn-radio > div .cheked-icon .fa-check
{
	position: absolute;
	font-size: 20px;
	line-height: 0;
	top: 50%;
	left: 1px;
	visibility: hidden;
}

.qn-checkbox > div > span:first-of-type > input[type="checkbox"] + .cheked-icon > .fa-check,
.qn-radio > div > span:first-of-type > input[type="radio"] + .cheked-icon > .fa-check
{
	transform: scale(2) rotateZ(-20deg);
	filter: alpha(opacity=0);
	opacity: 0;
}

.qn-checkbox > div > span:first-of-type > input[type="checkbox"] + .cheked-icon > .fa-check
{
	transition: all 0.2s ease-in;
}

.qn-radio > div > span:first-of-type > input[type="radio"] + .cheked-icon > .fa-check
{
	transition: all 0.15s ease-in;
}

.qn-checkbox > div > span:first-of-type > input[type="checkbox"]:checked + .cheked-icon > .fa-check,
.qn-radio > div > span:first-of-type > input[type="radio"]:checked + .cheked-icon > .fa-check
{
	transform: scale(1) rotateZ(0deg);
	filter: alpha(opacity=100);
	opacity: 1;
	visibility: visible;
}

.qn-checkbox > div:focus,
.qn-radio > div:focus
{
	outline: 0 solid transparent;
}

.qn-checkbox > div:focus .cheked-icon,
.qn-checkbox > div:active .cheked-icon,
.qn-radio > div:focus .cheked-icon,
.qn-radio > div:active .cheked-icon
{
	border-color: #66afe9;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.qn-checkbox .cheked-icon,
.qn-radio .cheked-icon
{
	background-color: #fff;
	border-color: #333 !important;
	box-shadow: none !important;
}

@media (max-width: 767px)
{
	.qn-checkbox,
	.qn-radio
	{
		padding-bottom: 9px;
	}

	.qn-checkbox label, .qn-radio label
	{
		top: 0;
	}
}


/************************************************************/
/* Star														*/
/************************************************************/
.qn-stars
{
	width: 100%;
	padding: 0;
	margin: 4px 0 24px 0;
}

.qn-stars > .qn-star-bar
{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	box-shadow: none;
	flex-grow: 1;
	height: 44px;
	background-color: #ccc;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	overflow: hidden;
}

.qn-stars > .qn-star-bar > div
{
	flex: 1;
	background-color: #f0f0f0;
	color: #333;
	cursor: pointer;
	border: 1px solid transparent;
	margin-right: 1px;
}

.qn-stars > .qn-star-bar > div:last-of-type
{
	margin-right: 0;
}

.qn-stars > .qn-star-bar > div:focus
{
	border: 1px dashed #606060;
	outline: 0 solid transparent;
}

.qn-stars > .qn-star-bar > div:first-of-type:focus
{
	border-top-left-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-bottom-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
}

.qn-stars > .qn-star-bar > div:last-of-type:focus
{
	border-top-right-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-bottom-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
}

.qn-stars > .qn-star-bar > div > div
{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.qn-stars > .qn-star-labels
{
	display: table;
	width: 100%;
	margin-top: 12px;
}

.qn-stars > .qn-star-labels > h3
{
	display: table-cell;
	width: 50%;
}

.qn-stars > .qn-star-labels > h3:first-of-type
{
	text-align: left;
}

.qn-stars > .qn-star-labels > h3:last-of-type
{
	text-align: right;
}


/************************************************************/
/* Field Preview                                            */
/************************************************************/

.qn-field-preview.is-first
{
	padding: 8px 0 0 0;
}

.qn-field-preview:not(.is-first)
{
	border-top: 2px dashed #d0d0d0;
	padding: 20px 0 0 0;
}

.qn-field-preview .qn-question
{
	margin: 0 0 4px 0;
	padding: 0;
	font-size: 14px;
	font-weight: bold;
}

.qn-field-preview .qn-question label
{
	padding: 0;
	margin: 0;
	font-weight: bold;
}

.qn-field-preview .qn-textbox .form-control
{
	padding: 8px 12px;
	margin: 0 0 16px 0;
	line-height: 1.42857143;
	font-size: 14px;
}

.qn-field-preview .qn-textbox input[type="text"].form-control
{
	padding: 16px 12px;
}

.qn-field-preview .qn-checkboxes,
.qn-field-preview .qn-radios
{
	margin: 0 0 14px 0;
}

.qn-field-preview .qn-checkbox,
.qn-field-preview .qn-radio
{
	padding: 4px 4px 5px 4px;
	margin: 0 0 4px 0;
	line-height: 1.42857143;
}

.qn-field-preview .qn-checkbox > div .cheked-icon,
.qn-field-preview .qn-radio > div .cheked-icon
{
	width: 21px;
	height: 21px;
	border: 1px solid #808080;
}

.qn-field-preview .qn-checkbox > div .cheked-icon .fa-check,
.qn-field-preview .qn-radio > div .cheked-icon .fa-check
{
	font-size: 17px;
}

.qn-field-preview .qn-checkbox label,
.qn-field-preview .qn-radio label
{
	top: 0;
	left: 4px;
	font-size: 14px;
	font-weight: normal;
}

.qn-field-preview .qn-checkbox.checked label,
.qn-field-preview .qn-radio.checked label
{
	font-weight: bold;
}

.qn-field-preview .qn-stars > .qn-star-bar
{
	height: 32px;
}

.qn-field-preview .qn-stars > .qn-star-bar > div > div
{
	font-size: 14px;
	font-weight: bold;
}

.qn-field-preview .qn-stars > .qn-star-labels
{
	margin-top: 8px;
}

.qn-field-preview .qn-stars > .qn-star-labels > h3
{
	font-size: 13px;
	font-weight: bold;
}

.qn-field-preview .qn-additional-qa
{
	border-top: 1px dashed #d8d8d8;
	padding-top: 14px;
}
