html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.prezzo {
    /* Regole CSS personalizzate per le colonne della DataGrid */
    font-weight: bold;
    color: red;
}

.sconto{
    color: green;
}

.salvaTestata{
    margin-right:1%;
}

.title{
    font-family:"Algerian";
    font-size:x-large;
}

.dettaglioOrdine {
    font-family: Roboto,RobotoFallback,"Noto Kufi Arabic",Helvetica,Arial,sans-serif;
    font-size: 25px;
}

.invio {
    display:flex;
    margin-top:3%;
    margin-bottom:3%;
    margin-right:1%;
    justify-content: flex-end;
}

.invioRicetta {
    margin-right:4%;
   /* min-width:200px;*/
}

@media screen and (max-width: 1200px){
    /*.invio{
        margin-left:50%;
    }*/
    .profile-container {
        background-color: white;
        padding-bottom: 10%;
    }
}

@media screen and (max-width: 1366px) {
    /*.invio {
        margin-left: 65%;
    }*/
}

.CodArtListino {
    color: #2596be;
    font-weight:bold;
}

.giacenza {
    color:black;
    font-weight:bold;
}

.listinoProdotti {
    font-family: Roboto,RobotoFallback,"Noto Kufi Arabic",Helvetica,Arial,sans-serif;
    font-size: 30px;
    margin-top:2%;
    margin-bottom:1%;
}


.ordini {
    font-family: Roboto,RobotoFallback,"Noto Kufi Arabic",Helvetica,Arial,sans-serif;
    font-size: 30px;
    margin-top: 1%;
}

#top5 {
    color: #2596be;
    font-weight:bold;
    font-size: 18px;
}

#ImpFTV{
   
}

.prezzoPubb{
    font-weight:bold;
}

.login-container {
    background-color: white;
    margin:10% 25% 10% 35%;
    padding-bottom: 5%;
    box-shadow: 5px 5px 10px #2596be;
}

.forgot-password-container {
    background-color: white;
    margin: 10% 35% 10% 35%;
    padding-bottom: 5%;
    box-shadow: 5px 5px 10px #2596be;
}

@media screen and (max-width: 768px) {
    .login-container {
        margin: 35% 20% auto 20%;
    }
}

@media screen and (max-width: 991.98px) {
    .login-container {
        margin: 35% 25% auto 25%;
    }
}

@media screen and (max-width: 1100px) {
    .login-container {
        margin: 35% 25% auto 25%;
    }
}

.login-logo {
    width: 200px;
    height: 110px;
    margin-top: 10%;
    /* margin-left:42%;*/
}

.logo-container {
    display: flex;
    justify-content: center;
}

.profile-container {
    /*background-color: white;
    padding-bottom: 10%;
    margin-right: 15%;*/
    background-color: white;
    padding-bottom: 5%;
    margin-right: 10%;
    margin-left: 10%;
    margin-bottom: 10%;
    box-shadow: 5px 5px 10px #2596be;
    margin-top:4%;
}

.form-avatar {
    height: 200px;
    width: 200px;
    margin: 10% auto 10% 25%;
    border: 5px solid #2596be;
    border-radius: 50%;
    background-image: url('../dist/img/sconosciuto.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#back {
    margin:2% auto 2% 2%;
}


.logout-icon:before {
    content: "\f2f5";
}

#formTestata{
    margin:auto auto 10% auto;
}

#note{
    margin: 2% auto 2% auto;
}

.scrollButton {
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 10;
}

.leftButton {
    left: 0;
}

.rightButton {
    right: 0;
}

.semaforo-verde {
    color: lawngreen;
}

.semaforo-rosso {
    /*border-radius: 50%;
    background-color: red;*/
    color: red;
}

.semaforo-giallo {
    /*border-radius: 50%;
    background-color: yellow;*/
    color: yellow;
}

.semaforo-giallo-rosso {
    /*border-radius: 50%;
    background-color: violet;*/
    color: violet;
}

#registerSubmit {
    /*margin: 2% 0 0 85%;*/
    position:absolute;
    right:1%;
}

#login-submit {
    font-size: larger;
    border-radius: 9px; /* Imposta il raggio desiderato */
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #2596be;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Sfondo semitrasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* Nascondi l'overlay inizialmente */
    z-index: 9999; /* Porta l'overlay in primo piano */
}
