/* 공통팝업 */
.popup-wrapper{
    z-index: 5000;
}

.popup-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    z-index: 5000;
}


.cont{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    position: absolute;
    width:1000px; 
    height: calc(850px + 80px);
    box-sizing: border-box;      
    background-color:white;      
}

.cont .tlogo{
    width: 1000px;
    height: 80px;
    background: var(--bg-popupwrap) center center no-repeat;
    background-size: cover;
}

#nonpay .cont .tlogo{
    background: var(--bg-npay-popupwrap) center center no-repeat;
    background-size: cover;
}

.cont .text {
    box-sizing: border-box;
}

.cont h1{
    text-align: center;
    margin: 10px 0;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.065em;
    color: #333333;
}

.cont .txt{
    overflow-y:auto;
    width: 1000px;
    height: 850px;
    line-height: 28px;
    padding: 30px 20px 30px 30px;
    border-bottom: 1px solid rgb(222, 222, 222);
    box-sizing: border-box;    
    background-color: #fbfbfb;
    white-space: pre-line;
    word-break: keep-all;
    font-size: 14px;
    letter-spacing: -0.045em;
    color: #666666;
}

/* 스크롤바 수정 ::s */
/* 크롬, 사파리(웹킷 엔진) */
.cont .txt::-webkit-scrollbar {
    width: 6px;
    height: auto;
}

.cont .txt::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: rgb(204, 204, 204);
}

.cont .txt::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #ede8e2;

}

/* 파이어폭스 */
.cont .txt {
    scrollbar-width: thin;
    scrollbar-color: rgb(204, 204, 204) #ede8e2;
}
/* 스크롤바 수정 ::e */

.cont .txt .title{
    font-weight: 700;
    font-size: 15px;
    color: #000000;
}

.cont .close{
    width: 135px;
    height: 55px;
    line-height: 55px;
    margin: 30px auto 0 ;
    text-align: center;
    border: 1px solid rgb(48, 48, 48);
    background-color: rgb(255, 255, 255);
    font-size: 18px;
    letter-spacing: -0.03em;
}

#right .cont .close{
    margin: -35px auto 0;
}

.cont .close a{display: block;}

.cont .close:hover{
    background-color: rgb(68, 68, 68);
}

.cont .close:hover a{
    color: var(--second-font-color);
}

.popup-wrap .closebtn{
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
} 

/* #perinfo _ 클릭하면 자바스크립트로 창이 열리게해주세요 */
#perinfo {
    display: none;
}

/* #right 환자권리장전 */
#right {
    /* display: block; */
    display: none;
}

/* #nonpay 비급여수가 */
#nonpay {
    /* display: block; */
    display: none;
}

#perinfo .cont .close {
    margin: 1.5vw auto 0;
}

#nonpay .cont h1{
    margin: 0;
}

#nonpay .cont .txt{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    background-color: white;
    padding: 0;
} 

#nonpay .txt table{
    width: 1250px;
    box-sizing: border-box;
    border-collapse: collapse;
}

#nonpay .txt table tr td{
    padding: 8px 3px;
    border: 1px solid #ddd;
    text-align: center;
    letter-spacing: -0.045em;
    font-size: 15px;
    color: #000000;
}

#nonpay .txt table tbody td.bg1{
    height: 54px;
    line-height: 54px;
    font-weight: 500;
    letter-spacing: -0.045em;
    background-color: #ededed;
    font-size: 16px;
    color: #000000;
}

#nonpay .txt .t_r_16{
    font-size: 16px;
    font-weight: 500;
}

#nonpay .txt .sb{font-weight: 600;}

#nonpay .txt table tr td:nth-child(1){
    border-left: 1px solid transparent;
}

#nonpay .txt table tr td:last-child{
    border-right: 1px solid transparent;
}

#nonpay .cont .close {
    margin: 30px auto 0;
}