[data-bdwp-modal-wrapper] {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

[data-bdwp-modal="bdwp-default-gallery"] {
    font-size: 2em;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-bdwp-modal="bdwp-default-gallery"] #bdwp-prev-btn,
[data-bdwp-modal="bdwp-default-gallery"] #bdwp-next-btn,
[data-bdwp-modal="bdwp-default-gallery"] [data-bdwp-selectors="modal-close"] {
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    min-width: 80px;
}

[data-bdwp-modal="bdwp-default-gallery"] #bdwp-prev-btn,
[data-bdwp-modal="bdwp-default-gallery"] #bdwp-next-btn {
    align-self: stretch;
    padding: 100px 0;
    position: relative;
}

[data-bdwp-modal="bdwp-default-gallery"] [data-bdwp-selectors="modal-close"] {
    position: absolute;
    top: 0;
    right: 0;
    height: 100px;
}

[data-bdwp-modal="bdwp-default-gallery"] #bdwp-gallery-content {
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

[data-bdwp-modal="bdwp-default-gallery"] #bdwp-gallery-content img {
    height: auto;
    max-width: 100%;
    max-height: 100%;
}