@charset "utf-8";

/******************************/
/* 공통 */
/******************************/
body p {line-height: 1.7;}
/* 회색박스영역 */
.gray_box {background:#f2f2f2;padding:40px;}
	@media only screen and (max-width:1199px){
		.gray_box {padding:30px;}
	}
	@media only screen and (max-width:1023px){
		.gray_box {padding:20px;}
	}
.blue_box {background:#eef2fa;padding:40px;border:1px solid #738896;}
	@media only screen and (max-width:1199px){
		.blue_box {padding:30px;}
	}
	@media only screen and (max-width:1023px){
		.blue_box {padding:20px;}
	}

/* 라인박스영역 */
.line_box {border:1px solid #d7d7d7;padding:40px;}
.line_box .checks {margin:0 30px;}
	@media only screen and (max-width:767px){
		.line_box {padding:20px 5%;}
		.line_box .checks {margin:5px 10px;}
	}


/* 컨텐츠내 상단 라인 */
.line_top {border-top:1px solid #d7d7d7;}

/* 라디오, 인풋박스정렬 */
.flex {display:flex;align-items:center;}
.flex em {margin:0 5px;}
.flex > input {flex-grow:1;}
.flex > .btn_bace {flex-shrink:0;}
.flex .checks {margin-right:30px;}
.flex .checks input[type="radio"] {}
.flex .checks input[type="radio"] + label {}
.flex .checks input[type="radio"] + label input {position:static;}
.flex > div {margin-right:20px;}
.flex_ex {flex-wrap:wrap;}
.flex-start > input {flex-grow:0;}
	@media only screen and (max-width:767px){
		.flex .checks {margin:10px 20px 10px 0;}
		.flex-direction {flex-direction:column;align-items:flex-start;}
	}
	@media only screen and (max-width:369px){
		.flex {flex-wrap:wrap;}
	}

/* 라인 박스영역 내 스크롤 */
.scroll {height:240px;overflow-y:auto;}

/* 지마켓 폰트 */
.gmarket {font-family:'GmarketSans';}

/* 컨텐츠 h4 */
.title {font-size:45px;}
.title_under {position:relative;padding-bottom:15px;margin-bottom:15px;font-size:45px;}
.title_under:before {content:"";display:block;position:absolute;left:0;right:0;bottom:0;width:50px;height:1px;margin:auto;background:#023760;}
.title span, .title_under span {color:#999;font-family:'GmarketSans';}
	@media only screen and (max-width:1023px){
		.title {font-size:35px;}
		.title_under {font-size: 35px;}
	}
	@media only screen and (max-width:767px){
		.title {font-size:25px;}
		.title_under {font-size:25px;}
	}

/* 컨텐츠 텍스트 */
.con_p {font-size:20px;line-height:30px;letter-spacing:-1px;color:#666;}
	@media only screen and (max-width:1023px){
		.con_p {font-size:18px;line-height:normal;}
	}
	@media only screen and (max-width:767px){
		.con_p {font-size:14px;}
	}


/******************************/
/* 컨텐츠 시작 */
/******************************/
/******************************/
/* 장례식장 */
/******************************/
/* 010101_장례식장안내 */
.introduction {background:url("/funeral/img/content/sub0101_bg.png") no-repeat left bottom;height:600px;width:100%;border-top-left-radius:50px;border-bottom-right-radius:50px;display:flex;flex-wrap:wrap;justify-content:end;align-items:center;}
.introduction > div {width:50%;height:100%;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;}
.introduction strong {font-family:'GmarketSans';font-size:34px;line-height:48px;letter-spacing:-0.5px;color:#023760;text-align:center;font-weight:300;}
.introduction strong span {font-family:'GmarketSans';font-weight:600;}
.introduction p {font-size:36px;line-height:50px;margin-top:40px;color:#222;letter-spacing:-0.5px;}
.reser_txt h5 {position:relative;padding-bottom:20px;font-size:24px;}
.reser_txt h5:before {content:"";position:absolute;left:0;right:0;margin:0 auto;bottom:0;width:50px;height:1px;background:#023760;}
.reservation {display:flex;flex-wrap:wrap;justify-content:space-between;}
.reservation li {width:32%;background:#eef2fa;padding:50px 1%;text-align:center;display:flex;flex-wrap:wrap;align-content:space-between;border:1px solid #738896;}
.reservation li .reser_txt {width:100%;}
.reservation li .reser_txt .res_img {height:60px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;}
.reservation li .reser_txt div {width:100%;}
.reservation li .reser_txt strong {position:relative;font-size:24px;color:#222;font-weight:400;padding-bottom:15px;display:block;margin-bottom:12px;}
.reservation li .reser_txt strong:before {content:"";display:block;position:absolute;left:0;right:0;bottom:0;width:50px;height:1px;margin:auto;background:#023760;}
.reservation li .reser_txt p {font-size:18px;color:#666;line-height:28px;letter-spacing:-1px;min-height:80px;}
.reservation li .reser_btn {width:100%;}
.product_list {display:flex;flex-wrap:wrap;justify-content:flex-start;}
.product_list li {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;text-align:center;width:32%;margin-left:1.85%;margin-bottom:1.85%;background:url("/funeral/img/content/sub0101_bg2.png") no-repeat center center;height:290px;color:#fff;}
.product_list li:nth-child(3n + 1) {margin-left:0;}
.product_list li:nth-child(2) {background:url("/funeral/img/content/sub0101_bg3.png") no-repeat center center;}
.product_list li:nth-child(3) {background:url("/funeral/img/content/sub0101_bg4.png") no-repeat center center;}

.product_list li:nth-child(4) {background:url("/funeral/img/content/sub0101_bg2.png") no-repeat center center;}
.product_list li:nth-child(5) {background:url("/funeral/img/content/sub0101_bg3.png") no-repeat center center;}
.product_list li:nth-child(6) {background:url("/funeral/img/content/sub0101_bg4.png") no-repeat center center;}
.product_list li:nth-child(7) {background:url("/funeral/img/content/sub0101_bg2.png") no-repeat center center;}
.product_list li:nth-child(8) {background:url("/funeral/img/content/sub0101_bg3.png") no-repeat center center;}
.product_list li:nth-child(9) {background:url("/funeral/img/content/sub0101_bg4.png") no-repeat center center;}
.product_list li:nth-child(10) {background:url("/funeral/img/content/sub0101_bg2.png") no-repeat center center;}
.product_list li:nth-child(11) {background:url("/funeral/img/content/sub0101_bg3.png") no-repeat center center;}
.product_list li:nth-child(12) {background:url("/funeral/img/content/sub0101_bg4.png") no-repeat center center;}
.product_list li:nth-child(13) {background:url("/funeral/img/content/sub0101_bg2.png") no-repeat center center;}
.product_list li:nth-child(14) {background:url("/funeral/img/content/sub0101_bg3.png") no-repeat center center;}
.product_list li:nth-child(15) {background:url("/funeral/img/content/sub0101_bg4.png") no-repeat center center;}

.product_list li div strong {font-family:'GmarketSans';font-size:40px;}
.product_list li div p {font-size:25px;font-family:'GmarketSans';margin:15px 0 10px 0;}
.product_list li div p em {font-size:35px;font-family:'GmarketSans';font-weight:600;}
.product_list li div span {font-size:18px;font-weight:300;opacity:0.8;}
.tab_content .line_box .bot_etc {display:flex;align-items:center;font-size:1.111em;}
.tab_content .line_box .bot_etc strong {display:flex;align-items:center;flex-shrink:0;margin-right:70px;padding-left:35px;height:29px;background:url("/funeral/img/content/icon1.png") no-repeat left center;}
.tab_content .line_box .bot_etc ul {flex-grow:1;}
.tab_content .line_box .bot_etc ul li {margin-right:40px;padding-right:40px;border-right:1px solid #d7d7d7;color:#666;}
.tab_content .line_box .bot_etc ul li:last-child {margin-right:0;padding-right:0;border-right:0;}
.tab_content .line_box .bot_etc ul li em {font-weight:700;color:#222;}
.map_add {text-align:center;background:#f1f1f1;padding:20px 10px;color:#222;}
	@media only screen and (max-width:1199px){
		.introduction > div {background:rgba(255,255,255,0.8);}
		.introduction strong {font-size:28px;}
		.introduction p {font-size:30px;line-height:40px;}

		.reservation li .reser_txt strong {font-size:20px;}
		.reservation li .reser_txt p {font-size:15px;line-height:25px;}
	}
	@media only screen and (max-width:1023px){
		.introduction > div {width:100%;}

		.reservation {}
		.reservation li {width:49%;margin-bottom:2%;}
		.reservation li:last-child {flex:2 1 0;}

		.product_list {justify-content:space-between;}
		.product_list li {width:49%;background-size:cover !important;}
		.product_list li:nth-child(2n + 1) {margin-left:0;}
		.product_list li:last-child {flex:2 1 0;}
	}
	@media only screen and (max-width:767px){
		.introduction {height:400px;}
		.introduction > div {padding:0 5%;}
		.introduction strong {font-size:23px;line-height:30px;}
		.introduction strong br {display:none;}
		.introduction p {font-size:18px;line-height:23px;margin-top:10px;}

		.reservation li {width:100%;padding:35px 5%;}
		.reservation li .reser_txt strong {font-size:18px;}
		.reservation li .reser_txt p {font-size:14px;line-height:21px;min-height:50px;}

		.product_list li {width:100%;padding:35px 5%;height:200px;margin-left:0;}
		.product_list li div strong {font-size:28px;}
		.product_list li div p {font-size:20px;margin:15px 0 10px 0;}
		.product_list li div p em {font-size:25px;}
		.product_list li div span {font-size:14px;}

		.map {height:300px !important;}
	}
	@media only screen and (max-width:659px){
		.tab_content .line_box .bot_etc strong {margin-right:0;}
		.tab_content .line_box .bot_etc {flex-direction:column;align-items:flex-start;}
		.tab_content .line_box .bot_etc ul {flex-wrap:wrap;flex-direction:column;margin-top:15px;}
		.tab_content .line_box .bot_etc ul li {margin:5px 0;padding-right:0;border-right:0;}
	}

/* 020101_시설안내 */
.hosp_2dan {display:flex;justify-content:space-between;align-items:stretch;flex-wrap:wrap;margin-left:-25px;}
.hosp_2dan .box {width:50%;padding-left:25px;}
.hosp_2dan .box .box_wrap {display:flex;align-items:center;padding:20px;height:100%;border:1px solid #d7d7d7;}
.hosp_2dan .box + .box + .box {margin-top:25px;}
.hosp_2dan .box .img {flex-shrink:0;width:200px;}
.hosp_2dan .box .img img {width:100%;}
.hosp_2dan .box .cont {flex-grow:1;padding-left:40px;padding-right:20px;}
.hosp_2dan .box .cont .name {display:block;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #d7d7d7;font-weight:500;font-size:1.444em;color:#222;}
.hosp_2dan .box .cont .name span {font-size:0.769em;color:#666;}
.hosp_2dan .box .cont > em {display:block;}
.hosp_2dan .box .cont > p {margin-top:10px;margin-bottom:20px;font-size:0.888em;}
.hosp_2dan .box .cont > a {margin-top:5px;min-width:auto;max-width:160px;width:100%;height:45px;line-height:45px;}
.hosp_2dan .box .cont > a img {margin-left:0;margin-right:5px;margin-top:-5px;vertical-align:middle;transform:rotate(0);}
.hosp_2dan .box .cont > a:is(:hover, :focus, :active) {background:#023760;border:1px solid #023760;color:#fff;}
.hosp_2dan .box .cont > a:is(:hover, :focus, :active) img {filter:grayscale(10) brightness(10);}
	@media only screen and (max-width:1023px){
		.hosp_2dan {margin-left:0;}
		.hosp_2dan .box {width:100%;padding-left:0;}
		.hosp_2dan .box .box_wrap {align-items:flex-start;padding:15px;}
		.hosp_2dan .box + .box {margin-top:15px;}
		.hosp_2dan .box + .box + .box {margin-top:15px;}
		.hosp_2dan .box .img {width:148px;}
		.hosp_2dan .box .cont > a img {width:20%;}
	}
	@media only screen and (max-width:767px){
		.hosp_2dan .box .img {width:118px;}
		.hosp_2dan .box .cont {padding-left:20px;padding-right:0;}
		.hosp_2dan .box .cont > a {height:40px;line-height:40px;padding:0 10px;}
		.hosp_2dan .box .cont > a img {width:20px;}

		.sub020101 .tab_content2 img {max-width:100%;}
		.sub020101 .tab_content3 img {max-width:100%;}
	}
	@media only screen and (max-width:499px){
		.hosp_2dan .box .img {width:108px;}
	}

/* 030101_빈소현황 */
.blue_box {}
.blue_box .flex {justify-content:center;flex-wrap:wrap;height:auto;}
.blue_box .flex > div {margin:0 15px;}
.blue_box .flex strong {}
.blue_box .flex .datepic {}
.blue_box .flex .datepic .datepic_input {margin-right:0;max-width:100%;width:160px;min-width:auto;}
.blue_box .flex .board_search_box3 {}
.flex strong {margin-right:20px;font-weight:500;font-size:1.111em;color:#222;}
	@media only screen and (max-width:1199px){
		.blue_box .flex > div {margin:5px 15px;}
	}
	@media only screen and (max-width:1023px){
		.blue_box {margin-top:15px;}
		.blue_box .flex {align-items:stretch;}
		.blue_box .flex > div {margin:5px 0 0 0;}
		.blue_box .flex strong {flex-grow:1;margin-right:0;}
		.blue_box .flex .datepic {flex-grow:1;}
		.blue_box .flex .board_search_box3 {flex-grow:1;}

		.board_search_box3 {margin-top:10px;}
	}


/******************************/
/* 레이어 팝업관련 */
/******************************/
/* 빈소현황 레이어팝업 */
.popup_box {display:none;overflow-y:auto;position:fixed;left:0;top:0;z-index:10;width:100%;height:100vh;background:rgba(0,0,0,0.4);}
.popup_box .box_wrap {position:relative;width:500px;margin:50px auto;padding:30px 28px;border:4px solid #d7d7d7;background:#fff;}
.popup_box .box_wrap .box {}
.popup_box .box_wrap .box > strong {display:block;margin-bottom:20px;font-family:'GmarketSans';font-weight:500;font-size:1.625em;color:#222;text-align:center;}
.popup_box .box_wrap .box > strong span {font-family: 'NotoSerifKR';font-weight:300;font-size:0.846em;}
.popup_box .box_wrap .box > table {position:relative;width:100%;text-align:center;border-top:2px solid #023760;border-bottom:2px solid #d7d7d7;}
.popup_box .box_wrap .box > table caption {}
.popup_box .box_wrap .box > table tbody {position:relative;}
.popup_box .box_wrap .box > table tbody th {padding:15px 10px;border-top:1px solid #8297a7;background:#023760;font-weight:400;color:rgba(255,255,255,0.8);}
.popup_box .box_wrap .box > table tbody td {padding:15px 10px;border-top:1px solid #d7d7d7;text-align:left;font-family:'GmarketSans';color:#222;}
.popup_box .box_wrap .box > table tbody tr:first-child th {border-top:0;}
.popup_box .box_wrap .box > table tbody tr:first-child td {border-top:0;}
.popup_box .box_wrap .box > table:before {content:"";position:absolute;left:30%;top:0;z-index:1;display:block;width:10px;height:100%;background:#fff;}
.popup_box .box_wrap .box > table tbody:before {content:"";position:absolute;left:0;top:0;z-index:1;display:block;width:10px;height:100%;background:#023760;}
.popup_box .box_wrap .box > table tbody:after {content:"";position:absolute;left:30%;top:0;z-index:1;display:block;width:10px;height:100%;background:#023760;transform:translateX(-10px);}
.popup_box .box_wrap .box .bot {margin-top:20px;}
.popup_box .box_wrap .box .bot > li {line-height:1.5;font-size:0.875em;}
.popup_box .box_wrap .box .bot > li > strong {font-size:1.285em;font-weight:500;color:#f18336;}
.popup_box .box_wrap .box .bot > li ol {margin-top:5px;color:#666;}
.popup_box .box_wrap .box .bot > li ol li {}
.popup_box .box_wrap .box .bot > li p {color:#222;}
.popup_box .box_wrap .box .bot > li p strong {font-weight:500;color:#f58345;}
.popup_box .box_wrap .box > p {margin:20px 0 30px 0;text-align:center;font-weight:400;font-family: 'NotoSerifKR';font-size:1.25em;color:#023760;}
.popup_box .box_wrap .box > p em {}
.popup_box .box_wrap .box > .print_button {display:block;width:120px;height:37px;line-height:37px;margin:0 auto;background:#f18336;border-radius:50px;text-align:center;color:#fff;}
.popup_box .box_wrap .pop_close {display:block;position:absolute;right:19px;top:19px;width:24px;height:24px;font-size:0;}
.popup_box .box_wrap .pop_close:before {content:"";position:absolute;right:-5px;top:10px;width:32px;height:1px;background:#313131;transform:rotate(45deg);}
.popup_box .box_wrap .pop_close:after {content:"";position:absolute;right:-5px;top:10px;width:32px;height:1px;background:#313131;transform:rotate(-45deg);}
	@media only screen and (max-width:767px){
		.popup_box .box_wrap {width:100%;height:100%;min-height:800px;margin:0;padding:20px 15px;}
	}


/******************************/
/* 탭메뉴 */
/******************************/
.tab_box [class^="tab_menu_box"] {display:flex;justify-content:center;flex-wrap:wrap;}
.tab_box [class^="tab_menu_box"].tap_btn2 {padding:0 16.6%;}
.tab_box [class^="tab_menu_box"].tap_btn3 {padding:0 25%;}
.tab_box [class^="tab_menu_box"].tap_btn4 {padding:0 16.6%;}
.tab_box [class^="tab_menu_box"] li {flex-grow:1;border:1px solid #d7d7d7;}
.tab_box [class^="tab_menu_box"] li h4 {font-weight:400;font-size:1em;}
.tab_box [class^="tab_menu_box"] li h4 a {display:grid;place-items:center;padding:0 10px;height:60px;background:#fff;color:#222;transition:0.4s;text-align: center;}
.tab_box [class^="tab_menu_box"] li:first-child h4 a {margin-left:0;}
.tab_box [class^="tab_menu_box"] li h4 a span {text-align:center;}
.tab_box [class^="tab_menu_box"] li.on {border:1px solid #f08336;}
.tab_box [class^="tab_menu_box"] li.on h4 a {background:#f08336;color:#fff;}
.tab_box [class^="tab_menu_box"].tap_btn2 li {width:50%;}
.tab_box .tab_menu_box2 {position:relative;margin-left:-1px;margin-right:-1px;}
.tab_box .tab_menu_box2:before {content:"";display:block;position:absolute;left:0;top:0;width:1px;height:100%;background:#fff;}
.tab_box .tab_menu_box2:after {content:"";display:block;position:absolute;right:0;top:0;width:1px;height:100%;background:#fff;}
.tab_box .tab_menu_box2.tap_btn4 {padding:0;}
.tab_box .tab_menu_box2.tap_btn4 li {width:25%;}
.tab_box .tab_menu_box2 li h4 a {background:#f2f2f2;}
.tab_box .tab_menu_box2 li.on {border:1px solid #023760;}
.tab_box .tab_menu_box2 li.on h4 a {background:#023760;}
.tab_box .tab_menu_box3 {position:relative;margin-left:-1px;margin-right:-1px;}
.tab_box .tab_menu_box3:before {content:"";display:block;position:absolute;left:0;top:0;width:1px;height:100%;background:#fff;}
.tab_box .tab_menu_box3:after {content:"";display:block;position:absolute;right:0;top:0;width:1px;height:100%;background:#fff;}
.tab_box .tab_menu_box3.tap_btn4 {padding:0;}
.tab_box .tab_menu_box3.tap_btn4 li {width:25%;}
.tab_box .tab_menu_box3 li h4 a {background:#f2f2f2;}
.tab_box .tab_menu_box3 li.on {border:1px solid #023760;}
.tab_box .tab_menu_box3 li.on h4 a {background:#023760;}
.tab_box .tab_content,
.tab_box .tab_content2,
.tab_box .tab_content3 {display:none;}
.tab_box .tab_content.on,
.tab_box .tab_content2.on,
.tab_box .tab_content3.on {display:block;}
	@media only screen and (max-width:1199px){
		.tab_box .tab_menu_box.tap_btn3 {padding:0 15%;}
	}
	@media only screen and (max-width:1023px){
		.tab_box .tab_menu_box.tap_btn3 {padding:0 5%;}
		.tab_box .tab_menu_box.tap_btn4 {padding:0;}
		.tab_box .tab_menu_box.tap_btn5 {justify-content:flex-start;}
		.tab_box .tab_menu_box.tap_btn5 li {flex-grow:0;width:33.3%;}
		.tab_box .tab_menu_box2.tap_btn4 {justify-content:flex-start;}
		.tab_box .tab_menu_box2.tap_btn4 li {flex-grow:0;width:33.3%;}
	}
	@media only screen and (max-width:767px){
		.tab_box .tab_menu_box.tap_btn2 {padding:0;}
		.tab_box .tab_menu_box.tap_btn3 {justify-content:flex-start;padding:0;}
		.tab_box .tab_menu_box.tap_btn3 li,
		.tab_box .tab_menu_box.tap_btn4 li,
		.tab_box .tab_menu_box.tap_btn5 li {flex-grow:0;width:50%;}
		.tab_box .tab_menu_box li h4 a {height:50px;}
		.tab_box .tab_menu_box2.tap_btn4 li {width:50%;}
		.tab_box .tab_menu_box2 li h4 a {height:50px;}
		.tab_box .bottom_btn {display:flex;justify-content:space-between;}
		.tab_box .bottom_btn .btn_bace_rd {width:49%;}
		.tab_box .bottom_btn2 .btn_bace_rd {width:100%;}
	}


/******************************/
/* input, 검색 등 게시판관련 코드 */
/******************************/
/* 상단라인 */
.board_line {border-top:2px solid #666;}

/* 달력 */
.datepic {display:flex;align-items:center;flex-wrap:wrap;}
.datepic .datepic_input {flex-grow:1;margin-right:6px;}
.datepic .datepic_icon {}
.datepic .datepic_icon span {display:grid;place-items:center;width:50px;height:50px;border:1px solid #666;cursor:pointer;}
.datepic > span {margin:0 5px;}
table .datepic .datepic_input {width:50%;}
	@media only screen and (max-width:767px){
		.datepic .datepic_input {flex-grow:1;margin-right:6px;}
		.datepic .datepic_icon span {width:40px;height:40px;}
		.datepic > span {margin:0 5px;}
	}
	@media only screen and (max-width:539px){
		.datepic .end_date {width:calc(50% - 12px);flex-shrink:1;margin-top:5px;}
		.datepic .end_icon {margin-right:15px;margin-top:5px;}
	}

/* 게시글 검색 */
.board_search_box form {display:flex;justify-content:center;}
.board_search_box .search_select {margin-right:5px;padding:0 10px;height:36px;line-height:36px;background:url("/funeral/img/common/icon_search_select.png") no-repeat right 9px center #fff;font-size:0.833em;}
.board_search_box .search_text {margin-right:5px;width:285px;height:36px;line-height:36px;border:1px solid #a3a3a3;font-size:0.833em;}
.board_search_box .search_button {display:inline-block;height:36px;line-height:36px;background:#666;border-radius:2px;vertical-align:middle;color:#fff;font-size:0.833em;transition:0.4s;}
.board_search_box .search_button:is(:hover,:focus,:active) {background:#000;}
	@media only screen and (max-width:539px){
		.board_search_box .search_select {flex-grow:1;}
		.board_search_box .search_text {flex-grow:1;width:50%;}
		.board_search_box .search_button {flex-shrink:0;width:80px;}
	}

/* 게시글 검색2 */
.board_search_box2 {padding:0 12.5%;}
.board_search_box2 form {display:flex;justify-content:center;flex-wrap:wrap;overflow:hidden;}
.board_search_box2 .search_select {flex-shrink:0;padding:0 40px 0 40px;width:250px;height:70px;line-height:70px;background:url("/funeral/img/common/icon_search_select2.png") no-repeat right 17px center #eef2fa;border:1px solid #d7d7d7;border-radius:50px 0 0 50px;font-size:1.055em;color:#222;transform:translateX(1px);}
.board_search_box2 .search_text {flex-grow:1;width:285px;height:70px;line-height:70px;background:#eef2fa;font-size:1.055em;color:#222;}
.board_search_box2 .search_button {flex-shrink:0;position:relative;display:inline-block;width:100px;height:70px;line-height:70px;background:#f08336;border:1px solid #d7d7d7;border-radius:0 50px 50px 0;vertical-align:middle;color:#fff;font-size:1.055em;transition:0.4s;transform:translateX(-1px);}
.board_search_box2 .search_button:after {content:"";display:block;position:absolute;left:0;right:0;top:0;bottom:0;width:30px;height:31px;margin:auto;background:url("/funeral/img/common/icon_search.png") no-repeat center center;filter:brightness(10);}
.board_search_box2 .search_button:is(:hover,:focus,:active) {background:#000;}
	@media only screen and (max-width:1023px){
		.board_search_box2 {padding:0;}
	}
	@media only screen and (max-width:767px){
		.board_search_box2 .search_select {flex-grow:1;padding:0 40px 0 20px;width:auto;height:60px;line-height:60px;}
		.board_search_box2 .search_text {flex-grow:1;width:auto;height:60px;line-height:60px;}
		.board_search_box2 .search_button {flex-grow:1;width:auto;height:60px;line-height:60px;}
	}
	@media only screen and (max-width:539px){
		.board_search_box2 .search_select {width:100%;height:45px;line-height:45px;border-radius:0;transform:translateX(0) translateY(1px);}
		.board_search_box2 .search_text {width:100%;height:45px;line-height:45px;}
		.board_search_box2 .search_button {width:100%;height:45px;line-height:45px;border-radius:0;transform:translateX(0) translateY(-1px);}
		.board_search_box2 .search_button:after {width:20px;height:20px;background-size:20px 20px;}
	}

/* 게시글 검색3 */
.board_search_box3 form {display:flex;justify-content:center;}
.board_search_box3 .search_select {margin-right:5px;padding:0 10px;background:url("/funeral/img/common/icon_search_select.png") no-repeat right 9px center #fff;font-size:0.833em;}
.board_search_box3 .search_text {margin-right:5px;width:285px;border:1px solid #d7d7d7;font-size:0.833em;}
.board_search_box3 .search_button {display:inline-block;background:#4e6cb4;border-radius:2px;vertical-align:middle;color:#fff;font-size:0.833em;transition:0.4s;}
.board_search_box3 .search_button:is(:hover,:focus,:active) {background:#000;}
	@media only screen and (max-width:1023px){
		.board_search_box3 .search_select {flex-grow:1;}
		.board_search_box3 .search_text {flex-grow:1;width:50%;}
		.board_search_box3 .search_button {flex-shrink:0;width:80px;}
	}

/* 게시판 테이블 */
.board_table {}
.board_table {width:100%;border-bottom:1px solid #d7d7d7;border-collapse:collapse;}
.board_table thead th {position:relative;padding:15px 20px;background:#222;font-size:0.833em;font-weight:500;color:#fff;}
.board_table thead th:after {content:"";display:block;position:absolute;left:0;top:0;bottom:0;width:1px;height:10px;margin:auto 0;background:#666;font-size:0.833em;font-weight:500;color:#fff;}
.board_table thead th:first-child:after {display:none;}
.board_table tbody tr {border-top:1px solid #d7d7d7;}
.board_table tbody tr:first-child {border-top:0;}
.board_table tbody td {padding:15px 40px;}
.board_table tbody td .ellipsis1 {max-width:95%;}
.board_table tbody td .new {}
.board_table tbody td.num {font-size:0.833em;color:#999;}
.board_table tbody td.tit {color:#222;}
.board_table tbody td.data {font-size:0.833em;color:#999;}
.board_table tbody tr.noti {}
.board_table tbody tr.noti td {padding:10px 40px;}
.board_table tbody tr.noti .num span {display:inline-block;width:52px;height:30px;line-height:30px;background:#f08336;text-align:center;color:#fff;}
	@media only screen and (max-width:1199px){
		.board_table thead th {padding:10px 20px;}
		.board_table tbody td {padding:10px 30px;}
		.board_table tbody tr.noti td {padding:5px 30px;}
	}
	@media only screen and (max-width:1023px){
		.board_table thead th {padding:10px 10px;}
		.board_table tbody td {padding:10px 10px;}
		.board_table tbody tr.noti td {padding:3px 10px;}
	}
	@media only screen and (max-width:767px){
		.board_table {text-align:left;}
		.board_table colgroup,
		.board_table thead th {display:none;}
		.board_table tbody tr:first-child {border-top:1px solid #222;}
		.board_table tbody tr:nth-child(even) {background: #f8f8f8;}
		.board_table tbody td {display:block;padding:5px 10px;}
		.board_table tbody td .ellipsis1 {max-width:90%;}
		.board_table tbody tr.noti td {padding:5px 10px;}
	}

/* 게시판 갤러리_리스트 */
.board_gallery {display:flex;flex-wrap:wrap;justify-content:space-between;margin-left:-22px;padding-top:50px;border-top:2px solid #666;}
.board_gallery li {width:33.3%;padding-left:22px;padding-bottom:40px;margin-bottom:40px;border-bottom:1px solid #d7d7d7;}
.board_gallery li a {display:block;}
.board_gallery li a span {display:block;}
.board_gallery li a .img {overflow:hidden;position:relative;padding-top:55.9%;background:#000;}
.board_gallery li a .img img {position:absolute;left:50%;top:50%;width:100.3%;transform:translate(-50%, -50%);transition:0.4s;}
.board_gallery li a .cont {padding:18px 0 8px 0;}
.board_gallery li a .cont [class^="ellipsis"] {max-width:90%;font-weight:500;font-size:1.11em;color:#222;}
.board_gallery li a .cont .new {vertical-align:middle;}
.board_gallery li a .data_gel {font-weight:500;color:#999;}
.board_gallery li a:is(:hover, :focus, :active) .img img {opacity:0.8;transform:translate(-50%, -50%) scale(1.2,1.2);}
	@media only screen and (max-width:1023px){
		.board_gallery {padding-top:35px;}
		.board_gallery li {width:50%;padding-bottom:25px;margin-bottom:25px;}
		.board_gallery li a .cont {padding:13px 0 3px 0;}
	}
	@media only screen and (max-width:499px){
		.board_gallery {padding-top:25px;}
		.board_gallery li {width:100%;padding-bottom:20px;margin-bottom:20px;}
	}

/* 게시판 갤러리_상세 */
.gal_wrap {position:relative;width:clamp(0px,80%,1155px);margin:0 auto;}
.gal_wrap .gal_view_box {position:relative;width:clamp(0px,80%,960px);margin:0 auto;}
.gal_wrap .gal_view_box .gal_view {}
.gal_wrap .gal_view_box .gal_view .swiper-slide {position:relative;padding-top:55%;text-align:center;}
.gal_wrap .gal_view_box .gal_view .swiper-slide img {position:absolute;left:50%;top:50%;width:100.3%;transform:translate(-50%, -50%);}
.gal_wrap .gal_slide_controll_box {}
.gal_wrap .gal_slide_controll_box a {display:grid;place-items:center;width:50px;height:50px;border:1px solid #d7d7d7;}
.gal_wrap .gal_slide_controll_box a img {}
.gal_wrap .gal_slide_controll_box .gal_slide_prev {position:absolute;left:0;top:50%;transform:translateY(-140%) rotate(-180deg);}
.gal_wrap .gal_slide_controll_box .gal_slide_next {position:absolute;right:0;top:50%;transform:translateY(-140%);}
.gal_wrap .gal_view_box_thum {width:clamp(0px,80%,960px);margin-top:30px;}
.gal_wrap .gal_view_box_thum .gal_view_thum {}
.gal_wrap .gal_view_box_thum .gal_view_thum .swiper-slide a {display:block;position:relative;width:100%;padding-top:65%;text-align:center;border:2px solid #fff;}
.gal_wrap .gal_view_box_thum .gal_view_thum .swiper-slide.swiper-slide-thumb-active a,
.gal_wrap .gal_view_box_thum .gal_view_thum .swiper-slide a:is(:hover, :focus, :active) {border:2px solid #f08336;}
.gal_wrap .gal_view_box_thum .gal_view_thum .swiper-slide a img  {position:absolute;left:50%;top:50%;width:100%;transform:translate(-50%, -50%);}
	@media only screen and (max-width:767px){
		.gal_wrap .gal_view_box_thum .gal_view_thum .swiper-slide {}
	}
