@charset "UTF-8";

.layout-wrapper.layout-menu-horizontal .layout-menu>li>ul li li a {
	padding: 0.3rem .5rem !important;
}

.layout-wrapper.layout-menu-horizontal .layout-menu>li>ul li a {
	padding: 0.3rem .5rem !important;
}

body .ui-datatable.hide-th thead th {
	display: none !important;
}


.layout-wrapper.layout-menu-horizontal .layout-menu>li>ul {
	z-index: 9999 !important;
}

body .ui-dialog .ui-dialog-content {
	max-height: 80vh !important;
}

body .ui-dialog.no-px .ui-dialog-content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body .ui-dialog.no-py .ui-dialog-content {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body .ui-dialog.no-p .ui-dialog-content {
	padding: 0 3px !important;
}


.button-close {
	position: absolute !important;
	right: 0;
	top: 0;
	height: 2rem;
	width: 2rem !important;
	background: var(--red-500) !important;
}

.button-close.ui-state-hover {
	background: var(--red-500) !important;
	color: #ced4da !important;
	border-color: var(--red-500) !important;
}

.center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.d-topbar {
	position: absolute;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	height: 2rem;
	left: 0px;
	top: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	border: solid 1px #808080;
	background: var(--primary-dark-500);
}

.d-container {
	position: absolute;
	border: 1px solid gray;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	height: calc(100% - 2rem);
	left: 0px;
	top: 2rem;
	visibility: visible;
}

.paginator-toolbar {
	order: 0;
	flex: 1;
	display: flex;
	justify-content: start;
	align-items: center;
}


.tool-button {
	margin-right: .5rem;
}

.tool-button img {
	width: 2.357rem !important;
}

.table-button img {
	width: 1.357rem;
}


.toggle-visible a {
	display: none;
}

.toggle-visible:hover a {
	display: inline-block;
}

.errorvalue {
	/*border-bottom: solid 2px red !important;*/
	border: 1px solid red !important;
	animation-name: shake3;
	animation-duration: .4s;
	position: relative;
}

.errorlabel {
	/*border-bottom: solid 2px red !important;*/
	color: red !important;
	animation-name: shake3;
	animation-duration: .4s;
	position: relative;
}

.errorbg {
	background-color: #f05976;
	color: yellow;
}

.blink {
	animation: blinker 2s linear infinite;
}


textarea[rows="20"] {
	height: 380px !important;
	max-height: 380px !important;
}

textarea[rows="6"] {
	height: 120px !important;
	max-height: 120px !important;
}

textarea[rows="5"] {
	max-height: 109px !important;
}

textarea[rows="4"] {
	max-height: 80px !important;
}

textarea[rows="3"] {
	max-height: 64px !important;
}

textarea[rows="1"] {
	max-height: 32px !important;
}



.tessera-container {
	position: relative;
	width: 100%;
	max-width: 600px;
	/* Imposta una larghezza massima per la tessera */
	aspect-ratio: 1.6;
	/* Mantiene un rapporto di aspetto fisso */
	background-image: url("/fince/jakarta.faces.resource/images/tessera_sanitaria.jpg.xhtml") !important;
	background-size: cover;
	background-position: center;
	margin: 0 auto;
}

/* Stile generale per i campi di input */
.input-field {
	position: absolute;
	background-color: rgba(255, 255, 255, 0.8);
	/* Sfondo leggermente opaco per maggiore visibilità */
	border: 1px solid #ccc;
	padding: 5px;
	font-size: 1.2vw;
	/* Usa vw per mantenere il testo responsive */
	border: red solid 2px;
}

/* Posizioni specifiche per i vari campi */
/* Nome */
.input-nome {
	top: 20%;
	left: 15%;
	width: 60%;
}

/* Cognome */
.input-cognome {
	top: 30%;
	left: 15%;
	width: 60%;
}

/* Codice Fiscale */
.cod_fiscale_dlg .ui-dialog {
	width: 55rem !important;
}

.input-codice-fiscale {
	background-color: lightpink;
	font-weight: bolder;
}

.cod_fiscale .CF {
	background-color: lightpink;
	font-weight: bolder;
}

.cod_fiscale .cognome {
	border: red solid 2px;
}

.cod_fiscale .nome {
	border: red solid 2px;
}

.cod_fiscale .comune {
	border: red solid 2px;
}

.cod_fiscale .data_nascita {
	border: red solid 2px;
}

.cod_fiscale .genere {
	border: red solid 2px;
}


.circle-menu {
	display: flex !important;
	align-items: center !important;
}

.circle-menu .ui-button {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	border: none !important;
	background: url("/fince/jakarta.faces.resource/ic-menu-circle.png.xhtml?ln=images") !important;
	background-size: cover !important;
}

.circle-menu .ui-button .ui-icon-triangle-1-s {
	display: none !important;
}