/*
eFormulate, The BRS Elemental Formulator 3.0 (created 11.20.13)
Site built by Blue Ridge Solutions, Inc.
Copyright Blue Ridge Solutions, Inc.
www.blueridges.com
*/

/* Initial Form Setup */
.eF { position:relative; }
.eF label, .eF input, .eF textarea, .eF select, .eF option, .eF button, .eF .button { font:inherit; display:block; }
.eF optgroup option { font-weight:normal; font-style:normal; }

.eF label { font-weight:bold; margin-top:1.5em; line-height:1.5em; clear:both; display:inline-block; vertical-align:top; }
.eF input[type="checkbox"] + label, .eF input[type="radio"] + label { font-weight:normal; clear:none; }

.eF_wrap, .eF fieldset { margin-top:1.5em; }
.eF_wrap:after, .eF fieldset:after { content:""; display:table; clear:both; }
.eF_wrap label:first-child, .eF fieldset label:first-child, .eF label:first-child { margin-top:0; }
.eF_wrap label.lft, .eF fieldset label.lft { padding-right:24px; }
.eF fieldset .lft + .lft { padding-left:0.5em; }
.eF fieldset.inline input, .eF fieldset.inline select { display:inline-block; }
.eF .inline label { line-height:2.5em; }

/* Appearance */
.eF input[type=submit], .eF input[type=button], .eF button, .eF .button, .eF .prompt, .eF input, .eF select, .eF textarea, .eF_input { height:2.5em; padding:0 0.5em; }
.eF select { padding:0.286em 0.5em;  /* subtract border */ }

input, textarea { width:100%; }
.eF input:not([type='submit']), .eF textarea, .eF select, .eF_input { border:0.214em solid #eee; background:#fafafa; }

.eF textarea { height:8em; padding:0.5em; }
.eF textarea.autoheight { height:4em; min-height:4em; max-height:20em; }
.eF textarea.wymeditor { height:35em; }
.eF select { max-width:100%; }
.eF select.full { width:100%; }
.eF select option:after { content:'\0000a0 \0000a0 \0000a0'; /* Adds space between value and menu button where padding is ignored */ }

.eF > .eF_overlay { display:none; }
.eF.loading { overflow:hidden !important; }
.eF.loading > .eF_overlay { display:block; position:absolute; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.2) url(/admin/images/progress1.gif) center no-repeat; z-index:100; }
.eF.loading .submit:before, .eF button.loading:before { content:url(/admin/images/progress1.gif); margin-right:6px; }
.eF_input > textarea { padding:0; margin:0; height:auto; width:100%; line-height:inherit; font-family:inherit; font-size:inherit; border:0; background:transparent; }

.eF_input { line-height:2.072em; }
.eF .button { display:inline-block; line-height:2.5em; } /* Button link, faux button */
.eF input[type=submit], .eF button, .eF .button { width:auto; cursor:pointer; border-width:0; transition:all ease-in-out 0.2s; }
.eF input[type=submit]:hover, .eF button:hover, .eF .button:hover { background:#2f6584; }

.eF *[disabled], .eF *[disabled]:hover, .eF *[readonly], .eF *[readonly]:hover { border-color:#fafafa!important; color:#777!important; background-color:#fafafa!important; cursor:default; }
.eF label.inactive { color:#777; cursor:default; }


.eF input:hover, .eF textarea:hover, .eF select:hover, .eF_input:hover { border-color:#e5e5e5; }
.eF input:focus, .eF textarea:focus, .eF select:focus, .eF_input.focus { border-color:#ccc; }

/* Valid / Invalid */
.eF input[data-valid="0"] { outline:none; box-shadow:none; }
.eF input.seen[data-valid="0"], .eF select[required].seen[data-valid="0"], .eF textarea[required].seen[data-valid="0"] { border-color:#db4c4c; }
.eF input[required].seen[data-valid="1"], .eF select[required].seen[data-valid="1"], .eF textarea[required].seen[data-valid="1"] { border-color:#CCEBCC; }

form.eF .btn_bar .icon-spam, form.eF .btn_bar .icon-checkmark-circle { display:none; }
form.eF[data-valid="1"] .btn_bar .icon-checkmark-circle { display:inline; }
form.eF[data-valid="0"] .btn_bar .icon-spam { display:inline; }

form.eF[data-valid="0"] input[type=submit], form.eF[data-valid="0"] button { cursor:not-allowed; }
form.eF[data-valid="0"] input[type=submit]:hover, form.eF[data-valid="0"] button:hover { background-color:#c00; color:white; }
form.eF[data-valid="1"] input[type=submit]:hover, form.eF[data-valid="1"] button:hover { background-color:#090; color:white; }

.eF label.required:after, .eF input[type="checkbox"][required] + label:after { content:'*'; color:#c00; position:relative; left:2px; }

/* Custom Checkboxes and Radios */
.eF label.checkbox, .eF label.radio { line-height:2.5em; }
.eF input[type="checkbox"]:not(.regular-checkbox), .eF input[type="radio"]:not(.regular-checkbox) { position:absolute; clip:rect(0,0,0,0); width:auto;  }
.eF input[type="checkbox"]:not(.regular-checkbox) + label, .eF input[type="radio"]:not(.regular-checkbox) + label { position:relative; margin-top:0; line-height:1.5em; padding:0.25em 0 0.25em 2em; }
.eF input[type="checkbox"]:not(.regular-checkbox) + label.lft, .eF input[type="radio"]:not(.regular-checkbox) + label.lft { margin-right:1.5em; }
.eF input[type="checkbox"]:not(.regular-checkbox) + label:before, .eF input[type="radio"]:not(.regular-checkbox) + label:before { content:'\00a0'; position:absolute; top:0.25em; left:0; width:1.5em; height:1.5em; line-height:1.5em; background:#f7f7f7; box-shadow:inset 1px 1px 2px rgba(0,0,0,0.15); }
.eF input[type="checkbox"]:not(.regular-checkbox):checked + label:before, .eF input[type="radio"]:not(.regular-checkbox):checked + label:before { content:'\2713'; text-align:center; color:#333; font-weight:bold; }

.eF input[type="checkbox"] + label:before { border-radius:0.15em; }
.eF input[type="radio"] + label:before { border-radius:1.67em; }

/* Image fallback:Needs script to add/remove 'checked' class and images need to be updated with UI */
.ie8 .eF input[type="checkbox"] + label:before, .ie8 .eF input[type="radio"] + label:before {
	display:block; width:1em; height:1em; top:0; border:none; background:none;
}

.eF input[type="checkbox"] + label:hover:before, .eF input[type="radio"] + label:hover:before { box-shadow:inset 1px 1px 2px rgba(0,0,0,0.3); }
.eF input[type="checkbox"]:focus + label:before, .eF input[type="radio"]:focus + label:before { box-shadow:inset 1px 1px 2px rgba(0,0,0,0.5); }

.eF input[type="checkbox"].seen[data-valid="0"] + label:before, .eF input[type="radio"].seen[data-valid="0"] + label:before, .eF input[type="radio"].seen[data-valid="0"] ~ .eF input[type="radio"].seen[data-valid="0"] + label:before { background:#fae5e5; }
.eF input[type="checkbox"].seen[data-valid="0"] + label, .eF input[type="radio"].seen[data-valid="0"] + label { color:#c00; }

/* Custom Range Inputs */
.eF input[type=range] { -webkit-appearance:none; width:100%; background:none; border:0; height:3em; }
.eF input[type=range]:focus { outline:none; }

.eF input[type=range]::-webkit-slider-runnable-track { 		background:#fafafa; border:1px solid #e5e5e5; border-radius:0.3125em; width:100%; height:0.625em; cursor:pointer; }
.eF input[type=range]::-moz-range-track { 					background:#fafafa; border:1px solid #e5e5e5; border-radius:0.3125em; width:100%; height:0.625em; cursor:pointer; }
.eF input[type=range]::-ms-track { 							background:transparent; border-color:transparent; color:transparent;  width:100%; height:0.625em; cursor:pointer; }
.eF input[type=range]::-ms-fill-upper { 					background:#fafafa; border:1px solid #e5e5e5; border-radius:0.625em; }
.eF input[type=range]::-ms-fill-lower { 					background:#eeeeee; border:1px solid #e5e5e5; border-radius:0.625em; }

.eF input[type=range]::-webkit-slider-thumb { background:#e5e5e5; border:1px solid #aaa; border-radius:0.75em; height:1.5em; width:1.5em; cursor:pointer; -webkit-appearance:none; margin-top:-7px; }
.eF input[type=range]::-moz-range-thumb { 	  background:#e5e5e5; border:1px solid #aaa; border-radius:0.75em; height:1.5em; width:1.5em; cursor:pointer; }
.eF input[type=range]::-ms-thumb { 			  background:#e5e5e5; border:1px solid #aaa; border-radius:0.75em; height:1.5em; width:1.5em; cursor:pointer; }

.eF input[data-val="1"]::-moz-range-thumb { background:black!important; }
.eF input[data-val="2"]::-moz-range-thumb { background:#A40002!important; }
.eF input[data-val="3"]::-moz-range-thumb { background:#F38F00!important; }
.eF input[data-val="4"]::-moz-range-thumb { background:#FFDE07!important; }
.eF input[data-val="5"]::-moz-range-thumb { background:#69DD00!important; }

/* Special Formats */
.eF form .join_rgt { margin-right:0; border-top-right-radius:0; border-bottom-right-radius:0; border-right-width:1px; border-right-style:dashed; }
.eF form .join_lft { margin-left:0; margin-right:0; border-top-left-radius:0; border-bottom-left-radius:0; border-left-width:1px; border-left-style:dashed; }

.eF form .join_dwn, form.eF .join_dwn { margin-bottom:0px; margin-bottom:0; border-bottom-right-radius:0; border-bottom-left-radius:0; border-bottom-width:0.107em; }
.eF form .join_up, form.eF .join_up { margin-top:0; border-top-style:dashed; margin-top:0; border-top-right-radius:0; border-top-left-radius:0; border-top-width:0.107em;  }

.eF_help, .eF_msg { display:none; }

/* Compact Form Styles */
.form_hint { color:#888!important; }

.eformulate-tip { position:fixed; }
.eF [data-valid="0"] + .eformulate-tip { margin-top:-2px; line-height:1em; padding:6px 7px; }

.eF input:not([type='submit']), .eF textarea, .eF select, .eF_input {
	border-width: 2px;
}


@media print {

}

/* rules added by briley */
.eF .ef-invalid { border-color:#c00 !important; }
#eF_fieldError { background:#fff; border:1px solid #c00; position:fixed; z-index:10001; padding:0 6px; font-size:11px; border-radius:6px; box-shadow:1px 2px 3px #888; }
#eF_fieldError b { position:absolute; left:50%; top:-4px; width:7px; height:7px; transform:rotate(45deg); border:1px solid #c00; border-width:1px 0 0 1px; background:#fff; }
