.font-0 {
    font-size: 0;
    line-height: 0;
}

.font-0 img {
    margin: 0;
}

#post_area img {
    max-width: 100%;
    height: auto !important;
}

.board_bgcolor {
    vertical-align: middle !important;
    /* background-color: #f6f6f6; */
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 16px;
}

table td {
    border-spacing: 0px;
}

.table th,
.table td,
.commentInner td {
    font-size: 11px;
}

.table > :not(caption) > * > * {
    padding: 0.9rem 0.9rem;
}

.table a {
    color: #222;
}

.table a:hover {
    color: var(--themecolor);
}

@media (max-width: 991px) {
    .table th,
    .table td,
    .commentInner td {
        font-size: 11px;
    }
}

/* ==============================================
talbe A :: News
================================================*/
.tableA-list .bbschk {
    width: 40px;
}

.tableA-list .bbsno,
.tableA-list .att_title:first-child {
    width: 60px;
}

.tableA-list .bbswriter {
    width: 120px;
}

.tableA-list .bbsetc_dateof_write {
    width: 120px;
}

.tableA-list .bbsnewf5 {
    width: auto;
}

.tableA-write th,
.tableA-write td {
    padding: 10px;
}

.tableA-write .innerTable tr,
.tableA-modify .innerTable tr,
.tableB-write .innerTable td,
.tableB-modify .innerTable td {
    border: none;
}

.tableA-write .board_bgcolor,
.tableA-lead .board_bgcolor,
.tableA-modify .board_bgcolor,
.tableB-write .board_bgcolor,
.tableB-lead .board_bgcolor,
.tableB-modify .board_bgcolor,
.tableC-write .board_bgcolor,
.tableC-lead .board_bgcolor,
.tableC-modify .board_bgcolor {
    /* background-color: #f6f6f6; */
    width: 105px;
    text-align: center;
}

.tableA-write > tbody > tr td span,
.tableA-modify > tbody > tr td span {
    font-size: 14px !important;
}

.tableA-lead:not(.qna) .board_bgcolor,
.tableC-lead .board_bgcolor {
    display: none;
}

.tableA-lead:not(.qna) .board_desc,
.tableC-lead .board_desc {
    font-size: 24px;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 574px) {
    .tableA-list .bbsno {
        width: 40px;
    }

    .tableA-list .bbswriter,
    .tableA-list .bbsetc_dateof_write {
        width: auto;
    }

    .tableA-list .bbsetc_dateof_write {
        font-size: 13px;
    }

    #ext_search {
        margin-top: 16px;
    }
}

/* ==============================================
talbe C :: Webzine
================================================*/
.tableC-list > tbody > tr > td {
    padding: 0;
}

.tableC-list .webzine_type2_table_line {
    display: none;
}

.tableC-list .webzine_type2 {
    width: 100%;
}

.tableC-list .webzine_type_text_td_left {
    width: 70%;
    vertical-align: top;
}

.tableC-list .webzine_type_text_td_left dl {
    padding: 3rem;
    margin-bottom: 0;
}

.tableC-list .webzine_type_img_td {
    width: 30%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.tableC-list .webzine_type_img_td img {
    width: 100%;
    height: auto;
}

.tableC-list .webzine_writer {
    display: none;
}

.tableC-list .webzine_dateof_write {
    font-size: 14px;
    color: #888;
    padding-top: 0px;
}

.tableC-list .webzine_subject .obj_name,
.tableC-list .webzine_description .obj_name {
    display: none;
}

.tableC-list .webzine_subject .div_news_title {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.tableC-list .webzine_type2 tr:first-child td {
    border-top: none;
}

@media (max-width: 991px) {
    .tableC-list .webzine_type_text_td_left dl {
        padding: 1rem;
    }

    .tableC-list .webzine_type_img_td {
        padding: 0;
    }

    .tableC-list .webzine_dateof_write {
        padding-top: 0;
    }
}

/* ==============================================
talbe B :: Gallery
================================================*/
.tableB-list.table th,
.tableB-list.table td {
    border-top: none;
}

.table.tableB-list > :not(caption) > * > * {
    border-bottom: none;
}

.tableB-list > tbody > tr {
    float: left;
    display: contents;
}

.tableB-list > tbody > tr > td {
    float: left;
}

.tableB-list.table-cols-5 > tbody > tr > td {
    width: 20%;
}

.tableB-list.table-cols-4 > tbody > tr > td {
    width: 25%;
}

.tableB-list.table-cols-3 > tbody > tr > td {
    width: 33.33333%;
}

.tableB-list.table-cols-2 > tbody > tr > td {
    width: 50%;
}

.tableB-list.table-cols-1 > tbody > tr > td {
    width: 100%;
}

@media (max-width: 991px) {
    .tableB-list.table-cols-5 > tbody > tr > td,
    .tableB-list.table-cols-4 > tbody > tr > td,
    .tableB-list.table-cols-3 > tbody > tr > td,
    .tableB-list.table-cols-2 > tbody > tr > td,
    .tableB-list.table-cols-1 > tbody > tr > td {
        width: 50%;
    }
}

.tableB-list table > tbody > tr > td {
    padding: 0;
}

.tableB-list table > tbody > tr > td img {
    width: 100%;
    height: auto;
}
.tableB-list table > tbody > tr > td a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
.tableB-list table > tbody > tr > td a::after {
    position: absolute;
    display: block;
    content: '';
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-image: url(../../main_img/thum.png);
}

.tableB-list table > tbody > tr .gallery_subject {
    padding: 10px 0;
    display: none;
}

.tableB-list table > tbody > tr .gallery_subject,
.tableB-list table > tbody > tr .gallery_etc {
    text-align: left !important;
}

.table-imgList {
    margin-top: 24px;
}

.table-imgList > table tbody tr td img {
    width: 135px;
    height: auto !important;
}

.table-imgList > table > tbody > tr > td table {
    display: inline-block;
}

.table-imgList > table > tbody > tr > td .image_sublist {
    display: none;
}

@media (max-width: 991px) {
    .table dd {
        margin-bottom: 10px;
    }

    .table-imgList > table {
        width: 100%;
    }

    .table-imgList > table > tbody > tr > td table {
        width: 33.33333%;
    }

    .tableC-list .webzine_type_text_td_left {
        width: 50%;
    }

    .tableC-list .webzine_type_img_td {
        width: 50%;
    }
}

@media (max-width: 760px) {
    .tableC-list .webzine_type_text_td_left,
    .tableC-list .webzine_type_img_td {
        display: block;
        width: 100%;
    }
}

@media (max-width: 574px) {
    .tableA-write tr td,
    .tableA-modify tr td,
    .tableB-write tr td,
    .tableB-modify tr td,
    .tableC-write tr td,
    .tableC-modify tr td {
        display: block;
        width: 100%;
    }

    .tableA-write tr,
    .tableA-modify tr,
    .tableB-write tr,
    .tableB-modify tr,
    .tableC-write tr,
    .tableC-modify tr {
        border-top: 1px solid #dee2e6;
    }

    .tableA-write th,
    .tableA-write td,
    .tableA-modify th,
    .tableA-modify td,
    .tableB-write th,
    .tableB-write td,
    .tableB-modify th,
    .tableB-modify td,
    .tableC-write th,
    .tableC-write td,
    .tableC-modify th,
    .tableC-modify td {
        border-top: none;
    }

    .tableA-write > tbody > tr td span,
    .tableA-modify > tbody > tr td span,
    .tableC-write > tbody > tr td span,
    .tableC-modify > tbody > tr td span {
        font-size: 14px !important;
    }

    .tableA-write .board_bgcolor,
    .tableA-modify .board_bgcolor,
    .tableC-write .board_bgcolor,
    .tableC-modify .board_bgcolor {
        padding-bottom: 0 !important;
    }

    /* .tableB-list>tbody>tr>td {
    width: 50%;
    display: inline-block;
  } */
    .tableA-write .board_bgcolor,
    .tableA-lead .board_bgcolor,
    .tableA-modify .board_bgcolor,
    .tableB-write .board_bgcolor,
    .tableB-lead .board_bgcolor,
    .tableB-modify .board_bgcolor,
    .tableC-write .board_bgcolor,
    .tableC-lead .board_bgcolor,
    .tableC-modify .board_bgcolor {
        background-color: #fff;
        text-align: left;
        font-weight: 500;
    }
}

.table .innerTable td {
    border: none;
}

/* ==============================================
Paging
================================================*/
.paging {
    font-size: 11px;
    text-align: center;
    padding: 30px 0px;
}

.paging b {
    font-size: 11px;
    cursor: default;
    color: #fff;
    border-color: #222;
    background-color: #222;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    border: 1px solid #222;
}

.paging a:link {
    color: #23527c;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.paging a:visited {
    color: #555;
    font-weight: normal;
    text-decoration: none;
}

.paging a:hover {
    color: #555555;
    font-weight: normal;
    text-decoration: underline;
}

/* ==============================================
Input Style
================================================*/
input#border,
input.formmail_border,
textarea.formmail_textarea_style {
    width: 98%;
}

input.formmail_border[name='phone_no1'],
input.formmail_border[name='phone_no2'],
input.formmail_border[name='phone_no3'],
input.formmail_border[name='mobile_no1'],
input.formmail_border[name='mobile_no2'],
input.formmail_border[name='mobile_no3'] {
    width: auto;
}

input[type='text'],
input[type='password'],
input.formmail_border:not([name='attachment[]']),
textarea.formmail_textarea_style {
    border-color: transparent;
    background-color: #f7f7f7;
    padding: 10px;
    border-width: 1px;
}

.input-white input[type='text'],
.input-white input[type='password'],
.input-white input.formmail_border:not([name='attachment[]']),
.input-white textarea.formmail_textarea_style {
    background-color: #fff;
}

.input-white #formmail-style-1 tr {
    border-bottom: none;
    padding-bottom: 20px;
}

input[type='file'] {
    border: none;
    padding: 0;
}

textarea#border,
textarea.formmail_textarea_style {
    /* border: 1px solid #ccc */
}

input[type='text']:focus,
input[type='password']:focus,
textarea.formmail_textarea_style:focus {
    border-color: #000;
    border-width: 1px;
}

#product_content img {
    max-width: 100%;
    height: auto !important;
}

/* Out */
input[name='com_board_search_value'] {
    border: 1px solid #ddd !important;
    height: 37px;
    line-height: 38px;
}

.btn-search {
    font-size: 14px;
    padding: 7px 8px;
    border-color: #ccc !important;
    background-color: #eee !important;
    border-radius: 0;
}

#search_table .est_cate_cell select[name='com_board_search_code'],
#formmail-basic .formmail_cell_bgcolor select[name='category'],
#formmail-style-1 .formmail_cell_bgcolor select[name='category'],
#product_info #goods_option_mix[name='goods_option_mix'] {
    height: 37px;
    line-height: 38px;
    margin-right: 5px;
    padding: 0 10px;
    border: 1px solid #ddd;
    cursor: pointer;
}

input[name='com_board_search_value'] {
    border: 1px solid #ddd !important;
    height: 37px;
    line-height: 38px;
}

@media (max-width: 574px) {
    table#search_table {
        width: auto;
    }

    input[name='com_board_search_value'] {
        width: 100%;
    }

    input.formmail_border[name='phone_no1'],
    input.formmail_border[name='phone_no2'],
    input.formmail_border[name='phone_no3'],
    input.formmail_border[name='mobile_no1'],
    input.formmail_border[name='mobile_no2'],
    input.formmail_border[name='mobile_no3'] {
        width: 29%;
    }
}

/*
Form mail :: Style 1
================================================*/
#formmail-style-1 .formmail_title_bgcolor,
#formmail-style-1 .formmail_cell_bgcolor {
    display: block;
    width: 100% !important;
    text-align: left;
}

#formmail-style-1 .formmail_title_bgcolor {
    text-align: left;
    font-weight: 600;
    padding-bottom: 8px;
}

#formmail-style-1 .formmail_cell_bgcolor {
    border-top: none;
}

#formmail-style-1 > tbody > tr {
    padding-top: 8px;
    padding-bottom: 12px;
    height: auto;
    display: block;
    /* border-bottom: 1px solid #ddd; */
}

#formmail-style-1 td {
    padding: 0;
    border-bottom: none;
}

#formmail-style-1 .formmail_cell_bgcolor td {
    padding-bottom: 8px;
    font-size: 14px;
    color: #888;
}

#formmail-style-1 .formmail_cell_bgcolor table textarea {
    border-color: #ccc;
}

/* with class inputbox bgcolor white */
.input-white input[type='text'],
.input-white input[type='password'],
.input-white input.formmail_border:not([name='attachment[]']),
.input-white textarea.formmail_textarea_style {
    background-color: #fff;
}
.input-white #formmail-style-1 tr {
    border-bottom: none;
    padding-bottom: 20px;
}

/* with class inputbox underline dark */
.input-underline input[type='text'],
.input-underline input[type='password'],
.input-underline input.formmail_border:not([name='attachment[]']),
.input-underline textarea.formmail_textarea_style {
    background-color: transparent;
    border-bottom: 1px solid #232323;
}

/*
Form mail :: Style 2
================================================*/

#formmail-style-2 .formmail_title_bgcolor {
    display: none;
}

#formmail-style-2 .formmail_cell_bgcolor {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 0;
    text-align: left;
}

#formmail-style-2 input[type='text'],
#formmail-style-2 textarea.formmail_textarea_style {
    background-color: #f7f7f7 !important;
    border-color: transparent;
    box-shadow: none;
    transition: color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86),
        background-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86),
        border-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    margin-bottom: 8px;
    padding: 16px;
    border-width: 1px;
}

#formmail-style-2 ::placeholder {
    /* font-size: 16px; */
    font-weight: normal;
}

#formmail-style-2 input::placeholder,
#formmail-style-2 textarea::placeholder {
    color: #ccc;
}

#formmail-style-2 input[type='text']:focus,
#formmail-style-2 textarea.formmail_textarea_style:focus {
    border-color: #000;
    border-width: 1px;
}

#formmail-style-2 input.formmail_border[name='add1'],
#formmail-style-2 input.formmail_border[name='add2'],
#formmail-style-2 input.formmail_border[name='add3'],
#formmail-style-2 textarea.formmail_textarea_style[name='add4'] {
    width: 97% !important;
}

/* ==============================================
comment
================================================*/
.commentInner .comment_name {
    font-weight: bold;
    width: 200px;
}

.commentTable table.commentInner {
    width: 100% !important;
}

.commentWrite .comment_txt {
    font-size: 15px;
    padding: 30px !important;
    background-color: #f7f7f7;
    margin-bottom: 16px;
}

.commentTable > tbody > tr td {
    /* display: flex; */
    padding: 6px 0;
}

.commentTable table.commentInner td[colspan='3'] {
    display: none;
}

.commentTable table.commentInner td:last-child {
    font-size: 15px;
    min-width: 200px;
}

.commentWrite input#border[name='com_board_comment_name'],
.commentWrite input#border[name='com_board_comment_password'] {
    width: auto;
    margin: 0 !important;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.commentWrite textarea#border[name='com_board_comment_contents'] {
    float: none !important;
    display: block;
    border: none;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.commentWrite textarea {
    width: 100%;
    margin-bottom: 8px;
}

@media (max-width: 574px) {
    .table th,
    .table td,
    .commentInner td {
        font-size: 15px;
        /* padding: .4rem .25rem; */
    }

    .commentInner td {
        display: inline-block;
    }

    .commentInner .comment_name {
        width: 100%;
    }

    .commentWrite .comment_txt {
        font-size: 15px;
        /* padding: 0 !important; */
    }

    .commentWrite textarea {
        width: 100%;
        margin-bottom: 8px;
    }

    .tableA-write .board_bgcolor {
        background-color: transparent;
        display: block;
        text-align: left;
        font-weight: bold;
    }

    .commentWrite input#border[name='com_board_comment_name'],
    .commentWrite input#border[name='com_board_comment_password'] {
        width: 100%;
    }
}

.bbs-btn-lead-wrap {
    margin-top: 16px;
}

@media (max-width: 574px) {
    .bbs-btn-lead-wrap {
        margin-top: 24px;
    }

    .bbs-btn-lead-wrap > tbody > tr td {
        width: 100% !important;
        display: block;
        height: auto;
        margin-bottom: 4px;
        text-align: center;
    }

    .bbs-btn-write {
        margin-top: 8px;
    }

    .bbs-btn-write a {
        display: block;
    }

    .d-flex.justify-content-between.btn-flex {
        -ms-flex-direction: column !important;
        flex-direction: column !important;
    }
}

.table-paging {
    text-align: center;
    margin: 16px 0 24px;
}

.table-paging {
    display: block;
    text-align: center;
}

.table-paging > b,
.table-paging > a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 36px;
    text-align: center;
    margin: 0 -2px;
    border: 1px solid #e8e8e8;
}

.table-paging > b {
    color: #fff;
    border-color: #888;
    background: #888;
}

.table-paging > a {
    color: #888;
}

.table-paging > a:hover {
    color: #555;
    border-color: #cdcdcd;
    background: #f4f4f4;
}

/*
Board Output
================================================*/
.board_output_gallery_img .board_output_imgs {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 16px;
}

/* ==============================================
category
================================================*/
.sul_menu.cate_menu {
    overflow: hidden;
    zoom: 1;
    margin-bottom: 40px;
    text-align: center;
}

.sul_menu.cate_menu a {
    display: inline-block;
    padding: 16px 21px !important;
    margin: 4px 3px !important;
    font-size: 16px !important;
    font-family: inherit;
    color: #444;
    text-decoration: none;
    border: 1px #ddd solid !important;
    width: auto;
    text-align: center;
}

.sul_menu.cate_menu > a {
    /* display: none; */
}

.sul_menu.cate_menu a:hover {
    color: inherit;
    text-decoration: none;
    background-color: #eee;
}

.sul_menu.cate_menu img {
    visibility: hidden;
    display: none;
}

.sul_menu.cate_menu img + a {
    border: 1px solid red;
    background-color: #222;
    color: #fff;
}

@media (max-width: 1024px) {
    .sul_menu.cate_menu a {
        width: 24%;
    }
}

@media (max-width: 991px) {
    .sul_menu.cate_menu a {
        width: 32%;
    }
}

@media (max-width: 545px) {
    .sul_menu.cate_menu a {
        width: 48%;
        /* font-size: 14px !important; */
        padding: 16px 10px !important;
        margin: 2px 1px !important;
        letter-spacing: -0.8px;
    }
}
