@charset "utf-8";
/* modal */
@media (min-width: 992px) {
    html.noscroll body { padding-right: 17px; }
}
.myModal { position: fixed; top: 0; left: 0; z-index: 9999; display: none; width: 100%; height: 100%; overflow: hidden; outline: 0; transition: all 0.5s ease-in-out; background: rgba(0,0,0,.7); }
.myModal-dialog { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: none; max-height: calc(100% - 1.5rem); margin: 1.75rem auto; }
.myModal-dialog:before { display: block; width: 100%; height: 0px; content: ""; }
.myModal-dialog:after { display: block; width: 100%; height: 0px; content: ""; }
.myModal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; border: 1px solid rgba(0,0,0,.2); border-radius: .3rem; outline: 0; overflow: hidden; max-height: calc(100vh - 3.5rem); top: -100px; transition: all 0.5s ease-in-out; }
.myModal-content.open { top: 0; opacity:1; visibility: visible; transition: all 0.5s ease-in-out; }
.myModal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1rem 1rem; border-bottom: 1px solid #dee2e6; border-top-left-radius: .3rem; border-top-right-radius: .3rem; flex-shrink: 0; }
.myModal-header .header-title { align-self: center; }
.myModal-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1rem; overflow-y: auto; }
.myModal-body::-webkit-scrollbar{ width: 3px; background: var(--bgbase); box-sizing: border-box; border-radius: 3px;}
.myModal-content .myModal-body::-webkit-scrollbar-thumb{ width: 3px; box-sizing: border-box; border-radius: 3px; background: var(--bgbase); }
.myModal-content .myModal-body::-webkit-scrollbar-track{}
.myModal-footer { display: flex; align-items: center; justify-content: flex-end; padding: 1rem; border-top: 1px solid #dee2e6; border-bottom-right-radius: .3rem; border-bottom-left-radius: .3rem; flex-shrink: 0; }
.myModal .myModal-header button.closex,
.myModal .myModal-footer button.closex{ position: relative; width: 50px; height: 50px !important; padding: 0 !important; border-radius: 0; border: 0; background: transparent; outline: none; box-shadow: none; }
.myModal .myModal-header button.closex:before,
.myModal .myModal-header button.closex:after,
.myModal .myModal-footer button.closex:before, 
.myModal .myModal-footer button.closex:after{ content: ""; margin: auto; display: block; width: 50%; height: 1px; background: #000; }
.myModal .myModal-header button.closex:before,
.myModal .myModal-footer button.closex:before{ transform: rotate(-45deg); }
.myModal .myModal-header button.closex:after,
.myModal .myModal-footer button.closex:after{ transform: rotate(45deg); }
.myModal .body-closex { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px !important; padding: 0 !important; border-radius: 0; border: 0; background: transparent; outline: none; box-shadow: none; }
.myModal .body-closex:before,
.myModal .body-closex:after { content: ""; margin: auto; display: block; width: 50%; height: 1px; background: #000; }
.myModal .body-closex:before{ transform: rotate(-45deg); }
.myModal .body-closex:after{ transform: rotate(45deg); }
@media (max-width: 992px) {
    .myModal .myModal-dialog { height: 100vh; max-height: 100vh; margin: 0 auto; }
    .myModal .myModal-content { height: 100vh; max-height: 100vh; border-radius: 0; }
    .myModal .myModal-header,.myModal .myModal-footer { border-radius: 0; }
}

.modal-login .myModal-dialog { max-width: 460px; height: 100vh; max-height: 100vh; justify-content: space-between; }
.modal-login .myModal-header { display: none; }

/* 전화상담 */
.modal-callcenter .myModal-dialog { max-width: 630px; }
.modal-callcenter .myModal-header { display: none; }
@media (max-width: 768px) {
    .modal-callcenter .myModal-dialog { height: 100vh; }
    .modal-callcenter .myModal-dialog:before,
    .modal-callcenter .myModal-dialog:after { height: 0; }
    .modal-callcenter .myModal-content { height: 100vh; max-height: 100vh; }
    .modal-callcenter .myModal-body { padding: 0; }
}
.pop-layer-inner { position: relative; }
.pop-layer-inner .pop-title { display: flex; padding: 0 0 15px 0; border-bottom: solid 2px #000; }
.pop-layer-inner .pop-title > span { display: inline-block;  color: #000; font-size: 22px; align-self: center; }
.pop-layer-inner .pop-title > .closex { margin-left: auto; width: 40px; height: 40px; text-indent: -999em; white-space: nowrap; background: url(/images/ico-close.png) no-repeat center center; overflow: hidden; }
.pop-layer-inner .pop-guide { margin: 10px 0 20px 0; }
.pop-layer-inner .pop-guide > li { font-weight: 600; letter-spacing: -0.5px; }
.pop-layer-inner .pop-guide > li.time { color: #dc3545; }
.pop-layer-inner .pop-guide > li.time > span { display: inline-block; }
.pop-layer-inner .pop-guide > li.time > span:not(:first-child) { margin-left: 10px; }
.pop-layer-inner .detail-items { padding: 15px 25px 15px 25px; background-color: #f9fafc; }
.pop-layer-inner .detail-items h3 { font-size: 16px; font-weight: 500; color: #000; padding: 10px 0 10px; }
.pop-layer-inner .detail-items .layer-model { display: flex; width: 100%; padding: 15px; border: 1px solid var(--boxbrbase); background-color: #fff; border-radius: 8px; }
.pop-layer-inner .detail-items .layer-model .image { flex: 0 0 90px; max-width: 90px; }
.pop-layer-inner .detail-items .layer-model .image img { width: 100%; height: auto; }
.pop-layer-inner .detail-items .layer-model .info { flex: 1 1 auto; max-width: calc( 100% - 90px); align-self: center; padding-left: 25px; }
.pop-layer-inner .detail-items .layer-model .info > p { line-height: 21px; }
.pop-layer-inner .detail-items .layer-model .info > p > span + span { margin-left: 5px; }
.pop-layer-inner .dtable-form { border: 0; }
.pop-layer-inner .dtable-form > .dl { display: flex; border: 0; font-size: 15px; }
.pop-layer-inner .dtable-form > .dl > .dth { flex: 1 1 30%; max-width: 30%; padding: 5px 10px 5px 10px; align-self: center; white-space: nowrap; }
.pop-layer-inner .dtable-form > .dl > .dtd { flex: 1 1 70%; max-width: 70%; padding: 5px 10px 5px 10px; }
.pop-layer-inner .dtable-form > .dl > .dtd .input_text { width: 100%; }
.pop-layer-inner .dtable-form > .dl > .dtd select { padding: .375rem 1.25rem .375rem 1rem; width: 100%; border: 1px solid #eee; color: #575757; }
.pop-layer-inner .dtable-form > .dl > .dtd textarea { width: 100%; min-height: 100px; }
.pop-layer-inner .detail-input { padding: 10px 25px 10px 25px; }
.pop-layer-inner .radio_wrap { display: flex; }
.pop-layer-inner .radio_wrap .radio_box { flex: 1 1 33.333333%; max-width: 33.333333%; margin-right: 10px; }
.pop-layer-inner .radio_wrap .radio_box .radio_box:last-child { margin-right: 0; }
.pop-layer-inner .radio_wrap .radio_box input[type="radio"] { position: absolute; z-index: -1; opacity: 0; }
.pop-layer-inner .radio_wrap .radio_box label { position: relative; cursor: pointer; width: 100%; height: 42px; line-height: 42px; text-align: center; border: 2px solid var(--colorgray); border-radius: 0; background-color: #fff; color: var(--colorgray); }
.pop-layer-inner .radio_wrap input[type="radio"]:checked~ label { background-color: #fff; border-color: var(--fontaccent); color: var(--fontaccent); font-weight: 600; }
.pop-layer-inner .detail-agree { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 12px 15px 19px 15px; }
.pop-layer-inner .detail-agree .agree-item { }
.pop-layer-inner .detail-agree .agree-item + .agree-item { margin-top: 12px; }
.pop-layer-inner .detail-agree .agree-item-detail { padding-left: 17px; }
.pop-layer-inner .detail-agree .agree-content { display: none; }
.pop-layer-inner .detail-agree .agree-content.open { display: block; }
.pop-layer-inner .detail-agree .agree-content > .agree-content-inner { margin: 15px 0; padding: 8px 8px 12px 15px; border: 1px solid #ddd; max-height: 120px; overflow-y: auto; font-size: 12px !important; }
.pop-layer-inner .detail-agree .agree-check { position: relative; display: flex; font-size: 15px; }
.pop-layer-inner .detail-agree .agree-check > label { margin-left: 5px; align-self: center; }
.pop-layer-inner .detail-agree .agree-check > label > .agree_req { display: inline-block; margin-left: 3px; color: #dc3545; }
.pop-layer-inner .detail-agree .agree-check > .btn-agree-toggle { display: block; position: absolute; top: 0; right: 3px; padding: 2px; }
.pop-layer-inner .detail-agree .agree-check > .btn-agree-toggle > span { display: inline-block; width: 20px; height: 20px; overflow: hidden; background-image: url(/images/btn_toggle_down.png); }
.pop-layer-inner .detail-agree .agree-check > .btn-agree-toggle.up > span { transform: rotate(180deg); }
.pop-layer-inner .button_wrap { margin: 25px 0 15px 0; text-align: center; }
.pop-layer-inner .button_wrap .btn { font-size: 15px; font-weight: 600; }
.pop-layer-inner .button_wrap .btn-submit { background-color: #4a4c58; border: 1px solid #4a4c58; color: #fff; width: 50%; }
.pop-layer-inner .button_wrap .btn-submit:hover { background-color: #dc3545; border: 1px solid #dc3545; }
.pop-layer-inner .button_wrap .btn-round { border-radius: 25px; }
@media (max-width: 768px) {
    .pop-layer-inner .pop-title { display: flex; padding: 5px 0 10px 0; border-bottom: solid 2px #000; }
    .pop-layer-inner .pop-title > span { display: inline-block;  color: #000; font-size: 18px; align-self: center; padding-left: 10px; }
    .pop-layer-inner .pop-title > .closex { margin-left: auto; width: 30px; height: 30px; text-indent: -999em; white-space: nowrap; background: url(/images/ico-close.png) no-repeat center center; overflow: hidden; }
    .pop-layer-inner .pop-guide { margin: 10px 0 20px 0; padding: 0 10px; }
    .pop-layer-inner .pop-guide > li { font-weight: 600; letter-spacing: -0.5px; font-size: 13px; }
    .pop-layer-inner .pop-guide > li.time { color: #dc3545; }
    .pop-layer-inner .pop-guide > li.time > span { display: inline-block; }
    .pop-layer-inner .pop-guide > li.time > span:not(:first-child) { margin-left: 10px; }
    .pop-layer-inner .detail-items { padding: 10px 15px; }
    .pop-layer-inner .dtable-form > .dl { font-size: 13px; }
    .pop-layer-inner .dtable-form > .dl > .dth { flex: 1 1 30%; max-width: 30%; }
    .pop-layer-inner .dtable-form > .dl > .dtd { flex: 1 1 70%; max-width: 70%;}
    .pop-layer-inner .detail-input {  padding: 10px 15px }
    .pop-layer-inner .detail-input .dtable-form > .dl { flex-wrap: wrap; font-size: 15px; }
    .pop-layer-inner .detail-input .dtable-form > .dl.dlf > .dth { flex: 1 1 100%; max-width: 100%; }
    .pop-layer-inner .detail-input .dtable-form > .dl.dlf > .dtd { flex: 1 1 100%; max-width: 100%; }
}

.pop-layer-inner div.dl > div.dtd select { padding: .375rem 1.25rem .375rem 1rem; margin-right: 5px; min-width: 130px; border: 1px solid #eee; color: #575757; }
#modal-item-wrap { position: relative; background-color: #fafafa; padding: 15px 0 15px 25px; max-height: 160px; overflow-y: auto; }
#modal-item-wrap::-webkit-scrollbar{ width: 3px; background: var(--accent); box-sizing: border-box; border-radius: 8px;}
#modal-item-wrap::-webkit-scrollbar-thumb{ width: 3px; box-sizing: border-box; border-radius: 0; background: var(--accent); }
#modal-item-wrap::-webkit-scrollbar-track{}

.modal-item-list { position: relative; width: 98%; height: 70px; padding: 10px; border: 1px solid #eee; cursor: pointer; display: flex; background-color: #fff; margin-bottom: 8px; }
.modal-item-list.on { border: 2px solid #e9314b; }
.modal-item-list > .item-image { flex: 0 0 50px; max-width: 50px; }
.modal-item-list > .item-image img { width: 100%; height: auto; }
.modal-item-list > .item-conf { padding-left: 25px; align-self: center; }
.modal-item-list > .item-conf > p.name { font-size: 13px; font-weight: 500; color: #000; line-height: 1.2; }
.modal-item-list > .item-conf > p.price { display: flex; }
.modal-item-list > .item-conf > p.price > b { display: inline-block; color: #e9314b; font-size: 13px; }
.modal-item-list > .item-conf > p.price > span { display: inline-block; align-self: flex-end; font-size: 12px; margin-left: 5px; }

.myModal.view-content { }
.myModal.view-content .myModal-dialog { max-width: 760px; height: 100vh; border-radius: 0; }
.myModal.view-content .myModal-dialog .myModal-content { border: none; border-radius: 0; }
.myModal.view-content .myModal-dialog .myModal-content .myModal-header { border-radius: 0; padding: 0; }
.myModal.view-content .myModal-dialog .myModal-content .myModal-header .header-title { color: #fff; padding-left: 10px; letter-spacing: -1px; font-size: 1.25rem; }
.myModal.view-content .content-view-wrap { }
.myModal.view-content .content-view-wrap h2 { padding-bottom: 8px; border-bottom: 1px solid #ddd; margin-bottom: 12px; }
.myModal.view-content .content-view-wrap .content-view-head { display: flex; }
.myModal.view-content .content-view-wrap .content-view-head > div { margin-left: 12px; }
.myModal.view-content .content-view-wrap .content-view-head > div.score { margin-left: auto; align-self: center; }
.myModal.view-content .content-view-wrap .content-view-body { margin-top: 10px; border: 1px solid #ddd; padding: 25px; min-height: 460px; }
.myModal.view-content .content-view-wrap .content-view-body img { width: 100%; height: auto; }