﻿.blazored-modal-container {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.blazored-modal-wrapper {
    animation-name: popup;
    animation-duration: 0.30s;
    max-height: 99%;
    /*    max-width: 99%;*/
}


.blazored-modal-content {
    overflow-y: auto;
    max-height: 90vh;
    min-width: 748px; /* fix temporario, quando com scroll vertical a tela pisca para se reajustar ao tamanho devido aos 5px a mais do scroll*/
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.blazored-modal-overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(0,0,0,0.5);
}

.blazored-modal {
    display: flex;
    flex-direction: column;
    background-color: var(--brandmodal);
    border-radius: 4px;
    /*    border: 1px solid;*/
    /*    padding: 1.5rem;*/
    box-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2), 0px 24px 38px 3px rgba(0,0,0,0.14), 0px 9px 46px 8px rgba(0,0,0,0.12);
}

.blazored-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: var(--brandtwo);
    padding: 22px;
    /*    border-bottom: 1px solid rgba(0,0,0,0.3);*/
    /* border-top-left-radius: 4px;
    border-top-right-radius: 4px;*/
    color: #eee;
}

.blazored-modal-title {
    margin-bottom: 0;
}

.blazored-modal-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
}

    .blazored-modal-close span {
        color: #eee;
    }

.blazored-modal-wrapper {
    z-index: 3;
    /*    background-color: var(--brandmodal);*/

    position:relative;
}

.blazored-modal-center {
    align-items: center;
    justify-content: center;
}

.blazored-modal-topleft .blazored-modal-wrapper {
    position: absolute;
    top: 32px;
    left: 32px;
}

.blazored-modal-topright .blazored-modal-wrapper {
    position: absolute;
    top: 32px;
    right: 32px;
}

.blazored-modal-bottomleft .blazored-modal-wrapper {
    position: absolute;
    bottom: 32px;
    left: 32px;
}

.blazored-modal-bottomright .blazored-modal-wrapper {
    position: absolute;
    bottom: 32px;
    right: 32px;
}
