.ShadowboxContainer {
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 999999999;
}

.shadowbox {
    position: absolute;
    background: #111;
    color: #eee;
    padding: 6px;
    border-radius: 6px;
    /**/
    box-shadow: 1px 1px 3px #000;
    cursor: default;
    
    /*min-width: 50%;*/
    /*min-height: 50%;*/
    max-width: 640px;
    max-height: 480px;
    width: 100%;
    height: 100%;
}

.shadowimage img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    overflow: hidden;
}

.shadowboxTitle {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.closeButton {
    float: right;
    margin-top: -30px;
    margin-right: -30px;
    cursor: pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 30px;
    background: #605F61;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
}

    .closeButton:hover {
        background: #f00;
    }

    .closeButton:before {
        content: "×";
    }
