
input.dateFilter {
	width: 70px;
}

input.number, input.currency {
	text-align: right;
	width: 70px;
}

form .clear{
    clear: both;
}

fieldset legend {
    color: #444;
    font-size: 1.2em;
    font-weight: bold;
}

select.field {
	 appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background:none; 
    border: none;
    box-shadow: none;
    color: inherit;
    /* needed for Firefox: */
    overflow:hidden;
    
}


label.line { 
    /* margin: 4px 0 3px 0; */
    border: 0;
    font-size: 1.05em;
    line-height: 1.3em;
    font-weight: bold;
    display: block;
    position:relative;
}

label.line > span:first-child {
    font-weight:bold;
    position:absolute;
    left: 0px;
}

label.line > input, label.line textarea, label.line > select, label.line > span.value, label.line > span.field, label.line > div.jqx-widget {
    margin-left: 105px;
    font-weight:normal;
    position:static;
}

.wide label.line > input, .wide label textarea, .wide label select, .wide label span.value, .wide label > span.field,
.wide label > div.jqx-widget,
 label.wide > input, label.wide textarea, label.wide select, label.wide > span.value, label.wide > span.field,
 label.wide > div.jqx-widget {
    margin-left: 150px;
}

label input.multi, label textarea.multi, label select.multi, label span.multi {
    margin-left: 3px;
    font-weight:normal;
    position:static;
}

/* multiple input fields */
label.multi{
    margin-left:auto;
    display:inline-block;
}

label span.descr {
	font-weight: normal;
	margin-left: 5px;
	font-style: italic;
}

label span.next {
	margin-left: 0px !important;	
}

label .action {
	cursor: pointer;
}


label .disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

label span.ui-icon {
	position: absolute;
	display:inline-block;
	top: 5px;
}


input.changed, select.changed, textarea.changed {
	color: #8a6d3b;
	border-color: #8a6d3b;
}

/* invalid fields */
input.error, textarea.error, input.invalid,textarea.invalid,select.invalid, input.missing, select.missing {
	color: #dc3545 !important;
	border-color: #dc3545 !important;
	padding-right: calc(1.5em + .75rem);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(.375em + .1875rem) center;
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

input.error:focus, textarea.error:focus, input.invalid:focus,textarea.invalid:focus,select.invalid:focus {
	border-color: #843534;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}

input.valid {
	/* border-color: rgb(25, 135, 84) !important; */
}

textarea.disabled,input.grayed, input.disabled, select.disabled, select.grayed {
	background-color:#ddd;
}

/* ----- ERRORS ----- */
form li.error{
    background-color: #FFDFDF;
    margin: 3px 0 !important;
}

p.error, li.error label.desc{
	color: #a94442 !important;
}

p.error{
    font-size: 9px !important;
    margin: 1px 0;
}

fieldset {
	padding:5px;
	margin-bottom:5px;
}


fieldset ol li {
    display: list-item !important;
    margin: 0 5px 2px 3px !important;
    padding: 0 !important;
    list-style: inside decimal;
}

.input-overlay {
    right: 10px;
    float: right;
    display: inline-block;
    z-index: 99;
    top: -20px;
    position: relative;
    height: 0px;
}

/* file upload */
.fileUpload .upload .spinner {display:inline-block; background: url("../images/loading.gif"); width:15px; height:15px; vertical-align:text-bottom;}
.fileUpload .upload .status,
.uploadStatus .upload .status {padding-left:5px;}
.fileUpload .upload.done .status,
.uploadStatus .upload.done .status { color:green; }
.fileUpload .upload.failed .status 
.uploadStatus .upload.failed .status { color:red; }


/* grid */
.slick-cell.right {
	text-align: right;
}
.slick-cell .neg {
	color: red;
}

table td.decimal, table td.number  {
	text-align: right;
}

table tbody.selectable td {
	cursor: pointer;
}

table tr.selected  td{
	background-color: #FFEF8F;
}

.wiggle {
  animation: wiggle 0.3s ease-in-out;
}

@keyframes wiggle {
  0% { transform: translateX(0); }
  25% { transform: translateX(4px); }
  50% { transform: translateX(0); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}


/**
 * special dialog/panel actions
 */
 .changeOnly, .createOnly {
 	display: none;
 }
 
 .changeMode .changeOnly {
 	display: inherit;
 }
 
 .createMode .createOnly {
 	display: inherit;
 }
 