@import url(reset.css);

body:after { content:''; display:block; position:absolute; top:0; left:0; width:100%; height:40vh; background-color:#5E72E4; z-index:-1; }
main.admin-main { padding:40px 0 0; }

/* navbar */
#nav-wrap { position:absolute; top:10px; left:50%; transform:translate(-50%, 0); width:calc(100% - 48px); margin:0; padding:0; }
#navbar .user-info { display:flex; align-items:center; gap:0 10px; }
#navbar .user-info > div { font-size:14px; color:#fff; }
#navbar .user-info > a { font-size:14px; color:#fff; width: 76px; height: 30px; display: flex; align-items: center; justify-content: center; background-color:#252F40; font-weight:600; border-radius:5px; }

/* sidebar */
#sidenav-collapse-main .cate-title { justify-content: space-between;  }
#sidenav-collapse-main .cate-title span { display:flex; align-items:center; gap:0 6px; }
#sidenav-collapse-main .cate-title span img { width:18px; }
#sidenav-collapse-main .cate-title:not(.no-child):after { content:''; transition:all .3s; transform:rotate(180deg); display:block; width:16px; height:16px; background:url('/images/ico/arrow-down.png') no-repeat center / cover; }
#sidenav-collapse-main .cate-title:not(.no-child)[aria-expanded="false"]:after { transform:rotate(0deg); }
#sidenav-collapse-main .cate-cover > ul > li > a { padding: 10px 16px 10px 50px; }
#sidenav-collapse-main a { border-radius:6px; }
#sidenav-collapse-main a:hover { background-color:#CED4F7; font-weight:bold; }

/* etc */
#common-container { padding:90px 0; }

/* page-title */
#page-title {  }
#page-title h1 { color:#fff; font-size:28px; padding:0 50px; margin:0; }
#page-title + .w-full { padding-top:20px; }

.center {
    width: 1400px;
    margin: auto;
}

#header {
    display: flex;
    position: fixed;
    height: 80px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 999;
}
#header .center {
    display: flex;
    align-items: center;
    height: 100%;
}
#header h1 {
    margin-right: 100px;
}
#header .nav .depth1 {
    display: flex;
    align-items: center;
}

#header .nav .depth1 > li:not(:first-child) {
    margin-left: 70px;
}
#header .nav .depth1 > li > .menu {
    display: flex;
    position: relative;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 80px;
    box-sizing: border-box;
    cursor: pointer;
}
#header .nav .depth1 > li > .menu.active {
    color: #ed1c24;
}
#header .nav .depth1 > li:hover > .menu::after {
    display: inline-block;
    content: "";
    position: absolute;
    bottom: 13px;
    left: calc(50% - 2px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ed1c24;
}
#header .nav .depth1 > li:hover .depth2_wrap {
    display: flex;
}
#header .nav .depth2_wrap {
    display: none;
    position: absolute;
    align-items: center;
    top: 80px;
    height: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
}
#header .nav .depth2 {
    padding-left: 215px;
}
#header .nav .depth2 > li {
    color: #333;
    font-size: 16px;
    line-height: 24px;
}
#header .nav .depth2 > li:not(:first-child) {
    margin-left: 50px;
}
#header .nav .depth2 > li .menu {
    display: inline-block;
    position: relative;
    word-break: keep-all;
    font-weight: 500;
    font-size: 17px;
    line-height: 60px;
}
#header .nav .depth2 > li .menu::after {
    content: "";
    display: block;
    bottom: -1px;
    left: 0;
    width: 100%;
    border-bottom: 2px solid transparent;
}
#header .nav .depth2 > li .menu.active {
    color: #ed1c24;
}
#header .nav .depth2 > li .menu:hover::after {
    content: "";
    display: block;
    bottom: -1px;
    left: 0;
    width: 100%;
    border-bottom: 2px solid #ed1c24;
}
#header .nav .depth1 li:nth-of-type(2) ul.depth2{
    padding-left: 357px;
}

/* 220504 로그아웃 위치 수정 */
#header .nav { display:flex; width:100%; justify-content: space-between; }
#header .nav .user_info > ul { display:flex; }
#header .nav .user_info > ul > li { margin-left:70px; }
#header .nav .user_info > ul > li:first-child { margin-left:0; }
#header .nav .user_info > ul > li a { display:flex; align-items:center; font-size:20px; font-weight:500; line-height:80px; box-sizing:border-box; cursor:pointer; }


#main {
    min-height: 100vh;
    padding: 120px 0 40px;
    background: #f7f7f7;
}

#main h2 {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 33px;
    font-weight: 600;
}

/* input 박스 */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"] {
    display: inline-flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #CFCFCF;
    border-radius: 0px;
    color: #333;
    height:40px;
}
input::placeholder,
textarea::placeholder {
    color: #999;
}

textarea {
    border: 1px solid #CFCFCF;
    width: 100%;
    padding: 20px;
    line-height: 22px;
    resize: none;
}
textarea:disabled {
    background: #fff;
    color: #000;
}

select {
    width: 158px;
    background: url("/images/ico/arrow-down.png") no-repeat center right 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select::-ms-expand {
    display: none;
}

button{
    border-radius: 3px;
}

/*체크박스*/
.checks {
    position: relative;
}
.checks input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.checks input[type="checkbox"] + label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.label_disable {
    cursor: default !important;
}
.checks input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin: -3px 10px 0 0;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 1px;
    box-sizing: border-box;
}
.checks input[type="checkbox"]:checked + label:before {
    background: #fff url(/images/ico_checked.png) no-repeat center;
    border: 1px solid #ed1c24;
}
.checks input[type="checkbox"]:disabled + label::before {
    background: #eee url(/images/ico_disabled.png) no-repeat center;
    border: 1px solid #d1d1d1;
}

/*라디오버튼*/
.radios {
    position: relative;
}
.radios input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.radios input[type="radio"] + label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.radios input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin: -3px 10px 0 0;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 50%;
    box-sizing: border-box;
}
.radios input[type="radio"]:checked + label:before {
    background: url(/images/ico_radio.png) no-repeat center;
    border: 1px solid #ed1c24;
}

/*페이지네이션*/
.pagination_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    cursor: pointer;
}
.pagination_wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #555;
}
.pagination_wrap a.prev_page {
    background: url("/images/arr_prev.png") no-repeat center;
}
.pagination_wrap a.next_page {
    background: url("/images/arr_next.png") no-repeat center;
}
.pagination_wrap span {
    display: flex;
    align-items: center;
    margin: 0 10px;
}
.pagination_wrap span a:not(:first-child) {
    margin-left: 10px;
}
.pagination_wrap span .current {
    background: #222;
    border-radius: 50%;
    color: #fff;
    font-weight: 500;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    line-height: 34.75px;
}

/*버튼*/
.reset_btn {
    display: inline-block;
    height: 40px;
    width: 120px;
    padding-left: 49px;
    border: 1px solid #222;
    background: url(/images/ico_reset.png) no-repeat left 29px center;
    text-align: left;
    font-size: 15px;
}
.btn_wrap {
    display: flex;
    justify-content: center;
}
.page_btn_wrap {
    margin-top: 40px;
}
/*팝업 버튼*/
.pop_btn + .pop_btn {
    margin-left: 10px;
}
.pop_btn {
    width: 150px;
    padding: 9px 0;
    border: 1px solid #ed1c24;
    border-radius: 3px;
    font-size: 16px;
    line-height: 24px;
    color: #ed1c24;
    font-weight: 500;
}
.long_btn {
    width: 310px;
}
/*카드 버튼*/
.card_btn {
    display: flex;
    align-items: center;
    width: 120px;
    height: 40px;
    border: 1px solid #222;
    background: #222;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    justify-content: center;
}
.reset_btn + .card_btn {
    margin-left: 10px;
}
.card_btn + .card_btn {
    margin-left: 10px;
}
/*페이지 버튼*/
.page_basic_btn {
    padding: 9px 80px;
    border: 1px solid #ed1c24;
    background: #fff;
    border-radius: 40px;
    font-size: 16px;
    color: #ed1c24;
    font-weight: 500;
    line-height: 24px;
}
.page_basic_btn + .page_basic_btn {
    margin-left: 10px;
}
/*테이블 버튼*/
.tb_basic_btn {
    padding: 7px 19px;
    border: 1px solid #333;
    border-radius: 2px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 21px;
}
.tb_basic_btn + .tb_basic_btn {
    margin-left: 5px;
}
.tb_btn {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 40px;
    font-size: 12px;
    background: #ed1c24;
    font-weight: 600;
    color: #fff;
    line-height: 18px;
}

.tb_btn.small_btn {
    padding: 5px 10px;
}
.tb_btn.large_btn {
    width: 68px;
    font-size: 13px;
    line-height: 19.5px;
}

.red_outline {
    border: 1px solid #ed1c24;
    background: #fff;
    color: #ed1c24;
}
.gray_btn {
    background: #ececec;
    color: #afafaf;
}

.red_btn {
    background: #ed1c24;
    border: 1px solid #ed1c24;
    color: #fff !important;
}
.c_btn {
    background: #3c3c3c;
    border: 1px solid #3c3c3c;
    color: #fff;
}
.gray_btn {
    background: #ececec;
    color: #afafaf;
}

.align_left {
    text-align: left !important;
}

.select_box {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 150px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    background: url("/images/arr_select.png") no-repeat center right 15px;
    cursor: pointer;
}
.select_box.active {
    border-radius: 2px 2px 0 0;
    border: 1px solid #ed1c24;
    background: url("/images/arr_select_close.png") no-repeat center right
        15px;
}
.select_box label {
    display: flex;
    line-height: 23px;
    cursor: pointer;
}
.select_box ul {
    display: none;
    position: absolute;
    width: 150px;
    top: 38px;
    left: -1px;
    background: #fff;
    border: 1px solid #ed1c24;
    border-radius: 0 2px 2px 0;
    box-sizing: border-box;
    z-index: 99;
}
.select_box.active ul {
    display: block;
    border: 1px solid #ed1c24;
    border-top: 1px solid #dfdfdf;
}
.select_box ul li {
    width: 100%;
    padding: 9px 15px;
    line-height: 22px;
    cursor: pointer;
}
.select_box ul li:hover {
    background: #ed1c24;
    color: #fff;
}
.select_box.small {
    height: 37px;
    width: 120px;
    padding: 8px 24px 8px 12px;
}
.select_box.small label {
    font-size: 14px;
    line-height: 21px;
}
.select_box.small ul {
    top: 35px;
    width: 120px;
}
.select_box.small ul li {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 21px;
}

/*카드*/
.card {
    width: 1400px;
    margin: auto;
    background: #fff;
    padding: 40px;
}
.card + .card {
    margin-top: 40px;
}
.card + h2 {
    margin-top: 40px;
}
.tb_form .btn_wrap {
    justify-content: center;
    margin-top: 40px;
}

.card_title {
    display: flex;
    position: relative;
    padding-left: 13px;
    margin-bottom: 20px;
}
.card_title::after {
    display: inline-block;
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 3px;
    height: 16px;
    background: #ed1c24;
}
.card_title p {
    font-size: 17px;
    font-weight: 500;
    line-height: 25px;
    color: #3c3c3c;
}

/*검색폼/작성폼*/
.table { width:100%; padding:0 20px; text-align:center; }
.tb_form table {
    width: 100%;
    border-bottom: 1px solid #EDEFF0;
}
.tb_form table tr th,
.tb_form table tr td {
    height: 60px;
    padding: 0 20px;
    border-top: 1px solid #EDEFF0;
    line-height: 20px;
    color: #555;
}
.tb_form table tr th {
    padding: 20px 0 20px 20px;
    background: #f9f9f9;
    text-align: left;
}
.tb_form table tr th.align_top {
    vertical-align: top;
}
.search_form .date {
    display: flex;
    align-items: center;
}
.search_form .date .datepicker {
    position: relative;
    display: inline-block;
    width: 220px;
    padding-left: 40px;
    background: url(/images/ico_calendar.png) no-repeat left 0 center;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    cursor: pointer;
    color: #aaa;
    text-align: center;
}

.search_form .checks {
    display: inline-block;
}
.search_form .checks:not(:first-child) {
    margin-left: 30px;
}
.search_form .search_word_wrap {
    display: flex;
}
.search_word {
    display: inline-block;
    margin-left: 5px;
    width: 305px;
}
.selectBoxWrap {
    display: flex;
}
.selectBoxWrap .select_box:not(:first-child) {
    margin-left: 5px;
}

/*테이블 리스트*/
.cnt_wrap {
    margin-bottom: 20px;
}
.cnt_wrap span {
    line-height: 21px;
    font-size: 14px;
}
.cnt_wrap #selected_cnt {
    font-weight: 500;
}
.cnt_wrap .total_cnt {
    color: #838383;
}
.single_cnt_wrap {
    font-size: 14px;
    color: #747474;
}
.single_cnt_wrap .total_cnt {
    color: #000;
    font-weight: 500;
}
.tb_list {
    width: 100%;
}
.tb_list.dataTable thead th {
    padding: 0;
    height: 60px;
    background: #f9f9f9;
    font-weight: 500;
}
table.tb_list.dataTable tbody td {
    padding: 20px 10px;
    line-height: 22px;
    text-align: center;
    border-bottom: 1px solid #f2f2f4;
}
.tb_list .checks input[type="checkbox"] + label::before {
    margin-right: 0;
}
.tb_list_popup {
    width: 100%;
}
.tb_list_popup th {
    padding: 0 !important;
    height: 55px;
    background: #f9f9f9;
}
.tb_list_popup td {
    padding: 20px 10px !important;
    line-height: 22px;
    text-align: center;
    border-bottom: 1px solid #f2f2f4;
}
.tb_list_popup .checks input[type="checkbox"] + label::before {
    margin-right: 0;
}
.tag {
    display: inline-block;
    padding: 0 6px;
    margin-bottom: 3px;
    border: 1px solid #ed1c24;
    border-radius: 3px;
    color: #ed1c24;
    font-size: 11px;
    line-height: 17px;
}

/*날씨*/
#ui-datepicker-div.ui-datepicker {
    width: 320px;
    height: 320px;
    padding: 25px;
    margin-top: 10px;
    font-family: "Noto Sans KR";
    border-radius: 2px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}
#ui-datepicker-div .ui-widget.ui-widget-content {
    border: 1px solid #dfdfdf;
}
#ui-datepicker-div.ui-datepicker p,
#ui-datepicker-div.ui-datepicker span {
    font-family: "Noto Sans KR";
}
#ui-datepicker-div .ui-widget-header {
    padding: 0;
    margin-bottom: 20px;
    background: #fff;
    border: none;
}
#ui-datepicker-div .ui-widget-header .ui-icon {
    background-image: url(/images/arr_next.png);
}
#ui-datepicker-div .ui-icon-circle-triangle-w,
#ui-datepicker-div .ui-icon-circle-triangle-e {
    background-position: center;
}
#ui-datepicker-div .ui-widget-header .ui-icon-circle-triangle-w {
    background-image: url(/images/arr_prev.png);
}
#ui-datepicker-div.ui-datepicker .ui-datepicker-title {
    padding-top: 3px;
    font-size: 16px;
    line-height: 23px;
}
#ui-datepicker-div.ui-datepicker .ui-datepicker-month,
#ui-datepicker-div.ui-datepicker .ui-datepicker-year {
    width: auto;
    border: none;
    font-weight: 500;
}
#ui-datepicker-div.ui-datepicker table th {
    padding: 0 0 9px 0;
    height: 31px;
    font-weight: 400;
    font-size: 14px;
}
#ui-datepicker-div.ui-widget-content .ui-state-default,
#ui-datepicker-div .ui-state-disabled .ui-state-default {
    border: none;
    background: #fff;
}
#ui-datepicker-div.ui-datepicker td {
    padding: 5px 0;
    text-align: center;
}
#ui-datepicker-div.ui-datepicker td .ui-state-default {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
    line-height: 28px;
    font-size: 14px;
    color: #000;
    text-align: center;
}
#ui-datepicker-div.ui-widget-content td .ui-state-highlight {
    background: rgb(138 138 244 / 20%);
    border-radius: 50%;
    font-weight: 500;
    color: #000;
}
#ui-datepicker-div.ui-widget-content td .ui-state-active {
    background: #5E72E4;
    border-radius: 50%;
    color: #fff;
    font-weight: 500;
}
#ui-datepicker-div.ui-widget-content td.ui-datepicker-week-end a {
    color: #de5e45;
}
#ui-datepicker-div.ui-widget-content
    td.ui-datepicker-week-end
    a.ui-state-active {
    color: #fff;
}

/*alert 팝업*/
.popup {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}
.dimmed {
    background: rgba(0, 0, 0, 0.6);
}
.confirm_popup .popup_inner {
    width: 370px;
    height: 220px;
    padding: 70px 0 30px;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 17px;
    line-height: 25px;
}
.confirm_popup .popup_inner .btn_wrap {
    justify-content: center;
    margin-top: 50px;
}

/*일반 팝업*/
.normal_popup .popup_wrap {
    max-height: 800px;
    width: 520px;
}

.popup_wrap {
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

.popup_title {
    position: relative;
    padding: 19px 0;
    border-bottom: 1px solid #f1f2f3;
}

.popup_title p {
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    text-align: center;
}
.popup_title .pop_close {
    position: absolute;
    top: 25px;
    right: 30px;
}
.popup_wrap .popup_inner {
    overflow-y: auto;
    max-height: calc(800px - 67px);
    padding: 30px;
}
.popup_wrap .btn_wrap {
    justify-content: center;
}

.gray_text {
    color: #666;
}
.custom_scroll::-webkit-scrollbar {
    width: 14px;
}

.custom_scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
    background-clip: padding-box;
    border: 5px solid transparent;
}

.custom_scroll::-webkit-scrollbar-track {
    background-color: none;
}

/*추가된 아이템*/
.added_item_list {
    display: flex;
    flex-wrap: wrap;
}
.added_item_list .added_item {
    display: inline-block;
    position: relative;
    padding: 5px 35px 6px 13px;
    margin-top: 15px;
    background: #3c3c3c;
    border-radius: 40px;
}
.added_item_list .added_item:not(:last-child) {
    margin-right: 10px;
}
.added_item_list .added_item p {
    line-height: 22px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}
.added_item_list .added_item .del_prd_btn {
    position: absolute;
    top: 7px;
    right: 13px;
    cursor: pointer;
}
.category_hide {
    display: none;
}
.hidetype {
    display: none;
}
.detail_disabled {
    cursor: default !important;
}
/*.review_view_list_container {*/
/*  display: flex;*/
/*  flex-direction: row;*/
/*}*/
.review_view_list_container > .checks {
    display: inline-block;
}
.review_view_list_container > .checks:not(:first-child) {
    margin-left: 30px;
}
.displaynone {
    display: none !important;
}
.page_title {
    display: none !important;
    font-size: 0;
}

.dataTable-table > thead > tr > th { border-top:1px solid #d9d9d9 !important; }
.dataTable-wrapper.no-footer .dataTable-container { margin:2rem 0 0; border-bottom:1px solid #d9d9d9 !important }
.dataTable-dropdown > label { position:absolute; top:0; left:0; visibility: hidden; width: 0; height: 0; overflow: hidden; }
/* 커스텀 셀렉트 컨테이너 */
.dataTable-dropdown .custom-select-box { min-width:120px; position: relative; width: 100%; cursor: pointer; background: #fff; border-radius: 8px; font-size: 16px; text-align: left; }
/* 선택된 값이 보여지는 영역 */
.dataTable-dropdown .selected-value { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; }
.dataTable-dropdown .selected-value:hover { border-color: #94a3b8; }
/* 옵션 리스트 (기본 숨김) */
.dataTable-dropdown .options-list { position: absolute; top: calc(100% + 5px); left: 0; width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); z-index: 50; display: none; /* 클릭 시 노출 */ max-height: 200px; overflow-y: auto; }
/* 개별 옵션 */
.dataTable-dropdown .option-item { padding: 10px 12px; transition: background 0.2s; }
.dataTable-dropdown .option-item:hover { background: #f1f5f9; color: #5e72e4; /* Argon 테마 포인트 컬러 */ }
/* 화살표 아이콘 애니메이션 */
.dataTable-dropdown .selected-value::after { content:''; display:block; width:14px; height:14px; background:url("/images/ico/arrow-down.png") no-repeat center/14px; transition: transform 0.3s; }
.dataTable-dropdown .custom-select-box.active .selected-value::after { transform: rotate(180deg); }

/* datatable-top */
.dataTable-wrapper .dataTable-top { display:flex; align-items:center; padding:0 1.5rem !important; }
.dataTable-wrapper .dataTable-top .dataTable-search input { height:auto; padding: 8px 12px; font-size: 16px !important; min-width: 250px; max-width: 250px; border-color:#e2e8f0 !important; }
.dataTable-wrapper .dataTable-top .dataTable-search input:focus { border-color:#e2e8f0 !important; }

/* empty */
.dataTable-wrapper .dataTable-container .table tbody tr td.dataTables-empty { padding:150px 0; }

