@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* Stile per la mappa degli step */
body{
	background-color: #f6f6f6 !important;
	font-family: "Roboto Condensed", sans-serif !important;
	color: #222222 !important;
	font-size:18px !important;
	font-weight: 300;
}
.step-map {
    margin-top: 30px; /* Aumenta la distanza verticale dagli oggetti precedenti */
    margin-bottom: 30px; /* Aumenta la distanza verticale dagli oggetti successivi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 40px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cfcfcf;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.step-circle.active {
    background-color: #007bff;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #007bff;
    z-index: 0;
    transform: translateY(-50%);
}

/* Stile per i pulsanti */
.btn-primary,
.btn-secondary {
    background-color: #007bff; /* Colore primario */
    border-color: #007bff; /* Colore primario */
}

/* Stile per allineare i testi delle domande a sinistra */
.questions-container tbody td:first-child {
    text-align: left;
}

/* Rimuovere il grassetto dai <th> */
.questions-container thead th {
    font-weight: normal; /* Rimuove il grassetto */
    color: white;
	vertical-align:middle;
}

/* Specifica i gradient per ogni <th> */

.questions-container thead th:nth-child(2) {
    background: linear-gradient(to right, #ff4d4d, #ff9966); /* Dal rosso al rosso chiaro */
	width: 12%; /* Imposta larghezza fissa */
}

.questions-container thead th:nth-child(3) {
    background: linear-gradient(to right, #ff9966, #ffcc00); /* Dal rosso chiaro al giallo */
	width: 12%; /* Imposta larghezza fissa */
}

.questions-container thead th:nth-child(4) {
    background: linear-gradient(to right, #ffcc00, #99cc00); /* Dal giallo al verde chiaro */
	width: 12%; /* Imposta larghezza fissa */
}

.questions-container thead th:nth-child(5) {
    background: linear-gradient(to right, #99cc00, #4caf50); /* Dal verde chiaro al verde */
	width: 12%; /* Imposta larghezza fissa */
}

/* Rimuove lo sfondo dal primo <th> */
.questions-container thead th:first-child {
    background: none;
}


/* Stile per il titolo e la descrizione dello step */
.step-title {
    background-color: #F7F3F1;
	color: #3B98fD !important;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: normal;
}

#step-title strong {
    font-size: 1em;
    font-weight: bold;
}


/* Stile per le pagine di uscita */
#incompleteExitPage, #completeExitPage {
    display: none; /* Inizialmente nascosti */
    opacity: 0; /* Opacità 0 per l'effetto fade */
    transition: opacity 0.15s ease-in-out; /* Transizione per il fade */
}

/* Classe show per gestire il fade-in */
#incompleteExitPage.show, #completeExitPage.show {
    opacity: 1; /* Quando viene mostrato, l'opacità è 1 */
}


.is-required label:first-child:after {
    font-weight: bold;
}
.is-required label:first-child:after {
    color: #e32;
    content: ' *';
    display:inline;
}


.zebra.odd {
    background-color: #f6f6f6 !important; /* Colore di sfondo per le righe dispari */
  }
  
  .zebra.even {
    background-color: #ffffff !important; /* Colore di sfondo per le righe pari */
  }
  
















.btn-on{
	background-color: #3B98fD !important;
	color:#ffffff !important;
}

.btn-send{
	background-color: #F7F3F1 !important;
	color:#3B98fD !important;
	font-weight:700;
}


.questions-container tbody td:first-child {
    text-align: left;
}

table>tbody>tr>td{
	padding:15px;
	font-size:18px !important;
}
table>tbody>tr:nth-of-type(even)>td {
    background-color: #f6f6f6 !important;
}
table>tbody>tr:nth-of-type(odd)>td {
    background-color: #ffffff !important;
}
tr td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-left: 20px !important;
}
tr td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}