#overlay-fade {
    position: absolute;  /* makes the div go into a position that’s absolute to the browser viewing area */
    left: 0%; /* makes the div span all the way across the viewing area */
    top: 0%; /* makes the div span all the way across the viewing area */
    background-color: #000;
    -moz-opacity: 0.8; /* makes the div transparent, so you have a cool overlay effect */
    opacity: .80;
    filter: alpha(opacity=80);
    width: 100%;
    height: 100%;
    z-index: 90; /* makes the div the second most top layer, so it’ll lay on top of everything else EXCEPT for divs with a higher z-index (meaning the #overlay ruleset) */
    display: none;
}

#overlay {
    position: absolute; /* makes the div go into a position that’s absolute to the browser viewing area */
    left: 2.5%; /* positions the div half way horizontally */
    top: 5%; /* positions the div half way vertically */
    background-color: #FFF;
    width: 90%;
    height: 80%;
    z-index: 100; /* makes the div the top layer, so it’ll lay on top of the other content */
    -webkit-border-radius: .35em;
    border-radius: .35em;
    padding: 10px;
    display: none;
    font-size: .8em;
}

#close {
    float:right;
    width: 16px;
    height: 16px;
}

#overlay .titlebar {
    padding: .25em;
    text-align: center;
    display: block;
    cursor: move;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    clear: both;
}

#overlay .overlay-content {
    background-color: #FFF;
    overflow: auto;
    max-height: 70%;
}
#overlay .buttonbar {
    background-color: #fff;
    text-align: center;
    margin-top: 10px;
}

#overlay .buttonbar BUTTON {
    margin:0
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;  
    background-color: #ffffff; 
}
