@charset "utf-8";/**
 * @author https://www.cosmosfarm.com
 */

a.cm-board-button-small,
input.cm-board-button-small,
button.cm-board-button-small { position: relative; display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 10px; width: auto; height: 28px; line-height: 28px; font-size: 14px; font-weight: normal; letter-spacing: normal; color: #545861; background: #eaeaea; border: none; border-radius: 0; text-decoration: none !important; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; transition-duration: 0.3s; box-sizing: content-box; }
a.cm-board-button-small:hover,
a.cm-board-button-small:focus,
a.cm-board-button-small:active,
input.cm-board-button-small:hover,
input.cm-board-button-small:focus,
input.cm-board-button-small:active,
button.cm-board-button-small:hover,
button.cm-board-button-small:focus,
button.cm-board-button-small:active { opacity: 0.7; }

.cm-board-poweredby { float: left; padding-bottom: 15px; width: 100%; font-size: 14px; }

.cm-board-cut-strings { width: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-wrap: normal;}

#default-style03-list { display: inline-block; *display: inline; zoom: 1; margin: 0; width: 100%; }
#default-style03-list form { margin: 0; padding: 0; }
#default-style03-list .kboard-list-header { float: left; display: table; padding-bottom: 15px; width: 100%; }
#default-style03-list .kboard-list-header .kboard-total-count { *float: left; display: table-cell; font-size: 17px; color: #000; font-weight: 500; }
#default-style03-list .kboard-list-header .kboard-total-count span { color: var(--sub-color3); font-weight: 800; }
#default-style03-list .kboard-list-header .kboard-sort { *float: right; display: table-cell; text-align: right; }
#default-style03-list .kboard-list-header .kboard-sort select { display: inline; margin: 0; padding: 0; width: auto; min-width: 0; max-width: none; height: 26px; min-height: 0; line-height: 26px; font-size: 13px; color: #666666; border-radius: 0; border: 1px solid #f1f1f1; background: white; vertical-align: middle; box-shadow: none; box-sizing: content-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#default-style03-list .kboard-category { float: left; padding-bottom: 15px; width: 100%; }
#default-style03-list .kboard-category.category-mobile { display: none; }
#default-style03-list .kboard-category.category-pc { display: block; }
#default-style03-list .kboard-category select { display: inline; margin: 0 0 5px 0; padding: 0; width: 100%; min-width: 100%; height: 28px; min-height: 0; line-height: 28px; font-size: 13px; color: #666666; border-radius: 0; border: 1px solid #f1f1f1; background: white; vertical-align: middle; box-shadow: none; box-sizing: border-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#default-style03-list .kboard-category .kboard-category-list { display: flex; flex-wrap:wrap; margin: 2px -0.4px 5px; list-style: none; border: 0; overflow: hidden; border-radius: 5px; padding: 0.5rem; }
#default-style03-list .kboard-category .kboard-category-list li { display: inline-block; *display: inline; zoom: 1; margin:-0.5px; border: 0; list-style: none; width: calc(100% / 7); text-align: center; }
#default-style03-list .kboard-category .kboard-category-list li::before,
#default-style03-list .kboard-category .kboard-category-list li::after { display: none; }
#default-style03-list .kboard-category .kboard-category-list li a { display: block; padding: 2rem; font-size: 1.7rem; border: 1px solid #ddd; text-decoration: none; text-shadow: none; box-shadow: none; color: #000; transition: all 0.3s ease; }
#default-style03-list .kboard-category .kboard-category-list li.kboard-category-selected { background: var(--sub-color3); }
#default-style03-list .kboard-category .kboard-category-list li.kboard-category-selected a { color: #fff; font-weight: 500; }
#default-style03-list .kboard-category .kboard-category-list li:hover a { background: var(--sub-color3); color: #fff; }
#default-style03-list .kboard-tree-category-wrap { overflow: hidden; }
#default-style03-list .kboard-tree-category-wrap select { display: inline; margin: 0 0 5px 0; padding: 0; width: 100%; height: 28px; line-height: 28px; font-size: 13px; color: #666666; border-radius: 0; border: 1px solid #f1f1f1; background: white; vertical-align: middle; box-shadow: none; box-sizing: border-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#default-style03-list .kboard-tree-category-search .kboard-search-option-wrap.type-select { width: auto; }
#default-style03-list .kboard-tree-category-search .kboard-search-option-wrap.type-tab { width: 100%; }
#default-style03-list .kboard-tree-category { float: left; margin: 0 0 5px 0; padding: 0; width: 100%; list-style: none; border: 0; background-color: #f9f9f9; overflow: hidden; }
#default-style03-list .kboard-tree-category li { display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 5px; border: 0; list-style: none; }
#default-style03-list .kboard-tree-category li::before,
#default-style03-list .kboard-tree-category li::after { display: none; }
#default-style03-list .kboard-tree-category li a { display: block; padding: 10px 10px 8px 10px; font-size: 14px; border: 0; border-bottom: 2px solid transparent; text-decoration: none; text-shadow: none; box-shadow: none; color: #515151; }
#default-style03-list .kboard-tree-category li.kboard-category-selected a { font-weight: bold; border-bottom: 2px solid #545861; color: #545861; }
#default-style03-list .kboard-tree-category-search { float: left; width: 100%; }
#default-style03-list .kboard-tree-category-search .kboard-search-option-wrap { margin-right: 5px; float: left; }
#default-style03-list .kboard-list { float: left; width: 100%; background-color: white; }

/* 공지사항인 경우 */
#default-style03-list .kboard-list table tr.kboard-list-notice td {background:#f9f9f9}
#default-style03-list .kboard-list table tr.kboard-list-notice td.kboard-list-title p {font-weight:500;}



#default-style03-list .kboard-list table { display: table; table-layout: fixed; margin: 0; padding: 0; width: 100%; border: 0; font-size: 14px; border-collapse: collapse; }
#default-style03-list .kboard-list table a { color: black; font-weight: normal; text-decoration: none; border: 0; box-shadow: none; padding: 30px 20px; display: inline-block; width: 100%; display:flex; align-items:center;}
#default-style03-list .kboard-list table tr { border: 0; background-color: transparent; transition-duration: 0.3s; }
#default-style03-list .kboard-list table td .xi-link {transform:rotate(130deg);border:none;;}
/* thead & tbody */
#default-style03-list .kboard-list table td.kboard-list-uid { width: 100px;  text-align:center;}
#default-style03-list .kboard-list table td.kboard-list-uid.notice p {text-align:center;}
#default-style03-list .kboard-list table td.kboard-list-uid.notice p i {width:3rem; height:3rem; background:var(--sub-color3); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; font-size:1.6rem;}
#default-style03-list .kboard-list table td.kboard-list-title { width: auto; }

#default-style03-list .kboard-list table td.kboard-list-title p
{overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-wrap: normal;}
#default-style03-list .kboard-list table td.kboard-list-title button
{border:none; background:none; font-size:16px; color:#555; padding:5px 0 5px 10px;}
#default-style03-list .kboard-list table td.kboard-list-attach {width:100px;}
#default-style03-list .kboard-list table td.kboard-list-attach button {border:none;/*  border-radius:50%; width:8rem; height:8rem;*/background-color: transparent; }
#default-style03-list .kboard-list table td.kboard-list-attach button i {color:#272727; font-size:2.2rem;}
#default-style03-list .kboard-list table td.kboard-list-user { width: 100px; }
#default-style03-list .kboard-list table td.kboard-list-category1 { width: 190px; }
#default-style03-list .kboard-list table td.kboard-list-date { width: 150px; }
#default-style03-list .kboard-list table td.kboard-list-vote { width: 55px; }
#default-style03-list .kboard-list table td.kboard-list-attachments { width: 100px; }
#default-style03-list .kboard-list table td.kboard-list-attachments button { border: none; color: #000; font-size: 2.1rem; }
#default-style03-list .kboard-list table td.kboard-list-view { width: 100px; }
/* thead */
#default-style03-list .kboard-list thead { background-color: transparent; }
#default-style03-list .kboard-list thead tr td
{ border: none; font-weight: 700; color: #222; border-bottom: 1px solid #d5d5d5;background-color: #ededed; border-top: 2px solid var(--text-color); font-size: 16px; padding: 20px 0; text-align:center; }
/* tbody */
#default-style03-list .kboard-list table tbody tr td a:hover { text-decoration: underline; }
#default-style03-list .kboard-list table tbody td { padding: 0px 0; height: auto; text-align: center; vertical-align: middle; font-size: 17px; word-break: break-all; border: 0; border-bottom: 1px solid #f1f1f1; background: #fff; color: #0a0a0a;}

#default-style03-list .kboard-list tbody tr:hover { background-color: #f7f7f7; }
#default-style03-list .kboard-list tbody tr.kboard-list-notice { background-color: #f4f4f4; }
#default-style03-list .kboard-list tbody tr.kboard-list-popular .kboard-list-uid { font-weight: bold; }
#default-style03-list .kboard-list tbody tr.kboard-list-selected .cm-board-cut-strings { font-weight: 500; }

/** 카테고리 **/
#default-style03-list .kboard-list tbody td.kboard-list-category1 .category { font-size: 1.6rem; color: #fff; padding: 0.5rem 0rem; display: inline-block; background: var(--sub-color3); border-radius: 5px; min-width: 14rem; text-align: center; }
/** 타이틀 **/

#default-style03-list .kboard-list tbody td.kboard-list-title { text-align: left; }
#default-style03-list .kboard-list tbody td.kboard-list-title .cm-board-cut-strings {display:flex; align-items:center;}
#default-style03-list .kboard-list tbody td.kboard-list-title .lock {color:#a5a5a5; margin-right:1rem;}
#default-style03-list .kboard-list tbody td.kboard-list-title .cat { margin-right: 0.5rem; display: inline-block; color: #000; font-weight: 700; display: none; }

#default-style03-list .kboard-list tbody td.kboard-list-title img { display: inline; margin: 0; width: auto; height: auto; vertical-align: middle; max-width: 100%; }
#default-style03-list .kboard-list tbody td.kboard-list-title .kboard-comments-count { color: #00a8e7; }
#default-style03-list .kboard-list tbody td.kboard-list-user img.avatar { display: inline; margin: 0; width: 24px; max-width: none; height: 24px; vertical-align: middle; border-radius: 50%; }
#default-style03-list .kboard-list .kboard-mobile-contents { display: none; font-size: 13px; color: #999999; }
#default-style03-list .kboard-list .kboard-mobile-contents .contents-item { display: inline; margin: 0; padding: 0; }
#default-style03-list .kboard-list .kboard-mobile-contents .contents-item img.avatar { display: inline; margin: 0; width: 24px; max-width: none; height: 24px; vertical-align: middle; border-radius: 50%; }
#default-style03-list .kboard-list .kboard-mobile-contents .contents-separator { display: inline; margin: 0; padding: 0 2px; color: #bebebe; }


#default-style03-list .kboard-pagination { float: left; padding: 15px 0; width: 100%; }
#default-style03-list .kboard-pagination .kboard-pagination-pages { float: left; margin: 0; padding: 0; width: 100%; list-style: none; text-align: center; border: 0; }
#default-style03-list .kboard-pagination .kboard-pagination-pages li { display: inline-block; *display: inline; zoom: 1; margin: 0; padding: 0 1px; background: none; border: 0; list-style: none; }
#default-style03-list .kboard-pagination .kboard-pagination-pages li a { display: block; margin: 0; padding: 0 11px; height: 28px; line-height: 28px; font-size: 14px; color: #999999; text-decoration: none; border: 0; background-color: #f9f9f9; box-shadow: none; transition-duration: 0.3s; }
#default-style03-list .kboard-pagination .kboard-pagination-pages li:hover a,
#default-style03-list .kboard-pagination .kboard-pagination-pages li.active a { border: 0; color: #fff; background-color: #222; border-radius: 10px; }
#default-style03-list .kboard-pagination .kboard-pagination-pages li:before { display: none; }
#default-style03-list .kboard-pagination .kboard-pagination-pages li:after { display: none; }


#default-style03-list .kboard-search
{ float: left; padding-bottom: 15px; width: 100%; text-align: center; }
#default-style03-list .kboard-search form
{ display: flex; align-items: stretch; justify-content: center; background: var(--sub-bg-color); padding: 2rem;    border-radius: 1.5rem;margin-bottom: 2rem;}
#default-style03-list .kboard-search .select-box
{position:relative; z-index:9}
#default-style03-list .kboard-search .select-box i
{ position:absolute; font-size:2rem; right:10px; top:14px; color:#666;z-index: 90;}
#default-style03-list .kboard-search select { display: flex; margin: 0; padding: 12.5px 10px; width: 100px; min-width: 0; max-width: 100px; min-height: 0; font-size: 15px; color: #444; border-radius: 5px; border: none; background: none; position:relative; z-index:9; vertical-align: middle; box-shadow: none; box-sizing: content-box; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: none;background: #fff;}
#default-style03-list .kboard-search input {font-weight: 500; display: inline; margin: 0; padding: 0 10px; width: 300px; min-width: 0; max-width: 300px; min-height: 0; font-size: 15px;  color: #444 ;border-radius: 0; border: none; background: none; background-color: white; vertical-align: middle; box-shadow: none; box-sizing: content-box; border-radius:0px;}
#default-style03-list .kboard-search button
{ height: auto;  line-height: 1;  background: #fff !important; color: #444!important;  padding: 0 20px;  font-size: 16px;  border-radius: 0px;  border:none;}
#default-style03-list .kboard-control { float: left; padding-bottom: 15px; width: 100%; text-align: right; }
#default-style03-list .kboard-control a { background: var(--sub-color3) !important; color: #fff !important; padding: 0.5rem 3rem; font-size: 1.5rem; border-radius: 0px; }
#default-style03-list .kboard-search select:focus,
#default-style03-list .kboard-search input:focus,
#default-style03-list .kboard-search button:focus
{outline: none;}

#default-style03-editor { overflow: hidden; }
#default-style03-editor form { margin: 0; padding: 0; }
#default-style03-editor select { display: inline; margin: 0; padding: 0 5px; font-size: 14px; width: 30%; height: 28px; line-height: 28px; color: #666666; border-radius: 0; border: 0; border-bottom: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: content-box; vertical-align: middle; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#default-style03-editor input[type="text"],
#default-style03-editor input[type="email"],
#default-style03-editor input[type="number"],
#default-style03-editor input[type="date"],
#default-style03-editor input[type="password"] { display: inline; margin: 0; padding: 0 5px; width: 70%; height: 28px; line-height: 28px; font-size: 14px; color: #666666; border-radius: 0; border: 0; border-bottom: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: content-box; vertical-align: middle; }
#default-style03-editor input[type="checkbox"] { width: auto; -webkit-appearance: checkbox; -moz-appearance: checkbox; appearance: checkbox; }
#default-style03-editor input[type="radio"] { width: auto; -webkit-appearance: radio; -moz-appearance: radio; appearance: radio; }
#default-style03-editor select:hover,
#default-style03-editor input[type="text"]:hover,
#default-style03-editor input[type="email"]:hover,
#default-style03-editor input[type="number"]:hover,
#default-style03-editor input[type="date"]:hover,
#default-style03-editor input[type="password"]:hover { border-bottom: 1px solid #9e9e9e; }
#default-style03-editor select:focus,
#default-style03-editor input[type="text"]:focus,
#default-style03-editor input[type="email"]:focus,
#default-style03-editor input[type="number"]:focus,
#default-style03-editor input[type="date"]:focus,
#default-style03-editor input[type="password"]:focus { border-bottom: 2px solid #9e9e9e; }
#default-style03-editor input[type="file"] { display: inline; margin: 0; padding: 0; width: 30%; font-size: 13px; color: #666666; border-radius: 0; border: 0; box-shadow: none; background-color: transparent; }
#default-style03-editor .kboard-attr-title input { width: 70%; }
#default-style03-editor .kboard-attr-row { float: left; padding: 5px 0; width: 100%; background-color: white; }
#default-style03-editor .kboard-attr-row .attr-name { display: inline; float: left; margin: 0; padding: 0 10px 0 10px; width: 120px; line-height: 30px; color: #545861; font-size: 14px; font-weight: bold; }
#default-style03-editor .kboard-attr-row .attr-name img { display: inline; margin: 0; padding: 0; width: auto; max-width: 100%; vertical-align: middle; }
#default-style03-editor .kboard-attr-row .attr-name .attr-required-text { color: red; font-weight: normal; font-size: 13px; }
#default-style03-editor .kboard-attr-row.kboard-attr-content .attr-name { display: none; }
#default-style03-editor .kboard-attr-row .attr-value { margin: 0 0 0 140px; padding: 0; line-height: 30px; font-size: 14px; }
#default-style03-editor .kboard-attr-row .attr-value .attr-value-option { display: inline; padding-right: 20px; width: auto; font-size: 14px; cursor: pointer; }
#default-style03-editor .kboard-attr-row .attr-value .attr-value-option input { cursor: pointer; }
#default-style03-editor .kboard-attr-row .attr-value .attr-value-label { display: inline; padding-right: 5px; width: auto; cursor: pointer; }
#default-style03-editor .kboard-attr-row .attr-value .attr-value-label input { cursor: pointer; }
#default-style03-editor .kboard-attr-row .attr-value .description { margin: 1rem 0 0 ; color: #666666; }
#default-style03-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap { float: left; width: 100%; }
#default-style03-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select { clear: both; float: left; margin-bottom: 5px; width: 30%; }
#default-style03-editor .kboard-content { float: left; margin: 0; padding: 9px 0; width: 100%; background-color: white; }
#default-style03-editor .kboard-content .editor-textarea { display: inline; margin: 0; padding: 5px; width: 100%; min-width: 100%; max-width: 100%; height: 250px; min-height: 0; font-size: 14px; border: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: border-box; text-indent: 0; }
#default-style03-editor .kboard-control { float: left; padding: 15px 0; width: 100%; }
#default-style03-editor .kboard-control .left { position: static; float: left; }
#default-style03-editor .kboard-control .right { position: static; float: right; width: 50%; text-align: right; }
#default-style03-editor .kboard-control button,
#default-style03-editor .kboard-control a { background: var(--sub-color3) !important; color: #fff !important; padding: 0.5rem 3rem; font-size: 1.5rem; border-radius: 5px; }

#default-style03-editor.confirm { margin: 100px auto; max-width: 590px; }
#default-style03-editor.confirm input[type="password"] { width: 100%; box-sizing: border-box; }

#default-style03-document { display: inline-block; *display: inline; zoom: 1; margin: 0; width: 100%; }
#default-style03-document .kboard-document-wrap { /*float: left; */
 width: 100%; background-color: white; }
#default-style03-document .kboard-document-top
{padding:3rem 2rem; border-top:2px solid var(--black-color); border-bottom:1px solid #ddd;background-color: #ededed;}
#default-style03-document .kboard-document-top .kboard-title {width:100%;text-align: center;}

#default-style03-document .kboard-title h1 {color: #1c1c1c; font-weight: 600; font-size: 21px; word-break: keep-all; line-height: 1.3; }
#default-style03-document .kboard-detail
{ width: 100%; font-size: 16px; display: flex; padding-top:2rem; justify-content: center}
#default-style03-document .kboard-detail .detail-attr { display: flex; align-items: center; *display: inline; zoom: 1; margin: 0; font-size: 1.7rem; margin-right:3rem;}
#default-style03-document .kboard-detail .detail-attr .detail-name { color: #a7a7a7; text-align: right; font-size: 14px; font-weight:600;}
#default-style03-document .kboard-detail .detail-attr .detail-value { padding-left: 10px; color: #232323; font-weight:600; font-size:14px; }
#default-style03-document .kboard-detail .detail-attr .detail-value a { color: #545861; text-decoration: none; border: 0; box-shadow: none; }
#default-style03-document .kboard-detail .detail-attr .detail-value img.avatar { display: inline; margin: 0; width: 24px; max-width: none; height: 24px; vertical-align: middle; border-radius: 50%; }
#default-style03-document .kboard-content { clear: both; /* float: left; */
 width: 100%; min-height: 200px; }
#default-style03-document .kboard-content .content-view
{ margin: 0; padding: 22px; line-height: 1.5; word-break: break-all; font-size: 1.8rem; color: #111; }
#default-style03-document .kboard-content .content-view iframe { max-width: 100%; }
#default-style03-document .kboard-content .content-view img
{ display: inline; margin: 0; vertical-align: middle; max-width: 100%;display: block; margin: auto; }
#default-style03-document .kboard-content .content-view hr { margin: 10px 0; padding: 0; height: 1px; border: 0; background-color: #f1f1f1; }
#default-style03-document .kboard-content .content-view ul { margin: 0.75em 0; }
#default-style03-document .kboard-content .content-view ol { margin: 0.75em 0; }
#default-style03-document .kboard-content .content-view p { margin: 0 0 0.75em; }
#default-style03-document .kboard-content .content-view p:last-child { margin: 0; }
#default-style03-document .kboard-content .content-view p,
#default-style03-document .kboard-content .content-view p span { word-break: normal; }
#default-style03-document .kboard-content .content-view .thumbnail-area { text-align: center; }
#default-style03-document .kboard-content .content-view .aligncenter { display: block; margin-right: auto; margin-left: auto; }
#default-style03-document .kboard-content .content-view .alignright { float: right; }
#default-style03-document .kboard-content .content-view .alignleft { float: left; }
#default-style03-document .kboard-document-action { padding: 0 22px 5px 22px; overflow: hidden; line-height: 1; }
#default-style03-document .kboard-document-action .left { position: static; float: left; }
#default-style03-document .kboard-document-action .right { position: static; float: right; text-align: right; }
#default-style03-document .kboard-attach {font-size: 13px; overflow: hidden; line-height: 1;border-bottom: 1px solid #ddd; padding:2rem;; }

#default-style03-document .kboard-button-action {padding: 0; font-size: 15px; border: none; cursor: pointer; vertical-align: middle; display:block; margin:1rem 0; line-height:1.5;}
#default-style03-document .kboard-button-action span { position: static; display: inline; margin: 0; padding: 0; font-size: 13px; line-height: 12px; }
#default-style03-document .kboard-button-like { color: #ff5959; }
#default-style03-document .kboard-button-unlike { color: #3d62aa; }
#default-style03-document .kboard-button-print { color: gray; }
#default-style03-document .kboard-button-download { display:flex; align-items:center; color: #444; font-weight: 500; }
#default-style03-document .kboard-button-download i { margin-right: 5px; }
#default-style03-document .kboard-button-download:hover {background:#fff; color:#000;}

#default-style03-document .kboard-comments-area { float: left; width: 100%; }
#default-style03-document .kboard-document-navi { float: left; padding-top: 15px; width: 100%; }
#default-style03-document .kboard-document-navi a { display: block; text-decoration: none; border: 0; font-size: 14px; line-height: 20px; box-shadow: none; color: #545861; transition-duration: 0.3s; }
#default-style03-document .kboard-document-navi .navi-document-title { display: block; }
#default-style03-document .kboard-document-navi .navi-arrow { position: absolute; display: block; }
#default-style03-document .kboard-document-navi .kboard-prev-document { position: relative; float: left; width: 45%; }
#default-style03-document .kboard-document-navi .kboard-prev-document .navi-document-title { padding-left: 15px; }
#default-style03-document .kboard-document-navi .kboard-prev-document .navi-arrow { left: 0; top: 0; }
#default-style03-document .kboard-document-navi .kboard-prev-document:hover a { color: black; }
#default-style03-document .kboard-document-navi .kboard-next-document { position: relative; float: right; width: 45%; text-align: right; }
#default-style03-document .kboard-document-navi .kboard-next-document .navi-document-title { padding-right: 15px; }
#default-style03-document .kboard-document-navi .kboard-next-document .navi-arrow { right: 0; top: 0; }
#default-style03-document .kboard-document-navi .kboard-next-document:hover a { color: black; }

#default-style03-document #custom { margin-top: 3rem; text-align: center; }
#default-style03-document #custom a
{padding: 0.8rem 3rem;  background: var(--sub-color3);  color: #fff;  font-size: 1.6rem;  border-radius: 12px;  font-weight: 500;}
/* #default-style03-document #custom a:hover
{background:var(--text-color);;} */

#default-style03-document .kboard-control { float: left; padding: 15px 0; width: 100%; margin-top: 3rem; }
#default-style03-document .kboard-control .left { position: static; float: left; }
#default-style03-document .kboard-control .right { position: static; float: right; text-align: right; }
#default-style03-document .kboard-control a { background: var(--sub-color3) !important; color: #fff !important; padding: 0.5rem 3rem; font-size: 1.5rem; border-radius: 5px; }
/* 관련링크 */
#default-style03-document .relation-link
{padding:2rem; background:#f4f4f4;}
#default-style03-document .relation-link li
{margin:1rem 0;}
#default-style03-document .relation-link li a
{font-size:1.6rem; color:#254e9d; text-decoration:underline;}
#default-style03-document .relation-link li a i
{transform:rotate(45deg); margin-right:1rem;}

/* 최신 글 추출 */
#default-style03-latest
{display: flex;  flex-direction: column;  flex-wrap: nowrap;  align-items: stretch;}
#default-style03-latest ul{}
#default-style03-latest ul li
{border-bottom:var(--border);;width: 100%;}
/* #default-style03-latest ul li:last-child{border-bottom: none;} */
#default-style03-latest .latest-item a
{display: flex;transition: var(--transition1);flex-direction: row;height: 100%;width: 100%;flex-wrap: nowrap;justify-content: space-between;align-items: center;padding:3rem 3rem 2rem;}
 #default-style03-latest .latest-item a:hover h4{color: var(--sub-color3);}
#default-style03-latest .latest-item a:hover .date {color: var(--sub-color3);}
/*#default-style03-latest .latest-item a:hover .date-con{background-color:#d3e9d9 ;}
#default-style03-latest .latest-item a:hover .date-day{color:var(--sub-color3);}
#default-style03-latest .latest-item a:hover .category{color: var(--sub-color3);} */

#default-style03-latest .latest-item .date
{ min-width: 13rem; text-align: right; color:#696969;  font-size: 1.8rem;transition: var(--transition1); font-family: var(--font2);}

#default-style03-latest .latest-item .tit-con
{width:80%; display:flex; justify-content:space-between; align-items:center;/* 말줄임표 */ overflow: hidden;  text-overflow: ellipsis;  display: -webkit-box;  -webkit-box-orient: vertical;  -webkit-line-clamp: 1; }
#default-style03-latest .latest-item .tit{}
#default-style03-latest .latest-item .tit h4
{font-size: 1.8rem;  color: #060606; font-weight: 500; position: relative;  transition: var(--transition1);  position: relative; margin: 0;}

#default-style03-latest .latest-item .text-con {}
#default-style03-latest .latest-item .text-con p.board-text
{ font-size: 1.8rem;  color: #666666;  font-weight: 400;margin-bottom: 0;  line-height: 1.5; }

#default-style03-latest .latest-item .more-icon {width:2.5rem; height:2.5rem; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; }
#default-style03-latest .latest-item .more-icon .row1 {width:100%; height:3px; background:#919191;}
#default-style03-latest .latest-item .more-icon .row2 {width:3px;; height:100%; background:#919191; position:absolute;}

/* 카테고리 별 색상 */
#default-style03-latest .category
{font-size: 1.8rem;font-weight: 600;transition: var(--transition1);}
/* #default-style03-latest .category.cat-color01{}
#default-style03-latest .category.cat-color02{}
#default-style03-latest .category.cat-color03{} */

@media screen and (max-width: 767px){
  #default-style03-latest ul li { width: 100%; margin: 0; }
  #default-style03-latest .latest-item a { padding: 2rem 0; }
  #default-style03-latest .latest-item .tit { margin: 2rem 0 2rem; }
  .cm-board-cut-strings { font-size: 1.6rem; }
  #default-style03-latest table .kboard-latest-date { font-size: 1.4rem; }
}


@media screen and (max-width: 600px){
  #default-style03-list .kboard-category.category-mobile { display: block; }
  #default-style03-list .kboard-category.category-pc { display: none; }
  #default-style03-list .kboard-tree-category-search .kboard-search-option-wrap.select { width: 100%; }
  #default-style03-list .kboard-list-header .kboard-total-count { font-size: 15px; }
  #default-style03-list .kboard-list table { border-top: 1px solid #f1f1f1; }
  #default-style03-list .kboard-list table a { padding: 10px 0 0; }
  #default-style03-list .kboard-list table thead { display: none; }
  #default-style03-list .kboard-list table tbody td.kboard-list-title { padding: 10px 5px; }
  #default-style03-list .kboard-list table tbody td.kboard-list-title .cm-board-cut-strings { white-space: normal; font-size: 15px; }
  #default-style03-list .kboard-list table tbody td.kboard-list-uid,
  #default-style03-list .kboard-list table tbody td.kboard-list-user,
  #default-style03-list .kboard-list table tbody td.kboard-list-date,
  #default-style03-list .kboard-list table tbody td.kboard-list-vote,
  #default-style03-list .kboard-list table tbody td.kboard-list-attachments,
  #default-style03-list .kboard-list table tbody td.kboard-list-view { display: none; }
  #default-style03-list .kboard-list .kboard-mobile-contents { display: block; }
  #default-style03-list .kboard-pagination .kboard-pagination-pages li { display: none; }
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.first-page,
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.last-page,
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.prev-page,
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.next-page,
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.active { display: inline-block; }
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
  #default-style03-list .kboard-pagination .kboard-pagination-pages li.next-page a { padding: 0 18px; }
  #default-style03-list .kboard-search select { float: left; margin-right: 1%; width: 23%; min-width: 23%; box-sizing: border-box; font-size: 15px; }
  #default-style03-list .kboard-search input { float: left; margin-right: 1%; width: 49%; min-width: 49%; box-sizing: border-box; }
  #default-style03-list .kboard-search button { float: left; width: 23%; min-width: 23%; box-sizing: border-box; text-align: center; padding: 0 1rem; font-size: 15px; }

  #default-style03-editor select,
  #default-style03-editor input[type="text"],
  #default-style03-editor input[type="email"],
  #default-style03-editor input[type="number"],
  #default-style03-editor input[type="date"],
  #default-style03-editor input[type="password"],
  #default-style03-editor input[type="file"] { width: 100% !important; box-sizing: border-box; }
  #default-style03-editor .kboard-attr-row { padding: 10px 0; }
  #default-style03-editor .kboard-attr-row .attr-name { padding: 0; width: 100%; font-size: 14px; }
  #default-style03-editor .kboard-attr-row .attr-value { margin: 0; }
  #default-style03-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select { margin-bottom: 10px; width: 100%; }
  #default-style03-editor.confirm { max-width: none; }

  #default-style03-document .kboard-title h1 { padding: 20px 10px; font-size: 19px; }

  #default-style03-document .kboard-content .content-view { padding: 10px 5px; font-size: 17px; }
  #default-style03-document .kboard-detail .detail-attr { clear: both; padding: 10px 5px; line-height: normal; font-size: 16px; }
  #default-style03-document .kboard-detail .detail-attr .detail-name { font-size: 15px; }
  #default-style03-document .kboard-detail .detail-attr .detail-value { font-size: 15px; }
  #default-style03-document .kboard-document-action { padding: 10px 5px 5px 5px; }
  #default-style03-document .kboard-attach { margin: 0 5px; padding: 0; margin: 5px; }
  #default-style03-document .kboard-attach .attach-tit { width: 100%; }
  #default-style03-document .kboard-button-action { margin-top: 1rem; font-size: 1.5rem; }
  #default-style03-document .kboard-document-navi .kboard-prev-document { width: 100%; }
  #default-style03-document .kboard-document-navi .kboard-next-document { margin-top: 10px; float: left; width: 100%; text-align: left; }
  #default-style03-document .kboard-list tbody tr td.kboard-list-category1 { display: none; }

  #default-style03-list .kboard-list tbody tr td.kboard-list-category1 { display: none; }
}


@media print {
  /* 1. 페이지 설정 */
  @page {
    size: A4;
    margin: 10mm 10mm 15mm; /* 여백을 조금 줄여 가용 공간 확보 */
  }

  /* 2. 바디 및 기본 레이아웃 해제 */
  html, body {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: none !important;
  }

  /* 3. 불필요한 요소 제거 (더 포괄적으로) */
  header, footer, .sidebar, .nav, .floating-button, #adminbar, .header-v1, .footer-v1,.view-btn-con,.kboard-control {
    display: none !important;
  }

  /* 4. [중요] 겹침 방지 수정 */
  /* 모든 요소를 static으로 바꾸는 대신, 플로팅 요소를 해제하고 흐름을 유지합니다. */
  * {
    float: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 5. [중요] 워드프레스 레이아웃 컨테이너 강제 확장 */
  /* 테마마다 ID가 다르므로 흔히 쓰이는 ID들을 모두 포함했습니다. */
  #page, #main, #primary, #wrapper, #container,
  .container, .sub-container, .content-area, .entry-content, .site-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important; /* static 대신 relative 유지 */
    display: block !important;
  }

  /* 6. 게시판(KBoard 등) 특정 대응 */
  #kboard-document, .kboard-content {
    width: 100% !important;
    overflow: visible !important;
    /* height: 100%!important; */
  }
  /* 7. 이미지/표 잘림 방지 */
  /* img, table, tr, pre, blockquote {
    max-width: 100% !important;
    max-height: 100% !important;
    page-break-inside: avoid;
  } */

  /* 8. 페이지 강제 나눔이 필요한 경우 */
  .page-break {
    page-break-before: always;
  }

/* 1. 모든 텍스트 요소가 페이지 경계에서 잘리지 않도록 설정 */
p, div, span, li, h1, h2, h3, h4, h5, h6 ,b,#text{
  /* 문단 중간에서 페이지가 넘어가는 것을 방지 */
  break-inside: avoid-page !important;
  page-break-inside: avoid !important;

  /* 페이지 하단/상단에 최소 3줄은 남기도록 설정 (고아선/미망인선 방지) */
  orphans: 3 !important;
  widows: 3 !important;
}

/* 2. 게시판 본문 컨테이너 설정 보완 */
.kboard-content, .entry-content, .content-area {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  /* 컨테이너 자체가 잘리지 않도록 설정 */
  break-after: auto !important;
  break-before: auto !important;
}
.sub-visual {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important; /* 흐름에서 완전히 제외 */
}

/* 3. 줄 간격 최적화 (글자가 잘릴 확률을 줄임) */
.kboard-content {
  line-height: 1.6 !important; /* 줄 간격을 약간 여유 있게 조절 */
  word-break: break-all !important; /* 단어 단위로 끊기게 설정 */
}

  /* 9. 타이틀 글자 없애기 (선택사항) */
  .sub-container:nth-child(1){
    height: 0rem!important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important; /* 흐름에서 완전히 제외 */
  }
  .sub-container:nth-child(1) .sub-title{
    display: none!important;
  }
}
