.photoviewer {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: black;
    left: 0;
    top: 0;
    opacity: 1;
    flex-direction: column;
    justify-content: space-between;
}

.photoviewer-header {
    display: flex;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 100;
}

.photoviewer-header * {
    color: white;
}

.close-photo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 30px;
}

.photoviewer-body {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

.photoviewer-body img {
    max-height: 80%;
    width: auto;
    max-width: 100%;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: zoom-in;
    object-fit: contain;
    transition: 0.3s ease-out;
}

.pv-arrows {
    display: flex;
    align-items: center;
}

.pv-arrow-left {
    left: 0;
}

.pv-arrow-right {
    right: 0;
}

.pv-arrows * {
    position: absolute;
    display: flex;
    width: 40px;
    height: 65px;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 35px;
    transition: 0.3s ease-out;
}

.photoviewer-footer {
    height: 50px;
    display: flex;
    justify-content: flex-start;
    position: relative;
    left: 0;
    bottom: 0;
    max-width: 100%;
    padding: 0 15px;
    margin: auto;
    margin-bottom: 5px;
    z-index: 1;
    transition: 0.3s ease-out;
    overflow-x: auto;
}

.pv-footer-photo {
    height: 50px;
    margin: 0 2px;
    cursor: pointer;
}

.pv-footer-photo img {
    height: 50px;
    width: auto;
    opacity: .5;
}