xmp,pre{
    max-width: 100%;
    white-space: pre-wrap;
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

textarea{
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}
/* 메인 팝업 (popup.jsp). 헤더 아래, 퍼블리싱 본문 폭(--layoutwidth) 왼쪽에 맞춘다. */
.popup-wrap {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 95;
}
.popup-inner{
    position: relative;
    width: var(--layoutwidth, 1400px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
}
.layered-popup {
    display:none;
    position: absolute;
    top: 40px;
    width: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 25, 60, .22);
}
.layered-popup > a{
    display: block;
}
.layered-popup img {
    display: block;
    width: 100%;
}
.layered-popup .button_area{
    display: flex;
    border-top: 1px solid #e5e7ec;
}
.layered-popup .button_area .button{
    flex: 1;
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    color: #555;
    background: #fff;
    cursor: pointer;
}
.layered-popup .button_area .button + .button{
    border-left: 1px solid #e5e7ec;
    color: #313362;
    font-weight: 600;
}
.layered-popup .button_area .button:hover{
    background: #f6f8fc;
}
.text-tiny{
    font-size: 0.7em !important;
}
.text-small{
    font-size: 0.85em !important;
}
.text-big{
    font-size: 1.4em !important;
}
.text-huge{
    font-size: 1.8em !important;
}
@media only screen and (max-width: 1024px){
    .popup-inner{
        max-width: calc(100% - 32px);
    }
    /* 좁은 화면에서는 가운데에 하나씩 겹쳐 띄운다 */
    .layered-popup{
        left: 0 !important;
        right: 0;
        top: 24px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 480px){
    .layered-popup .button_area .button{
        padding: 12px 8px;
        font-size: 14px;
    }
}
