@charset "utf-8";

/* 
SUMMARY :

01 BODY
02 COMMON
03 ICON
04 LOGIN
05 BOARD
*/

/* BODY */

body {
    background: transparent;
}

/* COMMON */

.grids {
    display: grid;
}

.flexs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fxs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.fxe {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.fxc {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fxsb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fwrap {
    flex-wrap: wrap;
}

.fdc {
    flex-direction: column;
}

.jcsb {
    justify-content: space-between;
}

.jcse {
    justify-content: space-evenly;
}

.w10 {
    width: 10%;
}

.w15 {
    width: 15%;
}

.w20 {
    width: 20% !important;
}

.w30 {
    width: 30% !important;
}

.w50 {
    width: 50% !important;
}

.w70 {
    width: 70% !important;
}

.w80 {
    width: 80% !important;
}

.w100 {
    width: 100% !important;
}

.w100+.w100 {
    margin: 10px 0 0;
}

.m_auto {
    margin: 0 1%;
}

.ml2 {
    margin-left: 2% !important;
}

.ml4 {
    margin-left: 4% !important;
}

.mr2 {
    margin-right: 2% !important;
}

.a_l {
    text-align: left !important;
}

.a_c {
    text-align: center !important;
}

.a_r {
    text-align: right !important;
}

/* ICON */

i.i_com {
    flex-shrink: 0;
    display: inline-block;
    /* margin: 0 10px 0 0; */
}

i.i_1 {
    width: 14px;
    height: 10px;
    background: url(../img/main/i_1.png) no-repeat 0 0;
}

i.i_2 {
    width: 14px;
    height: 14px;
    background: url(../img/main/i_2.png) no-repeat 0 0;
}

i.i_3 {
    width: 16px;
    height: 12px;
    background: url(../img/main/i_3.png) no-repeat 0 0;
}

i.i_4 {
    width: 7px;
    height: 14px;
    background: url(../img/main/i_4.png) no-repeat 0 0;
}

i.i_5 {
    width: 17px;
    height: 14px;
    background: url(../img/main/i_5.png) no-repeat 0 0;
}

i.i_login {
    width: 12px;
    height: 12px;
    background: url(../img/main/ico_login.png) no-repeat 0 0;
    margin-right: 5px;
}

i.i_join {
    width: 16px;
    height: 12px;
    background: url(../img/main/ico_join.png) no-repeat 0 0;
    margin-right: 5px;
}

i.i_noti {
    width: 26px;
    height: 24px;
    background: url(../img/main/ico_noti.png) no-repeat 0 0;
    margin-right: 10px;
}

i.i_bookmark {
    width: 21px;
    height: 28px;
    background: url(../img/main/ico_bookmark.png) no-repeat 0 0;
    margin-right: 10px;
}

i.i_more {
    width: 10px;
    height: 10px;
    background: url(../img/main/ico_more.png) no-repeat 0 0;
}

i.i_b1 {
    width: 52px;
    height: 50px;
    background: url(../img/main/i_b1.png) no-repeat 0 0;
}

i.i_b2 {
    width: 46px;
    height: 46px;
    background: url(../img/main/i_b2.png) no-repeat 0 0;
}

i.i_b3 {
    width: 44px;
    height: 50px;
    background: url(../img/main/i_b3.png) no-repeat 0 0;
}

i.i_b4 {
    width: 56px;
    height: 54px;
    background: url(../img/main/i_b4.png) no-repeat 0 0;
}

i.i_b5 {
    width: 52px;
    height: 50px;
    background: url(../img/main/i_b5.png) no-repeat 0 0;
}

i.i_b6 {
    width: 50px;
    height: 50px;
    background: url(../img/main/i_b6.png) no-repeat 0 0;
}

i.i_home {
    width: 18px;
    height: 20px;
    background: url(../img/main/ico_home.png) no-repeat 0 0;
}

i.i_depth {
    width: 16px;
    height: 8px;
    background: url(../img/main/ico_depth.png) no-repeat 0 0;
}

i.i_visual {
    width: 23px;
    height: 36px;
    background: url(../img/main/ico_visual.png) no-repeat 0 0;
}

/* LOGIN */

#mb_login {
    margin: 0 auto;
    width: 400px;
}

.mbskin .mbskin_box {
    border: 0;
}

#login_fs {
    padding: 0;
}

#sns_login {
    border-top: 0;
}

#mb_login #login_fs .btn_submit {
    margin: 20px 0 30px;
    font-weight: normal;
}

#login_info {
    display: flex;
    justify-content: center;
}

#mb_login #sns_login {
    padding: 0;
}

#mb_login #sns_login .sns-icon {
    width: 100% !important;
    float: none !important;
}

#mb_login #sns_login .sns-wrap {
    padding: 25px 0 15px;
}

.lst_login li {
    display: inline-block;
    padding: 0 10px;
}

/* 회원정보 찾기 */

#find_info {
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

#find_info .new_win_con {
    padding: 0;
    background: transparent;
}

#find_info #captcha {
    padding: 20px 0;
}

/* 비회원주문조회 */

#mb_login_od_wr {
    width: 440px;
    padding: 0;
    border: 0;
}

/* 비회원구매 */

#mb_login_notmb {
    width: 440px;
    padding: 0;
    border: 0;
}

#mb_login_notmb .chk_box {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

#mb_login_notmb label span {
    margin: 0 5px 0 0;
}

/* 게시판 Category */

#bo_cate {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 50px;
    text-align: center;
}

#bo_cate_ul {
    display: table;
}

#bo_cate_ul li {
    display: table-cell;
    overflow: hidden;
}

#bo_cate_ul li a {
    display: block;
    text-align: center;
    word-break: keep-all;
    font-weight: 400;
    border: 1px solid #d7d7d7;
    border-left: none;
    box-sizing: border-box;
    color: #5f5f5f;
}

#bo_cate_ul li:first-child a {
    border-left: 1px solid #d7d7d7;
}

#bo_cate_ul li a:hover,
#bo_cate_ul li a.focus,
#bo_cate_ul li a#bo_cate_on {
    color: #fff !important;
    background: #0d377e;
    border-color: #0d377e !important;
}

#bo_cate_ul li a {
    line-height: 48px;
    font-size: 16px;
    padding: 0 25px;
}

/* 게시판 List */

.bo_sch_block {
    margin: 0 auto 30px;
}

.bo_sch form {
    display: flex;
    align-items: center;
    justify-content: right;
}

.bo_sch select {
    width: 130px;
    padding: 0 20px 0 10px;
    margin: 0 10px 0 0;
    -webkit-appearance: none;
    background: #fff url(../img/main/ic-chevron-down.png) no-repeat right 7px bottom 50%;
    border-radius: 6px;
}

.bo_sch .sch_input {
    border-radius: 6px 0 0 6px;
}

.bo_sch .sch_btn {
    background: #20409A;
    border-radius: 0 6px 6px 0;
}

.bo_sch .sch_btn i {
    display: inline-block;
    position: relative;
    top: 1px;
    width: 25px;
    height: 26px;
    background: url(../img/main/ic-union.png) no-repeat right 0 bottom 50%;
}

.bo_sch .sch_btn i:before {
    display: none;
}

.bo_sch .sch_input {
    width: 100%;
    padding: 0 5px;
    background: #fff;
}

.bo_sch .sch_bar {
    display: flex;
    width: auto;
    border-radius: 6px;
}

.bo_sch .bo_sch_cls {
    display: none;
}

.tbl_wrap table {
    min-width: 100%;
}

.tbl_head01 thead th {
    border: 1px solid #3D3D3D;
    border-width: 2px 0 1px 0;
    background: #f2f2f2;
    font-size: 16px;
    font-weight: 500;
}

.tbl_head01 td {
    border-bottom: 1px solid #C0C0C0;
}

#bo_list tbody .even td {
    background: transparent;
}

.tbl_head01 .td_subject .bo_tit {
    font-weight: normal;
    text-align: left;
}

.tbl_head01 .td_subject .bo_tit ._type {
    margin-right: 10px;
}

#bo_list .bo_tit .new_icon {
    display: none;
}

#bo_list .bo_tit i.secret {
    display: inline-block;
    margin: 0 4px 0 0;
    padding: 6px 20px;
    background: #21242d;
    font-size: 14px;
    color: #fff;
    border-radius: 20px;
    font-style: normal;
}

#bo_list .td_name {
    text-align: center;
}

/* 게시판 View */

.custom_view {
    display: flex;
    justify-content: space-between;
    padding: 25px 20px;
    border: 1px solid #3D3D3D;
    background-color: #F2F2F2;
    border-width: 1px 0;
}

.custom_view>div:nth-child(1) {
    width: 65%;
    font-size: 16px;
    font-weight: 600;
    color: #3D3D3D;
}

.custom_view>div:nth-child(2) {
    width: 35%;
    text-align: right;
}

.custom_view>div:nth-child(2)>span {
    margin: 0 30px 0 0;
    font-weight: normal;
}

.custom_view>div:nth-child(2)>span strong {
    font-weight: normal;
}

.bo_v_nb .btn_prv,
.bo_v_nb .btn_next {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    padding: 0;
    border-color: #3D3D3D !important;
}

.bo_v_nb .btn_prv a,
.bo_v_nb .btn_next a {
    overflow: hidden;
    padding: 0 0 0 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo_v_nb li .nb_tit {
    width: 150px;
    padding: 20px 0;
    background: #F2F2F2;
    font-weight: 500;
    text-align: center;
    color: #3D3D3D;
}

.bo_v_nb .btn_prv .nb_tit i,
.bo_v_nb .btn_next .nb_tit i {
    display: none;
}

.bo_v_nb li .nb_date {
    display: none;
}

/* Button */

.bo_fx ul li {
    width: 100%;
}

.btn-box {
    text-align: center;
}

.btn-box a {
    display: inline-block;
    width: 140px;
    padding: 14px 0;
    background: #0D377E;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border-radius: 40px;
}

.btn-box a.board {
    margin: 30px 0 0;
}

.btn-box button {
    width: 140px;
}

.btn-box button+button {
    margin-left: 20px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
}

/* 게시판 Write */

#bo_w .fxsb>div {
    width: 48.5%;
}

#bo_w .fxsb>div label {
    display: block;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 500;
    color: #3D3D3D;
}

#bo_w .fxsb + .fxsb {
    margin: 15px 0 0;
}

#bo_w .bo_w_info .frm_input {
    float: none;
    width: 100%;
    margin-left: 0 !important;
}

#bo_w .frm_input {
    height: 48px;
    padding: 0 10px;
    border: 1px solid #B9B9B9;
    border-radius: 4px;
}

#bo_w .bo_w_tit #btn_autosave {
    top: 9px;
}

#bo_w .bo_w_select select {
    height: 48px;
    padding: 0 10px;
    border: 1px solid #B9B9B9;
    -webkit-appearance: none;
    background: #fff url(../img/main/ic-chevron-down.png) no-repeat right 7px bottom 50%;
    border-radius: 4px;
}

#bo_w .write_div textarea {
    padding: 10px;
    border: 1px solid #B9B9B9;
    border-radius: 4px;
}

#bo_w .bo_w_link label {
    /* height: 48px; */
    top: 10px;
}

#bo_w .bo_w_flie .file_wr {
    height: 48px;
}

#bo_w .bo_w_flie .lb_icon {
    /* height: 44px; */
    top: 9px;
}

#bo_w .bo_w_flie .frm_file {
    margin-top: 5px;
}

#bo_w .btn_confirm.write_div {
    margin: 30px 0 0;
    text-align: center;
}

#bo_w .btn_confirm.write_div a {
    width: 140px;
    height: auto;
    padding: 14px 0;
    line-height: normal;
}

#bo_w .btn_confirm.write_div button {
    width: 140px;
    height: auto;
    margin: 0 0 0 10px;
    padding: 14px 0;
    line-height: normal;
}

#bo_w .btn_submit {
    border: 0;
    background: #0d377e;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

#bo_w .btn_submit:hover {
    background: #2c4a7e;
} 

#bo_w input::placeholder {
    font-weight: normal;
    color: #B9B9B9;
}
  
#bo_w .filebox .upload-name {
    display: inline-block;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    vertical-align: middle;
    border: 1px solid #dddddd;
    color: #999999;
    border-radius: 4px;
}

#bo_w .filebox div label {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 12px 20px;
    background-color: #999999;
    font-size: 14px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

#bo_w .filebox input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}

#bo_w .fxsb_file > div:nth-child(1) {
    width: 120px; 
}

#bo_w .fxsb_file > div:nth-child(2) {
    width: calc(100% - 130px);
}

#bo_w .bo_v_option li + li {
    padding: 0 0 0 10px;
}

/* 갤러리 (게시판) */

#bo_gall #gall_ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
}

#bo_gall .gall_li {
    border: 1px solid #C0C0C0;
    background-color: #fff;
    padding: 12px;  
}

#bo_gall .bo_tit {
    font-size: 16px;
    font-weight: 600;
    color: #3D3D3D;
    text-align: left;
    line-height: 1.35;
}

#bo_gall .bo_cnt {
    display: none;
}

#bo_gall .gall_img img, 
#bo_gall .gall_img video {
    background: #eee;
    width: 100%;
    display: block;
    height: 255px;
    object-fit: cover;
    transition-duration: 0.2s;
}

/* 페이징 */

.pg_wrap {
    float: none;
    width: 100%;
    margin: 20px 0 0;
    text-align: center;
}

/* */

@media all and (max-width: 1300px) {

    /* 갤러리 (게시판) */

    #bo_gall #gall_ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

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

    /* cate */

    #bo_cate {
        height: 42px;
    }

    #bo_cate_ul li a {
        line-height: 40px;
        font-size: 13px;
        padding: 0 20px;
    }

    /* List */

    .tbl_head01 {
        font-size: 13px;
    }

    .tbl_head01 thead th {
        font-size: 13px;
    }

    .tbl_head01 .td_subject .bo_tit {
        display: flex;
        align-items: center;
    }

    span._type {
        flex-shrink: 0;
        width: 36px !important;
        padding: 4px 0 !important;
        font-size: 12px !important;
    }

    /* View */

    .custom_view {
        flex-wrap: wrap;
        padding: 15px 10px;
    }

    .custom_view>div:nth-child(1),
    .custom_view>div:nth-child(2) {
        width: 100%;
        text-align: left;
    }

    .custom_view>div:nth-child(2) {
        margin: 7px 0 0;
    }

    .bo_v_nb .btn_prv,
    .bo_v_nb .btn_next {
        grid-template-columns: 100px 1fr;
    }

    .bo_v_nb li .nb_tit {
        width: 100px;
    }

}

@media all and (max-width: 768px) {

    /* 갤러리 (게시판) */

    #bo_gall #gall_ul {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

}