/**
 * Form Stylesheet
 * 
 * @package    Forms
 * @category   CSS
 * @author     Nuwave Team
 * @copyright  Copyright (c) Nuwave Software Ltd
 */

/*!
 * Based off - Bootstrap v3.3.1 (http://getbootstrap.com)
 * Copyright 2011-2014 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*------------------------------------------------------------------------------
 * Form Styles
 *----------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after,
.form:before,
.form:after,
.form form:before,
.form form:after,
.form .ctrl:before,
.form .ctrl:after,
.form .ctrl-body:before,
.form .ctrl-body:after {
	content: " ";
	display: table;
}
.clearfix:after,
.form:after,
.form form:after,
.form .ctrl:after,
.form .ctrl-body:after {
	clear: both;
}
.clear {
	clear: both;
}
.form {
	margin-bottom: 20px;
	min-width: 0;
	max-width: 100%;
}
.form * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.form *:before,
.form *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.form form {
	/*float: left;*/
	max-width: 100%;
}
.form ul,
.form ol,
.form li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.form .form-header {
	margin-bottom: 20px;
}
.form .form-title {
	margin: 0;
}
.form .form-footer {
	padding: 5px 0;
}
.form .hidden-divider .label-text {
    display: none;
}

/*------------------------------------------------------------------------------
 * Response Styles
 *----------------------------------------------------------------------------*/

.form .form-response {
	background: #dff0d8;
	border-radius: 3px;
	color: #3c763d;
	font-weight: bold;
	margin-bottom: 20px;
	padding: 10px;
}
.form .form-response a {
	color: #3c763d;
	text-decoration: underline;
}
.form .form-response.response-danger,
.form .form-response.response-error {
	background: #f2dede;
	color: #a94442;
}
.form .form-response.response-info {
	background: #d9edf7;
	color: #31708f;
}
.form .form-response.response-warning {
	background: #fcf8e3;
	color: #8a6d3b;
}
.form .form-response.response-danger a,
.form .form-response.response-error a {
	color: #a94442;
}
.form .form-response.response-info a {
	color: #31708f;
}
.form .form-response.response-warning a {
	color: #8a6d3b;
}
.form .form-response > *:last-child {
	margin-bottom: 0;
}
.form .form-response .btn {
	background-color: #3c763d;
	background-image: none;
	border-color: #3c763d;
	color: #FFF;
	text-decoration: none;
}
.form .form-response .btn:hover,
.form .form-response .btn:focus,
.form .form-response .btn.focus {
	color: #FFF;
	background: #3c763d;
}
.form .form-response .btn:active,
.form .form-response .btn.active {
	background: #3c763d;
}


/*------------------------------------------------------------------------------
 * Control Styles
 *----------------------------------------------------------------------------*/

.form .ctrl {
	/*clear: both;*/
	margin: 0 0 5px 0;
	/*float: left;*/
}
.form .ctrl:first-child {
	margin-top: 0;
}
.form .ctrl:last-child {
	margin-bottom: 0;
}
.form .ctrl-body {
	/*float: left;*/
	width: 100%;
}
.form .ctrl .ctrl-title {
	margin: 0;
}
.form .ctrl .ctrl-help {
	padding-left: 5px;
}
.form .ctrl-label {
	float: left;
	/*padding-top: 5px;*/
	padding-right: 10px;
	text-align: left;
	width: 250px;
}
.form .ctrl-field {
	border-color: #DDD;
	color: #3C3C3C;
	float: left;
	max-width: 100%;
	min-height: 28px;
	position: relative;
	width: 300px;
}
.form .ctrl-input-group,
.form .ctrl-input-group > * {
	border-color: inherit;
}
/*.form .ctrl-field,
.form .ctrl-field *:not(.btn):not(.list):not(table):not(th):not(td) {
	border-color: #CCC;
}*/
.form .ctrl-error {
	font-size: 0.9em;
	font-style: italic;
}
.form .ctrl-footnote {
	clear: both;
	font-size: 0.9em;
	font-style: italic;
	margin-top: 5px;
}
.form input,
.form button,
.form select,
.form textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}
.form label {
	display: inline-block;
	max-width: 100%;
	/*margin-bottom: 5px;*/
}
.form input[type="search"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.form input[type="radio"],
.form input[type="checkbox"] {
	margin: 4px 0 0;
	margin-top: 1px \9;
	line-height: normal;
}
.form input[type="file"] {
	display: block;
}
.form input[type="range"] {
	display: block;
	width: 100%;
}
.form select[multiple],
.form select[size] {
	height: auto;
}
.form input[type="file"]:focus,
.form input[type="radio"]:focus,
.form input[type="checkbox"]:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
/*.form output {
  display: block;
  padding-top: 7px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
}*/
.form .ctrl-input-group {
	position: relative;
}
.form .ctrl-input {
	background-color: #ffffff;
	background-image: none;
	border: 1px solid;
	border-color: inherit;
	border-radius: 4px;
/*	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);*/
	color: inherit;
	display: block;
	font-size: 12px;
	float: left;
	height: 30px;
	line-height: 1.42857143;
	padding: 6px 6px;
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	width: 100%;
}
.form .ctrl-input:focus {
	border-color: #66afe9;
	outline: 0;
	-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);
}
.form .ctrl-input::-moz-placeholder {
	color: #999999;
	opacity: 1;
}
.form .ctrl-input:-ms-input-placeholder {
	color: #999999;
}
.form .ctrl-input::-webkit-input-placeholder {
	color: #999999;
}
.form .ctrl-input[disabled],
.form .ctrl-input[readonly],
.form fieldset[disabled] .ctrl-input {
	cursor: not-allowed;
	background-color: #eeeeee;
	opacity: 1;
}
.form textarea.ctrl-input {
	height: auto;
}
.form .ctrl-input-custom .ctrl-input-custom-select {
	background-color: #ffffff;
	background-image: none;
	border: 1px solid;
	border-color: inherit;
	border-radius: 4px;
	color: inherit;
	font-size: 12px;
	height: 30px;
	line-height: 1.42857143;
	padding: 6px 6px;
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form .ctrl-input > *,
.form .ctrl-input-custom .ctrl-input-custom-select > * {
	height: 100%;
	line-height: inherit;
	padding: 0;
}
.form input[type="search"] {
	-webkit-appearance: none;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
	.form input[type="date"],
	.form input[type="time"],
	.form input[type="datetime-local"],
	.form input[type="month"] {
		line-height: 34px;
	}
	.form input[type="date"].input-sm,
	.form input[type="time"].input-sm,
	.form input[type="datetime-local"].input-sm,
	.form input[type="month"].input-sm {
		line-height: 30px;
	}
	.form input[type="date"].input-lg,
	.form input[type="time"].input-lg,
	.form input[type="datetime-local"].input-lg,
	.form input[type="month"].input-lg {
		line-height: 46px;
	}
}
.form-group {
	margin-bottom: 15px;
}
.form input[type="radio"][disabled],
.form input[type="checkbox"][disabled],
.form input[type="radio"].disabled,
.form input[type="checkbox"].disabled,
.form fieldset[disabled] input[type="radio"],
.form fieldset[disabled] input[type="checkbox"] {
	cursor: not-allowed;
}
.form .radio-inline.disabled,
.form .checkbox-inline.disabled,
.form fieldset[disabled] .radio-inline,
.form fieldset[disabled] .checkbox-inline {
	cursor: not-allowed;
}
.form .radio.disabled label,
.form .checkbox.disabled label,
.form fieldset[disabled] .radio label,
.form fieldset[disabled] .checkbox label {
	cursor: not-allowed;
}
.form .ctrl-input-static {
	padding-top: 7px;
	padding-bottom: 7px;
	margin-bottom: 0;
}
.form .ctrl-input-static.input-lg,
.form .ctrl-input-static.input-sm {
	padding-left: 0;
	padding-right: 0;
}
.form .input-sm,
.form .form-group-sm .ctrl {
	height: 30px;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}
.form select.input-sm,
.form select.form-group-sm .ctrl-input {
	height: 30px;
	line-height: 30px;
}
.form textarea.input-sm,
.form textarea.form-group-sm .ctrl-input,
.form select[multiple].input-sm,
.form select[multiple].form-group-sm .ctrl-input {
	height: auto;
}
.form .input-lg,
.form .form-group-lg .ctrl-input {
	height: 46px;
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.33;
	border-radius: 6px;
}
.form select.input-lg,
.form select.form-group-lg .ctrl-input {
	height: 46px;
	line-height: 46px;
}
.form textarea.input-lg,
.form textarea.form-group-lg .ctrl-input,
.form select[multiple].input-lg,
.form select[multiple].form-group-lg .ctrl-input {
	height: auto;
}
.form .has-success .help-block,
.form .has-success .ctrl-label,
.form .has-success .radio,
.form .has-success .checkbox,
.form .has-success .radio-inline,
.form .has-success .checkbox-inline,
.form .has-success.radio label,
.form .has-success.checkbox label,
.form .has-success.radio-inline label,
.form .has-success.checkbox-inline label {
	color: #3c763d;
}
.form .has-success .ctrl-input {
	border-color: #3c763d;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.form .has-success .ctrl-input:focus {
	border-color: #2b542c;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.form .has-success .input-group-addon {
	color: #3c763d;
	border-color: #3c763d;
	background-color: #dff0d8;
}
.form .has-success .ctrl-input-feedback {
	color: #3c763d;
}
.form .has-warning .help-block,
.form .has-warning .ctrl-label,
.form .has-warning .radio,
.form .has-warning .checkbox,
.form .has-warning .radio-inline,
.form .has-warning .checkbox-inline,
.form .has-warning.radio label,
.form .has-warning.checkbox label,
.form .has-warning.radio-inline label,
.form .has-warning.checkbox-inline label {
	color: #8a6d3b;
}
.form .has-warning .ctrl-input {
	border-color: #8a6d3b;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.form .has-warning .ctrl-input:focus {
	border-color: #66512c;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}
.form .has-warning .input-group-addon {
	color: #8a6d3b;
	border-color: #8a6d3b;
	background-color: #fcf8e3;
}
.form .has-warning .ctrl-input-feedback {
	color: #8a6d3b;
}
.form .has-error .help-block,
.form .has-error .ctrl-label,
.form .has-error .radio,
.form .has-error .checkbox,
.form .has-error .radio-inline,
.form .has-error .checkbox-inline,
.form .has-error.radio label,
.form .has-error.checkbox label,
.form .has-error.radio-inline label,
.form .has-error.checkbox-inline label,
.form .error-msg {
	color: #a94442;
}
.form .has-error .ctrl-input {
	border-color: #a94442;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.form .has-error .ctrl-input:focus {
	border-color: #843534;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.form .has-error .input-group-addon {
	color: #a94442;
	/*	border-color: #a94442;
		background-color: #f2dede;*/
}
.form .error-msg { 
	display: block;
}
.form .help-block {
	display: block;
	margin-top: 5px;
	margin-bottom: 10px;
	color: #737373;
}

/*------------------------------------------------------------------------------
 * PDF Mode
 *----------------------------------------------------------------------------*/

.form .ctrl.ctrl-mode-pdf .ctrl-input {
	height: auto;
	min-height: 34px;
}

/* makes text area components appear nicely when viewed in PDF */
.form .ctrl.ctrl-mode-pdf .ctrl-html-editor span {
	border: none;
	padding-left: 0;
}

.form .ctrl.ctrl-mode-pdf .ctrl-html-editor ul {
	list-style-type: disc;
	padding-left: 40px;
	margin-bottom: 10px;
}

.form .ctrl.ctrl-mode-pdf .ctrl-html-editor ol {
	list-style-type: decimal;
	padding-left: 40px;
	margin-bottom: 10px;
}

.form .ctrl.ctrl-mode-pdf .ctrl-html-editor ul li,
.form .ctrl.ctrl-mode-pdf .ctrl-html-editor ol li {
	list-style-type: inherit;
}

.form .ctrl.ctrl-mode-pdf .ctrl-html-editor p {
	margin: 1em 0;
}

.form .ctrl.ctrl-mode-pdf .ctrl-html-editor {
	page-break-inside: auto;
}


/*------------------------------------------------------------------------------
 * Helpers
 *----------------------------------------------------------------------------*/

.form .center-block {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.form .pull-right {
	float: right !important;
}
.form .pull-left {
	float: left !important;
}
.form .hide {
	display: none !important;
}
.form .show {
	display: block !important;
}
.form .invisible {
	visibility: hidden;
}
.form .text-hide {
	font: 0/0 a;
	color: transparent;
	text-shadow: none;
	background-color: transparent;
	border: 0;
}
.form .hidden {
	display: none !important;
	visibility: hidden !important;
}
.form .affix {
	position: fixed;
}
.form .required {
	color: #d9534f;
	font-size: 0.6em;
	padding-left: 3px;
	vertical-align: top;
}
.form .required > * {
	vertical-align: top;
}


/*------------------------------------------------------------------------------
 * Control Flags
 *----------------------------------------------------------------------------*/

.form .ctrl.is-hidden {
	display: none !important;
}
.form .ctrl.is-hiding,
.form .ctrl.is-showing {
	display: none;
}
.form.full-width-ctrls .ctrl > * > * > .ctrl-label {
	/*max-width: 550px;*/
	margin-bottom: 5px;
	width: 100%;
}
.form.full-width-ctrls .ctrl > * > * > .ctrl-field {
	/*max-width: 550px;*/
	width: 100%;
}
.form .ctrl.full-width > * > * > .ctrl-label {
	/*max-width: 550px;*/
	margin-bottom: 5px;
	width: 100%;
}
.form .ctrl.full-width > * > * > .ctrl-field {
	/*max-width: 550px;*/
	width: 100%;
}


/*------------------------------------------------------------------------------
 * Positioning
 *----------------------------------------------------------------------------*/

.form.position-top .ctrl-label {
	clear: both;
	text-align: left;
}
.form.position-top .ctrl-field {
	clear: both;
}
.form.position-right > * > .ctrl-label {
	clear: none;
	text-align: right;
}
.form.position-right > * > .ctrl-field {
	clear: none;
}
.form .ctrl.position-top > * > .ctrl-label {
	clear: both;
	text-align: left;
	width: auto;
}
.form .ctrl.position-top > * > * > .ctrl-field {
	clear: both;
}
.form .ctrl.position-right > * > * > .ctrl-label {
	clear: none;
	text-align: right;
}
.form .ctrl.position-right > * > * > .ctrl-field {
	clear: none;
}
.form .ctrl.position-left > * > * > .ctrl-label {
	clear: none;
	text-align: left;
}
.form .ctrl.position-left > * > * > .ctrl-field {
	clear: none;
}


/*------------------------------------------------------------------------------
 * Containers
 *----------------------------------------------------------------------------*/

.form .ctrl.is-container {
	/*	float: none;
		width: auto;*/
	min-height: 0;
}
.form .ctrl.tabset_ctrl {
	margin-bottom: 20px;
}
.form .ctrl.tab_ctrl {
	margin-bottom: 0;
}
.form .ctrl.ctrl-repeatable > * > .ctrl-label {
	float: none;
	margin-bottom: 5px;
	width: 100%;
}
.form .ctrl-child-row {
	border: 1px solid #DDD;
	border-radius: 4px;
	margin-bottom: 20px;
	padding: 15px;
	position: relative;
}
.form .ctrl-child-row .ctrl-row-remove {
	color: #d9534f;
	position: absolute;
	right: 5px;
	top: 5px;
	z-index: 1;
}
.form .ctrl-child-row .ctrl-row-remove:hover,
.form .ctrl-child-row .ctrl-row-remove:focus {
	color: #c9302c;
}


/*------------------------------------------------------------------------------
 * Fieldset
 *----------------------------------------------------------------------------*/

.form fieldset,
.form .ctrl.fieldset {
	border: 0;
	margin: 0 0 20px 0;
	min-width: 0;
	padding: 0;
}
.form fieldset:last-child,
.form .ctrl.fieldset:last-child {
	margin-bottom: 5px;
}
.form legend,
.form .ctrl.fieldset > .ctrl-wrapper > .ctrl-header {
	border: 0;
	border-bottom: 1px solid #DDD;
	display: block;
	line-height: inherit;
	margin: 0;
	padding: 5px 0;
	position: relative;
	width: 100%;
}
.form .ctrl.fieldset > .ctrl-wrapper > .ctrl-descr {
	font-style: italic;
	padding: 10px 10px 0;
}
.form .ctrl.fieldset > .ctrl-wrapper > .ctrl-body {
	padding: 10px 10px 0;
}
.form .ctrl.fieldset > .ctrl-wrapper > .ctrl-body > .ctrl-footer > * {
	float: left;
	margin-left: 0;
	margin-right: 10px;
}
.form .ctrl.fieldset > .ctrl-wrapper > .ctrl-body > .ctrl-footer > .pull-right {
	margin-left: 10px;
	margin-right: 0;
}
.form .ctrl.fieldset.is-expandable > .ctrl-wrapper > .ctrl-header {
	cursor: pointer;
	padding-right: 10px;
}
.form .ctrl.fieldset.is-expandable > .ctrl-wrapper > .ctrl-header .ctrl-showhide {
	position: absolute;
	right: 10px;
	top: 5px;
}
.form .ctrl.fieldset.is-expandable > .ctrl-wrapper > .ctrl-header .ctrl-show {
	display: block;
}
.form .ctrl.fieldset.is-expandable > .ctrl-wrapper > .ctrl-header .ctrl-hide {
	display: none;
}
.form .ctrl.fieldset.is-expandable.is-open > .ctrl-wrapper > .ctrl-header .ctrl-show {
	display: none;
}
.form .ctrl.fieldset.is-expandable.is-open > .ctrl-wrapper > .ctrl-header .ctrl-hide {
	display: block;
}
.form .ctrl.fieldset.is-expandable > .ctrl-wrapper > .ctrl-body {
	display: none;
}
.form .ctrl.fieldset.is-expandable.is-open > .ctrl-wrapper > .ctrl-body {
	display: block;
}


/*------------------------------------------------------------------------------
 * Control Options
 *----------------------------------------------------------------------------*/

.form .ctrl .ctrl-option-label {
	display: block;
	margin: 0;
	width: 100%;
}
.form .ctrl .ctrl-option-label input {
	margin: 0 3px 0 0;
	vertical-align: middle;
}
.form .ctrl .ctrl-option-list {
	background: #FFFFFF;
	border-radius: 3px;
	border-style: solid;
	border-width: 1px;
	/*overflow: hidden;*/
	position: relative;
}
.form .ctrl .ctrl-option-list .ctrl-option-row {
	border-top: 1px solid;
    border-color: inherit;
	overflow: hidden;
}
.form .ctrl .ctrl-option-list .ctrl-option-row:first-child {
	border-top: none;
}
.form .ctrl .ctrl-option-list .ctrl-option-label {
	border-color: inherit;
	border-style: solid;
	border-bottom-width: 0;
	border-left-width: 0;
	border-right-width: 1px;
	border-top-width: 0;
	float: left;
	font-weight: normal;
    margin-bottom: -494px;
	min-height: 28px;
	padding: 6px;
	padding-bottom: 500px;
	width: 100%
}
.form .ctrl .ctrl-option-list .ctrl-option-label:last-child {
	border-right: none;
}
.form .ctrl.is-readonly .ctrl-option-list,
.form .ctrl.is-disabled .ctrl-option-list {
	background: #F5F5F5;
}
.form .ctrl.is-readonly .ctrl-option-list .ctrl-option-label,
.form .ctrl.is-disabled .ctrl-option-list .ctrl-option-label {
	cursor: not-allowed;
}
.form .ctrl.ctrl-option-cols-1 .ctrl-option-list .ctrl-option-label {
	width: 100%;
}
.form .ctrl.ctrl-option-cols-2 .ctrl-option-list .ctrl-option-label {
	width: 50%;
}
.form .ctrl.ctrl-option-cols-3 .ctrl-option-list .ctrl-option-label {
	width: 33.33333333%;
}
.form .ctrl.ctrl-option-cols-4 .ctrl-option-list .ctrl-option-label {
	width: 25%;
}
.form .ctrl.ctrl-option-cols-5 .ctrl-option-list .ctrl-option-label {
	width: 20%;
}
.form .ctrl.ctrl-option-cols-6 .ctrl-option-list .ctrl-option-label {
	width: 16.66666666%;
}


/*------------------------------------------------------------------------------
 * Error Messages
 *----------------------------------------------------------------------------*/

.form .error_ctrl .error-list {
	font-size: 0.9em;
	font-style: italic;
	padding-left: 30px;
}
.form .error_ctrl .error-msg {
	background: #f2dede;
	/*border: 1px solid #a94442;*/
	border-radius: 3px;
	color: #a94442;
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	padding: 10px;
}
.form .error_ctrl .error-msg:last-child {
	margin-bottom: 0;
}
.form .error_ctrl .error-msg a {
	color: #a94442;
	text-decoration: underline;
}
.form .error_ctrl .ctrl-error {
	font-size: 1em;
	font-style: normal;
}
.form .error_ctrl .title {
	font-weight: bold;
}
.form .error_ctrl ul,
.form .error_ctrl li {
	list-style: disc;
}


/*------------------------------------------------------------------------------
 * Other
 *----------------------------------------------------------------------------*/
.form .ctrl-component {
	clear: both;
}
/*.form .ctrl-component > * > * > .ctrl-field {
	float: none;
	width: auto;
}*/
.form .list {
	margin-bottom: 0;
}
.form .code_editor_ctrl {
	
}
.form .code_editor_ctrl .ctrl-field {
	border: 1px solid #DDD;
	width: 100%;
}
.form .ctrl.ctrl-html-editor .ctrl-field {
	width: 100%;
}
.form .ctrl.ctrl-captcha .captcha {
	margin-top: 5px;
}
.form .ctrl.ctrl-date .ctrl-field {
	position: relative;
}
.form .ctrl.ctrl-date:not(.is-readonly) .ctrl-input {
	padding-right: 25px;
}
.form .ctrl.ctrl-date .ui-datepicker-trigger {
	position: absolute;
	right: 5px;
	top: 6px;
	cursor: pointer;
}
.form .scale_ctrl .scale-table {
	border: 1px solid;
	border-color: inherit;
	border-radius: 4px;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
	text-align: center;
	width: 100%;
}
.form .scale_ctrl .scale-table thead tr {
	background: #F5F5F5;
}
.form .scale_ctrl .scale-table tbody tr {
	background: #FFFFFF;
}
.form .scale_ctrl .scale-table td, 
.form .scale_ctrl .scale-table th {
	border: 1px solid #DDD;
	padding: 2px;
	text-align: center;
}
.form .ctrl-multifield > * > * {
	width: auto;
}
.form .ctrl-multifield > * > * > * > .ctrl {
	padding-right: 5px;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
.form .ctrl-multifield > * > * > * > .ctrl:last-child {
	padding-right: 0;
}
.form .ctrl-multifield > * > * > * > .ctrl > * > * > .ctrl-label {
	margin-bottom: 5px;
	width: 100%;
}
.form .ctrl-multifield > * > * > * > .ctrl > * > * > .ctrl-field {
	width: 100%;
}
.form .ctrl.ctrl-color .minicolors {
	width: 100%;
}
.form .ctrl.ctrl-color .ctrl-input {
	height: 28px;
	padding-left: 26px;
	width: 100%;
}
.form .ctrl.ctrl-color .minicolors-swatch {
	top: 6px;
}
.form .ctrl.ctrl-hidden {
	min-height: 0;
	margin: 0;
} 
.form .ctrl.ctrl-file-picker .ctrl-file-descr {
	position: relative;
}
.form .ctrl.ctrl-file-picker .ctrl-file-remove {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
}
.form .ctrl.ctrl-file-picker .ctrl-file-icon {
	display: block;
	height: auto;
	max-width: 100%;
	max-height: 120px;
	width: auto;
}
.form .ctrl.ctrl-file-picker .ctrl-file-name {
	display: block;
	font-weight: bold;
}
.form .ctrl.ctrl-file-picker .component {
	margin: 0 !important;
}

.form .ctrl .ctrl-upload-progress {
	height: 3px;
	overflow: hidden;
	margin-top: 1px;
	position: relative;
	width: 100%;
}

.form .ctrl .ctrl-upload-progress div {
	background: #5cb85c;
	bottom: 0;
	display: inline-block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
/*	-webkit-transition: width .5s;
	transition: width .5s;*/
	width: 0;
}

.form .ctrl.ctrl-label-field .ctrl-prefix {
	padding-right: 3px;
}
.form .ctrl.ctrl-label-field .ctrl-suffix {
	padding-left: 3px;
}
.form .ctrl-content ul {
	list-style-type: disc;
	margin-bottom: 10px;
	padding-left: 40px;
}
.form .ctrl-content ul li {
	list-style-type: disc;
}
.form .ctrl-content ol {
	list-style-type: decimal;
	margin-bottom: 10px;
	padding-left: 40px;
}
.form .ctrl-content ol li {
	list-style-type: decimal;
}
.form .ctrl-divider .ctrl-body {
	border-bottom: 1px solid #DDD;
}

.form .hidden-divider .ctrl-body {
	border-bottom: none !important;
}

/*.form .checkbox_ctrl .ctrl-field label {
	text-align: center;
}*/


/*.form .search_ctrl .tt-query,
.form .search_ctrl .tt-hint {
  width: 396px;
  height: 30px;
  padding: 8px 12px;
  font-size: 24px;
  line-height: 30px;
  border: 2px solid #DDD;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  outline: none;
}*/
/*.form .search_ctrl .tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}*/
.form .typeahead-ctrl .tt-hint {
	color: #999
}
.form .typeahead-ctrl .twitter-typeahead {
	width: 100%;
}
.form .typeahead-ctrl .tt-menu {
	width: 100%;
	margin: 1px 0;
	padding: 0;
	background-color: #fff;
	border: 1px solid;
	border-color: inherit;
	/*border: 1px solid rgba(0, 0, 0, 0.2);*/
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	/*	-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
		-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
		box-shadow: 0 5px 10px rgba(0,0,0,.2);*/
}
.form .typeahead-ctrl .tt-suggestion {
	padding: 6px 12px;
	font-size: 12px;
	line-height: 24px;
}
.form .typeahead-ctrl .tt-suggestion:hover {
	cursor: pointer;
	/*color: #fff;*/
	background-color: #DDD;
}
/*.form .search_ctrl .tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;
}*/
.form .typeahead-ctrl .tt-suggestion p {
	margin: 0;
}
.form .typeahead-ctrl .tt-footer {
	padding: 6px 12px;
}
.form .ctrl.has-clear-btn:not(.is-readonly) .ctrl-input {
	padding-right: 26px;
}
.form .ctrl-clear {
	bottom: 1px;
	color: #CCC;
	cursor: pointer;
	display: none;
	font-family: sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 26px;
	margin-left: -26px;
	position: absolute;
	padding: 0 6px;
	/*right: 1px;*/
	top: 1px;
	z-index: 3;
}
.form .ctrl-clear-btn:hover{
    color: #AAA;
}

.form .ctrl.type-submit {
	clear: none;
	float: left;
	margin-right: 10px;
	/*width: auto;*/
}
.form .ctrl.type-submit .btn-icon {
	font-size: 1.2em;
    margin-right: 5px;
}
.form .ctrl.type-submit .btn-title {
	vertical-align: middle;
}
.form .ctrl.type-submit.pull-right {
	margin-left: 10px;
	margin-right: 0;
}
.form .ctrl.type-submit.full-width {
	clear: both;
	float: none;
	margin-right: 0;
	width: 100%;
}
.form .ctrl.type-submit.full-width .btn {
	width: 100%;
}

/*.form .select2 {
	width: 100%;
}*/
.form .select2 * {
	border-color: inherit;
}
.form .select2 .select2-selection,
.form .select2 .select2-dropdown {
	border-color: inherit;
	color: inherit;
}
/*.select2-container {
	z-index: 999999;
}*/
.select2-container .select2-dropdown {
	border-color: #DDD;
	z-index: 26500;
}
.form .ctrl .select2 .select2-selection .select2-selection__rendered {
	color: inherit;
	line-height: inherit;
}
.form .ctrl .select2.select2-container.select2-container--focus .select2-selection {
	border-color: #66afe9;
	outline: 0;
	-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);
}
.form .ctrl .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #888 transparent transparent transparent;
}

.form.full-width-ctrls .ctrl.ctrl-checkbox-single .ctrl-body,
.form .ctrl.ctrl-checkbox-single.full-width .ctrl-body {
	position: relative;
}
.form.full-width-ctrls .ctrl.ctrl-checkbox-single .ctrl-label,
.form .ctrl.ctrl-checkbox-single.full-width .ctrl-label {
	padding-left: 30px;
}
.form.full-width-ctrls .ctrl.ctrl-checkbox-single .ctrl-field,
.form .ctrl.ctrl-checkbox-single.full-width .ctrl-field {
	position: absolute;
	width: auto;
}
.form.full-width-ctrls .ctrl.ctrl-checkbox-single .ctrl-input-group,
.form .ctrl.ctrl-checkbox-single.full-width .ctrl-input-group {
	position: absolute;
	top: 0;
	width: auto;
}
.form .ctrl-checkbox-single .required {
	padding-left: 0;
	padding-right: 3px;
}

.ui-datepicker {
	z-index: 999999 !important;
}


/*------------------------------------------------------------------------------
 * Dialog Styles
 *----------------------------------------------------------------------------*/

.nu-dialog.nu-form-dialog .nu-dialog-close {
	color: #FFF;
}
.nu-form-dialog .form {
	background: #FFF;
	margin: 0;
}
.nu-form-dialog .form .form-header {
	background: #F0F0F0;
	border-bottom: 1px solid #CCC;
	margin: 0;
	padding: 10px 15px;
}
.nu-form-dialog .form .form-header .title {
	font-size: 18px;
	margin: 0;
	max-width: 600px;
}
.nu-form-dialog .form .form-container {
	padding: 15px;
	margin: 0;
}
.nu-form-dialog .form .form-container .form-container {
	padding: 0;
}
.nu-form-dialog .form .form-footer {
	border-top: 1px solid #CCC;
	padding: 10px 15px 5px;
}
.nu-form-dialog .list .list-body {
	min-width: 0;
}


/*------------------------------------------------------------------------------
 * Helper Styles
 *----------------------------------------------------------------------------*/

.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}
.text-justify {
	text-align: justify;
}
.text-nowrap {
	white-space: nowrap;
}
.text-lowercase {
	text-transform: lowercase;
}
.text-uppercase {
	text-transform: uppercase;
}
.text-capitalize {
	text-transform: capitalize;
}
.text-muted {
	color: #777777;
}
.text-primary {
	color: #428bca;
}
a.text-primary:hover {
	color: #3071a9;
}
.text-success {
	color: #3c763d;
}
a.text-success:hover {
	color: #2b542c;
}
.text-info {
	color: #31708f;
}
a.text-info:hover {
	color: #245269;
}
.text-warning {
	color: #8a6d3b;
}
a.text-warning:hover {
	color: #66512c;
}
.text-danger {
	color: #a94442;
}
a.text-danger:hover {
	color: #843534;
}
.bg-primary {
	color: #fff;
	background-color: #428bca;
}
a.bg-primary:hover {
	background-color: #3071a9;
}
.bg-success {
	background-color: #dff0d8;
}
a.bg-success:hover {
	background-color: #c1e2b3;
}
.bg-info {
	background-color: #d9edf7;
}
a.bg-info:hover {
	background-color: #afd9ee;
}
.bg-warning {
	background-color: #fcf8e3;
}
a.bg-warning:hover {
	background-color: #f7ecb5;
}
.bg-danger {
	background-color: #f2dede;
}
a.bg-danger:hover {
	background-color: #e4b9b9;
}

.vertical-align-left {
	vertical-align: left;
}
.vertical-align-right {
	vertical-align: right;
}
.vertical-align-center {
	vertical-align: middle;
}


/*------------------------------------------------------------------------------
 * Input Group Styles
 *----------------------------------------------------------------------------*/

.form .input-group {
	position: relative;
	display: table;
	border-collapse: separate;
}
.form .input-group[class*="col-"] {
	float: none;
	padding-right: 0;
	padding-left: 0;
}
.form .input-group .ctrl-input,
.form .input-group .ctrl-input-custom {
	border-color: inherit;
	position: relative;
	z-index: 2;
	float: left;
	width: 100%;
	margin-bottom: 0;
}
.form .input-group .ctrl-input:focus,
.form .input-group .ctrl-input-custom:focus {
	z-index: 3;
}
.form .input-group-lg > .ctrl-input,
.form .input-group-lg > .ctrl-input-custom .ctrl-input-custom-select,
.form .input-group-lg > .input-group-addon,
.form .input-group-lg > .input-group-btn > .btn {
	height: 46px;
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.3333333;
	border-radius: 6px;
}
.form select.input-group-lg > .ctrl-input,
.form select.input-group-lg > .ctrl-input-custom .ctrl-input-custom-select,
.form select.input-group-lg > .input-group-addon,
.form select.input-group-lg > .input-group-btn > .btn {
	height: 46px;
	line-height: 46px;
}
.form textarea.input-group-lg > .ctrl-input,
.form textarea.input-group-lg > .ctrl-input-custom .ctrl-input-custom-select,
.form textarea.input-group-lg > .input-group-addon,
.form textarea.input-group-lg > .input-group-btn > .btn,
.form select[multiple].input-group-lg > .ctrl-input,
.form select[multiple].input-group-lg > .ctrl-input-custom,
.form select[multiple].input-group-lg > .input-group-addon,
.form select[multiple].input-group-lg > .input-group-btn > .btn {
	height: auto;
}
.form .input-group-sm > .ctrl-input,
.form .input-group-sm > .ctrl-input-custom ctrl-input-custom-select,
.form .input-group-sm > .input-group-addon,
.form .input-group-sm > .input-group-btn > .btn {
	height: 30px;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}
.form select.input-group-sm > .ctrl-input,
.form select.input-group-sm > .ctrl-input-custom .ctrl-input-custom-select,
.form select.input-group-sm > .input-group-addon,
.form select.input-group-sm > .input-group-btn > .btn {
	height: 30px;
	line-height: 30px;
}
.form textarea.input-group-sm > .ctrl-input,
.form textarea.input-group-sm > .ctrl-input-custom .ctrl-input-custom-select,
.form textarea.input-group-sm > .input-group-addon,
.form textarea.input-group-sm > .input-group-btn > .btn,
.form select[multiple].input-group-sm > .ctrl-input,
.form select[multiple].input-group-sm > .input-group-addon,
.form select[multiple].input-group-sm > .input-group-btn > .btn {
	height: auto;
}
.form .input-group-addon,
.form .input-group-btn,
.form .input-group .ctrl-input,
.form .input-group .ctrl-input-custom {
	display: table-cell;
}
.form .input-group-addon:not(:first-child):not(:last-child),
.form .input-group-btn:not(:first-child):not(:last-child),
.form .input-group .ctrl-input:not(:first-child):not(:last-child),
.form .input-group .ctrl-input-custom:not(:first-child):not(:last-child) .ctrl-input-custom-select {
	border-radius: 0;
}
.form .input-group-addon,
.form .input-group-btn {
	width: 1%;
	white-space: nowrap;
	vertical-align: middle;
}
.form .input-group-addon {
	padding: 6px 12px;
	font-size: 14px;
	font-weight: normal;
	line-height: 1;
	color: #555;
	text-align: center;
	background-color: #F5F5F5;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.form .input-group-addon.input-sm {
	padding: 5px 10px;
	font-size: 12px;
	border-radius: 3px;
}
.form .input-group-addon.input-lg {
	padding: 10px 16px;
	font-size: 18px;
	border-radius: 6px;
}
.form .input-group-addon input[type="radio"],
.form .input-group-addon input[type="checkbox"] {
	margin-top: 0;
}
.form .input-group .ctrl-input:first-child,
.form .input-group .ctrl-input-custom:first-child .ctrl-input-custom-select,
.form .input-group-addon:first-child,
.form .input-group-btn:first-child > .btn,
.form .input-group-btn:first-child > .btn-group > .btn,
.form .input-group-btn:first-child > .dropdown-toggle,
.form .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.form .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.form .input-group-addon:first-child {
	border-right: 0;
}
.form .input-group .ctrl-input:last-child,
.form .input-group .ctrl-input-custom:last-child .ctrl-input-custom-select,
.form .input-group-addon:last-child,
.form .input-group-btn:last-child > .btn,
.form .input-group-btn:last-child > .btn-group > .btn,
.form .input-group-btn:last-child > .dropdown-toggle,
.form .input-group-btn:first-child > .btn:not(:first-child),
.form .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.form .input-group-addon:last-child {
	border-left: 0;
}
.form .input-group-btn {
	position: relative;
	font-size: 0;
	white-space: nowrap;
}
.form .input-group-btn > .btn {
	position: relative;
}
.form .input-group-btn > .btn + .btn {
	margin-left: -1px;
}
.form .input-group-btn > .btn:hover,
.form .input-group-btn > .btn:focus,
.form .input-group-btn > .btn:active {
	z-index: 2;
}
.form .input-group-btn:first-child > .btn,
.form .input-group-btn:first-child > .btn-group {
	margin-right: -1px;
}
.form .input-group-btn:last-child > .btn,
.form .input-group-btn:last-child > .btn-group {
	z-index: 2;
	margin-left: -1px;
}


/*------------------------------------------------------------------------------
 * Password Styles
 *----------------------------------------------------------------------------*/

.form .ctrl .ctrl-progress-bar {
	position: relative;
}
.form .ctrl .ctrl-progress-bar .progress {
	clear: both;
	margin-bottom: 0;
	margin-right: 30px;
	margin-top: 3px;
}
.form .ctrl .ctrl-pwd-hints {
	display: none;
	padding: 0 10px;
	position: absolute;
	right: 0;
	top: 0;
}
.form .ctrl .ctrl-pwd-hints.has-hints {
	display: block;
}


/*------------------------------------------------------------------------------
 * Upload Styles
 *----------------------------------------------------------------------------*/

.form .ctrl.ctrl-form-files .ctrl-upload-header {
	margin-bottom: 10px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-drop {
	background: #F7F7F7;
	display: none;
	margin-bottom: 10px;
	padding: 5px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-drop.has-drop {
	display: block;
}
.form .ctrl.ctrl-form-files .ctrl-field {
	background: #FFFFFF;
	border: 1px solid #DDD;
	border-radius: 3px;
}
.form .ctrl.ctrl-form-files .ctrl-category-row {
	border-bottom: 1px solid #DDD;
	padding: 10px;
	/*margin-bottom: 20px;*/
}
.form .ctrl.ctrl-form-files .ctrl-category-row:last-child {
	/*margin-bottom: 0;*/
	border-bottom: none;
}
/*.form .ctrl.ctrl-form-files .ctrl-category-row.drop-over {
	background: #F5F5F5;
}*/
.form .ctrl.ctrl-form-files .ctrl-category-header {
	margin: 0 0 10px;
	position: relative;
	padding: 0;
}
.form .ctrl.ctrl-form-files .ctrl-category-title {
	/*border-bottom: 1px solid #DDD;*/
	margin: 0 0 5px;
	padding: 0;
}
.form .ctrl.ctrl-form-files .ctrl-category-header .fileinput-button {
	float: right;
	margin: 0 0 0 5px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-drop-wrapper {
	border: 2px dashed #DDD;
	color: #CCC;
	font-size: 20px;
	text-align: center;
	/*min-height: 100px;*/
	/*margin: 65px auto 0;*/
	padding: 10px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-drop.drop-over {
	background: #FFF;
}
.form .ctrl.ctrl-form-files .ctrl-upload-drop.drop-over .ctrl-upload-drop-wrapper {
	border-color: #AAA;
	color: #AAA;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .ctrl-input {
	border-color: #DDD;
	border-right: none;
	/*max-width: 150px;*/
	width: 40%;
}
.form .ctrl.ctrl-form-files .ctrl-category-row.no-sub-cats .ctrl-upload-list .ctrl-input {
	width: 80%;
}
/*.form .ctrl.ctrl-form-files.no-cats .ctrl-upload-list .ctrl-input {
	width: 80%;
}*/
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-loader {
	float: left;
	height: 30px;
	width: 30px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-loader.nuspinner {
	height: 30px;
	width: 30px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-ext {
	float: left;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: normal;
	line-height: 1;
	color: #555;
	text-align: center;
	background-color: #F5F5F5;
	border: 1px solid #DDD;
	border-radius: 4px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.form .ctrl.ctrl-form-files table {
	margin-bottom: 0;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .td-blank {
	width: 0;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .td-download {
	vertical-align: middle;
	width: 40px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .td-file_name {
	vertical-align: middle;
	width: 550px;
	/*min-width: 400px;*/
	overflow-wrap: break-word;
	word-break: break-all;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .td-action {
	width: 80px;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-category,
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-sub-category {
	display: none;
}
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-category.has-cat,
.form .ctrl.ctrl-form-files .ctrl-upload-list .file-sub-category.has-cat {
	display: block;
}
.form .ctrl.ctrl-form-files .ctrl-upload-inputs {
	display: none;
}