#gallery-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.title {
    width: 100%;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 24px;
}

#panorama-container {
    position: fixed;
    display: flex;
    width: calc(100vw - 17px);
    max-width: 200vw;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    transform: scale(0, 0);
    opacity: 0;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

#panorama-container.open {
    opacity: 1;
    transform: scale(1, 1);
}

.photo {
    flex-grow: 1;
    width: 360px;
    height: 240px;
    background-size: cover;
    margin: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
    overflow: hidden;
}

.photo:hover {
    border-color: #000;
}

#bppiv-progress-bar {
    position: fixed;
    top: 0;
    width: 0;
    height: 5px;
    background-color: #fff;
    transition: opacity 0.5s ease;
}

.close {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 0;
    margin: 20px;
    cursor: pointer;
}

.close>i {
    color: #fff;
    font-size: 44px;
}

#bppiv-main-container {
    width: 100%;
    height: 80%;
    align-self: center;
    background-color: #000;
}

/* LoadMore Button */
.pan_loadMore {
    width: 200px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    background: #000;
    margin: 30px auto;
    padding: 7px 15px;
    color: #fff;
    font-size: 14px;
    text-transform: capitalize;
    border-radius: 3px;
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

/* Item Badge */
.item-badge {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 5px;
    transform: rotate(-44deg);
    width: 137px;
    height: 43px;
    display: flex;
    justify-content: center;
    position: relative;
    left: -53px;
    top: -9px;
    position: relative;
    align-items: last baseline;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: normal;
}