
/* body에 class .popup_open를 붙이면 활성화됨. */
.popup{ position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999999; display: none; }
body.popup_open .popup{ display: block; }
.popup .popup-wrap{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: auto;
    border-radius: 10px;
    background-color: #fff;
    border-radius: 10px;
    z-index: 2;
    max-width: 90%;
    box-shadow: 4px 6px 12px 0 rgba(0, 0, 0, 0.1);
}
.popup .popup-title{ width: 100%; padding: 15px 20px; background-color: #16BE44; border-radius: 10px 10px 0 0; color: #fff; font-size: 20px; letter-spacing: -0.05em; font-weight: 600; box-sizing: border-box; }
.popup .popup-content{
    width: 100%;
    height: auto;
    padding: 20px 40px;
    box-sizing: border-box;
    min-width: 150px;
}

.popup .popup-wrap .popup-content .text-box p{ font-size: 17px; letter-spacing: -0.05em; line-height: 30px; margin-bottom: 15px; font-weight: 400;  word-break: keep-all; text-align: center;}
.popup .popup-wrap .popup-content .text-box strong{ display: block; color: #16BE44; font-size: 5px; font-weight: 600; margin-bottom: 0; }
.popup .popup-wrap .popup-content .popup-btn ul{ display: flex; justify-content: center; }

.popup .popup-wrap .popup-content .popup-btn ul li {
    width: 100px;
    height: 40px;
    box-sizing: border-box;
    line-height: 40px;
}
.popup .popup-wrap .popup-content .popup-btn ul li + li {
    margin-left: 10px;
}

.popup .popup-wrap .popup-content .popup-btn ul li:last-child{margin-right: 0;}
/*버튼 역순 정렬*/
.popup .popup-wrap .popup-content .popup-btn ul.button-reverse li{margin-right: 0;order: 2}
.popup .popup-wrap .popup-content .popup-btn ul.button-reverse li:last-child{margin-right: 20px;order: 1}

.popup .popup-wrap .popup-content .popup-btn ul li a{
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
    font-size: 17px;
    letter-spacing: -0.05em;
    font-weight: 300;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: #16BE44;
    color: #fff;
}

/* 인풋박스 스타일 */s
.popup .popup-wrap .popup-content .input-box{width: 100%; height: auto; margin-bottom: 10px;}
.popup .popup-wrap .popup-content input{ width: 100%; height: 6rem; border: 1px solid #c8c8c8; border-radius: 5px; box-sizing: border-box; font-size: 2rem; color: #4d4d4d;padding-left: 1rem;}


/* *********** 뒷배경 검정색 딤 처리 박스 *********** */
body.popup_open .customDimmed{width: 100%; height: 100%; position: fixed; left: 0; top: 0; background: rgba(0,0,0,0.5); overflow: hidden; z-index: 1;}
/* body 태그에 연결할 클래스 */
body.popup_open{overflow: hidden}