﻿.npu-popUpButton {
    cursor: pointer;
}

.npu-container {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    z-index: 9999;
}

.npu-window {
    position: relative;
    width: auto;
    height: auto;
    max-width: 80%;
}

.npu-type-image .npu-window {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
}

.npu-type-iframe .npu-window {
    width: 80vw;
    height: 45vw;
}

.npu-content-conteiner {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    cursor:pointer;
}

.npu-button-close::after {
    content: "X";
    position: absolute;
    right: 5px;
    top: 2px;
    font-weight: 500;
    color: white;
    font-size: 15px;
    z-index: 9999;
    cursor: pointer;
}
.npu-button-close {
    position: absolute;
    top: -25px;
    right: -25px;
    float: right;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.npu-button-next,
.npu-button-previous {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: #000;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.npu-button-next {
    right: -50px;
}

.npu-button-previous {
    left: -50px;
}

.npu-content,
.npu-content-conteiner > * {
    box-shadow: 1px 1px 10px rgba(0,0,0,.3);
}

img.npu-content {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
}

iframe.npu-content {
    height: 100%;
    border: 0px;
}
