﻿/*INIZIO*/

/*   sezioni delle differenti pagine aspx separate da commenti  */

/* GENERAL*/

body {
    font-family: 'Arial', sans-serif;
}


.zoomed-content {
    transform: scale(0.95);
    transform-origin: center top;  
}


.horizontal-container {
    display: flex;
    align-items: flex-start;
}

.item {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.item:last-child {
    margin-right: 0;
}
/*_________________________ MODAL/POPUP _______________________*/

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    display: flex;
}

/* Classe per il contenuto della modale */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    max-width: 600px; /*DUM 08/11/24*/
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    font-size: 16px; /*DUM 08/11/24: 18*/
}

/* Animazione per la modale */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* Classe per i pulsanti nella modale */
.div-buttons-pop {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}


.modal-button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}


.btn-modifica {
    background-color: midnightblue;
    color: white;
}

.btn-elimina {
    background-color: #f44336;
    color: white;
}


.modal-button:hover {
    opacity: 0.8;
}

.modal-inv-btn {
    color:black;
    background-color: none;
    border: none;
}
/*____________________________________________ END MODAL ____________________________________________*/


/*____________________________________________ login ____________________________________________*/

.login-box {
    width: 300px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin: 50px auto;
}

.password-container {
    position: relative;
}

.password-input {
    width: 100%;
    padding-right: 30px;
}

.eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.input-login {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 2px solid #ccc;
    border-radius: 5px;
}


.custom-button {
    background-color: rebeccapurple;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: orangered;
}
.custom-button-login {
    background-color: rebeccapurple;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width:100%;
}

    .custom-button-login:hover {
        background-color: orangered;
    }

.footer {
    background-color: none;
    display: flex;
    align-items: center;
    color: black;
    text-align: left;
    position: fixed;
    bottom: 0;
    width: 100%;
}


/*____________________________________________ FINE login ____________________________________________*/



/*____________________________________________ NAVBAR ____________________________________________*/


.navbar-custom {
    display: flex;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 10px;
    white-space: nowrap;
    background-image: linear-gradient(to right, midnightblue, purple);
    color: blue
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #FFFFFF !important; /* Colore del testo dei link a bianco */
}

.navbar-custom .nav-link:hover {
    color: #DDDDDD !important; /* Colore leggermente diverso quando passi sopra i link, opzionale */
}


.navbar-toggler {
    border-color: #FFFFFF !important;
    border-width: 1px !important;
    border-style: solid !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'%3e%3c/path%3e%3c/svg%3e") !important;
}

.navbar-nav .nav-item { /* UTILIZZATO PER LA VOCE LOGOUT SULLA NAVBAR DA MODIFICARE */
    margin-right: 20px;
    margin-left: 10px;
}



/*____________________________________________ FINE NAVBAR ____________________________________________*/


.aziendaTextBox {
    border: 1.5px solid #000;
    padding: 5px;
    width: 800px;
}

.utenteTextBox {
    border: 1.5px solid #000;
    width: 100%;
}


/*____________________________________________ STILE PER CALCOLO ____________________________________________*/
.zoomed-content-calcolo {
    /*transform: scale(0.99);*/
    transform-origin: center top;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .form-group label {
        min-width: 250px;
        margin-right: 10px;
        text-align: left;
    }

    .form-group .customTextBox {
        border: 2px solid gray;
        flex-grow: 1;
        border-radius: 2px;
        height: 30px;
    }

.form-group2 {
    align-items: center;
    margin-bottom: 10px;
}

    .form-group2 label {
        min-width: 250px;
        margin-right: 10px;
        text-align: left;
    }

    .form-group2 .customTextBox-mini {
        border: 2px solid gray;
        border-radius: 2px;
        height: 30px;
        width: 50px;
    }

    .form-group2 .customTextBox {
        border: 2px solid gray;
        flex-grow: 1;
        border-radius: 2px;
        height: 30px;
        width: 120px;
    }

.form-group3 {
    align-items: center;
    margin-bottom: 10px;
}

    .form-group3 label {
        min-width: 50px;
        margin-right: 10px;
        text-align: left;
    }

    .form-group3 .customTextBox-mini {
        border: 2px solid gray;
        border-radius: 2px;
        height: 30px;
        width: 50px;
    }



.form-group4 {
    align-items: center;
    margin-bottom: 10px;
}

    .form-group4 label {
        min-width: 250px;
        margin-right: 10px;
        text-align: left;
    }

    .form-group4 .customTextBox-mini {
        border: 2px solid gray;
        border-radius: 2px;
        height: 30px;
        width: 50px;
    }

    .form-group4 .customTextBox {
        border: 2px solid gray;
        flex-grow: 1;
        border-radius: 2px;
        height: 30px;
        width: 100%;
    }



.titleContainer {
    background-color: lightgray;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 10px;
    padding-top: 5px;
    /*border-radius: 5px;*/
    border: solid 2px;
    text-align:center;
}

.titleContainer2 {
    background-color: lightgray;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 10px;
    padding-top: 5px;
    border-radius: 5px;
    /*text-align: center;*/
}

/*P*/
.titleContainer3 {
    background-color: lightgray;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 10px;
    padding-top: 5px;
    border-radius: 5px;
    border: solid 1px;
}
.titleContainer4 {
    background-color: lightgray;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 10px;
    padding-top: 5px;
    border-radius: 5px;
    border: solid 1px;
    width:100%;
    min-width:220px;
}

/*P*/
.label-info {
    vertical-align: middle;
    font-size: 14pt;
    float: right;
    width: 1.6rem;
}

/*P*/
.c-label-info-titoli {
    vertical-align: middle;
    font-size: 14pt;
    float: right;
    width: 1.6rem;
    padding-top: 0.3rem;
    margin-right: 0.3rem;
}

/*P*/
.c-label-info-text {
    vertical-align: middle;
    font-size: 14pt;
    float: right;
    width: 1.6rem;
    padding-top: 0.3rem;
    margin-right: 0.3rem;
    margin-top: 0.2rem;
}

/*P option button*/
.radionav input {
    width: 12px;
    margin-top: 0px;
}
/*P option button*/
.radionav label {
    display: inline-block;
    border: 1px solid black;
    border-radius: 8px;
    height: 35px;
    padding-top: 4px;
    padding-right: 15px;
    margin-left: -20px;
    padding-left: 25px;
}
/*P option button*/
.radionav input[type="radio"]:checked + label {
    display: inline-block;
    border: 1px solid black;
    border-radius: 8px;
    height: 35px;
    padding-top: 4px;
    padding-right: 15px;
    margin-left: -20px;
    padding-left: 20px;
    background: #007FFF;
    color: white;
    border-spacing: 10px;
}
/*P option button*/
.radionav:after {
    content: '';
    display: inline-block;
    width: 20px;
}

/*____________________________________________ FINE STILE PER CALCOLO ____________________________________________*/

/*____________________________________________ STILE PER GESTIONE UTENTE ____________________________________________*/

.btn-with-image {
    width: 32px;
    height: 32px;
    background-image: url('edit.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    padding: 0;
    background-color: transparent;
}

.gridview {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .gridview th {
        background-color: midnightblue;
        color: white;
        text-align: center;
        padding: 10px;
    }

    .gridview th a,
    .gridview th a:link,
    .gridview th a:visited,
    .gridview th a:hover,
    .gridview th a:active {
        color: white !important;
    }

    .gridview td {
        text-align: center;
        padding: 5px;
        border: 1px solid #ddd;
    }

.cellLeft {
    text-align: left !important; /*DUM 11/0625 Valentino (Comando per allineare elementi gridview a sinistra)*/
}

/*____________________________________________ STILE PER GESTIONE UTENTE ____________________________________________*/


/*_________________________________________________    FINO QUI STILE CORRETTO    */  



/*_____________________________________________________________________________________Stile index______________________________________________________________________________________________________________*/

.label-h3 {
    font-size: 1.75em;
    font-weight: bold;
}

.div-container-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F8F8F8;
    padding-right: 40px;
    padding-left:40px;
}

.gridViewHeader {
    background-color: darkblue;
    color: white;
}

.fullWidthGridView {
    text-align: center;
    vertical-align: middle;
    width: 100%;
    table-layout: fixed; /* Assicura che la tabella riempia la larghezza assegnata */
    height: 100px !important;
}

.gridViewScrollable {
    max-height: 240px; /* Imposta l'altezza per mostrare circa 4 righe, assumendo che ogni riga sia alta 60px */
    overflow-y: scroll;
    overflow-x: hidden;
}

.custom-button-annulla-filtri {
    height: 30px;
    border: none;
    cursor: pointer;
    color: black;
    background-color: lightgray;
    transition: background-color 0.3s;
    margin-left:20px;
    border-radius: 5px;
    margin-top:5px;
}

.custom-button-annulla-filtri:hover {
    background-color:red;
    color:white;
}

.div-title-filter {
    display:flex;
}

/*_____________________________________________________________________________FINE INDEX_________________________________________________________________________________________________*/



/*_____________________________________________________________________________ Style Crea Ticket _________________________________________________________________________________________*/

.div-form-container {
    align-content: center;
    border: 1px solid gray;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding:50px;
    padding-right:20px;
    border-radius: 10px;
    gap: 60px;
}

.div-form-border {
    border: 1px solid gray;
    padding: 30px;
}

.label-block {
    display: block;
    margin-bottom: 5px;
}

.div-form-border-bttn {
    display: flex; 
    margin-top: 17%;
    flex-wrap: wrap;
}

.custom-button-nt {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    height: 20%;
}

.custom-button-nt:hover {
    background-color: mediumseagreen;
}



/*_____________________________________________________________________________  FINE CREA TICKET  _________________________________________________________________________________________*/


/*_____________________________________________________________________________ STILE ClIENTI.ASPX -________________________________________________________________________________________*/

.div-container-head-clienti {
    display: flex;
    align-items: center;
}

.input-button-unified {
    height: 40px;
    vertical-align: middle; 
}

.custom-button-clienti {
    height: 40px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: darkblue;
    transition: background-color 0.3s;
}

.custom-button-clienti:hover {
    background-color: mediumseagreen;
}

.custom-btn-modifica {
    background-color: darkblue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 30px;
    width: 80px;
}

.custom-btn-modifica:hover {
    background-color: mediumseagreen;
}

.custom-btn-visualizza {
    background-color: darkblue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 30px;
    width: 125px;
}

.custom-btn-visualizza:hover {
    background-color: mediumseagreen;
}

.custom-button-rimuovi-filtri {
    height: 30px;
    border: none;
    cursor: pointer;
    color: black;
    background-color: lightgray;
    transition: background-color 0.3s;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-top:10px;
}

    .custom-button-rimuovi-filtri:hover {
        background-color: red;
        color: white;
    }



/*_____________________________________________________________________________ STILE ClIENTI.ASPX -________________________________________________________________________________________*/

/*_____________________________________________________________________________ STILE PER modalViewTicket __________________________________________________________________________________*/
.custom-button-annulla {
    background-color: mediumseagreen;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button-annulla:hover {
        background-color: whitesmoke;
        color: black;
}

.custom-button-salva {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button-salva:hover {
    background-color: lightblue;
    color: black;
}

.div-form-container-modal {
    align-content: center;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px;
    padding-right: 20px;
    border-radius: 10px;
    gap: 60px;
}

.container-btn {
    display: flex;
    justify-content: space-between;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 15px;
}

.div-commento {
    width: 390px;
    height: 75px;
    background-color: #f2f2f2;
    padding: 4px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    resize: none;
    display: block;
    overflow: auto;
    margin-right: 100px;
    margin-left: 20px;
}

.div-border-vt {
    border: 1px solid grey;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom:20px;
    margin-top: 20px;
}

.comune-ticket {
    align-content: center;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px;
    padding-right: 20px;
    border-radius: 10px;
    gap: 20px;
}

/*_____________________________________________________________________________ FINE modalViewTicket _______________________________________________________________________________________*/


/*_____________________________________________________________________________ Stile modalViewUtente _______________________________________________________________________________________*/

.repeated-div {
    border: 1px solid gray;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px;
}

.custom-button-vu {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 135px;
    margin-right: 30px;
}

.custom-button-vu:hover {
    background-color: mediumseagreen;
}
/*_____________________________________________________________________________ Fine modalViewUtente _______________________________________________________________________________________*/

/*_____________________________________________________________________________ Style modalModificaUtente _______________________________________________________________________________________*/
.zoomed-content-mmu {
    transform: scale(0.9);
    transform-origin: center top;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width:1200px;
}

.div-center-mmu {
padding:30px;
    margin-top:20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 5px;
    border: 2px solid grey;
    width: 100%;
}


.custom-btn-annulla-mmu {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 30px
}

.custom-btn-annulla-mmu:hover {
    color:black;
    background-color: white;
}

.custom-btn-salva-mmu {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 30px;
    width:90px;
}

.custom-btn-salva-mmu:hover {
    color: white;
    background-color: mediumseagreen;
}


.div-space-btw-btn {
    display: flex;
    justify-content: space-between;
}


/*_____________________________________________________________________________ Fine modalModificaUtente _______________________________________________________________________________________*/

/*_____________________________________________________________________________ Stile CambiaPassword _______________________________________________________________________________________*/
.CP-box {
    width: 300px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin: 50px auto;
    text-align:center;
}
/*_____________________________________________________________________________ Fine CambiaPassword _______________________________________________________________________________________*/
/*_____________________________________________________________________________ Stile per Riepilogo _______________________________________________________________________________________*/


.fullWidthGridView-riepilogo {
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100px !important;
    padding: 10px !important;
}


/* DA APPLICARE A LABEL SU riepilogoComune.aspx*/

.label-bold-h3 {
    font-weight: bold;
    font-size: 1.17em;
    margin-top: 0;
    margin-bottom: 0;
}

.label-bold-h2 {
    text-align:center;
    font-weight: bold;
    font-size: 1.40em;
    margin-top: 0;
    margin-bottom: 0;
}

/*_____________________________________________________________________________ Fine stile riepilogo _______________________________________________________________________________________*/


/*_____________________________________________________________________________ Prenota assistenza _______________________________________________________________________________________*/


.allineamento-div-orizzontale {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding:40px;
}

#datiCliente {
    flex: 1;
    margin-right:40px;
}

#problema {
    flex: 1;
}
.zoomed-content2 {
    transform: scale(0.9);
    transform-origin: center top;
}

.custom-button-rifiuta {
    background-color: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button-rifiuta:hover {
    background-color: red;
}


/*_____________________________________________________________________________ Fine Prenota _______________________________________________________________________________________*/


.cellStyle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*_____________________________________________________________________________ Bottoni Calcolo _______________________________________________________________________________________*/

.btn_pla_rosso {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: red;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary_pla_rosso {
    color: #fff;
    background-color: red;
    border-color: #156e5f;
    /*Modifica Paolo 28/06/2021*/
    width: 100%;
}

    .btn-primary_pla_rosso:hover {
        color: #fff;
        background-color: #125e5e;
        border-color: #062923;
    }

    .btn-primary_pla_rosso:disabled, .btn-primary_pla.disabled {
        color: #fff;
        background-color: #5b7a75;
        border-color: #2f403d;
    }

.btn_pla_rosso:disabled, .btn_pla_rosso.disabled, fieldset_pla_rosso:disabled .btn2 {
    pointer-events: none;
    opacity: 0.65;
}

@media (prefers-reduced-motion: reduce) {
    .btn_pla_rosso {
        transition: none;
    }
}

.btn_pla_rosso:hover {
    color: #FFF;
}

/*modifica Paolo 14/02/2023 */
.btn_frm {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #458600;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary_frm {
    color: #fff;
    background-color: #458600;
    border-color: #458600;
    /*Modifica Paolo 28/06/2021*/
    width: 100%;
}

    .btn-primary_frm:hover {
        color: #fff;
        background-color: #19510A;
        border-color: #19510A;
    }

    .btn-primary_frm:disabled, .btn-primary_frm.disabled {
        color: #fff;
        background-color: #5b7a75;
        border-color: #2f403d;
    }

.btn_frm:disabled, .btn_frm.disabled, fieldset_pla:disabled .btn_frm {
    pointer-events: none;
    opacity: 0.65;
}

@media (prefers-reduced-motion: reduce) {
    .btn_frm {
        transition: none;
    }
}

.btn_frm:hover {
    color: #FFF;
}
/*_____________________________________________________________________________ Fine Calcolo _______________________________________________________________________________________*/

/*________________________ Menu Calcolo  ________________________*/
.spaziaturaMnuCalcolo {
    margin-bottom: 1px; /* Spaziatura tra i link */
    padding-bottom: 1px; /* Spaziatura interna */
    border-bottom: 1px solid black; /* Riga nera */
}
/*________________________ Menu Calcolo  ________________________*/

/*__________ Pagina Calcolo __________*/
.larghezzaMinDDown {
    min-width: 220px;
}
.larghezzaMin200 {
    min-width: 200px;
}
.larghezzaMin220 {
    min-width: 220px;
}
.larghezzaMin300 {
    min-width: 300px;
}
.larghezzaMinRadioBtn {
    min-width: 300px;
}
/*__________ Pagina Calcolo __________*/

/* ___ TITOLO ___*/
.coloreTitolo {
    color: orangered;
}

.titoloUtente {
    color: white;
}

/* ___ FINE TITOLO ___*/