.simo-inline-edit {
	font-size: 13px;
}

.simo-inline-edit .loading-spinner {
	top: 10px;
	padding-left: 10px;
}

/* colorize labels */
.simo-inline-edit label {
	color: #808080 !important;
	text-align: left;
}

/* remove margin from form-group to make it more compact */
.simo-inline-edit .form-group {
	margin-bottom: 0;
}

/* colorize errors */
.simo-inline-edit .form-group.has-error {
	color: #a94442 !important;
}

/* error text has to be above the inline field otherwise the error is not readable */
.simo-inline-edit .error-feedback {
    position: relative;
    bottom: 20px;
}

.simo-inline-edit-icon {
	display: none;
	padding-left: 10px;
}

.simo-inline-edit-wrapper:hover .simo-inline-edit-icon {
    display: inline;
}
.simo-inline-edit-wrapper:after {
    content: " ";
    white-space: pre;
}

/* Formatting if a select box is in a table with inline edit */
form.simo-inline-edit table p.form-control-static {
    min-height: unset;
    padding-top: 0;
    padding-bottom: 0;
}

form.simo-inline-edit table	select {
    width: 100%;
}

form.simo-inline-edit table	.form-group {
    width: 100%;
}

/* Formatting table elements in the vertical center */
form table tr.simo-inline-edit-vertical-center > td {
    vertical-align: middle !important;
}

form table tr.simo-inline-edit-vertical-center > td label {
    vertical-align: middle;
}

form table tr.simo-inline-edit-vertical-center > td label input[type=checkbox] {
    vertical-align: middle;
}

.simo-inline-add tr.info {
    background-color: #d9edf7;
}

.simo-inline-add tr.info:hover {
    background-color: #c4e3f3 !important;
}

/* Spacer */
.info .simo-inline-context-menu-spacer {
    height: 45px;
}

.info .simo-inline-add-button-spacer {
    border-top: none;
}

.simo-inline-context-menu-spacer {
    width: 48px;
    display: table-cell;
}

.simo-inline-add-button-spacer {
    width: 50px;
    display: table-cell;
}

.simo-inline-label-spacer {
    margin-left: 15px;
}

.simo-inline-edit input.form-control, .simo-inline-edit .bootstrap-select.form-control {
    height: 30px !important
}

.simo-inline-add-better-errors .has-error p.help-block {
    position: absolute;
    background: #333;
    border-radius: 4px;
    padding: 5px;
    color: #fff;
    display: block;
}
.simo-inline-add-better-errors p.help-block {
    display: none;
}
.simo-inline-edit-better-errors .has-error .error-feedback {
    position: absolute;
    background: #333;
    border-radius: 4px;
    padding: 5px;
    color: #fff;
    display: block;
    bottom: 40px !important;
}
