@CHARSET "ISO-8859-1";

@import "../static/global/css/openhierarchy.css";
@import "icons.css";

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;
}

a {
	color: #0060fb;
}

/* Helpers */
.hidden {
	display: none;
}
.capitalize {
	text-transform: capitalize;
}

.bigger {
	font-size: 2.5em;
}

/* 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: 50px;
	}
	.nav-container .navbar-toggler {
		color: #fff;
	}
.navbar .btn-group .btn {
	background: #fff;
	cursor: pointer;
}
	.navbar .btn-group .btn:focus {
		box-shadow: none;
	}
.navbar .page-title {
	font-size: 1.2em;
}
	
/* User menu */
.user-menu {	
	background: #f9f9f9;
	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: #6a7378!important;
			}
				.user-menu ul li > a:hover {
					text-decoration: underline!important;
				}
				.user-menu ul li > a:hover,
				.user-menu ul li.selected > a {
					color: #000!important;
				}
			.user-menu ul li.selected {
				background-color: transparent;
				border: none;
				box-shadow: none;
				border-bottom: 5px solid #fdc800;
			}

/* Main container */
.main.container {
	background: #fff;
	border: 1px solid #cfcfcf;
	padding: 15px 30px;
	margin-top: 30px;
	word-break: break-word;
}

/* 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;
}

.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 .section-content h2 {
	font-size: 1.4rem;
	border-bottom: 1px solid #dedede;
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.bottom-border-list > div {
	padding: 8px 10px;
	border-bottom: 1px solid #e6e6e6;
}
	.bottom-border-list > div:last-child {
		border-bottom: 0;
	}

/* 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 thead td {
	vertical-align: bottom;
	border-bottom: 2px solid #dee2e6;
}
.table th, .table thead td {
	border-top: 0;
}
i.icons.input-group-text {
	padding-top: 10px;
}
.required {
	color: #000;
}

/* Utils */
.alernating-list > div:nth-child(odd) {
	background: #F2F2F2;
}

/* Buttons */
.btn-success {
	background-color: #218739;
	border-color: #218739;
}
	.btn-success:hover,
	.btn-success:active,
	.btn-success:focus {
		background-color: #28a745;
		border-color: #28a745;
	}
	
.btn-primary {
	background-color: #0069d9;
	border-color: #0069d9;
}
	.btn-primary:hover,
	.btn-primary:active,
	.btn-primary:focus {
		background-color: #007bff;
		border-color: #007bff;
	}

/* Overrides */
.alert-warning {
	color: #564105;
}

/* Components */
.content-header {
	background: #F5F4F1;
	font-weight: 600;
	height: 48px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	padding: 0 16px;
}

.page-header {
	padding: 24px;
	flex-grow: 0;
	overflow: hidden;
}
	.page-header-icon {
		height: 60px;
		background: #F5F4F1;
		width: 60px;
		border-radius: 4px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #555;
		font-size: 32px;
		margin-right: 18px;
	}
	
td.icon-cell {
	width: 40px;
	text-align: center;
}