#nav-inbox {
	opacity: 0.7;
}

.message-preview {
	position: fixed;
	top: 51px;
	left: 1100px;
	color: #333;
	border: 1px solid #b5a78b;
	background: #fff7cf;
	width: 300px;
	border-radius: 0 0 5px 5px;
	padding: 5px;
	box-shadow: 0px 5px 5px 2px rgba(0, 0, 0, 0.5);
	font-size: 80%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.message-preview .a {
	color: blue;
	text-decoration: underline;
}

.message-preview .a:hover {
	color: darkblue;
	cursor: pointer;
}

#notifications-inbox-page {
	margin: 0 20px;
}

.inbox-threads-list {
	background: #eee;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
	overflow-y: scroll;
	height: calc(100vh - 140px);
	max-height: calc(100vh - 130px);
	border-radius: 5px;
	padding-bottom: 5px;
}

.inbox-threads-list h4 {
	color: #91595b;
}

.thread-card {
	border: 1px solid white;
	border-radius: 5px;
	background: #f8f8f8;
	padding: 5px;
	margin: 10px 0;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.thread-card:hover {
	cursor: pointer;
	background-color: white;
	border-color: #ccc;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.7);
}

.active-thread-card:hover {
	cursor: default;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.thread-card h5 {
	font-weight: bold;
	color: #444;
	margin-top: 0;
	padding-top: 0;
}

.thread-card h5 .thread-count {
	font-weight: normal;
	font-size: 80%;
}

.thread-card .glyphicon-record, #message-view .glyphicon-record {
	color: #730d10;
	padding-right: 0.5em;
	padding-bottom: -1px;
}

.thread-card .glyphicon-check, #dispatch-order-stages .glyphicon-check {
	color: #7a9e83;
	padding-right: 0.5em;
	padding-bottom: -1px;
}

.thread-card .glyphicon-exclamation-sign, #dispatch-order-stages .glyphicon-exclamation-sign {
	color: #a1822b;
	padding-right: 0.5em;
	padding-bottom: -1px;
}

.from-table {
	width: 100%;
	margin-bottom: 5px;
}

.from-cell {
	text-align: right;
}

.thread-card .subject-text {
	font-size: 80%;
	color: #666;
	padding: 0;
	margin: 0;
}

.active-thread-card {
	border: 3px solid rgba(0, 0, 0, 0.5);
}

.single-message {
	border-top: 1px dashed #ddd;
}

.single-message p {
	font-size: 120%;
}

#dispatch-order-stages {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 10px;
	padding: 10px 0;
	margin: 20px 0 10px 0;
	border-top: 2px solid #ccc;
}

#dispatch-order-info, #dispatch-shift-info, #dispatch-assignments-info {
	flex-grow: 1;
}

#dispatch-order-stages .choice {
	font-size: 150%;
}

#dispatch-order-stages .choice span {
	padding-right: 1em;
}

#notifications-inbox-page #eqlist { 
	max-height: calc(100vh - 750px);
	overflow-y: scroll;
	background: white;
	border: none, 1px solid #aaa, 1px solid #aaa, 1px solid #aaa;
	border-radius: 5px;
}

.all-filled {
	border-bottom: 2px solid #d6cd4f;
	color: #bdb32f;
	font-weight: bold;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
}

.some-filled {
	border-bottom: 2px solid #87d171;
	color: #57a83e;
	font-weight: bold;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
}

.to-other {
	opacity: 0.7;
}

.from-you {
	font-style: italic;
}

.to-line {
	font-size: 50%;
	font-color: #666;
}

.inbox-threads-list .card-all-filled {
	background: #d7e8c0;
}

.inbox-threads-list .card-order-made {
	background: #fdf6bf;
}
