/*
|--------------------------------------------------------------------------
| Monolog
|--------------------------------------------------------------------------
*/

.monolog {
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    color:#fff;
}

.monolog-main-container {
    display: table-cell;
    vertical-align: middle;
    padding: 16px;
    background: rgba(0, 0, 0, 0);
    z-index: 2001;
}

.monolog-sub-container {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: fit-content;
    min-width: 0;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    background: rgba(0, 0, 0, 0);
    z-index: 2002;
    text-align:center;
}

.vedinca-popup-media {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
}

.vedinca-popup-image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    object-fit: contain;
    border: 5px solid #67b943;
    box-sizing: border-box;
}

.monolog-close {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    width: 3.5rem;
    height: 3.5rem;
    text-decoration: none;
    top: 16px;
    right: 16px;
    text-align: center;
    cursor: pointer;
    z-index: 2003;
    border-radius: 50%;
    background: rgba(0, 54, 49, 0.82);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

@media (max-width: 767px) {
    .monolog-main-container {
        padding: 10px;
    }

    .monolog-sub-container,
    .vedinca-popup-media,
    .vedinca-popup-image {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .vedinca-popup-image {
        border-width: 3px;
    }

    .monolog-close {
        top: 12px;
        right: 12px;
        width: 2.75rem;
        height: 2.75rem;
        font-size: 2.35rem;
    }
}

.monolog-fade-in {
    animation: fade-in 300ms linear;
}

.monolog-fade-out {
    animation: fade-out 300ms linear;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/*
|--------------------------------------------------------------------------
| Loader CSS
|--------------------------------------------------------------------------
*/

.monolog-loader {
    margin: 0 auto;
    position: relative;
    border: 7px solid rgba(169, 169, 169, 0.2);
    border-left-color: #a9a9a9;
    transform: translateZ(0);
    animation: load .8s infinite linear;
    z-index: 101;
}

.monolog-loader,
.monolog-loader:after {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

@keyframes load {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
