.mgSelect {
    position: relative;
}

.mgReadOnly {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.mgSelect .mgSList {
    display: none;
    opacity: 0;
    position: absolute;
    margin-top: 2px;
    background-color: #fff;
    border: 1px solid #999;
    min-width: 100%;
    box-sizing: border-box;

    max-height: 300px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    overflow-x: hidden;
    overflow-y: auto;
}

.mgSelect .mgSList a {
    color: #000;
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
}

.mgSelect .mgSList a:hover,
.mgSelect .mgSList a.current {
    color: #FFF;
    background-color: #008ADB;
}