
:root {
	
	--main-font: 'Poppins', Helvetica, Arial, serif;
	
	--primary: #1c2541;
	--secundary: #fff;
	--tertiary: #1c2541;
	--quaternary: #9eaaf0;
	--quinquernary: #576eb2;
	--accent: #5A1258;
	--background: #f6f8ff;
	--backgroundHeavy: #999fc3;
	--backgroundSecundary: var(--background);
	--navigationBackground: var(--tertiary);
	--navigationBackgroundText: var(--secundary);
	--navigationBackgroundTextHilighted: #a6a6a6;
	
	--backgroundGrey: #e5e6f0;
	
	--optigestGreenField: green;
	--optigestRedField: green;
	--optigestYellowField: orange;
	
	--green: #05d570;
	--yellow: #ffe240;
	--red: #ff5151;
	--royalblue: #4d8bf6;
	
	--light-green: #d8ffd8; 
	--light-red: #ffdcdc;
	--light-orange: #ffdcdc;
	--light-yellow: #feffb9;
	--light-blue: #cddff6;
	
	--border-radius-sm: 0.267rem;
}

html, body, main {
	background-color: var(--background);
}
nav, .main-menu {
	background-color: var(--backgroundSecundary) !important;
}
.main-menu.menu-dark, .main-menu.menu-dark .navigation {
	background-color: var(--navigationBackground) !important;
}
.main-menu.menu-dark .navigation .navigation-header {
	color: var(--backgroundHeavy) !important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, body, footer.footer a, .table thead th, .table, label {
    font-family: var(--main-font), Helvetica, Arial, serif;
    color: var(--primary);
}

input.disabled {
	pointer-events: auto;        /* allow hover */
	user-select: none;           /* prevent text selection */
	caret-color: transparent;    /* hide blinking cursor */
}
.form-control:disabled, .form-control[readonly] {
	background-color: #c5cbef;
    color: var(--primary) !important;
    cursor: not-allowed !important;
}
.form-control.has-issue {
	background: #ffe37d82;
}


.swal2-x-mark { background: transparent !important; }
.swal2-popup .swal2-styled.swal2-cancel {
	background: var(--quaternary) !important;
}
.swal2-popup .swal2-title {
	word-break: break-word;
    overflow-wrap: break-word;
}
.swal2-popup .swal2-styled.swal2-cancel:hover {
	opacity: 0.8;
}
.swal2-popup .swal2-styled.swal2-cancel:active {
	opacity: 0.6;
}
.swal2-content > div > b {
	font-weight: 600;
}
.swal-table .table thead th {
	min-width: 60px !important;
}
@media(min-width: 1024px) {
	.swal2-container {
		padding: 40px 20px !important;
	}	
}

.header-navbar .navbar-container ul.nav li>a.nav-link, .text-muted, .dropdown-item, .dropdown-menu i, .nav-item > a:not(.navbar-brand) {
	color: var(--navigationBackgroundText) !important;
}
.header-navbar .navbar-container ul.nav li i.ficon {
	color: var(--navigationBackground) !important;
}
.header-navbar .navbar-container ul.nav li>a.nav-link :hover , .text-muted:hover, .dropdown-item:hover, .dropdown-menu i:hover, .nav-item > a:not(.navbar-brand):hover, .header-navbar .navbar-container ul.nav li i.ficon:hover, .nav-item > a:not(.navbar-brand):hover {
	color: var(--navigationBackgroundTextHilighted) !important;
}
.header-navbar .navbar-container ul.nav li>a.nav-link :active , .text-muted:active, .dropdown-item:active, .dropdown-menu i:active, .nav-item > a:not(.navbar-brand):active, .header-navbar .navbar-container ul.nav li i.ficon:active, .nav-item > a:not(.navbar-brand):active {
	color: var(--navigationBackgroundTextHilighted) !important;
	opacity: 0.9;
}
.navtitle-btn {
    margin-left: 0.8em;
    position: absolute;
    margin-top: -13px;
    border: 0 solid transparent;
    padding: 4px;
    width: 40px;
    height: 40px;
    line-height: 1.6rem;
    border-radius: var(--border-radius-sm);
}
.navtitle-btn:active, .navtitle-btn:focus, .navtitle-btn:active:focus {
	opacity: 0.9;
}
.navtitle-btn:hover {
	opacity: 0.8;
}
.navtitle-btn > bx {
	font-size: 1.4em;
}

.text-muted {
	color: rgba(0, 0, 0, 0.60) !important;
}


.btn, button.swal2-styled {
	border-radius: var(--border-radius-sm) !important; 
}

.swal2-title {
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
.swal2-popup .swal2-title, .form-control, .form-label-group textarea:not(:focus):not(:placeholder-shown)~label, .form-label-group>input:not(:focus):not(:placeholder-shown)~label {
	font-family: var(--main-font) !important;
	color: var(--primary) !important;
}
.main-menu.menu-dark .navigation>li.active:not(.sidebar-group-active)>a {
	color: var(--tertiary) !important;
}
.main-menu .navbar-header .navbar-brand .brand-logo .logo {
    height: auto !important;
    max-width: 198px !important;
    left: -12px !important;
    top: 14px;
}
.main-menu.menu-dark .navigation>li.active:not(.sidebar-group-active)>a, .main-menu.menu-dark .navigation>li.active:not(.sidebar-group-active)>a:active, .main-menu.menu-dark .navigation>li.active:not(.sidebar-group-active)>a, .main-menu.menu-dark .navigation>li.active:not(.sidebar-group-active)>a:focus {
	background-color: var(--navigationBackgroundText);
    color: var(--tertiary) !important;
}
.main-menu.menu-dark .navigation>li.nav-item.open>a i, .main-menu.menu-dark .navigation>li.nav-item.sidebar-group-active>a i {
	color: var(--tertiary) !important;
}
.dropdown-menu.dropdown-menu-right.show {
	background: var(--navigationBackground);
}
.header-navbar .navbar-container ul.nav li a.dropdown-user-link .user-name {
	color: var(--primary) !important;
}

.warning-message {
	background: #f3de88;
    padding: 20px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: solid 2px #ccb336;
    border-radius: 28px;
    display: flex;
}

.col, .col-smallpadded {
	padding-left: 3px;
	padding-right: 3px;
}
.col-very-padded {
	padding-left: 15px;
    padding-right: 12px;
}

.table thead th {
	min-width: 120px;
	vertical-align: bottom;
}
.row-placeholder-collab {
	background: #ebd8ff;
}
.no-margin {
	margin-right: 0 !important;
    margin-left: 0 !important;
}

.btn-primary {
	border-color: var(--tertiary);
	background-color: var(--tertiary);
	color: var(--background);
}
.btn-primary:active, .btn-primary:focus, .btn-primary:active:focus {
	background-color: var(--tertiary) !important;
	opacity: 0.9;
}
.btn-primary:hover {
	background-color: var(--tertiary);
	color: var(--background);
	opacity: 0.8;
}
.btn-tertiary {
	border-color: var(--tertiary);
	background-color: var(--tertiary);
	color: var(--background);
}
.btn-tertiary:active, .btn-tertiary:focus, .btn-tertiary:active:focus {
	background-color: var(--tertiary) !important;
	opacity: 0.9;
}
.btn-tertiary:hover {
	background-color: var(--tertiary);
	color: var(--background);
	opacity: 0.8;
}
.btn-quaternary {
	border-color: var(--quaternary);
	background-color: var(--quaternary);
	color: var(--background);
}
.btn-quaternary:active, .btn-quaternary:focus, .btn-quaternary:active:focus {
	background-color: var(--quaternary) !important;
	opacity: 0.9;
}
.btn-quaternary:hover {
	background-color: var(--quaternary);
	color: var(--background);
	opacity: 0.8;
}

.btn-wide {
	width: 100% !important;
	padding: 0.8em;
	margin-bottom: .4em;
}

.btn.disabled,
.btn:disabled
.btn-green.disabled,
.btn-green:disabled,
.btn-success.disabled,
.btn-success:disabled {
	opacity: 0.6 !important;
	background-color: gray !important;
	cursor: not-allowed !important;
}

.swal2-confirm-destructive {
	border-color: "none";
	background-color: #FF5B5C !important;
	color: "#fff";
}
.swal2-popup .swal2-styled.swal2-confirm:not(.swal2-confirm-destructive) {
	border-color: var(--tertiary) !important;
	background-color: var(--tertiary) !important;
	color: var(--background) !important;
}
.swal2-popup .swal2-styled.swal2-confirm:active {
	border-color: var(--tertiary);
	color: var(--background);
	opacity: 0.10;
}
.swal2-popup .swal2-styled.swal2-confirm:hover {
	border-color: var(--tertiary);
	color: var(--background);
	opacity: 0.8;
}
a {
	color: var(--tertiary) !important;
}
footer.footer a {
	color: var(--primary) !important;
}

td>span {
	display: inline-flex !important;
}

.orange {
	color: #ef9f0c;	
}
.blue {
	color: #0d0df2;	
}
.green {
	color: #0bde0b;	
}
.red {
	color: #f00c0c;	
}

td > span > i.bx { 
	cursor: pointer !important;
}


.content-body {
	padding-bottom: 3em;
}

@media(max-width:467px) {
	/* CSS specific to iOS devices */
	html body.navbar-sticky .app-content .content-wrapper {
		padding: 1.8rem 0.6rem 0 !important;
		font-size: 13px !important;
	} 
	h1 {
		font-size: 1.8rem !important;
	}
	.big-big-number-label {
		font-size: 20px !important;
	    font-weight: 600 !important;
	    padding-top: 22px !important;
	}
	.big-number-cont {
		margin-top: 5px !important;
		margin-bottom: 5px !important;
	}
	.card {
		min-height: auto !important;
		margin-left: 10px;
		margin-right: 10px;
	}
	
	#main-table {
		width: calc(100% - 20px) !important;
	    overflow-y: scroll !important;
	    display: flow-root !important;
	}
	
	html body.navbar-static .navbar-container, html body.navbar-sticky .navbar-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.float-left.bookmark-wrapper {
		padding-left: 8px !important; 
	}
}

.dropdown-item:focus, .dropdown-item:hover {
	color: #fff !important;
	background-color: var(--backgroundHeavy) !important;
}


.print-document, .print-document > div > h1, .print-document > div > h2, .print-document > div > h3, .print-document > div > h4, .print-document > div > h5, .print-document > div > h6, .print-document > div > h7, .print-document > div > p, .print-document > div > *  {
	font-family: Verdana, Arial !important;
	text-align: left;
}

li.li-footer {
	font-size: 0.85em;
    padding-top: 1.2em !important;
    margin-top: 5em !important;
    border-top: solid var(--backgroundHeavy) 1px;
    margin-left: 1em !important;
    line-height: 1.2em;
    color: var(--backgroundHeavy) !important;
    margin-bottom: 40px !important;
}
li.li-footer > span {
	display: block;
}
li.li-footer > span > .bx {
	font-size: 1.0em !important;
}
li.li-footer > div > div {
	display: inline-block;
    width: 100%;
    padding-bottom: 12px;
}
li.li-footer > div > div > a {
	color: var(--backgroundHeavy) !important;
    display: inline-flex;
    padding: 6px 8px 6px 0px;
    margin: auto;
    text-align: left;
    cursor: pointer !important;
}

.inline-btn-cont {
	display: inline-flex;
	width: 100%;
}
.inline-btn-cont > button {
	margin-left: 16px;
    padding: 7px 16px;
    font-size: 12px;
    height: 38px;
    font-weight: 800;
}
.nav-menu-back {
	background: var(--primary);
    color: #fff;
    padding-left: 8px !important;
    border-radius: 18px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border: none;
    margin-top: 10px;
}

td.price-column, .nowrap {
    white-space: nowrap;
}

.form-helper {
    width: inherit;
    min-height: 1.7em !important;
    display: block;
    vertical-align: middle;
    line-height: 1.2em;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.8em;
    text-align: left;
    padding-top: 0.2em !important;
}
.col > .form-helper {
    height: 100% !important;
}
.form-control:not(.number), .onumber {
	text-align: left !important;
	padding: 0.25em 0.6em !important;
	font-size: 0.95em !important;
	line-height: 1.4em !important;
}
.form-control.number {
	font-size: 0.9em;
	line-height: 26px;
	text-align: center;
	padding: 0 0;
}
.row-group {
	background: #fafbff;
    border-radius: 8px;
    border: solid 0.6px var(--backgroundHeavy);
    padding: 7px;
    margin-bottom: 6px;
    padding-bottom: 0;
}
.form-control {
	margin-bottom: 0.6em !important;
	background-color: var(--backgroundGrey);
	box-sizing: border-box !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.form-control.number.positive {
	background: #21bb2182 !important;
	color: var(--primary) !important;
}
.form-control.number.negative {
	background: #ff6a6aab !important;
	color: var(--primary) !important;
}
.yellow-input-bkg {
	background: #ffca8261 !important;
}
.row-group > .row > .col > .form-control {
	margin-bottom: 6px !important;
}
.row-group > .row > .col > .form-helper {
	text-align: right !important;
}

table.small {
	font-size: 0.95em !important;
}
table.small > tbody > tr > td, table.small > thead > th > td,  {
	padding: 0.5em;
}
.table td {
	padding: 0.65rem 1.2rem !important;
}
.table th {
	padding: 1.15rem 1.2rem !important;
}
.spacer {
	display: block;
	height: 0.6em;
}
.td-actions {
	display: flex !important;
}

tr.highlighted, .highlight-row, .highlight-row:hover, .highlight-row:active {
	background-color: #c0e0ff;
}
tr.highlighted:hover, .highlight-row:hover  {
	background-color: #8fadde !important;
}

.highlight-row:hover {
	opacity: 0.8;
}
.highlight-row:active {
	opacity: 0.6;
}

input[type=checkbox].form-control {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
}

.partner-logo {
	width: 100px;
	height: auto;
	max-height: 60px;
}
.partner-caption {
	opacity: 0.0;
	scale: 0.01;
	position: absolute;
}

.p-error,
.p-warn,
.p-info {
	padding: 12px 20px;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	border-radius: 8px;
	border: solid 1.2px;
}

.p-error > a,
.p-warn > a,
.p-info > a {
	color: inherit !important;
	font-weight: 600;
}
.p-warn {
	background: #fff7cc;
	border-color: #b78934;
	color: #b78934;
}
.p-info {
	background: #e0f0ff;
    border-color: #1a59ac;
    color: #1b59ac;
}
.p-error {
	background: #fdeaea;
	border-color: #d64545;
	color: #d64545;
}

.col-action { 
	display: flex !important; 
	position: relative;
}
td.col-action > button {
	margin-top: 0px;
}


.btn-active, .btn-active:hover, .btn-active:focus, .btn-active:active {
	background: var(--quaternary) !important;
	color: #fff !important;
}

.btn-calc {
	margin-left: 4px;
    border: none;
    position: absolute;
    z-index: 9;
   background-color: transparent;
    height: 26px;
    width: 26px;
    right: 6px;
    top: 6px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 23px;
    background-image: url('/app/assets/img/icons/calc.svg');
}

.btn-action {
	margin-left: 4px;
    border: none;
    position: absolute;
    z-index: 9;
	background-color: var(--primary);
	color: #fff !important;
    height: 26px;
    width: 26px;
    right: 6px;
    top: 6px;
    border-radius: 6px;
    padding: 4px 0px;
}

.checkbox-cont:not(.screen > .checkbox-cont) {
	border: none;
    background: #eee;
    padding: 0px 12px;
    display: block;
    width: 100%;
    height: 28px;
}
.checkbox-cont > input {
	margin-top: 3px;
	position: relative;
    top: 8px;
    scale: 1.4;
}
td.input-checkbox > input {
	scale: 1.4;
	margin: auto;
    display: block;
}

div.no-search > .dataTables_wrapper > .dataTables_filter {
	display: none !important;
}
div.no-pages > .dataTables_wrapper > .dataTables_length {
	display: none !important;
}
li.nav-title { 
	height: 68px;
    width: 40px;
    display: flow-root;
    position: static;
    padding-left: 6px;
}
li.nav-title > div {
	color: var(--primary);
    font-size: 1.4em;
    position: absolute;
    width: calc(100% - 360px);
    top: 25px;
    line-height: 1em;
    display: block;
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: auto;
}
@media (max-width: 575px) {
	li.nav-title > div {
		width: calc(100% - 160px);
	}
}
li.nav-title > div > p {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
	padding-left: 3px;
	padding-right: 3px;
}
.card-footer, .card-header {
	padding: 1rem 1.1rem;
}
.row-smallpadded {
	margin-right: -13.5px;
    margin-left: -13.5px;
}
.dataTables_paginate.paging_simple_numbers > span > a.paginate_button, .dataTables_paginate.paging_simple_numbers > a.paginate_button {
    cursor: pointer;
}
.main-menu.menu-dark .navigation .navigation-header {
	margin: calc(2.2rem - 0.5rem) 0 0.5rem 0.8rem;
}
.main-menu.menu-dark .navigation>li {
	margin: 0 0rem;
}
.nav-item {
	animation-duration: 0.7s;
}
.nav-item.active {
	margin-right: 1em !important;
    margin-left: 1em !important;
}
.vertical-overlay-menu .main-menu .navigation>li>a>i {
	margin-right: 0.4em	!important;
}
table.dataTable td.dataTables_empty, table.dataTable th.dataTables_empty {
	padding-top: 4em !important;
    padding-bottom: 4em !important;
}

.swal2-content {
    overflow-x: auto;
    padding-top: 8px !important;
}

.swal2-popup {
	padding: 0.75em 0.75em !important;
}
@media(max-width: 800px) {
	.swal2-popup {
		padding: 0.45em 0.45em !important;
	}
}
.swal2-popup .swal2-actions {
	margin-top: 0em !important;
}
.swal2-popup .swal2-title {
	-webkit-user-select: none !important; /* Safari */
	-ms-user-select: none !important; /* IE 10 and IE 11 */
	user-select: none !important; /* Standard syntax */
}

.no-select, .disable-select {
	-webkit-user-select: none !important; /* Safari */
	-ms-user-select: none !important; /* IE 10 and IE 11 */
	user-select: none !important; /* Standard syntax */
}

div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
	font-size: 0.8em;
}
.card.no-search.no-pages {
	margin-bottom: 0;
}
.prescriptionFrame {
	max-height: 70vh;
}
.prevent-parent-event { cursor: pointer !important; }

.click-to-select {
	user-select: none !important;
} 
.click-to-select, .clickable {
	cursor: pointer !important;
}
.click-to-select.selected {
	background-color: #c0e0ff; 
}
.click-to-select > label {
	display: inline-block;
    width: 100%;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8em;
}
.click-to-select > label:empty {
    display: none !important;
}
a.clickable {
	background: var(--backgroundGrey);
    padding: 0.4em 1em;
    border-radius: 8px;
    margin-right: 0.4em;
}
a.clickable:hover {
	opacity: 0.8;
}
a.clickable:active {
	opacity: 0.5;
}
ul.suggestions-list {
	height: 500px;
	max-height: calc(90vh - 400px);
	overflow-y: scroll;
}

div.sms-example {
	background: #b9daff;
    padding: 12px 24px;
    border: solid 2px #85afdf;
    border-radius: 22px;
    max-width: 400px;
    margin: auto;
    margin-bottom: 1em;
    text-align: left;
    color: var(--primary);
    font-weight: 400;
}

img.signature {
	position: relative; width: 340px; top: -20px;
}

button.inline-over {
	position: absolute;
    right: 6px;
    scale: 0.85;
    padding: 3px 12px;
    height: 30px;
    bottom: 10px;
}
ul.events-li-cont {
	padding-top: 0.4em; padding-bottom: 0.4em;
}
li.event-li {
	cursor: pointer !important;
}

ul.doc-list > li {
	line-height: 2em;
}

#imagePreviewUpload {
	max-height: 360px;
    max-width: 360px;
    margin: 20px auto;
    display: block;
}

b.actionable {
	font-weight: 800;
	cursor: pointer !important;
}

ul>li>a.clickable {
	text-align: left;
    width: 100%;
    background: transparent;
    display: inline-block;
    transition: 0.4s;
}
ul>li>a.clickable:hover {
	background: var(--backgroundGrey);
	opacity: 0.8;
}
ul>li>a.clickable:ative {
	background: var(--backgroundGrey);
	opacity: 0.5;
}

@media(max-width: 767px) {
	.swal2-popup .swal2-title {
		font-size: 1.4em !important
	}
	.swal2-popup #swal2-content {
		font-size: 1.0em;
	}
}
.swal-settings-cont {
	text-align: left;
}
.swal-settings-cont p {
	margin-bottom: 0.2em !important;
}

.swal-settings-cont > .swal2-popup .swal2-checkbox, .swal2-popup .swal2-file, .swal2-popup .swal2-input, .swal2-popup .swal2-radio, .swal2-popup .swal2-select, .swal2-popup .swal2-textarea {
	margin: 0.2em auto 1em auto !important;
}
.swal-settings-cont > .swal2-textarea {
	font-size: 0.825em !important;
}

.swal2-content > input[type="date"] {
	width: 100%;
	display: inline-block;
}
.swal-warning-info {
	background: #fcec0078;
    padding: 0.4em;
    border: solid 2px #773a00;
    border-radius: 0.4em;
    font-weight: 500;
    color: #773a00;
}
.swal-notice-info {
	background: #ccd5f2;
    border-radius: 8px;
    padding: 0.6em 0.8em;
    border: solid #a2b6f5;
    color: var(--primary);
    margin-bottom: 1em;
}

/* Selettore universale per tutti gli input date e time su iOS */
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value,
input[type="datetime-local"]::-webkit-date-and-time-value {
    text-align: left !important;
    display: block !important;
    line-height: normal !important; 
    min-height: 1em !important; /* Rimuove altezze minime fisse di Safari */
    margin: 0 !important;
}

/* Allineamento standard per tutti gli altri browser (Android, PC, Mac) */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    text-align: left;
}

#doNotForwardToTS {
	margin-left: 1em !important;
}

.dropdown-item.hidden { display: none !important; }

b:has(.bx-x-circle) {
	background: #ff0707d4;
    height: 30px;
    display: block;
    width: 30px;
    border-radius: 50%;
}
b:has(.bx-check-circle) {
	background: #008000bd;
    height: 30px;
    display: block;
    width: 30px;
    border-radius: 50%;
}
.bx-check-circle {
	background: #fff;
	color: #fff;
	  display: inline-block;
	  width: 1em;
	  height: 1em;
	  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2m0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8s8 3.589 8 8s-3.589 8-8 8'/%3E%3Cpath fill='%23000' d='M9.999 13.587L7.7 11.292l-1.412 1.416l3.713 3.705l6.706-6.706l-1.414-1.414z'/%3E%3C/svg%3E");
	  background-color: currentColor;
	  -webkit-mask-image: var(--svg);
	  mask-image: var(--svg);
	  -webkit-mask-repeat: no-repeat;
	  mask-repeat: no-repeat;
	  -webkit-mask-size: 100% 100%;
	  mask-size: 100% 100%;
}
.bx-x-circle {
	background: #fff;
	color: #fff;

  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.172 16.242L12 13.414l2.828 2.828l1.414-1.414L13.414 12l2.828-2.828l-1.414-1.414L12 10.586L9.172 7.758L7.758 9.172L10.586 12l-2.828 2.828z'/%3E%3Cpath fill='%23000' d='M12 22c5.514 0 10-4.486 10-10S17.514 2 12 2S2 6.486 2 12s4.486 10 10 10m0-18c4.411 0 8 3.589 8 8s-3.589 8-8 8s-8-3.589-8-8s3.589-8 8-8'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.bx-check-circle, .bx-x-circle {
	border-radius: 50%;
	text-align: center;
	font-size: 30px;
}
			
.bx-qr {
	display: inline-block;
	width: 1em;
	height: 1em;
	--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 11h8V3H3zm2-6h4v4H5zM3 21h8v-8H3zm2-6h4v4H5zm8-12v8h8V3zm6 6h-4V5h4zm-5.99 4h2v2h-2zm2 2h2v2h-2zm-2 2h2v2h-2zm4 0h2v2h-2zm2 2h2v2h-2zm-4 0h2v2h-2zm2-6h2v2h-2zm2 2h2v2h-2z'/%3E%3C/svg%3E");
	background-color: currentColor;
	-webkit-mask-image: var(--svg);
	mask-image: var(--svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}
.bx-google {
  display: inline-block;
  width: 0.98em;
  height: 1em;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 262'%3E%3Cpath fill='%234285f4' d='M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027'/%3E%3Cpath fill='%2334a853' d='M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1'/%3E%3Cpath fill='%23fbbc05' d='M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z'/%3E%3Cpath fill='%23eb4335' d='M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251'/%3E%3C/svg%3E");
}
.bx-wrench, .bx-settings {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M5.122 21c.378.378.88.586 1.414.586S7.572 21.378 7.95 21l4.336-4.336a7.495 7.495 0 0 0 2.217.333a7.446 7.446 0 0 0 5.302-2.195a7.484 7.484 0 0 0 1.632-8.158l-.57-1.388l-4.244 4.243l-2.121-2.122l4.243-4.243l-1.389-.571A7.478 7.478 0 0 0 14.499 2c-2.003 0-3.886.78-5.301 2.196a7.479 7.479 0 0 0-1.862 7.518L3 16.05a2.001 2.001 0 0 0 0 2.828zm4.548-8.791l-.254-.616a5.486 5.486 0 0 1 1.196-5.983a5.46 5.46 0 0 1 4.413-1.585l-3.353 3.353l4.949 4.95l3.355-3.355a5.49 5.49 0 0 1-1.587 4.416c-1.55 1.55-3.964 2.027-5.984 1.196l-.615-.255l-5.254 5.256h.001l-.001 1v-1l-2.122-2.122z'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.bx-network-chart {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3c-1.654 0-3 1.346-3 3c0 .502.136.968.354 1.385l-1.116 1.302A4 4 0 0 0 13 8c-.739 0-1.425.216-2.02.566L9.566 7.152A3.45 3.45 0 0 0 10 5.5C10 3.57 8.43 2 6.5 2S3 3.57 3 5.5S4.57 9 6.5 9c.601 0 1.158-.166 1.652-.434L9.566 9.98A3.97 3.97 0 0 0 9 12c0 .997.38 1.899.985 2.601l-1.692 1.692l.025.025A2.96 2.96 0 0 0 7 16c-1.654 0-3 1.346-3 3s1.346 3 3 3s3-1.346 3-3c0-.476-.121-.919-.318-1.318l.025.025l1.954-1.954c.421.15.867.247 1.339.247c2.206 0 4-1.794 4-4a3.96 3.96 0 0 0-.439-1.785l1.253-1.462c.364.158.764.247 1.186.247c1.654 0 3-1.346 3-3s-1.346-3-3-3M7 20a1 1 0 1 1 0-2a1 1 0 0 1 0 2M5 5.5C5 4.673 5.673 4 6.5 4S8 4.673 8 5.5S7.327 7 6.5 7S5 6.327 5 5.5m8 8.5c-1.103 0-2-.897-2-2s.897-2 2-2s2 .897 2 2s-.897 2-2 2m6-7a1 1 0 1 1 0-2a1 1 0 0 1 0 2'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.bx-filter-alt-filled {
	  display: inline-block;
	  width: 1em;
	  height: 1em;
	  margin-top: 5.5px;
	  margin-left: 7px;
	  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M3 3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-.293.707L12 11.414V15a1 1 0 0 1-.293.707l-2 2A1 1 0 0 1 8 17v-5.586L3.293 6.707A1 1 0 0 1 3 6z' clip-rule='evenodd'/%3E%3C/svg%3E");
	  background-color: currentColor;
	  -webkit-mask-image: var(--svg);
	  mask-image: var(--svg);
	  -webkit-mask-repeat: no-repeat;
	  mask-repeat: no-repeat;
	  -webkit-mask-size: 100% 100%;
	  mask-size: 100% 100%;
}
 .bx-spark {
   display: inline-block;
   width: 1em;
   height: 1em;
   --svg: url("data:image/svgxml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linejoin='round' stroke-width='2' d='m6 14l7-12v8h5l-7 12v-8z'/%3E%3C/svg%3E");
   background-color: currentColor;
   -webkit-mask-image: var(--svg);
   mask-image: var(--svg);
   -webkit-mask-repeat: no-repeat;
   mask-repeat: no-repeat;
   -webkit-mask-size: 100% 100%;
   mask-size: 100% 100%;
 }
 
 .bx-signature {
   display: inline-block;
   width: 1em;
   height: 1em;
   --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14.075 11.725q1.825-1.35 2.85-2.962T17.95 5.55q0-.8-.262-1.175T16.975 4Q15.8 4 14.9 5.988t-.9 4.487q0 .35.013.663t.062.587M3 21v-2h2v2zm4 0v-2h2v2zm4 0v-2h2v2zm4 0v-2h2v2zm4 0v-2h2v2zM3.4 17L2 15.6L3.6 14L2 12.4L3.4 11L5 12.6L6.6 11L8 12.4L6.4 14L8 15.6L6.6 17L5 15.4zm12.05-1q-.75 0-1.375-.288T13 14.776q-.625.35-1.287.625t-1.363.55l-.7-1.875q.7-.25 1.338-.537t1.237-.613q-.125-.55-.187-1.2t-.063-1.4q0-3.6 1.425-5.962T16.975 2q1.3 0 2.125.963t.825 2.687q0 2.15-1.362 4.25t-3.788 3.775q.175.175.363.263t.387.087q.65 0 1.513-.825t1.562-2.175l1.825.85q-.175.425-.275 1.025t.025 1.05q.25-.125.588-.425t.687-.75L23.025 14q-.65.9-1.5 1.45T19.95 16q-.525 0-.937-.312t-.688-.963q-.7.625-1.425.95T15.45 16'/%3E%3C/svg%3E");
   background-color: currentColor;
   -webkit-mask-image: var(--svg);
   mask-image: var(--svg);
   -webkit-mask-repeat: no-repeat;
   mask-repeat: no-repeat;
   -webkit-mask-size: 100% 100%;
   mask-size: 100% 100%;
 }
 .bx.orange {
	 color: #ff6800;
    scale: 1.2;
 }
 
.bx-refresh, .bx-reload {
   display: inline-block;
   width: 1em;
   height: 1em;
   --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 11H7.101l.001-.009a5 5 0 0 1 .752-1.787a5.05 5.05 0 0 1 2.2-1.811q.455-.193.938-.291a5.1 5.1 0 0 1 2.018 0a5 5 0 0 1 2.525 1.361l1.416-1.412a7 7 0 0 0-2.224-1.501a7 7 0 0 0-1.315-.408a7.1 7.1 0 0 0-2.819 0a7 7 0 0 0-1.316.409a7.04 7.04 0 0 0-3.08 2.534a7 7 0 0 0-1.054 2.505c-.028.135-.043.273-.063.41H2l4 4zm4 2h2.899l-.001.008a4.98 4.98 0 0 1-2.103 3.138a4.9 4.9 0 0 1-1.787.752a5.1 5.1 0 0 1-2.017 0a5 5 0 0 1-1.787-.752a5 5 0 0 1-.74-.61L7.05 16.95a7 7 0 0 0 2.225 1.5c.424.18.867.317 1.315.408a7.1 7.1 0 0 0 2.818 0a7.03 7.03 0 0 0 4.395-2.945a7 7 0 0 0 1.053-2.503c.027-.135.043-.273.063-.41H22l-4-4z'/%3E%3C/svg%3E");
   background-color: currentColor;
   -webkit-mask-image: var(--svg);
   mask-image: var(--svg);
   -webkit-mask-repeat: no-repeat;
   mask-repeat: no-repeat;
   -webkit-mask-size: 100% 100%;
   mask-size: 100% 100%;
 }
 .bx-logout {
	transform-origin: center center;
	transform: rotate(-90deg);
	display: inline-block;
	width: 1em;
	height: 1em;
	--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 16l-5-5l1.4-1.45l2.6 2.6V4h2v8.15l2.6-2.6L17 11zm-6 4q-.825 0-1.412-.587T4 18v-3h2v3h12v-3h2v3q0 .825-.587 1.413T18 20z'/%3E%3C/svg%3E");
	background-color: currentColor;
	-webkit-mask-image: var(--svg);
	mask-image: var(--svg);
	-webkit-mask-repeat: no-repeat;
 }


/* VISIT Style */
.tags-cont {
	padding-top: 12px;
}
.toggable-tag {
	padding: 8px 18px;
    background-color: #598eee;
    color: #fff;
    opacity: 0.2;
    border-radius: 27px;
    margin-right: 12px;
    margin-bottom: 8px;
    border: none;
    display: inline-block;
    font-weight: 600;
    font-display: swap;
    font-family: "Roboto","Helvetica Neue",Arial,sans-serif;
    cursor: pointer;
}
.toggable-tag.selected {
	opacity: 1;
}

.section-btn {
	width: 100% !important;
    height: 100% !important;
	background-position: center center !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-color: transparent;
	border: none;
	max-width: 40px;
	max-height: 40px;
	margin: 4px auto;
	display: block;
	cursor: pointer !important;
}

.btn-sintomatology {
	background-image: url("/app/assets/img/icons/sintomatology.svg");
}
.btn-refraction {
	background-image: url("/app/assets/img/icons/reflexion.svg");
}
.btn-orthoptics {
	background-image: url("/app/assets/img/icons/orthoptics.svg");
}
.btn-anterior {
	background-image: url("/app/assets/img/icons/anterior.svg");
}
.btn-posterior {
	background-image: url("/app/assets/img/icons/posterior.svg");
}
.btn-annexes {
	background-image: url("/app/assets/img/icons/annexes.svg");
}
.btn-tonometry {
	background-image: url("/app/assets/img/icons/tonometry.svg");
}
.btn-prismatic {
	background-image: url("/app/assets/img/icons/prismatic.svg");
}
.btn-keratometry {
	background-image: url("/app/assets/img/icons/keratometry.svg");
}
.btn-amsler {
	background-image: url("/app/assets/img/icons/amsler.svg");
}
.btn-ishihara {
	background-image: url("/app/assets/img/icons/ishihara.svg");
}
.btn-lang {
	background-image: url("/app/assets/img/icons/lang.svg");
}
.btn-stereofly {
	background-image: url("/app/assets/img/icons/stereofly.svg");
}
.btn-pupil {
	background-image: url("/app/assets/img/icons/pupil.svg");
}
.btn-pupil-diam {
	background-image: url("/app/assets/img/icons/pupil-diam.svg");
}
.btn-iris {
	background-image: url("/app/assets/img/icons/iris.svg");
}
.btn-anterior-chamber {
	background-image: url("/app/assets/img/icons/anterior-chamber.svg");
}
.btn-crystalline {
	background-image: url("/app/assets/img/icons/crystalline.svg");
}
.btn-vitreus {
	background-image: url("/app/assets/img/icons/vitreus.svg");
}
.btn-aberrometry {
	background-image: url("/app/assets/img/icons/aberrometry.svg");
}
.btn-oct {
	background-image: url("/app/assets/img/icons/oct.svg");
}
.btn-corneal-map {
	background-image: url("/app/assets/img/icons/corneal-map.svg");
}
.btn-fov {
	background-image: url("/app/assets/img/icons/fov.svg");
}

.grey-number {
	background-color: var(--backgroundGrey) !important;
}

.separator {
	width: 100%;
	background: #eee !important;
	height: 2px;
	margin-bottom: 20px;
	margin-top: 10px;
}
button.action {
	background: var(--primary);
    color: #fff;
    border-radius: 4px;
    border: none;
    font-size: 0.7em;
    width: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
}
button.action-padded {
	margin-right: 6px;
	margin-left: 6px;
}
button.action-small {
	background: var(--primary);
    color: #fff;
    border-radius: 12px;
    border: none;
    font-size: 0.7em;
    width: 24px;
    height: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
	line-height: 28px;
	margin-top: 24px;
}

.invalid-phone {
	background: #ff696978 !important;
    border: solid 2px #df4949 !important;
}


.stats-cont {
	padding-top: 40px;
}
.card-widget {
	border-radius: 30px;
    min-height: 300px;
    background: #fff;
    padding: 30px;
}
.big-number {
	text-align: center;
	font-size: 54px;
	font-weight: 800;
}
.big-big-number {
	text-align: center;
	font-size: 84px;
	font-weight: 800;
}
.big-big-number-desc {
	text-align: left;
	font-size: 30px;
	line-height: 40px;
	font-weight: 600;
}
.big-big-number-label {
	font-size: 30px;
    font-weight: 600;
    padding-top: 52px;
}
.big-number-cont {
	display: inline-flex;
	margin: auto;
	
}
.clickable {
	cursor: pointer;
}

.inv-editable-setting.disabled {
	background: #d8d8d8;
}

.counter-div-cont {
	width: 100%;
	background: #ddd;
	border-radius: 13px;
}
.counter-div-progress {
	background: var(--tertiary);
	min-width: 5% !important;
	width: 0%;
	height: 26px;
	border-radius: 13px;
	 -webkit-transition: width 1.8s ease-in-out;
    -moz-transition: width 1.8s ease-in-out;
    -o-transition: width 1.8s ease-in-out;
    transition: width 1.8s ease-in-out;
}

h5.warning-message {
	background: #f3de88;
    padding: 20px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: solid 2px #ccb336;
    border-radius: 28px;
}

i.btn {
	cursor: pointer !important;
}


.tags-cont {
	padding-top: 12px;
}
.toggable-tag {
	padding: 8px 18px;
    background-color: #598eee;
    color: #fff;
    opacity: 0.2;
    border-radius: 27px;
    margin-right: 12px;
    margin-bottom: 8px;
    border: none;
    display: inline-block;
    font-weight: 600;
    font-display: swap;
    font-family: "Roboto","Helvetica Neue",Arial,sans-serif;
    cursor: pointer;
}
.toggable-tag.selected {
	opacity: 1;
}


.autosave-pending {
	border: solid orange !important;
}
.autosave-failed {
	border: solid red !important;
}
.autosave-saved {
	border: solid green !important;
}

.form-control {
	margin-bottom: 12px !important;
}

.call-to-action-cont {
	display: inline-flex;
	width: 100%;
}
.call-to-action-cont > input {
	
}
.call-to-action-cont > a {
    position: absolute;
    top: 1.6em;
    right: 0.8em;
    color: #fff !important;
    background: var(--primary);
    padding: 4px;
    text-align: center;
    border-radius: 8px;
    line-height: 14px;
    margin-top: 0px;
}
a {
	cursor: pointer !important;
}

.form-potil-btns-cont {
	position: absolute;
    display: inline-flex;
    gap: 0px !important;
}
.form-potil-btns-cont > .form-postil-btn {
	position: relative !important;
}
.form-postil-btn {
	background: var(--primary);
    color: #ffff;
    border-radius: 8px;
    margin-left: 0.6em;
    cursor: pointer !important;
    height: 22px ! IMPORTANT;
    width: 22px !important;
    position: absolute;
    top: -3px;
    padding-top: 1.4px;
    text-align: center;
}
.bx-clickable {
	cursor: pointer !important;
}

pre {
	background-color: var(--backgroundGrey);
    padding: 0.6em 1em;
    border-radius: 0.6em;
    border: solid 1.6px var(--primary);
    font-family: monospace;
    margin-right: 1.4em;
}

button.copy-to-btn {
	background: var(--primary); 
	color: #fff; 
	border-radius: 4px; 
	border: none; 
	font-size: 0.7em;
	scale: 0.85;
	width: 100%;
}
.bx-1em {
	font-size: 1em !important;
}

.copty-to-r, .copty-to-l {
	background-image: url(/app/assets/img/arrow.svg) !important;
    background-position: center center !important;
    background-size: 12px !important;
    background-repeat: no-repeat !important;
    animation-duration: 0.3s;
}
.copty-to-r::hover, .copty-to-l::hover {
	opacity: 0.8 !important;
} 
.copty-to-r::active, .copty-to-l::active {
	opacity: 0.6 !important;
} 
.copty-to-l {
	transform: rotate(180deg) !important;
}

.progress .progress-bar {
	min-width: 5%;
	background: var(--primary) !important;
	box-shadow: none !important;
}
.progress {
	margin-bottom: 1em;
}
.progress-bar {
	padding: 12px;
    font-weight: 800;
    font-size: 1em;
}

select.form-control {
	text-align: left !important;
    padding-left: 8px !important;
}
select.form-control:not([multiple=multiple]) {
	padding-right: 0 !important;
}

.slide-hoverlay {
	width: 100%;
    height: 100%;
    background: #d5daf5b3;
    display: flex;
    position: absolute;
    border: solid 0.14em #576eb2;
    
}
.content-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 2em;
}

.swiper-container {
	width: 100%;
	min-height: 300px;
}

.swiper-wrapper {
	width: 100%;
	min-height: 300px;
}

.swiper-slide {
	background-size: cover;
	background-position: 50%;
	min-height: 240px !important;
	width: clamp(200px, 100% - 16px, 420px) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px !important;
	margin-right: 8px;
	flex-direction: column;
	position: relative;
	box-shadow: none;
	box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, .13);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    margin-left: 0px;
}
.slide-hoverlay, .swiper-slide {
	border-radius: 2em;
}

.bottom-heading {
	padding: 0.4em 25px 0.1em 25px;
	margin: 0;
	width: 100%;
	font-size: 1.38em;
}
.bottom-heading > b {
	margin: 0;
	padding: 0;
}
.bottom-author {
	padding: 0.4em 25px 0.1em 25px;
    width: 100%;
    font-size: 1.14em;
    font-weight: 600;
    color: #595f85;
}
.bottom-author > b {
	color: var(--primary);
	font-size: 1.10em;
}
.rows-extensive-search-cont {
	padding-top: 1em;
}
.btn-inline-txt {
	margin-left: 0.5em;
}
.card-trasparent {
	background: transparent;
    box-shadow: none !important;
}

#main-table tr:has(td > i.bx-error) {
	background-color: #fff7b2;
}

input[type="number"][value="0"]:disabled:not(.positive):not(.negative), input[type="number"][value="0"].disabled:not(.positive):not(.negative) {
    color: var(--backgroundHeavy) !important;
}

.cont-info.hidden {
	display: none !important;
}
.cont-info {
	background: #bcc6ff;
    padding: 1em 1.8em;
    margin-bottom: 1.2em;
    border: solid 2px var(--primary);
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    width: 100%;
}
.cont-info > .container {
	position: relative;
	width: 100%;
    display: inline-flex;
}
.cont-info > .container p {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* Pagination bullets */
.swiper-container-horizontal>.swiper-pagination-bullets {
	bottom: 0px !important;
}
.swiper-pagination-bullet, .swiper-pagination-bullet-active {
	width: 12px !important;
	height: 12px !important;
	border-radius: 6px !important;
	cursor: pointer !important;
}

.swiper-pagination-bullet {
	background-color: var(--backgroundHeavy) !important;
	opacity: 0.8 !important;
}
.swiper-pagination-bullet:hover {
	opacity: 1.0 !important;
}

/* Active bullet */
.swiper-pagination-bullet-active {
	background-color: var(--primary) !important;
	opacity: 1.0 !important;
	width: 26px !important;
}

.notice-cont {
	margin-bottom: 1.2rem;
    box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, .13);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    background-color: #FFF;
    background-clip: border-box;
    border: 0 solid #DFE3E7;
    border-radius: var(--border-radius-sm);
    
    display: flex;
    padding: 1.4em;
}
.notice-cont > p {
	width: 100%;
}
.notice-action-cont {
	min-width: clamp(100px, 15%, 240px);
}
.notice-action-cont > .btn {
	width: 100%;
}
.license-box-cont {
	padding: 1em;
}
.license-box {
	background: #c9dafd;
    padding: 45px 25px;
    border: solid 2.4px #909dc5;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 2.2rem;
    box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, .13);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    font-weight: 800;
    margin: auto
}
.license-box > h3 {
	font-weight: 800 !important;
	font-size: 1.4em;
	margin-bottom: 1em;
}
.license-box > p {
	margin-bottom: 0.3rem;
	font-size: 1.0em;
}
.license-box > h7 {
	text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 400;
}
.btn-inline {
	min-width: 155px;
	padding: 0.4em 1.2em;
	font-size: 0.75em;
    font-weight: 800;
    margin-top: -0.6em;
}

.inline-notice-boxmain {
    background: var(--primary);
    color: var(--secundary);
    padding: 11px 28px;
    margin: 20px;
    border-radius: 8px;
    font-weight: 800;
    height: 43px;
    width: max-content;
    min-width: 163px;
	text-align: center;
}
.inline-notice-boxinfo-cont {
	display: inline-flex;
	width: 100%;
}
.btn-inline-notice-boxrefresh {
	scale: 1.5;
    padding: 5px;
    height: 32px;
    margin: auto;
    margin-left: 20px;
    background-color: transparent;
    color: var(--primary);
}
.inline-notice-boxactions {
	display: inline-flex;
	width: 100%;
}
@media (max-width: 400px) {
	.inline-notice-boxinfo-cont {
		display: inline-block;
	}
	.inline-notice-boxmain {
	    margin-bottom: 20px;
	    margin: auto;
	}
	.inline-notice-boxactions {
		padding-top: 20px;
	}
}

.logocont {
	padding-top: 2em;
	min-width:300px;
	width:10%;
	margin:auto;
	display:flex;
	height:100%;
}
h3.table-title {
	font-size: 1.4em;
	margin-bottom: 0.2em;
	font-weight: 600;
}
.multiple-users-cont {
	padding-top: 2em;
	width: clamp(240px, 90%, 500px);
	margin: auto;
    display: block;
}
.available-users-cont {
	width: 100%;
    border: solid 2.4px var(--backgroundHeavy);
    border-radius: 2em;
}
.available-user-card {
	cursor: pointer !important;
	display: block;
}
.available-user-card:first-child {
	border-top-left-radius: calc(2em - 4px);;
	border-top-right-radius: calc(2em - 4px);;
}
.available-user-card:last-child {
	border-bottom-left-radius: calc(2em - 4px);;
	border-bottom-right-radius: calc(2em - 4px);;
}
.available-user-subcont {
	display: flex;
}
.available-user-info {
	padding-left: 6px;
	padding-top: 8px;
}
.available-user-picture-img {
	width: 60px;
    height: 60px;
    padding: 8px;
    border-radius: 50%;
}
button.account-switch-btn {
	text-align: center;
    color: #fff;
    background: var(--tertiary);
    padding: 0.6em 2em;
    width: 100%;
    margin-top: 1.2em;
    font-size: 1.12em;
    font-family: var(--main-font);
    border-radius: 0.4em;
    border: solid 1px var(--tertiary);
    cursor: pointer !important;
}

.separator-light {
	padding-top: 1em;
}
.separator-light > h6 {
    padding: 0px 10px;
    width: fit-content;
    margin: auto;
    font-weight: 600;
    font-style: italic;
    position: relative;
    color: var(--primary);
}

.dropdown-item.light > span > .bx, .dropdown-menu .dropdown-item .light, .dropdown-menu.dark > button, .dropdown-menu.dark > button > span > i  {
	color: var(--primary) !important;
}
.dropdown-menu.dark {
	
}

.strlenSpan {
	margin-left: auto;
	float: inline-end;
}

.bx-microscope {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 21.005h-5.184a3 3 0 0 0 .143-.591A8.04 8.04 0 0 0 20 13.005a7.95 7.95 0 0 0-2.127-5.422l.637-.638a1 1 0 0 0 .241-.39l.708-2.122a1 1 0 0 0-.241-1.024l-2.122-2.121a1 1 0 0 0-1.024-.242l-2.12.707a1 1 0 0 0-.391.242L7.198 8.358a1 1 0 0 0 0 1.414l-1.416 1.415a1 1 0 0 0 0 1.415l2.122 2.12a1 1 0 0 0 1.414 0l1.414-1.413l.002.002a1 1 0 0 0 1.414 0l4.31-4.312A5.96 5.96 0 0 1 18 13.005a6.05 6.05 0 0 1-3.455 5.431a2.976 2.976 0 0 0-5.124.063a7 7 0 0 1-1.12-.554a.99.99 0 0 0 .699-.94a1 1 0 0 0-1-1H4a1 1 0 0 0 0 2h1.331a8.8 8.8 0 0 0 3.717 2.473a3 3 0 0 0 .136.527H4a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2M8.611 12.602l-.708-.707l.708-.708l.707.708Zm8.318-6.904L11.44 11.19L9.32 9.065l5.489-5.489l1.311-.437l1.247 1.247ZM12 21.005a1 1 0 1 1 1-1a1 1 0 0 1-1 1'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.bx-pill {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M12.657 2.757a6 6 0 1 1 8.485 8.486l-9.9 9.9a6 6 0 1 1-8.485-8.486zm7.07 7.071l-4.242 4.243l-5.657-5.657l4.243-4.242a4 4 0 1 1 5.657 5.656' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.bx-stair {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg%20width%3D%22420%22%20height%3D%22420%22%20viewBox%3D%220%200%20420%20420%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22none%22%20d%3D%22M%2034%20386%20L%20386%20386%20L%20386%2034%20L%20270%2034%20L%20269%20152%20L%20153%20153%20L%20153%20271%20L%2034%20270%20L%2034%20386%20Z%22%2F%3E%3C%2Fsvg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.evt-gcal-synced > .fc-event-main > .fc-event-main-frame > .fc-event-title-container > .fc-event-title.fc-sticky::before, tr.evt-gcal-synced > .fc-list-event-title > a::before{
    content: '';
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 262'%3E%3Cpath fill='%234285f4' d='M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027'/%3E%3Cpath fill='%2334a853' d='M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1'/%3E%3Cpath fill='%23fbbc05' d='M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z'/%3E%3Cpath fill='%23eb4335' d='M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251'/%3E%3C/svg%3E") no-repeat;
    width: 1em;
    height: 1em;
    margin-right: 0.6em;
    vertical-align: middle;
}


.full-width {
	width: 100%;
	text-align: center;
}

.suggestions-sidecar-cont {
	display: flex;
	gap: 10px;
}
.suggestions-sidecar-cont > div {
	width: 100%;
}

.editor-container {
    max-width: 600px;
    margin: 0 auto;
}
.editor-container label {
    display: block;
    margin: 10px 0 5px;
}
.editor-container input[type="text"],
.editor-container input[type="number"],
.editor-container select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.editor-container button {
    display: block;
    margin: 20px 0;
    padding: 10px 20px;
}

.btn-visible-app-only {
	display: none;
}
@media screen and (max-width: 768px) {
	.btn-visible-app-only {
		display: inline-block;
	}
}
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
	.btn-visible-app-only {
		display: inline-block;
	}
}
@media screen and (min-width: 769px) and (max-width: 1366px) and (orientation: landscape) {
	.btn-visible-app-only {
		display: inline-block;
	}
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
	.btn-visible-app-only {
		display: inline-block;
	}
}



div.settings-cont-toggle {
	display: inline-flex;
	width: 100%;
    padding: 1em;
    gap: 1em;
    border-radius: 1em;
    background: #e0e3ee;
    margin-top: 1em;
    padding-bottom: 0;
}
div.settings-cont-toggle > p {
	 width: 100%;
}
input:checked + .slider {
	cursor: pointer !important;
}

.collapse-expand {
	margin-top: 4px;
}
.btn-smaller {
	scale: 0.7;
}


#year-select {
	display: inline-flex;
    height: calc(1.4em + .94rem + 3.7px);
    padding: .47rem .8rem;
    line-height: 1.4;
    color: var(--primary);
    background-color: #ffffff;
    border: 2px solid #DFE3E7;
    border-radius: .2em;
    -webkit-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

[disabled] {
	opacity: 1 !important; /* Ensure it's fully visible */
	color: inherit !important; /* Prevent graying out if undesired */
	visibility: visible !important; /* Force visibility */
	pointer-events: none; /* Disable interaction */
}

#patientTagsContainer {
	padding-bottom: .6em;
}
.ptag-box {
   display: inline-flex;
    align-items: center;
    color: white;
    background: pink;
    padding: 7px 9px;
    height: fit-content;
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    font-size: 0.8em;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    margin-right: 5px;
    margin-top: 5px;
}

.ptag-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ptag-box:focus {
    ring: 2px solid #667eea;
    ring-offset: 2px;
}

.ptag-box.selected {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.ptag-box .remove-ptag-btn {
    margin-left: 8px;
    background: var(--primary);
    border: none;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background-color 0.2s ease;
    opacity: 1;
}

.ptag-box .remove-ptag-btn:hover {
    opacity: 0.8;
}

.ptag-input {
    display: none;
	border: 2px solid var(--primary);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background: white;
    min-width: 120px;
    margin-left: 5px;
    padding-left: 10px;
    position: absolute;
    z-index: 10;
    top: -5px;
}

.ptag-input.active {
    display: inline-block;
}

  
span.tag {
	padding: 0.6em 1.4em;
    background: #b8b8c1;
    font-size: 0.73em;
    font-weight: 900;
    border-radius: 2em;
    
    box-shadow: -4px 4px 9px 0 rgba(25, 42, 70, .06);
}
span.tag.tag-sent {
	background: #05d570;
	color: #fff;
}
span.tag.tag-ready {
	background: #4d8bf6;
	color: #fff;
}
span.tag.tag-error, span.tag.tag-fail {
	background: #ff5151;
	color: #fff;
}
span.tag.tag-warning {
	background: #ffe240;
}


.ts-switch-container {
	margin: 20px 0;
	padding: 15px;
	background-color: #f8f9fa;
	border-radius: 5px;
}
.ts-switch-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
}
.ts-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
	margin-right: 12px;
}
.ts-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.ts-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}
.ts-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .ts-slider {
	background-color: #2196F3;
}
input:checked + .ts-slider:before {
	transform: translateX(26px);
}
.ts-switch-text {
	font-weight: 500;
	font-size: 14px;
}
.ts-switch-description {
	display: block;
	margin-top: 5px;
	margin-left: 62px;
	color: #6c757d;
	font-size: 12px;
}
.merge-cell { 
	transition: background .15px; 
}
.merge-cell.selected, .merge-cell.selected-old { 
	background: #d6dcff !important; 
	outline: 2px solid var(--quaternary);
	outline-offset:-2px; 
	border-radius:3px; 
}

input:checked + .slider {
	border: solid 1px #ddd;
}


/* Fix container */
.col-md-2[style*="display: flex"] {
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    min-height: 48px;
    overflow: visible;
}

/* action-small invisibili ma che occupano spazio */
button.action.disabled,
button.action-small.disabled {
    opacity: 0.2 !important;
    pointer-events: none !important;
    cursor: default !important;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.btn-action.disabled,
.btn-calc.disabled,
.copy-to-btn.disabled,
.form-postil-btn.disabled {
    display: none !important;
}

/* section-btn sempre centrato */
.section-btn {
    margin: 0 auto !important; /* sovrascrive margin: 4px auto */
    flex-shrink: 0;
    align-self: center !important;
}

@media (max-width: 576px) {
	#chk-auto-patient-id {
        scale: 1.8;
        margin-left: 12px;
        margin-bottom: 1em;
        padding-left: 40px;
        padding-right: 10px;
        width: 69px;
        margin-top: 1em;
	}
}	
@media (min-width: 576px) {
	#chk-auto-patient-id {
		scale: 2;
		margin-top: 1.8em;
	    margin-left: 1em;
		display: flex;
		align-items: center;
		width: 120px;
		gap: 4px;
	}
}

.fse-btn-inviato {
	background: #05d570;
	opacity: 0.4 !important;
}
.fse-btn-errore {
	background-color: #FF5B5C;
	opacity: 0.4 !important;
	
}

.badge {
    display: inline-block;
    padding: 0.3em 0.65em;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 0.35rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-primary {
    background-color: #007bff;
    color: #fff;
}

.badge-secondary {
    background-color: #6c757d;
    color: #fff;
}

.badge-info {
    background-color: #17a2b8;
    color: #fff;
}

.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}

.badge-dark {
    background-color: #343a40;
    color: #fff;
}

.ptag-sugg-item        { display: flex; align-items: center; gap: 0.5em; padding: 0.4em 0.6em; }
.ptag-sugg-chip        { border-radius: 1em; padding: 0.2em 0.75em; font-size: 0.88em; font-weight: 600; }
.ptag-sugg-badge       { font-size: 0.75em; color: #888; font-style: italic; }
.ptag-sugg-used        { opacity: 0.5; }

.badge-open        { background-color: #5b8dee; color: #fff; }
.badge-expired     { background-color: #e74c3c; color: #fff; }
.badge-completed   { background-color: #28a745; color: #fff; }
.badge-urgent      { background-color: #e67e22; color: #fff; }
.badge-pending { background-color: #f39c12; color: #fff; }
.badge-cancelled   { background-color: #6c757d; color: #fff; }

.d-flex justify-content-between >span {
	padding-right: 1em;
}