.ag-image-container-wrapper {
    height: auto;
}

.ag-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-image-responsive {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    min-height: 1px;
    min-width: 1px;
    }

.ag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0);
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-overlay:hover {
    color: #000000;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}