﻿/* #region CoreUI overrides */

::placeholder {
	opacity: 0.4 !important;
}

form .help-block {
	font-size: .7rem;
	color: #9d9ea0;
}

.c-sidebar-nav-link, .c-subheader-nav-link {
	cursor: pointer;
}

.alert-link {
	cursor: pointer; /* per i <a> senza href */
}

.c-sidebar .c-sidebar-brand-minimized img,
.c-sidebar .c-sidebar-brand-full img,
.c-header-brand img {
	height: 2.5rem;
}

.c-sidebar .c-sidebar-brand-full {
	white-space: nowrap;
	text-decoration: none !important;
	font-size: 1.4rem;
	color: #fff;
}

	.c-sidebar .c-sidebar-brand-full span {
		vertical-align: middle;
	}


.c-header-brand {
	white-space: nowrap;
	text-decoration: none !important;
	font-size: 1.6rem;
}

	.c-header-brand span {
		margin: 0 0.3rem 0.1rem;
	}

.c-header-nav-item {
	height: 100%;
	display: flex;
	align-items: center;
}

	.c-header-nav-item .dropdown-menu {
		cursor: default;
		margin-top: -0.1rem;
		border-top-right-radius: 0;
	}

	.c-header-nav-item .c-header-nav-link {
		border-top: .3rem solid transparent;
		border-bottom: .3rem solid transparent;
	}

		.c-header-nav-item .c-header-nav-link[aria-expanded=true] {
			border-bottom-color: #768192;
			color: #4f5d73 !important;
		}

.nav-tabs .nav-link.active {
	background-color: #fff;
	border-bottom-color: #fff;
}

.nav-tabs .nav-item {
	white-space: nowrap;
}

.tab-content {
	border: 1px solid #c4c9d0;
	border-top: 0;
	background-color: #fff;
	padding: 1rem 1.2rem;
	border-radius: 0 0 .25rem .25rem;
}


.jumbotron {
	--jumbotron-height: 12rem;
	height: var(--jumbotron-height);
	position: relative;
	color: #fff;
	padding: 1.2rem 0;
	border-radius: .25rem;
	box-shadow: 0 0.3rem 0.5rem -0.3rem rgba(0, 0, 21, 30%);
}

	.jumbotron h6 {
		font-weight: 300;
		margin: 0;
		opacity: .8;
	}

	.jumbotron h1 {
		font-size: 3rem;
		font-weight: 300;
		white-space: nowrap;
		overflow-x: hidden;
		text-overflow: ellipsis;
		line-height: 1.5;
		margin: 0;
	}

	.jumbotron a {
		color: #fff;
	}

	.jumbotron .ws-gradient-bg {
		object-fit: cover;
		position: absolute;
		top: 0;
		width: 100%;
		height: var(--jumbotron-height);
		opacity: 0.3;
		overflow: hidden;
		pointer-events: none;
		background: linear-gradient(135deg, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);
	}

.form-group .form-validation-error {
	font-size: .7rem;
	color: var(--danger);
}

.display-5, .display-6 {
	font-weight: 300;
	line-height: 1.2;
}

.display-5 {
	font-size: 2.5rem;
}

.display-6 {
	font-size: 2rem;
}

.modal-backdrop {
	background-color: rgba(0, 0, 21, .5);
	backdrop-filter: blur(4px);
}

.modal-backdrop.show {
	opacity: 1;
}

/* #endregion */
/* #region Global text size */
html.ws-text-xlarge {
	font-size: 1.2rem;
}

html.ws-text-large {
	font-size: 1.05rem;
}

html.ws-text-normal {
	font-size: inherit;
}

html.ws-text-small {
	font-size: .875rem;
}

/* #endregion */

/* #region Full page overlay */

.fullPageOverlay {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(99, 111, 131, 70%);
	backdrop-filter: blur(8px);
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	visibility: hidden;
	opacity: 0;
	transition: opacity ease 350ms;
}

	.fullPageOverlay.show {
		visibility: visible;
		opacity: 1;
	}

/* #endregion */

html.ws-table-hover table.ws-table-hover tbody tr:hover {
	background-color: #f7f7f8;
}

.vehicle-plate {
	background-color: #fff;
	font-weight: 600;
	font-family: var(--font-family-monospace), monospace;
	color: var(--color);
	padding: 0 0.2rem;
	border-width: 0 0.6rem;
	border-style: solid;
	border-color: #0f64c7;
	border-radius: 0.12rem;
	box-shadow: 0px 0px 0px 1px var(--color);
}

img.cerberus-user {
	border-radius: 50%;
	margin-right: 0.2em;
	width: 1.4em;
	height: 1.4em;
	vertical-align: text-top;
}

.ws-header-icon {
	vertical-align: bottom;
	font-size: 1rem;
	margin-left: -0.7rem;
	margin-right: .2rem;
	width: 1rem;
	display: inline-block;
}

.ws-vehicle-tag {
	background: var(--light);
	color: var(--dark);
	font-size: 0.7rem;
	border: 1px solid var(--secondary);
	padding: 0.1rem 0.4rem;
	border-radius: 0.35rem;
	display: inline-flex;
	align-items: center;
}
