
/* ==================================================
                    Utility
================================================== */

/***** Text *****/
@font-face {
    font-family: 'Isamanru';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

.isamanru {
    font-family: 'Isamanru', sans-serif;
}

.t-rw {
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}

.rw-1 {
    -webkit-line-clamp: 1;
}

.rw-2 {
    -webkit-line-clamp: 2;
}

.rw-3 {
    -webkit-line-clamp: 3;
}
.rw-5 {
    -webkit-line-clamp: 5;
}
.txt-zero {
    font-size: 0;
    text-indent: -9999px;
}


/***** Overflow Scrollbar *****/

.scroll-out {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-out::-webkit-scrollbar {
    display: none;
}


/***** img *****/

.padding-box {
    position: relative;
    height: 0;
    overflow: hidden;
    /* padding-bottom: 원하는 만큼 */
}

.padding-box > img,
.padding-box > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/***** input / textarea *****/

input[type='text'],
input[type='password'],
input[type='tel'],
input[type='email'],
input[type='number'],
input[type='url'] {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.3rem;
    font-weight: 400;
}
input[type='text'].border-ddd,
input[type='password'].border-ddd,
input[type='tel'].border-ddd,
input[type='email'].border-ddd,
input[type='number'].border-ddd,
input[type='url'].border-ddd {
    border-color: #dddddd;

}
input[type='text'].xl,
input[type='password'].xl,
input[type='tel'].xl,
input[type='email'].xl,
input[type='number'].xl,
input[type='url'].xl {
    height: 50px;
    line-height: 50px;
}
input[type='text'].sm,
input[type='password'].sm,
input[type='tel'].sm,
input[type='email'].sm,
input[type='number'].sm,
input[type='url'].sm  {
    height: 36px;
    line-height: 34px;
}

input[type='text'].big,
input[type='password'].big,
input[type='tel'].big,
input[type='email'].big,
input[type='number'].big,
input[type='url'].big,
textarea.big,
input[type='text'].big::placeholder,
input[type='password'].big::placeholder,
input[type='tel'].big::placeholder,
input[type='email'].big::placeholder,
input[type='number'].big::placeholder,
input[type='url'].big::placeholder,
textarea.big::placeholder {
    font-size: 1.4rem;
}

input[type='text']::placeholder,
input[type='password']::placeholder,
input[type='tel']::placeholder,
input[type='email']::placeholder,
input[type='number']::placeholder,
input[type='url']::placeholder,
textarea::placeholder {
    color: #999999;
    font-size: 1.3rem;
    font-weight: 400;
}

input[type='text'].datepicker {
    background-image: url('../image/calendar.svg');
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

input[type='text']:focus, input[type='password']:focus, input[type='tel']:focus, input[type='email']:focus, input[type='number']:focus, input[type='url']:focus, textarea:focus {
    outline: none !important;
    box-shadow: unset !important;
}

textarea {
    width: 100%;
    border: 1px solid #eeeeee;
    padding: 15px;
    resize: none;
    line-height: 1.4;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1.3rem;
    font-weight: 400;
}

input[readonly],
input[readonly="readonly"],
input:read-only {
    background-color: #f5f5f5;
}

input[readonly]::placeholder,
input[readonly="readonly"]::placeholder,
input:read-only::placeholder {
    color:#99999980 !important;
}

/***** radio_box *****/

.radio-box {
    position: relative;
}

.radio-box > input[type="radio"] {
    width: 1px;
    height: 1px;
    margin: -1px;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.radio-box > input[type="radio"] ~ label {
    padding-left: 26px;
    position: relative;
    font-size: 1.4rem;
    font-weight: 400;
    color: #1a1a1a;
    cursor: pointer;
}

.radio-box > input[type="radio"]:checked ~ label {
    color: #1a1a1a;
}

.radio-box > input[type="radio"] ~ label:before {
    display: block;
    content: '';
    clear: both;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid #eeeeee;
    padding: 4px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -10px;
    left: 0;
    z-index: 0;
}

.radio-box > input[type="radio"]:checked ~ label:after {
    display: block;
    content: '';
    clear: both;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #1a1a1a;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    left: 5px;
    z-index: 5;
}

/***** check_box *****/
.check-box {
    height: 20px;
    position: relative;
}

.check-box > input[type="checkbox"] {
    width: 1px;
    height: 1px;
    margin: -1px;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.check-box > input[type="checkbox"] ~ label {
    padding-left: 26px;
    position: relative;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
}

.check-box > input[type="checkbox"] ~ label:before {
    display: block;
    content: '';
    clear: both;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #eeeeee;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    margin-top: -10px;
    left: 0;
    z-index: 0;
    box-sizing: border-box;
}

.check-box > input[type="checkbox"]:checked ~ label:before {
    background-image: url('/m/img/renew/ico_check_wht.svg');
    background-color: #F5121A;
    border-color: #F5121A;
}

.check-box.sm:hover > input[type=checkbox]:not(:checked) ~ label:before {
    border-color: #eeeeee;
}


/***** fileB_box *****/

.file-wrap {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    display: flex;
    gap: 5px;
}

.file-wrap .file-box {
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.file-wrap .file-box input[type="file"] {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

/* ==================================================
    popup
================================================== */
.popup {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 2000;
}

.popup.bg,
.black-bg {
    background-color: rgba(0, 0, 0, 0.5);
}

.black-bg {
    display: none;
}

.popup .popup-body {
    width: 100%;
    max-width: 905px;
    margin: 0 auto;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-justify-content: center;
    -ms-flex-pack: justify;
    justify-content: center;
    -webkit-box-align: center;
    -moz-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.popup .popup-body.big {
    max-width: 1024px;
}

.popup .popup-body.medium {
    max-width: 960px;
}

.popup .popup-body.small {
    max-width: 500px;
}

.popup .popup-inner {
    width: 100%;
    background-color: #fff;
}

.popup .popup-inner.lined {
    border-top: 3px solid #1a1a1a;
}

.popup .popup-inner.round {
    border-radius: 12px;
}

.popup .popup-inner .popup-close {
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0px;
    top: -60px;
    background: #1a1a1a url('../image/ico_close_wht.svg') no-repeat center;
    background-size: 16px;
    border-radius: 10px 10px 0 0;
}

.popup .popup-title {
    padding-top: 0;
    text-align: center;
}

.popup .popup-title h2 {
    float: none;
    font-size: 2.4rem;
    line-height: 1;
}

.popup .popup-cont {
    margin-top: 20px;
}

.popup .popup-cont .text-box {
    overflow-Y: auto;
    max-height: 50vh;
    padding: 10px;
}


.popup .popup-cont .text-box::-webkit-scrollbar {
    width: 3px;
}

.popup .popup-cont .text-box::-webkit-scrollbar-track {
    background: #fafafa;
}

.popup .popup-cont .text-box::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.small-modal {
    display: block;
    font-family: 'Pretendard';
    background-color: rgba(0, 0, 0, 0.1);
}

.small-modal .size {
    max-width: 400px;
}

.small-modal .popup-inner {
    border-radius: 0 0 20px 20px;
    border-top: 4px solid #1a1a1a;
}

.small-modal .btn-set .btn {
    max-width: 100px;
    min-width: 120px !important;
    height: 42px;
    transition: .2s;
}

.popup.policy_popup .popup-cont {
    padding: 20px;
    box-sizing: border-box;
    background-color: #F7F7FA;
    border: 1px solid #ECF0F4;
    border-radius: 12px;
}

/* ==================================================
    select
================================================== */
.ss-main {
    width: auto !important;
    height: 57px !important;
    padding: 0 10px !important;
    border-color: #eeeeee !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    font-weight: 500 !important;
}

.ss-main.ss-open-above,
.ss-main:focus {
    border-color: #1a1a1a !important;
    box-shadow: none !important;
}

.ss-main .ss-values .ss-single {
    width: 100%;
    margin: 0 !important;
}

.ss-content {
    border: unset !important;
    border-radius: unset !important;
    max-height: unset !important;
    background-color: unset !important;
}

.ss-content .ss-list {
    padding: 3px 12px;
    border: 1px solid #1a1a1a !important;
    border-radius: 8px !important;
    max-height: 200px !important;
    background-color: #fff !important;
}

.ss-content .ss-list .ss-option {
    height: 40px !important;
    line-height: 40px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.ss-content .ss-list .ss-option:hover {
    color: #1a1a1a !important;
    background-color: transparent !important;
    transition: 0.3s ease-out;
}

.ss-content .ss-list .ss-option:not(:nth-of-type(1)) {
    border-top: 1px solid #eeeeee;
}

.ss-content .ss-list .ss-option.ss-highlighted,
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
    color: #1a1a1a !important;
    background-color: #fff !important;
}

.ss-main .ss-arrow {
    flex-shrink: 0 !important;
    transition: .2s ease-out
}

.ss-main .ss-arrow path {
    stroke: #1a1a1a !important;
}

.default-select {
    width: auto;
    height: 40px;
    padding: 0 10px;
    border-color: #eeeeee;
    border-radius: 5px;
    background-color: #fff;
    font-weight: 500;
}

div:where(.swal2-container) {
    z-index: 3000 !important;
}

div:where(.swal2-icon).swal2-warning,
div:where(.swal2-icon).swal2-success,
div:where(.swal2-icon).swal2-error,
div:where(.swal2-icon).swal2-info.swal2-icon-show,
div:where(.swal2-icon).swal2-question.swal2-icon-show {
    margin: 0 auto !important;
}

div:where(.swal2-container).swal2-center > .swal2-popup {
    padding: 20px !important;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    font-size: 1.4rem !important;
}

div:where(.swal2-container) button:where(.swal2-styled) {
    font-size: 1.3rem !important;
}


/* ==================================================
    반응형
================================================== */

.pc {
    display: block;
}

/*pc, 테블릿 노출 = 모바일 미노출*/
.mo {
    display: none !important;
}
/*테블릿 노출 = pc 미노출*/
.ta {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none !important;
    }
    .mo {
        display: block !important;
    }
}


/* 초기화 상쇄 코드 */
.editor-box,
.editor-box * {
    all: revert;
}
