.dropcontainer { position:relative; font-size: 16px; color: #777; } .trigger { font-family: 'Abel', sans-serif; color: #777; padding: 10px; font-size: 16px; text-decoration: none; width: 100%; background: #f3f4f6 url(../img/select-arrow-open.png) 98% center no-repeat; display: block; border: 1px solid #c9caca; border-radius: 5px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; } .trigger:hover { text-decoration: none; color: #777; background: #f5f5f5 url(../img/select-arrow-open.png) 98% center no-repeat; } .activetrigger { font-family: 'Abel', sans-serif; color: #777; padding: 10px; text-decoration: none; font-size: 16px; width: 100%; background: #f5f5f5 url(../img/select-arrow-close.png) 98% center no-repeat; display: block; border: 1px solid #ccc; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .activetrigger:hover { background: #f5f5f5 url(../img/select-arrow-close.png) 98% center no-repeat; color: #777; } .activetrigger:active { background: #f5f5f5 url(../img/select-arrow-close.png) 98% center no-repeat; color: #777; } .dropcontainer ul { font-size: 16px; border: 1px solid #ccc; border-top: none; background: #fff; list-style-type: none; padding: 10px; margin: 0; width: 100%; z-index: 100; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .dropcontainer ul li { font-family: 'Abel', sans-serif; padding: 5px; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; } .dropcontainer ul li:hover { background: #f5f5f5; outline: none; } .dropcontainer ul li:first-child { display: none; } .dropcontainer ul li:last-child { border-bottom: none; } .dropdownhidden { display: none; } .dropdownvisible { height: auto; }