@charset "utf-8";

:root {
  --color-primary:#0f763b;
  --color-secondary:#0a8e43;
  --color-text:#000;
  --color-textgray:#999999;

  --fontsize-default:16px;
  --fontsize-small:14px;

  --font-family:Pretendard,Noto Sans,sans-serif;

  --maxwidth:1600px;
  --bd-radius:0px;
  --kboard-radius: 0px;
  --kboard-border: #ddd;
  --kboard-primary: #0f763b;
  --kboard-primary-hover: #0f763b;
}

a.kboard-gallery-button-small, a.kboard-default-button-small,
input.kboard-gallery-button-small, input.kboard-default-button-small,
button.kboard-gallery-button-small, button.kboard-default-button-small
{ position: relative; display: inline-block; zoom: 1; margin: 0; padding: 0 20px; width: auto; height: 38px; line-height: 38px; font-size: var(--fontsize-default); font-weight: normal; letter-spacing: normal; color: #fff !important; background: #333333 !important; border: none; border-radius: var(--bd-radius); text-decoration: none !important; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; transition-duration: 0.3s; box-sizing: content-box; font-size: 15px;}
a.kboard-gallery-button-medium,
input.kboard-gallery-button-medium,
button.kboard-gallery-button-medium {position: relative; display: inline-block; zoom: 1; margin: 0; padding: 0 10px; font-size: var(--fontsize-default); font-weight: normal; letter-spacing: normal; color: #fff !important; background: #333333 !important; border: none; border-radius: var(--bd-radius); text-decoration: none !important; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; transition-duration: 0.3s; box-sizing: content-box; width: 100px; height:50px; line-height:50px; text-align:center;}
a.kboard-gallery-button-small:hover,
a.kboard-gallery-button-small:focus,
a.kboard-gallery-button-small:active,
input.kboard-gallery-button-small:hover,
input.kboard-gallery-button-small:focus,
input.kboard-gallery-button-small:active,
button.kboard-gallery-button-small:hover,
button.kboard-gallery-button-small:focus,
button.kboard-gallery-button-small:active,
a.kboard-gallery-button-medium:hover, 
input.kboard-gallery-button-medium:hover, 
button.kboard-gallery-button-medium:hover,
a.kboard-default-button-small:hover,
a.kboard-default-button-small:focus,
a.kboard-default-button-small:active,
input.kboard-default-button-small:hover,
input.kboard-default-button-small:focus,
input.kboard-default-button-small:active,
button.kboard-default-button-small:hover,
button.kboard-default-button-small:focus,
button.kboard-default-button-small:active
{ opacity: 0.7 !important; transform: translateY(0px); background-color:#333 !important; }

[class*="kboard-gallery-button"].primary {background:var(--color-primary) !important}
[class*="kboard-gallery-button"].warning {background:rgb(255, 51, 0) !important}

.kboard-latest-empty-list-message { text-align: center; font-family: var(--font-family); color: var(--color-textgray);}


.kboard-gallery-new-notify { display: inline-block; zoom: 1; padding: 2px 4px; line-height: 10px; font-size: 10px; color: white; background-color: var(--color-secondary); font-weight: normal; vertical-align: middle; border-radius: 10px;}
.kboard-gallery-cut-strings { width: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-wrap: normal; font-family: var(--font-family); line-height: 1.5;}
.kboard-gallery-cut-strings.lines-two {display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; word-break: break-word;  white-space: normal; }


/* kboard-gallery-list - LIST */
#kboard-gallery-list { justify-content: center; display: flex; flex-direction: column; zoom: 1; margin: 0 auto; width: 100%; }
#kboard-gallery-list form { margin: 0; padding: 0; }
#kboard-gallery-list .kboard-list-header { float: left; display: table; padding-bottom: 15px; width: 100%; display:none;}
#kboard-gallery-list .kboard-list-header .kboard-total-count { float: left; display: table-cell; font-size: 14px; }
#kboard-gallery-list .kboard-list-header .kboard-sort { float: right; display: table-cell; text-align: right; }
#kboard-gallery-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; }
#kboard-gallery-list .kboard-category { float: left; padding-bottom: 15px; width: 100%; }
#kboard-gallery-list .kboard-category.category-mobile { display: none; }
#kboard-gallery-list .kboard-category.category-pc { display: block; }
#kboard-gallery-list .kboard-category select { display: inline; margin: 0 0 5px 0; padding: 0 0.25em; width: 100%; min-width: 100%; height: 40px; min-height: 0; line-height: 40px; font-size: var(--fontsize-default); color: var(--color-text); border-radius: var(--bd-radius); border: 1px solid var(--color-textgray); background: white; vertical-align: middle; box-shadow: none; box-sizing: border-box; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-list .kboard-category select:focus-visible {border-color:var(--color-primary)}
#kboard-gallery-list .kboard-category .kboard-category-list { margin: 0 0 5px 0; padding: 0; list-style: none; border: 0; background-color: #f4f4f4; overflow: hidden; border-radius:var(--bd-radius); font-family: var(--font-family);}
#kboard-gallery-list .kboard-category .kboard-category-list li { display: inline-block; zoom: 1; margin: 0; padding: 0 5px; border: 0; list-style: none; }
#kboard-gallery-list .kboard-category .kboard-category-list li::before,
#kboard-gallery-list .kboard-category .kboard-category-list li::after { display: none; }
#kboard-gallery-list .kboard-category .kboard-category-list li a { display: block; padding: 10px 10px 8px 10px; font-size: var(--fontsize-default); border: 0; border-bottom: 2px solid transparent; text-decoration: none; text-shadow: none; box-shadow: none; color: var(--color-text); }
#kboard-gallery-list .kboard-category .kboard-category-list li.kboard-category-selected a { font-weight: bold; border-bottom: 2px solid var(--color-text); color: var(--color-text); }
#kboard-gallery-list .kboard-tree-category-wrap { float: left; padding-bottom: 15px; width: 100%; }
#kboard-gallery-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; }
#kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.type-select { width: auto; }
#kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.type-tab { width: 100%; }
#kboard-gallery-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; }
#kboard-gallery-list .kboard-tree-category li { display: inline-block; zoom: 1; margin: 0; padding: 0 5px; border: 0; list-style: none; }
#kboard-gallery-list .kboard-tree-category li::before,
#kboard-gallery-list .kboard-tree-category li::after { display: none; }
#kboard-gallery-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; }
#kboard-gallery-list .kboard-tree-category li.kboard-category-selected a { font-weight: bold; border-bottom: 2px solid var(--color-text); color: var(--color-text); }
#kboard-gallery-list .kboard-tree-category-search { float: left; width: 100%; }
#kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap { margin-right: 5px; float: left; }

/*  */
#kboard-gallery-list .kboard-list {width: 100%; display: flex; flex-wrap: wrap; gap:3rem 2%; font-family: var(--font-family);}
#kboard-gallery-list .kboard-list .kboard-gallery-item {width:calc(96% / 3); }
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-thumbnail {aspect-ratio: 5 / 3; background:#ffffff;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-thumbnail a{}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-thumbnail img {width: 100%; aspect-ratio: 5 / 3; object-fit: cover; object-position: center;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-thumbnail img.thumbnail-default-img {width: 100%; aspect-ratio: 5 / 3; object-fit: contain; object-position: center; }
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-category {color: var(--color-secondary); font-weight: 600; font-size: var(--fontsize-small); margin-bottom:0.25em;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents {box-sizing: border-box; border: 1px solid #ddd;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents a {padding: 2rem 2.5rem 2.25rem; display: flex; flex-direction: column; gap: 0.875rem;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title {margin:0; font-size:24px; width: 100%; text-overflow: ellipsis; overflow: hidden;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title a {color: var(--color-primary);font-size: var(--fontsize-default); font-family:var(--font-family); text-decoration: none;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-desc {font-size: var(--fontsize-default); line-height: 1.5; color: #555;
text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 3; height: 4.5rem;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-date {color: var(--color-textgray); font-size:var(--fontsize-small); margin-top:1em;}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents a:hover .kboard-list-title {color: var(--color-primary);}
#kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents a:hover .kboard-list-desc {color: var(--color-text);}
/* 고정글 */
#kboard-gallery-list .kboard-list .kboard-gallery-item.kboard-list-notice {position: relative;}
#kboard-gallery-list .kboard-list .kboard-gallery-item.kboard-list-notice .kboard-list-pin{position:absolute; top:0; left:0; background:#1E3250; color:#fff; padding: 4px; }
/*  */
#kboard-gallery-list .kboard-list .kboard-mobile-contents { display: none; font-size: 13px; color: #999999; }
#kboard-gallery-list .kboard-list .kboard-mobile-contents .contents-thumbnail { float: left; display: inline; margin: 0 10px 10px 0; width: auto; height: auto; vertical-align: middle; max-width: 100%; border: 1px solid #f1f1f1; }
#kboard-gallery-list .kboard-list .kboard-mobile-contents .contents-item { display: inline; margin: 0; padding: 0; }
#kboard-gallery-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%; }
#kboard-gallery-list .kboard-list .kboard-mobile-contents .contents-separator { display: inline; margin: 0; padding: 0 2px; color: #bebebe; }


/* pagination */
#kboard-gallery-list .kboard-pagination { float: left; padding: 40px 0; margin-top:40px; width: 100%; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages { float: left; margin: 0; padding: 0; width: 100%; list-style: none; text-align: center; border: 0; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li { display: inline-block; zoom: 1; margin: 0; padding: 0 1px; background: none; border: 0; list-style: none; vertical-align: top;}
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li a { display: block; margin: 0;  width: 35px; height: 35px; line-height: 34px; font-size: var(--fontsize-default); color: var(--color-text); text-decoration: none; border: 1px solid #dddddd; border-radius:5px; background-color: #fff; box-shadow: none; font-family: var(--font-family);}
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.first-page a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.last-page a{font-size:0;}
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.first-page a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.last-page a{background:url(./images/icon-pagination-double-arrow.png) no-repeat center/ 14px 15px;}
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a{background:url(./images/icon-pagination-single-arrow.png) no-repeat center/ 8px 15px;}
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.first-page a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a {transform: rotate(180deg);}

#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li:hover a,
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.active a {color: #fff; background-color: var(--color-primary); }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li:before { display: none; }
#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li:after { display: none; }
/* search */
#kboard-gallery-list .kboard-search { display: flex; align-items: center; width: 100%; text-align: center; justify-content: center; margin: 3rem 0; padding: 20px;}
#kboard-gallery-list .kboard-search form {display: flex; align-items: center; gap: 5px;}
#kboard-gallery-list .kboard-search select { display: inline; margin: 0; padding: 0 5px; width: 100px; min-width: 0; max-width: 100px; height: 40px; min-height: 0; font-size: var(--fontsize-default); color: var(--color-text); border-radius: var(--bd-radius); border: 1px solid #dddddd; background: none; background-color: white; line-height: 40px; vertical-align: middle; box-shadow: none; box-sizing: border-box; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-list .kboard-search input { display: inline; margin: 0; padding: 0 5px; width: 300px; min-width: 0; max-width: 300px; height: 40px; min-height: 0; font-size: var(--fontsize-default); color: var(--color-text); border-radius: var(--bd-radius); border: 1px solid #dddddd; background: none; background-color: white; line-height: 40px; vertical-align: middle; box-shadow: none; box-sizing: border-box; }
#kboard-gallery-list .kboard-search button {border-radius:var(--bd-radius); border:0; outline:0; height:40px; line-height: 40px; padding: 0 20px; font-size: var(--fontsize-default); background:var(--color-primary) !important; color:#fff; }
#kboard-gallery-list .kboard-search button:hover {background-color: var(--color-primary); transform:translateY(0);}
#kboard-gallery-list .kboard-control { float: left; padding-bottom: 0; width: 100%; text-align: right;}
/*  */
#kboard-gallery-list .kboard-list-empty {text-align: center; color: var(--color-textgray); background: #f5f5f5; border-radius: 3rem; max-width: 500px; margin: auto; padding: 1rem 3rem;}

/* kboard-gallery-editor */
#kboard-default-editor input[type=file] {padding: 0;}
#kboard-gallery-editor { overflow: hidden; }
#kboard-gallery-editor form { margin: 0; padding: 0; }
#kboard-gallery-editor select { display: inline; margin: 0; padding: 0 5px; font-size: var(--fontsize-default); width: 30%; height: 40px; line-height: 40px; color: var(--color-text); border-radius: 0; border: 0; border-bottom: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: border-box; vertical-align: middle; text-indent: 0; -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist; }
#kboard-gallery-editor input[type=text],
#kboard-gallery-editor input[type=email],
#kboard-gallery-editor input[type=number],
#kboard-gallery-editor input[type=date],
#kboard-gallery-editor input[type=password] { display: inline; margin: 0; padding: 0 5px; width: 30%; height: 40px; line-height: 40px; font-size: var(--fontsize-default); color: var(--color-text); border-radius: 0; border: 0; border-bottom: 1px solid #dcdcdc; box-shadow: none; background: none; background-color: transparent; box-sizing: border-box; vertical-align: middle; }
#kboard-gallery-editor input[type=checkbox] { width: auto; -webkit-appearance: checkbox; -moz-appearance: checkbox; appearance: checkbox; }
#kboard-gallery-editor input[type=radio] { width: auto; -webkit-appearance: radio; -moz-appearance: radio; appearance: radio; }
#kboard-gallery-editor select:hover,
#kboard-gallery-editor input[type=text]:hover,
#kboard-gallery-editor input[type=email]:hover,
#kboard-gallery-editor input[type=number]:hover,
#kboard-gallery-editor input[type=date]:hover,
#kboard-gallery-editor input[type=password]:hover { border-bottom: 1px solid #9e9e9e; }
#kboard-gallery-editor select:focus,
#kboard-gallery-editor input[type=text]:focus,
#kboard-gallery-editor input[type=email]:focus,
#kboard-gallery-editor input[type=number]:focus,
#kboard-gallery-editor input[type=date]:focus,
#kboard-gallery-editor input[type=password]:focus { border-bottom: 2px solid #9e9e9e; }
#kboard-gallery-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; }
#kboard-gallery-editor .kboard-attr-title input { width: 100%;}
#kboard-gallery-editor .kboard-attr-row { float: left; padding: 5px 0; width: 100%; background-color: white; }
#kboard-gallery-editor .kboard-attr-row .attr-name { display: inline; float: left; margin: 0; padding: 0 10px 0 10px; width: 120px; line-height: 32px; color: var(--color-text); font-size: var(--fontsize-default); font-weight: 500; }
#kboard-gallery-editor .kboard-attr-row .attr-name img { display: inline; margin: 0; padding: 0; width: auto; max-width: 100%; vertical-align: middle; }
#kboard-gallery-editor .kboard-attr-row .attr-name .attr-required-text { color: red; font-weight: normal; font-size: 13px; }
#kboard-gallery-editor .kboard-attr-row.kboard-attr-content .attr-name { display: none; }
#kboard-gallery-editor .kboard-attr-row .attr-value { margin: 0 0 0 140px; padding: 0; line-height: 32px; font-size: var(--fontsize-default); }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-option { display: inline; padding-right: 20px; width: auto; font-size: var(--fontsize-default); cursor: pointer; color: var(--color-text); }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-option input { cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-label { display: inline; padding-right: 10px; width: auto; cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .attr-value-label input { cursor: pointer; }
#kboard-gallery-editor .kboard-attr-row .attr-value .description { margin: 0; color: #666666; }
#kboard-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap { overflow: hidden; }
#kboard-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select { clear: both; float: left; margin-bottom: 5px; width: 30%; }
#kboard-gallery-editor .kboard-attr-attach {border-bottom: 1px dotted #ddd; }
#kboard-gallery-editor .kboard-content { float: left; margin: 0; padding: 9px 0; width: 100%; background-color: white; }
#kboard-gallery-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; }
#kboard-gallery-editor .kboard-control { float: left; padding: 15px 0; width: 100%; }
#kboard-gallery-editor .kboard-control .left { position: static; float: left; }
#kboard-gallery-editor .kboard-control .right { position: static; float: right; width: 50%; text-align: right; }
#kboard-gallery-editor.confirm { margin: 100px auto; max-width: 590px; }
#kboard-gallery-editor.confirm input[type=password] { width: 100%; box-sizing: border-box; }

/* kboard-gallery-document */
#kboard-gallery-document { display: flex; flex-direction: column; zoom: 1; margin: 0 auto; width: 100%; max-width:var(--maxwidth);}
#kboard-gallery-document .kboard-document-wrap { float: left; width: 100%; background-color: white; }
#kboard-gallery-document .kboard-title { float: left; width: 100%; }
#kboard-gallery-document .kboard-title h1 { margin-bottom: 1em; padding: 0; color: var(--color-text); font-weight: bold; font-size: 30px; line-height: 1.5; text-align: left; letter-spacing: -0.5px;}
#kboard-gallery-document .kboard-category {}
#kboard-gallery-document .kboard-category .category-name {font-weight: 600; font-size:var(--fontsize-default); letter-spacing: -0.5px; display: inline-block; background:var(--color-secondary); color: #fff; padding: 0 10px;}
#kboard-gallery-document .kboard-detail { clear: both; float: left; width: 100%; border-top: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1; background-color: #f9f9f9; font-size: var(--fontsize-default); }
#kboard-gallery-document .kboard-detail .detail-attr { display: inline-block; zoom: 1; float: left; margin: 0; padding: 12px 35px 12px 22px; }
#kboard-gallery-document .kboard-detail .detail-attr .detail-name { float: left; font-weight: bold; color: var(--color-textgray); text-align: right; }
#kboard-gallery-document .kboard-detail .detail-attr .detail-value { float: left; padding-left: 20px; color: var(--color-textgray); }
#kboard-gallery-document .kboard-detail .detail-attr .detail-value a { color: var(--color-textgray); text-decoration: none; border: 0; box-shadow: none; }
#kboard-gallery-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%; }
#kboard-gallery-document .kboard-content { clear: both; float: left; width: 100%; min-height: 200px; }
#kboard-gallery-document .kboard-content .content-view { margin: 0; padding: 22px; word-break: break-all; font-family: var(--font-family);}
#kboard-gallery-document .kboard-content .content-view iframe { max-width: 100%; }
#kboard-gallery-document .kboard-content .content-view img { display: inline; margin: 0; vertical-align: middle; max-width: 100%; }
#kboard-gallery-document .kboard-content .content-view hr { margin: 10px 0; padding: 0; height: 1px; border: 0; background-color: #f1f1f1; }
#kboard-gallery-document .kboard-content .content-view ul { margin: 0.75em 0; }
#kboard-gallery-document .kboard-content .content-view ol { margin: 0.75em 0; }
#kboard-gallery-document .kboard-content .content-view p { margin: 0 0 0.75em; }
#kboard-gallery-document .kboard-content .content-view p:last-child { margin: 0; }
#kboard-gallery-document .kboard-content .content-view .thumbnail-area { text-align: center; }
#kboard-gallery-document .kboard-content .content-view .aligncenter { display: block; margin-right: auto; margin-left: auto; }
#kboard-gallery-document .kboard-content .content-view .alignright { float:right; }
#kboard-gallery-document .kboard-content .content-view .alignleft { float: left; }
#kboard-gallery-document .kboard-document-action { padding: 0 22px 5px 22px; overflow: hidden; line-height: 1; display: none;}
#kboard-gallery-document .kboard-document-action .left { position: static; float: left; }
#kboard-gallery-document .kboard-document-action .right { position: static; float: right; text-align: right; }
#kboard-gallery-document .kboard-attach { clear: both; margin: 0 22px; padding: 10px 0 5px 0; font-size: var(--fontsize-default); overflow: hidden; line-height: 1; border-top: 1px dashed #ededed; }
#kboard-gallery-document .kboard-attach .kboard-attach-title {margin-bottom: 1em; color: var(--color-text);}
#kboard-gallery-document .kboard-attach button {font-size: var(--fontsize-default); padding: 10px; border:1px solid var(--color-primary); color: var(--color-primary); border-radius:12px; font-family: var(--font-family); margin-right: 10px; line-height: 1.15;}
#kboard-gallery-document .kboard-attach i {margin-right: 0.5em;}
#kboard-gallery-document .kboard-button-action { margin: 0 0 5px 0; padding: 4px 5px; font-size: 13px; font-weight: normal; line-height: 12px; text-align: left; border: 1px solid #ededed; background: none; background-color: white; border-radius: 2px; letter-spacing: normal; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; }
#kboard-gallery-document .kboard-button-action span { position: static; display: inline; margin: 0; padding: 0; font-size: 13px; line-height: 12px; }
#kboard-gallery-document .kboard-button-like { color: #ff5959; }
#kboard-gallery-document .kboard-button-unlike { color: #3d62aa; }
#kboard-gallery-document .kboard-button-print { color: gray; }
#kboard-gallery-document .kboard-button-download { color: gray; }
#kboard-gallery-document .kboard-comments-area { float: left; width: 100%; }
#kboard-gallery-document .kboard-document-navi { float: left; margin-top:30px; margin-bottom:30px; padding-top: 30px; width: 100%; border-top:1px solid #f1f1f1;}
#kboard-gallery-document .kboard-document-navi a { display: block; text-decoration: none; border: 0; font-size: var(--fontsize-default); line-height: 20px; box-shadow: none; color: var(--color-text); transition-duration: .3s; }
#kboard-gallery-document .kboard-document-navi .navi-document-title { display: block; }
#kboard-gallery-document .kboard-document-navi .navi-arrow { position: absolute; display: block; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document { position: relative; float: left; width: 45%; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document .navi-document-title { padding-left: 15px; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document .navi-arrow { left: 0; top: 0; }
#kboard-gallery-document .kboard-document-navi .kboard-prev-document:hover a { color: black; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document { position: relative; float: right; width: 45%; text-align: right; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document .navi-document-title { padding-right: 15px; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document .navi-arrow { right: 0; top: 0; }
#kboard-gallery-document .kboard-document-navi .kboard-next-document:hover a { color: black; }
#kboard-gallery-document .kboard-control { float: left; padding: 15px 0;  width: 100%;  border-top: 1px solid #ddd; margin-top:1em; padding-top:1em;}
#kboard-gallery-document .kboard-control .left { position: static; float: left; }
#kboard-gallery-document .kboard-control .right { position: static; float: right; text-align: right; }

#kboard-gallery-latest table { display: table; table-layout: fixed; width: 100%; border: 0; border-bottom: 1px solid #f1f1f1; }
#kboard-gallery-latest table tr { padding: 0; border: 0; }
#kboard-gallery-latest table th { padding: 5px 0; height: auto; border: 0; text-align: center; }
#kboard-gallery-latest table td { padding: 5px 0; height: auto; border: 0; border-top: 1px solid #f1f1f1; vertical-align: middle; }
#kboard-gallery-latest table td.kboard-latest-title { text-align: left; }
#kboard-gallery-latest table .kboard-latest-title { padding-left: 5px; font-size: 14px; }
#kboard-gallery-latest table .kboard-latest-title a { text-decoration: none; box-shadow: none; }
#kboard-gallery-latest table .kboard-latest-title img { display: inline; margin: 0; width: auto; height: auto; vertical-align: middle; max-width: 100%; }
#kboard-gallery-latest table .kboard-latest-title .kboard-comments-count { }
#kboard-gallery-latest table .kboard-latest-date { width: 80px; text-align: center; font-size: 14px; }


/* 게시판 상세 */
#kboard-document, #kboard-default-editor { margin: 3.75rem auto 0; width: 100%; max-width: 1600px;}
.kboard-document-page .sub-page-tit-wrap, .kboard-write-page .sub-page-tit-wrap {display: none;}
#kboard-default-document .kboard-document-wrap {border:none; border-radius: 0;}
.kboard-document-options-group {margin-bottom: 0;}
#kboard-default-document .kboard-title h1 {text-align: center; font-size: 32px; font-family: var(--font-pretendard); border:none; margin-bottom: 2rem;}
#kboard-default-document .kboard-detail {background: none; padding: 0; gap: 0; border-top: 2px solid #000; border-bottom: none;}
#kboard-default-document .kboard-detail .detail-attr {width: 50%; border-bottom: 1px solid #ddd; gap: 0; font-family: var(--font-pretendard);font-size: 14px;}
#kboard-default-document .kboard-detail .detail-name, .kboard-attach .detail-name {width: 240px; background-color: #f5f5f5; color: #000; font-weight: 600;padding: 0.875rem 1.5rem; font-size: 14px;}
#kboard-default-document .kboard-detail .detail-value, .kboard-attach .detail-value {width: calc(100% - 240px);padding: 0.875rem 1.5rem;}
#kboard-default-document .kboard-content { padding: 60px 30px; border-bottom: 1px solid #ddd;}
#kboard-default-document .content-view {color:#000; font-family: var(--font-family);}
.kboard-attach {background: none; padding: 0; display: flex; align-items: center; border-top: none; border-bottom: 1px solid #ddd;}
.kboard-attach .detail-value {display: flex; align-items: center; gap: 1rem;}
.kboard-attach .kboard-button-action {border: none; padding: 0; margin-right: 0;font-family: var(--font-family); font-size: 14px;}
.kboard-attach .kboard-button-action:hover {background: none; color:var(--color-primary)}
.kboard-document-navi {margin-top: 1.5rem; font-family: var(--font-family);}
#kboard-default-document .kboard-control {padding-top: 1.5rem;}
#kboard-default-document .kboard-document-navi .kboard-prev-document a, #kboard-default-document .kboard-document-navi .kboard-prev-document a:hover {transition: 0.2s all linear !important;}

#kboard-default-editor .attr-name {font-family: var(--font-family); font-size: 16px;}
#kboard-default-editor .kboard-attr-row {margin-bottom: 2rem; gap: 5px;}




/* @@@@@@@@@@@@@@@@@@@@@@@@
  latest.php
@@@@@@@@@@@@@@@@@@@@@@@@ */
#kboard-gallery-latest {
  font-family: var(--font-family);
}
#kboard-gallery-latest .kboard-latest-item-wrap{
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
#kboard-gallery-latest .kboard-latest-item{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#kboard-gallery-latest .kboard-latest-thumbnail{
  width: 30%;
  aspect-ratio: 5/3;
}
#kboard-gallery-latest .kboard-latest-thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#kboard-gallery-latest .kboard-latest-content {
  width: 66%;
}
#kboard-gallery-latest .kboard-latest-title{
  padding: 4px 0;
}
#kboard-gallery-latest .kboard-latest-title a{
  text-decoration: none;
  font-size:var(--fontsize-default);
}
#kboard-gallery-latest .kboard-latest-title a:hover {
  color: var(--color-primary);
}
#kboard-gallery-latest .kboard-latest-category{
  color: var(--color-secondary);
  font-size:var(--fontsize-small);
  font-weight: 600;
}
#kboard-gallery-latest .kboard-latest-date{
  color: var(--color-textgray);
  font-size:var(--fontsize-small);
}


.kboard-default-new-notify {
	background-color: var(--kboard-danger);
   color: #fff;
   padding: 0;
   border-radius: 4px;
   font-size: 10px;
   font-weight: 700;
   vertical-align: middle;
   margin-right: 2px;
   width: 20px;
   height: 20px;
   display: inline-block;
   line-height: 20px;
   text-align: center;
   margin-top: -5px;
}





/* @@@@@@@@@@@@@@@@@@@@@@@@
  반응형
@@@@@@@@@@@@@@@@@@@@@@@@ */

@media screen and (max-width: 1200px) {

  #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents a { padding: 1.5rem 2rem 1.75rem;}
  #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title { font-size: 22px;}

}

@media screen and (max-width: 1024px) {

   #kboard-default-document .kboard-detail .detail-name, .kboard-attach .detail-name { width: 130px; text-align: center;}
   #kboard-default-document .kboard-detail .detail-value, .kboard-attach .detail-value { width: calc(100% - 130px);}


}


@media screen and (max-width: 768px) {
  :root {
    --fontsize-default:14px;
    --fontsize-small:13px;
  }

  a.kboard-gallery-button-small, input.kboard-gallery-button-small, button.kboard-gallery-button-small,
  a.kboard-default-button-small, input.kboard-default-button-small, button.kboard-default-button-small
   { padding: 0 15px; height: 34px; line-height: 34px;}


  /* kboard-gallery-list */
   .kboard-default-new-notify { width: 18px; height: 18px; line-height: 16px; margin-top: 0px;}
   #kboard-gallery-list .kboard-category.category-mobile { display: block;}
   #kboard-gallery-list .kboard-category.category-pc { display: none; }
   #kboard-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.select { width: 100%; }
   #kboard-gallery-list .kboard-list { gap: 2rem 2%;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents a { padding: 1.5rem 1.75rem 1.625rem;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title { font-size: 20px;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item {width:calc(98% / 2); }
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title {margin:0;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title a {font-size: var(--fontsize-default)}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-category {font-size: var(--fontsize-default)}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-date {font-size: var(--fontsize-small)}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-desc {height: 4rem;}

  /* pagination */
	#kboard-gallery-list .kboard-list .kboard-mobile-contents { display: block; }
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li { display: none; }
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.first-page,
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.last-page,
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page,
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page,
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.active { display: inline-block; }
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a
	#kboard-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a { padding: 0 18px; }
  /* search */
	#kboard-gallery-list .kboard-search select { float: left; margin-right: 1%; width: 29%; min-width: 29%; height: 40px; line-height: 40px; box-sizing: border-box; }
	#kboard-gallery-list .kboard-search input { float: left; margin-right: 1%; width: 49%; min-width: 49%; height: 40px; line-height: 40px; box-sizing: border-box; }
	#kboard-gallery-list .kboard-search button { float: left; width: 20%; min-width: 20%; box-sizing: border-box; height:40px; padding: 0 10px; line-height: 40px;}
	
  /* kboard-gallery-editor */
	#kboard-gallery-editor select,
	#kboard-gallery-editor input[type=text],
	#kboard-gallery-editor input[type=email],
	#kboard-gallery-editor input[type=number],
	#kboard-gallery-editor input[type=date],
	#kboard-gallery-editor input[type=password],
	#kboard-gallery-editor input[type=file] { width: 100% !important; box-sizing: border-box; }
	#kboard-gallery-editor .kboard-attr-row { padding: 10px 0; }
	#kboard-gallery-editor .kboard-attr-row .attr-name { padding: 0; width: 100%; font-size: 14px; }
	#kboard-gallery-editor .kboard-attr-row .attr-value { margin: 0; }
	#kboard-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select { margin-bottom: 10px; width: 100%; }
	#kboard-gallery-editor.confirm { max-width: none; }
   #kboard-default-editor .attr-name {font-size: 14px;}
	
  /* kboard-gallery-document */
	#kboard-gallery-document .kboard-title h1 { padding: 10px 5px; font-size: 18px; }
	#kboard-gallery-document .kboard-content .content-view { padding: 10px 5px; }
	#kboard-gallery-document .kboard-detail .detail-attr { clear: both; padding: 10px 5px; line-height: normal; }
	#kboard-gallery-document .kboard-document-action { padding: 10px 5px 5px 5px; }
	#kboard-gallery-document .kboard-attach { margin: 0 5px; padding: 10px 0 5px 0; }
	#kboard-gallery-document .kboard-document-navi .kboard-prev-document { width: 100%; }
	#kboard-gallery-document .kboard-document-navi .kboard-next-document { margin-top: 10px; float: left; width: 100%; text-align: left; }

   #kboard-default-document {margin-bottom: 0;}
   #kboard-document {margin-top: 1.75rem;}
   #kboard-default-document .kboard-title h1 {margin-bottom: 1rem; font-size: clamp(20px, 4vw, 32px);}
   #kboard-default-document .kboard-content { padding: 40px 20px; }
   #kboard-default-document .kboard-detail .detail-name, .kboard-attach .detail-name { width: 120px; padding: 0.625rem 1rem; }
   #kboard-default-document .kboard-detail .detail-value, .kboard-attach .detail-value { width: calc(100% - 120px);padding: 0.625rem 1rem; }
   
   #kboard-default-document .kboard-control .left, #kboard-default-document .kboard-control .right {width: auto;}
   #kboard-default-document .kboard-control {display: flex; flex-direction: row; align-items: center; padding-bottom: 0;}
   #kboard-default-document .kboard-control .left a, #kboard-default-document .kboard-control .right a {flex: none;}
   #kboard-default-document .kboard-document-navi a {padding: 10px 1rem; font-size: 14px;}
   a.kboard-gallery-button-small, input.kboard-gallery-button-small, button.kboard-gallery-button-small,
   a.kboard-default-button-small, input.kboard-default-button-small, button.kboard-default-button-small {font-size: 13px;}
}

@media screen and (max-width:640px) {

   #kboard-default-document .kboard-detail {flex-direction: column;}
   #kboard-default-document .kboard-detail .detail-attr {width: 100%;}
   #kboard-default-document .kboard-detail .detail-name, .kboard-attach .detail-name, #kboard-default-document .kboard-detail .detail-value, .kboard-attach .detail-value {padding: 0.5rem 1rem;}
   .kboard-attach {align-items: flex-start;}
   .kboard-attach .detail-name {display: none;}
   .kboard-attach .detail-value { flex-direction: column; gap: 0.5rem; width: 100%; align-items: flex-start;}

   .kboard-attach .kboard-button-action {position: relative; padding-left: 1.5rem;}
   .kboard-attach .kboard-button-action:before {content:''; width: 18px; height: 16px; background: url('/wp-content/uploads/2026/05/Icon-download.png') center / contain no-repeat; position: absolute; left: 0; top: 4px;}
}


@media screen and (max-width:480px) {

  /* kboard-gallery-list */
   .kboard-default-new-notify { margin-right: 0;}
   #kboard-gallery-list .kboard-list { gap: 1.5rem 2%;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item {width: 100%;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-contents a { padding: 1.25rem 1.5rem 1.375rem; gap: 0.5rem;}
   #kboard-gallery-list .kboard-list .kboard-gallery-item .kboard-list-title { font-size: 18px;}
   #kboard-gallery-list .kboard-pagination { padding: 30px 0; margin-top: 30px;}
   #kboard-gallery-list .kboard-pagination .kboard-pagination-pages li a { width: 30px; height: 30px; line-height: 28px; font-size: 13px; }


   
}