@charset "utf-8";

/**
 * @author https://www.cosmosfarm.com
 */

a.kboard-default-button-small,
input.kboard-default-button-small,
button.kboard-default-button-small {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    width: auto;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: normal;
    color: #545861 !important;
    background: #eaeaea !important;
    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.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;
}

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

.kboard-download-new-notify {
    display: inline-block;
    padding: 2px 2px;
    line-height: 10px;
    font-size: 10px;
    background: none;
    font-weight: 900;
    color: #f00;
    position: relative;
    top: -4px;
}

.kboard-download-cut-strings {
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-wrap: normal;
    font-weight: 700;
    font-size: 16px;
}

#kboard-leon-default-list {
    display: inline-block;
    margin: 0;
    width: 100%;
}

#kboard-leon-default-list form {
    margin: 0;
    padding: 0;
}

#kboard-leon-default-list .kboard-list-header-top {
    margin: 0px 0px 30px;
}

#kboard-leon-default-list .kboard-list-header-top:after {
    content: "";
    display: block;
    clear: both;
}

#kboard-leon-default-list .kboard-list-header {
    float: left;
    display: table;
    padding-bottom: 15px;
    width: 100%;
}

#kboard-leon-default-list .kboard-list-header .kboard-total-count {
    display: table-cell;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

#kboard-leon-default-list .kboard-list-header .kboard-sort {
    display: table-cell;
    text-align: right;
}

#kboard-leon-default-list .kboard-list-header .kboard-sort select {
    position: relative !important;
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 0;
    max-width: none;
    height: 26px !important;
    font-weight: 700;
    min-height: 0;
    line-height: 26px;
    font-size: 14px;
    color: #000;
    border-radius: 0;
    border: none;
    background: none;
    vertical-align: middle;
    box-shadow: none;
    box-sizing: content-box;
    text-indent: 0;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

#kboard-leon-default-list .kboard-category {
    float: left;
    width: 50%;
}

#kboard-leon-default-list .kboard-category.category-mobile {
    display: none;
}

#kboard-leon-default-list .kboard-category.category-pc {
    display: block;
}

#kboard-leon-default-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: #fff;
    vertical-align: middle;
    box-shadow: none;
    box-sizing: border-box;
    text-indent: 0;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

#kboard-leon-default-list .kboard-category .kboard-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
    overflow: hidden;
    text-align: left;
}

#kboard-leon-default-list .kboard-category .kboard-category-list li {
    display: inline-block;
    margin: 0;
    padding: 0px;
    border: 0;
    list-style: none;
}

#kboard-leon-default-list .kboard-category .kboard-category-list li a {
    position: relative;
    display: block;
    font-weight: bold;
    font-size: 16px;
    border: 0;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    color: var(--e-global-color-text, #333333);
    padding: 10px 20px;
    border-radius: 10px;
}

#kboard-leon-default-list .kboard-category .kboard-category-list li.kboard-category-selected a {
    color: #fff;
    background-color: var(--e-global-color-accent, #009357);
}

#kboard-leon-default-list .kboard-category .kboard-category-list li a:hover:after,
#kboard-leon-default-list .kboard-category .kboard-category-list li.kboard-category-selected a:after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    -ms-transform: scaleX(1);
}

#kboard-leon-default-list .kboard-tree-category-wrap {
    overflow: hidden;
}

#kboard-leon-default-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: #fff;
    vertical-align: middle;
    box-shadow: none;
    box-sizing: border-box;
    text-indent: 0;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

#kboard-leon-default-list .kboard-tree-category-search .kboard-search-option-wrap.type-select {
    width: auto;
}

#kboard-leon-default-list .kboard-tree-category-search .kboard-search-option-wrap.type-tab {
    width: 100%;
}

#kboard-leon-default-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-leon-default-list .kboard-tree-category li {
    display: inline-block;
    margin: 0;
    padding: 0 5px;
    border: 0;
    list-style: none;
}

#kboard-leon-default-list .kboard-tree-category li::before,
#kboard-leon-default-list .kboard-tree-category li::after {
    display: none;
}

#kboard-leon-default-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-leon-default-list .kboard-tree-category li.kboard-category-selected a {
    font-weight: bold;
    border-bottom: 2px solid #545861;
    color: #545861;
}

#kboard-leon-default-list .kboard-tree-category-search {
    float: left;
    width: 100%;
}

#kboard-leon-default-list .kboard-tree-category-search .kboard-search-option-wrap {
    margin-right: 5px;
    float: left;
}

/* 카테고리가 실제로 존재할 때만 검색폼을 오른쪽에 정렬합니다.
 * PHP에서 has-kboard-category 클래스를 출력하므로 빈 카테고리와 :has() 지원 여부에 영향을 받지 않습니다. */
#kboard-leon-default-list .kboard-list-header-top.has-kboard-category .kboard-search form {
    justify-content: flex-end;
}

/* 카테고리가 없으면 검색폼은 왼쪽 50% 영역에서 바로 시작합니다. */
#kboard-leon-default-list .kboard-list-header-top.no-kboard-category .kboard-search form {
    justify-content: flex-start;
}

#kboard-leon-default-list .kboard-list {
    float: left;
    width: 100%;
    background-color: #fff;
}

#kboard-leon-default-list .kboard-list table {
    display: table;
    table-layout: fixed;
    margin: 0;
    padding: 0;
    width: 100%;
    border: 0;
    font-size: 14px;
    border-collapse: collapse;
    border-top: 2px solid #000;
}

#kboard-leon-default-list .kboard-list table a {
    color: #333;
    font-weight: normal;
    text-decoration: none;
    border: 0;
    box-shadow: none;
    font-size: 14px;
}

#kboard-leon-default-list .kboard-list table a:hover {
    color: var(--e-global-color-accent, #009357);
}

#kboard-leon-default-list .kboard-list table tr {
    border: 0;
    background-color: transparent;
    transition-duration: 0.3s;
}

#kboard-leon-default-list .kboard-list table td {
    padding: 10px 0;
    height: auto;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    border: 0;
    border-bottom: 1px solid #ddd;
    padding: 30px 0;
    font-weight: 700;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-uid {
    width: 75px;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-title {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-user {
    width: 160px;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-date {
    width: 120px;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-download {
    width: 100px;
    border-right: none;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-view {
    width: 100px;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-download button {
    border: none;
    color: var(--e-global-color-accent, #009357);
    opacity: 0.5;
    background: none;
    display: inline-block;
    padding: 0 !important;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-download button img {
    width: 15px;
    margin-bottom: 0 !important;
}

#kboard-leon-default-list .kboard-list table td.kboard-list-download button:hover {
    color: var(--e-global-color-accent, #009357);
    opacity: 1;
}

#kboard-leon-default-list .kboard-list thead {
    background-color: #f7f7f7;
    display: none;
}

#kboard-leon-default-list .kboard-list thead tr td {
    font-weight: bold;
    color: var(--e-global-color-text, #333333);
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

#kboard-leon-default-list .kboard-list tbody tr td {
    word-break: break-all;
}

#kboard-leon-default-list .kboard-list tbody tr:hover {
    background-color: #f7f7f7;
}

#kboard-leon-default-list .kboard-list tbody tr.kboard-list-notice {
    background-color: rgba(0, 0, 0, 0.04);
}

#kboard-leon-default-list .kboard-list tbody tr.kboard-list-notice a {
    color: var(--e-global-color-accent, #009357) !important;
}

#kboard-leon-default-list .kboard-list tbody tr.kboard-list-selected .kboard-default-cut-strings {
    font-weight: bold;
}

#kboard-leon-default-list .kboard-list tbody td.kboard-list-title {
    text-align: left;
}

#kboard-leon-default-list .kboard-list tbody td.kboard-list-title img {
    display: inline;
    margin: 0;
    width: auto;
    height: auto;
    vertical-align: middle;
    max-width: 100%;
}

#kboard-leon-default-list .kboard-list tbody td.kboard-list-title .category-txt {
    color: #555;
}

#kboard-leon-default-list .kboard-list tbody td.kboard-list-title .kboard-comments-count {
    color: var(--e-global-color-accent, #009357);
}

#kboard-leon-default-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%;
}

#kboard-leon-default-list .kboard-list .kboard-mobile-contents {
    display: none;
    font-size: 13px;
    color: #999999;
}

#kboard-leon-default-list .kboard-list .kboard-mobile-contents .contents-item {
    display: inline;
    margin: 0;
    padding: 0;
}

#kboard-leon-default-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-leon-default-list .kboard-list .kboard-mobile-contents .contents-separator {
    display: inline;
    margin: 0;
    padding: 0 2px;
    color: #bebebe;
}

#kboard-leon-default-list .kboard-pagination {
    float: left;
    padding: 15px 0;
    width: 100%;
}

#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
    text-align: center;
    border: 0;
}

#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li {
    display: inline-block;
    margin: 0;
    padding: 0 1px;
    background: none;
    border: 0;
    list-style: none;
}

#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li a {
    display: block;
    margin: 0;
    padding: 0 11px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    color: var(--e-global-color-text, #333333);
    font-weight: 700;
    text-decoration: none;
    border: 0;
    background: none;
    box-shadow: none;
    transition-duration: 0.3s;
}

#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li:hover a,
#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.active a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border: 0 !important;
    color: #fff;
    background-color: var(--e-global-color-accent, #009357);
    border-radius: 50% !important;
    aspect-ratio: 1 / 1;
    vertical-align: middle;
}

#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li:before {
    display: none;
}

#kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li:after {
    display: none;
}

#kboard-leon-default-list .kboard-search {
    width: 50%;
    margin-bottom: 20px;
    float: left;
}

#kboard-leon-default-list .kboard-search form {
    width: auto;
    text-align: right;
    display: flex;
}

#kboard-leon-default-list .kboard-search select {
    margin: 0 !important;
    min-width: 0;
    height: 40px !important;
    font-size: 14px;
    vertical-align: middle;
    box-shadow: none;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
    padding: 0 2rem 0 0 !important;
    background: none !important;
    border: none;
    border-bottom: 2px solid #000 !important;
    border-radius: 0px;
    margin-right: 10px !important;
    width: 100px !important;
    overflow: visible !important;
    position: relative !important;
}

#kboard-leon-default-list .kboard-search .select2-container,
#kboard-leon-default-list .kboard-sort .select2-container {
    display: none !important;
}

#kboard-leon-default-list .kboard-search input {
    margin: 0;
    font-size: 14px;
    color: #666666;
    padding-right: 30px;
    max-width: 300px;
    border: none;
    border-radius: 0px;
    height: 40px;
    border-bottom: 2px solid #000;
    background: none;
    background-color: transparent;
    line-height: 26px;
    vertical-align: middle;
    box-shadow: none;
    box-sizing: border-box;
}

#kboard-leon-default-list .kboard-search button[type="submit"] {
    background: none;
    background: transparent !important;
    border-radius: 0px !important;
    padding: 0 !important;
    color: #000 !important;
    height: 40px;
    margin-left: -30px;
    margin-right: 10px;
}

#kboard-leon-default-list .kboard-search button[type="submit"] img {
    width: 20px;
    margin-bottom: 0 !important;
}

#kboard-leon-default-list .kboard-control {
    float: left;
    padding-bottom: 15px;
    width: 100%;
    text-align: right;
}

#kboard-default-editor {
    overflow: hidden;
}

#kboard-default-editor form {
    margin: 0;
    padding: 0;
}

#kboard-default-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;
}

#kboard-default-editor input[type=text],
#kboard-default-editor input[type=email],
#kboard-default-editor input[type=number],
#kboard-default-editor input[type=date],
#kboard-default-editor input[type=password] {
    display: inline;
    margin: 0;
    padding: 0 5px;
    width: 30%;
    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;
}

#kboard-default-editor input[type=checkbox] {
    width: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

#kboard-default-editor input[type=radio] {
    width: auto;
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}

#kboard-default-editor select:hover,
#kboard-default-editor input[type=text]:hover,
#kboard-default-editor input[type=email]:hover,
#kboard-default-editor input[type=number]:hover,
#kboard-default-editor input[type=date]:hover,
#kboard-default-editor input[type=password]:hover {
    border-bottom: 1px solid #9e9e9e;
}

#kboard-default-editor select:focus,
#kboard-default-editor input[type=text]:focus,
#kboard-default-editor input[type=email]:focus,
#kboard-default-editor input[type=number]:focus,
#kboard-default-editor input[type=date]:focus,
#kboard-default-editor input[type=password]:focus {
    border-bottom: 2px solid #9e9e9e;
}

#kboard-default-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-default-editor .kboard-attr-title input {
    width: 70%;
}

#kboard-default-editor .kboard-attr-row {
    float: left;
    padding: 5px 0;
    width: 100%;
    background-color: #fff;
}

#kboard-default-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;
}

#kboard-default-editor .kboard-attr-row .attr-name img {
    display: inline;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    vertical-align: middle;
}

#kboard-default-editor .kboard-attr-row .attr-name .attr-required-text {
    color: red;
    font-weight: normal;
    font-size: 13px;
}

#kboard-default-editor .kboard-attr-row.kboard-attr-content .attr-name {
    display: none;
}

#kboard-default-editor .kboard-attr-row .attr-value {
    margin: 0 0 0 140px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
}

#kboard-default-editor .kboard-attr-row .attr-value .attr-value-option {
    display: inline;
    padding-right: 20px;
    width: auto;
    font-size: 14px;
    cursor: pointer;
}

#kboard-default-editor .kboard-attr-row .attr-value .attr-value-option input {
    cursor: pointer;
}

#kboard-default-editor .kboard-attr-row .attr-value .attr-value-label {
    display: inline;
    padding-right: 5px;
    width: auto;
    cursor: pointer;
}

#kboard-default-editor .kboard-attr-row .attr-value .attr-value-label input {
    cursor: pointer;
}

#kboard-default-editor .kboard-attr-row .attr-value .description {
    margin: 0;
    color: #666666;
}

#kboard-default-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap {
    float: left;
    width: 100%;
}

#kboard-default-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select {
    clear: both;
    float: left;
    margin-bottom: 5px;
    width: 30%;
}

#kboard-default-editor .kboard-content {
    float: left;
    margin: 0;
    padding: 9px 0;
    width: 100%;
    background-color: #fff;
}

#kboard-default-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-default-editor .kboard-control {
    float: left;
    padding: 15px 0;
    width: 100%;
}

#kboard-default-editor .kboard-control .left {
    position: static;
    float: left;
}

#kboard-default-editor .kboard-control .right {
    position: static;
    float: right;
    width: 50%;
    text-align: right;
}

#kboard-default-editor.confirm {
    margin: 100px auto;
    max-width: 590px;
}

#kboard-default-editor.confirm input[type=password] {
    width: 100%;
    box-sizing: border-box;
}

#kboard-leon-default-document {
    display: inline-block;
    margin: 0;
    width: 100%;
}

#kboard-leon-default-document .kboard-document-wrap {
    float: left;
    width: 100%;
    background-color: transparent;
}

#kboard-leon-default-document .kboard-title {
    float: left;
    width: 100%;
}

#kboard-leon-default-document .kboard-title h1 {
    margin: 0;
    padding: 12px 0;
    color: #333;
    font-weight: bold;
    font-size: 30px;
    line-height: 30px;
    text-align: left;
    margin-bottom: 10px;
}

#kboard-leon-default-document .kboard-title h1 .category-txt {
    color: #777;
}

#kboard-leon-default-document .kboard-detail {
    clear: both;
    float: left;
    width: 100%;
    border-top: 2px solid #000;
    border-bottom: 1px solid #aaa;
    background-color: #fff;
    border-radius: 0px;
    font-size: 16px;
    padding: 10px 0;
}

#kboard-leon-default-document .kboard-detail .detail-attr {
    display: inline-block;
    float: left;
    margin: 0;
    padding: 12px 35px 12px 22px;
}

#kboard-leon-default-document .kboard-detail .detail-attr .detail-name {
    float: left;
    font-weight: bold;
    color: #545861;
    text-align: right;
}

#kboard-leon-default-document .kboard-detail .detail-attr .detail-value {
    float: left;
    padding-left: 20px;
    color: #545861;
}

#kboard-leon-default-document .kboard-detail .detail-attr.detail-category .detail-value {
    padding-left: 0;
}

#kboard-leon-default-document .kboard-detail .detail-attr .detail-value a {
    color: #545861;
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

#kboard-leon-default-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-leon-default-document .kboard-detail .detail-attr .detail-value .category-txt {
    font-weight: 700;
}

#kboard-leon-default-document .kboard-content {
    clear: both;
    float: left;
    width: 100%;
    min-height: 200px;
}

#kboard-leon-default-document .kboard-content .content-view {
    margin: 0;
    padding: 22px;
    word-break: break-all;
}

#kboard-leon-default-document .kboard-content .content-view iframe {
    max-width: 100%;
}

#kboard-leon-default-document .kboard-content .content-view img {
    display: inline;
    margin: 0;
    vertical-align: middle;
    max-width: 100%;
}

#kboard-leon-default-document .kboard-content .content-view hr {
    margin: 10px 0;
    padding: 0;
    height: 1px;
    border: 0;
    background-color: #f1f1f1;
}

#kboard-leon-default-document .kboard-content .content-view h2 {
    line-height: 1.3em;
    font-size: 30px;
}

#kboard-leon-default-document .kboard-content .content-view ul {
    margin: 0.75em 0;
}

#kboard-leon-default-document .kboard-content .content-view ol {
    margin: 0.75em 0;
}

#kboard-leon-default-document .kboard-content .content-view p {
    margin: 0 0 0.75em;
}

#kboard-leon-default-document .kboard-content .content-view p:last-child {
    margin: 0;
}

#kboard-leon-default-document .kboard-content .content-view .thumbnail-area {
    text-align: center;
}

#kboard-leon-default-document .kboard-content .content-view .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

#kboard-leon-default-document .kboard-content .content-view .alignright {
    float: right;
}

#kboard-leon-default-document .kboard-content .content-view .alignleft {
    float: left;
}

#kboard-leon-default-document .kboard-document-action {
    padding: 0 22px 5px 22px;
    overflow: hidden;
    line-height: 1;
}

#kboard-leon-default-document .kboard-document-action .left {
    position: static;
    float: left;
}

#kboard-leon-default-document .kboard-document-action .right {
    position: static;
    float: right;
    text-align: right;
}

#kboard-leon-default-document .kboard-attach {
    clear: both;
    overflow: hidden;
    line-height: 34px;
}

#kboard-leon-default-document .kboard-button-action {
    font-size: 14px;
    font-weight: normal;
    line-height: 1em;
    text-align: left;
    border: none;
    background: none;
    letter-spacing: normal;
    cursor: pointer;
    vertical-align: middle;
    text-shadow: none;
    box-shadow: none;
}

#kboard-leon-default-document .kboard-button-action i {
    margin-right: 10px;
    color: var(--e-global-color-accent, #009357);
}

#kboard-leon-default-document .kboard-button-action span {
    position: static;
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 12px;
}

#kboard-leon-default-document .kboard-button-like {
    color: #ff5959;
}

#kboard-leon-default-document .kboard-button-unlike {
    color: #3d62aa;
}

#kboard-leon-default-document .kboard-button-print {
    color: gray;
}

#kboard-leon-default-document .kboard-button-download {
    color: gray;
    padding: 0;
    vertical-align: middle;
    line-height: 31px;
    display: flex;
    align-items: center;
}

#kboard-leon-default-document .kboard-button-download img {
    width: 15px;
    margin-right: 10px;
    vertical-align: middle;
    margin-bottom: 0 !important;
    height: 15px;
}

#kboard-leon-default-document .kboard-comments-area {
    float: left;
    width: 100%;
}

#kboard-leon-default-document .kboard-document-navi {
    float: left;
    padding: 25px 0;
    width: 100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#kboard-leon-default-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: .3s;
}

#kboard-leon-default-document .kboard-document-navi .navi-document-title {
    display: block;
}

#kboard-leon-default-document .kboard-document-navi .navi-arrow {
    position: absolute;
    display: block;
}

#kboard-leon-default-document .kboard-document-navi .kboard-prev-document {
    position: relative;
    float: left;
    width: 45%;
}

#kboard-leon-default-document .kboard-document-navi .kboard-prev-document .navi-document-title {
    padding-left: 15px;
}

#kboard-leon-default-document .kboard-document-navi .kboard-prev-document .navi-arrow {
    left: 0;
    top: 0;
    font-weight: 700;
}

#kboard-leon-default-document .kboard-document-navi .kboard-prev-document:hover a {
    color: var(--e-global-color-accent, #009357);
}

#kboard-leon-default-document .kboard-document-navi .kboard-next-document {
    position: relative;
    float: right;
    width: 45%;
    text-align: right;
}

#kboard-leon-default-document .kboard-document-navi .kboard-next-document .navi-document-title {
    padding-right: 15px;
}

#kboard-leon-default-document .kboard-document-navi .kboard-next-document .navi-arrow {
    right: 0;
    top: 0;
}

#kboard-leon-default-document .kboard-document-navi .kboard-next-document:hover a {
    color: var(--e-global-color-accent, #009357);
}

#kboard-leon-default-document .kboard-control {
    float: left;
    padding: 15px 0;
    width: 100%;
}

#kboard-leon-default-document .kboard-control .left {
    position: static;
    float: left;
}

#kboard-leon-default-document .kboard-control .right {
    position: static;
    float: right;
    text-align: right;
}

#kboard-leon-default-latest table {
    display: table;
    table-layout: fixed;
    width: 100%;
    border: 0;
}

#kboard-leon-default-latest table tr {
    padding: 0;
    border: 0;
}

#kboard-leon-default-latest table th {
    padding: 5px 0;
    height: auto;
    border: 0;
    text-align: center;
}

#kboard-leon-default-latest table td {
    padding: 9px 0;
    height: auto;
    border: 0;
    vertical-align: middle;
}

#kboard-leon-default-latest table td.kboard-latest-title {
    text-align: left;
}

#kboard-leon-default-latest table .kboard-latest-title {
    padding-left: 5px;
    font-size: 14px;
}

#kboard-leon-default-latest table .kboard-latest-title a {
    text-decoration: none;
    box-shadow: none;
    color: var(--e-global-color-text, #333333);
}

#kboard-leon-default-latest table .kboard-latest-title a:hover {
    color: var(--e-global-color-accent, #009357) !important;
}

#kboard-leon-default-latest table .kboard-latest-title img {
    display: inline;
    margin: 0;
    width: auto;
    height: auto;
    vertical-align: middle;
    max-width: 100%;
}

#kboard-leon-default-latest table .kboard-latest-title .kboard-comments-count {
}

#kboard-leon-default-latest table .kboard-latest-date {
    width: 80px;
    text-align: center;
    font-size: 14px;
}

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

    #kboard-leon-default-list .kboard-list-header-top .kboard-category,
    #kboard-leon-default-list .kboard-search {
        width: 100%;
        float: none;
    }

    #kboard-leon-default-list .kboard-search form {
        text-align: left;
    }

    #kboard-leon-default-list .kboard-category.category-mobile {
        display: none;
    }

    #kboard-leon-default-list .kboard-category.category-pc {
        display: block;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    #kboard-leon-default-list .kboard-category .kboard-category-list li a {
        font-size: 12px;
        padding: 5px 10px;
    }

    #kboard-leon-default-list .kboard-tree-category-search .kboard-search-option-wrap.select {
        width: 100%;
    }

    #kboard-leon-default-list .kboard-list tbody td.kboard-list-title .category-txt {
        display: block;
    }

    #kboard-leon-default-list .kboard-list table {
        border-top: 2px solid #000;
    }

    #kboard-leon-default-list .kboard-list table thead {
        display: none;
    }

    #kboard-leon-default-list .kboard-list table td.kboard-list-title {
        border-left: none;
        padding: 20px 20px;
    }

    #kboard-leon-default-list .kboard-list table td.kboard-list-title .kboard-download-cut-strings {
        margin-bottom: 10px;
        overflow: visible;
        white-space: normal;
        text-overflow: initial;
        word-wrap: break-word;
        font-size: 15px;
        line-height: 23px;
    }

    #kboard-leon-default-list .kboard-list table td.kboard-list-uid,
    #kboard-leon-default-list .kboard-list table td.kboard-list-user,
    #kboard-leon-default-list .kboard-list table td.kboard-list-date,
    #kboard-leon-default-list .kboard-list table td.kboard-list-vote,
    #kboard-leon-default-list .kboard-list table td.kboard-list-view,
    #kboard-leon-default-list .kboard-list table td.kboard-list-download {
        display: none;
    }

    #kboard-leon-default-list .kboard-list .kboard-mobile-contents .contents-item.kboard-download button {
        padding: 0 !important;
        background: none;
        border: none;
    }

    #kboard-leon-default-list .kboard-list .kboard-mobile-contents .contents-item.kboard-download button img {
        width: 15px;
    }

    #kboard-leon-default-list .kboard-list .kboard-mobile-contents {
        display: block;
    }

    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li {
        display: none;
    }

    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.first-page,
    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.last-page,
    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.prev-page,
    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.next-page,
    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.active {
        display: inline-block;
    }

    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
    #kboard-leon-default-list .kboard-pagination .kboard-pagination-pages li.next-page a {
        padding: 0 18px;
    }

    #kboard-leon-default-list .kboard-search select {
        padding: 0 15px 0 10px;
    }

    #kboard-leon-default-list .kboard-search input {
        max-width: 150px;
    }

    #kboard-default-editor select,
    #kboard-default-editor input[type=text],
    #kboard-default-editor input[type=email],
    #kboard-default-editor input[type=number],
    #kboard-default-editor input[type=date],
    #kboard-default-editor input[type=password],
    #kboard-default-editor input[type=file] {
        width: 100% !important;
        box-sizing: border-box;
    }

    #kboard-default-editor .kboard-attr-row {
        padding: 10px 0;
    }

    #kboard-default-editor .kboard-attr-row .attr-name {
        padding: 0;
        width: 100%;
        font-size: 14px;
    }

    #kboard-default-editor .kboard-attr-row .attr-value {
        margin: 0;
    }

    #kboard-default-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select {
        margin-bottom: 10px;
        width: 100%;
    }

    #kboard-default-editor.confirm {
        max-width: none;
    }

    #kboard-leon-default-document .kboard-title h1 {
        padding: 10px 5px;
        font-size: 24px;
    }

    #kboard-leon-default-document .kboard-content .content-view {
        padding: 15px;
        font-size: 14px;
    }

    #kboard-leon-default-document .kboard-content .content-view h2 {
        line-height: 1.3em;
        font-size: 24px;
    }

    #kboard-leon-default-document .kboard-detail {
        padding-top: 10px;
        padding-bottom: 5px;
    }

    #kboard-leon-default-document .kboard-detail .detail-attr {
        padding: 0px 10px 5px;
        line-height: normal;
    }

    #kboard-leon-default-document .kboard-detail .detail-attr .detail-name {
        font-size: 14px;
    }

    #kboard-leon-default-document .kboard-detail .detail-attr .detail-value {
        font-size: 14px;
    }

    #kboard-leon-default-document .kboard-document-action {
        padding: 10px 5px 5px 5px;
    }

    #kboard-leon-default-document .kboard-document-navi .kboard-prev-document {
        width: 100%;
    }

    #kboard-leon-default-document .kboard-document-navi .kboard-next-document {
        margin-top: 10px;
        float: left;
        width: 100%;
        text-align: left;
    }
}

/* ========================================================================== */
/* Leon Default editor redesign - v1.0.4                                     */
/* Editorial, minimal front-end form UI. KBoard field markup is preserved.   */
/* ========================================================================== */
#kboard-default-editor.leon-default-editor.leon-editor-v2 {
    --leon-editor-accent: var(--e-global-color-accent, #111111);
    --leon-editor-text: var(--e-global-color-text, #1f2328);
    --leon-editor-muted: #737982;
    --leon-editor-border: #dde1e6;
    --leon-editor-border-soft: #eceef1;
    --leon-editor-surface: #f8f9fa;
    --leon-editor-focus: color-mix(in srgb, var(--leon-editor-accent) 12%, transparent);
    width: 100%;
    overflow: visible;
    color: var(--leon-editor-text);
    font-size: 14px;
    line-height: 1.55;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 *,
#kboard-default-editor.leon-default-editor.leon-editor-v2 *::before,
#kboard-default-editor.leon-default-editor.leon-editor-v2 *::after {
    box-sizing: border-box;
}

/* Form layout: no large outer card. The page itself remains the canvas. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 > .kboard-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 22px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row {
    float: none !important;
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    background: transparent;
    border: 0;
}

/* Compact metadata fields can sit in two columns on desktop. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-author,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-password,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category1,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category2,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category3,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category4,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category5 {
    grid-column: span 1;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row .attr-name {
    float: none !important;
    display: flex;
    align-items: center;
    width: auto !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--leon-editor-text) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row .attr-name .field-name {
    display: inline-block;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row .attr-name .attr-required-text {
    margin-left: 4px;
    color: #e5484d !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row .attr-value {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--leon-editor-text);
    font-size: 14px;
    line-height: 1.55;
}

/* Standard controls */
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="text"],
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="email"],
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="number"],
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="date"],
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="password"],
#kboard-default-editor.leon-default-editor.leon-editor-v2 select,
#kboard-default-editor.leon-default-editor.leon-editor-v2 textarea.editor-textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    color: var(--leon-editor-text) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 46px !important;
    text-indent: 0 !important;
    background: #fff !important;
    border: 1px solid var(--leon-editor-border) !important;
    border-radius: 8px !important;
    outline: 0 !important;
    box-shadow: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 select {
    padding-right: 36px !important;
    cursor: pointer;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 textarea.editor-textarea {
    height: auto !important;
    min-height: 150px !important;
    padding: 13px 14px !important;
    line-height: 1.65 !important;
    resize: vertical;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="text"]:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="email"]:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="number"]:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="date"]:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="password"]:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 select:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 textarea.editor-textarea:hover {
    border-color: #c4c9d0 !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="text"]:focus,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="email"]:focus,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="number"]:focus,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="date"]:focus,
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="password"]:focus,
#kboard-default-editor.leon-default-editor.leon-editor-v2 select:focus,
#kboard-default-editor.leon-default-editor.leon-editor-v2 textarea.editor-textarea:focus {
    border-color: var(--leon-editor-accent) !important;
    box-shadow: 0 0 0 3px var(--leon-editor-focus) !important;
}

/* Fallback for browsers without color-mix(). */
@supports not (color: color-mix(in srgb, black 50%, white)) {
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="text"]:focus,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="email"]:focus,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="number"]:focus,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="date"]:focus,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="password"]:focus,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 select:focus,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 textarea.editor-textarea:focus {
        box-shadow: 0 0 0 3px rgba(17, 17, 17, .08) !important;
    }
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 input::placeholder,
#kboard-default-editor.leon-default-editor.leon-editor-v2 textarea::placeholder {
    color: #a1a6ad !important;
    opacity: 1;
}

/* Title gets an editorial treatment rather than looking like another field. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-title {
    padding: 0 0 8px;
    border-bottom: 1px solid var(--leon-editor-border-soft);
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-title .attr-name {
    margin-bottom: 4px !important;
    color: var(--leon-editor-muted) !important;
    font-size: 12px !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-title input[type="text"] {
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    color: var(--leon-editor-text) !important;
    font-size: clamp(18px, 2vw, 22px) !important;
    font-weight: 650 !important;
    line-height: 58px !important;
    letter-spacing: -0.025em;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-title input[type="text"]:focus {
    box-shadow: none !important;
}

/* Options are intentionally quiet and secondary. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-option {
    padding: 16px 18px;
    background: var(--leon-editor-surface);
    border: 1px solid var(--leon-editor-border-soft);
    border-radius: 10px;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-option .attr-name {
    margin-bottom: 10px !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="checkbox"],
#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="radio"] {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    margin: 0 7px 0 0 !important;
    padding: 0 !important;
    vertical-align: middle;
    accent-color: var(--leon-editor-accent);
    box-shadow: none !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .attr-value-option,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .attr-value-label {
    display: inline-flex !important;
    align-items: center;
    min-height: 28px;
    width: auto !important;
    margin: 0 18px 4px 0 !important;
    padding: 0 !important;
    color: #4d535b !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    cursor: pointer;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .attr-reset-button {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: var(--leon-editor-muted);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row .attr-value .description {
    margin: 8px 0 0 !important;
    color: var(--leon-editor-muted) !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}

/* Tree category */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-tree-category-wrap {
    float: none !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    width: 100% !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-tree-category-wrap select {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Main content editor is the visual center of the form. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-content {
    padding-top: 4px;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-content .attr-name {
    display: flex !important;
    margin-bottom: 10px !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-content {
    float: none !important;
    display: block;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .wp-editor-wrap,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-content .wp-editor-wrap {
    overflow: hidden;
    border: 1px solid var(--leon-editor-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .wp-editor-wrap:focus-within {
    border-color: var(--leon-editor-accent) !important;
    box-shadow: 0 0 0 3px var(--leon-editor-focus) !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .wp-editor-wrap .wp-editor-tools {
    padding: 8px 9px 0 !important;
    background: #fafbfc !important;
    border-bottom: 1px solid var(--leon-editor-border-soft);
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .wp-editor-wrap .wp-editor-container {
    border: 0 !important;
}

/* Attachments are grouped visually but remain lightweight. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-attach,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-thumbnail,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-media,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-file {
    padding: 15px 18px;
    background: #fbfbfc;
    border: 1px solid var(--leon-editor-border-soft);
    border-radius: 10px;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="file"] {
    display: block !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    color: #5e646c !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 30px !important;
    background: #fff !important;
    border: 1px solid var(--leon-editor-border) !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="file"]::file-selector-button {
    height: 30px;
    margin-right: 10px;
    padding: 0 12px;
    color: #3f454c;
    font-size: 12px;
    font-weight: 600;
    background: #f2f3f5;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

/* CAPTCHA image should not inherit theme image spacing. */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-captcha .attr-name img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0;
}

/* Bottom actions */
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control {
    float: none !important;
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 22px 0 0 !important;
    border-top: 1px solid var(--leon-editor-border-soft);
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right {
    position: static !important;
    float: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right {
    margin-left: auto !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control a.kboard-default-button-small,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control button.kboard-default-button-small,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control input.kboard-default-button-small {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 82px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left a.kboard-default-button-small,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left button.kboard-default-button-small,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left input.kboard-default-button-small {
    color: #444a52 !important;
    background: #fff !important;
    border: 1px solid var(--leon-editor-border) !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right a.kboard-default-button-small,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right button.kboard-default-button-small,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right input.kboard-default-button-small {
    color: #fff !important;
    background: var(--leon-editor-accent) !important;
    border: 1px solid var(--leon-editor-accent) !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left a.kboard-default-button-small:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left button.kboard-default-button-small:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left input.kboard-default-button-small:hover {
    color: #16191d !important;
    background: #f6f7f8 !important;
    border-color: #c7ccd2 !important;
}

#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right a.kboard-default-button-small:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right button.kboard-default-button-small:hover,
#kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right input.kboard-default-button-small:hover {
    opacity: .86;
}

@media screen and (max-width: 767px) {
    #kboard-default-editor.leon-default-editor.leon-editor-v2 > .kboard-form {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 18px;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-row,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-author,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-password,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category1,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category2,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category3,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category4,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-category5,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control {
        grid-column: 1;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-title input[type="text"] {
        height: 52px !important;
        min-height: 52px !important;
        font-size: 19px !important;
        line-height: 52px !important;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="text"],
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="email"],
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="number"],
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="date"],
    #kboard-default-editor.leon-default-editor.leon-editor-v2 input[type="password"],
    #kboard-default-editor.leon-default-editor.leon-editor-v2 select {
        height: 46px !important;
        min-height: 46px !important;
        line-height: 44px !important;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-option,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-attach,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-thumbnail,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-media,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-attr-file {
        padding: 14px;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
        padding-top: 18px !important;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right {
        width: 100% !important;
        margin: 0 !important;
    }

    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .left > *,
    #kboard-default-editor.leon-default-editor.leon-editor-v2 .kboard-control .right > * {
        flex: 1 1 0;
        width: 100% !important;
    }
}

