/* select */
.select_wrap {
    position: relative;
    background: #fff;
    border: 1px solid #d7d9df;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
}
.select_wrap i {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    right: 18px;
    font-size: 16px;
    z-index: 1;
}

/* show, hide */
.hide {
    display: none !important;
}
.show {
    display: block !important;
}

/* empty state */
.empty_state {
    width: 100%;
    min-height: 100px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid #dbe6f5;
    border-radius: 6px;
    background: #f8fbff;
    color: #66758a;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.empty_state[hidden] {
    display: none;
}
.empty_state_panel {
    padding: 50px 16px;
    border: 1px solid #dbe6f5;
    border-radius: 6px;
    background: #fff;
    text-align: center;
}
.empty_text {
    color: #66758a;
    font-size: 14px;
    font-weight: 600;
}

/* margin, padding */
.m05 {
    margin: 5px;
}
.m10 {
    margin: 10px;
}
.m15 {
    margin: 15px;
}
.m20 {
    margin: 20px;
}
.m25 {
    margin: 25px;
}
.m30 {
    margin: 30px;
}
.mt05 {
    margin-top: 5px;
}
.mt10 {
    margin-top: 10px;
}
.mt15 {
    margin-top: 15px;
}
.mt20 {
    margin-top: 20px;
}
.mt25 {
    margin-top: 25px;
}
.mt30 {
    margin-top: 30px;
}
.mb05 {
    margin-bottom: 5px;
}
.mb10 {
    margin-bottom: 10px;
}
.mb15 {
    margin-bottom: 15px;
}
.mb20 {
    margin-bottom: 20px;
}
.mb25 {
    margin-bottom: 25px;
}
.mb30 {
    margin-bottom: 30px;
}
.mb50 {
    margin-bottom: 50px;
}
.ml05 {
    margin-left: 5px;
}
.ml10 {
    margin-left: 10px;
}
.ml15 {
    margin-left: 15px;
}
.ml20 {
    margin-left: 20px;
}
.ml25 {
    margin-left: 25px;
}
.ml30 {
    margin-left: 30px;
}
.mr05 {
    margin-right: 5px;
}
.mr10 {
    margin-right: 10px;
}
.mr15 {
    margin-right: 15px;
}
.mr20 {
    margin-right: 20px;
}
.mr25 {
    margin-right: 25px;
}
.mr30 {
    margin-right: 30px;
}
.p05 {
    padding: 5px;
}
.p10 {
    padding: 10px;
}
.p15 {
    padding: 15px;
}
.p20 {
    padding: 20px;
}
.p25 {
    padding: 25px;
}
.p30 {
    padding: 30px;
}
.pt05 {
    padding-top: 5px;
}
.pt10 {
    padding-top: 10px;
}
.pt15 {
    padding-top: 15px;
}
.pt20 {
    padding-top: 20px;
}
.pt25 {
    padding-top: 25px;
}
.pt30 {
    padding-top: 30px;
}
.pb05 {
    padding-bottom: 5px;
}
.pb10 {
    padding-bottom: 10px;
}
.pb15 {
    padding-bottom: 15px;
}
.pb20 {
    padding-bottom: 20px;
}
.pb25 {
    padding-bottom: 25px;
}
.pb30 {
    padding-bottom: 30px;
}
.pl05 {
    padding-left: 5px;
}
.pl10 {
    padding-left: 10px;
}
.pl15 {
    padding-left: 15px;
}
.pl20 {
    padding-left: 20px;
}
.pl25 {
    padding-left: 25px;
}
.pl30 {
    padding-left: 30px;
}
.pr05 {
    padding-right: 5px;
}
.pr10 {
    padding-right: 10px;
}
.pr15 {
    padding-right: 15px;
}
.pr20 {
    padding-right: 20px;
}
.pr25 {
    padding-right: 25px;
}
.pr30 {
    padding-right: 30px;
}

/* badge */
.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    display: inline-block;
    font-weight: 500;
    min-width: 90px;
    color: #222;
    text-align: center;
}
.badge_dark {
    background: #e8e8e8;
}
.badge_red {
    background: #fedac7;
}
.badge_green {
    background: #caf4cd;
}
.badge_green_02 {
    background: #bbf5ed;
}
.badge_sky {
    background: #beebfd;
}
.badge_blue {
    background: #cbdffd;
}
.badge_yellow {
    background: #feeec7;
}
.badge_sm {
    min-width: 60px;
}

/* button */
.btn {
    min-width: 130px;
    height: 56px;
    padding: 0 16px;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    font-size: 18px;
    border-radius: 6px;
}
.btn_outline {
    border: 1px solid #222;
}
.btn_lg {
    min-width: 160px;
    height: 64px;
    font-size: 20px;
}
.btn_md {
    font-size: 16px;
    height: 48px;
}
.btn_sm {
    min-width: 80px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
}
.btn_square {
    min-width: 32px;
    height: 32px;
    padding: 0;
}
.btn_radius {
    border-radius: 100px;
}
.btn:disabled {
    cursor: inherit;
    opacity: 0.5;
}
.btn_outline:disabled {
    background: transparent;
    color: #aeaeae;
    border: 1px solid #e3e3e3;
    cursor: inherit;
}
.btn_default {
    background: #dee4f4;
    color: #1f3f8b;
}
.btn_dark {
    background: #444;
    color: #fff;
}
.btn_gray {
    background: #777;
    color: #fff;
}
.btn_navy {
    background: #406295;
    color: #fff;
}
.btn_blue {
    background: #1f3f8b;
    color: #fff;
}
.btn_light_blue {
    background: #3156ca;
    color: #fff;
}
.btn_red {
    background: #f52e2e;
    color: #fff;
}
.btn_outline_light {
    background: #fff;
    border: 1px solid #ccc;
    color: #444;
}
.btn_outline_red {
    color: #f52e2e;
    border: 1px solid #f52e2e;
    background: #fff;
}
.btn_outline_dark {
    color: #222;
    border: 1px solid #999;
    background: #fff;
}
.btn_outline_navy {
    color: #406295;
    border: 1px solid #406295;
    background: #fff;
}
.btn_outline_blue {
    color: #1f3f8b;
    border: 1px solid #1f3f8b;
    background: #fff;
}

/* typography */
.text_dark {
    color: #222;
}
.text_light {
    color: #777;
}
.text_blue {
    color: #3156ca;
}
.text_red {
    color: #ff384a;
}
.text_white {
    color: #fff;
}
.text_left {
    text-align: left;
}
.text_center {
    text-align: center;
}
.text_right {
    text-align: right;
}
.font_14 {
    font-size: 14px;
}

/* check */
.checks {
    position: relative;
    display: flex;
}
.checks input[type="checkbox"] {
    display: none;
}
.checks input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 30px;
    line-height: 20px;
}
.checks input[type="checkbox"] + label:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: "";
    border: 1px solid #999;
    background: #fff;
    border-radius: 4px;
}
.checks input[type="checkbox"]:checked + label:before {
    background: #1f3f8b;
    border: 1px solid #1f3f8b;
}
.checks input[type="checkbox"]:checked + label:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "\f00c";
    color: #fff;
    font-family: "Font Awesome 7 Free";
    font-size: 12px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checks input[type="checkbox"]:disabled:checked + label:before {
    background: #ddd;
}
.checks input[type="checkbox"]:disabled:checked + label:after {
    color: #f5f5f5;
}
.checks input[type="checkbox"]:disabled + label {
    cursor: default;
    pointer-events: none;
    color: #999;
}
.checks input[type="checkbox"]:disabled + label:before {
    background: #ddd;
    border: 1px solid #ddd;
}
.table_checks {
    justify-content: center;
    height: 20px;
}
.table_checks input[type="checkbox"] + label {
    padding-left: 20px;
}

/* radio */
.radios {
    position: relative;
    display: flex;
    align-items: center;
}
.radios input[type="radio"] {
    display: none;
}
.radios input[type="radio"] + label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 30px;
    line-height: 22px;
    font-size: 15px;
    font-weight: 500;
}
.radios input[type="radio"] + label:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    content: "";
    background: #eee;
    border-radius: 50%;
}
.radios input[type="radio"]:checked + label:before {
    background: #1f3f8b;
}
.radios input[type="radio"]:checked + label:after {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 10px;
    height: 10px;
    content: "";
    border-radius: 50%;
    background: #fff;
}
.radios input[type="radio"]:disabled:checked + label:before {
    background: #ddd;
}
.radios input[type="radio"]:disabled:checked + label:after {
    background: #f5f5f5;
}
.radios input[type="radio"]:disabled + label {
    cursor: default;
    pointer-events: none;
    color: #999;
}
.radios input[type="radio"]:disabled + label::before {
    background: #ddd;
}
.radios input[type="radio"] + label i {
    font-size: 18px;
}

/* switch */
.switchs {
    position: relative;
    display: flex;
    align-items: center;
    height: 24px;
}
.switchs input[type="checkbox"] {
    display: none;
}
.switchs input[type="checkbox"] + label {
    position: relative;
    cursor: pointer;
    padding-left: 52px;
    height: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.switchs_text_none input[type="checkbox"] + label {
    padding-left: 44px;
}
.switchs input[type="checkbox"] + label:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 24px;
    content: "";
    background: #ccc;
    border-radius: 50px;
}
.switchs input[type="checkbox"] + label:after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    content: "";
    border-radius: 50px;
    transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
    background: #fff;
}
.switchs input[type="checkbox"]:checked + label:before {
    background: #1f3f8b;
}
.switchs input[type="checkbox"]:checked + label:after {
    right: 3px;
    transform: translateX(20px) scale(1);
}
.switchs input[type="checkbox"]:disabled:checked + label:before {
    opacity: 0.3;
}
.switchs input[type="checkbox"]:disabled:checked + label:after {
    opacity: 0.5;
}
.switchs input[type="checkbox"]:disabled + label:before {
    opacity: 0.3;
}
.switchs input[type="checkbox"]:disabled + label:after {
    opacity: 0.5;
}
.switchs input[type="checkbox"]:disabled + label {
    cursor: default;
    pointer-events: none;
    color: #999;
}

/* ck editor */
.ck.ck-editor {
    width: 100% !important;
}
.ck.ck-editor__main > .ck-read-only {
    border: 0 !important;
    padding: 0 !important;
}
.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
    border: 1px solid #ccced1 !important;
    box-shadow: none !important;
}
.ck.ck-editor__main > .ck-read-only.ck-focused:not(.ck-editor__nested-editable) {
    border: transparent !important;
}
.ck.ck-editor__main > .ck-read-only.ck-editor__editable_inline > :first-child {
    margin-top: 0 !important;
}
.ck.ck-editor__main > .ck-read-only.ck-editor__editable_inline > :last-child {
    margin-bottom: 0 !important;
}
.image img {
    display: block;
    width: 100%;
}
.ck-read-only.ck-editor__editable_inline {
    min-height: auto !important;
}
.ck-editor__editable_inline {
    min-height: 300px;
    padding: 0 16px !important;
}
.ck-editor__editable_inline p {
    font-size: 15px !important;
}
.ck .ck-link_selected {
    background: transparent !important;
    color: #7599e5;
}
.ck .ck-link_selected:hover {
    text-decoration: underline;
}
.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label {
    color: #7599e5 !important;
    font-family: "SUIT", "맑은 고딕", "돋움", Dotum, Arial, sans-serif !important;
    font-weight: 500 !important;
}
.ck.ck-editor p,
.ck.ck-editor span {
    word-break: break-all !important;
}

.loading_area {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loading_area .loading_box {
    position: relative;
    width: 100%;
    height: 100%;
}
.loading_area .loading_box img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/********** top button **********/
.btn_top {
    display: none;
    min-width: 56px;
    width: 56px;
    height: 56px;
    position: fixed;
    right: 40px;
    bottom: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 100px;
    background: #1f3f8b;
    box-shadow: 0 10px 24px rgba(16, 34, 79, .24);
    font-size: 22px;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    z-index: 130;
}
.btn_top:hover {
    background: #10224f;
    box-shadow: 0 14px 30px rgba(16, 34, 79, .3);
    transform: translateY(-2px);
}
.btn_top i {
    font-size: 20px;
}

@media (max-width: 767px) {
    .btn_top {
        right: 18px;
        bottom: 18px;
        min-width: 50px;
        width: 50px;
        height: 48px;
    }
}
