@charset "utf-8";

/* 
SUMMARY :

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

/* BODY */

body {
    background: transparent;
}

/* COMMON */

.grids {
    display: grid;
}

.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_tel {
    width: 14px;
    height: 16px;
    margin: 0 8px 0 0;
    background: url(../img/main/ico_tel.png) no-repeat 0 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

i.i_clock {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background: url(../img/page/ico_clock.png) no-repeat 0 0;
}

i.g_1 {
    width: 84px;
    height: 80px;
    background: url(../img/page/g_1.png) no-repeat 0 0;
}

i.g_2 {
    width: 77px;
    height: 80px;
    background: url(../img/page/g_2.png) no-repeat 0 0;
}

i.g_3 {
    width: 68px;
    height: 80px;
    background: url(../img/page/g_3.png) no-repeat 0 0;
}

i.g_4 {
    width: 83px;
    height: 80px;
    background: url(../img/page/g_4.png) no-repeat 0 0;
}

i.g_5 {
    width: 80px;
    height: 80px;
    background: url(../img/page/g_5.png) no-repeat 0 0;
}

i.g_6 {
    width: 86px;
    height: 80px;
    background: url(../img/page/g_6.png) no-repeat 0 0;
}

i.g_7 {
    width: 68px;
    height: 80px;
    background: url(../img/page/g_7.png) no-repeat 0 0;
}

i.g_8 {
    width: 86px;
    height: 80px;
    background: url(../img/page/g_8.png) no-repeat 0 0;
}

i.i_diagram {
    width: 21px;
    height: 20px;
    background: url(../img/page/ico_diagram.png) no-repeat 0 0;
}

i.i_check {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background: url(../img/page/ico_check.png) no-repeat 0 0;
}

i.i_check_block {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto 10px;
    background: url(../img/page/ico_check.png) no-repeat 0 0;
}

i.i_circle {
    width: 8px;
    height: 8px;
    margin: 0 6px;
    background: url(../img/page/ico_circle.png) no-repeat 0 0;
}

i.i_point {
    width: 26px;
    height: 26px;
    margin: 0 7px 0 0;
    background: url(../img/page/ico_point.png) no-repeat 0 0;
}

i.i_needle {
    width: 87px;
    height: 80px;
    background: url(../img/page/ico_needle.png) no-repeat 0 0;
}

i.i_medicine {
    width: 82px;
    height: 80px;
    background: url(../img/page/ico_medicine.png) no-repeat 0 0;
}

i.i_diet_1 {
    width: 65px;
    height: 65px;
    background: url(../img/page/ico_diet_1.png) no-repeat 0 0;
}

i.i_diet_2 {
    width: 77px;
    height: 53px;
    background: url(../img/page/ico_diet_2.png) no-repeat 0 0;
}

i.i_diet_3 {
    width: 46px;
    height: 61px;
    background: url(../img/page/ico_diet_3.png) no-repeat 0 0;
}

i.i_diet_4 {
    width: 38px;
    height: 65px;
    background: url(../img/page/ico_diet_4.png) no-repeat 0 0;
}

i.i_diet_5 {
    width: 58px;
    height: 57px;
    background: url(../img/page/ico_diet_5.png) no-repeat 0 0;
}

i.i_diet_6 {
    width: 68px;
    height: 63px;
    background: url(../img/page/ico_diet_6.png) no-repeat 0 0;
}

i.i_diet_7 {
    width: 80px;
    height: 80px;
    background: url(../img/page/ico_diet_7.png) no-repeat 0 0;
}

i.i_diet_8 {
    width: 83px;
    height: 80px;
    background: url(../img/page/ico_diet_8.png) no-repeat 0 0;
}

i.i_diet_9 {
    width: 74px;
    height: 80px;
    background: url(../img/page/ico_diet_9.png) no-repeat 0 0;
}

i.i_diet_10 {
    width: 75px;
    height: 80px;
    background: url(../img/page/ico_diet_10.png) no-repeat 0 0;
}

i.i_diet_11 {
    width: 65px;
    height: 80px;
    background: url(../img/page/ico_diet_11.png) no-repeat 0 0;
}

/* 게시판 List */

.bo_sch_block {
    margin: 10px auto 40px;
}

.bo_sch {
    background: #F5F5F5;
    border-radius: 10px;
}

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

.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: #1B7286;
    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: 70%;
    font-size: 16px;
    font-weight: 600;
    color: #3D3D3D;
}

.custom_view>div:nth-child(2) {
    width: 30%;
    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 */

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

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

.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: #1B7286;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

#bo_w .btn_submit:hover {
    background: #398090;
} 

#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(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 30px;
}

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

#bo_gall .bo_tit {
    font-size: 18px;
    font-weight: 300;
    color: #3D3D3D;
    text-align: center;
    line-height: 1.35;
}

#bo_gall .bo_cnt {
    display: none;
}

#bo_gall ul#gall_ul > li {
    border: 1px solid rgba(0, 0, 33, 0.05);
    border-radius: 10px;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

#bo_gall ul#gall_ul > li:hover {
    box-shadow: rgba(0, 0, 33, 0.07) 0px 16px 22.4px 4.8px, rgba(0, 0, 33, 0.05) 0px 3.2px 16px 0px, rgba(0, 0, 33, 0.07) 0px 0px 1px 0px;
    -webkit-transform: translate3D(0, -3%, 0);
    -moz-transform: translate3D(0, -3%, 0);
    -ms-transform: translate3D(0, -3%, 0);
    transform: translate3D(0, -3%, 0);
}

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

#bo_gall .btn_bo_user li {
    float: none;
    width: inherit;
}

#bo_gall .gall_text_href {
    margin: 15px 0 5px;
    padding: 0 15px;
}

#bo_gall .gall_info {
    display: none;
    padding: 0 15px 10px;
}

/* 페이징 */

.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));
    }

}