.card {
	margin: 30px;
}

body {
	transition: background-color .5s;
}

input[disabled] {pointer-events:none}

.small {
	font-size: small;
	max-height: min-content;
}

.error-message {
	background-color: lightcoral;
	padding: 1em;
	margin-top: 1em;
	border-radius: 10px;
	display: none;
}

.description {
	font-weight: bold;
}

/* Modal */
.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 100;
	opacity: 0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.modalDialog:target {
	opacity: 1;
	pointer-events: auto;
}

.modalDialog>div {
	max-width: fit-content;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	background: #fff;
}

.form-range {
	height: 38px;
}

.form-control-color {
	width: inherit;
}

.jscolor {
	border-radius: 4px;
	border: 1px solid #bbb;
}

.hidden {
	display: none;
}

.table-active {
	background-color: lightgray;
}

.table tr {
	white-space: nowrap;
}

#tableEvents td:nth-child(4), th:nth-child(4) { 
	margin-left: 0.5em; 
}

#tableEvents td:nth-child(10), th:nth-child(10) { 
	margin-right: 0.5em; 
}

input:disabled,
input:disabled:hover {
	opacity: 1;
	cursor: auto;
}

td {
	padding: 0;
}

@media screen and (max-width: 576px) {
	td {
		padding: 0;
		padding-top: .5em;
		padding-bottom: .5em;
	}
}

.weekdays {
	display: inline-block;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
	width: 20px;
}

.groupTools {
	margin-left: 10px;
}

@media screen and (max-width: 576px) {
	.tools {
		/*display: block;*/
		width: 100%;
		margin-top: .5em;
		margin-left: 0 !important;
	}
}

h1.header, h3.header {
	margin: 0;
}

div.header {
	margin: 0;
	line-height: 50px;
}

.brand {
	white-space: nowrap;
	line-height: 44.8px;
}

.hidexs {
	width: 100%;
}

.icon-btn {
	padding: 0;
	text-align: center;
	line-height: 50px;
	border-width: 0;
	font-size: 2em;
	margin-right: 0.5em;
}

@media screen and (max-width: 576px) {
	.nav .brand {
		font-size: 1em;
	}		

	h1 {
		font-size: 1.5em;
	}

	h3 {
		font-size: 1em;
	}

	.hidexs {
		display: none;
	}

	.endrow {
		width: 100%;
	}
}

/* Menu */
#divMenu {
	position: relative;
	z-index: 99;
}

.modalMenu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 90;
	opacity: 0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.top-nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	padding: 1em;
}

.menu {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.menu>a {
	color: white;
	margin: 0 1rem;
	overflow: hidden;
}

.menu-button-container {
	display: none;
	height: 100%;
	width: 30px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#menu-toggle {
	display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
	display: block;
	background-color: #fff;
	position: absolute;
	height: 4px;
	width: 30px;
	border-radius: 2px;
}

.menu-button::before {
	content: '';
	margin-top: -8px;
}

.menu-button::after {
	content: '';
	margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
	margin-top: 0px;
	transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
	margin-top: 0px;
	transform: rotate(-405deg);
}

.active {
	color: lightgreen !important;
	border-bottom: 5px solid lightgreen;
}

@media (max-width: 1120px) {
	.menu-button-container {
		display: flex;
	}

	.menu {
		position: absolute;
		top: 0;
		left: 0;
		margin-top: 50px;
		flex-direction: column;
		width: 100%;
	}

	#menu-toggle~.menu a {
		height: 0;
		margin: 0;
		padding: 0;
		border: 0;
	}

	#menu-toggle:checked~.menu a {
		height: 2.5em;
		padding: 0.5em;
	}

	.menu>a {
		display: flex;
		padding: 0.5em 0;
		width: 100%;
		color: white;
		background-color: var(--color-darkGrey);
	}

	.menu>a:not(:last-child) {
		border-bottom: 1px solid #444;
	}
}

progress {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	height: 30px;
}

.nav-left {
	justify-content: flex-start;
}