#gsd {

 width:25px;
}

#gsd ul {
 padding:0;
 margin:0;
 list-style: none;
 position: relative;
}

#gsd ul a {
 background-color: #0070c0;

}

#gsd ul li {
 display: inline-block;
 background-color: #0050a0;
}

#gsd a {
 display:block;
 padding: 0 10px;
 color: white;
 font-size: 17px;
 line-height: 35px;
 text-decoration: none;
 border-top: 2px solid gray;
 border-bottom: 2px solid lightgray;
 cursor: pointer;
}

#gsd a:hover {
 background-color: #ccccaa;
 color: black;
 border-top: 2px solid green;
 border-bottom: 2px solid green;
}

#gsd ul ul {
 display: none;
 position:absolute;
 left:-190px;
 top:100%;
 width:230px;
 text-align: center;
}

#gsd ul li:hover > ul {
 display:inherit;
}

#gsd ul ul li {
 min-width: 170px;
 float: none;
 display: list-item;
 position: relative;
}