/* mailu logo */
.bg-mailu-logo {
	background-color: #2980b9!important;
}

/* user image */
.div-circle {
	position: relative;
	width: 2.1rem;
	height: 2.1rem;
	opacity: .8;
	background-color: white;
	border-radius: 50%;
}
.div-circle > i {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

/* nice round preformatted configuration display */
.pre-config {
	padding: 9px;
	margin: 0;
	white-space: pre-wrap;
	word-wrap: anywhere;
	border-radius: 4px;
}

/* fieldset */
legend {
	font-size: inherit;
}
fieldset:disabled :not(legend) label {
	opacity: .5;
}
fieldset:disabled .form-control:disabled {
	color: gray;
}

/* fix animation for icons in menu text */
.sidebar .nav-link p i {
	transition: margin-left .3s linear,opacity .3s ease,visibility .3s ease;
}

/* fix select2 text color */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	color: black;
}

/* range input spacing */
.input-group-text {
	margin-right: 1em;
}

/* more formatting */
.main-footer, .brand-text {
	display:none !important;
}

.brand-link.bg-mailu-logo {
	min-height: 57px;
}

.brand-link.bg-mailu-logo img:hover {
	filter: brightness(1.2) contrast(1.05) drop-shadow(0 0 1px #000);
}

.bg-mailu-logo .elevation-3 {
	box-shadow: none !important;
}
 
a.brand-link {
	margin-bottom: 52px;
}

.sidebar .nav-header {
	display:list-item !important;
	white-space: nowrap;
	opacity: 1;
	transition: opacity .3s;
}

.sidebar-collapse>div>aside:not(:hover)>.sidebar .nav-header {
	opacity: 0;
}

.brand-link>.brand-image {
	max-height: unset;
	margin-top: -3px;
	margin-left: 44px;
	width: 96px;
	height: 96px;
	filter: drop-shadow(0 0 1px #000);
	transition: margin-top .3s, margin-left .3s, width .3s, height .3s, filter .3s;
}

.sidebar-collapse>div>aside:not(:hover)>.brand-link .brand-image {
	margin-top: 12px;
	margin-left: -4px;
	width:66px;
	height:66px;
	filter: drop-shadow(0 0 1px rgba(0,0,0,.5));
}

.user-panel>.image {
	display: none;
}

.user-panel>div.info {
	/* height: 1.5em; */
	width: 100%;
	margin: -6px 0 -4px;
	transform: none !important;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-thumb {
	background:#494949;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
}

/* alert */
.alert-danger {
	background-color: #b51f2d;
	border-color: #b51f2d;
	animation-name: color;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}

@keyframes color {
	0% {
		background-color: #b51f2d;
	}
	50% {
		background-color: #d92738;
	}
	100% {
		background-color: #b51f2d;
	}
}