ul.autojs {
    background: #fff;
    border: 1px solid #ccc;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 700px;
    position: absolute;
    z-index: 999;
    /*max-height: 300px;*/
    max-height: 25.9em;
    height: auto;
    overflow: hidden;
    overflow-y: scroll;
}

ul.autojs li {
    list-style: none;
    border-bottom: 1px solid #eee;
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
}

/* Change the link color on hover */
ul.autojs li:hover {
    background-color: #337ab7;
    color: white;
}

ul.autojs li.active {
    background-color: #337ab7;
    color: white;
}