#rbi-modal {
    margin: 5px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    z-index: 9999;
    display: none;
    place-items: center;
    overflow: auto;
}

#rbi-modal iframe {
    min-height: 780px;
    min-width: 360px;
}

/* desktop */
@media screen and (min-width: 640px) {
    #rbi-modal iframe {
        min-height: 680px;
        min-width: 640px;
    }
}

.rbi-modal-backdrop.in {
    opacity: .5;
    filter: alpha(opacity=50);
}

.rbi-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}
