/* Sticky footer styles */
html {
	position: relative;
	min-height: 100%;
}
body {
	margin-top: 60px;
	margin-bottom: 60px;
}
header > nav.navbar {
	max-height: 60px;
}
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	min-height: 60px; /* Set the fixed height of the footer here */
	line-height: none; /* Vertically center the text there */
	background-color: #f5f5f5;
}


/* Custom page CSS */
.footer > .container-fluid {
	padding-right: 15px;
	padding-left: 15px;
	
	height: 60px;
	overflow-y: hidden;
}

code {
	font-size: 80%;
}



/* icons sizes */
i.fa-solid {
	/* width: 1.5em; */
	padding: 0.2rem;
}


/* select2 designed like bootstrap select */
.select2-container .select2-selection--single .select2-selection__rendered {
	padding: .375rem 2.25rem .375rem .75rem;
}
.select2-container .select2-selection--single {
	height: auto;
}
.select2-container--default .select2-selection--single {
	border: 1px solid #ced4da;
	border-radius: .25rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 0.5rem;
	right: 0.75rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: inherit;
}
.select2.select2-container.select2-container--default.select2-container--below.select2-container--focus {
	display: block;
}


/* no underline on links */
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}


/* ---- jquery ui modals ---- */

/* jquery ui dialog lighter header bar */
.ui-widget-header {
	border: none;
	background: none;
}

/* more compact modal */
.ui-dialog .ui-dialog-titlebar {
	padding: 0;
	text-align: center;
}

.ui-dialog .ui-dialog-content {
	padding: 0.5em;
}

/* shadow on modal */
.ui-dialog {
	box-shadow: 0px 0px 15px 0px #000000;
	padding: 5px;
}

/* modal overlay */
.ui-widget-overlay {
	background: black;
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.5);
}
.ui-widget-overlay-after {
	transition: backdrop-filter 0.2s;
	backdrop-filter: blur(5px);
}

/* modal */
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
	border-radius: 15px;
}

/* no margin for pagination */
ul.pagination {
	margin-bottom: 0;
}


/* recover header navbar height on print */
@media print {
	body > .container-fluid {
		padding: 0;
	}
}


/* slightly bigger checkboxes */
input[type=checkbox] {
	width: 1.5rem;
	height: 1.5rem;
}

/* bigger switch checkboxes */
.form-switch input[type=checkbox] {
	width: 3em;
}
.form-check .form-check-input {
	float: none;
}


/* no scroll animation for chrome */
html {
	scroll-behavior: auto !important;
}


/* table headers centered */
table th {
	text-align: center;
}


/* custom fixed top responsive */
@media (min-width: 768px) {
	.fixed-md-top {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 1030;
	}

}