#css-script-menu {
    font: 15px calibri, arial, sans-serif;
    position: fixed;
    height: 90px;
    width: 100%;
    top: 0;
    left: 0;
    border-top: 0px solid #16a1e7;
    background: #fff;
    -moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
    z-index: 999999;
    padding: 5px 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.css-script-center {
    width: 960px;
    margin: 0 auto;
}
    .css-script-center ul {
        font: 15px calibri, arial, sans-serif;
        width: 212px;
        float: left;
        line-height: 15px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .css-script-center a {
        text-decoration: none;
    }
.css-script-ads {
    width: 728px;
    height: 90px;
    float: right;
}
.css-script-clear {
    clear: both;
    height: 0;
}

#css-script-bottom {
    font: 10px calibri, arial, sans-serif;
    position: fixed;
    height: 90px;
    width: 100%;
    left: 0;
    border-top: 1px solid #16a1e7;
    background: #fff;
    /* -moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16); */
    z-index: 999999;
    padding: 15px 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

ul#menu {
    padding: 0;
    margin: 0;
    -moz-perspective: 780px;
    -webkit-perspective: 780px;
    perspective: 780px;
    background-color: transparent;
}

    ul#menu li a {
        display: block;
        width: 100%;
        height: 100%;
    }

    ul#menu li {
        text-indent: -9999px;
        position: relative;
        display: inline-block;
        width: 250px;
        height: 250px;
        margin-right: -70px;
        -moz-background-size: contain;
        -webkit-background-size: contain;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 0 0;
        z-index: 50;
        -moz-transform: rotateY(45deg);
        -webkit-transform: rotateY(45deg);
        transform: rotateY(45deg);
        -moz-transition: all .45s;
        -webkit-transition: all .45s;
        transition: all .45s;
        opacity: 1;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 30px rgba(0,0,0,0.2);
    }

        ul#menu li:last-child,
        ul#menu li:first-child {
            z-index: 45;
        }

        ul#menu li:nth-child(2),
        ul#menu li:nth-child(4) {
            z-index: 46;
        }

        ul#menu li:nth-child(3) {
            z-index: 51;
        }

        ul#menu li.highlighted {
            -moz-transform: rotateY(0deg) scale(1.2);
            -webkit-transform: rotateY(0deg) scale(1.2);
            transform: rotateY(0deg) scale(1.2);
            z-index: 55 !important;
        }

    ul#menu .highlighted ~ li {
        -moz-transform: rotateY(-45deg);
        -webkit-transform: rotateY(-45deg);
        transform: rotateY(-45deg);
    }

    ul#menu li:hover,
    ul#menu li:first-child:hover,
    ul#menu li.highlighted ~ li:hover {
        z-index: 60 !important;
    }

    ul#menu li:hover {
        -moz-transform: rotateY(0deg) scale(1.2);
        -webkit-transform: rotateY(0deg) scale(1.2);
        transform: rotateY(0deg) scale(1.2);
        opacity: 1;
    }

        ul#menu li:hover ~ li {
            -moz-transform: rotateY(-45deg);
            -webkit-transform: rotateY(-45deg);
            transform: rotateY(-45deg);
        }

    ul#menu:hover li:not(:hover) {
        -moz-transform: rotateY(45deg);
        -webkit-transform: rotateY(45deg);
        transform: rotateY(45deg);
    }

    ul#menu:hover li:hover ~ li {
        -moz-transform: rotateY(-45deg);
        -webkit-transform: rotateY(-45deg);
        transform: rotateY(-45deg);
    }

    ul#menu:not(:hover) li.highlighted {
        opacity: 1;
    }
    /*
    ul#menu li:nth-child(1) {
        background-image: url('Images/gestioneutenti.png');
    }

    ul#menu li:nth-child(2) {
        background-image: url(Images/sistemacontrolloricette.png);
    }

    ul#menu li:nth-child(3) {
        background-image: url(Images/gecorweb.png);
    }

    ul#menu li:nth-child(4) {
        background-image: url(Images/pianiterapeutici.png);
    }

    ul#menu li:nth-child(5) {
        background-image: url(Images/anagrafica.png);
    }

    ul#menu li:nth-child(6) {
        background-image: url(Images/inviacomunicazione.png);
    }
        */
    ul#menu li:after {
        content: "";
        width: 250px;
        height: 0px;
        background: rgba(255,255,255,.5);
        /*background-image: url(tables.jpg);
	-moz-background-size: contain;
  -webkit-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 0;
	-webkit-transform: rotateZ(180deg);
	transform: rotateZ(180deg);*/
        position: absolute;
        bottom: -20px;
        left: 0;
        -webkit-mask-image: -webkit-gradient(linear, left 10%, left bottom, from(rgba(0,0,0,.5)), to(rgba(0,0,0,0)));
    }

.bg {
    background: transparent url(Images/thumb-1920-70292.jpg) center center no-repeat;
    min-height: 350px;
    padding-top: 100px;
}

.bgMinTop {
    background: transparent url(Images/thumb-1920-70292.jpg) center center no-repeat;
    min-height: 350px;
    padding-top: 10px;
}
