.ems-component label {
    vertical-align: middle;
}

.ems-component .cursor {
    cursor: pointer;
}

:root {
    --main-color: #5c78de;
    --orange-color: #ff842e;
    --blue-color: #5c78de;
    --green-color: #41a95f;
    --gray-color: #a8a8a8;
    --blue-light-color: #f1f6ff;
    --blue-middle-color: #c8dbff;
    --orange-light-color: #fff5e6;
    --gray-light-color: #f8f8f8;
    --red-color: #dc3545;
    --red-light-color: #fff4f5;
    --red-middle-color: #ffc8cd;
}

html .ems-component,
body .ems-component {
    font-size: 14px;
    font-family: "Pretendard", AppleSDGothicNeo-Regular, '맑은 고딕', 'Malgun Gothic', 나눔고딕, 돋움, Dotum, 굴림, Gulim, 'Apple SD Gothic Neo', sans-serif, verdana !important;
}

.ems-component button,
.ems-component input[type="text"],
.ems-component select {
    font-family: "Pretendard";
}

.ems-component input:disabled,
.ems-component input:read-only {
    background: #f7f7f7;
    color: #ccc;
}

.ems-component input[type=text]:focus {
    border: 1px solid #555;
    transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
}


/* 마진 */
.ems-component .mb-0 {
    margin-bottom: 0px !important
}

.ems-component .mb-1 {
    margin-bottom: 2px !important
}

.ems-component .mb-2 {
    margin-bottom: 4px !important
}

.ems-component .mb-3 {
    margin-bottom: 6px !important
}

.ems-component .mb-4 {
    margin-bottom: 8px !important
}

.ems-component .mb-5 {
    margin-bottom: 10px !important
}

.ems-component .mb-6 {
    margin-bottom: 15px !important
}


.ems-component .mt-0 {
    margin-top: 0px !important
}

.ems-component .mt-1 {
    margin-top: 2px !important
}

.ems-component .mt-2 {
    margin-top: 4px !important
}

.ems-component .mt-3 {
    margin-top: 6px !important
}

.ems-component .mt-4 {
    margin-top: 8px !important
}

.ems-component .mt-5 {
    margin-top: 10px !important
}

.ems-component .mt-6 {
    margin-top: 15px !important
}


.ems-component .mr-0 {
    margin-right: 0px !important
}

.ems-component .mr-1 {
    margin-right: 2px !important
}

.ems-component .mr-2 {
    margin-right: 4px !important
}

.ems-component .mr-3 {
    margin-right: 6px !important
}

.ems-component .mr-4 {
    margin-right: 8px !important
}

.ems-component .mr-5 {
    margin-right: 10px !important
}

.ems-component .mr-6 {
    margin-right: 15px !important
}


.ems-component .ml-0 {
    margin-left: 0px !important
}

.ems-component .ml-1 {
    margin-left: 2px !important
}

.ems-component .ml-2 {
    margin-left: 4px !important
}

.ems-component .ml-3 {
    margin-left: 6px !important
}

.ems-component .ml-4 {
    margin-left: 8px !important
}

.ems-component .ml-5 {
    margin-left: 10px !important
}

.ems-component .ml-6 {
    margin-left: 15px !important
}


.ems-component .pr-0 {
    padding-right: 0px !important
}

.ems-component .pr-1 {
    padding-right: 2px !important
}

.ems-component .pr-2 {
    padding-right: 4px !important
}

.ems-component .pr-3 {
    padding-right: 6px !important
}

.ems-component .pr-4 {
    padding-right: 8px !important
}

.ems-component .pr-5 {
    padding-right: 10px !important
}

.ems-component .pr-6 {
    padding-right: 15px !important
}



.ems-component .pl-0 {
    padding-left: 0px !important
}

.ems-component .pl-1 {
    padding-left: 2px !important
}

.ems-component .pl-2 {
    padding-left: 4px !important
}

.ems-component .pl-3 {
    padding-left: 6px !important
}

.ems-component .pl-4 {
    padding-left: 8px !important
}

.ems-component .pl-5 {
    padding-left: 10px !important
}

.ems-component .pl-6 {
    padding-left: 15px !important
}


.ems-component .p-1 {
    padding: 2px !important
}

.ems-component .p-2 {
    padding: 4px !important
}



/* 감싸기 */
.ems-component .guidewrap {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    margin-top: 16px;
    padding: 20px
}

.ems-component .guidewrap2 {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    margin-top: 16px;
    padding: 30px
}

.ems-component .guidewrap_bg {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    margin-top: 16px;
    padding: 30px
}

.ems-component #palette div {
    width: 100px;
    height: 100px;
    display: inline-block;
}

.ems-component .sec-wrap {
    margin-bottom: 20px;
    position: relative
}

.ems-component label.description {
    margin-left: 10px;
}

/* 버튼 */
.ems-component .btn {
    margin-right: 4px;
    border-radius: 0 !important;
    font-size: 14.5px;
}

.ems-component .btn:focus {
    box-shadow: none
}

.ems-component .btn.btn-s {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px !important;
    height: 30px;
}

.ems-component .btn.btn-m {
    padding: 10px 14px;
    line-height: 1.5;
    border-radius: 4px !important;
    height: 45px;
}

.ems-component .btn.btn-l {
    padding: 12px 24px;
    font-size: 20px;
    line-height: 1.5;
    border-radius: 5px !important;
    height: 55px;
}

.ems-component button.border:hover {
    border: 1px solid var(--blue-color) !important;
    color: var(--blue-color);
}

.ems-component button.border-orange:hover {
    background: var(--orange-color);
    color: #fff
}

.ems-component button.border-orange-line:hover {
    border: 1px solid var(--orange-color);
    color: var(--orange-color);
}

.ems-component button.border-blue:hover {
    background: var(--blue-color);
    color: #fff
}

.ems-component button.border.border-gray-line:hover{
    border: 1px solid #666 !important;
    color: #000;
}

.ems-component button.border-blue.chk:hover {
    background: #fff;
    border: 1px solid var(--blue-color);
    color: var(--blue-color);
}

.ems-component button.border.chk {
    background: var(--blue-color);
    border: 1px solid var(--blue-color);
    color: #fff
}


/* 배경 컬러 */
.ems-component .bg-orange {
    background: var(--orange-color)
}

.ems-component .bg-orange0 {
    background: #fff1ec
}

.ems-component .bg-orange1 {
    background: #ffdcc6
}

.ems-component .bg-orange2 {
    background: #ffc6a0
}

.ems-component .bg-orange3 {
    background: #ffb17a
}

.ems-component .bg-blue {
    background: var(--blue-color)
}

.ems-component .bg-green {
    background: var(--green-color)
}

.ems-component .bg-danger {
    background: #dc3545
}

.ems-component .bg-gray-light {
    background: #ccc
}

.ems-component .bg-gray-light2 {
    background: #fafafa
}

.ems-component .bg-gray {
    background: var(--gray-color)
}

.ems-component .bg-bk {
    background: #000
}

.ems-component .bg-blue-light {
    background: #f1f6ff
}

.ems-component .bg-blue {
    background: var(--blue-color)
}

.ems-component .bg-green {
    background: var(--green-color)
}

.ems-component .bg-danger {
    background: #dc3545
}

.ems-component .bg-gray-light {
    background: #ccc
}

.ems-component .bg-gray-light2 {
    background: #fafafa
}

.ems-component .bg-gray {
    background: var(--gray-color)
}

.ems-component .bg-gray2 {
    background: #888
}

.ems-component .bg-bk {
    background: #000
}

.ems-component .bg-blue-light {
    background: #f1f6ff
}


.ems-component .bg-orange4 {
    background: #ff9b54
}

.ems-component .bg-orange5 {
    background: var(--orange-color)
}

/* main */
.ems-component .bg-orange6 {
    background: #f65600
}

.ems-component .bg-orange7 {
    background: #d74a00
}

.ems-component .bg-orange8 {
    background: #b83f00
}

.ems-component .bg-orange9 {
    background: #993400
}

.ems-component .bg-orange10 {
    background: #7a2900
}


.ems-component .bg-blue0 {
    background: #f1f6ff;
}

.ems-component .bg-blue1 {
    background: #c6d0f3;
}

.ems-component .bg-blue2 {
    background: #9cadeb;
}

.ems-component .bg-blue3 {
    background: #869be7;
}

.ems-component .bg-blue4 {
    background: #4c94ff;
}

.ems-component .bg-blue5 {
    background: #5c78de;
}

/* main */
.ems-component .bg-blue6 {
    background: #4766da;
}

.ems-component .bg-blue7 {
    background: #3255d5;
}

.ems-component .bg-blue8 {
    background: #284ac6;
}

.ems-component .bg-blue9 {
    background: #2442b0;
}

.ems-component .bg-blue10 {
    background: #1f3a9b;
}


.ems-component .bg-blue {
    background: var(--blue-color)
}

.ems-component .bg-green {
    background: var(--green-color)
}

.ems-component .bg-danger {
    background: #dc3545
}

.ems-component .bg-gray-light {
    background: #ccc
}

.ems-component .bg-gray-light2 {
    background: #fafafa
}

.ems-component .bg-gray {
    background: var(--gray-color)
}

.ems-component .bg-bk {
    background: #000
}

.ems-component .bg-blue-light {
    background: #f1f6ff
}

.ems-component .bg-orange5:hover,
.ems-component .bg-orange:hover {
    background: #f65600;
    /* hover 시 색상 (bg-orange6) */
}

.ems-component .bg-blue4:hover {
    background: #1673ff;
}

.ems-component .bg-blue:hover {
    background: #4b69d7
}

.ems-component .bg-green:hover {
    background: #4b9b46
}

.ems-component .bg-danger:hover {
    background: #c82333
}

.ems-component .bg-gray:hover {
    background: #666
}

.ems-component .bg-gray-light:hover {
    background: #aaa
}

.ems-component .table-bg-gray {
    background: #f8f8f8
}

.ems-component .table-bg-blue {
    background: #f5f9ff
}

.ems-component .table-bg-fff {
    background: #ffff
}

/* 보더 */
.ems-component .border {
    border: 1px solid #d7dce5 !important;
    box-sizing: border-box;
}

.ems-component .border-orange {
    border: 1px solid var(--orange-color);
    box-sizing: border-box;
}

.ems-component .border-orange-line {
    border: 1px solid #d7dce5;
    box-sizing: border-box;
}

.ems-component .border-green {
    border: 1px solid var(--green-color);
    box-sizing: border-box;
}

.ems-component .border-blue {
    border: 1px solid var(--blue-color);
    box-sizing: border-box;
}

.ems-component .line-b {
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 12px
}

.ems-component .line-gray {
    width: 100%;
    height: 1px;
    background: #eaeaea;
    margin: 15px 0
}

.ems-component .border-radius {
    border-radius: 25px !important;
}

.ems-component .badge {
    padding: 0px 0px 0px 0px
}

.ems-component .border-radius-0 {
    border-radius: 0 !important;
}


/* 글자 컬러 */
.ems-component .text-orange {
    color: var(--orange-color)
}

.ems-component .text-blue {
    color: var(--blue-color)
}

.ems-component .text-blue-light {
    color: #268fff
}

.ems-component .text-green {
    color: var(--green-color)
}

.ems-component .text-white {
    color: #fff
}

.ems-component .text-danger {
    color: #f4361e
}

.ems-component .light-red {
    color: #ff0000;
}

.ems-component .text-gray {
    color: #888
}


/* 텍스트 정렬 */
.ems-component .text-left {
    text-align: left;
}

.ems-component .text-center {
    text-align: center;
}

.ems-component .text-right {
    text-align: right;
}


/* 텍스트 사이즈 */
.ems-component .tit-1 {
    font-size: 32px !important
}

.ems-component .tit-2 {
    font-size: 28px !important
}

.ems-component .tit-3 {
    font-size: 22px !important
}

.ems-component .tit-4 {
    font-size: 20px !important
}

.ems-component .tit-5 {
    font-size: 18px !important
}

.ems-component .tit-6 {
    font-size: 16px !important
}

.ems-component .tit-7 {
    font-size: 15px !important
}


/* 폰트 굵기 */
.ems-component .font-weight-100 {
    font-weight: 100 !important
}

.ems-component .font-weight-200 {
    font-weight: 200 !important
}

.ems-component .font-weight-300 {
    font-weight: 300 !important
}

.ems-component .font-weight-400 {
    font-weight: 400 !important
}

.ems-component .font-weight-500 {
    font-weight: 500 !important
}

.ems-component .font-weight-600 {
    font-weight: 600 !important
}

.ems-component .font-weight-700 {
    font-weight: 700 !important
}

.ems-component .font-weight-800 {
    font-weight: 800 !important
}

.ems-component .font-weight-900 {
    font-weight: 900 !important
}

.ems-component .font-weight-bold {
    font-weight: bold !important
}

/* 기본셀렉트 */
.ems-component select {
    appearance: none;
    background: url('/assets/okems_3/component/img/icn_arrow_down.svg') #fff no-repeat right 8px center;
    background-size: 23px 22px;
    /* SVG 아이콘 크기 줄이기 */
    vertical-align: top;
}

.ems-component .select-default {
    border: 1px solid #d7dce5;
    border-radius: 5px;
    padding: 11px 40px 12px 10px;
    box-sizing: border-box;
    height: 45px;
    font-size: 15px;
}

.ems-component select:focus {
    border: 1px solid #333
}

/* 검색 가능한 셀렉트 */
.ems-component .ss-wrapper {
    width: 220px
}

/* container */
.ems-component .searchable-select {
    position: relative;
    width: 100%;
}

/* visible control (input-like) */
.ems-component .ss-control {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d7dce5;
    border-radius: 5px;
    box-shadow: none;
    cursor: text;
    transition: box-shadow .16s, border-color .16s;
}

.ems-component .ss-control:focus-within {
    border-color: #d7dce5
}

.ems-component .ss-control input[type=text] {
    border: none;
    position: relative;
}

/* text input */
.ems-component .ss-input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 14px;
    background: transparent;
    color: inherit;
    min-width: 40px;
}

.ems-component .ss-placeholder {
    color: #8b949e;
    font-size: 14px;
    pointer-events: none;
}

/* icon buttons */
.ems-component .ss-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
}

.ems-component .ss-clear {
    opacity: 0.85;
}

.ems-component .ss-toggle {
    opacity: 0.9
}

/* dropdown list */
.ems-component .ss-list {
    position: absolute;
    top: calc(100%);
    left: 0;
    right: 0;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    max-height: 220px;
    overflow: auto;
    z-index: 50;
    padding: 6px;
    background: #fff
}

.ems-component .ss-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #141927;
}

.ems-component .ss-item[aria-selected="true"] {
    background: #1366ff;
    color: #fff;
    font-weight: 600;
}

.ems-component .ss-item:hover:not([aria-selected="true"]) {
    background: var(--blue-light-color);
}

/* no results */
.ems-component .ss-empty {
    padding: 12px;
    text-align: center;
    color: #8b949e;
    font-size: 13px;
}

/* hidden native select (kept for form) */
.ems-component .ss-native {
    display: none;
}

/* small helper row */
.ems-component .ss-meta {
    font-size: 12px;
    color: #8b949e;
    margin-top: 8px;
    text-align: right;
}

/* 인풋 관련 */
.ems-component .input-wrap {
    position: relative;
    border: 1px solid #d7dce5;
    border-radius: 5px;
    width: fit-content;
    box-sizing: border-box;
    padding: 0 10px 0 0;
    height: 45px;
}

.ems-component input[type=text] {
    line-height: 1.5;
    box-sizing: border-box;
    border: 1px solid #d7dce5;
    border-radius: 5px;
    padding: .688rem .75rem
}

.ems-component #search_btn {
    position: absolute;
    background: url('/assets/okems_3/component/img/icn_search.svg') center no-repeat;
    background-size: contain;
    /* 비율 유지하며 요소에 맞춤 */
    width: 22px;
    height: 22px;
    right: 10px;
    top: 12px
}

.ems-component .input-wrap input[type=text] {
    border: none;
    background: transparent;
    font-size: 14.5px;
    width: 100%;
    vertical-align: baseline !important;
}

.ems-component .input-wrap input[type=text]:focus {
    outline: none;
}

.ems-component .input-wrap:has(input:focus) {
    border: 1px solid #333 !important
}

.ems-component textarea:focus,
.ems-component textarea:active {
    border: 1px solid #333 !important;
    transition: none !important;

}

.ems-component textarea {

    transition: none !important;
}

.ems-component .w-50 {
    width: 50px !important;
}

.ems-component .w-75 {
    width: 75px !important;
}

.ems-component .w-100 {
    width: 100px !important;
}

.ems-component .w-150 {
    width: 150px !important;
}

.ems-component .w-180 {
    width: 180px !important;
}

.ems-component .w-200 {
    width: 200px !important;
}

.ems-component .w-250 {
    width: 250px !important;
}

.ems-component .w-300 {
    width: 300px !important;
}

.ems-component .w-350 {
    width: 350px !important;
}

.ems-component .w-full {
    width: 100% !important;
}

.ems-component label input[type="checkbox"].default-check {
    appearance: none;
    /* 기본(네이티브) 모양을 제거 */
    box-sizing: border-box;
    padding: 0.25em;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ccc;
    vertical-align: middle;
    margin: 2px 5px 2px 2px
}

.ems-component label input[type="checkbox"]:checked.default-check {
    border: var(--main-color);
    background: url(/assets/okems_3/component/img/icn_check_white.svg)center var(--main-color) no-repeat;
    background-size: 13px;
}

.ems-component label input[type="radio"].default-radio {
    appearance: none;
    /* 기본(네이티브) 모양을 제거 */
    box-sizing: border-box;
    padding: 0.25em;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ccc;
    vertical-align: middle;
    border-radius: 20px;
    margin: 2px 5px 2px 2px
}

.ems-component label input[type="radio"]:checked.default-radio {
    border: var(--main-color);
    background: url(/assets/okems_3/component/img/icn_check_white.svg)center var(--main-color) no-repeat;
    background-size: 14px 13px;
}

.ems-component label input[type="radio"].default-radio+span,
.ems-component label input[type="checkbox"].default-check+span {
    position: relative;
    top: 1px;
    cursor: pointer;
}




/* 체크박스 */
.ems-component label input[type="checkbox"].default-checkbox {
    appearance: none;
    /* 기본(네이티브) 모양을 제거 */
    box-sizing: border-box;
    padding: 0.25em;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ccc;
    vertical-align: middle;
    border-radius: 20px;
    margin: 2px 5px 2px 2px
}

.ems-component label input[type="checkbox"]:checked.default-checkbox {
    border: var(--main-color);
    background: url(/assets/okems_3/component/img/icn_check_white.svg)center var(--main-color) no-repeat;
    background-size: 14px 13px;
}

.ems-component label input[type="checkbox"].default-checkbox+span{
    position: relative;
    top: 1px;
    cursor: pointer;
}





.ems-component .form-line-height {
    line-height: 38px;
    display: inline-block;
}

.ems-component .form-line-height-s {
    line-height: 24px;
    display: inline-block;
}

/* 테이블 - 가로형 */
.ems-component .table-hor {
    border-top: 1px solid #000;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    color: #333333
}

.ems-component .table-hor tr {
    border-bottom: 1px solid #d7dce5
}

.ems-component .table-hor tr:hover {
    background: #fffceb
}

.ems-component .table-hor tr.none-line:hover {
    background: #fff;
}

.ems-component .table-hor .none-name{
    padding: 42px 27px;
}

.ems-component .table-hor .none-name .title{
    font-size: 16px;
}

.ems-component .table-hor tr th {
    text-align: center;
    background: #fff;
    color: #000;
    padding: 15px 0;
    font-weight: 500;
    font-size: 15px;
}

.ems-component .table-hor tbody {
    max-height: 150px;
    overflow-y: auto
}

.ems-component .table-hor tr td {
    font-size: 14.5px;
}

.ems-component .table-hor tr td a {
    font-size: 14.5px;
}

.ems-component .table-hor tr td.pl-3 {
    padding: auto 0 auto 8px
}

.ems-component .tit-mg-name {
    font-size: 16px;
    font-weight: 700
}

.ems-component .tit-mg-name.m-list {
    font-size: 17px;
    font-weight: 700
}


.ems-component .table-hor .icn-bi-m {
    padding: 2px;
    background-origin: content-box;
    border-radius: 2px;
    margin-top: 2px
}

.ems-component .table-hor .icn-bi-m:hover {

    /* 투명 영역 = 주황색 */
    background-color: var(--orange-color);


    width: 20px;
    height: 20px;
    display: block;
    padding: 2px;
    background-origin: content-box;
    border-radius: 2px;
}


.ems-component .table-hor .icn-bi-m:hover::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;

    /* 아이콘 모양을 흰색으로 채움 */
    background-color: #fff;
    -webkit-mask: url(/assets/okems_3/component/img/icn_bi_m.svg) no-repeat center / contain;
    mask: url(/assets/okems_3/component/img/icn_bi_m.svg) no-repeat center / contain;
}



.ems-component .table-hor.fixed thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}


.ems-component .table-hor.fixed tbody {
    display: block;
    max-height: 450px;
    overflow: auto;
}

.ems-component .table-ver {
    width: 100%;
    font-size: 15px;
    border-top: 1px solid #d7dce5
}

.ems-component .table-ver tr {
    border-bottom: 1px solid #d7dce5
}

.ems-component .table-ver tr th {
    text-align: left;
    padding-left: 18px;
    height: 50px;
    font-weight: 500
}

.ems-component .table-ver td {
    padding: 5px 15px;
}

/* ///////////// */
/* .bg-blue.badge{
    display:inline-block;
    width:16px;height:16px;
    border:1px solid var(--blue-color);
    color:#fff;
    line-height:15px;
    font-size:12px;
    margin-right:2px;
    border-radius: 2px;
    text-align: center;
} */

/* 테이블 - 얇은 */
.ems-component .table-thin {
    width: 100%;
    border-collapse: separate;
    /* border-radius가 보이게 */
    border-spacing: 0;
    font-size: 14px;
    margin-top: 1px;
}

.ems-component .table-thin thead th {
    background: #f8f8f8;
    border: 1px solid #d7dce5;
    padding: 6px 0;
    font-weight: normal;
    color: #333;
    text-align: center;
    font-weight: 500;
    border-left: none
}

/* 좌우 모서리 둥글게 */
.ems-component .table-thin thead th:first-child {
    /* border-top-left-radius: 5px;
    border-bottom-left-radius: 5px; */
    border-left: 1px solid #d7dce5;
}

.ems-component .table-thin thead th:last-child {
    /* border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; */
}

/* 본문 영역 */
.ems-component .table-thin tr:hover td {
    background: #fcfcfc
}

.ems-component .table-thin tbody td {
    border: 1px solid #d7dce5;
    border-left: none;
    border-top: none;
    padding: 8px 0;
    color: #333;
    background: #fff
}

.ems-component .table-thin tbody td:first-child {
    border-left: 1px solid #d7dce5;
}


.ems-component .table-thin tbody td.text-left:first-child {
    padding-left: 12px;
}


.ems-component .table-thin tbody td.text-right:nth-child(2),
.ems-component .table-thin tbody td.text-right:nth-child(3),
.ems-component .table-thin tbody td.text-right:nth-child(4),
.ems-component .table-thin tbody td.text-right:nth-child(5),
.ems-component .table-thin tbody td.text-right:last-child {
    padding-right: 12px
}

.ems-component .badge-blue-table {
    background: var(--blue-light-color);
    color: var(--main-color);
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
    vertical-align: 2px;
}

.ems-component .badge-orange-table {
    background: var(--orange-light-color);
    color: var(--orange-color);
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-yellow-table {
    background-color: #fff2b4;
    color: #7d690b;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

/* 주의 표시 */
.ems-component .badge-red-table {
    background: #f9e7e9;
    color: #dc3545;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
    vertical-align: 0px;
}
/* 주의 표시 끝 */

.ems-component .badge-red-line {
    background-color: #fef5f6;
    border: solid 1px #dc3545;
    color: #dc3545;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-red-line2 {
    background-color: #fff;
    border: solid 1px #dc3545;
    color: #dc3545;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-red-line3 {
    background: #fef5f6;
    border: 1px solid #ffbcc4;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-red-line4 {
    background-color: #fff4f5;
    border: solid 1px #f51717;
    color: #f51717;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-gray-line {
    background-color: #fff;
    border: 1px solid #d7dce5;
    color: #888;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-blue-line {
    background: var(--blue-light-color);
    border: solid 1px var(--main-color);
    color: var(--main-color);
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
}

.ems-component .badge-circle-orange {
    background: var(--orange-color);
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: 2px;
}

.ems-component .badge-circle-blue {
    background: var(--main-color);
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: 2px;
    margin-left: 1px
}

/* 주력 뱃지 */
.ems-component .badge-blue-square {
    background: #f4f6fa;
    color: #6b727f;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
    vertical-align: 2px;
}

/* 만광 테이블 */
.ems-component .mg-name {
    line-height: 26px;
    /* padding:20px 0 20px 15px !important; */
}

.ems-component .gonggo-name:hover {
    color: #666
}

/* 아이콘 */
.ems-component .icn:hover {
    cursor: pointer;
}

.ems-component .icn-14 {
    width: 14px;
    height: 14px;
    display: inline-block
}

.ems-component .icn-15 {
    width: 15px;
    height: 15px;
    display: inline-block
}

.ems-component .icn-16 {
    width: 16px;
    height: 16px;
    display: inline-block
}

.ems-component .icn-18 {
    width: 18px;
    height: 18px;
    display: inline-block
}

.ems-component .icn-20 {
    width: 20px;
    height: 20px;
    display: inline-block
}

.ems-component .icn-22 {
    width: 22px;
    height: 22px;
    display: inline-block
}

.ems-component .icn-24 {
    width: 24px;
    height: 24px;
    display: inline-block
}

.ems-component .icn-star {
    background: url(/assets/okems_3/component/img/icn_star.svg)center no-repeat;
    width: 20px;
    height: 20px;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.ems-component .icn-star:hover {
    background: url(/assets/okems_3/component/img/icn_star_line.svg)center no-repeat;

}

.ems-component .icn-star.active {
    background: url(/assets/okems_3/component/img/icn_star_fill.svg)center no-repeat;
    width: 20px;
    height: 20px;
    display: block;
}

.ems-component .icn-bi-m {
    background: url(/assets/okems_3/component/img/icn_bi_m.svg)center no-repeat;
    width: 20px;
    height: 20px;
    display: block;
    margin: 0 auto;
}



/* 탭 */
/* 공통 스타일 (모든 탭 공용) */
.ems-component .tab-wrap-button ul.tabs li {
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 16px;
}

.ems-component .tab-wrap-button ul.tabs li.current {
    font-weight: 700;
}

.ems-component .tab-wrap-button .tab-content {
    display: none;
    padding: 15px 0;
}

.ems-component .tab-wrap-button .tab-content.current {
    display: inherit;
}

/* 그룹 1 전용 스타일 */
.ems-component .tab-group-1 ul.tabs li {
    color: #222;
    padding: 0 15px;
}

.ems-component .tab-group-1 .tab-content {
    border-top: 1px solid #cfcfcf;
}

.ems-component .tab-group-1 ul.tabs li.current {
    border-bottom: 3px solid var(--orange-color);
    color: var(--orange-color);
}


/* 그룹 2 전용 스타일 */
.ems-component .tab-group-2 ul {
    display: flex;
    /* 줄바꿈 공백 문제 사라짐 */
}

.ems-component .tab-group-2 ul.tabs li {
    background: #f8f8f8;
    width: 200px;
    text-align: center;
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin-left: -1px
}

.ems-component .tab-group-2 ul.tabs li.current {
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
}

.ems-component .tab-group-2 .tab-content {
    padding: 20px;
    margin-top: 10px;
}

/* .tab-wrap{
}
.tab-wrap  ul.tabs li{
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 16px;
    margin:0 4px
  }

  .tab-wrap  ul.tabs li.current{
    border-bottom:3px solid var(--orange-color);
    color: #222;
    font-weight: 700;
  }

  .tab-wrap  .tab-content{
    display: none;
    padding: 15px 0;
    border-top:1px solid #cfcfcf
  }

  .tab-wrap .tab-content.current{
    display: inherit;
  }


  .tab-wrap-button{
}
.tab-wrap-button  ul.tabs li{
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 16px;
    margin:0 4px
  }

  .tab-wrap-button  ul.tabs li.current{
    border-bottom:3px solid var(--orange-color);
    color: #222;
    font-weight: 700;
  }

  .tab-wrap-button  .tab-content{
    display: none;
    padding: 15px 0;
    border-top:1px solid #cfcfcf
  }

  .tab-wrap-button .tab-content.current{
    display: inherit;
  } */



/* 아이콘 컴포넌트 */

.ems-component #icon-wrap {
    background: #f6f6f6 !important;
}

.ems-component #icon-wrap .icon-contain-wrap {
    width: 100%;
    margin-top: 20px;
}

.ems-component #icon-wrap .icon-contain-wrap .box-col {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
}

.ems-component #icon-wrap .icon-contain-wrap .box-col .icon-box {
    flex: 0 0 calc(10% - 9px);
    background: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px 0;
    -webkit-box-shadow: 0px 0px 28px -31px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 28px -31px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 28px -31px rgba(0, 0, 0, 1);
}

.ems-component #icon-wrap .icon-contain-wrap .box-col .icon-box .icon-wrap {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
}

.ems-component #icon-wrap .icon-contain-wrap .box-col .icon-box .icon-wrap img {
    transform: scale(160%);
}

.ems-component #icon-wrap .icon-contain-wrap .box-col .icon-box .icon-txt {
    font-weight: 500;
}

.ems-component #icon-wrap .icon-contain-wrap .box-col .icon-box:hover {
    cursor: pointer;
    border: 1px solid #000;
}


/* 페이지네이션 */
.ems-component .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.ems-component .pagination li {
    display: inline-block;
}

.ems-component .pagination a {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ems-component .pagination a:hover {
    background: #f5f5f5;
}

.ems-component .pagination .active a {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
}

.ems-component .pagination .disabled a {
    color: #aaa;
    background: #f9f9f9;
    cursor: not-allowed;
}

.ems-component .pagination-round {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.ems-component .pagination-round li {
    display: inline-block;
}

.ems-component .pagination-round a {
    display: block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    /* 원형 */
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ems-component .pagination-round a:hover {
    background: #f5f5f5;
}

.ems-component .pagination-round .active a {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
}

.ems-component .pagination-round .disabled a {
    color: #aaa;
    background: #f9f9f9;
    cursor: not-allowed;
}


/* 팝업 */
.ems-component .ems-popup {
    position: relative;
    width: 100%;
    background: #ffffff;
    box-sizing: border-box;
}

.ems-component .ems-popup header {
    height: 60px;
    font-weight: 700;
    line-height: 60px;
    font-size: 22px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 2px 4px -3px gray
}

.ems-component .ems-popup .con-25 {
    padding: 22px 20px 25px 20px
}

.ems-component .btn-full {
    width: 100%;
    height: 60px;
    font-size: 20px
}

/* 툴팁 */
.ems-component .tooltip-wrap {
    position: relative;
}

.ems-component .tooltip-wrap .tooltip-text {
    visibility: hidden;
    display: inline-block;
    text-align: center;
    border-radius: 6px;
    padding: 5px 12px;
    position: absolute;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    /* 자동 크기 조절용 */
    white-space: nowrap;
    /* 한 줄로만 표시 */
    /* max-width: 100%; */
    font-size: 14px;
    line-height: 1.4;
    font-weight: normal;
    pointer-events: none;
}
.ems-component .tooltip-wrap .tooltip-text:hover {
    visibility: visible !important;
    opacity: 1 !important;
}
.ems-component .tooltip-wrap .tooltip-text.bk {
    background: #333;
    color: #fff;
}

.ems-component .tooltip-wrap .tooltip-text.blue {
    background: #6696f5;
    color: #fff;
}

.ems-component .tooltip-wrap .tooltip-text.white {
    background: #fff;
    border: 1px solid #ccc;
    color: #000;
}

.ems-component .tooltip-wrap:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    z-index: 999;
}

/* 화살표 */
.ems-component .tooltip-wrap .tooltip-text.top {
    bottom: 100%
}

.ems-component .tooltip-wrap .tooltip-text.bottom {
    top: 100%
}

.ems-component .tooltip-wrap .tooltip-text.top.arrow {
    bottom: 118%;
}

.ems-component .tooltip-wrap .tooltip-text.top::after {
    content: "";
    position: absolute;
    top: 100%;
    /* 툴팁 박스의 아래쪽에 붙음 */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
}

.ems-component .tooltip-wrap .tooltip-text.bottom.arrow {
    top: 118%;
}

.ems-component .tooltip-wrap .tooltip-text.bottom.arrow::after {
    content: "";
    position: absolute;
    bottom: 100%;
    /* 툴팁 박스의 위쪽에 붙음 */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
}

.ems-component .tooltip-wrap .tooltip-text.bk.bottom.arrow::after {
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.ems-component .tooltip-wrap .tooltip-text.bk.top.arrow::after {
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.ems-component .tooltip-wrap .tooltip-text.blue.top.arrow::after {
    border-style: solid;
    border-color: #6696f5 transparent transparent transparent;
}

.ems-component .tooltip-wrap .tooltip-text.blue.bottom.arrow::after {
    border-style: solid;
    border-color: transparent transparent #6696f5 transparent;
}

/* 뱃지 */
.ems-component .badge {
    padding: 2px 6px
}

.ems-component .badge.count {
    min-width: 8px;
    display: inline-block;
}

.ems-component .btn-close .icn {
    opacity: 0.8;
}

.ems-component .btn-close span.icn-close {
    width: 16px;
    height: 16px;
    display: inline-block;
    mask: url(/assets/okems_3/component/img/icn_close.svg) no-repeat;
    -webkit-mask: url('/assets/okems_3/component/img/icn_close.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

/* 스마트회원 */
.smart-user {
    border: 1px solid #d8dae0;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
    vertical-align: 2px;
    background-color: #fff;
}

.ems-component .badge-blue-table2 {
    background: #4c94ff;
    color: #fff;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 500;
    vertical-align: 2px;
}