@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-Thin.subset.woff2") format("woff2");
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-ExtraLight.subset.woff2") format("woff2");
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-Light.subset.woff2") format("woff2");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-Regular.subset.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-Medium.subset.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-SemiBold.subset.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-Bold.subset.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-ExtraBold.subset.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: "Pretendard";
    src: url("/assets/font/pretendard/Pretendard-Black.subset.woff2") format("woff2");
    font-weight: 900;
    font-display: swap;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font-family: Noto Sans KR;
    line-height: 1.5;
}
.d_none{
    display: none !important;
}
.d_block{
    display: block !important;
}
.d_flex{
    display: flex !important;
    align-content: center !important;
}
.fade_out{
    animation: fade_out 0.3s;
}
.fade_in{
    animation: fade_in 0.3s;
}
@keyframes fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}
.btn:disabled{
    opacity: 0.5;
    cursor: no-drop;
}
.btn_red {
    color: #fff !important;
    background-color: #dd514c !important;
}
.btn_orange {
    color: #fff !important;
    background-color: #e57b2f !important;
}
.btn_yellow {
    color: #fff !important;
    background-color: #f0ad4e !important;
}
.btn_green {
    color: #fff !important;
    background-color: #5eb95e !important;
}
.btn_blue {
    color: #fff !important;
    background-color: #1f8dd6 !important;
}
.btn_purple {
    color: #fff !important;
    background-color: #8058a5 !important;
}
.btn_gray {
    color: #fff !important;
    background-color: #939393 !important;
}
.btn_coral {
    color: #fff !important;
    background-color: #ff7c8b !important;
}
.btn_red_reverse {
    color: #dd514c !important;
    background-color: #fff !important;
    border-color: #b3423e !important;
}
.btn_orange_reverse {
    color: #f37b1d !important;
    background-color: #fff !important;
    border-color: #cb6719 !important;
}
.btn_yellow_reverse {
    color: #eea236 !important;
    background-color: #fff !important;
    border-color: #eea236 !important;
}
.btn_green_reverse {
    color: #5eb95e !important;
    background-color: #fff !important;
    border-color: #448944 !important;
}
.btn_blue_reverse {
    color: #1f8dd6 !important;
    background-color: #fff !important;
    border-color: #1b6a9f !important;
}
.btn_purple_reverse {
    color: #8058a5 !important;
    background-color: #fff !important;
    border-color: #61467a !important;
}
.btn_gray_reverse {
    color: #000000 !important;
    background-color: #fff !important;
    border-color: #b1b1b1 !important
}
.btn_coral_reverse {
    color: #ff798a !important;
    background-color: #fff !important;
    border-color: #ff7c8b !important;
}
.h_modal_bg{
    position: fixed;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    z-index: 8899;
}
.h_modal{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.h_modal_container{
    width: fit-content;
    min-width: 300px;
    height: auto;
    min-height: auto;
    max-height: calc(100vh - 112px);
    position: relative;
    margin: 1.75em;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.h_modal_close{
    cursor: pointer;
    position: absolute;
    right: 0px;
    margin-right: 24px;
    background: url("/assets/icons/icon_close_gray.svg") center center / 1em no-repeat transparent;
    width: 1em;
    height: 1em;
    border: none;
}
.h_modal_title{
    height: 48px;
    min-height: 48px;
    padding: 8px;
    display:flex;
    align-items:center;
    justify-content: center;
    font-weight: bold;
    background-color: #f4f7ff;
    border-bottom: 1px solid #d1d1d1;
    box-sizing: border-box;
    font-size: 16px;
}
.h_modal_content{
    min-height: 58px;
    padding: 8px;
    overflow: hidden;
    overflow-y: auto;
    overflow-x: auto;
    box-sizing: border-box;
}
.h_modal_footer{
    width: 100%;
    height: 60px;
    padding: 8px;
    box-sizing: border-box;
    border-top: 1px solid #d1d1d1;
    overflow: hidden;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h_modal_btn_close{
    width: 100%;
    height: 40px;
    border-radius: 4px !important;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #929292;
    background: #FFF;
    color: #929292;
    box-sizing: border-box;
    cursor: pointer;
}
.h_modal_btn{
    width: 100%;
    height: 40px;
    border-radius: 4px !important;
    font-size: 15px;
    font-weight: bold;
    border: none;
    background-image: linear-gradient(to bottom, #3d84c1, #005abb);
    color: #FFFFFF;
    box-sizing: border-box;
    cursor: pointer;
}
.h_modal_btn:disabled{
    background-image: none;
    background-color: #d1d1d1;
    color: #a3a3a3;
    cursor: no-drop;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    box-sizing: border-box;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    box-sizing: border-box;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    box-sizing: border-box;
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6;
    box-sizing: border-box;
}

.table_bordered {
    border: 1px solid #dee2e6;
    box-sizing: border-box;
}

.table_bordered th,
.table_bordered td {
    border: 1px solid #dee2e6;
    box-sizing: border-box;
}

.table_bordered thead th,
.table_bordered thead td {
    border-bottom-width: 2px;
    box-sizing: border-box;
}

.table_bordered tbody>tr>th, .table_bordered thead>tr>th{
    background: #F1F1F1;
}
.table_bordered tbody>tr>td, .table_bordered thead>tr>td{
    background: #ffffff;
}
.table_bordered tbody>tr>th, .table_bordered tbody>tr>td,
.table_bordered thead>tr>th, .table_bordered thead>tr>td{
    border: 1px solid #ddd;
}

.btn_grid {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 5px !important;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 400;
    text-align: center !important;
    white-space: nowrap;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 3px;
}
.btn_grid:disabled{
    opacity: 0.5;
    cursor: no-drop;
}
.btn_grid.btn_orange{
    color: #fff;
    background-color: #e57b2f;
}
.btn_grid.btn_red{
    background-color: #dc3545;
    color: #ffffff;
}
.btn_grid.btn_green{
    background-color: #34a543;
    color: #ffffff;
}

.btn_gray_reverse {
    color: #000000 !important;
    background-color: #fff !important;
    border-color: #b1b1b1 !important
}

.select_style {
    width: 100%;
    height: 40px;
    padding: 4px 18px 2px 10px;
    font-size: 16px;
    color: #6f6f6f;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-sizing: border-box;
    appearance: none;
    background-image: url("/assets/icons/icon_select_down.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 4px) center;
    background-size: 13px;
    cursor: pointer;
    text-overflow: ellipsis;
    font-weight: bold;
}
.select_style:hover {
    border-color: #888;
}
.select_style:focus {
    border-color: #888;
}
.select_style:disabled {
    background: #e7e7e7;
    opacity: 0.5;
}

/* 툴팁 */
.h_tooltip{
    cursor: pointer;
}
.h_tooltip_wrapper{
    z-index: 999;
    position: relative;
}
.h_tooltip_wrapper>.h_tooltip_text{
    display: none;
}
.h_tooltip_text{
    top: -48px;
    right: -19px;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #c5c5c5;
}
.h_tooltip:hover + .h_tooltip_wrapper>.h_tooltip_text{
    display: inline-block !important;
    position: absolute;
    width: max-content;
}
