﻿html {
    font-family: Arial, Helvetica, sans-serif;
}

#wrapper {
    width: 100%;
    font-size: 14px;
    /*font-family: Arial, Courier New, Times New Roman;*/
}

#home {
    width: 30%;
    margin: 2em auto;
    font-size: 4em;
    text-align: center;
    color: #60A57D;
}

#header {
    background-color: #60A57D;
    border-bottom: 1px solid Silver;
    border-top: 1px solid Silver;
    padding-bottom: 12px;
}

    #header h1 {
        padding: 12px;
        font-weight: bold;
        font-size: 2.5em;
    }

        #header h1 a {
            color: white;
        }

            #header h1 a:hover {
                color: Silver;
            }

#mylogin {
    margin: auto;
    width: 40%;
}

#nav {
    float: left;
    height: 100%;
    overflow: auto;
    border-collapse: collapse;
    background-color: #EAEAEA;
    border-right: 1px solid #BCBCBC;
    width: 250px;
    font-size: 1.1em;
    text-transform: uppercase;
    padding: 18px 0;
}

    #nav h3 {
        background-color: Silver;
        border-top: 1px solid Gray;
        border-bottom: 1px solid Gray;
        line-height: 1.5em;
        padding-left: 24px;
        margin-top: 8px;
    }

    #nav ul {
        padding-left: 28px;
        padding-bottom: 4px;
        max-height: 250px;
        overflow: auto;
    }

        #nav ul li {
            border-bottom: 1px dotted Gray;
            padding: 4px;
            line-height: 1.3em;
        }

            #nav ul li a {
                color: #00790f;
                display: block;
                font-weight: normal;
            }

            #nav ul li.sep {
                height: 9px;
            }

#content {
    background-color: White;
    padding: 18px 32px 0 0;
    margin-left: 275px;
}

    /*
    #content h1 {
        background-color: #60A57D;
        padding: 6px;
        margin-bottom: 12px;
        width: 100%;
        border-top: 1px solid Gray;
        border-bottom: 1px solid Gray;
        color: White;
        font-size: 1.1em;
        text-transform: uppercase;
        font-weight: bold;
    }
*/
    #content h1 {
        color: #60A57D;
        margin: 0.3em 0 1em 0.2em;
        font-size: 1.7em;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 0.05em;
    }


    #content h2 {
        padding: 2px;
        margin-bottom: 6px;
        width: 100%;
        color: #00790f;
        font-size: 1.1em;
        text-transform: uppercase;
        font-weight: bold;
    }

    #content .messaggio, #content .messaggiocli {
        display: block;
        background-color: Red;
        color: Yellow;
        border: 1px solid #00790f;
        width: 90%;
        margin: 12px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        padding: 12px;
    }

    #content .messaggiocli {
        background-color: Red;
        color: Yellow;
        text-align: left;
        font-size: 1.2em;
    }

    #content .desctesto {
        color: Gray;
        display: block;
        font-size: 1.1em;
        padding: 12px;
        border: 1px solid Silver;
        margin-bottom: 12px;
    }

    #content label {
        color: Gray;
        margin-top: 6px;
        display: inline-block;
        font-weight: bold;
        width: 150px;
    }

    #content span.checkdritto label {
        display: inline;
    }

    #content textarea {
        width: 50%;
    }

    #content input[type="text"] {
        width: 50%;
    }

    #content input.corto[type="text"] {
        width: 20%;
    }

#dati img {
    max-width: 200px;
}

#content input.small[type="text"] {
    width: 100px;
}

#content .big input[type="text"], #content input.big[type="text"] {
    width: 90%;
}
/*
.incasso .incasso label {
    display: inline-block;
    width: 120px;
}
*/
/**************************/
.letto {
    float: right;
}

.clear {
    clear: both;
}

#footer {
    width: 100%;
    background-color: #60A57D;
    text-align: center;
    color: #ccc;
    padding: 8px;
}

/*GRID*/
table.gridadmin {
    width: 100%;
    border: 1px solid #EAEAEA;
    padding: 3px;
}

    table.gridadmin th {
        background-color: #EAEAEA;
        color: black;
        padding: 12px 6px;
        font-size: 1.3em;
        font-weight: bold;
        text-align: center;
    }

    table.gridadmin td {
        border: 1px dotted silver;
        padding: 5px;
    }

#command {
    margin-top: 12px;
}

#imgadmin .animgadmin {
    float: left;
    border: 1px solid #00790f;
    margin: 10px 7px 7px 0px;
    width: 400px;
    min-height: 350px;
}

/*MOBILE*/
@media only screen and (max-width: 768px) {
    #home {
        font-size: 2em;
    }

    #mylogin {
        margin: 0;
    }
}
