﻿html {
    overflow: auto;
    height: 100%;
}

body {
    overflow: visible;
    min-height: 100%;
}

* {
    font-family: 맑은 고딕, Tahoma;
}

div, h1, h2, h3, h4, h5, h6, p, span, ul, ol, li, dl, dt, dd, table, tr, th, td, pre {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    position: relative;
    font-size: 12px;
    color: #666;
    background-color: #FFF;
    padding: 0;
    margin: 0;
    height: 100%;
}

img {
    line-height: 1.0;
    border: 0;
}

li {
    list-style-type: none;
}

/*페이지 전체를 감싸는 div*/
div.wrapper {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/*헤더 div*/
.header .top {
    position: relative;
    height: 100px;
    margin-top: 15px;
    margin-bottom: 7px;
    /*background: url(/IMG/Header/Top/top_logo.png) no-repeat left center;*/
}

    .header .top p {
        position: absolute;
        bottom: 0px;
        right: 0px;
        bottom: 10px;
    }

    .header .top span {
        vertical-align: middle;
        line-height: 1.0;
    }

    .header .top img {
        vertical-align: middle;
        line-height: 1.0;
        cursor: pointer;
    }

.header .mid {
    height: 85px;
    background: url(/IMG/Header/Mid/gnb_bg_w1.png);
    text-align: center;
}

.header .btm {
    height: 100px;
    margin-bottom: 7px;
    background: url(/IMG/Header/Btm/visual_banner.gif);
}

/*메뉴 스타일*/
.menu {
    width: 100%;
    font-size: 1.2em;
    background: url(/IMG/menu2.png);
    margin-bottom: 10px;
}

.menu-header {
    width: 145px;
    height: 31px;
    margin: 0;
    padding: 0;
    display: inline-block;
    background: url(/IMG/menu1.png);
    color: #FFF;
    text-align: center;
    line-height: 200%;
}

.menu-item {
    width: 107px;
    height: 31px;
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: center;
    line-height: 200%;
}

    .menu-item a:link {
        color: #FFF;
        text-decoration: none;
    }

    .menu-item a:visited {
        color: #FFF;
        text-decoration: none;
    }

    .menu-item a:hover {
        font-weight: bold;
        text-decoration: none;
    }

/*본문 스타일*/
.content {
    padding: 0 20px;
}

/*<a> 스타일 정의*/
a:link {
    color: #666;
}

a:visited {
    color: #666;
}

a:hover {
    color: #33E;
}

/*버튼 스타일*/
/* 검색 버튼 */
.btn-search {
    width: 90px;
    height: 32px;
    border: 0;
    margin: 0px 3px;
    background: url(/IMG/Button/btn_i_search.png) no-repeat;
    cursor: pointer;
    color: #FFF;
    /*font-family: "MalgunGothicBold, Malgun Gothic";*/
}

/* Small 버튼 */
.btn-short {
    width: 90px;
    height: 32px;
    border: solid 1px #8b69be;
    margin: 0px 3px;
    background-color: #8b69be;
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
    font-family: "MalgunGothicBold, Malgun Gothic";
}

/* Middle 버튼 */
.btn-mid {
    width: 135px;
    height: 32px;
    border: solid 1px #8b69be;
    margin: 0px 3px;
    background-color: #8b69be;
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
    font-family: "MalgunGothicBold, Malgun Gothic";
}

/* Long 버튼 */
.btn-long {
    width: 180px;
    height: 32px;
    border: 0;
    margin: 0px 3px;
    background: url(/IMG/Button/btn_bg_l.png) no-repeat;
    cursor: pointer;
    color: #FFF;
}

.btn-charger {
    width: 97px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_배포처선택.png) no-repeat;
    cursor: pointer;
}

.btn-charger-select {
    width: 117px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_협력업체지정.png) no-repeat;
    cursor: pointer;
}

.btn-commoncharger {
    width: 126px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_공통배포처선택.png) no-repeat;
    cursor: pointer;
}

.btn-delete {
    width: 55px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_삭제.png) no-repeat;
    cursor: pointer;
}

.btn-select {
    width: 55px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_선택.png) no-repeat;
    cursor: pointer;
}

.btn-manager {
    width: 55px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_Manager.png) no-repeat;
    cursor: pointer;
}

.btn-to {
    width: 18px;
    height: 18px;
    border: 0;
    background: url(/IMG/Button/dist_i.png) no-repeat;
    cursor: pointer;
}

.btn-hist {
    width: 55px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_이력.png) no-repeat;
    cursor: pointer;
}

.btn-cancel {
    width: 55px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_취소.png) no-repeat;
    cursor: pointer;
}

.btn-edit {
    width: 55px;
    height: 24px;
    border: 0;
    background: url(/IMG/Button/btn_i_Update.png) no-repeat;
    cursor: pointer;
}

/*콘텐트 스타일*/
.bbs-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/*검색 테이블 1줄 스타일*/
table.search-1-line {
    width: 100%;
    padding: 5px 5px 5px 35px;
    height: 44px;
    border-top: 1px solid #BCC0C7;
    border-bottom: 1px solid #BCC0C7;
    background-color: #F5F6FA;
    margin-bottom: 7px;
}

    table.search-1-line tr {
        font: bold 12px / 1.0 "맑은 고딕";
    }

    table.search-1-line th {
        text-align: right;
    }

    table.search-1-line input {
        border: 1px solid #D1D4DA;
    }

    table.search-1-line select {
        border: 1px solid #D1D4DA;
    }

/*검색 테이블 2줄 스타일*/
table.search-2-line {
    width: 100%;
    border-top: 1px solid #BCC0C7;
    border-bottom: 1px solid #BCC0C7;
    background-color: #F5F6FA;
    margin-bottom: 7px;
}

    table.search-2-line tr {
        font: bold 12px / 1.0 "맑은 고딕";
    }

    table.search-2-line th {
        padding: 5px 5px 5px 30px;
        height: 30px;
        text-align: right;
    }

    table.search-2-line input {
        border: 1px solid #D1D4DA;
    }

    table.search-2-line select {
        border: 1px solid #D1D4DA;
    }

/*게시판 검색 테이블 스타일*/
table.search-bbs {
    width: 420px;
    height: 44px;
    border-top: 1px solid #BCC0C7;
    border-bottom: 1px solid #BCC0C7;
    background-color: #F5F6FA;
    margin: 0px auto 7px auto;
}

    table.search-bbs tr {
        font: bold 12px / 1.0 "맑은 고딕";
    }

    table.search-bbs td {
        padding: 10px 3px;
        text-align: right;
    }

    table.search-bbs input {
        border: 1px solid #D1D4DA;
    }

    table.search-bbs select {
        border: 1px solid #D1D4DA;
    }

/*그리드 스타일*/
table.grid {
    border-collapse: collapse;
    border-top: 1px solid #BCC0C7;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 15px;
}

    table.grid tr, table.grid th, table.grid td {
        height: 30px;
        color: #434A54;
        font-family: 맑은 고딕, Tahoma;
        text-align: center;
        font-size: 12px;
    }

    table.grid th {
        border-bottom: 1px solid #BCC0C7;
        background-color: #F5F6FA;
        padding: 5px 3px;
    }

    table.grid tr {
        border-bottom: 1px solid #BCC0C7;
    }

    table.grid td {
        border-bottom: 1px solid #BCC0C7;
        padding: 5px 3px;
    }

/*부모 그리드 스타일*/
table.parentGrid {
    border-collapse: collapse;
    border-top: 1px solid #BCC0C7;
    width: 100%;
    margin-bottom: 20px;
}

    table.parentGrid tr, table.parentGrid th, table.parentGrid td {
        height: 25px;
        color: #434A54;
        font-family: 맑은 고딕, Tahoma;
        text-align: center;
        font-size: 12px;
    }

    table.parentGrid th {
        border-bottom: 1px solid #BCC0C7;
        background-color: #F5F6FA;
        padding: 5px 3px;
    }

    table.parentGrid tr {
        border-bottom: 1px solid #BCC0C7;
    }

    table.parentGrid td {
        border-bottom: 1px solid #BCC0C7;
        padding: 5px 3px;
    }

        table.parentGrid td.subArea {
            padding: 10px;
        }

/*자식 그리드 스타일*/
table.childGrid {
    border-collapse: collapse;
    border-top: 1px solid #BCC0C7;
    width: 100%;
    margin-bottom: 3px;
}

    table.childGrid tr, table.parentGrid th, table.parentGrid td {
        height: 25px;
        color: #434A54;
        font-family: 맑은 고딕, Tahoma;
        text-align: center;
        font-size: 12px;
    }

    table.childGrid th {
        border-bottom: 1px solid #BCC0C7;
        background-color: #F5F6FA;
        padding: 5px 3px;
    }

    table.childGrid tr {
        border-bottom: 1px solid #BCC0C7;
    }

    table.childGrid td {
        border-bottom: 1px solid #BCC0C7;
        padding: 5px 3px;
    }

/*요약표 그리드 스타일*/
table.card {
    border-collapse: collapse;
    border-top: 1px solid #BCC0C7;
    width: 100%;
    margin-top: 7px;
    margin-bottom: 15px;
}

    table.card tr, table.card th, table.card td {
        height: 25px;
        color: #434A54;
        font-family: 맑은 고딕, Tahoma;
        text-align: center;
        font-size: 12px;
    }

    table.card th {
        border-bottom: 1px solid #BCC0C7;
        background-color: #F5F6FA;
        padding: 5px 3px;
    }

    table.card td {
        border-bottom: 1px solid #BCC0C7;
        padding: 5px 3px;
    }

    table.card .upperLine {
        border-top: 1px solid #BCC0C7;
    }

/*페이저 스타일*/
/* ==========================
   Pagination
========================== */

.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 12px 0;
}

.pager-cnt {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

    .pager-cnt .total {
        color: #1f3a5f;
        font-weight: 700;
    }

.pager-num {
    display: flex;
    gap: 6px;
}

    .pager-num button {
        min-width: 38px;
        height: 38px;
        border: 1px solid #dee2e6;
        background: #fff;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #495057;
        transition: all .2s ease;
    }

        .pager-num button:hover:not(:disabled) {
            background: #f8fafc;
            border-color: #4d7bbd;
            color: #1f3a5f;
        }

    .pager-num .cur {
        background: #1f3a5f;
        color: #fff;
        border-color: #1f3a5f;
    }

    .pager-num .prev-disabled,
    .pager-num .next-disabled {
        opacity: .35;
        cursor: not-allowed;
    }

    /* 화살표 버튼 */
    .pager-num .prev,
    .pager-num .next,
    .pager-num .prev-disabled,
    .pager-num .next-disabled {
        min-width: 38px;
        width: 38px;
        padding: 0;
        font-size: 0;
    }

        .pager-num .prev::before,
        .pager-num .prev-disabled::before {
            content: "‹";
            font-size: 22px;
            font-weight: 500;
            line-height: 36px;
            display: block;
            text-align: center;
        }

        .pager-num .next::before,
        .pager-num .next-disabled::before {
            content: "›";
            font-size: 22px;
            font-weight: 500;
            line-height: 36px;
            display: block;
            text-align: center;
        }
/*
.pager {
    position: relative;
    height: 18px;
    margin: 15px 0;
}

.pager-cnt {
    position: absolute;
    left: 0px;
    color: #434A54;
}

    .pager-cnt .total {
        color: #94196B;
    }

.pager-num {
    position: relative;
    text-align: center;
}

    .pager-num button {
        border: 0;
        background: transparent;
        height: 18px;
        margin: 0 7px;
        line-height: 1.0;
        vertical-align: middle;
    }

    .pager-num .num {
        cursor: pointer;
    }

    .pager-num .cur {
        color: #94196B;
    }

    .pager-num .prev {
        width: 18px;
        background: url(/IMG/Button/btn_prev.gif) no-repeat;
        cursor: pointer;
    }

    .pager-num .prev-disabled {
        width: 18px;
        background: url(/IMG/Button/btn_prev.gif) no-repeat;
    }

    .pager-num .next {
        width: 18px;
        background: url(/IMG/Button/btn_next.gif) no-repeat;
        cursor: pointer;
    }

    .pager-num .next-disabled {
        width: 18px;
        background: url(/IMG/Button/btn_next.gif) no-repeat;
    }
*/

/*페이지타이틀 부분 스타일*/
.pageTitle {
    height: 36px;
    margin: 16px 0;
    font: bold 16pt / 1.5 "맑은 고딕";
    background: url(/IMG/Etc/ico_title.png) no-repeat;
    text-indent: 40px;
    color: #231815;
}

.sep {
    color: #CBCFD3;
}
/* > 구분자를 위한 스타일 */

/*서브타이틀 부분 스타일*/
.subTitle {
    height: 24px;
    margin: 7px 0;
    font: bold 14pt / 1.0 "맑은 고딕";
    color: #868D96;
}

/*메일타이틀 부분 스타일*/
.mailTitle {
    height: 24px;
    margin: 30px 0px 7px 0;
    font: bold 10pt / 1.0 "맑은 고딕";
    color: #4A86E8;
}

/*<span> 버튼*/
span.spanButton {
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

/*공통 스타일*/
.left {
    text-align: left !important;
}

.center {
    text-align: center !important;
}

.right {
    text-align: right !important;
    margin: 15px 15px
}

.essential {
    background-color: #FAE0F1;
    border-width: 1px;
}

/*마지막줄 버튼 컨테이너*/
p.footerButtonList {
    margin-bottom: 7px;
    padding-top: 30px;
    border-top: 2px solid #999;
    text-align: right;
}

p.title {
    padding: 5px 5px 5px 35px;
    border-top: 1px solid #BCC0C7;
    border-bottom: 1px solid #BCC0C7;
    background-color: #F5F6FA;
    margin-bottom: 7px;
}

    p.title input {
        border: 1px solid #D1D4DA;
    }

    p.title select {
        border: 1px solid #D1D4DA;
    }

/*배포 단계의 제목 줄*/
.title {
    padding: 15px 5px 15px 35px;
    border-top: 1px solid #BCC0C7;
    border-bottom: 1px solid #BCC0C7;
    background-color: #F6F8FA;
    margin-bottom: 7px;
}

    .title input {
        border-top: 1px solid #BCC0C7;
        border-bottom: 1px solid #BCC0C7;
    }

    .title select {
        border: 1px solid #BCC0C7;
    }

/*제목 줄임*/
.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    -moz-binding: url(/css/ellipsis.xml#ellipsis);
}

/*유저 ListColor*/
.listcolor {
    background: #ffedf9;
}
/*등록 수정팝업*/
.frm-userPopup {
    width: 100%;
    height: 400px;
}

.frm-coopPopup {
    width: 100%;
    height: 400px;
}

.div-table th {
    background-color: #F2F3F7;
}

.div-table td {
    width: 350px;
}

    .div-table td input {
        width: 100%;
        border: 1px solid #ccc;
    }

.div-table .radioGroup {
    border: 1px;
    width: 350px;
}

    .div-table .radioGroup input {
        width: auto;
    }

#dlg-userCreate, #dlg-userModify, #dlg-coopCreate, #dlg-coopModify {
    overflow: hidden;
}

/*사용자 수정 버튼*/
.edit-button {
    width: 125px;
    height: 38px;
    border: 0;
    background: url(/IMG/Button/btn_User-Update.png) no-repeat;
    cursor: pointer;
}

/*사용자 등록 버튼*/
.createNew-button {
    width: 125px;
    height: 38px;
    border: 0;
    background: url(/IMG/Button/btn_User-Create.png) no-repeat;
    cursor: pointer;
}

/* 고객사 수정 버튼*/
.co_edit-button {
    width: 139px;
    height: 38px;
    border: 0;
    background: url(/IMG/Button/btn_Customer-Update.png) no-repeat;
    cursor: pointer;
}

/* 고객사 등록 버튼*/
.co_createNew-button {
    width: 139px;
    height: 38px;
    border: 0;
    background: url(/IMG/Button/btn_Customer-Create.png) no-repeat;
    cursor: pointer;
}


/*협력업체, 사용자 팝업 버튼 스타일*/
div.user-create button {
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.button_img-table {
    padding-bottom: 10px;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.btnCus {
    width: 135px;
    height: 32px;
    border: solid 1px #94196b;
    margin: 0px 3px;
    background-color: #94196B;
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
    font-family: "MalgunGothicBold, Malgun Gothic";
}

.loading {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
}

.loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
}

/* jwlee add */
/* 말풍선 */
.box {
    position: relative;
}

.tooltip_new {
    position: absolute;
    left: 0px;
    top: 30px;
    background: #646FD4;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    display: none;
}

    .tooltip_new:after {
        display: block;
        content: '';
        position: absolute;
        top: -7px;
        left: 65px;
        width: 0px;
        height: 0px;
        border-top: 8px solid none;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #646FD4;
    }

.box:hover .tooltip_new {
    display: block;
    width: 200px;
    z-index: 100;
    opacity: 0.8;
}
/* 말풍선 */

/* SweetAlert 개선 */
/* SweetAlert 카드형 */
.custom-swal-popup {
    width: 480px !important; /* 기존 380 -> 확대 */
    border-radius: 20px !important;
    padding: 35px 40px 30px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}


/* 제목 */
.custom-swal-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1f3a5f !important;
    margin-bottom: 20px !important;
}


/* 내용 */
.swal-content {
    background: #f8fafc;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    padding: 22px 25px;
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    /* 긴 문장 처리 */
    white-space: normal;
    word-break: keep-all;
}


/* 버튼 */
.custom-swal-btn {
    border-radius: 12px !important;
    padding: 12px 45px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* 제목 + 배지 */
.swal-title-wrap {

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

}


/* 배지 공통 */
.swal-badge {

    font-size:12px;
    padding:5px 10px;

    border-radius:20px;

    font-weight:700;

    letter-spacing:.5px;

}


/* INFO */
.swal-info {

    background:#e8f1ff;
    color:#4d7bbd;

}


/* WARNING */
.swal-warning {

    background:#fff3cd;
    color:#856404;

}


/* ERROR */
.swal-error {

    background:#fde8e8;
    color:#c0392b;

}


/* SUCCESS */
.swal-success {

    background:#e6f6ec;
    color:#198754;

}


/* Loading */
/* 전체 마스크 */
.div_mask {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(4px);
}

.loading-box {
    width: 450px;
    max-width: 90%;
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.08);
    animation: loadingFade .25s ease;
}

    .loading-box .spinner-border {
        width: 4rem;
        height: 4rem;
        border-width: .35em;
    }

.loading-title {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.loading-desc {
    margin-top: 10px;
    font-size: 15px;
    color: #6b7280;
}

@keyframes loadingFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Loading End */

/* jwlee add */