 
nav ul li:hover {                                                            
    background: #4b545f;                                                     
}                                                                            
nav ul li:hover > a {                                                      
    color: #fff;                                                         
}                                                                        
nav ul li a {                                                                
    text-decoration: none;                                   
    color: #95a5a6;
}
                                                                           
nav ul ul {                                                                      
    background: #5f6975; 
}
                                                                       
nav ul ul li a:hover {                                               
    background: #4b545f;                                             
    color: #fff;                                                         
}                                                                    
@media screen and (min-width: 950px) {

    nav ul ul ul {                                                                   
        position: absolute; left: 100%; top:0;                                       
    }           
    nav ul ul {                                                                          
        display: none;                                                                   
    }                                                                                    
                                                                                         
    nav ul li:hover > ul {                                                           
        display: block;                                                              
    }                                                                                
    nav ul {                                                                             
        list-style: none;                                                                
        position: relative;                                                              
        display: inline-table;                                                           
    }  
    nav ul:after {                                                                   
        content: ""; clear: both; display: block;                                    
    }                                                                                
    nav ul li {                                                                      
        float: left;                                                                 
        background-color: #34495e;
        padding: 5px;
        margin-left: 9px;
        position: relative;
    } 
    nav .floatright {
        float: right;
    }
    nav .floatright > ul {
        right: 0;
    }
    nav {                                                                                
        clear: both;
        padding-top: 6px;
        padding-left: 6px;
        padding-right: 20px;
    } 
  
    nav > ul {   
        width: 100%;
    }                                                                                    
 
    nav ul ul {                                                                      
        z-index: 10;
    	margin-left: -5px; 
        position: absolute; top: 100%;                                               
    }                                                                                
    nav ul ul li {                                                               
        float: none;                                                             
        position: relative;                    
        margin: 0px;
    }                                                                            
    nav ul ul li a {                                                         
        padding: 5px 10px;                                                  
    } 
    nav ul li a {                                                                
        display: block; 
        white-space: nowrap;
    } 

}
