:root {
	--primary: #72a5d2;
	--secondary: #6c757d;
	--menu-primary: #e9ecef;
	--menu-secondary: #16181b;
}

html {
	height: 100%;
}
body {
	background-image: url(../images/cloudspot_background.svg);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: cover;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/*
 * Container containing the login form to the admin interface
 */
div.logon .application-logo {
	width: 300px;
	height: 50px;
	background-image: url(../images/cloudspot.svg);
	background-size: contain;
	margin-left: auto;
	margin-right: auto;
	margin-top: .5rem;
}
@media (max-width: 575.98px) {
	div.logon .btn-primary {
		margin-top: 1.5rem;
	}
}

/*
 * Containers that contains all the visual elements and content of the page
 */
div.content-wrapper {
	display: flex;
	flex-grow: 1;
	background-color: rgba(248, 249, 252, .9);
	width: 100%;
}
@media (min-width: 1200px) {
	div.content-wrapper {
		max-width: 1140px;
		margin-right: auto;
		margin-left: auto;
	}
}
div.content {
	width: 100%;
}

/*
 * Container containing the header of the administration interface, with the
 * brand logo and the operator menu
 */
header {
	background-color: #fff;
}
header .application-logo {
	width: 300px;
	height: 50px;
	background-image: url(../images/cloudspot.svg);
	background-size: contain;
}
header .navbar-toggler {
	padding: 1rem .25rem;
	align-self: baseline;
	background-color: var(--primary);
}
header .navbar-toggler-icon {
	height: auto;
}
header .navbar-nav .dropdown-menu {
	position: absolute;
}
@media (max-width: 575.98px) {
	header .application-logo {
		width: 200px;
		height: 33.33px;
	}
}
@media (max-width: 991.98px) {
	header nav.navbar {
		padding: 0 1rem 0 0;
	}
}

/*
 * Container that contains the menu and navigation links
 */
nav.menu.navbar {
	padding: 0;
	align-items: initial;
}
nav.menu .navbar-nav {
	width: 182px;
	line-height: 1.25;
	padding-bottom: .5rem;
}
nav.menu .navbar-collapse {
	align-items: initial;
}
nav.menu .menu-heading {
	padding: 1rem;
	font-size: 0.75rem;
	font-weight: bold;
	text-transform: uppercase;
}
nav.menu .menu-heading span, nav.menu .menu-link span {
	width: 15px;
	display: inline-block;
	text-align: center;
}
nav.menu a.menu-link {
	padding: .5rem 1rem;
	font-size: 0.75rem;
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	color: inherit;
}
nav.menu div.menu-heading[data-toggle="collapse"]:after {
	font-family: 'FontAwesome';
	content: "\f078";
	float: right; 
}
nav.menu div.menu-heading.collapsed:after {
	font-family: 'FontAwesome';
	content: "\f054";
	float: right;
}
nav.menu .list-group {
	margin: 0 .5rem;
	background-color: #fff;
}
nav.menu .list-group-item {
	padding: .35rem 1.25rem;
	font-size: .9rem;
	border: none;
	color: #212529;
	text-align: inherit;
	white-space: nowrap;
}
nav.menu .list-group-item:hover {
	color: var(--menu-secondary);
	text-decoration: none;
	background-color: var(--menu-primary);
}
nav.menu .list-group-item.active {
	color: var(--menu-secondary);
	background-color: #fff;
	margin-top: 0;
}
nav.menu .list-group-item .menu-btn {
	float: right;
}
nav.menu .menu-divider {
	height: 0;
	width: 90%;
	color: #212529;
	margin: .5rem .5rem 0 .5rem;
	overflow: hidden;
	border-top: 1px solid var(--menu-primary);
}
@media (min-width: 576px) {
	nav.menu .list-group-item.active {
		background-color: var(--menu-primary);
	}
	nav.menu a.menu-link.active, nav.menu div.menu-heading.active {
		color: var(--menu-primary);
	}
}
@media (max-width: 575.98px) {
	nav.menu .navbar-nav {
		width: 100%;
		padding-bottom: 0;
	}
	nav.menu.navbar {
		position: absolute;
		z-index: 100000;
		width: 100%;
		top: 3.5rem;
	}
	nav.menu .menu-heading, nav.menu a.menu-link {
		padding: 1rem;
	}
	nav.menu li.nav-item:not(:first-child) {
		border-top: 1px solid var(--menu-secondary);
	}
	nav.menu .menu-divider {
		display: none;
	}
	nav.menu .list-group {
		margin: 0;
		border-radius: 0;
	}
	nav.menu .list-group-item:not(:first-child) {
		border-top: 1px solid #d1d1d1;
	}
	nav.menu .list-group-item {
		padding: .75rem 1.25rem;
	}
}

/*
 * Main page title
 */
h3.page-header, h4.page-header {
	font-weight: bold;
	text-align: center;
}

/*
 * Overrides Jqx styles to look like Bootstrap's default styles
 */
.jqx-widget, .jqx-widget-content {
	font-family: inherit;
	font-style: inherit;
	font-size: inherit;
}
.jqx-widget, .jqx-widget-content, .jqx-widget-header, .jqx-fill-state-normal {
	line-height: inherit;
}
.jqx-widget-header {
	background: #f7f7f7;
}
.jqx-widget-content {
	border-color: rgba(0, 0, 0, 0.125);
}
.jqx-tabs-header {
	height: 30px !important;
	padding-bottom: 0;
}
.jqx-tabs-title {
	height: 20px !important;
}
.jqx-tabs .tblChart {
	width: 100%;
	height: 100%;
}
.jqx-tabs-title-container {
	position: absolute !important;
}
.jqx-chart-title-text,
.jqx-chart-axis-text,
.jqx-chart-label-text,
.jqx-chart-tooltip-text,
.jqx-chart-legend-text {
	font-family: arial, sans-serif;
}
.jqx-grid-cell img.status {
	margin: 6px;
}
.jqx-grid-cell i.social {
	position: absolute;
	top: 0;
	right: 0;
	padding: .5rem;
}
.jqx-grid-toolbar {
	background: initial;
	background-color: rgba(0, 0, 0, 0.03);
}
.jqx-grid-statusbar .jqx-button {
	padding: 2px 5px;
}
.jqx-grid .jqx-adaptive-view {
	background: #f6f6f6;
	overflow-y: scroll;
}
.jqx-grid .jqx-adaptive-view a {
	color: #007bff;
	padding: 0;
}
.jqx-grid .jqx-adaptive-table {
	background-color: #fff;
	margin-top: 25px;
}
.jqx-grid .jqx-adaptive-table tr:first-child td:last-child {
	padding-right: 20px;
}
.jqx-grid .jqx-adaptive-table tr td:first-child {
	width: 40%;
}
.jqx-grid .jqx-adaptive-view .jqx-icon-close {
	top: 5px !important;
}

/*
 * Container containing the grid header displayed in the jqxgrid toolbar, with
 * the grid title and error
 */
div.grid-header {
	display: flex;
	align-items: center;
	padding: 0.25rem 1.25rem;
	box-sizing: border-box;
}
div.grid-header .error {
	color: #dc3545;
	margin-left: 1rem;
}

/*
 * Custom card container styles
 */
.card-header {
	padding: 0.25rem 1.25rem;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}
.card-body {
	padding: .75rem 1.25rem;
}
.card-body div.social {
	position: absolute;
	right: .75rem;
	max-width: 200px;
}
.card-header:has(+ .card-grid) {
	border-bottom: none;
}
.card-grid .jqx-grid {
	border-bottom: none;
	border-left: none;
	border-right: none;
	border-top-left-radius: unset;
	border-top-right-radius: unset;
}
.card-footer {
	display: flex;
	padding: .5rem .5rem;
	flex-wrap: wrap;
	gap: 4px;
}
.card-footer .btn {
	padding: .2rem .75rem;
}
.card-footer .text-info {
	font-style: italic;
	float: right;
}
.card-footer .form-control {
	height: auto;
	padding: .2rem .75rem;
}
.card-footer .grid-search {
	padding: 0;
	margin-left: auto;
}
.card-footer .grid-buttons {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}
@media (max-width: 767.98px) {
	.card-footer .grid-search {
		order: 0;
		margin-bottom: .25rem;
	}
	.card-footer .grid-buttons {
		order: 1;
	}
	.card-body div.social {
		display: none;
	}
}

/*
 * Container that contains footer informations, usually the LC+ copyright
 */
footer {
	padding: 1rem 0 .5rem 0 !important;
	margin-top: 1rem;
	background-color: #fff;
}
footer .copyright {
	line-height: 1;
	font-size: .8rem;
}
footer .footer-logo {
	width: 80px;
	height: 23px;
	background-image: url(../images/banner_activeplus.svg);
	background-size: contain;
	margin-left: auto;
	margin-right: auto;
}

/*
 * Container that contains help informations
 */
.container.help h5 {
	color: var(--primary);
}

/*
 * Container that contains input search 
 */
.input-search i {
	width: 16px;
}
.input-search .search-go {
	color: var(--primary);
	cursor: pointer;
}
.input-search .search-clear {
	color: var(--secondary);
	cursor: pointer;
}
.input-search .input-group-text {
	background-color: #efefef;
}

/*
 * Buttons
 */
.btn-primary {
	background-color: var(--primary);
	border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
	background-color: #1f71b8;
	border-color: #1a629c;
	box-shadow: none;
}
.btn-primary.disabled, .btn-primary:disabled {
	background-color: #6c757d;
	border-color: #6c757d;
}
.bg-secondary {
	background-color: var(--secondary) !important;
}
.btn-secondary {
	background-color: var(--secondary);
	border-color: var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
	background-color: #5a6268;
	border-color: #545b62;
	box-shadow: none;
}
button.touch {
	margin: .5rem;
}
button.touch img {
	height: 4rem;
	width: auto;
}
button.ticket_profile {
	position: relative;
	width: 100%;
	min-height: 3em;
	margin: .2em .5em .2em 0;
	cursor: pointer;
	text-align: justify;
}
button.ticket_profile .name {
	position: absolute;
	top: 0.2em;
	left: .5em;
	text-align: left;
}
button.ticket_profile .price {
	position: absolute;
	font-weight: bold;
	bottom: .2em;
	right: .5em;
}
button.ticket_profile img {
	height: 1.9em;
	width: auto;
	padding: .4em .3em .4em .3em;
	float: left;
}

/*
 * Custom styles
 */
a {
	color: #007bff;
}
a:hover {
	text-decoration: none;
}
a:not([href]) {
	cursor: pointer;
}
.bg-primary {
	background-color: var(--primary) !important;
}
.text-primary {
	color: var(--primary);
}
.text-wrap-balance {
	text-wrap: balance;
}
i.help {
	color: var(--primary);
	cursor: pointer;
}
.jqx-grid i[role="button"], .card-grid i[role="button"] {
	color: #007BFF;
}
i.level-info {
	color: #007BFF;
}
i.level-error {
	color: #DC3545;
}
i.level-critical {
	color: #6F42C1;
}
i.level-warn {
	color: #FFC107;
}
i.level-debug {
	color: #6C757D;
}
.shadow {
	box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15) !important;
}
small.info {
	color: #17a2b8;
}
label.disabled, div.disabled, span.disabled {
	color: #6c757d;
}