.modal {
	/* Stop navbar (z-index 1100) appearing over modals */
	z-index: 1101;
}
.inputControlInvalid {
	border-color: red !important;
	outline: 0 none;
}
.inputControlInvalid:focus {
	border-color: red !important;
	outline: 0 none;
	box-shadow: 0 1px 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}
.imageControlInvalid {
	border: 1px solid red;
	border-radius: 5px;
	outline: 0 none;
}
.logitSearchBar {
	background-image: url('../images/questionmarkicon.png'); /* Add a search icon to input */
	background-position: 2px 2px; /* Position the search icon */
	background-repeat: no-repeat; /* Do not repeat the icon image */
	padding-left: 37px;
}
.formValFail {
	width: 100%;
	margin-top: 0.25rem;
	font-size: 90%;
	color: #dc3545;
}
.logitSmallMessage {
	width: 100%;
	margin-top: 0.25rem;
	font-size: 80%;
	color: #001582;
}
textarea[readonly] { 
    background-color: white !important;
}
.logitRed {
	color: red;
}
.logit-clickableRow:hover {
    /* Manually makes the table rows appear to be buttons (hand pointer appears) */
    cursor: pointer;
}
.dataTables_empty {
	/* Overwrite default DataTables table empty message */
	/*display: none;*/
}
.table-bordered {
	/* Override Bootstrap border on tables which is causing strange artifacts using DataTables */
	border: none !important;
}
.highlightedRow {
	background-color: #fffba6 !important;
}
.logit-currentLink {
	background-color: #FF4D4D !important;
	color: white !important;
}
label {
    margin-bottom: 3px;
}
.viewImageModal {
	width: calc(100% - (.5rem * 2)); 
	max-width: 1000px;
}
.checkboxH4 {
	width: 18px;
	height: 18px;
}
.backgroundLightGrey {
	background-color: lightgrey;
}

/* Overrides default selectpicker appearance to match other controls */
.dropdown-toggle:not(:disabled) {
    background-color: white;
}
.dropdown-toggle {
	border:  1px solid #ced4da;
}

/* Fixes empty date fields collapsing */
input[type="date"] {
    min-height: 2.5rem;
}

/* Fixes selectpicker drawing long titles too big (draws it off screen) */
.dropdown-item {
    /* width property is set by jQuery */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add Your Own image */
#imgDisplayImage {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    object-fit: contain;
}


/* Preloader */
.preloader {
	height: 100%;
	width: 100%;
	top: 0;
	bottom: 0;
	position: fixed;
	z-index: 2000;
	background-color: white;
	opacity: 0.9;
	display: flex;
    align-items: center;
    justify-content: center;
}
.loadingIndicator {
  display: inline-block;
  width: 80px;
  height: 80px;
  z-index: 2002;
}
.loadingIndicator:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid red;
  border-color: red transparent red transparent;
  animation: loadingIndicator 1.2s linear infinite;
}
@keyframes loadingIndicator {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Styles <select>'s to display the same as a selectpicker */
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='black'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
    background-size: 9px;
    background-position: calc(100% - 13px) center;
    background-repeat: no-repeat;
}




 /* Temporary Workaround for Bootstrap Select, sourced from https://github.com/silviomoreto/bootstrap-select/issues/1135 */
.bootstrap-select.show>.dropdown-menu>.dropdown-menu {
	display: block;
}

.bootstrap-select > .dropdown-menu > .dropdown-menu li.hidden{
  	display:none;
}

.bootstrap-select > .dropdown-menu > .dropdown-menu li a{
	display: block;
	width: 100%;
	padding: 3px 1.5rem;
	clear: both;
	font-weight: 400;
	color: #292b2c;
	text-align: inherit;
	white-space: nowrap;
	background: 0 0;
	border: 0;
}