@CHARSET "ISO-8859-1";

@import "../static/global/css/openhierarchy.css";
@import "icons.css?v=1";

body {
	background: #f2f2f2;
	display: flex;
	flex-direction: column;
	padding-bottom: 100px;
}

/* Defaults */
.dropdown-header {
	cursor: default;
}
.tooltip-inner {
	white-space: pre-wrap;
}
.alert p:last-child {
	margin-bottom: 0;
}
.btn,
.alert {
	border-radius: 0;
}

p:last-child {
	margin-bottom: 0;
}

.modal-content {
	border-radius: 0;
}

/* Helpers */
.hidden {
	display: none;
}
.capitalize {
	text-transform: capitalize;
}
.xlmargintop {
	margin-top: 20px;
}

.align-table-content-middle td {
	vertical-align: middle;
}

.border-bottom {
	border-bottom: 1px solid #ccc;
}

*:not(td).ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Default styling for icons */
i.icons + span, span + i.icons {
	margin-left: 5px;
}
	i.icons.big {
		font-size: 1.3em;
	}

/* Navigation */
.nav-container {
	background: #fff;
	border-bottom: 1px solid #ccc;
}
	.navbar-brand {
		padding: 0;
	}
	.nav-container a {
		color: #000;
	}
	.nav-container a.nav-link:hover {
		background: #888;
	}
	.nav-container img {
		height: 36px;
	}
	.nav-container .navbar-toggler {
		color: #fff;
	}
.navbar .btn-group .btn {
	background: #fff;
	cursor: pointer;
}
	.navbar .btn-group .btn:focus {
		box-shadow: none;
	}
	
/* User menu */
.user-menu {	
	background: #951637;
	border-bottom: 5px solid #DEE4E9;
	box-shadow: 0px 1px 1px #C2CBD1;
	min-height: 55px;
}
	.user-menu ul {
		margin-bottom: -5px;
		margin-left: 0;
		list-style: none;
		list-style-image: none;
		padding: 0 0 0 10px;
	}
		.user-menu ul li {
			border-bottom: 5px solid #DEE4E9;
			margin-right: 20px;
			display: inline-block;
			cursor: pointer;
			padding: 13px 0;
		}
			.user-menu ul li > a {
				padding: 15px 10px 16px !important;
				color: #fff!important;
			}
				.user-menu ul li > a:hover {
					text-decoration: underline!important;
				}
				.user-menu ul li > a:hover,
				.user-menu ul li.selected > a {
					color: #fff!important;
				}
			.user-menu ul li.selected {
				background-color: transparent;
				border: none;
				box-shadow: none;
				border-bottom: 5px solid #545859;
			}

.contentitem {
	background: #fff;
	border: 1px solid #cfcfcf;
	padding: 15px 30px;
	margin-top: 30px;
}
	.contentitem:after { /* Fix for floats in admin modules */
	    clear: both;
	    display: block;
	    content: '';
	}

/* Login form */
.loginModule input[type=text],
.loginModule input[type=password],
form[name=userform] input[type=text],
form[name=userform] input[type=password] {
	border: 1px solid #ccc;
	padding: 4px 8px;
	margin-left: 10px;
	border-radius: 5px;
}
.loginModule input[type=checkbox],
form[name=userform] input[type=checkbox] {
	margin-right: 5px;
}

.loginModule table,
form[name=userform] table {
	margin-top: 25px;
}
.loginModule tr td,
form[name=userform] tr td {
	padding-bottom: 10px;
}

/* Breadcrumbs */
.breadcrumbs {
	background: #fff;
	border-bottom: 1px solid #ccc;
	margin-top: 1px;
	font-size: 0.9em;
	padding: 2px;
}
	.breadcrumbs .container {
		padding-left: 25px;
	}
	.breadcrumbs a {
		color: #000;
	}
	.breadcrumbs i {
		font-size: 0.8em;
	}

/* Content */
.dropdown-menu {
	border-radius: 0;
	box-shadow: 3px 3px 5px #eee;
	background: #fff;
}

.fluid-container.content {
	flex: 1;
}

.container.default-wrapper {
	margin-top: 40px;
}

section > header {
	margin-bottom: 15px;
}

section > article, section > form > article,
.container.default-wrapper .contentitem {
	border: 1px solid #ccc;
	padding: 10px 15px;
	margin-bottom: 15px;
	background: #fff;
}
	.container.default-wrapper .contentitem {
		width: 100%;
	}
	.container.default-wrapper .contentitem:after {
		display: block;
		content: "";
		clear: both;
	}
	
section article h2 {
	font-size: 1.4rem;
	border-bottom: 1px solid #dedede;
	padding-bottom: 8px;
	margin-bottom: 10px;
}

/* General */
.xl-margin-right {
	margin-right: 20px;
}

/* Measurement */
.status.icon-check {
	color: #080;
}
.status.icon-close {
	color: #F00;
}

tfoot {
	font-weight: bold;
}

/* Footer */
body > footer {
	background: #77BEE5;
	padding: 30px 0;
	margin-top: 50px;
}
	body > footer img {
		height: 80px;
	}
	
/* General fixes */
select.form-control:not([size]):not([multiple]) {
	height: auto;
}

.table th {
	border-top: 0;
}
i.icons.input-group-text {
	padding-top: 10px;
}
.required {
	color: #000;
}

/* Module generals */
.stanine-horizontal {
	display: flex;
	text-align: center;
}
	.stanine-horizontal > div {
		margin-right: 10px;
		border: 1px solid #ccc;
		padding: 0 5px;
		font-size: 0.8rem;
	}
		.stanine-horizontal > div > span {
			font-size: 1rem;
		}
		
.file-upload {
	border: 1px solid #D9D9D9;
    padding: 30px;
    background: #fafafa;
}
	
.color-intervals {
	display: flex;
}
	.color-intervals .alert {
		padding: 1px 15px;
		margin-bottom: 0;
	}

.categories {
	display: flex;
}
	.categories .category {
		margin-right: 10px;
		padding: 3px 5px;
		background: #eee;
	}

/* Overrides for tag-input */
.bootstrap-tagsinput > ul.typeahead.dropdown-menu {
    background: #fff;
}
.bootstrap-tagsinput > span.tag {
	background: #5C6A70;
	padding: 0px 5px 3px 7px;
	border-radius: 5px;
}
.bootstrap-tagsinput .tag [data-role="remove"]:hover {
	box-shadow: none;
}
.bootstrap-tagsinput input {
	display: inline-block;
}
.bootstrap-tagsinput.focus {
	border-color: #66afe9;
}

/* Typeahead scroll size and fixes for bootstrap4 */
.typeahead {
	max-height: 230px; overflow-y: auto;
}
	.typeahead li.active .dropdown-item {
		color: #2b2d2f;
		text-decoration: none;
		background-color: #f5f5f5;
	}
	.typeahead li a.dropdown-item {
		white-space: normal;
	}
	
/* Submenu */
.submenu-links {
	list-style: none;
	padding-left: 0;
	margin-top: 20px;
	display: flex;
	margin-bottom: -15px;
	flex-wrap: wrap;
}
	.submenu-links li a {
		margin-left: 10px;
		background: #fff;
		border: 1px solid #ccc;
		color: #000;
		padding: 5px 10px;
		margin-bottom: 5px;
	}
	.submenu-links li a.active {
		text-decoration: underline;
	}
	
.tags-disabled .bootstrap-tagsinput {
	background-color: #e9ecef;
}
	.tags-disabled .bootstrap-tagsinput .form-control:focus {
		background-color: #e9ecef;
	}
	
/* Table */
td.table-fixed {
	width: 100px;
}