@charset "utf-8";
/* SIR 지운아빠 */

/* ### 기본 스타일 커스터마이징 시작 ### */

/* 게시판 버튼 */
/* 목록 버튼 */
#bo_list a.btn_b01 {}
#bo_list a.btn_b01:focus, #bo_list a.btn_b01:hover {}
#bo_list a.btn_b02 {}
#bo_list a.btn_b02:focus, #bo_list a.btn_b02:hover {}
#bo_list a.btn_admin {} /* 관리자 전용 버튼 */
#bo_list a.btn_admin:focus, #bo_list .btn_admin:hover {}

/* 읽기 버튼 */
#bo_v a.btn_b01 {}
#bo_v a.btn_b01:focus, #bo_v a.btn_b01:hover {}
#bo_v a.btn_b02 {}
#bo_v a.btn_b02:focus, #bo_v a.btn_b02:hover {}
#bo_v a.btn_admin {} /* 관리자 전용 버튼 */
#bo_v a.btn_admin:focus, #bo_v a.btn_admin:hover {}

/* 쓰기 버튼 */
#bo_w .btn_confirm {} /* 서식단계 진행 */
#bo_w .btn_submit {}
#bo_w button.btn_submit {}
#bo_w fieldset .btn_submit {}
#bo_w .btn_cancel {padding: 10px;border-radius: 3px;}
#bo_w button.btn_cancel {}
#bo_w .btn_cancel:focus, #bo_w .btn_cancel:hover {}
#bo_w a.btn_frmline, #bo_w button.btn_frmline {} /* 우편번호검색버튼 등 */
#bo_w button.btn_frmline {}

/* 기본 테이블 */
/* 목록 테이블 */
#bo_list .tbl_head01 {}
#bo_list .tbl_head01 caption {}
#bo_list .tbl_head01 thead th {}
#bo_list .tbl_head01 thead a {}
#bo_list .tbl_head01 thead th input {} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_list .tbl_head01 tfoot th {}
#bo_list .tbl_head01 tfoot td {}
#bo_list .tbl_head01 tbody th {}
#bo_list .tbl_head01 td {}
#bo_list .tbl_head01 a {}
#bo_list td.empty_table {}



/* 읽기 내 테이블 */
#bo_v .tbl_head01 {}
#bo_v .tbl_head01 caption {}
#bo_v .tbl_head01 thead th {}
#bo_v .tbl_head01 thead a {}
#bo_v .tbl_head01 thead th input {} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_v .tbl_head01 tfoot th {}
#bo_v .tbl_head01 tfoot td {}
#bo_v .tbl_head01 tbody th {}
#bo_v .tbl_head01 td {}
#bo_v .tbl_head01 a {}
#bo_v td.empty_table {}

/* 쓰기 테이블 */
#bo_w table {}
#bo_w caption {}
#bo_w .frm_info {}
#bo_w .frm_address {}
#bo_w .frm_file {}

#bo_w .tbl_frm01 {}
#bo_w .tbl_frm01 th {}
#bo_w .tbl_frm01 td {}
#bo_w .tbl_frm01 textarea, #bo_w tbl_frm01 .frm_input {}
#bo_w .tbl_frm01 textarea {}
/*
#bo_w .tbl_frm01 #captcha {}
#bo_w .tbl_frm01 #captcha input {}
*/
#bo_w .tbl_frm01 a {}

/* 필수입력 */
#bo_w .required, #bo_w textarea.required {}

#bo_w .cke_sc {}
#bo_w button.btn_cke_sc{}
#bo_w .cke_sc_def {}
#bo_w .cke_sc_def dl {}
#bo_w .cke_sc_def dl:after {}
#bo_w .cke_sc_def dt, #bo_w .cke_sc_def dd {}
#bo_w .cke_sc_def dt {}
#bo_w .cke_sc_def dd {}

/* ### 기본 스타일 커스터마이징 끝 ### */

/* 게시판 목록 */
#bo_list .td_board {width:120px;text-align:center}
#bo_list .td_chk {width:30px;text-align:center}
#bo_list .td_date {width:60px;text-align:center}
#bo_list .td_datetime {width:110px;text-align:center}
#bo_list .td_group {width:100px;text-align:center}
#bo_list .td_mb_id {width:100px;text-align:center}
#bo_list .td_mng {width:80px;text-align:center}
#bo_list .td_name {width:100px;text-align:left}
#bo_list .td_nick {width:100px;text-align:center}
#bo_list .td_num {width:50px;text-align:center}
#bo_list .td_numbig {width:80px;text-align:center}

#bo_list .txt_active {color:#5d910b}
#bo_list .txt_expired {color:#ccc}

#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin-bottom:10px;padding-left:1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:90px;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold}

.td_subject img {margin-left:3px}

/* 게시판 목록 공통 */
.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding-top:5px}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:5px}
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:5px}
.btn_bo_adm input {padding:8px;border:0;border-radius: 3px;background:#e6473e;color:#fff;text-decoration:none;vertical-align:middle}
.bo_notice td {background:#f5f6fa}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
.bo_current {color:#e6473e}
#bo_list .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}

#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
#bo_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}

/* 게시판 쓰기 */
#bo_w{padding-bottom:40px;}
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrap {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}

#autosave_wrapper {position:relative}
#autosave_pop {display:none;z-index:10;position:absolute;top:24px;right:117px;padding:8px;width:350px;height:auto !important;height:180px;max-height:180px;border:1px solid #565656;background:#fff;overflow-y:scroll}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:right}
#autosave_pop button {margin:0;padding:0;border:0;background:transparent}
#autosave_pop ul {margin:10px 0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #e9e9e9;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right}
.autosave_close {cursor:pointer}
.autosave_content {display:none}

/* 게시판 읽기 */
#bo_v {margin-bottom:20px;padding-bottom:20px}

#bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#ff3061;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title {padding:10px 0;font-size:1.2em}

#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
#bo_v_info h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {font-weight:bold}

#bo_v_file {}
#bo_v_file h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
#bo_v_file a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
#bo_v_file img {float:left;margin:0 10px 0 0}
.bo_v_file_cnt {display:inline-block;margin:0 0 3px 16px}

#bo_v_link {}
#bo_v_link h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
#bo_v_link a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
.bo_v_link_cnt {display:inline-block;margin:0 0 3px 16px}

#bo_v_top {margin:0 0 10px;padding:10px 0;zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_top ul {margin:0;padding:0;list-style:none}

#bo_v_bot {zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_bot ul {margin:0;padding:0;list-style:none}

.bo_v_nb {float:left}
.bo_v_nb li {float:left;margin-right:5px}
.bo_v_com {float:right}
.bo_v_com li {float:left;margin-left:5px}

#bo_v_atc {min-height:200px;height:auto !important;height:200px}
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img img {margin-bottom:20px;max-width:100%;height:auto}

#bo_v_con {margin-bottom:30px;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act .bo_v_act_gng {position:relative}
#bo_v_act a {margin-right:5px;vertical-align:middle}
#bo_v_act strong {color:#ff3061}
#bo_v_act_good, #bo_v_act_nogood {display:none;position:absolute;top:30px;left:0;padding:10px 0;width:165px;background:#ff3061;color:#fff;text-align:center}

#bo_v_sns {margin:0 0 20px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 5px 0 0}

/* 게시판 댓글 */
#bo_vc {margin:0 0 20px;padding:20px 20px 10px;border:1px solid #e5e8ec;background:#f5f8f9}
#bo_vc h2 {margin-bottom:10px}
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:15px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .sv_wrap {margin-right:15px}
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
#bo_vc p {padding:0 0 5px;line-height:1.8em}
#bo_vc p a {text-decoration:underline}
#bo_vc p a.s_cmt {text-decoration:none}
#bo_vc_empty {margin:0;padding:20px !important;text-align:center}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}

.bo_vc_act {float:right;margin:0;list-style:none;zoom:1}
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act li {float:left;margin-left:5px}

#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}

#bo_vc_sns {margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 20px 0 0}
#bo_vc_sns input {margin:0 0 0 5px}


/* =========================================================
   HISTORY WRITE
   연혁 등록 / 수정
========================================================= */
.history_write {
    width: 100%;
    padding: 0 !important;
}

.history_write * {
    box-sizing: border-box;
}

.history_write #fwrite {
    width: 100% !important;
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.history_write_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.history_write_eyebrow {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #999;
}

.history_write_header h2 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #222;
}

.history_write_header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #888;
}


/* ---------------------------------------------------------
   FORM
--------------------------------------------------------- */

.history_write_form {
    width: 100%;
    border-top: 2px solid #222;
}

.history_form_row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    min-height: 100px;
    border-bottom: 1px solid #e7e7e7;
}

.history_form_label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 30px 25px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #222;
    background: #fafafa;
}

.history_form_label label,
.history_form_label span {
    font-size: inherit;
}

.history_required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 3px;
    background: #f1f1f1;
    font-size: 10px !important;
    line-height: 1.2;
    font-weight: 500;
    color: #888;
}

.history_form_content {
    min-width: 0;
    padding: 25px 30px;
}


/* ---------------------------------------------------------
   YEAR SELECT
--------------------------------------------------------- */

.history_year_select {
    width: 240px;
    height: 50px;
    padding: 0 45px 0 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.history_year_select:hover {
    border-color: #aaa;
}

.history_year_select:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}


/* ---------------------------------------------------------
   HELP TEXT
--------------------------------------------------------- */

.history_form_help {
    margin: 10px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #999;
}


/* ---------------------------------------------------------
   MONTH
--------------------------------------------------------- */

.history_month_list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 720px;
}

.history_month_list input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.history_month_list label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin: 0;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    user-select: none;
    transition: all .18s ease;
}

.history_month_list label:hover {
    border-color: #aaa;
    color: #222;
}

.history_month_list input[type="radio"]:checked + label {
    border-color: #222;
    background: #222;
    color: #fff;
    font-weight: 600;
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.history_form_row_content {
    min-height: 310px;
}

.history_form_row_content .history_form_label {
    align-items: flex-start;
}

.history_write #wr_content {
    display: block;
    width: 100% !important;
    min-height: 220px;
    height: 220px !important;
    padding: 18px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    resize: vertical;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.history_write #wr_content::placeholder {
    color: #aaa;
}

.history_write #wr_content:hover {
    border-color: #aaa;
}

.history_write #wr_content:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}

.history_content_info {
    position: relative;
    margin-top: 10px;
    padding-left: 15px;
    font-size: 12px;
    line-height: 1.6;
    color: #999;
}

.history_content_info:before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}


/* ---------------------------------------------------------
   FILE
--------------------------------------------------------- */

.history_file_box {
    width: 100%;
}

.history_file_input {
    display: block;
    width: 100%;
    max-width: 560px;
    min-height: 46px;
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    color: #555;
}

.history_file_input::file-selector-button {
    height: 30px;
    margin-right: 12px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #f1f2f4;
    font-family: inherit;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.history_file_input::file-selector-button:hover {
    background: #e6e7e9;
}

.history_file_desc {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 46px;
    margin-top: 10px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.history_file_desc:focus {
    border-color: #333;
}

.history_file_current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 560px;
    margin-top: 12px;
    padding: 12px 15px;
    border-radius: 5px;
    background: #f7f7f8;
}

.history_file_name {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history_file_delete {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 12px;
    color: #e24c4c;
    cursor: pointer;
}

.history_file_delete input {
    margin: 0;
}


/* ---------------------------------------------------------
   BUTTON
--------------------------------------------------------- */

.history_write_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
}

.history_btn_cancel,
.history_btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 50px;
    margin: 0;
    padding: 0 24px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .2s ease;
}

.history_btn_cancel {
    border: 1px solid #ddd;
    background: #fff;
    color: #666 !important;
}

.history_btn_cancel:hover {
    border-color: #aaa;
    color: #222 !important;
}

.history_btn_submit {
    border: 1px solid #222;
    background: #222;
    color: #fff;
}

.history_btn_submit:hover {
    border-color: #444;
    background: #444;
}

.history_btn_submit:disabled {
    opacity: .5;
    cursor: default;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .history_write_wrap {
        padding: 30px 20px 60px;
    }

    .history_form_row {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .history_form_label {
        padding: 25px 20px;
    }

    .history_form_content {
        padding: 22px;
    }

    .history_month_list {
        grid-template-columns: repeat(4, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 639px) {

    .history_write_wrap {
        padding: 20px 15px 50px;
    }

    .history_write_header {
        margin-bottom: 22px;
    }

    .history_write_header h2 {
        margin-bottom: 7px;
        font-size: 24px;
        letter-spacing: -.8px;
    }

    .history_write_header p {
        font-size: 13px;
    }

    .history_write_eyebrow {
        font-size: 10px;
    }


    /* form */

    .history_form_row {
        display: block;
        min-height: 0;
        padding: 22px 0;
    }

    .history_form_label {
        display: flex;
        padding: 0 0 12px;
        background: none;
        font-size: 14px;
    }

    .history_form_content {
        padding: 0;
    }


    /* year */

    .history_year_select {
        width: 100%;
        height: 48px;
    }


    /* month */

    .history_month_list {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        max-width: none;
    }

    .history_month_list label {
        height: 42px;
        font-size: 12px;
    }


    /* textarea */

    .history_form_row_content {
        min-height: 0;
    }

    .history_write #wr_content {
        min-height: 200px;
        height: 200px !important;
        padding: 15px;
        font-size: 13px;
    }


    /* file */

    .history_file_input,
    .history_file_desc {
        max-width: none;
    }

    .history_file_current {
        display: block;
        max-width: none;
    }

    .history_file_name {
        display: block;
        margin-bottom: 8px;
        white-space: normal;
    }


    /* buttons */

    .history_write_buttons {
        margin-top: 25px;
    }

    .history_btn_cancel,
    .history_btn_submit {
        flex: 1;
        min-width: 0;
        height: 48px;
        padding: 0 15px;
    }

}




/* =========================================================
   HISTORY
   범용 연혁 게시판
========================================================= */

#history_his {

    /*
    =========================================================
    SITE COLOR

    다른 홈페이지에서 재사용할 경우
    아래 색상 하나만 변경
    =========================================================
    */

    --history-color: #084388;

    --history-text: #222;
    --history-sub-text: #666;
    --history-light-text: #999;

    --history-line: #e5e5e5;
    --history-bg: #f7f8f7;

    width: 100%;
    margin: 0;
    padding: 0;

    font-family: inherit;
    color: var(--history-text);
}


#history_his *,
#history_his *::before,
#history_his *::after {
    box-sizing: border-box;
}


/* =========================================================
   YEAR GROUP
========================================================= */

.history_year {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);

    width: 100%;

    padding: 50px 0;

    border-bottom: 1px solid var(--history-line);
}


.history_year:first-child {
    padding-top: 10px;
}


.history_year:last-child {
    border-bottom: 0;
}


/* =========================================================
   YEAR LEFT
========================================================= */

.history_year_head {
    position: relative;

    padding-right: 40px;
}


.history_year_text {
    margin-bottom: 22px;
}


.history_year_text strong {
    display: block;

    margin: 0;

    font-size: clamp(38px, 3.2vw, 52px);
    line-height: 1;

    font-weight: 700;
    letter-spacing: -2px;

    color: var(--history-text);
}


/* 연도 뒤 포인트 */

.history_year_text strong::after {
    content: ".";

    color: var(--history-color);
}


/* =========================================================
   YEAR IMAGE
========================================================= */

.history_year_image {
    width: 135px;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 22px;

    background: var(--history-bg);
}


.history_year_image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   TIMELINE BODY
========================================================= */

.history_year_body {
    position: relative;

    width: 100%;

    padding-left: 45px;
}


/* =========================================================
   ITEM
========================================================= */

.history_item {
    position: relative;

    display: grid;

    /*
    월 | 내용 | 관리자
    */
    grid-template-columns: 90px minmax(0, 1fr) auto;

    width: 100%;

    min-height: 45px;

    padding-bottom: 22px;
}


.history_item:last-child {
    padding-bottom: 0;
}


/* =========================================================
   VERTICAL LINE
========================================================= */

.history_item_line {
    position: absolute;

    top: 13px;
    bottom: -13px;
    left: -40px;

    width: 1px;

    background: var(--history-line);
}


/* =========================================================
   POINT
========================================================= */

.history_point {
    position: absolute;

    top: 8px;
    left: -45px;

    z-index: 2;

    width: 11px;
    height: 11px;

    border: 3px solid var(--history-color);
    border-radius: 50%;

    background: #fff;
}


/* 각 연도의 첫 연혁 */

.history_item:first-child .history_point {
    top: 7px;
    left: -46px;

    width: 13px;
    height: 13px;

    border: 0;

    background: var(--history-color);

    box-shadow:
        0 0 0 5px rgba(56, 87, 188, 0.12);
}


/* =========================================================
   MONTH
========================================================= */

.history_month {
    padding-top: 0;

    white-space: nowrap;

    color: var(--history-color);
}


.history_month strong {
    display: inline-block;

    font-size: 19px;
    line-height: 1.5;

    font-weight: 700;
    letter-spacing: -.5px;
}


.history_month span {
    display: inline-block;

    margin-left: 2px;

    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   CONTENT
========================================================= */

.history_content {
    min-width: 0;

    padding: 1px 30px 0 0;

    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.8;

    font-weight: 400;
    letter-spacing: -.2px;

    color: var(--history-sub-text);

    word-break: keep-all;
}


/* =========================================================
   ADMIN
========================================================= */

.history_admin {
    display: flex;

    align-items: flex-start;
    justify-content: flex-end;

    gap: 6px;

    padding-top: 0;
    padding-left: 20px;

    white-space: nowrap;
}


/* 선택 */

.history_check {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    height: 30px;

    margin: 0;
    padding: 0 9px;

    border: 1px solid #ddd;
    border-radius: 5px;

    background: #fff;

    font-size: 11px;
    line-height: 1;

    color: #777;

    cursor: pointer;
}


.history_check:hover {
    border-color: #bbb;
}


.history_check input {
    width: 14px;
    height: 14px;

    margin: 0;

    accent-color: var(--history-color);
}


/* 수정 */

.history_edit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 30px;

    padding: 0 10px;

    border-radius: 5px;

    background: #555;

    font-size: 11px;
    font-weight: 500;
    line-height: 1;

    color: #fff !important;

    text-decoration: none !important;

    transition: background .2s ease;
}


.history_edit:hover {
    background: #222;
}


/* =========================================================
   EMPTY
========================================================= */

.history_empty {
    padding: 100px 20px;

    border-top: 1px solid var(--history-line);
    border-bottom: 1px solid var(--history-line);

    font-size: 14px;
    line-height: 1.6;

    text-align: center;

    color: var(--history-light-text);
}


/* =========================================================
   BOTTOM BUTTONS
========================================================= */

.history_bottom_buttons {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    margin-top: 30px;
}


.history_btn_delete,
.history_btn_write {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 44px;

    margin: 0;
    padding: 0 18px;

    border-radius: 5px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 42px;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        opacity .2s ease;
}


/* 선택삭제 */

.history_btn_delete {
    border: 1px solid #ddd;

    background: #fff;

    color: #777;
}


.history_btn_delete:hover {
    border-color: #aaa;

    color: #222;
}


/* 새 연혁등록 */

.history_btn_write {
    border: 1px solid #181818;

    background: #181818;

    color: #fff !important;
}


.history_btn_write:hover {
    opacity: .85;
}


/* =========================================================
   BOARD ADMIN
========================================================= */

.history_board_admin {
    margin-top: 15px;

    text-align: right;
}


.history_board_admin a {
    display: inline-block;

    padding: 7px 10px;

    border-radius: 4px;

    background: #f3f3f3;

    font-size: 11px;
    line-height: 1.4;

    color: #888 !important;

    text-decoration: none !important;
}


.history_board_admin a:hover {
    background: #e9e9e9;

    color: #555 !important;
}


/* =========================================================
   TABLET
   901px 이하
========================================================= */

@media (max-width: 900px) {

    .history_year {
        grid-template-columns: 180px minmax(0, 1fr);

        padding: 45px 0;
    }


    .history_year_head {
        padding-right: 30px;
    }


    .history_year_text strong {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .history_year_image {
        width: 115px;

        border-radius: 18px;
    }


    .history_year_body {
        padding-left: 35px;
    }


    .history_item {
        grid-template-columns: 70px minmax(0, 1fr) auto;

        padding-bottom: 20px;
    }


    .history_item_line {
        left: -30px;
    }


    .history_point {
        left: -35px;
    }


    .history_item:first-child .history_point {
        left: -36px;
    }


    .history_month strong {
        font-size: 17px;
    }


    .history_content {
        padding-right: 20px;

        font-size: 14px;
    }


    .history_admin {
        padding-left: 10px;
    }

}


/* =========================================================
   MOBILE
   639px 이하
========================================================= */

@media (max-width: 639px) {

    /*
    연도와 타임라인을
    위 / 아래 구조로 변경
    */

    .history_year {
        display: block;

        padding: 38px 0;
    }


    .history_year:first-child {
        padding-top: 5px;
    }


    /* -----------------------------------------
       YEAR
    ----------------------------------------- */

    .history_year_head {
        display: flex;

        align-items: center;
        justify-content: space-between;

        min-height: 70px;

        margin-bottom: 28px;
        padding: 0;
    }


    .history_year_text {
        margin: 0;
    }


    .history_year_text strong {
        font-size: 34px;

        letter-spacing: -1.2px;
    }


    /* -----------------------------------------
       IMAGE
    ----------------------------------------- */

    .history_year_image {
        width: 72px;

        border-radius: 14px;
    }


    /* -----------------------------------------
       TIMELINE
    ----------------------------------------- */

    .history_year_body {
        padding-left: 27px;
    }


    .history_item {
        /*
        모바일에서는
        월 + 내용 2열
        */

        grid-template-columns: 55px minmax(0, 1fr);

        min-height: 40px;

        padding-bottom: 22px;
    }


    .history_item_line {
        top: 11px;
        bottom: -11px;

        left: -23px;
    }


    .history_point {
        top: 7px;
        left: -27px;

        width: 9px;
        height: 9px;

        border-width: 2px;
    }


    .history_item:first-child .history_point {
        top: 6px;
        left: -28px;

        width: 11px;
        height: 11px;

        box-shadow:
            0 0 0 4px rgba(118, 188, 56, .12);
    }


    /* -----------------------------------------
       MONTH
    ----------------------------------------- */

    .history_month {
        padding-top: 0;
    }


    .history_month strong {
        font-size: 16px;
    }


    .history_month span {
        font-size: 11px;
    }


    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */

    .history_content {
        padding: 0;

        font-size: 13px;
        line-height: 1.7;

        word-break: keep-all;
    }


    /* -----------------------------------------
       ADMIN
    ----------------------------------------- */

    .history_admin {
        grid-column: 2 / 3;

        justify-content: flex-start;

        margin-top: 10px;
        padding: 0;
    }


    .history_check,
    .history_edit {
        height: 28px;
    }


    /* -----------------------------------------
       BOTTOM BUTTON
    ----------------------------------------- */

    .history_bottom_buttons {
        margin-top: 20px;
    }


    .history_btn_delete,
    .history_btn_write {
        height: 40px;

        padding: 0 14px;

        font-size: 12px;
        line-height: 38px;
    }

}


/* =========================================================
   SMALL MOBILE
   420px 이하
========================================================= */

@media (max-width: 420px) {

    .history_year {
        padding: 32px 0;
    }


    .history_year_head {
        min-height: 62px;

        margin-bottom: 24px;
    }


    .history_year_text strong {
        font-size: 31px;
    }


    .history_year_image {
        width: 62px;

        border-radius: 12px;
    }


    .history_year_body {
        padding-left: 23px;
    }


    .history_item {
        grid-template-columns: 48px minmax(0, 1fr);

        padding-bottom: 20px;
    }


    .history_item_line {
        left: -19px;
    }


    .history_point {
        left: -23px;
    }


    .history_item:first-child .history_point {
        left: -24px;
    }


    .history_month strong {
        font-size: 15px;
    }


    .history_content {
        font-size: 13px;
    }

}