@charset "utf-8";

:root {
  --color-primary:#1E3250;
  --color-secondary:#699CC6;
  --color-text:#333333;
  --color-textgray:#999999;

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

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

  --maxwidth:1700px;

  --bd-radius:6px;
}

a.kboard-gallery-button-small,
input.kboard-gallery-button-small,
button.kboard-gallery-button-small { position: relative; display: inline-block; zoom: 1; margin: 0; padding: 0 10px; width: auto; height: 40px; line-height: 40px; 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; }
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 { opacity: 0.7; }

[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 { display: inline-block; zoom: 1; margin: 0; width: 100%; max-width: 1600px; margin: 0 auto; }
#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 .k-board-list-item {width:calc(94% / 4); }
#kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-thumbnail {margin-bottom:10px; aspect-ratio: 4 / 3;background:#ffffff;}
#kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-thumbnail a{}
#kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-thumbnail img {width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center;}
#kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-thumbnail img.thumbnail-default-img {width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; }
#kboard-gallery-list .kboard-list .k-board-list-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 .k-board-list-item .kboard-list-title {margin:0}
#kboard-gallery-list .kboard-list .k-board-list-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 .k-board-list-item .kboard-list-date {color: var(--color-textgray); font-size:var(--fontsize-small); margin-top:1em;}
/* 고정글 */
#kboard-gallery-list .kboard-list .k-board-list-item.kboard-list-notice {position: relative;}
#kboard-gallery-list .kboard-list .k-board-list-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: 40px; height: 40px; line-height: 38px; font-size: var(--fontsize-default); color: var(--color-text); text-decoration: none; border: 1px solid #dddddd; border-radius:100%; 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 { float: left; padding-bottom: 15px; width: 100%; text-align: center; }
#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: 200px; min-width: 0; max-width: 200px; 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);}
#kboard-gallery-list .kboard-control { float: left; padding-bottom: 15px; width: 100%; text-align: right;}
/*  */
#kboard-gallery-list .kboard-list-empty {    text-align: center; color: var(--color-textgray); background: #f5f5f5; border-radius: 20px; max-width: 500px; margin: auto; padding: 10px 0;}

/* kboard-gallery-editor */
#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; }





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



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


  /* kboard-gallery-list */
  #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 .k-board-list-item {width:calc(98% / 2); }
  #kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-title {margin:0;}
  #kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-title a {font-size: var(--fontsize-default)}
  #kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-category {font-size: var(--fontsize-default)}
  #kboard-gallery-list .kboard-list .k-board-list-item .kboard-list-date {font-size: var(--fontsize-small)}
  /* 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-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; }
}
