﻿/* components.css */
/* 캡챠 자동등록(입력)방지 기본 -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;
}

/* 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%;
}

/* ckeditor 태그 기본값 */
#bo_v_con ul {
  display: block;
  list-style-type: disc;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding-left: 40px;
}

#bo_v_con ol {
  display: block;
  list-style-type: decimal;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding-left: 40px;
}

#bo_v_con li {
  display: list-item;
}

/* 버튼 */
a.btn,
.btn {
  line-height: 30px;

  padding: 0 10px;
  text-align: center;
  font-weight: bold;
  border: 0;
  font-size: 1em;
  -webkit-transition: background-color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out;
  -o-transition: background-color 0.3s ease-out;
  transition: background-color 0.3s ease-out;
}

a.btn01 {
  display: inline-block;
  padding: 7px;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  text-decoration: none;
  vertical-align: middle;
}

a.btn01:focus,
a.btn01:hover {
  text-decoration: none;
}

button.btn01 {
  display: inline-block;
  margin: 0;
  padding: 7px;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  text-decoration: none;
}

a.btn02 {
  display: inline-block;
  padding: 5px;
  border: 0px;
  background: #000;
  color: #fff;
  text-decoration: none;
  vertical-align: middle;
}

a.btn02:focus,
.btn02:hover {
  text-decoration: none;
}



button.btn02 {
  display: inline-block;
  margin: 0;
  padding: 7px;
  border: 1px solid #3b3c3f;
  background: #4b545e;
  color: #fff;
  text-decoration: none;
}

.btn_confirm {
  text-align: right;
}

/* 서식단계 진행 */

.btn_submit {
  border: 0;
  background: #3a8afd;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
}

.btn_close {
  border: 1px solid #dcdcdc;
  cursor: pointer;
  border-radius: 3px;
  background: #fff;
}

a.btn_close {
  text-align: center;
  line-height: 50px;
}

a.btn_cancel {
  display: inline-block;
  background: #969696;
  color: #fff;
  text-decoration: none;
  vertical-align: middle;
}

button.btn_cancel {
  display: inline-block;
  background: #969696;
  color: #fff;
  text-decoration: none;
  vertical-align: middle;
}

.btn_cancel:hover {
  background: #aaa;
}

a.btn_frmline,
button.btn_frmline {
  display: inline-block;
  width: 128px;
  padding: 0 5px;
  height: 40px;
  border: 0;
  background: #434a54;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  vertical-align: top;
}

/* 우편번호검색버튼 등 */
a.btn_frmline {}

button.btn_frmline {
  font-size: 1em;
}

/* 게시판용 버튼 */
a.btn_b01,
.btn_b01 {
  display: inline-block;
  color: #bababa;
  text-decoration: none;
  vertical-align: middle;
  border: 0;
  background: transparent;
}

.btn_b01:hover,
.btn_b01:hover {
  color: #000;
}

a.btn_b02,
.btn_b02 {
  display: inline-block;
  background: #253dbe;
  padding: 0 10px;
  color: #fff;
  text-decoration: none;
  border: 0;
  vertical-align: middle;
}

a.btn_b02:hover,
.btn_b02:hover {
  background: #0025eb;
}

a.btn_b03,
.btn_b03 {
  display: inline-block;
  background: #fff;
  border: 1px solid #b9bdd3;
  color: #646982;
  text-decoration: none;
  vertical-align: middle;
}

a.btn_b03:hover,
.btn_b03:hover {
  background: #ebedf6;
}

a.btn_b04,
.btn_b04 {
  display: inline-block;
  background: #fff;
  border: 1px solid #ccc;
  color: #707070;
  text-decoration: none;
  vertical-align: middle;
}

a.btn_b04:hover,
.btn_b04:hover {
  color: #333;
  background: #f9f9f9;
}

a.btn_admin,
.btn_admin {
  display: inline-block;
  color: #333;
  text-decoration: none;
  vertical-align: middle;
  height: 31px;
}

/* 관리자 전용 버튼 */


/* 기본테이블 */
.tbl_wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0 5px;
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  max-width: 1200px;
  margin: 0px auto;

}

.tbl_wrap caption {
  padding: 10px 0;
  font-weight: bold;
  text-align: left;
}

.tbl_head01 {
  margin: 0 0 10px;
}

.tbl_head01 caption {
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.tbl_head01 thead th {
  padding: 5px 0;
  font-weight: normal;
  text-align: center;
  border-bottom: 1px solid #eee;
  height: 40px;
}

.tbl_head01 thead th input {
  vertical-align: top;
}

/* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th,
.tbl_head01 tfoot td {
  padding: 10px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: #eee;
  text-align: center;
}

.tbl_head01 tbody th {
  padding: 8px 0;
  border-bottom: 1px solid #e8e8e8;
}

.tbl_head01 td {
  color: #666;
  padding: 10px 5px;
  border-top: 1px solid #ddd;
  /* border-bottom: 1px solid #ddd; */
  line-height: 1.4em;

  word-break: break-all;
}

.tbl_head01 tbody tr:hover td {
  background: #fafafa;
}

.tbl_head01 a:hover {
  text-decoration: underline;
}

.tbl_head02 {
  margin: 0 0 10px;
}

.tbl_head02 caption {
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.tbl_head02 thead th {
  padding: 5px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: #eee;
  color: #383838;
  font-size: 0.95em;
  text-align: center;
  letter-spacing: -0.1em;
}

.tbl_head02 thead a {
  color: #383838;
}

.tbl_head02 thead th input {
  vertical-align: top;
}

/* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th,
.tbl_head02 tfoot td {
  padding: 10px 0;
  border-top: 1px solid #c1d1d5;
  border-bottom: 1px solid #c1d1d5;
  background: #d7e0e2;
  text-align: center;
}

.tbl_head02 tbody th {
  padding: 5px 0;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  background: #fff;
}

.tbl_head02 td {
  padding: 5px 3px;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  background: #fff;
  line-height: 1.4em;
  word-break: break-all;
}

.tbl_head02 a {}

/* 폼 테이블 */
.tbl_frm01 {
  margin: 0 0 20px;
}

.tbl_frm01 table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.tbl_frm01 th {
  width: 70px;
  padding: 7px 13px;
  border-left: 0;
  text-align: left;
}

.tbl_frm01 td {
  padding: 7px 10px;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  background: transparent;
}

.wr_content textarea,
.tbl_frm01 textarea,
.form_01 textarea,
.frm_input {
  border: 1px solid #d0d3db;
  background: #fff;
  color: #000;
  vertical-align: middle;
  border-radius: 3px;
  padding: 5px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tbl_frm01 textarea {
  padding: 2px 2px 3px;
}

.frm_input {
  height: 40px;
}

.full_input {
  width: 100%;
}

.half_input {
  width: 49.5%;
}

.twopart_input {
  width: 385px;
  margin-right: 10px;
}

.tbl_frm01 textarea,
.write_div textarea {
  width: 100%;
  height: 100px;
}

.tbl_frm01 a {
  text-decoration: none;
}

.tbl_frm01 .frm_file {
  display: block;
  margin-bottom: 5px;
}

.tbl_frm01 .frm_info {
  display: block;
  padding: 0 0 5px;
  line-height: 1.4em;
}

/*기본 리스트*/
.list_01 ul {
  border-top: 1px solid #ececec;
}

.list_01 li {
  border-bottom: 1px solid #ececec;
  background: #fff;
  padding: 10px 15px;
  list-style: none;
  position: relative;
}

.list_01 li:nth-child(odd) {
  background: #f6f6f6;
}

.list_01 li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: '';
}

.list_01 li:hover {
  background: #f9f9f9;
}

.list_01 li.empty_li {
  text-align: center;
  padding: 20px 0;
  color: #666;
}

/*폼 리스트*/
.form_01 h2 {
  font-size: 1.167em;
}

.form_01 li {
  margin-bottom: 10px;
}

.form_01 ul:after,
.form_01 li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: '';
}

.form_01 .left_input {
  float: left;
}

.form_01 .margin_input {
  margin-right: 1%;
}

.form_01 textarea {
  height: 100px;
  width: 100%;
}

.form_01 .frm_label {
  display: inline-block;
  width: 130px;
}

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

.empty_list {
  padding: 20px 0 !important;
  color: #666;
  text-align: center;
}

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

/* 테이블 항목별 정의 */
.td_board {
  width: 80px;
  text-align: center;
}

.td_category {
  width: 80px;
  text-align: center;
}

.td_chk {
  width: 30px;
  text-align: center;
}

.td_date {
  width: 70px;
  text-align: center;
}

.td_datetime {
  width: 110px;
  text-align: center;
}

.td_group {
  width: 80px;
  text-align: center;
}

.td_mb_id {
  width: 100px;
  text-align: center;
}

.td_mng {
  width: 80px;
  text-align: center;
}

.td_name {
  width: 100px;
  text-align: left;
}

.td_nick {
  width: 100px;
  text-align: center;
}

.td_num {
  width: 50px;
  text-align: center;
}

.td_numbig {
  width: 80px;
  text-align: center;
}

.td_stat {
  width: 60px;
  text-align: center;
}

.txt_active {
  color: #5d910b;
}

.txt_done {
  color: #e8180c;
}

.txt_expired {
  color: #ccc;
}

.txt_rdy {
  color: #8abc2a;
}


/* 검색결과 색상 */
.sch_word {
  color: #fff;
  background: #ff005a;
  padding: 2px 5px 3px;
  line-height: 18px;
  margin: 0 2px;
}

/* 자바스크립트 alert 대안 */
#validation_check {
  margin: 100px auto;
  width: 500px;
}

#validation_check h1 {
  margin-bottom: 20px;
  font-size: 1.3em;
}

#validation_check p {
  margin-bottom: 20px;
  padding: 30px 20px;
  border: 1px solid #e9e9e9;
  background: #fff;
}
