/* bulma css modal */
.bu-delete, .bu-modal-close {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bu-delete, .bu-modal-close {
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: rgba(10, 10, 10, 0.2);
    border: none;
    border-radius: 290486px;
    cursor: pointer;
    pointer-events: auto;
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 0;
    height: 20px;
    max-height: 20px;
    max-width: 20px;
    min-height: 20px;
    min-width: 20px;
    outline: none;
    position: relative;
    vertical-align: top;
    width: 20px;
}

.bu-delete::before, .bu-modal-close::before, .bu-delete::after, .bu-modal-close::after {
    background-color: white;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform-origin: center center;
}

.bu-delete::before, .bu-modal-close::before {
    height: 2px;
    width: 50%;
}

.bu-delete::after, .bu-modal-close::after {
    height: 50%;
    width: 2px;
}

.bu-delete:hover, .bu-modal-close:hover, .bu-delete:focus, .bu-modal-close:focus {
    background-color: rgba(10, 10, 10, 0.3);
}

.bu-delete:active, .bu-modal-close:active {
    background-color: rgba(10, 10, 10, 0.4);
}

.bu-is-small.bu-delete, .bu-is-small.bu-modal-close {
    height: 16px;
    max-height: 16px;
    max-width: 16px;
    min-height: 16px;
    min-width: 16px;
    width: 16px;
}

.bu-is-medium.bu-delete, .bu-is-medium.bu-modal-close {
    height: 24px;
    max-height: 24px;
    max-width: 24px;
    min-height: 24px;
    min-width: 24px;
    width: 24px;
}

.bu-is-large.bu-delete, .bu-is-large.bu-modal-close {
    height: 32px;
    max-height: 32px;
    max-width: 32px;
    min-height: 32px;
    min-width: 32px;
    width: 32px;
}

.bu-image.bu-is-1by3 .bu-has-ratio, .bu-modal, .bu-modal-background, .bu-is-overlay, .bu-hero-video {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}


.bu-modal {
    align-items: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    z-index: 40;
}

.bu-modal.bu-is-active {
    display: flex;
}

.bu-modal-background {
    background-color: rgba(10, 10, 10, 0.86);
}

.bu-modal-content,
.bu-modal-card {
    margin: 0 20px;
    max-height: calc(100vh - 160px);
    overflow: auto;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 769px), print {
    .bu-modal-content,
    .bu-modal-card {
        margin: 0 auto;
        max-height: calc(100vh - 40px);
        width: 640px;
    }
}

.bu-modal-close {
    background: none;
    height: 40px;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 40px;
}

.bu-modal-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    -ms-overflow-y: visible;
}

.bu-modal-card-head,
.bu-modal-card-foot {
    align-items: center;
    background-color: whitesmoke;
    display: flex;
    flex-shrink: 0;
    justify-content: flex-start;
    padding: 20px;
    position: relative;
}

.bu-modal-card-head {
    border-bottom: 1px solid #dbdbdb;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.bu-modal-card-title {
    color: #363636;
    flex-grow: 1;
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.bu-modal-card-foot {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top: 1px solid #dbdbdb;
}

.bu-modal-card-foot .bu-button:not(:last-child) {
    margin-right: 0.5em;
}

.bu-modal-card-body {
    -webkit-overflow-scrolling: touch;
    background-color: white;
    flex-grow: 1;
    flex-shrink: 1;
    overflow: auto;
    padding: 20px;
}
