﻿
body {
    font-family: "Sans-Serif", "Verdana","Arial";
    font-size: 16px;
}




.corpo {
    position: absolute;
    top: 10vh;
    border: 0px;
    left: 250px;
    width: calc(100% - 250px);
    width: -webkit-calc(100% - 250px);
    width: -moz-calc(100% - 250px);
    width: -o-calc(100% - 250px);
    height: 90vh;
    background-color: white ;
    text-align: center;
    overflow: auto;
}

.titolo01 {
    font-family: "Sans-Serif", "Verdana","Arial";
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
}

.titolo02 {
    font-family: "Sans-Serif", "Verdana","Arial";
    font-weight: normal ;
    font-size: 0.8em;
    text-align: center;
}

.testata {
    position: absolute;
    top: 0px;
    border: 0px;
    height: 10vh;
    width: 99vw;
    background-color: white;
    text-align: center;
    min-height: 30px;
    min-width: 300px;
    overflow: hidden;
    z-index: 501;
}







.menu {
    position: absolute;
    border: 0px;
    top: 10%;
    left: 0px;
    height: 90%;
    width: 250px;
    background-color: rgba(41, 81, 151, 0.95);
    opacity: 1;
    text-align: center;
    min-height: 20px;
    min-width: 42px;
    overflow: hidden;
    /*font-size: 15px;*/
}

    .menu a {
        color:white ;
        font-weight: bold;
        display: block;
        text-align: left;
        padding: 0px 0px;
        text-decoration: none;
        /*font-size: 14px; */
    }

    .menu ul {
        list-style: none;
        padding: 0px;
        margin: 0;
    }

        .menu ul .li1 {
                padding-top: 10px;
            padding-left: 10px;
            padding-right: 0px;
            padding-bottom   : 10px;
            position: relative;
            width: 1500px;
        }

        .menu ul .li2 {
            
                padding-top: 5px;
            padding-left: 30px;
            padding-right: 0px;
            padding-bottom: 5px;
           
                position: relative;
            width: 1500px;
        }

    .menu a.active {
        background-color: rgba(162, 220, 164, 0.8);
        color: #fff;
        font-weight: bold;
    }
.menu a:hover,
input[type="submit"]:hover,
.HyperLinkInput:hover {
    background-color: rgba(162, 220, 164, 0.8);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.menu .icon {
    display: none;
}

body{
    margin :0;

}







@media screen and (max-width: 768px) {

    .corpo {
        position: absolute;
        top: 10vh;
        border: 0px;
        left: 0px;
        width: 100% ;
     
        background-color: white;
        text-align: center;
        min-height: 30px;
        min-width: 300px;
        overflow: scroll;
    }

    .menu {
        overflow: hidden;
        background-color: rgba(41, 81, 151, 0.95);
                opacity: 0.5;
        position: absolute;
        border: 0px;
        top: calc(10vh - 42px);
        top: -webkit-calc(10vh - 42px);
        top: -moz-calc(10vh - 42px);
        top: -o-calc(10vh - 42px);
        left: 0px;
        width: 42px;
        height: 40px;
        margin-left: 0px;
        margin-right: 0px;
        z-index: 501;
    }

    .menu a {
        display: none;
    }
        .menu a.icon {
            float: right;
            display: block;
            position: fixed;
            left: 0px;
            top: calc(10vh - 42px);
            top: -webkit-calc(10vh - 42px);
            top: -moz-calc(10vh - 42px);
            top: -o-calc(10vh - 42px);
            left: 0px;
        }

    .menu a.icon {
        padding: 7px 8px;
    }

        .menu a.icon span {
            background: rgba(0,0,0,1);
            display: block;
            padding: 1px 12px;
            margin: 5px 1px;
        }

    .menu.responsive {
        position: relative;
    }
    
        .menu.responsive a {
            float: none;
            display: block;
            text-align: left;
            color: white;
        }

    .menu.responsive {
        overflow: visible;
        opacity: 0.9;
        background-color: rgba(41, 81, 151, 0.95);
        top: 10vh;
        position: absolute;
        width: 250px;
        overflow-y: auto;
        overflow-x: hidden;
        height: 300px;
        left: 0px;
        margin-left: 0;
        margin-right: 0;
    }

}

