@charset "UTF-8";

/* reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-size: 1em; font-family: inherit; }
html { overflow-y: scroll; }
body { font-size: 1em; }
.inner { width: 100%; margin-left: auto; margin-right: auto; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
label, input, button, select, img, a { vertical-align: middle; }
h1, h2, h3, h4, h5, h6, th, dt { font-weight: inherit; }
ul, ol, li, dl, dt, dd { list-style: none; }
input[type="submit"], button { cursor: pointer; }
legend { display: none; }
fieldset { border: 0; }
table { width: 100%; border-collapse: collapse; }
p { word-break: keep-all; }
a { color: inherit; text-decoration: none; }
hr { display: none; }

::after, ::before { box-sizing: border-box; }
::placeholder, .placeholdersjs { color:#aaa !important; }

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;width:0;height:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}

/* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}

/* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center}
.empty_list {padding:50px 0 !important;color:#666;text-align:center; border: 0 !important; }

/* 필수입력 */
.required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:right top !important}

/* cheditor 이슈 */
.cheditor-popup-window *, .cheditor-popup-window :after, .cheditor-popup-window :before {
	-webkit-box-sizing:content-box;
	-moz-box-sizing:content-box;
	box-sizing:content-box;
}

/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right}
.btn_cke_sc {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:1.9em;vertical-align:middle;cursor:pointer}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:20%;font-weight:bold}
.cke_sc_def dd {width:30%}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#captcha #captcha_img {height:40px;border:1px solid #898989;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px}
#captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block}
#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px}
#captcha.m_captcha #captcha_reload span {display:none}
#captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px}
#captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../img/captcha2.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}

/* 새창 기본 스타일 */
.new_win #win_title { font-size: 1.375em; padding: 0.875em; background: #fff; color: #000; box-shadow: 0 1px 10px rgba(0,0,0,.1); }
.new_win .tbl_wrap, .new_win .win_ul { padding: 1.25em; }
.new_win .td_chk { text-align: center; }
.new_win .win_btn { text-align: center; }
.new_win .win_btn > * { padding: 0.875em 2em; }
.new_win .copymove_current { font-size: 0.9em; padding: 0.3em 0.5em; background: var(--primary); color: #fff; border-radius:0.3em; }
.new_win .copymove_currentbg { background: #f4f4f4; }

/* 테이블 */
.tbl_wrap caption { font-size: 1.125em; margin-bottom: 1em; font-weight: 700; text-align: left; }
.tbl_wrap table { border-top: 2px solid #000; }
.tbl_wrap th,
.tbl_wrap td { padding: 0.875em; }
.tbl_wrap tr { border-bottom: 1px solid #ddd; }

/* 페이징 */
.pg_wrap { margin-top: 3em; text-align: center; }
.pg_wrap .pg { display: flex; align-items: center; justify-content: center; }
.pg_page,.pg_current { border: 1px solid #ccc; width: 1.875em; height: 1.875em; display: flex; align-items: center; justify-content: center; margin: 0 0.2em;border-radius: 0.3em; font-weight: 400; color: #666; }
.pg_start,.pg_prev,.pg_next,.pg_end {  }
.pg_current { background-color: var(--primary); color: #fff; border-color: var(--primary); }
.pg_page:hover { border-color: var(--primary); color: var(--primary); }

/* 기본폼 */
input[type='text'],
input[type='password'],
input[type='date'],
select,
textarea { outline:none; height: 2.6em; padding: 0 1em; border: 1px solid #ddd; }
textarea { height: auto; padding: 1em; }

/* file */
.file-box { display: flex; }
.file-box input[type='file'] { display: none; }
.file-box input[type='text'] { flex-grow: 1; }
.file-box .btn_frmline { cursor: pointer; display: flex; align-items: center; justify-content: center; }
.file-box .file-del { position: absolute; right: 6em; top: 50%; transform: translateY(-50%); }

/* chk_box */
.chk_box input { display: none; }
.chk_box input + label { display: inline-block; cursor: pointer; }
.chk_box input + label span { display: inline-block; width: 1em; height: 1em; border: 1px solid #ddd; vertical-align: middle; margin-right: 0.3em; position: relative; background-color: #fff; }
.chk_box input:checked + label span { background-color: var(--primary); border-color: var(--primary); }
.chk_box input[type='checkbox']:checked + label span { background-image: url(../img/chk.png); background-repeat: no-repeat; background-position: center; }
.chk_box input[type='radio'] + label span { border-radius: 5em; }
.chk_box input[type='radio'] + label span::after { content:""; width: 0.5em; height: 0.5em; background-color: #ddd; display: inline-block; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 5em; }
.chk_box input[type='radio']:checked + label span::after { background-color: #fff; }

/* 버튼 */
.btn_confirm { text-align: center; }
.btn { display: inline-block; text-align: center; vertical-align: top; }
.btn_submit { border: 1px solid var(--primary); background-color: var(--primary); color: #fff; }
.btn_close,
.btn_cancel { border: 1px solid var(--primary); background-color: #fff; color: var(--primary); }
.btn_frmline { border: 1px solid var(--second); background-color: var(--second); color: #fff; padding: 0 1em;}

/* hd-popups */
.hd-popups { display: flex; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 999999; }
.hd-popup { width: 100%; margin: 1%; border-radius: 1em; overflow: hidden; }
.hd-popup-con {  }
.hd-popup-con img { vertical-align: top; max-width: 100%; }
.hd-popup-btn { display: flex; justify-content: space-between; background-color: #000; }
.hd-popup-btn button { padding: 0.5em 0.8em; background-color: transparent; border: 1px solid transparent; color: #fff; }

/* ft-popups */
.ft-popups { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 999999; background-color: rgba(0,0,0,0.6); display: none; }
.ft-popup-box { width: 90%; max-width: 600px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background-color: #fff; border-radius: 1em; overflow: hidden; display: none; }
.ft-popup-tit { padding: 0.8em 1em; border-bottom: 1px solid #ddd; }
.ft-popup-tit h4 { font-size: 1.25em; font-weight: 500; }
.ft-popup-con { padding: 0.5em 1em; height: 250px; overflow-y: scroll; background-color: #f7f7f7; }
.ft-popup-con p { font-size: 0.875em; line-height: 1.4; color: #666; }
.ft-popup-con img { vertical-align: top; max-width: 100%; }
.ft-popup-btn { font-size: 0.9em; display: flex; justify-content: flex-end; background-color: #000; }
.ft-popup-btn button { padding: 0.8em; background-color: transparent; border: 1px solid transparent; color: #fff; }
.ft-popup-open { cursor: pointer; }