.overlay-container {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0ms 150ms;
    z-index: 1000;
}

.overlay-container.initialized {
    display: block;
}

.overlay-container.show {
    max-height: 100%;
    transition-delay: 0ms;
}

.overlay-container .overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #FFFFFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 150ms;
}

.overlay-container.show .overlay {
    transform: translateX(0%);
}

.overlay header {
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 45px;
    padding: 13px 10px;
    background: #127478;
    color: #FFFFFF;
    font-family: Arial;
    font-size: 16px;
    line-height: 18px;
    z-index: 1010;
}

.overlay header .close {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    font-size: 0px;
    background: url(img/icons/close.svg) no-repeat center / 100% auto;
    cursor: pointer;
}

.overlay .overlay-content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-top: 45px;
    z-index: 1000;
}