.messages {background-color: white /*  can't be transparent */ ; position: relative; top: -28px; padding-top: 20px;}

.ui-select-match-text, .ui-select-match-item {
	overflow: hidden;
	text-overflow: ellipsis;
}

.ui-select-match-text {
	width: 100%;
	padding-right: 20px;
}

.ui-select-match-item {
	display: inline-block;
	max-width: 100%;
}

.ui-select-toggle > .btn.btn-link {
	margin-right: 10px;
	top: 6px;
	position: absolute;
	right: 10px;
}

.ui-select-bootstrap .ui-select-choices-row > a {
    white-space: normal;
}

tr[ui-sref] {
	cursor: pointer;
}

td.removed-change {
	font-weight: normal;
	color: #AAA;
	font-style: italic;
	text-decoration: line-through;
}

/* Override bootstrap default to allow ui-select dropdown to display full width of longest menu item */
.ui-select-bootstrap > .ui-select-choices,
.ui-select-bootstrap > .ui-select-no-choice {
	width: auto;
	min-width: 100%;
	margin-bottom: 1px;
}

/* give invalid inputs and textareas a light-red background */
INPUT.form-control.ng-invalid {
	background-color: #ffefef;
}

textarea.form-control.ng-invalid {
	border: 1px solid red;
	background-color: #ffefef;
}

.wide-table-wrapper {
	overflow-x: auto;
}

.capitalize {text-transform: capitalize;}

.group {margin-bottom: 20px;}

.print_only
{
	display: none;
}

.panel.modal-panel
{
	margin: 10px;
}

@media print {
	.screen_only
	{
		display: none;
	}
	.print_only
	{
		display: block;
		height: auto;
	}
	.form-control
	{
		height: auto !important;
		min-height: 34px;
	}
}

.glyphicon-spin-animate {
	-animation: spin .7s infinite linear;
	-webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	from {
		transform: scale(1) rotate(0deg);
	}
	to {
		transform: scale(1) rotate(360deg);
	}
}

.late-date,
.late-date::after {
  color: #880000;
  font-weight: bold;
}
.late-date::after {
  content: " *";
}
.alert {
	white-space: pre-wrap !important;
}
