﻿.mh-720{
    height: 720px;
}

.adx-document-viewer-iframeviewer{
    width: 864px;
    max-width: 100%;
}

.Image {
    max-width: 100%;
    max-height: 100%;
    /*    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;*/
}

    .Image img {
        max-width: 100%;
        max-height: 800px;

        object-fit: contain;
        object-position: center;


/*        max-width: 100%;
        min-width: 80%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        flex: 80%;
        width: 80%;*/
    }

#adx-document-viewer-popup-content {
    max-width: 100%;
}

.adx-document-viewer-popup {

}

.adx-document-viewer-popup-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.adx-document-viewer-popup-footer {
    
}

.adx-document-viewer-popup-header {
    
}

@media(min-width: 576px) {
    .adx-document-viewer-popup {
        min-width: 500px !important;
    }
}

.adx-document-loader {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
    margin: 0 auto;
}

    .adx-document-loader::before, .adx-document-loader::after {
        content: "";
        box-sizing: border-box;
        position: absolute;
        inset: 0px;
        border-radius: 50%;
        border: 5px solid #FFF;
        animation: prixClipFix 2s linear infinite;
    }

    .adx-document-loader::after {
        inset: 8px;
        transform: rotate3d(90, 90, 0, 180deg );
        border-color: var(--main-accent);
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)
    }

    25% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)
    }

    50% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)
    }

    75% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)
    }

    100% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)
    }
}
