.search-type:hover,
.search-type.active {
background-color: #fff;
color: #128bed;
padding: 5px 8px;
}
.search-type:hover::before,
.search-type.active:before {
content: " ";
width: 0;
height: 0;
border-width: 6px 6px 0px;
border-style: solid;
position: absolute;
bottom: -7px;
border-color: #fff transparent transparent;
left: 50%;
margin-left: -6px;
}