/* devBar utils */
#devBar {
	background-image: linear-gradient(135deg, #ffea00 25%, #000000 25%, #000000 50%, #ffea00 50%, #ffea00 75%, #000000 75%, #000000 100%);
	background-size: 20.00px 20.00px;
	top: 0px;
	position: fixed;
	z-index: 999999;
	width: 100%;
	height: 10px;
	line-height: 0em;
	xdisplay: none;
}

#devBar #bootstrapWindowSize div {
	background-color: #ffea00;
	color: black;
	float: left;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 10px;
	line-height: 10px;
	height: 10px;
}

#moreFileInfo {
	background-color: black;
	color: #ffea00;
	text-transform: uppercase;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
	display: inline-block;
	font-size: 10px;
	line-height: 10px;
}

#moreFileInfo a {
	font-weight: bold;
	color: #ffea00;
}
/* /devBar */






/* main navbar */
header nav .profile-image {
	width: 20px;
	height: 20px;
}

.navbar-brand {
	margin-right: 0px;
}
/* /main navbar */




/* footer */
footer {
	min-height: 1rem;
	text-align: center;
	font-size: 0.5rem;
	background-color: #f1f1f1;
	color: #818181;
	margin-top: 1rem;
	padding: 4px 4px;
	text-transform: uppercase;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
}

.footerInfo .infoTitle {
	xmargin-left: 20px;
}

.deleteButtonWrapper {
	text-align: right;
}

.voidButtonWrapper {
	text-align: right;
}

.footerInfo {
	text-align: center;
	color: #a7a7a7;
}
/* /footer */







/* sidebar */
main.wrapper {
	display: flex;
	width: 100%;
	align-items: stretch;
}

#idSearch {
	cursor: pointer;
}

#sidebar {
	min-width: 200px;
	max-width: 200px;
	min-height: 100vh;
	transition: all 0.3s;
	margin-top: -1rem;
}

#sidebar.active {
	margin-left: -200px;
}

#sidebar .nav-link {
	margin-left: -15px;
	margin-right: -15px;
	padding-left: 31px;
	padding-right: 30px;
}

#sidebar .nav-link:hover {
	background-color: #d9d9d9;
}

#sidebar a.active {
	background-color: #e1e1e1;
}

@media (max-width: 575px) {
	#sidebar {
		margin-left: -200px;
	}
	#sidebar.active {
		margin-left: 0px;
	}
}

#sidebar {
	background-color: #f5f5f5;
	padding: 20px 0px;
}
/* /sidebar */









/* here comes the general */
body {
	padding-top: 55px; /* height of masthead */
}

main {
	padding-top: 15px;
	padding-bottom: 2rem;
}

h1 {
	xfont-weight: lighter;
	margin-top: 0px;
	font-size: 32px;
}

h1 small {
	xfont-weight: lighter;
	font-size: 45%;
	color: #b0b0b0;
}


h2 {
	xfont-weight: lighter;
	margin-top: 0px;
}

p.caption {
	font-size: 0.8em;
	color: #9c9c9c;
}

label + p.caption {
	margin-top: -0.5rem;
}

label + .caption {
	margin-top: -0.5rem;
}

.alert { /* the notification */
	text-align: center;
}

form label {
	font-weight: bold;
	xfont-weight: lighter;
}

form input[type="checkbox"] + label {
	font-weight: normal;
}

.caption {
	font-size: 0.8rem;
	margin-bottom: 0px;
	color: #8f8f8f;
}

label.required .fa-asterisk {
	color: red;
	font-size: 0.6rem;
	vertical-align: text-top;
}

.searchButtonWrapper {
	text-align: right;
}

.bg-light .btn-light {
	border-color: #ced4da;
	background-color: #ffffff;
}
/* /here comes the general */





/* editor */
.infoBlock {
	white-space: nowrap;
}

.infoTitle {
	color: #a7a7a7;
	display: inline;
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: bold;
}

.infoTitle:after {
	content: ":";
}

.info {
	display: inline;
}

h1 small {
	color: #b0b0b0;
}

.editorHeaderButtons {
	text-align: right;
	white-space: nowrap;
}

#editorHeader {
	border-bottom: 1px solid rgba(237, 237, 237, 0.9);
	margin-bottom: 20px;
}

/*
#editorHeader.affix {
	background-color: rgba(237, 237, 237, 0.9);
	z-index: 1029;
	width: 100%;
	left: 0px;
	margin-left: 0px;
	padding-top: 10px;
}
*/

#editorHeader.floating {
	padding-top: 0.5rem;
	xpadding-bottom: 0.5rem;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
}

#editorHeader.floating + .row {
	xmargin-top: 65px;
}

#editorHeader.floating {
	background-color: rgba(237, 237, 237, 0.9);
	position: fixed;
    top: -100px;
    width: 100%;
    z-index: 1029;
    transition: top 0.5s ease 0s;
    -webkit-transition: top 0.5s ease 0s;
    -moz-transition: top 0.5s ease 0s;
    -o-transition: top 0.5s ease 0s;
}

#editorHeader {
	border-bottom: 1px solid rgba(237, 237, 237, 0.9);
	margin-bottom: 20px;
}

.bootstrap-datetimepicker-widget {
	box-shadow: 0px 0px 10px #c9c9c9;
}
/* /editor */










/* buttons */
.btn-outline-primary {
	background-color: #ffffff;
}

.btn-group-xs > .btn, .btn-xs { /* -xs doesn't exist in bs4 */
	padding: 0.3rem 0.3rem;
	font-size: 0.6rem;
	line-height: 0.5;
	border-radius: 0.15rem;
}
/* /buttons */








/* form field overrides */
.custom-select.is-valid, .form-control.is-valid, .was-validated .custom-select:valid, .was-validated .form-control:valid {
/* .custom-select.is-invalid, .form-control.is-invalid, .was-validated .custom-select:invalid, .was-validated .form-control:invalid { */
	border-color: #ced4da;
}

.custom-select.is-valid:focus, .form-control.is-valid:focus, .was-validated .custom-select:valid:focus, .was-validated .form-control:valid:focus {
/* .custom-select.is-invalid:focus, .form-control.is-invalid:focus, .was-validated .custom-select:invalid:focus, .was-validated .form-control:invalid:focus { */
	border-color: #ced4da;
	box-shadow: 0 0 0 0;
}

.form-control.is-valid, .was-validated .form-control:valid {
	background-image: none; /* remove checkbox from valid fields */
}
/* /form field overrides */








/* Bootstrap Toggle v2.2.2 corrections for Bootsrtap 4 */
.toggle-off {
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.toggle.off {
	border-color: rgba(0, 0, 0, 0.25);
}

.toggle-handle {
	background-color: white;
	border: thin rgba(0, 0, 0, 0.25) solid;
}







/* datatables */
.dt-bootstrap4 .buttonBar button {
	margin-right: 4px;
	border-color: #dee2e6;
	background-color: #ffffff;
	color: #6c757d;
	border-radius: 0.25rem !important;
}

table.dataTable thead th {
	white-space: nowrap;
}

table.dataTable tr.unpublished {
	color: #b4b4b4;
}

table.dataTable tr.futureRow {
	font-style: italic;
}

table.dataTable .gripper {
	cursor: move;
}

table.dataTable tr.even:hover,
table.dataTable tr.odd:hover {
	background-color: #d9edf7;
	cursor: pointer;
}

table.dataTable thead .sorting:after { /* only show the sorter icons when the row is actually sorting */
	content: none;
}

.tableUtils {
	margin-top: 10px;
	font-size: 85%;
}

.nowrapDate {
	white-space: nowrap;
}

.multiselect-container>li>a>label {
	padding-left: 15px;
}

th.dt-center, td.dt-center {
	text-align: center;
}

table.dataTable td.control {
	width: 20px;
	min-width: 20px;
}

table.dataTable.dtr-column>tbody>tr>td.control:before,
table.dataTable.dtr-column>tbody>tr>th.control:before {
	box-shadow: 0px 0px 0px black;
	border: 0px;
	width: 20px;
	background-color: transparent;
	font-family: inherit;
	font-size: 2em;
	color: inherit;
	content: "▸";
}

table.dataTable.dtr-column>tbody>tr.parent td.control:before,
table.dataTable.dtr-column>tbody>tr.parent th.control:before {
	content: "▾";
	background-color: transparent;
}

/* responsive subtable should be 100% wide */
table.dataTable>tbody>tr.child ul.dtr-details {
	display: block;
}

.dataTables_wrapper .totalRecords {
	font-size: 0.8em;
}

/* small screens */
@media (max-width: 767px) {
	.tableUtils {
		text-align: center;
		margin-bottom: 1em;
	}
}
/* /datatables */






/* special links */
.downloadLink {
	text-transform: uppercase;
}
/* /special links */





/* dropzone */
.dropzone {
	border: 0px;
	background-color: transparent;
	padding: 0px;
	min-height: 50px;
}

.dropzone .dz-preview,
.dropzone .dz-preview .dz-image {
	width: 100%;
	height: auto;
	margin: 0px;
	border-radius: 0px;
}

.purchaseOrder .dz-preview .dz-image {
	max-height: 500px;
	overflow-y: auto;

}

.dropzone .dz-preview .dz-image img {
	width: 100%;
}

.dropzone .dz-message {
	margin: 0px;
	padding-top: 2em;
	padding-bottom: 2em;
	border: 1px solid silver;
}

.dropzone .dz-details {
	display: none;
}

.dropzone .dz-preview .dz-error-message {
	color: white;
	left: auto;
	width: auto;
	top: 120px;
}

.dropzone .dz-preview .dz-remove {
	font-size: 0.8em;
}

.dropzone .dz-preview:hover .dz-image img {
	-webkit-transform: inherit;
	-moz-transform: inherit;
	-ms-transform: inherit;
	-o-transform: inherit;
	transform: inherit;
	-webkit-filter: inherit;
	filter: inherit;
}

.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
	top: 50px;
}

.dropzone .dz-preview.dz-image-preview {
	background-color: transparent;
}
.select-form-control {
	display: block;
	width: 100%;
	height: calc(1.5em + .75rem + 2px);
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* /dropzone */