.blazor-dialog-container {
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.blazor-dialog-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.blazor-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.blazor-dialog-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.blazor-dialog-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
}

    .blazor-dialog-close:hover {
        color: #000;
        text-decoration: none;
        opacity: .75;
    }


.blazor-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

    .blazor-dialog-footer > :not(:last-child) {
        margin-right: .25rem;
    }

    .blazor-dialog-footer > :not(:first-child) {
        margin-left: .25rem;
    }

@media (min-width: 576px) {
    .blazor-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
}

.blazor-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}

.blazor-dialog-content-wrapper {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.blazor-dialog-content {
    margin: 5px;
}

@media (min-width: 576px) {
    .blazor-dialog-content-wrapper {
        max-width: 500px;
        margin: 2.75rem auto;
    }
}

@media (min-width: 992px) {
    .blazor-dialog-content-wrapper-large {
        max-width: 800px;
    }
}

@media (min-width: 1416px) {
    .blazor-dialog-content-wrapper-xlarge {
        max-width: 1200px;
    }
}

@media (min-width: 576px) {
    .blazor-dialog-content-wrapper-small {
        max-width: 300px;
    }
}