body {
	overflow-y: scroll;
	color: var(--gray);
}

main {
	margin-top: 20px;
}

#tabList {
	margin-bottom: 16px;
	padding: 4px 0;
	position: relative;
	background-color: rgb(255, 255, 255);
}

body.tabList_fixed #tabList {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1020;
}

body.tabList_fixed header {
	margin-bottom: 61px;
}

#tabList .nav-item > span.nav-item-inner {
	display: flex;
	align-items: center;
}

#tabList .nav-item .material-icons {
	font-size: 1em;
	margin-left: 4px;
}

#tabList:after, #tabList:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background-image: linear-gradient(to right, var(--white) 0%, var(--primary) 50%, var(--white) 100%);
}

#tabList:after { top: 100%; }
#tabList:before { bottom: 100%; }

#tabList > .nav-item:last-child {
	margin-right: 0;
}

#tabList > .nav-item {
	position: relative;
}

#tabList > .nav-item.unread:after {
	content: "\E3A6";
	font-family: 'Material Icons';
	font-size: 12px;
	width: 12px;
	height: 12px;
	line-height: 1;
	color: var(--info);
	position: absolute;
	right: 0;
	top: calc(50% - 6px);
}

#uniqueColumns {
	min-height: 50px;
}

#form label {
	color: var(--primary);
}

#form .form-control:not([required]) ~ .form-text:after {
	content: " Optional.";
	font-style: italic;
}

#resultsTab.hasResults .not-hasResults,
#resultsTab:not(.hasResults) .only-hasResults,
#content.isLoading .not-isLoading,
#content:not(.isLoading) .only-isLoading,
#content:not(.hasHistory) .only-hasHistory,
#content.hasHistory .not-hasHistory {
	display: none;
}

#resultsTab dt {
	text-align: right;
}

#results_stats {
	font-size: 18px;
}

.alert > .btn {
	font-size: 14px;
	display: inline-flex;
	align-items: center;
}

#resultsTab .btn > .material-icons {
	margin-right: 8px;
	font-size: 1.25em;
}

#results_loading > i {
	font-size: 140px;
}

#results_fileName {
	text-transform: none;
}

#results_fileName:before {
	content: "Download ";
	text-transform: uppercase;
}

#results_content {
	font-family: var(--font-family-monospace);
	font-size: 12px;
	max-height: 500px;
	outline: 0;
	resize: none;
	white-space: pre;
	overflow-y: hidden;
}

#results_content:focus {
	overflow-y: auto;
	border-color: var(--info) !important;
}

#content:not(.isLoading) #form > #form_loadingOverlay {
	display: none;
}

#form_loadingOverlay {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top: -8px;
	left: -8px;
	bottom: -8px;
	right: -8px;
	opacity: 0.5;
}

#form_loadingOverlay > i {
	font-size: 160px;
}

.history_item:first-child:after {
	content: "Most Recent";
	color: var(--gray);
	position: absolute;
	left: 5px;
	top: 3px;
	font-size: 10px;
	text-transform: uppercase;
}

.history_item > .close {
	position: absolute;
	top: 5px;
	right: 5px;
}

.history_itemTimestamp {
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 12px;
}

.history_dataWrap {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-right: 8px;
}

.history_dataItem {
	display: inline-block;
	display: flex;
	margin: 8px;
}

.history_dataItem > * {
	padding: 4px 8px;
}

.history_dataItem > strong {
	text-align: center;
	color: var(--light);
	background-color: var(--dark);
	border-radius: 5px 0 0 5px;
	border: 1px solid var(--primary);
	border-right-style: none;
	display: flex;
	align-items: center;
}

.history_dataItem.history_dataItem_primary > strong {
	background-color: var(--info);
	border-color: rgb(25, 126, 169);
}

.history_dataItem > span {
	color: var(--primary);
	background-color: rgb(236, 238, 239);
	border-radius: 0 5px 5px 0;
	border: 1px solid var(--gray);
	border-left-style: none;
}

.form-group {
	position: relative;
}

.anim-spin {
	animation: spin .75s infinite linear;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}