﻿/*INIZIO*/

/*
    CSS PER "ANCHEIO"

    Classi css per il progetto anche io
    sezioni delle differenti pagine aspx separate da commenti

*/

/* GENERAL*/

body {

    font-family: 'Arial', sans-serif;

}

.zoomed-content {
    transform: scale(0.8);
    transform-origin: center top; /* Imposta il punto di origine della trasformazione */   
}

/*______________________________________________________________________ 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: darkblue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: mediumseagreen;
}

.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, darkblue, mediumseagreen)
}

.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 {
    margin-right: 20px;
    margin-left: 10px;
}
/*____________________________________________________________________________________ FINE NAVBAR _____________________________________________________________________________________________________________*/


/*_____________________________________________________________________________________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-left:60px;
    padding-right:60px;
    padding-top:30px;
    padding-bottom: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;
}