.FontNormale {
	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 9pt;
  	color : #282828;
}

.FontNormaleGrassetto {
	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 9pt;
  	font-weight : bold;
  	color : #282828;
}

.FontPiccolo {
	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 8pt;
  	color : #282828;
}

.FontPiccoloCorsivo {
	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 8pt;
  	color : #282828;
  	font-style: italic;
}

.fontBluGrandeGrassetto {
	font-weight: bold;
	color: #005172;
	font-size: 12pt;
	font-family : Verdana, Arial, Helvetica, sans-serif;
	text-decoration : none;
}

.styleButton {  	
	cursor: pointer;
  	cursor: hand;
  	background: transparent;
  	border: none;
  	text-transform: capitalize;
  	color:#006699;
  	font-weight: bold;
}

.textArea {
    width: 100%;
    height: 100px;           
    -webkit-box-sizing: border-box; /* <=iOS4, <= Android  2.3 */
       -moz-box-sizing: border-box; /* FF1+ */
            box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 9pt;
  	color : #282828;                         
}

.textAreaSmall {
    width: 100%;
    height: 50px;
    -webkit-box-sizing: border-box; /* <=iOS4, <= Android  2.3 */
       -moz-box-sizing: border-box; /* FF1+ */
            box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 9pt;
  	color : #282828; 
}

.normalegrassettobiancobggrigio {
 	font-family : Verdana, Arial, Helvetica, sans-serif;
  	font-size : 9pt;
  	font-weight : bold;
  	color : #FFFFFF;
  	background-color:#999999;
  	vertical-align: middle;
}

.sfondoAzzurrino {
  	background:#cbdeee;
}

.sfondoBiancoBordoBottomFineGrigio {
  	background:#FFFFFF;  
  	border-bottom:#D2D2D2 1px solid;
}

.sfondoBiancoBordoTopFineGrigio {
	background:#FFFFFF;  
  	border-top:#D2D2D2 1px solid;
}

.interlinea {
  	line-height: 1.5;
}

.titoloPrincipale{
	text-align: center;
	font-size : 2.5rem;
	margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.titoloSecondario{
	text-align: center;
	font-size : 1.5rem;
	margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

/* CSS per i ToolTip*/

.ui-tooltip {
	padding: 8px;
	position: absolute;
	z-index: 9999;
	max-width: 300px;
}
body .ui-tooltip {
	border-width: 2px;
}
/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
	border-top-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
	border-top-right-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
	border-bottom-left-radius: 3px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
	border-bottom-right-radius: 3px;
}
.ui-widget-overlay {
	background: #aaaaaa;
	opacity: .3;
	filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
	-webkit-box-shadow: 0px 0px 5px #000;
	box-shadow: 0px 0px 5px #000;
}
.ui-widget.ui-widget-content {
	/*border: 1px solid #c5c5c5;*/
}
.ui-widget-content {
	/*border: 1px solid #dddddd;*/
	background: #ffffff;
	color: #333333;
}
.ui-widget-content a {
	color: #333333;
}
.ui-widget-header {
	border: 1px solid #dddddd;
	background: #e9e9e9;
	color: #333333;
	font-weight: bold;
}
.ui-widget-header a {
	color: #333333;
}
.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-helper-reset {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1.3;
	text-decoration: none;
	font-size: 100%;
	list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: table;
	border-collapse: collapse;
}
.ui-helper-clearfix:after {
	clear: both;
}
.ui-helper-zfix {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
	filter:Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
	z-index: 100;
}

.stepcircle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size:30px;
  line-height:40px;
  color: #fff;
  background: linear-gradient(135deg, #28a745, #81c784);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease-in-out;
  text-align:center;
}

.stepcircle:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 6px 14px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838, #66bb6a);
}

.label {
  font-size: 1rem;
  letter-spacing: 0.5px;
}


@media (min-width: 550px) {
	.scrollToTopBtn {
		display: block;
	}
}
@media (max-width: 550px) {
	.scrollToTopBtn {
		display: none;
	}
}

@media (min-width: 991px) {
	.topNavBar {
		height: auto; width: 100%; margin: auto;
	}
} 

@media (max-width: 991px) {
	.topNavBar {
		height: auto; width: 100%; margin: auto;
	}
}

.btnTop {
	display: none;
  	position: fixed;
  	bottom: 30px;
  	right: 30px;
  	z-index: 99;
  	font-size: 12px;
  	border: none;
 	outline: none;
  	background-color: #005172; /*#0d6efd*/
  	color: white;
  	cursor: pointer;
  	padding: 15px;
  	border-radius: 4px;
  	opacity: 0.7;
}

.btnTop:hover {
	background-color: #555;
}

.custom-modal {
  max-width: 800px; 
}

.dot {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
}

.red-dot {
    background-color: red;
}

.orange-dot {
    background-color: orange;
}

.green-dot {
    background-color: green;
}

.yellow-dot {
    background-color: yellow;
}

.orange-dot {
    background-color: orange;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}

.custom-file-upload:hover {
    background-color: #e2e6ea;
}

/* Fissa la prima colonna della tabella durante lo scrolling */
.sticky-row {
	position: sticky;
	top: 0; 
	background-color: white;
	z-index: 2;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.campanella {
    animation: flash 2s infinite;
}

/* Sidebar */
.custom-sidebar {
    width: 60px;
    background-color: #5791e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 20%;
    right: 0;
    border-radius: 10px 0 0 10px;
    z-index: 1000;
    overflow: visible;
}

/* Singolo tasto del menù */
.custom-sidebar .custom-menu-item {
    width: 60px;
    height: 60px; 
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    background-color: #5791e4;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    position: relative;
    overflow: visible;
    border: #5791e4;
}

/* Espansione verso destra */
.custom-sidebar .custom-menu-item:hover {
    width: 340px; 
    background-color: #0056b3; 
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Icona */
.custom-sidebar .custom-menu-item i {
    font-size: 24px;
    margin-left: 10px; 
    transition: transform 0.3s ease; 
}

/* Testo del pulsante */
.custom-sidebar .custom-menu-item span {
    font-size: 18px;
    margin-left: 15px;
    white-space: nowrap; 
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Mostra il testo al passaggio del mouse */
.custom-sidebar .custom-menu-item:hover span {
    opacity: 1;
    visibility: visible;
}

/* Mostra l'icona leggermente ingrandita */
.custom-sidebar .custom-menu-item:hover i {
    transform: scale(1.2); /* Ingrandisce l'icona */
}

/* Aggiungi effetto per l'espansione dell'elemento solo su hover */
.custom-sidebar .custom-menu-item {
    transition: width 0.3s ease;
}


/*Stepper*/
.step-btn-circle {
	width: 40px; height: 40px; border-radius: 50%; border: 3px solid #cccccc; padding-top: 4px; padding-left: 0px; color: #cccccc; background-color: #ffffff; float: left;
}
.step-btn-circle.active {
	width: 40px; height: 40px; border-radius: 50%; border: 3px solid #007bff; padding-top: 4px; padding-left: 0px; color: #007bff; background-color: #ffffff; float: left;
}
.step-btn-circle.selected {
	width: 40px; height: 40px; border-radius: 50%; border: 3px solid #007bff; padding-top: 4px; padding-left: 0px; color: #ffffff; background-color: #007bff; float: left;
}

.step-btn-label {
	position: relative; top: 7px; left: 5px; color: #cccccc;
}
.step-btn-label.active {
	position: relative; top: 7px; left: 5px; color: #007bff
}
.step-btn-label.selected {
	position: relative; top: 7px; left: 5px; color: #007bff
}

.step-btn-line {
	flex: 1 0 32px;min-width: 1px;min-height: 1px;margin: auto;background-color: #cccccc;
}
.step-btn-line.active {
	flex: 1 0 32px;min-width: 1px;min-height: 1px;margin: auto;background-color: #007bff;
}

.step-btn-circle:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #007bff, #66aaff);
  border-color: #007bff;
  color: #ffffff;
}

.info-button:hover {
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.7);
}

.info-button:hover i {
    color: #ffffff !important;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #ffffff;
}

.popover.custom-popover .popover-header {
  background-color: #0d6efd;
  color: white;
  font-weight: bold;
}

.popover.custom-popover .popover-body {
  padding: 0.5rem 1rem;
  font-size: 14px;
}

.popover.custom-popover .popover-body {
  background-color: #f8f9fa;
  padding: 0.75rem 1.25rem;
  font-size: 14px;
  border-radius: 0 0 0.3rem 0.3rem;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.05);
}

.card-elegant {
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #dee2e6;
}
.card-elegant:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.card-elegant .card-header {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    padding: 1rem;
}
.card-elegant .card-body {
    padding: 1.5rem;
}
.card-elegant .cursor-hand {
    cursor: pointer;
}
.card-elegant .card-body .row {
    transition: none;
}
.card-elegant .card-body .row:hover {
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.card-elegant p.fs-2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.form-select:focus,
.form-select:focus-visible {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.chosen-container-active .chosen-single,
.chosen-container-active .chosen-choices {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
  outline: none;
}

  .custom-radio-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1rem;
}

.custom-radio-wrapper .form-check-input {
    margin-left: 0;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating .star {
    font-size: 1.8rem; 
    color: #ccc;
    cursor: pointer;
    margin: 0 4px;
    transition: transform 0.2s ease, color 0.3s ease;
}

.star-rating .star:hover {
    transform: scale(1.3);
}

.star-rating .star.selected {
    color: gold;
}

.star-rating .star.hovered {
    color: #ffd700;
}

.iconDoc-button {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ced4da;
  background-color: #e9ecef;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.iconDoc-button i {
  position: relative;
  top: 1px;
}

