@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 {}

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

/* 게시판 목록 */
.cate_select{
	position:relative;
	width:20%;
}
#bo_cate{
	position:absolute;
	top:100%;
	left:0;
	width:100%;
	display:none;
	z-index:10
}
#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;width:100%;}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:100%;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}
#bo_cate a:hover,#bo_cate #bo_cate_on:hover{
	background:#000;
	color:#fff;
}
.cate_top{
	display: block;
    position: relative;
    margin-left: -1px;
    padding: 6px 0 5px;
    width: 100%;
    border: 1px solid #ddd;
    background: #f7f7f7;
    color: #888;
    text-align: center;
    letter-spacing: -0.1em;
    line-height: 1.2em;
    cursor: pointer;
}
	.cate_top:after{
		content:'▼';
		position:absolute;
		top:50%;
		right:5%;
		transform:translateY(-50%);
		-webkit-transform:translateY(-50%);
		-moz-transform:translateY(-50%);
		-o-transform:translateY(-50%);
		-ms-transform:translateY(-50%);
	}


.td_subject img {margin-left:3px}

/* 갤러리 목록 */
#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}

/* 게시판 목록 공통 */
.bo_fx {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 {}
.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}

#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}

.gallery-thumbs_wrap{
	position:relative;
	padding:10px 0;
}

.swiper-slide-thumb-active{
	/* border:3px solid #161f4a; */
	box-sizing:border-box;
}

.gall_thumbname{
	background:rgba(0,0,0,.8);
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	opacity:0;
}
.swiper-slide-thumb-active .gall_thumbname{
	opacity:1;
}


.gall_thumbname_in{
	position:absolute;
	width:100%;
	top:50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	-moz-transform:translateY(-50%);
	-o-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	color:#fff;
	text-align:center;
	padding:0 10px;
	box-sizing:border-box;
	font-size:14px;
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
}

.tub_ca{
	font-size:12px;
}

.gall_thumbname_in div{
	font-size:14px;
}

.swamp_prev{
	left:-4% !important;
}
.swamp_next{
	right:-4% !important;
}



/* =========================================================
   GALLERY SLIDE
   WRITE
========================================================= */

#bo_w.gallery_write {
    --gallery-primary: var(--color-primary, #76bc38);
    --gallery-text: var(--color-text, #171617);
    --gallery-sub: var(--color-text-sub, #666);
    --gallery-bg: var(--color-bg, #fff);
    --gallery-gray: var(--color-bg-gray, #f8f8f8);
    --gallery-border: var(--color-border-gray, #dcdcdc);

    width: 100%;
    padding: 0 0 60px;
    color: var(--gallery-text);
}


#bo_w.gallery_write * {
    box-sizing: border-box;
}


#bo_w.gallery_write form {
    width: 100% !important;
    margin: 0;
}


/* =========================================================
   HEADER
========================================================= */

.gallery_write_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 35px;
}


.gallery_write_label {
    display: block;

    margin-bottom: 12px;

    font-size: 12px;
    line-height: 1;

    font-weight: 700;
    letter-spacing: 1.4px;

    color: var(--gallery-primary);
}


.gallery_write_head h2 {
    margin: 0;

    font-size: 32px;
    line-height: 1.35;

    font-weight: 700;
    letter-spacing: -1.2px;

    color: var(--gallery-text);
}


.gallery_write_head p {
    margin: 10px 0 0;

    font-size: 14px;
    line-height: 1.7;

    color: var(--gallery-sub);
}


/* =========================================================
   FORM BOX
========================================================= */

.gallery_write_box {
    overflow: hidden;

    width: 100%;

    border-top: 2px solid var(--gallery-text);
    border-bottom: 1px solid var(--gallery-border);

    background: var(--gallery-bg);
}


.gallery_write_table {
    width: 100%;
}


.gallery_form_row {
    display: grid;

    grid-template-columns: 170px minmax(0, 1fr);

    min-height: 82px;

    border-bottom: 1px solid #ececec;
}


.gallery_form_row:last-child {
    border-bottom: 0;
}


/* =========================================================
   TITLE
========================================================= */

.gallery_form_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 22px 25px;

    background: var(--gallery-gray);

    font-size: 14px;
    line-height: 1.5;

    font-weight: 600;

    color: var(--gallery-text);
}


.gallery_form_title label {
    font-size: inherit;
    font-weight: inherit;

    color: inherit;
}


.gallery_form_title small {
    display: block;

    margin-top: 5px;

    font-size: 11px;
    line-height: 1.5;

    font-weight: 400;

    color: #999;
}


.gallery_required {
    display: inline-block;

    margin-left: 5px;

    font-size: 10px;
    font-weight: 600;

    color: var(--gallery-primary);

    vertical-align: 1px;
}


/* =========================================================
   FIELD
========================================================= */

.gallery_form_field {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding: 17px 25px;
}


/* 모든 기본 input */

#bo_w.gallery_write .gallery_form_field .frm_input {
    width: 100%;
    max-width: 600px;
    height: 46px;

    padding: 0 15px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    background: var(--gallery-bg);

    font-size: 14px;
    line-height: 44px;

    color: var(--gallery-text);

    transition: border-color .2s ease,
                box-shadow .2s ease;
}


#bo_w.gallery_write .gallery_form_field .frm_input:hover {
    border-color: #aaa;
}


#bo_w.gallery_write .gallery_form_field .frm_input:focus {
    border-color: var(--gallery-primary);

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--gallery-primary) 12%,
            transparent
        );
}


#bo_w.gallery_write .gallery_form_field .required {
    background-image: none !important;
}


/* 제목 */

#bo_w.gallery_write .gallery_subject {
    max-width: 100%;
}


/* =========================================================
   SELECT
========================================================= */

#bo_w.gallery_write .gallery_select {
    width: 100%;
    max-width: 300px;
    height: 46px;

    padding: 0 42px 0 15px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    background-color: var(--gallery-bg);

    font-size: 14px;

    color: var(--gallery-text);

    cursor: pointer;
}


#bo_w.gallery_write .gallery_select:focus {
    border-color: var(--gallery-primary);
}


/* =========================================================
   OPTION
========================================================= */

.gallery_option {
    display: flex;
    flex-flow: row wrap;
    align-items: center;

    gap: 18px;
}


.gallery_option input[type="checkbox"] {
    width: 17px;
    height: 17px;

    margin: 0 6px 0 0;

    accent-color: var(--gallery-primary);

    vertical-align: -3px;
}


.gallery_option label {
    margin-right: 15px;

    font-size: 13px;

    cursor: pointer;
}


/* =========================================================
   AUTOSAVE
========================================================= */

#bo_w.gallery_write #autosave_wrapper {
    position: relative;

    display: flex;

    width: 100%;
    max-width: 100%;

    gap: 8px;
}


#bo_w.gallery_write #autosave_wrapper .gallery_subject {
    flex: 1;
}


#bo_w.gallery_write #btn_autosave {
    flex: 0 0 auto;

    height: 46px;

    padding: 0 17px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: var(--gallery-bg);

    font-size: 12px;

    color: var(--gallery-sub);

    cursor: pointer;
}


#bo_w.gallery_write #btn_autosave:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


#bo_w.gallery_write #autosave_pop {
    z-index: 100;

    position: absolute;

    right: 0;
    top: 54px;

    display: none;

    width: 360px;
    max-width: 100%;
    max-height: 250px;

    padding: 20px;

    border: 1px solid var(--gallery-border);
    border-radius: 8px;

    background: #fff;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

    overflow-y: auto;
}


/* =========================================================
   CONTENT / EDITOR
========================================================= */

.gallery_content_row {
    min-height: 300px;
}


.gallery_content_row .gallery_form_title {
    justify-content: flex-start;

    padding-top: 28px;
}


.gallery_content_row .gallery_form_field {
    display: block;

    padding-top: 25px;
    padding-bottom: 25px;
}


.gallery_editor {
    width: 100%;
}


#bo_w.gallery_write textarea#wr_content {
    display: block;

    width: 100% !important;
    min-height: 260px;

    padding: 18px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    resize: vertical;

    font-size: 14px;
    line-height: 1.8;

    color: var(--gallery-text);
}


#bo_w.gallery_write textarea#wr_content:focus {
    border-color: var(--gallery-primary);
}


#bo_w.gallery_write .cke {
    border-color: var(--gallery-border) !important;
}


#bo_w.gallery_write #char_count_desc {
    margin: 0 0 10px;

    font-size: 12px;

    color: var(--gallery-sub);
}


#bo_w.gallery_write #char_count_wrap {
    margin-top: 8px;

    font-size: 11px;

    text-align: right;

    color: #999;
}


/* =========================================================
   FILE
========================================================= */

.gallery_file_row {
    min-height: 150px;
}


.gallery_file_box {
    width: 100%;
}


.gallery_file_info {
    margin-bottom: 13px;
}


.gallery_file_info strong {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
    line-height: 1.5;

    color: var(--gallery-text);
}


.gallery_file_info p {
    margin: 0;

    font-size: 12px;
    line-height: 1.6;

    color: #999;
}


#bo_w.gallery_write
.gallery_form_field
.gallery_file_input {
    max-width: 100%;
    height: auto;

    padding: 8px;

    line-height: normal;

    background: var(--gallery-gray);
}


.gallery_file_input::file-selector-button {
    height: 36px;

    margin-right: 13px;

    padding: 0 16px;

    border: 0;
    border-radius: 4px;

    background: var(--gallery-text);

    font-size: 12px;

    color: #fff;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_file_input::file-selector-button:hover {
    background: var(--gallery-primary);
}


#bo_w.gallery_write
.gallery_form_field
.gallery_file_desc {
    max-width: 100%;

    margin-top: 8px;
}


/* 기존 파일 */

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

    gap: 20px;

    margin-top: 12px;

    padding: 13px 15px;

    border-radius: 5px;

    background: var(--gallery-gray);
}


.gallery_file_current > div {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 10px;
}


.gallery_file_current > div span {
    flex: 0 0 auto;

    font-size: 10px;
    font-weight: 600;

    color: var(--gallery-primary);
}


.gallery_file_current > div strong {
    overflow: hidden;

    font-size: 12px;
    font-weight: 500;

    color: var(--gallery-text);

    white-space: nowrap;
    text-overflow: ellipsis;
}


.gallery_file_current > div em {
    flex: 0 0 auto;

    font-size: 10px;
    font-style: normal;

    color: #999;
}


.gallery_file_delete {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    gap: 6px;

    font-size: 11px;

    color: var(--gallery-sub);

    cursor: pointer;
}


.gallery_file_delete input {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--gallery-primary);
}


/* =========================================================
   CAPTCHA
========================================================= */

.gallery_captcha {
    display: block;
}


/* =========================================================
   BUTTON
========================================================= */

.gallery_write_btns {
    display: flex;
    justify-content: flex-end;

    gap: 8px;

    margin-top: 30px;
}


#bo_w.gallery_write .gallery_btn_cancel,
#bo_w.gallery_write .gallery_btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 110px;
    height: 48px;

    padding: 0 22px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


#bo_w.gallery_write .gallery_btn_cancel {
    border: 1px solid var(--gallery-border);

    background: var(--gallery-bg);

    color: var(--gallery-sub);
}


#bo_w.gallery_write .gallery_btn_cancel:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


#bo_w.gallery_write .gallery_btn_submit {
    border: 1px solid var(--gallery-text);

    background: var(--gallery-text);

    color: #fff;
}


#bo_w.gallery_write .gallery_btn_submit:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);
}


#bo_w.gallery_write .gallery_btn_submit:disabled {
    opacity: .5;

    cursor: default;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .gallery_form_row {
        grid-template-columns: 145px minmax(0, 1fr);
    }


    .gallery_form_title {
        padding-left: 20px;
        padding-right: 20px;
    }


    .gallery_form_field {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #bo_w.gallery_write {
        padding-bottom: 40px;
    }


    /* HEADER */

    .gallery_write_head {
        margin-bottom: 25px;
    }


    .gallery_write_label {
        margin-bottom: 9px;

        font-size: 10px;
    }


    .gallery_write_head h2 {
        font-size: 26px;

        letter-spacing: -1px;
    }


    .gallery_write_head p {
        margin-top: 7px;

        font-size: 13px;
    }


    /* FORM */

    .gallery_form_row {
        display: block;

        min-height: 0;
    }


    .gallery_form_title {
        display: block;

        padding: 17px 15px 8px;

        background: var(--gallery-bg);

        font-size: 13px;
    }


    .gallery_form_title small {
        display: inline-block;

        margin: 0 0 0 5px;
    }


    .gallery_form_field {
        display: block;

        padding: 0 15px 18px;
    }


    #bo_w.gallery_write
    .gallery_form_field
    .frm_input {
        max-width: 100%;
    }


    #bo_w.gallery_write .gallery_select {
        max-width: 100%;
    }


    /* OPTION */

    .gallery_option {
        display: flex;

        padding-top: 4px;

        gap: 8px 14px;
    }


    /* AUTOSAVE */

    #bo_w.gallery_write #autosave_wrapper {
        display: block;
    }


    #bo_w.gallery_write #btn_autosave {
        width: 100%;

        margin-top: 7px;
    }


    #bo_w.gallery_write #autosave_pop {
        top: 101px;

        width: 100%;
    }


    /* CONTENT */

    .gallery_content_row .gallery_form_title {
        padding-top: 17px;
    }


    .gallery_content_row .gallery_form_field {
        padding-top: 0;
        padding-bottom: 18px;
    }


    #bo_w.gallery_write textarea#wr_content {
        min-height: 220px;

        padding: 14px;

        font-size: 13px;
    }


    /* FILE */

    .gallery_file_row {
        min-height: 0;
    }


    .gallery_file_info {
        margin-bottom: 10px;
    }


    .gallery_file_current {
        display: block;
    }


    .gallery_file_current > div {
        margin-bottom: 10px;
    }


    /* BUTTON */

    .gallery_write_btns {
        margin-top: 20px;
    }


    #bo_w.gallery_write .gallery_btn_cancel,
    #bo_w.gallery_write .gallery_btn_submit {
        flex: 1;

        min-width: 0;
        height: 46px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .gallery_write_head h2 {
        font-size: 23px;
    }


    .gallery_write_head p {
        word-break: keep-all;
    }


    .gallery_file_current > div {
        flex-wrap: wrap;
    }


    .gallery_file_current > div strong {
        width: calc(100% - 50px);
    }

}






/* =========================================================
   GALLERY SLIDE
   LIST
========================================================= */

#bo_gall.gallery_slide_board {
    --gallery-primary: var(--color-primary, #76bc38);
    --gallery-text: var(--color-text, #171617);
    --gallery-sub: var(--color-text-sub, #666);
    --gallery-bg: var(--color-bg, #fff);
    --gallery-gray: var(--color-bg-gray, #f8f8f8);
    --gallery-border: var(--color-border-gray, #dcdcdc);

    position: relative;

    width: 100% !important;
    margin: 0 auto;

    padding: 0 0 60px;

    color: var(--gallery-text);
}


#bo_gall.gallery_slide_board * {
    box-sizing: border-box;
}


/* =========================================================
   TOP UTIL
========================================================= */

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

    gap: 7px;

    margin-bottom: 20px;
}


.gallery_util_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 16px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: var(--gallery-bg);

    font-size: 12px;
    font-weight: 500;

    color: var(--gallery-sub);

    text-decoration: none;

    transition: var(--transition, all .3s ease);
}


.gallery_util_btn:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


.gallery_util_write {
    border-color: var(--gallery-text);

    background: var(--gallery-text);

    color: #fff;
}


.gallery_util_write:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);

    color: #fff;
}


/* =========================================================
   CATEGORY
========================================================= */

.gallery_category {
    position: relative;

    width: 220px;

    margin-bottom: 20px;
}


.gallery_category_btn {
    position: relative;

    width: 100%;
    height: 44px;

    padding: 0 42px 0 15px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: var(--gallery-bg);

    font-size: 13px;

    text-align: left;

    color: var(--gallery-text);

    cursor: pointer;
}


.gallery_category_btn i {
    position: absolute;

    right: 17px;
    top: 50%;

    width: 7px;
    height: 7px;

    margin-top: -5px;

    border-right: 1px solid var(--gallery-text);
    border-bottom: 1px solid var(--gallery-text);

    transform: rotate(45deg);

    transition: transform .2s ease;
}


.gallery_category_btn.active i {
    margin-top: -2px;

    transform: rotate(225deg);
}


.gallery_category_list {
    z-index: 30;

    position: absolute;

    left: 0;
    top: calc(100% + 5px);

    display: none;

    width: 100%;

    padding: 8px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    background: #fff;

    box-shadow: 0 10px 30px rgba(0,0,0,.07);
}


.gallery_category_list ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.gallery_category_list li {
    margin: 0;
    padding: 0;
}


.gallery_category_list a {
    display: block;

    padding: 10px 11px;

    border-radius: 4px;

    font-size: 12px;

    color: var(--gallery-sub);

    text-decoration: none;
}


.gallery_category_list a:hover,
.gallery_category_list #bo_cate_on {
    background: var(--gallery-gray);

    color: var(--gallery-primary);
}


/* =========================================================
   MAIN
========================================================= */

.gallery_main {
    position: relative;

    width: 100%;
}


.gallery-top {
    position: relative;

    overflow: hidden;

    width: 100%;

    background: #fff;
}


.gallery_main_slide {
    position: relative;

    width: 100%;
}


.gallery_main_image {
    position: relative;

    overflow: hidden;

    width: 100%;

    background:#fff;
}


/*
    큰 이미지는 강제로 정해진 높이에 자르지 않고
    원본 비율대로 출력
*/

.gallery_main_image > a {
    display: block;

    width: 100%;
}


.gallery_main_image img {
    display: block;

    width: 100%;
		max-width:600px;
    height: auto;

    margin: 0 auto;
}


/* 이미지 정보 */

.gallery_main_info {
    display: flex;
		justify-content:center;
    align-items: center;
    gap: 15px;
    padding: 20px 5px 0;
		text-align:center;
    background: var(--gallery-bg);
}


.gallery_main_category {
    flex: 0 0 auto;

    font-size: 11px;
    font-weight: 700;

    color: var(--gallery-primary);
}


.gallery_main_info strong {
    overflow: hidden;

    font-size: 15px;
    font-weight: 500;

    color: var(--gallery-text);

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   MAIN ARROW
========================================================= */

.gallery_main_prev,
.gallery_main_next {
    z-index: 20;

    position: absolute;

    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-top: -26px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.92);

    box-shadow: 0 3px 15px rgba(0,0,0,.08);

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_main_prev {
    left: 20px;
}


.gallery_main_next {
    right: 20px;
}


.gallery_main_prev:hover,
.gallery_main_next:hover {
    background: var(--gallery-primary);
}


.gallery_main_prev span,
.gallery_main_next span {
    width: 10px;
    height: 10px;

    border-top: 2px solid var(--gallery-text);
    border-right: 2px solid var(--gallery-text);
}


.gallery_main_prev span {
    margin-left: 4px;

    transform: rotate(-135deg);
}


.gallery_main_next span {
    margin-right: 4px;

    transform: rotate(45deg);
}


.gallery_main_prev:hover span,
.gallery_main_next:hover span {
    border-color: #fff;
}


/* =========================================================
   ADMIN CHECK
========================================================= */

.gallery_slide_check {
    z-index: 25;

    position: absolute;

    left: 15px;
    top: 15px;
}


.gallery_slide_check label {
    display: flex;
    align-items: center;

    gap: 5px;

    padding: 7px 10px;

    border-radius: 5px;

    background: rgba(255,255,255,.92);

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    font-size: 11px;

    cursor: pointer;
}


.gallery_slide_check input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: var(--gallery-primary);
}


/* =========================================================
   THUMBNAIL
========================================================= */

.gallery_thumbs_area {
    position: relative;

    margin-top: 28px;

    padding: 0 48px;
}


.gallery-thumbs {
    overflow: hidden;

    width: 100%;
}


.gallery_thumb_slide {
    height: auto;

    cursor: pointer;
}


.gallery_thumb_image {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 10;

    border: 2px solid transparent;
    border-radius: 5px;

    background: var(--gallery-gray);

    transition:
        border-color .25s ease,
        opacity .25s ease;
}


.gallery_thumb_image img {
    display: block;

    width: 100%;
    height: 100%;
		aspect-ratio: 16 / 10;

    object-fit: cover;

    transition: transform .4s ease;
}


.gallery_thumb_slide:hover
.gallery_thumb_image img {
    transform: scale(1.04);
}


/* 선택된 썸네일 */

.gallery_thumb_slide.swiper-slide-thumb-active
.gallery_thumb_image {
    border-color: var(--gallery-primary);
}


/* =========================================================
   THUMB OVERLAY
========================================================= */

.gallery_thumb_overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px 13px 11px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0),
            rgba(0,0,0,.65)
        );

    opacity: 0;

    transition: opacity .25s ease;
}


.gallery_thumb_slide:hover
.gallery_thumb_overlay,
.gallery_thumb_slide.swiper-slide-thumb-active
.gallery_thumb_overlay {
    opacity: 1;
}


.gallery_thumb_overlay span {
    display: block;

    margin-bottom: 3px;

    font-size: 9px;
    font-weight: 600;

    color: var(--gallery-primary);
}


.gallery_thumb_overlay strong {
    display: block;

    overflow: hidden;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 500;

    color: #fff;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   THUMB ARROW
========================================================= */

.gallery_thumb_prev,
.gallery_thumb_next {
    position: absolute;

    top: 50%;

    width: 35px;
    height: 35px;

    margin-top: -17px;

    padding: 0;

    border: 1px solid var(--gallery-border);
    border-radius: 50%;

    background: #fff;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_thumb_prev {
    left: 0;
}


.gallery_thumb_next {
    right: 0;
}


.gallery_thumb_prev:hover,
.gallery_thumb_next:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);
}


.gallery_thumb_prev span,
.gallery_thumb_next span {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 7px;
    height: 7px;

    border-top: 1px solid var(--gallery-text);
    border-right: 1px solid var(--gallery-text);
}


.gallery_thumb_prev span {
    transform:
        translate(-35%, -50%)
        rotate(-135deg);
}


.gallery_thumb_next span {
    transform:
        translate(-65%, -50%)
        rotate(45deg);
}


.gallery_thumb_prev:hover span,
.gallery_thumb_next:hover span {
    border-color: #fff;
}


/* swiper disabled */

.gallery_thumb_prev.swiper-button-disabled,
.gallery_thumb_next.swiper-button-disabled,
.gallery_main_prev.swiper-button-disabled,
.gallery_main_next.swiper-button-disabled {
    opacity: .25;

    cursor: default;
}


/* =========================================================
   NO IMAGE
========================================================= */

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

    width: 100%;
    min-height: 450px;

    background: var(--gallery-gray);
}


.gallery_no_image span,
.gallery_thumb_empty span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    color: #aaa;
}


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

    width: 100%;
    height: 100%;

    background: var(--gallery-gray);
}


/* =========================================================
   BOTTOM BUTTON
========================================================= */

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

    gap: 20px;

    margin-top: 35px;
}


.gallery_admin_btns,
.gallery_user_btns {
    display: flex;
    align-items: center;

    gap: 6px;
}


.gallery_check_all {
    display: inline-flex;
    align-items: center;

    height: 40px;

    gap: 6px;

    padding: 0 13px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    font-size: 11px;

    color: var(--gallery-sub);

    cursor: pointer;
}


.gallery_check_all input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: var(--gallery-primary);
}


.gallery_admin_btn,
.gallery_list_btn,
.gallery_write_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 15px;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition, all .3s ease);
}


.gallery_admin_btn,
.gallery_list_btn {
    border: 1px solid var(--gallery-border);

    background: #fff;

    color: var(--gallery-sub);
}


.gallery_admin_btn:hover,
.gallery_list_btn:hover {
    border-color: var(--gallery-text);

    color: var(--gallery-text);
}


.gallery_write_btn {
    border: 1px solid var(--gallery-text);

    background: var(--gallery-text);

    color: #fff;
}


.gallery_write_btn:hover {
    border-color: var(--gallery-primary);

    background: var(--gallery-primary);

    color: #fff;
}


/* =========================================================
   EMPTY
========================================================= */

.gallery_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 450px;

    padding: 80px 20px;

    border-top: 1px solid var(--gallery-border);
    border-bottom: 1px solid var(--gallery-border);

    text-align: center;
}


.gallery_empty > span {
    margin-bottom: 13px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: var(--gallery-primary);
}


.gallery_empty strong {
    font-size: 22px;

    color: var(--gallery-text);
}


.gallery_empty p {
    margin: 10px 0 0;

    font-size: 13px;

    color: var(--gallery-sub);
}


/* =========================================================
   SEARCH
========================================================= */

#bo_sch.gallery_search {
    margin: 50px auto 0;
    padding: 0;

    border: 0;
}


.gallery_search form {
    display: flex;
    justify-content: center;

    gap: 6px;

    margin: 0;
}


.gallery_search select {
    width: 120px;
    height: 44px;

    padding: 0 12px;

    border: 1px solid var(--gallery-border);
    border-radius: 5px;

    outline: 0;

    background: #fff;

    font-size: 12px;

    color: var(--gallery-sub);
}


.gallery_search_input {
    display: flex;

    width: 320px;
}


.gallery_search_input input {
    flex: 1;

    min-width: 0;
    height: 44px;

    padding: 0 14px;

    border: 1px solid var(--gallery-border);
    border-right: 0;
    border-radius: 5px 0 0 5px;

    outline: 0;

    font-size: 12px;

    color: var(--gallery-text);
}


.gallery_search_input input:focus {
    border-color: var(--gallery-primary);
}


.gallery_search_input button {
    flex: 0 0 auto;

    width: 65px;

    border: 1px solid var(--gallery-text);
    border-radius: 0 5px 5px 0;

    background: var(--gallery-text);

    font-size: 12px;

    color: #fff;

    cursor: pointer;
}


/* =========================================================
   PAGING
========================================================= */

.gallery_paging {
    margin-top: 40px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .gallery_main_prev,
    .gallery_main_next {
        width: 46px;
        height: 46px;

        margin-top: -23px;
    }


    .gallery_main_prev {
        left: 15px;
    }


    .gallery_main_next {
        right: 15px;
    }


    .gallery_thumbs_area {
        padding: 0 42px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #bo_gall.gallery_slide_board {
        padding-bottom: 40px;
    }


    /* UTIL */

    .gallery_top_util {
        margin-bottom: 15px;
    }


    .gallery_util_btn {
        height: 36px;

        padding: 0 12px;

        font-size: 10px;
    }


    /* CATEGORY */

    .gallery_category {
        width: 100%;

        margin-bottom: 15px;
    }


    /* MAIN */

    .gallery_main_info {
        gap: 9px;

        padding-top: 14px;
    }


    .gallery_main_info strong {
        font-size: 13px;
    }


    .gallery_main_category {
        font-size: 9px;
    }


    /* MAIN ARROW */

    .gallery_main_prev,
    .gallery_main_next {
        width: 38px;
        height: 38px;

        margin-top: -19px;

        background: rgba(255,255,255,.9);
    }


    .gallery_main_prev {
        left: 10px;
    }


    .gallery_main_next {
        right: 10px;
    }


    .gallery_main_prev span,
    .gallery_main_next span {
        width: 8px;
        height: 8px;
    }


    /* CHECK */

    .gallery_slide_check {
        left: 10px;
        top: 10px;
    }


    .gallery_slide_check label {
        padding: 6px 8px;

        font-size: 10px;
    }


    /* THUMB */

    .gallery_thumbs_area {
        margin-top: 20px;

        padding: 0;
    }


    .gallery_thumb_prev,
    .gallery_thumb_next {
        display: none;
    }


    .gallery_thumb_image {
        border-radius: 4px;
    }


    /* BUTTON */

    .gallery_bottom_util {
        display: block;

        margin-top: 25px;
    }


    .gallery_admin_btns {
        flex-wrap: wrap;

        margin-bottom: 10px;
    }


    .gallery_user_btns {
        justify-content: flex-end;
    }


    /* SEARCH */

    #bo_sch.gallery_search {
        margin-top: 35px;
    }


    .gallery_search form {
        width: 100%;
    }


    .gallery_search select {
        width: 100px;
    }


    .gallery_search_input {
        flex: 1;

        min-width: 0;
    }


    .gallery_search_input button {
        width: 58px;
    }


    .gallery_empty {
        min-height: 300px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .gallery_top_util {
        flex-wrap: wrap;
    }


    .gallery_main_prev,
    .gallery_main_next {
        width: 34px;
        height: 34px;

        margin-top: -17px;
    }


    .gallery_admin_btn,
    .gallery_list_btn,
    .gallery_write_btn,
    .gallery_check_all {
        height: 38px;

        padding-left: 11px;
        padding-right: 11px;

        font-size: 10px;
    }


    .gallery_search form {
        display: block;
    }


    .gallery_search select {
        width: 100%;

        margin-bottom: 6px;
    }


    .gallery_search_input {
        width: 100%;
    }

}