@charset "utf-8";
/* SIR 지운아빠 */

.btn_b01{border:1px solid #ddd; color:#444; height:30px; line-height:30px; padding:10px; background:#fff;}
.btn_b02{border:1px solid #ec1d54; color:#ec1d54; height:30px; line-height:30px; padding:10px; background:#fff;}
a.btn_admin, .btn_admin {line-height:30px; padding:10px; display: inline; }

/* 상단 영역 전체 컨테이너 */
.cateAndSearch {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important; /* 가로 중앙 */
    align-items: center !important;     /* 세로 중앙 */
    flex-wrap: wrap !important;        /* 공간 부족 시 자동 줄바꿈 */
    gap: 15px;                         /* 요소 간 간격 */
    width: 100%;
    margin: 20px 0 40px 0 !important;
    padding: 0 !important;
    clear: both !important;
}

/* 분류(카테고리) 영역 박스 */
.cateWrap {
    float: none !important;            /* 기존 float 해제 */
    display: block !important;
}

#bo_cate {
    float: none !important;            /* 기존 float 해제 */
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

#bo_cate ul {
    float: none !important;            /* 오른쪽 정렬 원인 제거 */
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

#bo_cate li {
    float: none !important;
    display: inline-block !important;
    margin: 2px !important;
}

/* 검색창 영역 */
.searchCon {
    float: none !important;            /* 기존 float 해제 */
    margin: 0 !important;
    display: block !important;
}




/* 게시판 목록 */
#bo_img {width:100%;}

#bo_list_title {margin-bottom:20px;font-size:3em;  text-align:center; color:#fff; font-weight:600;}
#bo_cate h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin-bottom:10px;padding-left:1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;font-weight:bold}


/* --- 카테고리 & 검색창 영역 통합 레이아웃 --- */
.cateCon { 
    position: relative; 
    display: block; 
    width: 100%; 
    clear: both;
    margin-bottom: 20px;
    /* 내부 요소들이 모두 float이므로 높이 확보를 위해 추가 */
    overflow: hidden; 
}

/* 1. 검색창 (오른쪽 배치) */
.searchCon {
    float: right; 
    padding: 15px 0; 
    margin-left: 10px; /* 카테고리와의 간격 */
    position: relative;
    z-index: 100;
}

/* 2. 카테고리 (검색창 왼쪽으로 나란히 배치) */
#bo_cate {
    position: relative; 
    float: right; /* 왼쪽 정렬에서 오른쪽 정렬로 변경 */
    margin: 0; 
    padding: 15px 0; 
    z-index: 10;
}

/* 카테고리 내부 스타일 (기존 디자인 유지) */
#bo_cate ul { 
    margin: 0; 
    padding: 0; 
    list-style: none;
    display: flex;
}

#bo_cate li { margin: 1px; display: inline-block; }

#bo_cate a {
    display: block;
    padding: 14px 20px; /* 나란히 배치하기 위해 좌우 패딩 살짝 조절 */
    line-height: 1; 
    color: #a2a2a2; 
    text-align: center;
    font-weight: bold; 
    background: #f8f8f8; /* 기본 배경 */
    -webkit-transition: all .3s ease; 
    transition: all .3s ease;
}

/* 활성화 상태 (기존 핑크색 유지) */
#bo_cate #bo_cate_on {
    background-color: #ec1d54 !important; 
    color: #fff !important; 
    font-weight: 400;
}

#bo_cate a:hover {
    background-color: #ec1d54; 
    color: #fff;
}

/* 검색창 폼 스타일 (기존 유지) */
.search_form {
    border: 3px solid #ec1d54; 
    height: 43px; 
    background: #fff; 
    padding: 3px; 
    width: 240px; 
    position: relative; 
    overflow: hidden;
}

/* 리스트 겹침 방지 */
.cateCon:after {
    content: "";
    display: block;
    clear: both;
}

/* 검색 */
.searchCon {padding:15px 0; float:right; margin:0px 220px 0px 0; }
.search_form {border:3px solid #ec1d54; height:43px; background:#fff; padding:3px; width:240px; position:relative; overflow:hidden;}
.search_form input {border:0; padding-left:12px; float:left; left:8px;}
.search_form button {border:0; background:none; position:absolute; float:right; right:10px;}
.search_form button i {color:#666;}

/* 게시판 쓰기추가 191202 */
#bo_w {background:#fff; padding:2em;}
.bo_w_con {background:#fff; padding:20px 40px;}
.btn_cke_sc {display: inline-block;  padding: 0 10px;  height: 23px; border: 1px solid #ccc;  background: #fafafa;  color: #000;  text-decoration: none;  line-height: 1.9em;   vertical-align: middle;  cursor: pointer;  margin: 0 2px;}
.btn_cancel, .btn_submit  {background:#ec1d54; color:#fff; line-height:3; width:100px;}
.btn_cancel:hover, .btn_submit:hover {color:#fff;}
.write_bottom {float:right;}

/*글쓰기*/
#bo_w {margin: 0 auto;padding: 5%;}
#bo_w .write_div{margin:10px 0;position:relative; }
#bo_w .bo_w_info:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info .frm_input{float:left;width:33%}
#bo_w #wr_password{margin:0 0.5%  }
#bo_w .wr_content.smarteditor2 iframe{background:#fff}
#bo_w .bo_w_tit{position:relative}
#bo_w .bo_w_tit .frm_input{padding-right:120px;}
#bo_w .bo_w_tit #btn_autosave{position:absolute;top:5px;right:5px;line-height:30px;height:30px;}
#bo_w .bo_w_link label{position:absolute;top:1px;left:1px;border-radius:3px 0 0 3px;height:45px;line-height:45px;width:40px;background: #eee;text-align:center;color:#888}
#bo_w .bo_w_link .frm_input{padding-left:50px}
#bo_w .bo_w_flie .lb_icon{position:absolute;top:0px;left:0px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;background:#eee;text-align:center;color:#888}
#bo_w .bo_w_flie .frm_file{padding-left:50px;}
#bo_w .bo_w_flie .file_wr{border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;height:40px;margin:0}
#bo_w .bo_w_flie .frm_input{margin:10px 0 0 }
#bo_w .bo_w_flie .file_del{position:absolute;top:10px;right:10px;font-size:0.92em;color:#7d7d7d}
#bo_w .bo_w_select select{border:1px solid #ccc;height:40px;border-radius:3px; width:20%; float:left; margin-right:5px;}

.bo_w_tit .frm_input {border:1px solid #ccc;background:#fff;color:#000;height:38px;line-height:38px; border-radius:3px ; width:100%;}
.bo_w_select .frm_input {border:1px solid #ccc;background:#fff;color:#000;height:38px;line-height:38px; border-radius:3px; width:79%;}
.key_input {border:1px solid #ccc;background:#fff;color:#000;height:40px;line-height:40px; border-radius:3px; width:75%;}

.td_subject img {margin-left:3px}

/* 갤러리 목록 */
#bo_img h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_img_list {display:none;position:relative;margin:10px 0 0;padding:0;list-style:none}
.bo_img_list_li {position:absolute;left:0;top:0;margin:0 10px 30px 0;}

.bo_img_con {margin:0;padding:0;list-style:none; background:#fff;}
.bo_img_con li {margin:0 0 4px}
.bo_img_con li img {width:100%;}
.bo_img_con .bo_img_subject {display:inline-block;width:50px}

.bo_img_now .bo_img_text_href a {color:#ff3061}

.bo_img_href a:link,
.bo_img_href a:focus,
.bo_img_href a:hover {text-decoration:none}
.bo_img_href strong,
.bo_img_href span {display:inline-block;background:#f7f7f7;text-align:center;line-height:10em}

.bo_img_text_href {margin:10px 0 !important}
.bo_img_text_href a {font-weight:bold}
.bo_img_text_href span {display:inline !important}
.bo_img_text_href img {margin:0 0 0 4px}



.bo_datetime {position:absolute; float:right; right:30px;}
.bo_tit_sub {clear: both; width:100%;}
.bo_cate_in {display: block; padding:20px;}

.bo_con_in {padding:0 20px 20px 20px;}
.man_tit { color:#222; padding-top:20px; width:100%; position: relative; overflow: hidden; font-size:1.2em;}
.man_con {clear:both; color:#666; width:100%; position: relative; overflow: hidden;}
.man_keyword {display:block; text-align:right; padding-bottom:20px;}

/**** Transitions ****/
.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.masonry {
    width:100%;
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.masonry .masonry-brick {
    width:24%;
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}

/* 게시판 목록 공통 */
.bo_fx {position:relative;margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding-top:5px}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:5px}
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:5px}
.btn_bo_adm input {padding:0 10px;height:25px;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer}
.bo_notice td {background:#f7f7f2}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:5px 7px; border:1px solid #ec1d54; color:#ec1d54 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
.bo_current {color:#e8180c}

#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
#bo_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}



/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrp {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}

#autosave_wrapper {position:relative}
#autosave_pop {display:none;z-index:10;position:absolute;top:24px;right:117px;padding:8px;width:350px;height:auto !important;height:180px;max-height:180px;border:1px solid #565656;background:#fff;overflow-y:scroll}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:right}
#autosave_pop button {margin:0;padding:0;border:0;background:transparent}
#autosave_pop ul {margin:10px 0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #e9e9e9;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right}
.autosave_close {cursor:pointer}
.autosave_content {display:none}

/* 게시판 읽기 */
#bo_v {position:relative; margin-bottom:20px; padding:6em 4em; background:#fff;}

#bo_v_table {position:absolute;top:0;right:15px;margin:0;padding:0 5px;height:25px;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title {padding:0 0;font-size:1.2em; }

#bo_v_info {padding:0 0 2em 0; color:#c3c3c3;}
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {font-weight:bold}

#bo_v_file {}
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
#bo_v_file a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
#bo_v_file img {float:left;margin:0 10px 0 0}
.bo_v_file_cnt {display:inline-block;margin:0 0 3px 16px}

#bo_v_link {}
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f5f6fa}
#bo_v_link a {display:inline-block;padding:8px 0 7px;width:100%;color:#000;word-wrap:break-word}
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
.bo_v_link_cnt {display:inline-block;margin:0 0 3px 16px}

#bo_v_top {margin:0 0 10px;padding:10px 0;zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_top ul {margin:0;padding:0;list-style:none}

#bo_v_bot {zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_bot ul {margin:0;padding:0;list-style:none}

.bo_v_nb {float:left}
.bo_v_nb li {float:left;margin-right:5px}
.bo_v_com {float:right}
.bo_v_com li {float:left;margin-left:5px}

#bo_v_atc {min-height:200px;height:auto !important;height:200px}
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden; zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img img {margin-bottom:20px;max-width:100%;height:auto}

#bo_v_con {margin-bottom:30px;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden; }
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto;width: auto !important; }

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act a {margin-right:5px;vertical-align:top}
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:top}
#bo_v_act strong {color:#ff3061}
#bo_v_act_good,
#bo_v_act_nogood {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_sns {margin:20px 0 20px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 5px 0 0}

#bo_v form {padding-top:20px}

/* 게시판 댓글 */
#bo_vc {padding:20px 20px 10px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f5f6fa}
#bo_vc h2 {margin-bottom:10px}
#bo_vc article {padding:0 0 10px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:15px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .sv_wrap {margin-right:15px}
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
#bo_vc p {padding:0 0 5px;line-height:1.8em}
#bo_vc p a {text-decoration:underline}
#bo_vc_empty {margin:0;padding:20px !important;text-align:center}
#bo_vc fieldset {margin:0 0 10px;padding:0}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}

.bo_vc_act {float:right;margin:0;list-style:none;zoom:1}
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act li {float:left;margin-left:5px}

#bo_vc_w {position:relative;margin:0 0 10px;padding:0 0 20px;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc_w #char_cnt {display:block;margin:0 0 5px}

#bo_vc_sns {margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 20px 0 0}
#bo_vc_sns input {margin:0 0 0 5px}

#bo_vc form {padding:0}

/* 191202 추가 */
.list_btn {position: absolute; top:0; float:right; right:0;}
.view_cate {margin-bottom:25px;}
.view_cate span{font-size:16px; color:#ec1d54; border:1px solid #ec1d54; display:inline; padding:10px 5px;}
.view_tit {font-size:3.429em; color:#b5b5b5; letter-spacing: -0.7pt;}
.view_keyword {padding-top:10px; color:#222; padding-left:5px;}
.bo_v_option {padding-left:0;}


@media all and (max-width: 768px) {
.masonry .masonry-brick {
    width:46%;
    }

        /* 검색 */
        #bo_list_title {margin-bottom:20px;font-size:2em;  text-align:center; color:#fff; font-weight:600;}
        #bo_cate {max-width:375px; margin:4px 10px -30px 0px; text-align:center; }
        #bo_cate ul {clear:both; width:100%; margin:0px -130px 0px 0;  }
        .searchCon {padding:15px 0; position: relative; overflow: hidden; margin:0px 10px 0px 0;  }
        .search_form {border:3px solid #ec1d54; height:43px; background:#fff; padding:3px 0; width:94%; margin:0 2%; float:right; margin:0px 0px 0px 0; }
        .search_form input {padding-left:10px; width:90%;}
        .search_form button i { float:right; right:0; }

        /* 리스트 */
        .bo_img_list_li {position:absolute;left:0;top:0;margin:0 10px 10px 0; padding:0 0 0 5px;}
        .bo_img_con {font-size:13px;}
        .man_tit {font-size:14px;}

        #bo_cate a{padding:5px 5px; line-height:2.5; border-radius:0;  color:#a2a2a2; text-align:center;-webkit-transition:all .3s ease; transition:all .3s ease; font-weight:bold; letter-spacing: 0; font-size:12.5px}

        /*뷰*/
        #bo_v {padding:6em 1.5em;}
        #bo_v_con {margin-left:0;}
        .view_tit {font-size:1.8em; color:#b5b5b5; letter-spacing: -0.7pt;}
        .bo_datetime {font-size:12px}
        .bo_cate_in {padding:10px;}
        .bo_con_in {padding:10px}
        .bo_cate_link {padding:4px; font-size:11px;}
        .bo_datetime {right:5px;}

}


@media screen and (max-width:480px) {
    .masonry .masonry-brick {
        width:47%;
        }


}
