/* Modal for a.jcepopup links, see js/jcepopup.js */
.jcepopup-lock,
.jcepopup-lock body {
    overflow: hidden;
}
.jcepopup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, .75);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.jcepopup-overlay.is-open {
    display: flex;
}
.jcepopup-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    max-height: 92vh;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    overflow: hidden;
}
.jcepopup-image .jcepopup-box {
    width: auto;
    height: auto;
    max-width: 92vw;
}
.jcepopup-head {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 10px 8px 15px;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
}
.jcepopup-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
}
.jcepopup-newtab {
    white-space: nowrap;
    font-size: 13px;
}
.jcepopup-close {
    border: 0;
    background: none;
    font-size: 30px;
    line-height: 1;
    padding: 0 5px;
    cursor: pointer;
    color: #333;
}
.jcepopup-close:hover,
.jcepopup-close:focus {
    color: #000;
}
.jcepopup-body {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jcepopup-body iframe,
.jcepopup-body object {
    width: 100%;
    height: 100%;
    border: 0;
}
.jcepopup-fallback {
    padding: 30px;
    text-align: center;
}
.jcepopup-body img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 50px);
}
