@charset "utf-8";
/* CSS Document */

/* ------------------ */

.mb-1 {
	margin-bottom: 1em;
}
.mb-2 {
	margin-bottom: 1.5em;
}
.mb-3 {
	margin-bottom: 2em;
}
.mb-4 {
	margin-bottom: 2.5em;
}

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	width: 100%;
	background-color: #FFF;
}

body, div, table, td {
	margin: 0px;
	padding: 0px;
}

div, img, table {
	border: 0px;
}

table, td {
	border-spacing: 0px;
	border-collapse: collapse;
	line-height: 1.5rem;
}

td.valign-top {
	vertical-align: top;
}

img {
	max-width: 100%;
}

header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

@media screen and (max-width: 799px) {
	.show-on-mobile {
		display: block;
	}
	.show-on-larger, .hide-on-mobile {
		display: none;
	}
}

@media screen and (min-width: 800px) {
	.show-on-mobile {
		display: none;
	}
	.show-on-larger {
		display: block;
	}
}

body, div, td, a, input, select, textarea, button {
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: calc(10px + 0.25vw);
	text-decoration: none;
	/*color: #505150;*/
	color: #333;
}

div#page {
	margin: 40px auto;
	padding: 0 20px;
	max-width: 90%;
	background: #FFF;
	/*border:1px solid #6D6E72;*/
	/*-webkit-border-radius:20px;*/
	/* -khtml-border-radius:20px;	*/
	/*   -moz-border-radius:20px;*/
	/*        border-radius:20px;*/
	/*-webkit-box-shadow:7px 7px 5px #CCC;*/
	/* -khtml-box-shadow:7px 7px 5px #CCC;*/
	/*   -moz-box-shadow:7px 7px 5px #CCC;*/
	/*        box-shadow:7px 7px 5px #CCC;*/
}

@media screen and (min-width: 1440px) {
	div#page {
		padding: 0;
	}
}

div#header {
	padding: calc(1em + 1vw) calc(1em + 1vw);
	background: rgb(255, 255, 255);
	background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
}

.header-inside {
	max-width: 1400px;
	margin: 0 auto;
}

.not-logged-in #header {
	display: flex;
	justify-content: center;
}

#header .logo {
	max-height: calc(28px + 1vw);
}

.logo-container {
	display: flex;
	justify-content: space-between;
}

#welcome {
	padding: 0.5em;
	color: #eee;
	line-height: 1.5em;
}

.user-name {
}

/* ----- Menu ----- */

#menu {
	background-color: #3c3c3c;
	background: linear-gradient(180deg, rgba(28, 28, 28, 1) 0%, rgba(60, 60, 60, 1) 100%);
}

#menu a {
	padding: 0.75em 1em;
	border-bottom: 1px solid #ccc;
}

#menu a i {
	margin-right: 0.4em;
}

div#menu a:hover, div.submenu a:hover {
	color: #fff;
	background-color: #666666;
}

div#menu a.active {
	background-color: #52aa47;
	/*border-bottom: 2px solid #4D9D2A;*/
	font-weight: 500;
	color: #fff;
}

div#menu a, div.submenu {
	color: #eee;
	/*font:14px Arial, Helvetica, sans-serif;*/
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 16px;
	/*font-weight:bold;*/
}

/*
div.submenu {
	height: 15px;
	overflow: hidden;
	cursor: pointer;
}

div.submenu:hover {
	height: 50px;
}

div.submenu a {
	display: block;
	position: absolute;
	top: 25px;
	left: -70px;
	background: #eee;
	color: #555;
}
 */

.logged-in-user {
	display: none;
}

.logged-in-user .last-login {
	font-size: 0.8em;
	color: #999;
}

i.mobile-menu {
	font-size: calc(28px + 1vw);
	/*line-height: calc(28px + 1vw);*/
}

@media screen and (max-width: 799px) {

	#header {
		box-shadow: 0 5px 10px rgba(0, 0, 0, .25);
	}

	#menu {
		position: fixed;
		top: 0;
		left: 105%;
		right: -105%;
		bottom: 0;
		background-color: #eee;
		z-index: 999;
		box-shadow: -5px 0 10px rgba(0, 0, 0, 0.25);
		padding: 2em;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		overflow-y: scroll;
	}

	#menu a {
		display: block;
		margin-bottom: 1em;
	}

	#welcome {

	}

	.close-menu i {
		font-size: 40px;
		color: #fff;
	}

	.close-menu {
		text-align: right;
		border-bottom: none;
		padding: 0 0 10px 0;
	}
}

@media screen and (min-width: 800px) {

	#menu {
		display: flex;
		justify-content: center;
	}

	.menu-items {
		width: 100%;
		max-width: 1400px;
		display: flex;
	}

	ul.menu-items-list {
		display: flex;
		padding: 0;
		margin: 0;
		position: relative;
	}

	ul.menu-items-list li {
		position: relative;
	}

	ul li {
		display: block;
		list-style-type: none;
	}

	ul.submenu li a {
		width: 100%;
	}

	ul.submenu {
		position: absolute;
		left: 0;
		padding: 0;
		margin: 0;
		min-width: 200px;
		background-color: #3c3c3c;
		background: linear-gradient(180deg, rgba(28, 28, 28, 1) 0%, rgba(60, 60, 60, 1) 100%);
		display: none;
	}

	ul.menu-items-list li:hover > ul.submenu {
		visibility: visible;
		opacity: 1;
		display: block;
	}


	.logout-link {
		/*float: right;*/
	}

	i.mobile-menu, .close-menu {
		display: none;
	}

	.logged-in-user {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	div#menu {
		/*padding-left:20px;*/
		padding-right: 20px;
		box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
	}

	div#menu a {
		position: relative;
		display: inline-block;
		padding: 15px 1.45vw;
		/*font:14px Arial, Helvetica, sans-serif;*/
		font-family: Rubik, Arial, Helvetica, sans-serif;
		font-weight: 400;
		font-size: 16px;
		/*font-weight:bold;*/
		border-bottom: none;
	}

	#welcome {
		display: none;
	}
}

/* ----- */

div#content {
	background: #FFF;
	margin-top: 30px;
	min-height: 450px;
}

div#footer {
	padding: 10px 20px;
	/*font:10px Arial, Helvetica, sans-serif;*/
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 300;

	/*-webkit-border-radius:0px 0px 20px 20px;*/
	/* -khtml-border-radius:0px 0px 20px 20px;	*/
	/*   -moz-border-radius:0px 0px 20px 20px;*/
	/*        border-radius:0px 0px 20px 20px;*/
	text-align: right;
	background-color: #f2f2f2;
}

@media screen and (min-width: 800px) {
	#footer {
	}
}


div#welcome {
	/*font:20px Arial, Helvetica, sans-serif;*/
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 16px;
}

div#footer {
	color: #999;
	/*background:#6F706F;*/
	/*background:-webkit-linear-gradient(left, #3C3C3B, #6F706F, #232322);*/
	/*background:-khtml-linear-gradient(left, #3C3C3B, #6F706F, #232322);*/
	/*background:-moz-linear-gradient(left, #3C3C3B, #6F706F, #232322);*/
	/*background:-ms-linear-gradient(left, #3C3C3B, #6F706F, #232322);*/
	/*background:-o-linear-gradient(left, #3C3C3B, #6F706F, #232322);*/
	/*background:linear-gradient(left, #3C3C3B, #6F706F, #232322);*/
}

a.footer_logo {
	display: inline-block;
	position: relative;
	top: 22px;
	margin-left: 20px;
	color: #FFF;
	/*font:12px Arial, Helvetica, sans-serif;*/
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 12px;

	font-weight: bold;
	text-align: center;
	line-height: 25px;
}


div.dialog1, div.dialog2 {
}

div.dialog1 {
}

div.dialog2 {
}

div.search {
}

div.search div.caption {
}

a.search-result {
	padding: 1em;
	border-bottom: 1px solid #eee;
	display: grid;
	grid-column-gap: 1em;
}

@media screen and (min-width: 800px) {
	a.search-result-companies,
	a.search-result-locations {
		grid-template-columns: 25% 1fr;
	}
}


a.search-result:hover {
	background-color: #f8f8f8;
}

div.search-result-title {
	display: flex;
	align-items: center;
}

div.search-result-logo {
	display: none;
}

@media screen and (min-width: 800px) {
	div.search-result-logo {
		display: block;
	}

}

label {
	display: inline-block;
	position: relative;
	max-width: 450px;
	overflow: hidden;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
}


label:hover,
label:focus {
	border-color: #38A037;
}

label input[type=text],
label input[type=password],
label select {
	max-width: 70%;
	margin: 0px 5px 0px 10px;
	background-color: transparent;
	font: inherit;
	font-weight: normal;
}

label input[type=text]:disabled,
label input[type=password]:disabled,
label select:disabled {
	background-color: transparent;
	color: #A5A6A5;
}

label input[type=text].error, label input[type=password].error {
	background-color: #FF7F7F;
}

/*textarea {*/
/*	min-height: 200px;*/
/*}*/

input[type=button],
input[type=submit] {
}

input[type=button]:hover,
input[type=button]:focus,
input[type=submit]:hover,
input[type=submit]:focus {
	border-color: #38A037;
	color: #38A037;
}

input[type=file] {
	max-width: 100%;
}

h1, h2, h3, h4 {
	margin: 0;
}

h1 {
	font-size: 1.5em;
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-weight: 500;
	margin-bottom: 0.75em;
}

h4 {
	margin-bottom: 0.5em;
}

div.search a {
	font: 16px Rubik, Arial, Helvetica, sans-serif;
	color: #3C3C3B;
}

.custom-page a {
	color: #38A037;
}

a:hover {
	color: #38A037;
}

div.controls {
}

span.syntax1 {
	font-family: Rubik, Arial, Helvetica, sans-serif;
	font-weight: 300;
	/*font:14px arial,sans-serif;*/
	text-decoration: none;
	color: #005608;
	font-weight: bolder;
	font-style: italic;
}

div.uploadLogo {
	position: relative;
	margin: 5px;
}

div.uploadLogo div {
}

div.uploadLogo div img {
}

div.uploadLogo div input[type=file] {
}

div.tabsbottom {
	padding: 10px;
	color: #555;
	/*background:#BCBDC1;*/
	/*background:-webkit-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-khtml-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-moz-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-ms-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-o-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72); */
	/*border: 1px solid #ccc;*/
	/*-webkit-border-radius:0px 0px 10px 10px;*/
	/* -khtml-border-radius:0px 0px 10px 10px;*/
	/*   -moz-border-radius:0px 0px 10px 10px;*/
	/*        border-radius:0px 0px 10px 10px;*/
	min-height: 20px;
}

div.tabsbottom a {
	/*color: #FFF;*/
}

div.tabs {
	/*background:#BCBDC1;*/
	/*background:-webkit-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-khtml-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-moz-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-ms-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:-o-linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72);*/
	/*background:linear-gradient(left, #6D6E72, #BCBDC1, #6D6E72); */
	/*border:1px solid #ccc;*/
	/*border-bottom:1px solid white;*/
	/*-webkit-border-radius:10px 10px 0px 0px;*/
	/* -khtml-border-radius:10px 10px 0px 0px;*/
	/*   -moz-border-radius:10px 10px 0px 0px;*/
	/*        border-radius:10px 10px 0px 0px; */
}

div.tabs a {
	display: inline-block;
	padding: 1em;
}

.tabs {
	margin-bottom: 1em;
	border-bottom: 1px solid #ddd;
}

@media screen and (min-width: 800px) {
	.tabs
	{
		margin-bottom: 0;
	}
}

div.tabs a.active {
	color: #38A037;
	/*border: 1px solid #ddd;*/
	border-bottom: 3px solid #38A037;
	/*border-top-left-radius: 0.5em;*/
	/*border-top-right-radius: 0.5em;*/
	font-weight: 500;
	background-color: #fff;
}

div.tab-content {
	/*box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.1);*/
	/*border-bottom: 1px solid #ddd;*/
	/*border-radius: 0.5em;*/
	padding: 1em 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
	grid-column-gap: 1em;
	grid-row-gap: 1em;
	margin-top: 1em;
}

@media screen and (max-width: 799px) {
	div.tabContent
	{
		padding-left: 0;
		padding-right: 0;
		grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
	}
}

div.nav {
}

table {
	width: 100%;
}

td {
	padding: 10px;
}

tr.header {
	border-bottom: 2px solid #ddd;
}

table.striped-table tbody tr:nth-child(even) {
	background-color: #f8f8f8;
}

table.striped-table tbody tr:hover {
	background-color: #ffffc0 !important;
}

/* --- Form styling --- */

input, select {
	padding: 0.5em;
}

.large-input {
	font-size: 20px;
}

.form-container {
}

.form-row {
	margin-bottom: 1em;
}

.form-label {
	width: 100%;
}

.form-help {
	align-self: flex-start;
	padding: 1em;
}

.form-input input[type="text"],
.form-input input[type="password"],
.form-input textarea,
.form-input select {
	border: 1px solid #ccc;
	padding: 0.5em;
	width: 100%;
	/*max-width: 500px;*/
}

.form-input .error {
	background-color: #ffcfd3;
	border: 1px solid #cc0000 !important;
}

.form-action {
	/*max-width: 500px;*/
}

.form-container input[type='submit'] {
	background-color: #52aa47;
	border: 1px solid #52aa47;
	padding: 0.5em 2em;
	color: white;
	font-weight: 500;
}

.input-wide {
	width: 100%;
}

.login-form {
	display: flex;
	justify-content: center;
}

.login-form > div {
	width: 80%;
	max-width: 500px;
}

.form-row:last-child {
	margin-top: 1.5em;
}

.form-box {
	margin-top: 1em;
	max-width: 1100px;
}

.form-box-md {
	margin-top: 1em;
	max-width: 750px;
}

.form-action {
	display: grid;
	grid-row-gap: 1em;
	grid-column-gap: 2em;
}

.login-form-action {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 1em;
}

@media screen and (min-width: 800px) {
	.form-action {
		grid-template-columns: repeat(5, minmax(150px, 1fr));
		margin-left: 250px;
	}
}

@media screen and (min-width: 800px) {
	.form-row {
		display: grid;
		grid-template-columns: 250px 3fr 1fr;
		align-items: baseline;
	}

	.form-container.collapse-rows .form-row {
		display: block;
	}

	.form-label {
		margin-bottom: 0;
		width: 250px;
	}

	.form-label-top {
		align-self: flex-start;
		margin-top: 0.5em;
	}

	.form-container.collapse-rows .form-label {
		margin-bottom: 0.5em;
	}

	.form-input {
		/*width: 500px;*/
	}
}

.form-value {
	display: flex;
	align-content: center;
}

.form-hint {
	font-size: 0.8em;
}

.forgot-password {
	align-self: center;
	justify-self: center;
}

/* --- Company / documents --- */

.page-title-bar {
	display: flex;
	align-items: center;
	/*border-bottom: 1px solid #ccc;*/
	/*padding-bottom: 1em;*/
	margin-bottom: 2em;
	justify-content: space-between;
}

.page-title-bar h1 {
	margin-bottom: 0;
}

.company-logo {

}

.entity-meta-info {
	margin-bottom: 1em;
}

@media screen and (max-width: 799px) {
	.company-logo {
		display: none;
	}
}

.mobile-tabs {
	display: grid;
	grid-template-columns: 75% 25%;
	align-items: center;
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 1em;
}

.tabs {
	display: none;
}

@media screen and (min-width: 800px) {
	.mobile-tabs {
		display: none;
	}
	.tabs {
		display: block;
	}
}

.mobile-tab-menu {
	justify-self: end;
}

.mobile-tabs-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

.mobile-tabs-popup {
	position: fixed;
	top: 5%;
	left: 10%;
	right: 10%;
	bottom: 5%;
	background-color: #fff;
	padding: 0.5em 1em;
	/*box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.15);*/
	overflow-y: scroll;
}

.mobile-tabs-popup a {
	display: block;
	padding: 1em;
	border-bottom: 1px solid #eee;
}

.mobile-tabs-popup a:last-child {
	border-bottom: none;
}

.mobile-tabs-popup a.active {
	font-weight: 500;
}

.tabs a {

}

.tab-nav {
	color: #999;

	/*background-color: #f6f6f6;*/
	/*background: linear-gradient(135deg, rgba(247,247,247,1) 0%, rgba(255,255,255,1) 100%);*/
	border-bottom: 1px solid #ddd;
}

.tab-nav a {
	color: #666;
	font-size: 14px;
}

.path-item {
	display: inline-block;
	padding: 1em;
	margin-right: 0em;
	border: 1px solid #fff;
	min-width: 200px;
}

.path-item a {
	margin-right: 0.75em;
}

@media screen and (max-width: 799px) {
	.path-item {
		display: block;
		padding-top: 1em;
	}
	.tab-nav {
	}


}


/* --- Tab content items --- */

.file {
	align-items: center;
	display: grid;
	grid-template-columns: 40px 1fr 30px;
	padding: 1em;
	border: 1px solid #eee;
	background-color: #fff;
	position: relative;
}

.ui-draggable-dragging {
	box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
}

.ui-droppable-active {
	border: 1px solid #ffcc00 !important;
}

.ui-droppable-target {
	background-color: #ffffe0 !important;
}

.tab-container a.large {
	/*padding-bottom: 4em;*/
}

.file .icon {
	width: 40px;
	flex-shrink: 0;
}

.file .filename {
	overflow: hidden;
}

.file .file-action-box {
	align-self: start;
	justify-self: end;
}

.file a.icon {
	margin-right: 0.5em;
}

.file a.delete {
	margin-left: 1em;
}

.folder-tools-container {
	margin-top: 1em;
	border-top: 1px solid #ddd;
	padding: 1em 2em 0 2em;
	margin-bottom: 1em;
}

h3.toggle-folder-tools {
	font-size: 18px;
	color: #888;
	font-weight: 400;
	cursor: pointer;
}

.folder-tools-container.expanded {
	background-color: #f8f8f8;
}

.folder-tools {
	margin-top: 1em;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-column-gap: 20px;
	grid-row-gap: 2em;
}

.folder-tools h4 {
	margin-top: 0;
	color: #888;
	font-weight: 500;
}

.permissions-tools {
	margin-top: 2em;
	padding: 1em;
	border-top: 1px solid #ddd;
}

.filter-bar {
	display: flex;
	margin-top: 2em;
	margin-bottom: 2em;
	border-bottom: 1px solid #ddd;
	padding-left: 1em;
}

.filter-bar a {
	margin-right: 2em;
	padding-bottom: 1em;
}

.filter-bar a.active {
	color: #38A037;
	border-bottom: 3px solid #38A037;
	font-weight: 500;
}

.event-details {
	padding-bottom: 0.5em;
	border-bottom: 1px solid #ddd;
	margin-bottom: 1em;
}

@media screen and (min-width: 800px) {
	.event-details {
		display: grid;
		grid-template-columns: 180px 100px 1fr 200px;
		grid-column-gap: 2em;
	}
}

.admin-search {

}

@media screen and (min-width: 800px) {
	.admin-search {
		display: grid;
		grid-template-columns: 300px 1fr;
		grid-column-gap: 1em;
		align-items: center;
		margin-bottom: 2em;
	}
}

.admin-search-links {
	margin-top: 1em;
	display: grid;
	grid-gap: 1em;
	grid-template-columns: repeat(auto-fit, 30px);
	margin-bottom: 1em;
}

.admin-search-links a {

}

.size-24 {
	font-size: 24px;
}

@media screen and (min-width: 600px) {
	.add-button-bar {
		float: right;
		margin-top: -10px;
	}
}

.search-result-admin {
	padding: 1em;
	border-bottom: 1px solid #eee;
	align-items: center;
}

.search-result-small {
	padding: 0.5em;
	border-bottom: 1px solid #eee;
}

@media screen and (min-width: 800px) {
	.search-result-admin-flex {
		display: flex;
	}

	.search-result-admin-grid {
		display: grid;
		grid-column-gap: 1em;
	}
}

.search-result-admin-flex div {
	margin-right: 1em;
}

.search-result-admin:hover {
	background-color: #f8f8f8;
}

.search-result-company {
	grid-template-columns: 30px 1fr;
}

.search-result-location {
	grid-template-columns: 30px repeat(4, 1fr);
}

.search-result-person {
	grid-template-columns: 30px repeat(3, 1fr);
}

.search-result-email {
	grid-template-columns: 30px 2fr repeat(4, 1fr);
}

.search-result-phone {
	grid-template-columns: 30px repeat(5, 1fr);
}

.search-result-user {
	grid-template-columns: 30px repeat(6, 1fr);
}

.search-result-group {
	grid-template-columns: 30px 1fr;
}

.search-result-device {
	grid-template-columns: 30px repeat(4, 1fr);
}

.search-result-eventtype {
	grid-template-columns: 30px 1fr 4fr;
}

.search-result-permissions {
	display: grid;
	grid-column-gap: 1em;
	grid-template-columns: 30px 1fr 4fr;
	padding: 0.5em 0;
	border-bottom: 1px solid #ddd;
}

.active-permission {
	background-color: #ffffc0;
}

.admin-nav-bar {
	margin-bottom: 1em;
}

.admin-search-box {
	border-top: 1px solid #ddd;
	margin-top: 2em;
	padding-top: 1em;
}

.event-type-list {
	display: grid;
	grid-column-gap: 1em;
	grid-row-gap: 1em;
}

@media screen and (min-width: 800px) {
	.event-type-list {
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	}
}

.event-type-list a {
	display: block;
	background-color: #f8f8f8;
	padding: 0.5em 1em;
}

.sub-form-box {
	border-top: 1px solid #ddd;
	margin-top: 1em;
	padding-top: 1em;
}

.log-form {
	display: flex;
	background-color: #f8f8f8;
	padding: 1em;
}

.log-form div {
	margin-right: 2em;
}

.search-result-log {
	display: grid;
	grid-template-columns: 200px repeat(3, 1fr);
	grid-column-gap: 1em;
}

.folder-container {
}

.folder-title-box {
}

.active-has-subfolder {
	margin-bottom: 0;
}

.folder-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-column-gap: 1em;
	grid-row-gap: 1em;
	margin-bottom: 1em;
}

div.active-folder-title a.active {
	color: #38A037;
	font-weight: 500;
}

.tab-nav {
}

.active-tab {
	display: grid;
	grid-template-columns: 1fr fit-content(25%);
	align-items: center;
}

.tab-container {
	display: none;
}

@media screen and (min-width: 800px) {
	.tab-container {
		display: grid;
		grid-template-columns: repeat(auto-fit, 250px);
		grid-column-gap: 0.5em;
		grid-row-gap: 0.5em;
	}

	.tab-container.large {
		grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
		grid-column-gap: 1em;
		grid-row-gap: 1em;
	}

	.tab-container a {
		/*border: 1px solid #ddd;*/
	}

	.tab {
		padding: 0.5em;
		background-color: #f6f6f6;
		border: 1px solid #fff;
	}

	.tab.active {
		background-color: #38A037;
		color: #fff;
		/*font-weight: 500;*/
	}

	.tab.active a {
		color: #fff;
	}

	.tab-container.large .tab {
		padding: 1em 1em;
	}

	.drag-helper {
		height: 30px;
		width: 60px;
		background-color: #cc0000;
	}
}

.form-error {
	background-color: #ffffe0;
	padding: 0.5em 0.5em;
	color: #cc0000;
	margin-bottom: 1em;
}

.error-info-box {
	background-color: #ffeeee;
	padding: 0.5em 1em;
	color: #cc0000;
	margin-bottom: 1em;
}

.header-top-row th {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.header-bottom-row th {
	font-weight: normal !important;
}

.header-bottom-row input,
.header-bottom-row select {
	width: 100%;
	border: 1px solid #ccc;
}

.checkbox-large {
	border: 1px solid #ccc;
}

.section-line {
	margin-top: 4em;
	margin-bottom: 1em;
	border-top: 1px solid #ddd;
}

/* --- Checkbox styling --- */

.checkbox {
	cursor: pointer;
}

.checkbox > span {
	color: #34495E;
	padding: 0.5rem 0.25rem;
}

.checkbox > input {
	height: 28px;
	width: 28px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid #ccc;
	/*border-radius: 4px;*/
	outline: none;
	background-color: #fff;
	cursor: pointer;

	display: grid;
	place-content: center;

}

.checkbox > input:checked {
	border: 1px solid #ccc;
	background-color: #fff;
}

.checkbox > input:checked::before {
	content: '✔';
	color: #666;
}

.checkbox > input:active {
	//border: 2px solid #34495E;
}

.list .small {
	font-size: 0.8em;
	color: #aaa !important;
}

.list .medium-small {
	font-size: 0.9em;
	line-height: 1.25em;
}

/* --- Generic grid with elements left and right --- */

.generic-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.generic-header-grid {
	display: grid;
	grid-template-columns: 1fr 20px;
	grid-column-gap: 1em;
}

/* --- Task form --- */

.grid-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 2em;
}

.doc-list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 0.5em;
	//border-bottom: 2px solid #ddd;
	margin-bottom: 1em;
}

.doc-container {
	display: grid;
	grid-template-columns: 20px 5fr 30px;
	grid-column-gap: 2em;
	padding: 0.25em 0;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0.5em;
}

.doc-container h4 {
	margin-bottom: 0.5em;
	font-weight: normal;
}

.doc-container p {
	margin-top: 0;
	margin-bottom: 0.5em;
	line-height: 1.5em;
}

.doc-header {
	display: flex;
	justify-content: space-between;
}

.doc-subfolder {
	color: #999;
	font-size: 1rem;
}

/* --- Task dashboard --- */

.filter-box-task-dashboard {
	display: flex;
	align-items: center;
	background-color: #f8f8f8;
	padding: 1em;
	border-radius: 0.5em;
	margin-bottom: 3em;
}

h4.task-dashboard-header {
	border-bottom: 2px solid #ddd;
	padding: 0.5em 1em;
	margin-bottom: 0;
}

.filter-box-task-dashboard div {
	margin-right: 2em;
}

.task-dashboard-grid-3col {
	display: grid;
	grid-template-columns: 2fr 3fr 3fr;
	grid-column-gap: 3em;
}

.task-dashboard-row {
	display: grid;
	grid-template-columns: 4fr 1fr;
	border-bottom: 1px solid #ddd;
}

.task-dashboard-row {
	display: grid;
	grid-template-columns: 4fr 1fr;
	border-bottom: 1px solid #ddd;
}

.task-dashboard-grid {
	display: grid;
	grid-template-columns: 1fr 5fr;
	align-items: center;
}

.task-dashboard-grid-label {
	border-bottom: 1px solid #ddd;
	padding: 0.5rem 1rem;
	height: 35px;
}

.task-dashboard-grid-cells {
	display: flex;
	border-bottom: 1px solid #fff;
	height: 35px;
}

.task-dashboard-grid-cells div {
	margin-right: 2px;
	padding: 0.5rem 0;
	font-size: 0.9em;
	width: 40px;
	text-align: center;
}

.task-dashboard-grid-header-cells div {
	background-color: #eee;
}

.task-dashboard-row div {
	padding: 0.5em 1em;
}

.task-dashboard-cell {
	text-align: right;
}

.task-dashboard-cell-fixed {
	width: 30px;
}

.task-dashboard-big-number {
	text-align: center;
	font-size: 5em;
	padding: 2rem;
}

.task-dashboard-legend {
	column-count: 5;
	/*
	display: grid;
	grid-template-columns: repeat(auto-fill, 250px);
	grid-column-gap: 1em;
	 */
	/*grid-auto-flow: column;*/
}

.task-dashboard-legend div {
	/*padding: 0.25em;*/
	margin-bottom: 0.25em;
}

.number-good {
	color: #444;
	background-color: #d3ecd0;
}

.number-warn {
	color: white;
	background-color: coral;
}

.number-bad {
	color: white;
	background-color: #cc0000;
	font-weight: bold;
}

.no-number {
	color: white;
	background-color: #f8f8f8;
}

/* --- Popup --- */

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .5);
	z-index: 999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup {
	width: 50%;
	/*height: 500px;*/
	background-color: #fff;
	border-radius: 0.5em;
}

.popup-title {
	background-color: #f6f6f6;
	padding: 1.5rem 2rem;
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

.popup-form-box {
	padding: 1.5rem 3rem;
}

.popup-title .tools a {
	font-size: 1.5rem;
}

/* --- Tak status badge --- */

.task-status-badge {
	color: white;
	font-weight: 400;
	border-radius: 0.75em;
	padding: 0.25em 1em;
}

.task-status-badge.task-status-planned {
	background-color: deepskyblue;
}

.task-status-badge.task-status-todo {
	background-color: #cc0000;
}

.task-status-badge.task-status-done {
	background-color: #52aa47;
}

.task-status-badge.task-status-skipped {
	background-color: #ff6e00;
}

.no-padding {
	padding: 0 !important;
}

