#searchInput {
    width:500px;
    border:solid 1px #dedede;
    padding:3px;
    border-top-right-radius:6px;
    border-top-left-radius:6px;
    -moz-border-top-right-radius:6px;
    -moz-border-top-left-radius:6px;
    box-shadow:0px 0px 5px #999;
    border-width:1px 1px 0px;
    border-style:solid;
    border-color:#efefef #DEDEDE #DEDEDE;
    background-color:white;
}

#SearchResult {
    z-index: 100000;
    position: absolute;
    width: 400px;
    display: none;
    margin-top: 38px;
    overflow: hidden;
    max-height: 410px;
}

#SearchResult ul {
    margin: 0;
    padding: 0;
    width: 100%;
    max-height: 358px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    float: left;
}

#SearchResult ul li {
    padding: 5px;
    border-top: solid 1px #dedede;
    height: 58px;
    color: black;
    font-size: 16px;
    float: left;
    overflow: hidden;
    width: calc(100% - 10px);
}

#SearchResult ul li:hover {
    cursor: pointer;
}

#SearchResult ul li.selected {
    background:#1BA1E2;
    color:#FFFFFF;
    cursor:pointer;
}

#SearchResult div#search-footer {
    width: 100%;
    min-height: 16px;
    text-align:center;
    padding:5px 0 10px 0;
    background-color:#e2e2e2;
    color:black;
    font-size:14px;
    float:left; 
}

#SearchResult ul li img.item_image {
    width:40px;
    height:58px;
    float:left;
    margin-right:5px;
}

#SearchResult ul li .item_panel_right {
    float: left;
    width: calc(100% - 45px);
}

#SearchResult ul li .item_name {
    float: left;
    font-weight: bold;
    font-size: 15px;
    line-height: 24px;
    color: #383838;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}

#SearchResult ul li .item_author {
    float: left;
    font-style: italic;
    font-size: 13px;
    line-height: 17px;
    color: #383838;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}

#SearchResult ul li .item_chapter {
    float: left;
    font-size: 14px;
    line-height: 17px;
    color: #383838;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}

@media(max-width:990px){
    #SearchResult{ overflow-y: auto; max-height: calc(100% - 150px); height: 410px; }
}
@media(max-width:800px){
    #SearchResult{ width: calc(100% - 20px); }
}