/*############# CUSTOM CSS ###############*/


/* START margin e padding */

body {

    font-family: Poppins, sans-serif;
    margin: 0;
    box-sizing: border-box;
    /*background-color: rgba(13, 110, 253, 0.25);*/
    position: relative;
    min-height: 100vh;
    font-size: clamp(14px, 5vw, 18px);
    background: linear-gradient(to right, #00c6ff, #0072ff);
    /* Impedisce il footer di salire a metà schermo */

}

.background-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shape1 {
    width: 150px;
    height: 200px;
    background: blue;
    position: absolute;
    top: -100px;
    left: -100px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	z-index:998;
}



.shape2 {
    position: fixed;
    bottom: -40px;
    /* Parte inferiore fuori dallo schermo */
    right: -30px;
    /* Parte destra fuori dallo schermo */
    width: 160px;
    height: 160px;
    background-color: rgba(0, 123, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    cursor: pointer;
    transition: bottom 0.3s ease-in-out;
}

    /* Contenitore della linea */
    .line-container {
        width: 100%;
        position: relative;
    }

    /* Linea centrale */
    .center-line {
        height: 2px;
        background: linear-gradient(to right, transparent, #000, transparent);
        width: 100%;
    }
    
.login-margin {
    padding-bottom: 30px;
    padding-top: 70px;
    padding-left: 5px;
}

.nav-padding {
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 20px;
    font-size: 40px;
    font-weight: 100;
}

.nav-badge {
    padding-top: 10px;
    font-size: 16px;
    font-weight: 400;
}

.nav-span {
    font-size: 35px;
    margin-left: 10px;
    margin-top: 5px;
}

.span-badge {
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
}

.nav-li {
    font-size: 20px;
}

.nav-canvas {
    padding-top: 10px;
    padding-left: 10px;
}

.btn-margin {
    margin-right: 20px;
}

.div-padding {
    padding-top: 3%;
    padding-bottom: 1%;
}

.footer-padding {
    padding: 20px;
}

.content {
    margin-bottom: 20px;
    /* Altezza del footer */
    z-index: 2;
}

.line {
    padding: 2%;
    border-style: solid;
    margin: 40px;
    border-radius: 10px;
    border-width: thin;
    border-top-width: thick;
    border-top-color: rgb(0, 145, 255);
}

.line-cont {
    border-style: unset;
    margin: 20px;
    border-radius: 10px;
    border-width: unset;
}

.line-cont-tab {
    border-style: unset;
    margin-right: 40px;
    margin-left: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    border-width: unset;
}

.line-page {
    border-style: unset;
    margin-bottom: 20px;
    margin-right: 40px;
    margin-left: 40px;
    margin-top: 40px;
    border-radius: 10px;
    border-width: unset;
}

.line-text {
    border-style: unset;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 30px;
    padding-bottom: 20px;
    border-radius: 10px;
    border-width: unset;
}

.card-contact {
    padding-top: 25px;
}

.col {
    padding-bottom: 20px;
}

.testo {
    padding-left: 5%;
    padding-right: 5%;
}

.titolo {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5px;
    padding-bottom: 1%;
}

.margin-bottom {
    padding-bottom: 80px;
}

.margin-bottom-ua {
    padding-bottom: 40px;
}

/* END margin e padding */



/* START font size */

.span-size {
    font-size: 26px;
}

.a-fontsize {
    font-size: 20px;
}

.btn .badge {
    font-size: medium;
}

.rounded-pill {
    font-size: medium;
}

.text-bg-info {
    font-size: medium;
}

.cont-size {
    text-transform: uppercase;
}

/* END font size */


/* disattivo underline dei link */
a {
    text-decoration: unset;

}

/*custom button per intestazione pagina*/
.btn-darkl {
    min-width: 100px;
    background-color: #212529;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    border-style: unset;
}

.btnl:hover {
    color: #fff !important;
    text-decoration: none;
}


/* START tag table  */
.t-table {
    font-family: Poppins;
}

tfoot>td {
    font-size: 18px;
}

.table>head {
    font-size: medium;
}

table-custom-padding {
    padding-top: 10px;
    padding-bottom: 15px;
}

.tr-point {
    cursor: pointer;
    transition: background-color 0.3s;
}

tr.tr-point:hover {
    background-color: #f5f5f5;
    /* Cambia il colore di sfondo al passaggio del mouse */
    cursor: pointer;
    /* Cambia il cursore per indicare che è cliccabile */
}

.stroke {
    /**/
    -webkit-text-stroke: 1px black;
    font-size: x-large;
}


/*custom footer*/
.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(23, 23, 23, 0.943);
    color: white;
    text-align: center;
    padding: 25px;
    font-family: Poppins;
    z-index: 1;
}

.login-button {
    border-style: unset;
    background: unset;
}

/*per la gestione della password*/
.password-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-container {
    position: relative;
}

/*creare forme */

.circle-green {
    background: rgb(9, 255, 0);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;


}

.circle-red {
    background: rgb(255, 0, 0);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.circle-gray {
    background: rgb(151, 151, 151);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.circle-yellow {
    background: rgb(255, 255, 0);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.circle-orange {
    background: rgb(255, 140, 0);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* Pulsante rotondo per creazione nuovo utente */
.round-button {
    display: inline-block;
    border: 2px solid #333;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
    text-decoration: none;
    color: #333;
}

/*custom dataTable */
div.dataTables_filter,
div.dataTables_length {
    /*padding sulla sezione filtri e ricerca*/
    padding-bottom: 20px;
    border-color: #212529;
}


div.dataTables_wrapper,
div.dataTables_paginate,
div.paginate_button {
    /*padding-top: 20px;*/
    padding-bottom: 20px;
}

.table.dataTable thead>tr>th.sorting {
    text-align: center;
}


.table.dataTable tbody tr {
    text-align: center;
}

.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
.dataTables_wrapper.no-footer div.dataTables_scrollBody>table {
    border-bottom: dimgrey;
}

/*fine custom dataTable


/*custom flpickr*/
.flatpickr-input {
    padding: 5px;
    border-radius: 5px;
    border-style: hidden;
}


/*Custom page Contatti*/
.us {
    color: red;
    font-weight: bold;
    font-size: xx-large;
}

.contact {
    font-weight: 400px;
    font-size: xx-large;
}

/*fine custom page Contatti*/

.p-cont {
    display: inline;
    border-bottom: rgb(0, 145, 255);
    border-bottom-style: inset;
    border-bottom-right-radius: 10px;
}

.required-label::after {
    content: " *";
    color: red;
}


/* per popup di conferma */
#customConfirmation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: #fff;
    padding: 40px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
}

#confirmationMessage {
    margin-bottom: 10px;
    font-size: 18px;
}

#confirmationButtons {
    text-align: right;
    margin-top: 20px;
}

#confirmationButtons button {
    margin-left: 10px;
}

.label-padding {
    padding-bottom: 10px;
}

/* Stile personalizzato per la modale */
.modal-dialog {
    max-width: 50%;
    /* Puoi regolare la larghezza massima come preferisci */
}

.modal.show .modal-dialog {
    padding: 1%;
}

/*da inserire su style*/


/* Stile personalizzato per i campi di input */
.modal-body .form-control {
    width: 100%;
    /* Puoi regolare la larghezza come preferisci */
}

/* spinner e progress bar */
#spinner {
    display: none;
    border: 0px solid #ccc;
    border-top: 0px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    /* Aggiunto margine a destra per separare il testo */
}

#spinnerText {
    font-size: 20px;
    /* Dimensione del testo */
}

.spinner-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* end spinner e progress bar */

/* Personalizzazione della classe hover-link per l'effetto hover */
a.hover-link {
    color: #c4c4c4;
    /* Colore predefinito */
    text-decoration: none;
    /* Rimuovi sottolineatura predefinita */
    transition: color 0.3s ease;
    /* Aggiungi una transizione per un effetto più fluido */
}

/* Cambiamenti al passaggio del mouse (effetto hover) */
a.hover-link:hover {
    color: rgb(0, 162, 255);
    /* Cambia il colore al passaggio del mouse */
    text-decoration: underline;
    /* Aggiungi sottolineatura al passaggio del mouse */
}

.card {
    background-color: #043465;
    padding: 5px;
    width: 100%;
    height: auto;
}

.card-body {
    color: #fff;
}

.bkd {
    background-color: #3498db;
}

.border-custom {
    border-bottom: rgb(0, 145, 255);
    border-bottom-style: inset;
    border-bottom-right-radius: 10px;
}

/* Stile per l'icona di scroll to top */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 10px;
    border-radius: 20%;
    cursor: pointer;
    z-index: 2;
}

#cookieAlert {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #f1f1f1;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#cookieAlert button {
    padding: 5px 10px;
    margin: 0 10px;
    cursor: pointer;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Responsive mobile device*/
@media screen and (min-width: 300px) and (max-width: 768px) {
	
	/* ridimensiona il campo cerca sul datatable*/
    .dataTables_filter input {
        width: 100%; 
        margin: 0 auto;
        display: block;
    }

    .dataTables_filter {
        text-align: center;
        width: 100%;
    }

    /* Regole CSS da applicare quando la larghezza dello schermo è compresa tra 300 e 766 */
    .nav-span {
        font-size: 16px;
    }

    .a-fontsize {
        font-size: 14px;
        font-weight: 200;
    }

    .span-size {
        font-size: 12px;
    }

    .nav-badge {
        padding-top: 5px;
        font-size: 12px;
        font-weight: 400;
    }

    .modal-content {
        padding: 1rem;
    }

    /*img {
        height: 40px;
    }*/

    /* tr {
            font-size: 10px;
        }*/

    /*h1,
    h2,
    h3 {

        font-size: 18px;
    }*/

    /*p,
    span {
        font-size: 14px;
    }*/

    .page-link {
        font-size: 12px;
    }

    .navbar-toggler {
        width: 1em;
        height: 1em;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .text-bg-info {
        font-size: smaller;
    }

    .navbar-toggler {
        width: 3em;
        height: 3em;
        border: unset;

    }
}


@media (max-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 0 auto;
    }
}

/*

 @media (orientation: landscape) {
    /* Regole CSS da applicare quando il dispositivo è in modalità landscape (orizzontale) */
/*    .nav-span {
        font-size: 16px;
    }

    .a-fontsize {
        font-size: 14px;
    }

    .nav-badge {
        padding-top: 5px;
        font-size: 16px;
        font-weight: 400;
    }

    img {
        height: 40px;
    }

    tr {
        font-size: 10px;
    }

    h1, h2, h3 {
      
        font-size: 14px;
    }

    .page-link{
        font-size: 12px;
    }

    .navbar-toggler {
        width: 1em;
        height: 1em;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .btn {
    font-size:10px;
    padding: unset;
    }

    .form-control{
        font-size: 10px;
        width: 60%;
    }
 }
*/