/* Stile generale */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    padding-top: 100px; 
}

#header {
    background-image: url('img/immagine.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 20px;
    margin: -20px -20px;
    margin-bottom: -20px;
    position: fixed;
    width: 100%;
    top: 10px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

#menu {
    background-color: #737373;
    overflow: auto;
    text-align: center;
    white-space: nowrap;
    position: fixed;
    width: 100%;
    top: 60px;
    z-index: 1000;
}

#menu a {
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color  0.3s;
    font-size: 18px;
    font-weight: bold;
}

#menu a:hover {
    background-color: #D73D32;
}

#content {
    padding: 10px;
    text-align: center;
}

form {
    margin-top: 20px;
}

input[type="text"],
textarea,
input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
}

input[type="submit"] {
    background-color: #000000;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #D73D32;
    font-weight: bold;
}

textarea {
    height: 40px;
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
}

.container {
    max-width: 340px;
    margin: auto;
    background-color: #000000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid white;
    font-weight: bold;
}

.form-container {
    max-width: 300px;
    margin: -20px auto 0;
    background-color: #000000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%;
    font-weight: bold;
}

.suggerimento {
    cursor: pointer;
    padding: 5px;
    margin: 2px;
    background-color: #000000;
    border-radius: 5px;
    font-weight: bold;
}

.suggerimento:hover {
    background-color: #ccc;
    color: #000000;
    font-weight: bold;
}

.button-group {
    text-align: center;
    margin-top: 20px;
}

.button-group input[type="submit"] {
    background-color: #FFA500;
    color: #fff;
    cursor: pointer;
}

.button-group a {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.button-group a:hover {
    background-color: #D73D32;
}

.success {
    color: green;
    background-color: #e0ffe0;
    padding: 10px;
    border: 1px solid green;
    border-radius: 5px;
    margin: 10px 0;
}

.error {
    color: red;
    background-color: #ffe0e0;
    padding: 10px;
    border: 1px solid red;
    border-radius: 5px;
    margin: 10px 0;
}
        #content {
            padding: 20px;
            text-align: center;
        }
        form {
            margin-top: 20px;
            font-size: 18px;
        }
        input[type="password"],
        input[type="submit"] {
            padding: 10px;
            margin: 5px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }
        input[type="submit"] {
            background-color: #000000;
            color: #fff;
            cursor: pointer;
            transition: background-color 0.3s;
            font-size: 18px;
        }
        input[type="submit"]:hover {
            background-color: #D73D32;
        }

/* Nasconde il sottomenu di default */
.hidden {
    display: none;
}
        #admin-submenu {
            background-color: #737373;
            overflow: auto;
            text-align: center;
            white-space: nowrap;
            position: fixed; /* Aggiunto */
            width: 100%; /* Aggiunto */
            top: 60px; /* Aggiunto - regola questo valore in base all'altezza del tuo header */
            z-index: 1000; /* Aggiunto */
        }
        #admin-submenu a {
            display: inline-block;
            color: #fff;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
            transition: background-color  0.3s;
            font-size: 18px;
            font-weight: bold;
        }
        #admin-submenu a:hover {
            background-color: #D73D32;
        }

#admin-menu-button {
    background-color: #737373;
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 18px;
    font-weight: bold;
    outline: none; /* Rimuove il bordo */
    border: none;  /* Rimuove eventuali bordi */
}

#admin-menu-button a {
    text-decoration: none;
    outline: none; /* Rimuove il bordo */
    border: none;  /* Rimuove eventuali bordi */
}

#admin-menu-button a:hover,
#admin-menu-button a:focus,
#admin-menu-button:focus {
    background-color: #D73D32;
    outline: none; /* Assicurati che l'outline sia rimosso anche al focus */
    border: none;  /* Assicurati che non ci siano bordi visibili */
}
