/*
formBuilder - git@github.com:kevinchappell/formBuilder.git
Version: 1.6.2
Author: Kevin Chappell <kevin.b.chappell@gmail.com>
*/
* {
	box-sizing: border-box;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input {
	line-height: normal;
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	font: inherit;
	color: inherit;
}

textarea {
	overflow: auto;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.btn-group {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.btn-group > .btn {
	position: relative;
	float: left;
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}

.btn.btn-default {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
	margin-left: -1px;
}

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.btn-group-vertical > .btn.active,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:hover,
.btn-group > .btn.active,
.btn-group > .btn:active,
.btn-group > .btn:focus,
.btn-group > .btn:hover {
	z-index: 2;
}

.btn-primary {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
}

.btn-danger {
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}

.btn-default {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.btn-primary:hover {
	color: #fff;
	background-color: #286090;
	border-color: #204d74;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group .form-control,
.input-group-addon,
.input-group-btn {
	display: table-cell;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
	height: 46px;
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.3333333;
	border-radius: 6px;
}

.input-group .form-control {
	position: relative;
	z-index: 2;
	float: left;
	width: 100%;
	margin-bottom: 0;
}

.input-group {
	position: relative;
	display: table;
	border-collapse: separate;
}

.form-control,
output {
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	display: block;
}

textarea.form-control {
	height: 100px;
}

.form-control {
	height: 34px;
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-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-group {
	margin-bottom: 15px;
	height: auto;
	overflow: hidden;
}

.btn,
.form-control {
	background-image: none;
}

@font-face {
	font-family: 'fontello';
  src: url(data:application/vnd.ms-fontobject;base64,[encoded data, 10688 characters]);
  src: url(data:application/vnd.ms-fontobject;base64,[encoded data, 10688 characters]) format("embedded-opentype"), url(data:application/font-woff;base64,[encoded data, 6088 characters]) format("woff"), url(data:application/x-font-ttf;base64,[encoded data, 10464 characters]) format("truetype"), url(data:image/svg+xml;base64,[encoded data, 9152 characters]) format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
  /* opacity: .8; */
  /* For safety - reset parent styles, that can break glyph codes*/
	font-variant: normal;
	text-transform: none;
  /* fix buttons height, for twitter bootstrap */
	line-height: 1em;
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
	margin-left: .2em;
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
  /* Font smoothing. That was taken from TWBS */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-autocomplete:before {
	content: '\e800';
}

.icon-calendar:before {
	content: '\e801';
}

.icon-checkbox:before {
	content: '\e802';
}

.icon-checkbox-group:before {
	content: '\e803';
}

.icon-radio-group:before {
	content: '\e804';
}

.icon-rich-text:before {
	content: '\e805';
}

.icon-select:before {
	content: '\e806';
}

.icon-text-area:before {
	content: '\e807';
}

.icon-text-input:before {
	content: '\e808';
}

.icon-pencil:before {
	content: '\e809';
}

.icon-attach:before {
	content: '\e80a';
}

.icon-hidden-input:before {
	content: '\e80b';
}

.frmb li {
	clear: both;
	position: relative;
	margin-left: 0;
	margin-bottom: 5px;
	background-color: #fff;
	border-radius: 5px;
	border: 1px solid #fff;
	-webkit-transition: border 250ms ease-in-out;
	transition: border 250ms ease-in-out;
	padding: 6px;
}

.frmb li:hover {
	border: 1px solid #b3b3b3;
}

.frmb li:hover li:hover {
	background: #fefefe;
}

.frmb li.no-fields label {
	font-weight: 400;
}

.frmb li.frmb-placeholder, .frmb li.ui-state-highlight {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#545454+0,000000+75&amp;1+0,0+75 */
    /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #545454), color-stop(75%, transparent));
    /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover, #545454 0%, transparent 75%);
    /* Chrome10+,Safari5.1+ */
    /* Opera 12+ */
    /* IE10+ */
	background: -webkit-radial-gradient(center, ellipse, #545454 0%, transparent 75%);
	background: radial-gradient(ellipse at center, #545454 0%, transparent 75%);
    /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#545454', endColorstr='#00000000',GradientType=1 );
    /* IE6-9 fallback on horizontal gradient */
	border: 0 none;
	-webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	border: 0 none;
	height: 5px;
	visibility: visible;
}

.frmb li.disabled input[type=checkbox] {
	float: left;
	margin-right: 10px;
}

.frmb li.disabled label {
	font-size: 12px;
	font-weight: 400;
	color: #666;
}

.frmb li.disabled .prev-holder {
	cursor: default;
	line-height: 28px;
	padding-left: 5px;
}

.frmb li a.remove {
	opacity: 1;
}

.frmb li.cta {
	font-size: 30px;
	padding: 20% 0;
	text-align: center;
}

.frmb a.btn {
	border: 1px solid #fff;
	color: #000;
	text-decoration: none;
}

.frmb a.del-button, .frmb a.remove {
	position: absolute;
	top: -1px;
	right: -1px;
	display: inline-block;
	opacity: 0;
	border-radius: 0 5px 0 0;
	border-color: #b3b3b3;
}

.frmb a.del-button:hover, .frmb a.remove:hover {
	border-color: #c66865;
	color: #c66865;
}

.frmb li.delete:hover, .frmb li:hover li.delete:hover {
	background-color: #fdd;
}

.frmb.disabled {
	padding: 0 5px;
}

.frmb.disabled :hover {
	border-color: transparent;
}

.frmb.disabled .form-element {
	float: none;
	margin-bottom: 10px;
	overflow: visible;
	padding: 5px 0;
	position: relative;
}

.frmb.disabled .tooltip-element {
	display: inline;
	visibility: visible;
}

.frmb .frm-holder {
	display: none;
}

.frmb .tooltip {
	left: 20px;
}

.frmb .prev-holder {
	display: block;
	height: auto;
	overflow: hidden;
}

.frmb .required_asterisk {
	display: none;
}

.frmb .field-label, .frmb .legend {
	color: #666;
	margin-bottom: 5px;
}

.frmb .disabled .field-label {
	display: block;
}

.frm-fld .field-introduce {
	margin-left: 20px;
	word-break: break-all;
	display: block;
}

.kc-toggle {
	position: relative;
	margin: 4px 0 0 2px;
	width: 60px;
	height: 21px;
	border-radius: 3px;
	cursor: pointer;
	overflow: hidden;
	display: inline-block;
	background: #e9e9e9;
	border: 1px solid #cbcbcb;
	vertical-align: bottom;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.kc-toggle .kct-inner {
	position: absolute;
	top: 0;
	left: -28px;
	width: 115px;
	height: 100%;
	-webkit-transition: left 150ms ease;
	transition: left 150ms ease;
}

.kc-toggle.on .kct-inner {
	background: #e2e2e2;
	background: -webkit-linear-gradient(top, #e2e2e2 0%, #ffffff 100%);
	background: linear-gradient(to bottom, #e2e2e2 0%, #ffffff 100%);
	left: 0;
}

.kc-toggle input {
	display: none;
	position: absolute;
	z-index: -1;
	opacity: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

.kc-toggle
.kct-on {
	color: #12a912;
}

.kct-off {
	color: #666;
}

.kct-on, .kct-off, .kct-handle {
	width: 28px;
	height: 100%;
	font-family: Arial, Tahoma, sans-serif;
	font-size: 12px;
	text-align: center;
	line-height: 22px;
	font-weight: bold;
	float: left;
}

.kct-on, .kct-off {
	position: relative;
}

.kct-handle {
	position: relative;
	height: 17px;
	background: #ffffff;
	background: -webkit-linear-gradient(top, #ffffff 0%, #cecece 100%);
	background: linear-gradient(to bottom, #ffffff 0%, #cecece 100%);
	border: 1px solid #999;
	font-weight: 100;
	color: #4b4b4b;
	text-shadow: none;
	border-radius: 3px;
	margin: 1px;
}

textarea.idea-template {
	display: none;
	width: 617px;
	color: #fefefe;
	font: 13px/19px courier;
	padding-left: 40px;
	height: 1055px;
}

.template-textarea-wrap {
	display: none;
	height: 250px;
	overflow-x: hidden;
	overflow-y: auto;
}

.template-textarea-wrap textarea {
	width: 98%;
	height: 92%;
}

.form-wrap:after {
	content: "";
	display: table;
	clear: both;
}

.cb-wrap, .stage-wrap {
	vertical-align: top;
}

.cb-wrap {
	float: right;
	width: 36%;
}

.stage-wrap {
	position: relative;
	float: left;
	width: 62%;
	margin-right: 2%;
}

.stage-wrap .action-links {
	width: calc( 100% - 141px);
	display: none;
	float: right;
	overflow: hidden;
	text-align: right;
}

.stage-wrap.empty:after {
	content: attr(data-content);
	position: absolute;
	text-align: center;
	top: 50%;
	width: 100%;
	margin-top: -1em;
}

.stage-wrap .action-links .active {
	font-weight: 700;
	color: #000;
}

.action-links .action-links-inner {
	overflow: hidden;
	width: 0;
	height: 20px;
	-webkit-transition: width 250ms;
	transition: width 250ms;
}

.action-links .dev-mode-link {
	-webkit-transition: color 250ms;
	transition: color 250ms;
	color: #666;
	cursor: pointer;
	padding-right: 2px;
}

.cb-wrap h4 {
	margin-top: 0;
	color: #666;
}

.cb-wrap .save:hover {
	color: #08fe00;
}

.stage-wrap h4 {
	margin-top: 0;
	color: #666;
}

.action-links a.clear-all:hover, .del-button:hover, ul.frmb span.required {
	color: #C10000;
}

.action-links a {
	color: #666;
}

.view-xml {
	float: right;
}

.action-links a.view-xml:hover {
	color: #000;
}

.form-elements {
	background: #f7f7f7;
	box-shadow: inset 0 0 2px 0 #999;
	border-radius: 3px;
	margin: 5px 0 0;
	padding: 10px 5px;
}

.form-elements .false-label, .form-elements .fields {
	margin-top: 10px;
}

.form-elements .fields {
	width: 70%;
	float: left;
}

.form-elements .fields .add-area .add {
	clear: both;
}

.form-elements .fields .remove {
	right: 9px;
	top: 9px;
	padding: .2em .6em;
	border-radius: 0 3px 3px 0;
}

.form-elements .sortable-options li:nth-child(1) .remove, .form-elements .sortable-options li:nth-child(2) .remove {
	display: none;
}

ol.sortable-options {
	margin-top: 0;
}

ol.sortable-options li {
	cursor: move;
}

.form-elements .fields div {
	clear: both;
	position: relative;
}

.form-elements .fields input[type=checkbox], .form-elements .fields input[type=radio] {
	float: left;
	margin-right: 5px;
}

.form-elements .fields input[type=text] {
	width: 39%;
	margin-right: 2%;
}

.form-elements input[type=text] {
	width: 70%;
	-webkit-transition: background 250ms ease-in-out;
	transition: background 250ms ease-in-out;
	padding: 5px;
	border: 1px solid #AFAFAB;
	background-color: #fff;
}

.form-elements input[type=text].error {
	border-radius: 0;
	border: 1px solid #C10000;
}

.form-elements input[type=text].fld-max-length {
	width: 10%;
}

.form-elements input.field_error {
	background: #fefefe;
	border: 1px solid #afafab;
}

.form-elements .false-label, .form-elements label {
	width: 18%;
	float: left;
	margin-left: 5px;
	padding-right: 5%;
	font-weight: 700;
	clear: left;
	text-align: right;
	line-height: 32px;
}

.form-elements label.multiple,
.form-elements label.required_label,
.form-elements label.toggle-label,
.form-elements label.roles_label {
	float: none;
	display: inline;
	font-weight: 400;
	width: auto;
}

.form-elements label em {
	display: block;
	font-weight: 400;
	font-size: 0.75em;
}

.form-elements label.max-length-label {
	line-height: 1em;
}

.form-elements .allow-multi input {
	margin-top: 10px;
}

.allow-select .form-elements .allow-multi, .allow-select .form-elements .select-option, .edit-names .form-elements .name-wrap {
	display: block !important;
}

.frm-fld {
	clear: left;
	padding: 5px 0;
}

.frm-fld .available-roles {
	display: none;
	padding: 5px 10px;
	margin: 5px 0 10px 133px;
	width: 434px;
	background: #e6e6e6;
	box-shadow: inset 0 0 2px 0 #999;
}

.form-elements .available-roles label {
	font-weight: 400;
	width: auto;
	float: none;
	display: inline;
}

.form-elements .available-roles input {
	display: inline;
	top: auto;
}

.form-elements, .frm-fld, .multi-row span, textarea {
	display: block;
}

.form-elements:after, .frm-fld:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.form-elements .fields div:hover, .frmb .legend, .frmb .prev-holder, .frmb .prev-holder * {
	cursor: move;
}

.prev-holder input[type=checkbox], .prev-holder input[type=radio] {
	margin-right: 5px;
}

.frmb-tt {
	position: absolute;
	border: 1px solid #262626;
	background-color: #666;
	border-radius: 5px;
	padding: 5px;
	color: gray;
	z-index: 20;
	text-align: left;
	font-size: 12px;
}

.frmb-tt:after, .frmb-tt:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 10px 10px 0;
	border-color: #666 transparent;
	display: block;
	width: 0;
	z-index: 1;
	margin-left: -10px;
	bottom: -10px;
	left: 20px;
}

.frmb-tt:before {
	border-color: #262626 transparent;
	bottom: -11px;
}

.frmb-tt a {
	text-decoration: underline;
	color: #fff;
}

.frmb li.moving, .frmb li.ui-sortable-helper, .frmb-control li.moving, .frmb-control li.ui-sortable-helper {
	-webkit-transition: box-shadow 250ms ease-in-out;
	transition: box-shadow 250ms ease-in-out;
	box-shadow: 2px 2px 6px 0 #666;
	border: 1px solid #fff;
}

.frmb li:hover .del-button, .frmb li:hover .toggle-form {
	opacity: 1;
}

.fresh .frmb .legend .element-info {
	display: inline-block;
	visibility: visible;
	line-height: 12px;
	margin-left: 6px;
}

.frmb-control li {
	cursor: move;
	list-style: none;
	border-radius: 2px;
	margin: 0 0 5px;
	padding: 10px;
	text-align: left;
	background: #fff;
	border: 1px solid #fff;
}

.frmb-control li:before {
	margin-right: 10px;
}

.frmb-control li:hover {
	border: 1px solid #ccc;
}

.frmb-control li.ui-state-highlight {
	background-image: none;
}

.frmb-control, table.form ul.frmb-control {
	margin: 0;
	padding: 0;
	min-width: 208px;
}

.frmb-xml pre.ui-dialog-content {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	font-size: 12px;
	padding: 0 30px;
	margin-top: 0;
}

.action-links a.export-xml:hover, .toggle-form.closed:hover {
	color: #6fc245;
}

a.btn.toggle-form {
	border-radius: 2px;
	margin-left: 5px;
	opacity: 0;
}

a.btn.toggle-form:hover {
	border-color: #cccccc;
}

a.btn.toggle-form:before {
	margin: 0;
}

ul.frmb {
	list-style-type: none;
	min-height: 200px;
	border: 1px solid #efefef;
	margin: 0 0 5px;
	padding: 5px 5px 0;
}

.formb-field-vars .copy-var {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: #999;
	text-indent: -9999px;
}

.formb-field-vars .clipboard {
	background: url("img/clipboard-sprite.png") 50% 0 no-repeat;
}

.formb-field-vars .clipboard.copied {
	background: url("img/clipboard-sprite.png") 50% -27px no-repeat;
}

.ite-warning {
	box-shadow: 1px 1px 4px 0 rgba(50, 50, 50, 0.5);
	border-radius: 0;
	border: 1px solid #ddd;
}

.ite-warning .ui-dialog-buttonpane {
	height: 27px;
}

.ite-warning button {
	color: #4479B9;
	margin: 0;
}

.ite-warning button:focus {
	outline: 0;
	font-weight: 700;
}

.ite-warning button.cancel:before {
	content: "|";
	margin-right: 15px;
	padding: 0;
}

.ite-warning .ui-dialog-content {
	padding: 0 15px 10px;
}

.ite-warning .ui-dialog-titlebar-close {
	display: none;
}

.ite-warning .ui-widget-header {
	height: 15px;
}

.ite-warning {
	font-size: 12px;
	line-height: 1.5em;
}

.ite-warning h3 {
	color: #666;
	margin-bottom: 10px;
}

.ite-warning button {
	background: 0 0;
	padding: 2px 5px;
}

.fb-button {
	padding: 5px 10px;
	background: #00A261;
	color: #fff;
	border-radius: 5px;
	cursor: pointer;
}

.fb-button:hover {
	text-decoration: none;
}

.save-btn-wrap {
	float: left;
	width: auto;
}

.required-asterisk {
	display: none;
	color: #C10000;
}

/*   ------------   TOOLTIP   ------------   */
*[tooltip] {
	position: relative;
}

*[tooltip]:hover:after {
	background: #262626;
	background: rgba(0, 0, 0, 0.9);
	border-radius: 5px 5px 5px 0;
	bottom: 23px;
	color: #fff;
	content: attr(tooltip);
	padding: 10px 5px;
	position: absolute;
	z-index: 98;
	left: 2px;
	width: 230px;
	text-shadow: none;
	font-size: 12px;
	line-height: 1.5em;
}

*[tooltip]:hover:before {
	border: solid;
	border-color: #222 transparent;
	border-width: 6px 6px 0 6px;
	bottom: 17px;
	content: "";
	left: 2px;
	position: absolute;
	z-index: 99;
}

.tooltip-element {
	color: #fff;
	background: #000;
	width: 16px;
	height: 16px;
	border-radius: 8px;
	display: inline-block;
	text-align: center;
	line-height: 16px;
	margin: 0 5px;
	font-size: 12px;
}

.inner-checkbox {
	float: left;
	display: block;
	height: auto;
	overflow: hidden;
	padding-right: 5px;
	line-height: 25px;
}
