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

/* ### 기본 스타일 커스터마이징 시작 ### */


/* 게시판 버튼 */
/* 목록 버튼 */
#bo_gall a.btn_b01 {}
#bo_gall a.btn_b01:focus, #bo_gall a.btn_b01:hover {}
#bo_gall a.btn_b02 {}
#bo_gall a.btn_b02:focus, #bo_gall a.btn_b02:hover {}
#bo_gall a.btn_admin {} /* 관리자 전용 버튼 */
#bo_gall a.btn_admin:focus, #bo_gall .btn_admin:hover {}

/* 읽기 버튼 */
#bo_v a.btn_b01 {}
#bo_v a.btn_b01:focus, #bo_v a.btn_b01:hover {}
#bo_v a.btn_b02 {}
#bo_v a.btn_b02:focus, #bo_v a.btn_b02:hover {}
#bo_v a.btn_admin {} /* 관리자 전용 버튼 */
#bo_v a.btn_admin:focus, #bo_v a.btn_admin:hover {}

/* 쓰기 버튼 */
#bo_w .btn_confirm {} /* 서식단계 진행 */
#bo_w .btn_submit {}
#bo_w button.btn_submit {}
#bo_w fieldset .btn_submit {}
#bo_w .btn_cancel {}
#bo_w button.btn_cancel {}
#bo_w .btn_cancel:focus, #bo_w .btn_cancel:hover {}
#bo_w a.btn_frmline, #bo_w button.btn_frmline {} /* 우편번호검색버튼 등 */
#bo_w button.btn_frmline {}

/* 기본 테이블 */
/* 읽기 내 테이블 */
#bo_v .tbl_head01 {}
#bo_v .tbl_head01 caption {}
#bo_v .tbl_head01 thead th {}
#bo_v .tbl_head01 thead a {}
#bo_v .tbl_head01 thead th input {} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_v .tbl_head01 tfoot th {}
#bo_v .tbl_head01 tfoot td {}
#bo_v .tbl_head01 tbody th {}
#bo_v .tbl_head01 td {}
#bo_v .tbl_head01 a {}
#bo_v td.empty_table {}

/* 쓰기 테이블 */
#bo_w table {}
#bo_w caption {}
#bo_w .frm_info {}
#bo_w .frm_address {}
#bo_w .frm_file {}

#bo_w .tbl_frm01 {}
#bo_w .tbl_frm01 th {}
#bo_w .tbl_frm01 td {}
#bo_w .tbl_frm01 textarea, #bo_w tbl_frm01 .frm_input {}
#bo_w .tbl_frm01 textarea {}
/*
#bo_w .tbl_frm01 #captcha {}
#bo_w .tbl_frm01 #captcha input {}
*/
#bo_w .tbl_frm01 a {}

/* 필수입력 */
#bo_w .required, #bo_w textarea.required {}

#bo_w .cke_sc {}
#bo_w button.btn_cke_sc{}
#bo_w .cke_sc_def {}
#bo_w .cke_sc_def dl {}
#bo_w .cke_sc_def dl:after {}
#bo_w .cke_sc_def dt, #bo_w .cke_sc_def dd {}
#bo_w .cke_sc_def dt {}
#bo_w .cke_sc_def dd {}

/* ### 기본 스타일 커스터마이징 끝 ### */

/* 게시판 목록 */
#bo_cate h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:90px;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold}

.td_subject img {margin-left:3px}

/* 갤러리 목록 */
#bo_gall { margin:100px 0; }
#bo_gall h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_gall #gall_ul {margin:10px 0 0;padding:0;list-style:none;zoom:1}
#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_gall .gall_li {float:left;margin:0 10px 30px 0}

#bo_gall .gall_con {margin:0;padding:0;list-style:none}
#bo_gall .gall_con li {margin:0 0 4px}
#bo_gall .gall_con .gall_subject {display:inline-block;width:50px}

#bo_gall .gall_now .gall_text_href a {color:#ff3061}

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

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

/* 게시판 목록 공통 */
#gall_allchk { margin:0 0 30px 15px; }
.bo_fx { position:relative;margin-bottom:30px;padding:0 15px; zoom:1; z-index:99; }
.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:7px;border:0;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:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !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}

#bo_gall li.empty_list {padding:85px 0;text-align:center}

/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrap {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 {margin-bottom:20px;padding-bottom:20px}

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

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

#bo_v_info {padding:0 0 10px;border-bottom:1px solid #ddd}
#bo_v_info h2 {position:absolute;font-size:0;line-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 {position:absolute;font-size:0;line-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 {position:absolute;font-size:0;line-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 {position:absolute;font-size:0;line-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 {position:absolute;font-size:0;line-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; display:block; margin:0 auto;}

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act .bo_v_act_gng {position:relative}
#bo_v_act a {margin-right:5px;vertical-align:middle}
#bo_v_act strong {color:#ff3061}
#bo_v_act_good, #bo_v_act_nogood {display:none;position:absolute;top:30px;left:0;padding:10px 0;width:165px;background:#ff3061;color:#fff;text-align:center}

#bo_v_sns {margin:0 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_vc {margin:0 0 20px;padding:20px 20px 10px;border:1px solid #e5e8ec;background:#f5f8f9}
#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 p a.s_cmt {text-decoration:none}
#bo_vc_empty {margin:0;padding:20px !important;text-align:center}
#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_title {
    text-align: center;
    font-size: 45px;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 0 rgba(255,255,255,1);
	margin-bottom:30px;
}


/* 리스트 */
/* 포트폴리오 */
ul.filters {
	text-align:center;
	margin-bottom:30px;
}

ul.filters li {
	display:inline-block;
	margin-top:5px;
	margin-left:1px;
	margin-right:1px;
}

ul.filters li:last-child {
	margin-right:0;
}

ul.filters li a {
	display:block;
	color:#aeaeae;
	font-size:13px;
	border:1px solid #dadada;
	border-radius:5px;
	padding:10px;
	text-transform:uppercase;
}

ul.filters li a:hover,ul.filters li a:focus {
	background:#f2f2f2;
	color:#919191;
	text-decoration:none;
}

ul.filters li.active a {
	background:#169fe6;
	color:#FFF;
	border:1px solid #169fe6;
}

div.load-more {
	margin:50px 0;
	text-align:center;
}

div.load-more button.load-more-button:before {
	content:'';
}

div.load-more button.load-more-button {
	padding: 10px 0;
	width: 50%;
	font-size: 20px;
	font-weight: 300;
	margin: 20px 0;
	border:1px solid #d2d2d2;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	background:#f2f2f2;
	color: #00aeef;
	text-shadow:1px 1px 0 rgba(255,255,255,0.9);
	font-family:'Nanum Gothic';
	margin
	
}
div.load-more button.load-more-button.no-more:before { 
	content: normal;
}
div.load-more button.load-more-button.no-more {  
	display:none;
}



/* == 컨테이너: flex 제거, Isotope가 배치 == */
#bo_portfolio{
  position: relative;     /* Isotope가 top/left 을 찍음 */
  margin: calc(var(--gap,8px) * -0.5);
  padding: 0;
  list-style: none;
  --gap: 8px;             /* 카드 간격 */
}

/* == 아이템: 너비만 %로, 간격은 padding으로 == */
#bo_portfolio li{
  box-sizing: border-box;
  width: 25%;                    /* 4열 기본 */
  padding: calc(var(--gap) * 0.5);
  overflow: visible;             /* 내부 오버레이 보이게 */
  /* ❌ 아래 세 줄은 지워주세요 (Isotope 배치 방해)
     left:0 !important; top:0 !important; position:relative !important;
  */
}

/* 카드 영역 (figure+figcaption) */
#bo_portfolio li figure{
  margin:0;
  aspect-ratio: 4 / 3;           /* 통일 비율 → 행의 높이 일정 */
  overflow:hidden;
  border-radius:12px;
}

/* 이미지: 중앙 크롭 */
#bo_portfolio li figure img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* 오버레이(기존과 동일) */
#bo_portfolio li figcaption{
  position:absolute;
  inset: calc(var(--gap) * 0.5); /* 패딩만큼 안쪽으로(선택) */
  /* inset:0; 로 두고 싶으면 위 줄을 0으로 변경 */
}
#bo_portfolio li figcaption > div{
  position:absolute;
  width:100%; height:50%;
  color:#fff; text-align:center;
  transition:all .5s ease;
}
#bo_portfolio li .caption-top{ top:-50%; background:rgba(0,174,239,.8); }
#bo_portfolio li .caption-bottom{ bottom:-50%; background:rgba(0,0,0,.5); }
#bo_portfolio li.hover .caption-top{ top:0; }
#bo_portfolio li.hover .caption-bottom{ bottom:0; }
#bo_portfolio li figcaption .caption-top a {background: url('./img/zoom.png') no-repeat scroll center center transparent; border: 2px solid #fff; border-radius: 50%; display: inline-block; width:50px; height:50px; position: relative; text-indent: -9999em; top: 34%; background-size:80%; -webkit-transition:0.2s; transition:0.5s; }
#bo_portfolio li figcaption .caption-top a:hover { background-color:#de4a4a; -webkit-transition:0.5s; transition:0.5s; }

/* 텍스트(기존 값 유지 가능) */
#bo_portfolio li figcaption h4 { display:inline-block; background:#d92a5b; color:#FFF; font-size:17px; text-align:center; line-height:24px; font-weight:400; padding:0 20px; margin:8px 0 8px 0 !important; text-shadow:1px 1px 0 rgba(0,0,0,0.3); border-radius:30px;}
#bo_portfolio li figcaption p {color:#FFF; text-align:center; text-shadow:1px 1px 0 rgba(0,0,0,0.3); }
#bo_portfolio li figcaption p.po_tit {font-size:17px; font-weight:600; line-height:17px;}
#bo_portfolio li figcaption p.po_cont {font-size:12px; }

/* 반응형 열 수 */
@media (max-width:1920px){ #bo_portfolio li{ width: 33.3333%; } }  /* 3열 */
@media (max-width:1000px){ #bo_portfolio li{ width: 50%; } }       /* 2열 */
@media (max-width:650px) { #bo_portfolio li{ width: 100%; } }      /* 1열 */

/* aspect-ratio 폴백 (아주 구형 브라우저) */
@supports not (aspect-ratio: 1){
  #bo_portfolio li figure{ position:relative; padding-top:75%; } /* 4:3 */
  #bo_portfolio li figure img{ position:absolute; inset:0; }
}


#bo_portfolio {
	flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
	display:flex;
}
/*#bo_portfolio li {float:left; width:20%; position:relative; overflow: hidden;}*/
#bo_portfolio li {overflow: hidden;
    left: 0px !important;
    top: 0px !important;
    position: relative !important;
    flex: 0 0 calc((100% - 24px) / 4); box-sizing: border-box;}
#bo_portfolio li figure {  }
#bo_portfolio li figure img {width:100%; height:auto;}
#bo_portfolio li figcaption { height: 100%; left: 0; position: absolute; top: 0; width: 100%;}
#bo_portfolio li figcaption > div {height: 50%; position: absolute; color: #fff; height: 50%; width: 100%; text-align: center; -webkit-transition: all 0.5s ease 0s; -moz-transition: all 0.5s ease 0s;  -o-transition: all 0.5s ease 0s; transition: all 0.5s ease 0s;}
#bo_portfolio li figcaption .caption-top { 
	top:-50%; 
	background:rgb(0,174,239);
    background: transparent\9;
    background:rgba(0,174,239,0.8);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc00aeef,endColorstr=#cc00aeef);
    zoom: 1;
}
#bo_portfolio li figcaption .caption-top:nth-child(n) {
    filter: none;
}
#bo_portfolio li figcaption .caption-bottom {
	bottom:-50%;
	background:rgb(0,0,0);
    background: transparent\9;
    background:rgba(0,0,0,0.5);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000);
    zoom: 1;
}
#bo_portfolio li figcaption .caption-bottom:nth-child(n) {
    filter: none;
}
#bo_portfolio li.hover .caption-top {top:0;}
#bo_portfolio li.hover .caption-bottom {bottom:0;}
#bo_portfolio li figcaption .caption-top a {background: url('./img/zoom.png') no-repeat scroll center center transparent; border: 2px solid #fff; border-radius: 50%; display: inline-block; width:50px; height:50px; position: relative; text-indent: -9999em; top: 34%; background-size:80%; -webkit-transition:0.2s; transition:0.5s; }
#bo_portfolio li figcaption .caption-top a:hover { background-color:#de4a4a; -webkit-transition:0.5s; transition:0.5s; }

#bo_portfolio li figcaption h4 { display:inline-block; background:#d92a5b; color:#FFF; font-size:17px; text-align:center; line-height:24px; font-weight:400; padding:0 20px; margin:8px 0 8px 0 !important; text-shadow:1px 1px 0 rgba(0,0,0,0.3); border-radius:30px;}
#bo_portfolio li figcaption p {color:#FFF; text-align:center; text-shadow:1px 1px 0 rgba(0,0,0,0.3); }
#bo_portfolio li figcaption p.po_tit {font-size:17px; font-weight:600; line-height:17px;}
#bo_portfolio li figcaption p.po_cont {font-size:12px; }

@media all and (max-width:1920px) {
	#bo_portfolio {height:auto !important;}
	#bo_portfolio li { flex: 0 0 calc((100% - 16px) / 3);}
}

@media all and (max-width:1000px) {
	#bo_portfolio li { flex: 0 0 calc((100% - 16px) / 2);}
}

@media all and (max-width:650px) {
	#bo_portfolio li { flex: 0 0 calc((100% - 16px) / 1);}
}
