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 .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: 1rem !important;
	text-transform: none;
}

.nav .dj-submenu a {
	font-size: 0.95rem !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-trends {
	color: #0c5460;
	background-color: #d1ecf1;
	border-color: #bee5eb;
}
.alert-anomalies, .alert-pwarnings {
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
}

/* CONTENT */

.content h1, .content h2 {
	font-size: 1.2rem;
}
.content .stats_title, .content .records_title {
	margin: 1.3rem 0 0.8rem 0;
	padding-bottom: 0.8rem;
	font-size: 1.2rem;
	border-bottom: 1px solid #e5e5e5;
}
.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, .legend .badge {
    padding: 0.30em 0.40em;
    font-size: 0.80rem;
}
.table .nobreak {
	white-space: nowrap;
	color: #95999c;
}

.legend {
	text-align: center;
	line-height: 33px;
}

.opacity {
	opacity: 0.6;
}
.icon_big i {
	font-size: 1.2em;
	padding: 0 0.3rem;
}

.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;
	font-family: Roboto, sans-serif;
	border-radius: .2rem;
	box-shadow: 0 0 20px 0 rgba(183,190,199,0.15);
}
.status_box a {
	display: block;
	padding: 1.25rem;
	text-decoration: none;
}
.status_box .withoutlink {
	padding: 1.25rem;
}
.status_box a:hover {
	text-decoration: none;
}
.status_box h4 {
	font-size: 1.2rem;
	color: #FFF;
}
.status_box h3 {
	font-size: 1rem;
	color: #FFF;
}
.status_box p {
	font-size: 2rem;
	line-height: 55px;
	color: #FFF;
	font-weight: bold;
	text-align: right;
}
.status_box .progress {
	background-color: rgba(233,236,239,0.18);
}
.status_box .progress-bar {
	background-color: #e9ecef;
}
.status_box_1 {
    border-color: #7266bb;
    background-color: #7266bb;
}
.status_box_2 {
    border-color: #2ac14e;
    background-color: #2ac14e;
}
.status_box_3 {
    border-color: #f8ac5a;
    background-color: #f8ac5a;
}
.status_box_4 {
    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;
}

#accordion .btn {
	cursor: pointer;;
}

.alert-message-inside-box {
	padding: 5px 0;
}

.choose_pharmacy {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.choose_pharmacy .tools {
	margin-bottom: 0;
}
.choose_pharmacy .tools .bootstrap-select {
	min-width: 350px;
}
.choose_pharmacy .tools .bootstrap-select .dropdown-toggle, .choose_pharmacy .tools .bootstrap-select .dropdown-menu {
	background-color: #FFF;
}

.infos_rows {
	display: flex;
	flex-direction: column;
}
.infos_row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 13px 0;
	border-top: 1px solid #DEE2E6;
}
.infos_row:first-child {
	border-top: 0;
}
.infos_icon {
	width: 55px;
	font-size: 25px;
	text-align: center;
}
.infos_text {
	text-align: left;
	flex: 1;
}
.infos_buttons {
	text-align: center;
}
.infos_row span {
	color: grey;
	font-size: 0.9rem;
}

.empty_response {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 300px;
}
.empty_response .title i {
	font-size: 80px;
}
.empty_response p {
	max-width: 30%;
	text-align: center;
}

.box_66 .btn i {
	padding: 0;
}

.nav-item-docs {
	margin-bottom: -2px !important;
	line-height: 2rem !important;
} 

#section_staff table tfoot, #section_staff table tfoot tr, #section_staff table tfoot td {
	height: 18px !important;
	line-height: 18px !important;
	margin: 0;
	padding: 0;
}

#section_docs table tfoot, #section_docs table tfoot tr, #section_docs table tfoot td {
	height: 20px !important;
	line-height: 20px !important;
	margin: 0;
	padding: 0;
}

/* 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 .box_34 {
		width: 33%;
	}
	.reserved .box_66 {
		width: 65%;
	}
	.reserved .box_19 {
		width: 19%;
	}
	.reserved .box_79 {
		width: 79%;
	}
	
	.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;
	}

	#accordion .card-body {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#accordion .card-body div.form-group {
		width: 48%;
	}

	.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, .reserved .box_34, .reserved .box_66, .reserved .box_19, .reserved .box_79 {
		width: 100%;
	}
	
	.reserved .col_100, .reserved .col_50 {
		width: 100%;
	}

	.status_box h4 {
		font-size: 1rem;
	}
	.status_box h3 {
		font-size: 0.8rem;
	}

	.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;
	}
}

@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%;
	}
	.reserved .box_buttons .margin_auto {
		margin-left: auto;
	}
}

@media (max-width: 799px) {
	.status_boxes {
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.status_box {
		width: 48%;
		margin: 2% 0;
	}
	.status_box h4 {
		font-size: 1.3rem;
	}
	.status_box h3 {
		font-size: 1rem;
	}
	
	.choose_pharmacy {
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: flex-end;
		padding-top: 10px;
	}
	.choose_pharmacy .tools {
		width: 100%;
	}
	.choose_pharmacy .tools .bootstrap-select {
		width: 100%;
		min-width: 100%;
	}
}

@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;
}
.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;
}

/* File upload */

.fileupload_cover {
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.67);
	z-index: 100000;
}
.fileupload_loading {
	display: none;
	z-index : 100001;
}
.fileupload_loading .fileupload_modal {
	position: fixed;
	top: 40%;
	left: 50%;
	z-index: 100002;
	width: 560px;
	margin-left: -280px;
	background-color: white;
	-webkit-box-shadow: 0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);
	box-shadow: 0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);
	padding: 10px 15px;
	border-top: solid 7px #007bff;
	border-top-color: #007bff;
	-webkit-animation-name: type-green;
	animation-name: type-green;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-size: 0.9rem !important;
}
.fileupload_title {
    color: rgba(0, 0, 0, 0.87);
    font-size: 1.1rem !important;
    font-weight: bold;
    line-height: 35px;
}