@font-face {
    font-family: fontpers;
    src: url(/alchimia/fontpers/spaceranger.ttf);
    }
@font-face {
    font-family: fonttitolo;
    src: url(/alchimia/fontpers/spaceranger.ttf);
    }
@font-face {
    font-family: fontfooter;
    src: url(/alchimia/fontpers/montserrat-semibold.ttf);
    }
@font-face {
    font-family: fontlista;
    src: url('/alchimia/fontpers/nunito.ttf') format('truetype');
    font-display: swap; /* mostra font di riserva durante il caricamento del font personalizzato */
    }

body {
    height: 100%;
    margin: 0;
    background-color: rgba(0, 255, 0, 0.1);
    font-family: Verdana, Arial, Tahoma, sans-serif;
    }
        
#recipiente {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    }
        
#titolo {
    position: relative;
    width: 100%;
    height: 6vh;
    text-align: center;bottom: 0;
    font-family: fontpers;text-shadow: 0.2vw 0.1vw 0.1vw #694e25;
    font-size: 2.5vw;font-weight: bold;
    background-color: #f0f0f0;color: #a6a5a5;
    border-bottom: 3px solid #d3d2d2;
    letter-spacing: 3px;
    }
    
#titolosx {
    position: absolute;
    width: 10%;
    margin-left: 0;
    padding-left: 10px;
    }
    
#titolocc {
    position: absolute;
    width: 80%;
    margin-left: 10%;
    }
    
#titolodx {
    position: absolute;
    width: 10%;
    margin-left: 90%;
    }
    
        #corpopagina {
        position: relative;
        width: 100%;
        height: 88vh;
        border-top: 2px solid #bbbaba;
        border-bottom: 2px solid #bbbaba;
        }
    
    
        #footerdiv {
        position: fixed;
        z-index:10;
        text-align: center;
        bottom: 0px;
        width:100%;
        height: 6vh;
        border-top: solid #bbbaba 1px;
        font-family: fontfooter, Verdana, sans-serif;
        font-size: 2vh;
        background-color: #f0f0f0;color: #181818;
        border-bottom: 1px solid #a5a5a5;
        }
    
        #footersx {
        position: absolute;
        width: 10%;
        margin-left: 0;
        padding-top: 2vh;
        font-weight: 900;
        }
    
        #footercc {
        position: absolute;
        width: 80%;
        margin-left: 10%;
        color: #a5a5a5;
        }
    
        #footerdx {
        position: absolute;
        width: 10%;
        margin-left: 90%;
        padding-top: 2vh;
        }
    
    
    
        @media (max-width: 480px) {
    
        #titolo {
        font-size: 4.5vw;
        letter-spacing: 1px;
        }
    
        #titolocc {
        width: 90%;
        padding-top: 1.5vh;
        }
    
        #titolodx {
        display: none;
        }
    
        #footerdiv {
        height: 8vh;
        font-size: 1.4vh;
        }
    
        #footersx, #footerdx {
        display: none;
        }
    
        }    

/* barra menu */   

    .menu-div-container {
        display: grid;
        width: 100%;
        height: 6vh;
        font-family : verdana;font-size:10px;
        overflow:hidden;
        border-top: 2px solid #999999;
        background: -moz-linear-gradient(top, #62adf8, #3366cc);
    }
    .menu-div-container div {
        text-align: center;
    }

/* contiene il form */

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 82vh;
    margin: 0;
    padding: 5px;
    border-radius: 8px;
    }
.centro {  /* form centrato */
    padding: 10px;
    width: 98vw;
    max-width: 500px;
    height: 70vh;
    border: solid 2px rgb(73, 72, 72);
    border-radius: 4px;
    background-color: #f4f4f4;
    }
h2 {  /* intestazione form */
    text-align: center;
    color: #333;
    padding: 16px;
    }
label {
    display: block;
    margin: 5px;
    color: #555;
    font-size: 10px;
    }
    
select, input[type="text"], input[type="submit"], input[type="password"] {
    width: 85vw;
    padding: 8px;
    border: 1px solid #959494;
    border-radius: 4px;
    }
input[type="text"]:read-only, input[type="password"]:read-only { /* For Firefox */
    cursor:no-drop;
    }

#select-mobile480 {width:460px;}

:disabled   {
    cursor: no-drop;
    }

input[type=button], input[type=submit], input[type=reset] {
        border: none;
        color: black;
        text-decoration: none;
        cursor: pointer;
        }
input[type=date] {
        cursor: pointer;
        }
#pulsantesalva {
        margin: auto;
        line-height: 0px;
        display: block;
        border:none;
        text-align: center; 
        cursor: pointer;
        background:none;  /* Sfondo pulsante*/
        }
input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
        background-color: #f9922d;
        font-weight:bold;
        }

    
    .immagine1 {display: block;width:5.5vw;height:auto;border-right: inset 1px grey;}
    .immagine2 {display: none;}
    #cambio:hover .immagine1 {display: none;}
    #cambio:hover .immagine2 {display: block;width:5.5vw;height:auto;border-right: inset 1px grey;}

    .immagine3 {display: block;width:5.5vw;height:auto;text-align: center;}
    .immagine4 {display: none;}
    #cambio:hover .immagine3 {display: none;}
    #cambio:hover .immagine4 {display: block;width:5.5vw;height:auto;text-align: center;}

@media (max-width: 480px) {

    .immagine1 {display: block;width:20vw;height:auto;border-right: inset 1px grey;}
    .immagine2 {display: none;}
    #cambio:hover .immagine1 {display: none;}
    #cambio:hover .immagine2 {display: block;width:20vw;height:auto;border-right: inset 1px grey;}

    .immagine3 {display: block;width:20vw;height:auto;text-align: center;}
    .immagine4 {display: none;}
    #cambio:hover .immagine3 {display: none;}
    #cambio:hover .immagine4 {display: block;width:20vw;height:auto;text-align: center;}

    h2 {padding: 6px;font-size: 12px;}/* intestazione form */

    #titolo {font-size: 4.5vw;letter-spacing: 1px;}
    #titolocc {width: 90%;padding-top: 1.5vh;}
    #titolodx {display: none;}
    
    #footerdiv {height: 8vh;font-size: 1.4vh;}
    #footersx, #footerdx {display: none;}

    #select-mobile480 {width:245px;}
    
    }