input,select,option,textarea {
	font-size: 1em;
}

.loading-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("images/loading-16-xM3MT3M.gif");
    background-repeat: no-repeat;
    background-position: 0 0;
}
.ui-autocomplete-loading {
	background-color: white;
}
#toggle_help,
.label[for="toggle_help"] {
    float: right;
}

.helpIcon {
    float: right;
    width: 200px;
    text-align: left;
}

.help{
    font-size: .85em;
    font-style: italic;
    font-weight: normal;
    display: block;
    margin: 0 0 .5em 0;
    color: #666;
}

#help_header .help {
    border-radius: 3px;
    padding: .3em .5em;
    font-style: italic;
    background-color: #BED2E8;
}

.form_row {
    margin-bottom: .1em;
    position: relative;
    line-height: 145%;
}

.input-beneath-label .form_row {
    margin: 0 0 .7em 0;
}
.input-beneath-label .form_row>.label {
    width: 100%;
    display: block;
    margin: 0 0 .14em 0;
    line-height: 1;
}
.collection .input-beneath-label .form_row,
.tablecollection .input-beneath-label .form_row {
    padding-right: .5em;
}
.collection .input-beneath-label .form_row:last-child,
.tablecollection .input-beneath-label .form_row:last-child {
    padding-right: 0;
}
.collection .input-beneath-label .form_row>.label,
.tablecollection .input-beneath-label .form_row>.label {
    display: block;
    margin: 0 0 .14em 0;
    line-height: 1;
}

.input-nextto-label {
	margin: 1em 0;
	display: table;
}
.input-nextto-label>.form_row {
    display: table-row;
}
.input-nextto-label>.form_row>.label,
.input-nextto-label>.form_row>input,
.input-nextto-label>.form_row>div {
    display: table-cell;
    vertical-align: top;
    margin-bottom: .7em;
}
.input-nextto-label>.form_row>div {
    width: 90%;
}
.input-nextto-label>.form_row .label {
    line-height: 125%;
    padding-right: 1em;
    width: 10%;
    min-width: 12em;
}
.input-nextto-label>.form_row .label-value {
	width: 100%;
}

.validationerror input,
.validationerror textarea,
.validationerror .chosen-container>*{
	border-color: #b32 !important;
	color: #b32;
}

.validationerror-tooltip ul.errors,
ul.errors {
    background-color: transparent;
    display: block;
    min-width: 18em;
    list-style: none outside none;
    padding: 0;
    margin: .1em 0;
    font-size: .85em;
    line-height: 125%;
}
ul.errors {
    position: absolute;
    top: -3em;
    left: 100%;
}

.validationerror-tooltip ul.errors {
	min-width: 15em;
    box-shadow: 0 0 5px 3px #fff;
}
.validationerror-tooltip ul.errors li,
ul.errors li {
    background-color: #b32;
    color: #fff;
    border-radius: 2px;
    padding: .2em .3em;
    display: block;
}

.validationerror-tooltip.ui-tooltip .ui-tooltip-content,
.validationerror-tooltip.ui-tooltip {
    display: block;
	border: 0px solid transparent !important;
	outline: none;
	border-shadow: none;
	padding: 0;
	margin: 0;
    background-color: transparent;
}

.validationerror {
    border-color: #b32 !important;
    position: relative;
}

button.remove:hover {
    color: #d22;
    border-color: #d22 !important;
}
.label {
    padding: .36em 0;
}
input[type="text"],
input[type="password"],
textarea,
.value
{
    padding: .36em;
    border: 1px solid rgb(188,204,223);
    border-radius: .35em;
} 
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus
{
    border-color: rgb(188,204,223);
} 
input[type="text"]:hover,
input[type="password"]:hover,
textarea:hover
{
    border-color: rgb(188,204,223);
} 
input[type="text"][readonly="readonly"],
input[type="password"][readonly="readonly"],
textarea[readonly="readonly"] {
/*    background-color: #eee;
    color: #666;
    cursor: default;*/
}

input[readonly="readonly"],
textarea[readonly="readonly"],
.value {
    border-style: none !important;
    /*padding: 0 !important;*/
    background-color: transparent;
}
textarea[readonly="readonly"] {
    resize: none !important;
}
textarea {
	overflow: auto;
	outline: none;
}
textarea.autoheight {
	height: 1em;
	width: 100%;
}
