﻿
.blazored-modal {
    padding: 0px !important;
    font-family: Figtree, sans-serif !important;
}

.size-small {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.size-medium {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.size-medium-pluss {
    width: 550px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.size-large {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.size-extra-large {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.size-automatic {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.bm-header {
    padding: 20px 20px 25px 20px !important;
    align-items: center !important;
    background-color: white;
    display: flex;
    justify-content: space-between;
}

.bm-title {
    font-size: 14px !important;
    font-weight: 500;
    color: #323232;
}

.bm-close {
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
    font-weight: 400 !important;
    height: 21px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    span {
        margin-bottom: 2px !important;
        line-height: 21px !important;
        font-size: 32px !important;
    }
}

.position-topleft .blazored-modal {
    margin-left: 1.75rem;
}

.position-topright .blazored-modal {
    margin-right: 1.75rem;
}

.position-bottomleft .blazored-modal {
    position: absolute;
    bottom: 0;
    left: 1.75rem;
}

.position-bottomright .blazored-modal {
    position: absolute;
    bottom: 0;
    right: 1.75rem;
}

.position-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fade-in {
    animation: 300ms ease-out 0s ModalFadeIn;
}

.fade-out {
    animation: 300ms ease-out 0s ModalFadeOut;
    opacity: 0;
}


@keyframes ModalFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ModalFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
