﻿body {
    margin: 0 auto;
    font-family: Calibri, Arial, Verdana, Tahoma, 'Courier New';
    font-size: 12px;
}

table {
    
    border-collapse: collapse;
    width: 80%;
    margin: 0 auto; /* centra l'intero form nella pagina */
    padding: 10px 0;
    
}

.Etichetta {
    font-size: 16px;
    color: azure;
    font-weight: bolder;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;    
}

.EtichettaSaluto {
    font-size: 20px;
    color: darkorange;
    
    text-shadow: -1px 0 , 0 1px darkred, 1px 0 darkred, 0 -1px darkred;
}

.InputBox {
    font-size: 12px;
    color: #000099;    
    background-color: #F0FFFF;
}


.pointer {
    cursor: pointer;
}

.MsgRed {
    font-size: 12px;
    color: #FF0000;
    font-weight: bolder;
}

.MsgError {    
    font-size: large;
    color: #FF0000;
    font-weight: bolder;
    background-color: #FFFFCC;
    border: double;
}

#resetpassword {
    color: whitesmoke;
    font-size: 10px;
    font-weight: bolder;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#login {
    border-top-color: azure;
    border-left-color: azure;
    border-bottom-color: darkblue;
    border-right-color: darkblue;
    border-width: 2px;
    border-style: solid;
    color: darkblue;
    font-weight: bolder;
    background-color: lightsteelblue;
    width: 140px;
    height: 28px;
}


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: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;
}