html, body {
	width: 100%;
	height: 100%;
	-webkit-box-sizing: border-box;
			box-sizing: border-box;
	background: #F8F8F8;
	font: 0.8rem/1.3rem Roboto, Tahoma, Arial, sans-serif;
	color: #212529;
	font-size: 100%;
	margin: 0;
	padding: 0;
}
a {
	color: #007BFF;
	background: none;
}
a:hover {
	color: #007BFF;
	background: none;
}

/* PUBLIC */

.public {
	display: flex;
	align-items: center;
	justify-content: center;
}
.public .box {
	margin: 1rem;
	padding: 2.5rem;
	border: 0 solid #E9EDF3;
	border-radius: 0.35rem;
	box-sizing: border-box;
	background-color: #FFF;
	background-clip: border-box;
	box-shadow: 0 0 17px 0 rgba(130,122,122,0.1);
	font: 0.8rem/1.2rem Roboto, Tahoma, Arial, sans-serif;
	color: #212529;
	text-align: justify;
}
.public .box h1 {
	display: none;
	visibility: hidden;
}
.public .box .app_title h2, .public .box .app_title a {
    color: #2f4050;
    text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
}
.public .box .app_title a:hover {
	text-decoration: none;
}
.public .box .sdutility_users_forms form {
	width: 100%;
}
.public fieldset {
	margin-top: -25px;
}
.public label {
	width: 100% !important;
	margin: 0.5rem 0;
}
.public input {
	width: 100% !important;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 0.75rem;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.public .sdutility_users_forms_margin_left {
	width: 100%;
	margin: 0.5rem 0 0 0;
}
.public .sdutility_users_forms_text {
	padding-left: 0.5rem;
	line-height: 2.5rem;
}
.public .sdutility_users_forms_remind_reset {
	float: right;
	list-style: none;
	text-align: right;
}
.public .sdutility_users_forms #pg_captcha div {
    margin: 20px auto !important;
}
.public .btn {
	width: 100%;
}
.public .sdutility_login_links {
	text-align: center;
	margin-top: -0.3rem;
	margin-bottom: 2.5rem;
}
.public .sdutility_login_links .login_new, .public .sdutility_login_links .login_actives {
	margin: 0;
	padding: 0.2rem 0;
}
.public .sdutility_login_links .login_new a, .public .sdutility_login_links .login_actives a {
	text-decoration: none;
}
.public .copyright {
	max-width: 300px;
	margin: 15px auto 0 auto;
	text-align: center;
}

/* CONTENITORI */

.sdgrid {
	width: 93%;
	margin: 0 auto;
}
.sdfull {
	width: 100%;
}

/* HEADER */

.header header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #FFF;
}
.header header .app_title h1, .header header .app_title a {
	font-size: 1.8rem;
	color: #FFF;
}
.header header .app_title a:hover {
	text-decoration: none;
}
.header header .app_user {
	font-size: 1rem;
}
.header header .app_manage a {
	padding: 0 0.5rem;
	font-size: 1.3rem;
	color: #FFF;
}

/* MENU */

.nav {
	background: #FFF;
    box-shadow: 0 1px 1px #E9ECEF;
}
.nav nav .dj-megamenu li a.dj-up_a {
	border: 0;
	font-family: Roboto,sans-serif;
	font-weight: normal;
	font-size: 0.95rem !important;
	text-transform: none;
}

.nav .dj-submenu a {
	font-size: 0.90rem !important;
}

/* ALERT */

.app_message {
	margin-top: 1rem !important;
	font-size: .9rem;
}
.app_message joomla-alert {
	padding: 1rem 2rem;
}
.app_message #system-message-container, .alert-error {
	text-align: justify;
}
.app_message .alert-heading, .app_message .joomla-alert--close {
	display: none;
	visibility: hidden;
}

.alert-error {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
.alert-notice {
	color: #0c5460;
	background-color: #d1ecf1;
	border-color: #bee5eb;
}
.alert-demo {
	color: #0c5460;
	background-color: #d1ecf1;
	border-color: #bee5eb;
}
.alert-anomalies {
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
}

/* CONTENT */

.content h1, .content h2 {
	font-size: 1.2rem;
}
.content form {
    display: flex;
	flex-wrap: wrap;
}
.reserved .box {
	margin: 1% 0;
	padding: 1.5rem 2rem;
	background-color: #FFF;
	background-clip: border-box;
	border: 0 solid #E9EDF3;
	border-radius: 0.35rem;
	box-sizing: border-box;
	box-shadow: 0 0 17px 0 rgba(130,122,122,0.1);
	text-align: justify;
	font-size: 0.9rem;	
}
.reserved .box h4 {
	margin-bottom: 1.3rem !important;
	font: bold 1.2rem/1.4 Roboto, Tahoma, Arial, sans-serif;
	color: #495057;
	text-align: left;
}

.reserved .box .cols {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.reserved .button_default {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.reserved .bootstrap-select>.dropdown-toggle {
	border: 1px solid #ced4da;
}

.buttons_fixed {
	position: fixed;
	top: 0;
	left: 0;
	margin: 0 !important;
	padding: 0;
	z-index: 10000;
	border-bottom: 1px solid #ced4da;
	box-shadow: 0 1px 1px #5A6268;
	border-radius: 0 !important;
}
.buttons_fixed .buttons_container {
	width: 95%;
	margin: 0 auto;
}

.table th {
    color: #495057;
    background-color: #e9edf3;
    border-color: #dee2e6;
}
.table th, .table td {
    padding: .75rem;
    vertical-align: middle !important;
}
.table .center {
	text-align: center;
}
.table .left {
	text-align: left;
}
.table .right {
	text-align: right;
}
.table .badge {
    padding: 0.30em 0.40em;
    font-size: 0.80rem;
}
.table .nobreak {
	white-space: nowrap;
	color: #95999c;
}

.dropdown-menu {
    font-size: 0.9rem;
}

.tools {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.toots .tool_search input {
	flex-flow: row nowrap;
}
.tools .tool_search button, .tools .tool_limit, .tools .tool_ordering {
	margin-left: 5px;
}
.tools .margin_auto {
	margin-left: auto;
}

.status_boxes {
	width: 100%;
	display: flex;
}
.status_box {
	width: 24%;
	height: 140px;
	margin: 1rem 0;
	padding: 1.25rem;
	font-family: Roboto, sans-serif;
	border-radius: .2rem;
	box-shadow: 0 0 20px 0 rgba(183,190,199,0.15);
}
.status_box h4 {
	font-size: 1rem;
	color: #FFF;
}
.status_box p {
	font-size: 1.4rem;
	line-height: 55px;
	color: #FFF;
	font-weight: bold;
}
.status_box .progress {
	background-color: rgba(233,236,239,0.18);
}
.status_box .progress-bar {
	background-color: #e9ecef;
}
.status_box_hours {
    border-color: #7266bb;
    background-color: #7266bb;
}
.status_box_reports {
    border-color: #2ac14e;
    background-color: #2ac14e;
}
.status_box_ratings {
    border-color: #f8ac5a;
    background-color: #f8ac5a;
}
.status_box_duration {
    border-color: #23b5e2;
    background-color: #23b5e2;
}

.training_status {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: end;
	align-items: center;
	font-family: Roboto, sans-serif;
	font-size: 0.85rem;
}
.training_status div {
	margin: 0.5rem 0 0.5rem 1.5rem;
}
.training_status span.badge {
	font-size: 0.9rem;
}

.card {
	margin: 1rem 0;
}
.card span.badge {
	font-size: 0.8rem;
}

.sdcaptcha_input {
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
}
.group_new_sdhp {
	display: none;
	visibility: hidden;
}

/* PAGINAZIONE */

.pagination .page-link {
	border: 1px solid #dee2e6;
}

/* FOOTER */

.footer {
	margin-top: 1rem;
	border-top: 1px solid #dee2e6;
	display: flex;
	color: #6c757d;
	font-family: Roboto, Tahoma, Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: normal;
	text-transform: none;
}

@media (min-width: 1165px) {
	.sdgrid {
		width: 95%;
		margin: 0 auto;
		max-width: 1350px;
	}

	.change_psw {
		max-width: 50%;
		margin-left: auto;
		margin-right: auto;
	}

	.header {
	    background-color: #2f4050;
	}
	.header header {
		height: 70px;
	    flex-direction: row;
	}
	.header header .app_user {
		margin-left: auto;
		margin-right: 1.5rem;
	}

	.tools {
		flex-direction: row;
	}

	.content form {
	    flex-direction: row;
		justify-content: space-between;
	}

	.buttons_fixed .buttons_container {
		max-width: 1350px;
		padding: 0 2rem;
	}

	.reserved .box_100 {
		width: 100%;
	}
	.reserved .box_50 {
		width: 49%;
	}
	
	.reserved .cols {
		display: flex;
	    flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.reserved .col_100 {
		width: 100%;
	}
	.reserved .col_50 {
		width: 48%;
	}
	.reserved .padding_top {
		padding-top: 47px;
	}

	.footer {
		flex-direction: row;
		margin-top: 10px;
		padding: 10px 20px 20px 20px;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 1164px) {
	.header {
		background-color: #FFF;
		box-shadow: 0 1px 1px #E9ECEF;
		background: linear-gradient(to bottom,  #2f4050 101px, #FFF 2%);
	}
	.header header {
	    flex-direction: row;
	    flex-wrap: wrap;
	}
	.header header .app_title {
		width: 100%;
		margin: 0;
		padding: 1rem 0 0 0;
	    background-color: #2f4050;
	    text-align: center;
	}
	.header header .app_user {
		width: 100%;
		margin: -1px 0 0 0;
		padding: 0.5rem 0 1rem 0;
	    background-color: #2f4050;
	    text-align: center;
	}
	.header header .app_manage {
		margin: 0;
		padding: 1rem 0;
	}
	.header header .app_manage a {
		color: #2f4050;
	}
	.dj-mobile-open-btn {
		font-size: 2rem !important;
	}
	.dj-mobile-open-btn:focus, .dj-mobile-open-btn, .dj-mobile-open-btn:hover,
	.dj-mobile-open-btn:focus, .dj-mobile-open-btn:hover, .dj-mobile-open-btn:focus {
		outline: none !important;
		background: #FFF !important;
		color: #2f4050 !important;
	}
	.dj-mobile-open-btn, .dj-mobile-open-icon:before, .dj-megamenu-wrapper * {
		margin: 0 !important;
		padding: 0 !important;
		height: auto !important;
		font-size: 2rem !important;
		background: none !important;
		outline: none !important;
		color: #2f4050 !important;
	}
	.dj-offcanvas em {
		padding-right: 10px;
	}

	.tool {
		margin: 0.2rem;
	}
	.tool_search input {
		max-width: 40%;
	}

	.reserved .box {
		padding: 1rem 0.7rem 0.7rem 0.7rem;
	}
	.reserved .box_100, .reserved .box_50 {
		width: 100%;
	}
	
	.reserved .col_100, .reserved .col_50 {
		width: 100%;
	}

	.footer {
		flex-direction: column;
		text-align: center;
		padding: 0.5rem 0;
	}
}

@media (min-width: 600px) {
	.public .box {
		width: 500px;
	}
}

@media (min-width: 900px) {
	.reserved .box_buttons .buttons_container {
		display: flex;
		flex-direction: row;
	}
	.reserved .box_buttons button {
		margin: 0 3px;
	}
	.reserved .box_buttons .margin_auto {
		margin-left: auto;
	}
}

@media (max-width: 900px) {
	.reserved .box_buttons .buttons_container {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		/*justify-content: center;*/
	}
	.reserved .box_buttons button {
		margin: 5px;
	}
	.reserved .box_buttons .break {
		/*flex-basis: 100%;*/
		height: 0;
	}
}

@media (min-width: 800px) {

	.status_boxes {
		flex-direction: row;
		justify-content: space-between;
	}
	.status_box {
		width: 24%;
	}
}

@media (max-width: 799px) {
	.status_boxes {
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.status_box {
		width: 48%;
		margin: 2% 0;
	}
}

@media (max-width: 600px) {
	.status_boxes {
		flex-direction: column;
	}
	.status_box {
		width: 100%;
		margin: 0.5rem 0;
	}
	
	.training_status {
		flex-direction: column;
		justify-content: center;
		margin: 0.75rem 0;
	}
	.training_status div {
		margin: 0.25rem 0;
	}
}

@media (max-width: 700px) {
	.public .box {
		width: 90%;
	}
	.public .box .app_title h2, .public .box .app_title a {
		font-size: 1.4rem;
	}

	.tools {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.tools .margin_auto {
		margin: 0.2rem;
	}
	.tool_search input {
		max-width: 64%;
	}
	.tool_query_limit {
		width: 30%;
	}
}

@media (max-width: 450px) {
	.tool_query_limit {
		width: 88%;
	}
}

@media (max-width: 310px) {
	.public .box .app_title h2, .public .box .app_title a {
		font-size: 1rem;
	}

	.header {
		background: linear-gradient(to bottom,  #2f4050 92px, #FFF 2%);
	}
	.header header .app_title h1, .header header .app_title a {
		font-size: 1.4rem;
	}
	.header header .app_user {
		font-size: 0.8rem;
	}
	.tools {
		display: none;
		visibility: hidden;
	}
}

/* UPGRADE 2023 */

@media (min-width: 1165px) {
	.sdgrid {
		max-width: 1500px;
	}
}

@font-face {
	font-family: Roboto;
	src: url("../fonts/Roboto-Medium.woff");
}
@font-face {
	font-family: Roboto;
	font-weight: bold;
	src: url("../fonts/Roboto-Bold.woff");
}

.header {
	background-color: #1F3047;
}

.dj-up_a {
	font-size: 0.95rem !important;
}

.public .box a, .box .table a, .footer a {
	text-decoration: underline;
	font-weight: 500;
}
.public .box a:hover, .box .table a:hover, .footer a:hover {
	text-decoration: none;
}
.app_title a, .box .table tfoot a {
	text-decoration: none !important;
}

.table td {
	padding: 0.9rem 0.75rem;
	text-align: left;
}
.table th {
	color: #000 !important;
	background-color: #E9ECEF !important;
	border-color: #dee2e6;
	border-bottom-width: 3px!important;
	padding: 1rem 0.75rem;
}
.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(0,0,0,.025);
}

.public .box, .reserved .box {
	font-size: 1rem;
}
.app_message {
	font-size: 1rem !important;
}
.training_status {
	font-size: 1rem !important;
}
.status_boxes h4 {
	font-size: 1.2rem !important;
}
.footer {
	font-size: 0.9rem;
}
.badge {
	padding: 0.5rem 0.5rem 0.4rem 0.5rem !important;
	margin: 0 !important;
}
.btn {
	font-size: 0.95rem;
}
.btn i {
	padding-right: 0.3rem;
}

/* Editor */

.note-editor .table-striped { width: 100%; margin: 0 0 18px 0; padding: 0; color: #333; border: 0; border-bottom: 1px solid #e5e5e5; background-color: transparent; border-collapse: collapse; border-spacing: 0; }
.note-editor .table-striped th, .note-editor .table-striped td { padding: 4px; line-height: 16px; vertical-align: top; border-top: 1px solid #dddddd; text-align: center; vertical-align: middle; }
.note-editor .table-striped th { font-weight: bold; background: #2F4050; color: #FFF; }
.note-editor .table-striped thead th { vertical-align: bottom; }
.note-editor .table-striped thead:first-child tr:first-child th, .note-editor .table-striped thead:first-child tr:first-child td { border-top: 0; }
.note-editor .table-striped tr:nth-child(odd) td { background-color: #f9f9f9; }