/* 
    Document   : nav.css
    Created on : 27-nov-2013, 23.07.08
    Author     : dinenno
    Description:
        Purpose of the stylesheet follows.
*/

nav{
    float: right;
    margin: 10px;
    margin-top: 80px;
    display: inline-block;
}
nav li{
    float: left;
    margin: 10px;
  width: 120px;
  height: 120px;
  border-radius: 150px;  /*non 100px ma 150px */
  text-align: center;
  /*border: 20px  #eee;*/
  border: 5px solid #1c1c1c;
background: rgb(45,47,51); /* Old browsers */
 /*IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMyZDJmMzMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-radial-gradient(center, ellipse cover,  rgba(45,47,51,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(45,47,51,1)), color-stop(100%,rgba(0,0,0,1)));  /*Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  rgba(45,47,51,1) 0%,rgba(0,0,0,1) 100%);/*  Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  rgba(45,47,51,1) 0%,rgba(0,0,0,1) 100%);  /*Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  rgba(45,47,51,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  rgba(45,47,51,1) 0%,rgba(0,0,0,1) 100%);  /*W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d2f33', endColorstr='#000000',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */

}

nav a{
    display: block;
    line-height: 120px;
    color: #ffffff;
    border-radius: 150px;
}
nav a:hover{
    
}

nav a:hover{
    color: #ff3333;
    cursor: pointer;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5),
                inset 0 20px 20px rgba(0, 0, 0, 0.3),
                inset 0 -20px 20px rgba(0, 0, 0, 0.3),
                inset 0 30px 50px rgba(255, 255, 255, 0.1);
}
/* se il mouse clicca l' elemento */
nav a:active{
    cursor: pointer;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5),
                inset 0 20px 20px rgba(0, 0, 0, 0.4),
                inset 0 -20px 20px rgba(0, 0, 0, 0.4),
                inset 0 30px 50px rgba(255, 255, 255, 0.1);
}

/*nav {  
    height: 40px;  
    width: 100%;  
    background: #455868;  
    font-size: 11pt;  
    font-family: 'PT Sans', Arial, sans-serif;  
    font-weight: bold;  
    position: relative;  
    border-bottom: 2px solid #283744;  
}  
nav ul {  
    padding: 0;  
    margin: 0 auto;  
    width: 600px;  
    height: 40px;  
} 

nav li {  
    display: inline;  
    float: left;  
} */

/*    .clearfix:before,  
    .clearfix:after {  
        content: " ";  
        display: table;  
    }  
    .clearfix:after {  
        clear: both;  
    }  
    .clearfix {  
        *zoom: 1;  
    }  */
    
/*nav a {  
    color: #fff;  
    display: inline-block;  
    width: 100px;  
    text-align: center;  
    text-decoration: none;  
    line-height: 40px;  
    text-shadow: 1px 1px 0px #283744;  
} 

nav li a {  
    border-right: 1px solid #576979;  
    box-sizing:border-box;  
    -moz-box-sizing:border-box;  
    -webkit-box-sizing:border-box;  
}  
nav li:last-child a {  
    border-right: 0;  
} 

    nav a:hover, nav a:active {  
        background-color: #8c99a4;  
    }  */
    
    a#pull {  
    display: none;
    background: none;
} 


/*    @media screen and (max-width: 767px) {
        nav {   
            height: auto;  
        }  
        nav ul {  
            width: 100%;  
            display: block;  
            height: auto;  
        }  
        nav li {  
            width: 50%;  
            float: left;  
            position: relative;  
        }  
        nav li a {  
            border-bottom: 1px solid #576979;  
            border-right: 1px solid #576979;  
        }  
        nav a {  
            text-align: left;  
            width: 100%;  
            text-indent: 25px;  
        }  
    }  */
    
        @media screen and (max-width: 767px) {
            
        div.ball{
            float: none;
            }
        nav {  
            border-bottom: 0;
            width: 100%;
            margin: 0;
        }  
        nav ul {  
            display: none; 
            width: 100%;
        }  
        nav li{
            border-radius: 10px;
            width: 100%;
            height: 30px;
            padding: 0px;
            margin: 2px;
            /*border: 2px solid #000000;*/
        }
        nav a{
            padding: 0px;
            line-height: 30px;
            border-radius: 10px;
        }
        a#pull {  
            display: block; 
            position: absolute;
            top: 100px;
            right: 20px;
        }  
        a#pull:after {  
            content:"";  
            background: url('../images/nav-icon.png') no-repeat;  
            width: 20px;  
            height: 20px;  
            display: inline-block;  
        }  
    }  
    
    
/*        @media only screen and (max-width : 320px) {  
        nav li {  
            display: block;  
            float: none;  
            width: 100%;  
        }  
        nav li a {  
            border-bottom: 1px solid #576979;  
        }  
    }  */