.jqpb-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
}

.jqpb-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #000000;
    max-width: 95%;
    border-radius: 3px;
    display: none;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.jqpb-header {
    padding: 0px 15px;
    line-height: 60px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    font-size: 20px;
    user-select: none;
}

.jqpb-content {
    padding: 15px;
    margin: 60px 0px;
    overflow: auto;
    box-sizing: border-box;
}

.jqpb-footer {
    padding: 0px 15px;
    line-height: 60px;
    text-align: right;
    user-select: none;

    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.jqpb-button {
    margin-left: 10px;
    background-color: #f2f2f2;
    color: #333333;
    border: 1px solid #e4e4e4;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.jqpb-button:hover {
    background-color: #e9e9e9;
}

.jqpb-close {
    position: absolute;
    top: 0px;
    right: 15px;
    color: #e4e4e4;
    cursor: pointer;
    font-size: 14px;
}

.jqpb-close:hover {
    color: #cccccc;
}

.jqpb-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.jqpb-media-desc {
    margin-top: 10px;
    text-align: center;
    color: #555555;
}

.jqpb-prompt-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #e4e4e4;
    padding: 7px;
    border-radius: 3px;
    outline: 0px;
}

.jqpb-gallery-nav {
    direction: ltr;
    text-align: center;
    color: #555555;
}

.jqpb-gallery-nav span {
    display: inline-block;
    vertical-align: middle;
}

.jqpb-gallery-btn {
    font-size: 20px;
    cursor: pointer;
}

.jqpb-gallery-btn-disabled {
    cursor: default;
    color: #babcbe;
}

.jqpb-gallery-counters {
    margin: 0px 20px;
}