/* *******************************************************
 * filename : contents.css
 * description : 기본 레이아웃 및 컨텐츠 CSS
 * date : 2025-02-12
******************************************************** */

/* login */
/*=======================================================================================*/
.login_wrap {
    background: url(../images/BG_LOGIN.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

.login_wrap .inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

.login_wrap .inner_top {
    margin-bottom: 30px;
    border-bottom: 1px dashed #bbbbbb;
    padding: 50px 60px 30px;
}

.login_wrap h2 {
    font-size: 38px;
    margin-bottom: 15px;
    text-align: center;
}

.login_wrap h2 span {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.5px;
    padding-right: 5px;
}

.login_wrap .desc {
    text-align: center;
    line-height: 1.8;
    color: #333333;
}

.login_wrap .inner_form {
    max-width: 320px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.login_wrap h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 15px;
}

.login_wrap .form_element_wrap {
    margin-bottom: 8px;
    width: 100%;
}

.login_wrap .form_element_wrap i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b5c58;
}

.login_wrap .form_element_wrap .form_input {
    padding-left: 40px;
}

.login_wrap .lost_password {
    margin-bottom: 10px;
}

.login_wrap .btn {
    display: block;
    width: 100%;
    border-radius: 4px;
    height: 36px;
    line-height: 36px;
}

.login_wrap .bottom_text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    color: #808080;
    text-align: center;
}

/* search_box */
/*=======================================================================================*/
.search_box {
    margin: 0 auto;
    position: relative;
    padding: 15px 20px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

.search_box .row {
    display: flex;
    align-items: center;
    gap: 10px 40px;
    flex-wrap: wrap;
}

.search_box .form_cont_wrap>label {
    min-width: auto;
    padding-right: 20px;
}

.search_box .form_cont_wrap>.form_cont {
    min-width: 130px;
}

.search_box .form_element_wrap {
    width: 100%;
}

.search_box>.btn {
    margin-left: auto;
    height: 36px;
    line-height: 35px;
    padding: 0 20px;
    border-radius: 6px;
    min-width: 100px;
    font-size: 14px;
}

/* board_list_wrap */
/*=======================================================================================*/
.board_list_wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    padding: 20px;
    height: calc(100% - 85px);
    overflow-y: auto;
}

.board_list_wrap.h600 {
    height: 600px;
}

/* board_bottom_wrap */
.board_bottom_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 36px;
}

.board_bottom_wrap .btn {
    display: inline-block;
    vertical-align: middle;
    height: 36px;
    line-height: 35px;
    border-radius: 6px;
    padding: 0 20px;
    min-width: 120px;
}

.board_bottom_wrap .pageing_wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.board_bottom_wrap.small .btn {
    height: 30px;
    line-height: 30px;
    min-width: 80px;
}

/* table */
/*=======================================================================================*/
.table_wrap {
    border-bottom: 2px solid #636772;
}

/* stiky_head */
.table_wrap.stiky_head {
    overflow-y: auto;
    position: relative;
}

.table_wrap.stiky_head.max-h500 {
    max-height: 500px;
}

.table_wrap.stiky_head.max-h400 {
    max-height: 400px;
}

.table_wrap.stiky_head .table thead {
    position: sticky;
    z-index: 99;
    left: 0;
    top: 0;
}

.table_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.table_top .left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.table_top .right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.table_top .btn {
    height: 26px;
    line-height: 26px;
    border-radius: 6px;
    padding: 0 15px;
    min-width: 80px;
}

.table {
    border-spacing: 0;
    width: 100%;
}

.table caption {
    font-size: 0;
    line-height: 0;
    display: none;
}

.table thead th {
    background: #515a60;
    padding: 10px 0;
    color: #fff;
    font-weight: 400;
    height: 20px;
}

.table thead th.checks {
    padding: 10px 5px;
}

.table thead th:first-child {
    border-radius: 4px 0 0 4px;
}

.table thead th:last-child {
    border-radius: 0 4px 4px 0;
}

.table tbody tr {
    position: relative;
    background: #fff;
}

.table tbody tr:nth-child(2n) {
    background: #f6f8f9;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody td {
    padding: 10px 0;
    word-break: keep-all;
    text-align: center;
    min-height: 50px;
    line-height: 1.2;
}

.table tbody tr.active {
    background: #f7f7b6 !important;
}

.table tbody td.left {
    text-align: left;
}

.table tbody td.none_list {
    padding: 50px 0;
    font-size: 15px;
}

.table tbody td:first-child {
    border-radius: 4px 0 0 4px;
}

.table tbody td:last-child {
    border-radius: 0 4px 4px 0;
}

.table tbody tr:last-child td:first-child {
    border-radius: 4px 0 0 0;
}

.table tbody tr:last-child td:last-child {
    border-radius: 0 4px 0 0;
}

.table tbody td.font_red {
    color: #e2065e;
}

.table tbody td a {
    color: #168eea;
    text-decoration: underline;
}

.table tbody td.insert {
    height: 20px !important;
    padding: 0;
    transition: all .3s ease;
    color: #8a8381;
}

.table tbody td.insert:hover {
    height: 40px !important;
    color: #f14c00;
    cursor: pointer;
    text-decoration: underline;
}

/* time */
.table tbody td .time {
    line-height: 1;
}

.table tbody td .time em {
    display: block;
    color: #a29a94;
}

/* btn */
.table tbody td .btn {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    box-sizing: border-box;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 12px;
}

.table tbody td .btn i {
    vertical-align: middle;
    margin-right: 2px;
}

.table tbody td .btn span {
    vertical-align: middle;
}

/* status */
.status {
    position: relative;
    display: inline-block;
    padding-left: 18px;
}

.status::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
}

.status.green::before {
    background: linear-gradient(#56c204, #429404);
    border: 1px solid #317002;
}

.status.red::before {
    background: linear-gradient(#d50427, #94061e);
    border: 1px solid #94061e;
}

.status.gray::before {
    background: #bfbfbf;
    border: 1px solid #a5a5a5;
}

.status.yellow::before {
    background: linear-gradient(#ffe600, #f1c501);
    border: 1px solid #ce9f03;
}

.status.blue::before {
    background: linear-gradient(#168eea, #0779cf);
    border: 1px solid #0163ad;
}

.status_withdrawal {
    color: #e4052a;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* thumb */
.tb_thumb {
    display: inline-block;
    aspect-ratio: 1/1;
    font-size: 0;
    line-height: 0;
    width: 70px;
    height: 70px;
    border-radius: 4px;
    margin: 0 auto;
    background: #f1f1f1;
    position: relative;
}

.tb_thumb img,
.tb_thumb video {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: 50% 50%;
}

.image-popup {
    display: none;
    position: fixed;
    border: 1px solid #dddddd;
    background-color: white;
    padding: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: 500px;
    height: 500px;
    border-radius: 4px;
}

.image-popup img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* table - type2 */
.table.type2 {
    border: 1px solid #dae0e3;
    max-width: 83.5%;
}

.table.type2 tbody tr:nth-child(2n) {
    background: #fff;
}

.table.type2 tbody th {
    border-bottom: 1px solid #dae0e3;
    background: #f3f3f3;
    text-align: left;
    padding-left: 20px;
}

.table.type2 tbody td {
    border-bottom: 1px solid #dae0e3;
    height: auto;
}

/* pageing_wrap */
/*=======================================================================================*/
.pageing_wrap {
    margin: 0 auto;
}

.pageing_wrap ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.pageing_wrap ul li {
    height: 30px;
    line-height: 30px;
    width: 30px;
    position: relative;
}

.pageing_wrap ul li::after {
    content: "";
    background: #e3dedc;
    width: 1px;
    height: 12px;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.pageing_wrap ul li:last-child::after {
    display: none;
}

.pageing_wrap ul li a {
    display: block;
    font-size: 15px;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.pageing_wrap ul li.active a {
    background: linear-gradient(217deg, #474747, #565757);
    border-radius: 13px;
    color: #fff;
}

/* basic_box */
/*=======================================================================================*/
.basic_box {
    margin: 0 auto;
    position: relative;
    padding: 15px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
}

.basic_box>h3 {
    background: #e7e7e7;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 15px;
    margin-bottom: 15px;
}

.basic_box>h3 .btn_wrap {
    display: inline-block;
    padding-left: 10px;
}

.basic_box>h3 .btn_wrap .btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 6px;
}

.basic_box>h3>span {
    font-size: 14px;
    color: #474747;
    padding-left: 20px;
}

.basic_box .row {
    display: flex;
    align-items: center;
    gap: 10px 50px;
    margin-bottom: 10px;
}

.basic_box .row.divide_preview {
    align-items: normal;
    gap: 20px;
}

.basic_box .row.divide_preview .column {
    flex: none;
}

.basic_box .row.divide_preview .column:first-child {
    border-right: 1px dashed #e2e2e2;
    padding-right: 20px;
}

.basic_box .row:last-child {
    margin-bottom: 0;
}

.basic_box .row .column {
    flex: 1;
}

.basic_box .row.tb_box {
    padding-top: 20px;
    border-top: 1px dashed #d2cecc;
    margin-top: 20px;
}

.basic_box .row.tb_box .column {
    padding: 15px 20px;
    background: #f7f7f7;
    border-radius: 4px;
}

.basic_box .row.tb_box .column>h4 {
    margin-bottom: 5px;
    font-size: 15px;
}

/* basic_box - table */
.basic_box .table tbody td {
    height: 46px;
}

.bottom_desc {
    border-top: 1px dashed #cacaca;
    padding-top: 10px;
}

/* basic_box_bottom */
/*=======================================================================================*/
.basic_box_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}

.basic_box_bottom .btn {
    display: inline-block;
    vertical-align: middle;
    height: 36px;
    line-height: 35px;
    border-radius: 6px;
    padding: 0 20px;
    min-width: 120px;
}

.basic_box_bottom .left,
.basic_box_bottom .right {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* category_wrap */
/*=======================================================================================*/
.category_wrap {
    padding: 15px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
    overflow-x: auto;
}

.category_wrap .row {
    display: flex;
    gap: 10px;
}

.category_wrap .row .column.divide {
    border-right: 2px dotted #d2cecc;
    padding-right: 20px;
    margin-right: 10px;
}

.category_wrap .category_set {
    background: #f6f7f9;
    box-shadow: 0 0 15px inset rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    padding: 15px 15px;
    min-width: 280px;
}

.category_wrap .category_set h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}


.category_wrap .category_set .categoy_choice {
    border: 1px solid #d2cecc;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    height: 190px;
    margin-bottom: 5px;
    overflow-y: auto;
}

.category_wrap .category_set .categoy_choice ul {
    padding: 5px 0;
}

.category_wrap .category_set .categoy_choice ul li {
    padding: 5px 10px;
    cursor: pointer;
}

.category_wrap .category_set .categoy_choice ul li.active {
    background: #168eea;
    color: #fff;
}

.category_wrap .category_set .form_element_wrap {
    margin-bottom: 6px;
    width: 100%;
}

.category_wrap .category_set .form_element_wrap .form_select {
    height: auto;
    padding: 10px 0;
}

.category_wrap .category_set .form_element_wrap .form_select option {
    padding: 5px 10px;

}

.category_wrap .category_set .form_element_wrap .form_select option:checked {
    background: #168eea;
    color: #fff;
}

.category_wrap .category_set .form_element_wrap.radio_wrap {
    display: flex;
}

.category_wrap .category_set .form_element_wrap.radio_wrap .btn {
    height: 30px;
    line-height: 30px;
    margin-left: auto;
}

.category_wrap .category_set .btn_wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.category_wrap .category_set .btn_wrap .btn {
    height: 36px;
    border-radius: 6px;
    padding: 0 15px;
    flex: 1;
}

.category_wrap .category_set .btn_sequence_wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category_wrap .category_set .btn_sequence_wrap .btn {
    height: 36px;
    border-radius: 6px;
    padding: 0 15px;
}

.category_wrap .category_set .btn_sequence_wrap .btn:first-child {
    flex: 1;
}

/* preview_wrap */
/*=======================================================================================*/
.preview_wrap h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.preview_wrap .preview_box {
    width: 100%;
    background: #f5f5f5;
    border-radius: 4px;
    position: relative;
}

.preview_wrap .preview_box .txt {
    position: absolute;
    overflow: hidden;
    word-break: keep-all;
    z-index: 99;

}

.preview_wrap .preview_box .txt.vertical {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /* 세로형 텍스트 모드 */
    text-orientation: mixed;
    letter-spacing: -3px;
}

.preview_wrap .preview_box::after {
    content: "만장, 화환 이미지 미리보기 영역";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    color: #fff;
    font-size: 40px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    word-break: keep-all;
}

/* preview_detail_wrap */
/*=======================================================================================*/
.preview_detail_wrap h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.preview_detail_wrap .top {
    padding-bottom: 10px;
    border-bottom: 1px dashed #cacaca;
    margin-bottom: 10px;
}

.preview_detail_wrap .top .btn {
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    padding: 0 15px;
    min-width: 100px;
}

.preview_detail_wrap .cont {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 10px 15px;
    box-shadow: 0 0 20px inset rgba(0, 0, 0, 0.06);
}

.preview_detail_wrap .cont h3 {
    border-bottom: 1px solid #cacaca;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.preview_detail_wrap .form_cont_wrap>label {
    min-width: 150px;
}

.preview_detail_wrap .form_element_wrap {
    width: 100%;
}

.preview_detail_wrap .bottom {
    padding-top: 10px;
    text-align: center;
}

.preview_detail_wrap .bottom .btn {
    height: 26px;
    line-height: 26px;
    border-radius: 4px;
    padding: 0 15px;
    min-width: 80px;
}

/* contents_play_wrap */
/*=======================================================================================*/
.contents_play_wrap h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.contents_play_wrap .cont {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 10px 15px;
    box-shadow: 0 0 20px inset rgba(0, 0, 0, 0.06);
}

.contents_play_wrap .bottom {
    padding-top: 10px;
    text-align: center;
}

.contents_play_wrap .bottom .btn {
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    padding: 0 15px;
    min-width: 80px;
}

/* preview2_wrap */
/*=======================================================================================*/
.preview2_wrap h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.preview2_wrap .type {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.preview2_wrap .type li .input_radio input[type="radio"]+label {
    padding-left: 0;
    padding-top: 25px;
}

.preview2_wrap .type li .input_radio input[type="radio"]+label:before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.preview2_wrap .type li .input_radio input[type="radio"]+label::after {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.preview2_wrap .preview_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e0e0e0;
    width: 940px;
    grid-gap: 2px;
    aspect-ratio: 100/60;
}

.preview2_wrap .preview_box .section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #f5f5f5;
    background-size: 100% 100%;
}

.preview2_wrap .preview_box .section h4 {
    font-size: 40px;
    color: #c2c2c2;
    margin-bottom: 10px;
}

.preview2_wrap .preview_box .section .form_upload_wrap {
    width: 80%;
}

/* form_upload_list */
/*=======================================================================================*/
.form_upload_list {
    display: flex;
    padding-top: 10px;
    white-space: nowrap;
    overflow-x: auto;
    gap: 10px;
    overflow: hidden;
}

.form_upload_list li .img {
    aspect-ratio: 1/1;
    width: 100px;
    padding: 8px;
    background: #e9e9e9;
    border-radius: 6px;
    box-shadow: 0 0 1\6px inset rgba(0, 0, 0, 0.06);
    font-size: 0;
    line-height: 0;
}

.form_upload_list li .img img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}

.form_upload_list li .btn_wrap {
    text-align: center;
    padding-top: 5px;
}

.form_upload_list li .btn_wrap .btn {
    height: 24px;
    line-height: 24px;
    border-radius: 6px;
    padding: 0 10px;
}