.fullscreenmodal{
    display: none;
    position: fixed;
    top:0;
    z-index: 4000;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: hidden;
}

.full-screen-containers{
    height: auto;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    justify-content: center;
    align-items: center;
}

#fullscreenimage{
    width: 100%;
    height:auto;
    pointer-events: none;
    position: absolute;
}

#fullScreenImageSizer{
    width: 100%;
    height:auto;
    pointer-events: none;
    background: blue;
    transition: .5s ease-in-out;
}

#videomodal{
    padding: 20px;
}

#fullscreenvideo{
    display: none;
    height: 100%;
    pointer-events: none;
    object-fit: cover;
}

#fullScreenBlankContainer{
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    max-height: 80%;
    overflow: auto;
    background: white;
    border-radius: 10px;
    padding: 50px;
    position: relative;
    transition: all .5s ease-in-out;
    box-shadow: var(--box-shadow);
}

.loader{
    display:none;
    opacity: 1;
    width: 42.5%;
    min-width: 50px;
    max-width: 50px;
    aspect-ratio: 1/1;
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid white;
    border-right: 4px solid white;
    border-bottom: 4px solid white;
    pointer-events: none;
    animation: 2s load ease-in-out infinite;
    transform: rotate(0deg);
}

#fullScreenBlankContainer{
    --background-color: white;
    --background-color-inverse: black;
    --background-color-transparent: rgba(255,255,255,.19);
    --background-color-inverse-transparent: rgba(0,0,0,.19);
    --font-color: black;
    --font-color-inverse: white;
    --box-shadow-only-in-light-mode: 0 0 10px rgba(0, 0, 0, 0.08);
}

@keyframes load{
    100%{
        transform: rotate(360deg);
    }
}

.video-loading-state{
    animation: loading-state-animation 2s ease-in-out infinite;
}

.media-modal-exit-button{
    width: 25%;
    max-width: 35px;
    aspect-ratio: 1/1;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size:13px;
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    border-radius: 7px;
    pointer-events:all;
    -webkit-backdrop-filter: blur(1px) invert(.5);
    backdrop-filter: blur(1px) invert(.1);
    background:rgba(0,0,0,0.3);
}

.media-modal-exit-button-logo{
    background: blue;
    line-height: 0;
    margin: 0;
    padding: 0;
}

@media only screen and (min-width: 600px){
    #fullScreenBlankContainer{
        max-width: 600px;
    }
}

/* -------------------------------------------------------------------------------------------------------------------------------------- */

.modal{
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: 9999;
    transition: all .2s linear;
}

.modal-backdrop{
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(0,0,0,.8);
    transition: inherit;
}

.modal-container{
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    position: absolute;
    overflow: auto;
    transition: inherit;
}