

<!DOCTYPE html>
<html lang="ko" >
	<head >
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="format-detection" content="telephone=no">
					<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0">
				<!-- <meta http-equiv="Pragma" content="no-cache">  -->
		<meta name="Title" content="이서부동산중개법인">
		<meta name="Author" content="이서부동산중개법인">
				<meta name="Robots" content="ALL">
								<meta name="naver-site-verification" content="bb2d3df5101ece7baf17744cee98b38985d79cfd" />
				<meta name="google-site-verification" content="HEoQTzVycr-pmkqlgBg_1Ubw1Pns2gPUdj63ob2r4ow" />				<meta name="Keywords" content="순천부동산,순천이서부동산,순천건물매매,순천상가매매,순천상가임대,순천사무실매매,순천사무실임대,순천오피스텔, 순천토지매매,순천공장창고">
					<meta name="Description" content="당신의 소중한 꿈을 함께하는 이서부동산중개법인ㅣ고객중심 서비스, 투명하고 공정한 거래, 인증된 전문성">
		
		<meta property="og:locale" 			content="ko_KR" />
		<meta property="og:type"            content="website"/>
		<meta property="og:site_name"       content="이서부동산중개법인"/>
							<meta property="og:title"           content="이서부동산중개법인"/>
							<meta property="og:url"             content="https://yeeseo.co.kr?v=1780584368" />
						<meta property="og:description"     content="당신의 소중한 꿈을 함께하는 이서부동산중개법인ㅣ고객중심 서비스, 투명하고 공정한 거래, 인증된 전문성" />
		
								<meta property="og:image"           content="https://yeeseo.co.kr/uploads/site_image/ca650af680524c0eb3d059f58ad60cd4.png"/>
					
					<title>이서부동산중개법인</title>
							<link rel="canonical" href="https://yeeseo.co.kr">
							<link rel="shortcut icon" href="/uploads/site_image/cbe01a72c30f79a98783c10dc2aeb09b.ico">
							<link rel="apple-touch-icon" href="/uploads/site_image/5ee13a77f66bba104bf559a0b9cb6c61.png" />
						<!-- Bootstrap -->
		<link href="/static/js/bootstrap/css/bootstrap.css?ver=1.2.9" rel="stylesheet">
		<link href="/static/css/fa.css?ver=1.2.9" rel="stylesheet">
		<link rel="stylesheet" href="/static/js/slick/slick.css?ver=1.2.9"/>
		<link rel="stylesheet" href="/static/js/slick/slick-theme.css?ver=1.2.9"/>
		<link rel="stylesheet" href="/static/js/offcanvas/bootstrap.offcanvas.css?ver=1.2.9"/>
		<link rel="stylesheet" href="/static/js/bootstrap_select/bootstrap_select.css?ver=1.2.9"/>
		<link rel="stylesheet" href="/static/js/nestable/nestable.css?ver=1.2.9"/>
		<link  rel="stylesheet" href="/static/js/jquery-ui/jquery-ui.css?ver=1.2.9" />
		<link href="/static/fonts/fontawesome-pro-5.13.1-web/css/all.min.css" rel="stylesheet">
		<link href="/static/css/style.css?ver=1.2.9" rel="stylesheet">
		<link href="/script/get/style" rel="stylesheet" >
		<!-- 다음주소 API -->
				<!--[if lt IE 9]>
		  <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
		<![endif]-->
		<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
		<script src="/static/js/jquery/jquery.min.js?ver=1.2.9"></script>
		<script src="/static/js/jquery-ui/jquery-ui.js?ver=1.2.9"></script>
		<script src="/static/js/jquery-ui-touch/jquery.ui.touch-punch.min.js?ver=1.2.9"></script>
		<script src="/static/js/jquery-animate/jquery.animateNumber.min.js"></script>
		<script src="/static/js/bootstrap/js/bootstrap.min.js?ver=1.2.9"></script>
		<script src="/static/js/placeholder/jquery.placeholder.js?ver=1.2.9"></script>
		<script src="/static/js/ajaxform/ajaxform.js?ver=1.2.9"></script>
		<script src="/static/js/clipboard/clipboard.min.js?ver=1.2.9"></script>
		<script src="/static/js/common/app.js?ver=1.2.91"></script>
		<script src="/script/get/search_script"></script>
					<script src="/script/get/orakuploader_script"></script>
				<script src="/static/js/cluster/cluster.js?ver=1.2.9"></script>
		<script type="text/javascript" src="/static/js/offcanvas/bootstrap.offcanvas.js?ver=1.2.9"></script>
		<script type="text/javascript" src="/static/js/slick/slick.min.js?ver=1.2.9"></script>
		<!-- <script type="text/javascript" src="/static/js/vticker/vticker.min.js"></script> -->
								<script type="text/javascript" src="/static/js/validate/jquery.validate.js?ver=1.2.9"></script>
				<script type="text/javascript" src="/static/js/validate/messages_ko.js?ver=1.2.9"></script>
				<script type="text/javascript" src="/static/js/bootstrap_select/bootstrap_select.js?ver=1.2.9"></script>
				<script src="//developers.kakao.com/sdk/js/kakao.min.js?ver=1.2.9"></script>
															<script>Kakao.init('3ec9def63a40a85611d8d12cdfc41213');</script>
							<link href="/static/js/orakuploader/orakuploader.css?ver=1.2.9" rel="stylesheet">

		<script src="/static/js/image_map/image_map.js?ver=1.2.9"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"></script>
		<!-- 360 -->
		<script type="text/javascript" src="/static/js/360/360.js?ver=1.2.9"></script>
		<link href='/static/js/360/360.css?ver=1.2.9' rel='stylesheet' type='text/css'>

		<style media="screen">
			.multibox { position:relative !important; }
		</style>

		<!-- 다국어 -->
				<script type="text/javascript">
			$(window).ready(function() {
				var isMobile = {
				        Android: function () {
				                 return navigator.userAgent.match(/Android/i) == null ? false : true;
				        },
				        BlackBerry: function () {
				                 return navigator.userAgent.match(/BlackBerry/i) == null ? false : true;
				        },
				        IOS: function () {
				                 return navigator.userAgent.match(/iPhone|iPad|iPod/i) == null ? false : true;
				        },
				        Opera: function () {
				                 return navigator.userAgent.match(/Opera Mini/i) == null ? false : true;
				        },
				        Windows: function () {
				                 return navigator.userAgent.match(/IEMobile/i) == null ? false : true;
				        },
				        any: function () {
				                 return (isMobile.Android() || isMobile.BlackBerry() || isMobile.IOS() || isMobile.Opera() || isMobile.Windows());
				        }
				};
			});
			$(document).ready(function() {
				$('body').css('opacity','1');
				// 모달 켜질 때 tabindex 값 > 켜진 모달에 -1, 나머지엔 0 들어가게
				$('.modal').on('show.bs.modal', function (e) {
					$('.modal').attr({'data-keyboard':'true','tabindex':'0'});
					$(this).attr({'data-keyboard':'true','tabindex':'-1'});
				});
				$(document).keydown(function(e){
				    var code = e.keyCode || e.which;
				    if (code == 27) {
						if($('.body_hidden>div').hasClass('fullWrap')) {
							closeS_btn();
																								$('#modal-item').modal();
																					} else {							
							// 모달 꺼질 때 tabindex 값 > 꺼진 모달에 0, .modal.in에는 -1 남아있게
							$('.modal').on('hide.bs.modal', function (e) {
								$('.modal.in').attr({'data-keyboard':'true','tabindex':'-1'});
								$(this).attr({'data-keyboard':'true','tabindex':'0'});
							});
							// 모달이 켜져있고 tabindex값 -1일 때, esc 클릭시 모달 꺼지게
							if($('.modal.in').attr('tabindex')=='-1') {
								$(this).modal('hide');
							}
							$('#modal-item').focus();
						}
						// esc 누르면 item_active 클래스 제거'
						$('a').removeClass('item_active');
										    }
				});
			});
		</script>
							<script>
				var omitformatags = ['input', 'textarea', 'select'];
				omitformatags = omitformatags.join("|");
				function disableselect(e){
					if(omitformatags.indexOf(e.target.tagName.toLowerCase()) == -1){
						return false;
					}
				}
				function reEnable(){
					return true;
				}
				if ( typeof document.onselectstart!="undefined" ){
					document.onseelctstart = new Function ("return false");
				} else {
					document.onmousedown = disableselect;
					document.onmouseup = reEnable;
				}
			</script>
					</head>
	<body style="opacity:0;" 	 oncontextmenu="return false;" onselectstart="return false" ondragstart="return false"  >
	<div id="script_call3">
			</div>
	
		<div class="black_bg" onclick='$("#slide_menu").trigger("offcanvas.close");'></div>
	<div id="msgbox"></div>
		
											<script type="text/javascript">
$(document).ready(function() {
	if($(window).width()<992) {
			}
	$('.navbar-translate').css('display','inline-block');
});
</script>
<style>
li .caret_bugisa:before { content:'\f078'; margin-left:5px; font-family:'Font Awesome 5 Pro'; font-size:14px; color:#000; }
li:focus .caret_bugisa:before, li:hover .caret_bugisa:before, li.open .caret_bugisa:before { content:'\f077'; color:#2371b9; transition:all .2s; }

.navbar_box li .caret_bugisa:before { color:#000; }

.header_wrap { float:left; }
.header_wrap { display:inline-block; width:100%; height:auto; box-shadow:0 1px 3px rgba(0,0,0,.15); }

	.navbar_logo { display:inline-block; width:auto; height:50px; margin:5px 0; position:absolute; top:10px; left:50%; transform:translateX(-50%); float:left; cursor:pointer; }
	.nav_wrap { display:inline-block; width:100%; height:auto; float:left; }
	.nav_wrap>*>.wrap_1360 { display:block; width:1170px; min-width:1170px; height:auto; margin:0 auto; }
	.nav_topbox { display:inline-block; width:100%; height:82px; padding:20px 0; float:left; border-bottom:2px solid #2371b9 }
		.nav_topbox .menu_sign>li { float:left; }
		.nav_topbox .menu_sign>li>a { display:inline-block; width:100%; height:40px; padding:0 10px; color:#000; line-height:40px; transition:all .15s; font-size:16px; }
		.nav_topbox .menu_sign.not_login>li>a { width:auto; }
		.nav_topbox .menu_sign .dropdown>a.dropdown-toggle { color:#000; transition:all .15s; font-size:16px; }
		.nav_topbox .menu_sign>li>a:hover, .nav_topbox .menu_sign>li>a:focus { background:rgba(35,113,185,.1); border-radius:80px; color:#2371b9 !important; }
		.menu_sign .dropdown.active.open>.dropdown-toggle { background:rgba(35,113,185,.1); border-radius:80px; color:#2371b9 !important; }
		.nav_topbox .nav .open>a, .nav_topbox .nav .open>a:not(:focus):hover { background:rgba(0,0,0,.4); color:#fff; }
		.nav_topbox .menu_sign .dropdown.active .caret, .nav_topbox .menu_sign .dropdown:hover .caret { color:#2371b9 !important; }
		.nav_topbox .text-effect6 { margin-left:20px; }
		.nav_topbox .text-effect6 .content { height:40px; margin:0; }
		.nav_topbox #master { width:400px; height:40px; }
		.nav_topbox #master>* { width:50px; line-height:40px; color:#000; font-size:14px; }
		.nav_topbox #master>#master-container-scroller { width:calc(100% - 70px); }
		.nav_topbox #master-container-scroller .master-container-scroller_item, #master-container-scroller .master-container-scroller_item a { color:rgba(0,0,0,.8) !important; font-size:16px; text-align:left; }
		.menu_sign { float:right; }
		.menu_sign .dropdown-menu>li>a { height:32px; padding:0 10px; line-height:32px; }
		.menu_sign .open .dropdown-menu { border-radius:10px; }
		.menu_sign .open>.dropdown-menu li:last-child { background:#2371b9; }
		.menu_sign .open>.dropdown-menu li:last-child a { color:#fff; }
		.menu_sign .open>.dropdown-menu li:last-child:hover { background:rgba(35,113,185,.1); transition:all .2s; }
		.header_wrap .dropdown-menu>li>a:focus, .header_wrap .dropdown-menu>li>a:hover { background:rgba(35,113,185,.1); color:#2371b9; transition:all .2s; }
		.menu_sign .open>.dropdown-menu li:last-child:hover a { color:#2371b9; transition:all .2s; }

	.navbar { border:none; }
	.nav_bottom_box { border-bottom:1px solid #ddd; }
	.nav_bottom_box .wrap_1360>#slide_menu { position:relative; }
	#header_menu>li>a { font-weight:bold; }
	.wrap_1360 .nav>li:hover div a { color:#2371b9; }
	.wrap_1360 .nav>li>a:focus, .wrap_1360 #header_menu.nav>li>a:hover { background:none; color:#2371b9 }
	.navbar-nav>li.active div a { color:#2371b9; }
	.navbar-nav>li.active ul { display:inline-block; }
	.dropdown.active>.dropdown-menu { display:none;}
	.dropdown.active.open>.dropdown-menu { display:block;}

	.nav>li>a:focus, .nav>li>a:hover { background:none; color:#2371b9; }
	.navbar_box .dropbtn:hover .dropdown-content-top a { color:#2371b9; }
	.wrap_1360 #header_menu .dropdown-menu>li>a:focus, .wrap_1360 #header_menu .dropdown-menu>li>a:hover { background:rgba(35,113,185,.1); color:#2371b9; }
	.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover { background:#2371b9; }
	.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover { background:none; }

	.drop_menu_2_wrap { display:none; width:100%; float:left; }
	.nav_bottom_box:hover .drop_menu_2_wrap { display:inline-block; background:#fff; position:absolute; top:100%; left:50%; transform:translateX(-50%); z-index:10; box-shadow:1px 1px 5px rgba(30,30,30,.1); }
	.drop_menu_2_wrap>.wrap_1360 { display:block; width:1170px; min-width:1170px; height:auto; margin:0 auto; }
	.drop_menu_2_wrap ul { display:inline-block; width:100%; min-height:1px; margin:0; padding:10px 0; text-align:center; float:left; }
	.drop_menu_2_wrap li { display:inline-block; width:100%; padding:2px 0; font-size:15px; color:#999; float:left; }
	.drop_menu_2_wrap li:hover { color:#2371b9; transition:all .2s; }
</style>

<div class="header_wrap" style="opacity:0; ">
			<div class="nav_wrap">
		<div class="nav_topbox">
															<div class="wrap_1360">
											<!-- 상단 문의 정보 사용으로 했을 때 -->
									<ul class="nav navbar-left head_contact text-effect6">
						<li class='content center'>
							<h1 id='master'>
								<a href="tel:
																	061-722-0101																"></a>
								<div><i class="fas fa-headphones"></i>&nbsp;&nbsp;문의</div>
								<div id='master-container-scroller'>
									<div class='master-container-scroller_item'>
										<a class='cta-link' href='#'>
																							061-722-0101																					</a>
									</div>
									<div class='master-container-scroller_item'>
										<a class='cta-link ellipsis' href='#'>이서부동산중개법인</a>
									</div>
									<div class='master-container-scroller_item'>
										<a class='cta-link' href='#' style="font-size:12px;">
																							<span style='font-size:14px;'>
												yeeseo.co.kr												</span>
																					</a>
									</div>
								</div>
							</h1>
						</li>
					</ul>
												<ul class="menu_sign not_login">
					<!-- 사업자 이거나 일반회원이거나 사업자&일반회원 모두 사용일 때 -->
					<!-- 매물관리 보이기 -->
																
					<!-- 로그인 후 -->
																																				<li class="sign_btn_box">
															<a href="#" data-toggle="modal" data-target="#modal-signin">로그인</a>
																																																				<a href="#" data-toggle="modal" data-target="#modal-signup">회원가입</a>
																																								</li>
									</ul>
			</div>
		</div>
		<div class="nav_bottom_box">
												<div class="wrap_1360">
											<div class="navbar-header header_left">
											<span class="navbar_logo" onclick="location.href='/'">
															<img src="/uploads/logo/336c00e87d0a952a45332ebee223a80f.png" class="logo" alt="로고" />
													</span>
															</div>

				<div class="navbar_box" id="slide_menu">
											<!-- 매물검색 삭제 (노출아닐때) -->
						<!-- 매물검색 -->
						<ul class="nav navbar-nav" id="header_menu" style="margin:0;">
																																																																			<!-- 매물검색 노출X -->
											<li class=""><a href="/search" >매물검색 </a></li>
																																																			<!-- 창업의뢰 -->
																			<li class="dropdown ">
											<a href="#" class="dropdown-toggle" data-toggle="dropdown">
												매물 의뢰하기												<span class="caret_bugisa"></span>
											</a>
											<ul class="dropdown-menu dropdown-menu-center menu_drop">
												<li class=""><a href="/request">매물의뢰 목록</a></li>
												<li class=""><a href="/request/write?type=sell">팔아요</a></li>
												<li class=""><a href="/request/write?type=buy">구해요</a></li>
											</ul>
										</li>
																																									<li class=""><a href="/tour" >매물투어신청</a></li>
																																<li class=""><a href="/news/naver">부동산 소식</a></li>
																																															<li class=""><a href="/intro" >회사소개</a>
									</li>
																																				</ul>
									</div>
			</div>
					</div>
	</div>
	</div>
<nav class="nav_more">
	<div class="mobile_inner_box">
		<div class="mobile_header">
			<div class="btn_close" style="display:inline-block;">
				<i class="fal fa-chevron-left"></i>
			</div>
            <a class="navbar-brand" href="/">
                                <img src="/uploads/logo/336c00e87d0a952a45332ebee223a80f.png" class="logo" alt="로고" />
                            </a>
		</div>
		<div class="mobile_content">
			<div class="top_info">
                                    <div class="mobile_sign_box">
						<div data-toggle="modal" data-target="#modal-signin">로그인</div>
                                                                                    																			<div data-toggle="modal" data-target="#modal-signup">회원가입</div>
									                                                                                                        </div>
                			</div>
			<div class="center_list">
				<ul class="mobile_menu">
                    																																																	<li class=""><a href="/search" >매물검색</a></li>
																																							<!-- 창업의뢰 -->
															<li>
									매물 의뢰하기									<ul class="dropdown-menu dropdown-menu-center menu_drop">
										<li class=""><a href="/request">의뢰하기</a></li>
										<li class=""><a href="/request/write?type=sell">팔아요</a></li>
										<li class=""><a href="/request/write?type=buy">구해요</a></li>
									</ul>
								</li>
																															<li class=""><a href="/tour" >매물투어신청</a></li>
																								<li class=""><a href="/news/naver">부동산 소식</a></li>
																																			<li class=""><a href="/intro" >회사소개</a>
							</li>
																										</ul>
			</div>
			<div class="call_bottom">
				<div class="customer_center">
											<h3 class="mobile_call" onclick="location.href='tel:061-722-0101'"><i class="fas fa-phone-rotary"></i> 대표전화 061-722-0101</h3>
									</div>
			</div>
		</div>
	</div>
</nav>

<style>
.nav_bottom_box { display:inline-block; width:100%; float:left; background:#fff; }
	.nav_bottom_box .navbar-brand { display:inline-block; width:100%; height:auto; float:left; }
		.wrap_1360 #header_menu>li>a { height:40px; padding:0; font-size:1.2em; text-align:center; line-height:40px; }
		.nav_bottom_box .wrap_1360 #header_menu .open>a, .nav_bottom_box .wrap_1360 #header_menu .open>a:focus, .nav_bottom_box .wrap_1360 #header_menu .open>a:hover { background:rgba(35,113,185,.1); color:#2371b9; transition:all .2s; }
		.nav_bottom_box .wrap_1360>#slide_menu #header_menu { width:100%; }

		.navbar_box .navbar-nav .open .dropdown-menu .dropdown-header, .navbar_box .navbar-nav .open .dropdown-menu>li>a { height:32px; padding:0 10px; line-height:32px; }

		.navbar_box .dropdown-menu>li>a:focus, .navbar_box .dropdown-menu>li>a:hover { background:rgba(35,113,185,.1); transition:all .2s; }
		.header_menu_etc_box .dropdown-menu>.active>a, .header_menu_etc_box .dropdown-menu>.active>a:focus, .header_menu_etc_box .dropdown-menu>.active>a:hover { background:rgba(35,113,185,.1); color:#2371b9; transition:all .2s; }
		.header_menu_etc_box>li:hover>a, .header_menu_etc_box>li.open>a { color:#2371b9; }

.navbar-header { display:inline-block; float:left; }

#searchConsoleTop .search_console { text-align:center; }
#searchConsoleTop .search_console>.container-fluid { width:1170px; }

.wrap_1360 .navbar-nav>li { width: 20%;}
.drop_menu_2_wrap ul { width: 20%; }
</style>

<style>
.loginPop div.loginInput { width:100%; height:auto; border:none; border-radius:4px; overflow:hidden; transition:all .2s; }
.loginPop div.loginInput>img, .loginPop div.loginInput>input { border:1px solid #ccc; }
.loginPop div.loginInput>img { border-radius:4px 0 0 4px; }
.loginPop div.loginInput>input { border-left:none; border-radius:0 4px 4px 0; }
.loginPop div.loginInput>label { width:100%; height:auto; margin-top:5px; margin-bottom:0; padding:0 5px; }
.loginPop div.loginInput>input { margin-top:0 !important; }

body { min-width:1140px; }

.header_wrap { display:inline-block; width:100%; background:#fff; position:relative; float:left; }
.header_wrap>* { display:inline-block; width:100%; float:left; }

.header_category_wrap { display:inline-block; width:100%; background:#f6f6f6; float:left; }
.header_left .logo { height:100%; margin-right:0; padding:0; }


.header_category_wrap { background:#fff; text-align:center; }
.header_category_wrap>* { display:flex; width:1140px; margin:0 auto; align-items:center; justify-content:space-between; }
.header_category_wrap>.header_top_wrap { width:100%; padding:5px 0; background:#f6f6f6; text-align:center; float:left; }
.header_top_wrap>.header_1140 { display:block; width:1140px; margin:0 auto; }
.header_top_wrap .header_1140>* { display:inline-block; float:left; }
.header_top_wrap .header_1140>*>* { display:inline-block; float:left; }
.header_top_wrap .header_1140>.header_top_right { float:right; }
.header_top_wrap .header_1140>.header_top_right ul li { display:inline-block; height:24px; line-height:24px; font-weight:bold; float:left; }
.header_top_wrap .header_1140>.header_top_right ul li:not(:last-child) { margin-right:10px; }
.header_top_right ul>li:not(.sign_btn_box):hover { color:#2371b9; transition:all .2s; }
.header_top_right ul>li i { margin-right:5px; }
.header_top_right .sign_btn_box a { display:inline-block; height:24px; line-height:24px; float:left; }
.header_top_right .sign_btn_box a:hover { color:#2371b9; transition:all .2s; }
.header_top_right .sign_btn_box a:not(:last-child):after { content:'｜'; display:inline-block; height:24px; line-height:24px; color:#999 !important; }
.header_top_right .menu_drop { top:calc(100% + 4px); left:inherit; right:0; }
.header_top_left .header_btn:not(:last-child):after { content:'｜'; display:inline-block; height:24px; padding:0 5px; font-weight:bold; color:#2371b9; line-height:24px; }
.header_top_left .header_btn>span { height:24px; border-radius:30px; line-height:22px; }
.header_top_left .header_btn>span.content { padding:0; }
.header_left .logo { padding-left:0; }


.search_mobile_box { display:none; width:100%; float:right; }

.wrap_1360 .navbar-nav>li { width: 20%;}
.drop_menu_2_wrap ul { width: 20%; }

@media (max-width:992px) {
	.nav_topbox { display:none; }
	.header_top_wrap { display:none; }
	.nav_wrap>*>.wrap_1360 { width:100%; min-width:100%; padding:0 !important; }
	.nav_wrap>*>.wrap_1360:last-child { display:inline-block; }
	.nav_bottom_box .wrap_1360>#slide_menu { display:none; }

	.item_header_wrap>.search_mobile_box { width:auto; float:right; }
	.search_mobile_box .input_span_box { display:inline-block; width:100%; height:auto; padding:4px 0; border-radius:34px; background:#fff; overflow:hidden; float:right; }
	.search_mobile_box .input_span_box>* { display:inline-block; height:40px; line-height:40px; float:left; }
	.search_mobile_box .input_span_box>input { width:calc(100% - 40px); padding:0 10px; border:none; box-shadow:none; outline:none; }
	.search_mobile_box .input_span_box>span { width:40px; }
	.search_mobile_box .input_span_box i { display:inline-block; width:100%; height:40px; line-height:40px; text-align:center; font-size:16px; float:left; }

			.navbar_logo { display:inline-block !important; width:auto; position:relative; }
		.header_wrap .header_left img { display:inline-block; width:auto; height:100%; float:left; }
		.item_header_wrap { width:auto !important; padding-right:0 !important; border:none; }
	
	.container-fluid  { padding-left:5px; padding-right:5px; }
	.search_mobile_box { display:inline-block; opacity:1 !important; }
}

.header_category_wrap { padding:0 10px; background:#fff; }
.header_category_wrap>* { display:inline-block; width:100%; float:left; }
.header_category_wrap>.header_bottom { height:70px; position:relative; }

.header_menu_category_box { display:inline-block; width:100%; padding:0 15px; border-top:1px solid #ddd; float:left; }
	.header_menu_category_box { text-align:left; }
	.header_menu_category_box>li { display:inline-block; padding:0; font-size:16px; font-weight:bold; float:left; position:relative; }
	.header_menu_category_box>li>a { display:inline-block; height:40px; padding:0 10px; line-height:40px; float:left; color:#000; }
	.header_menu_category_box>li>a:hover { color:#2371b9; transition:all .2s; }

.header_bottom>* { display:inline-block; float:left; }
.header_center { padding-left:10px; }
	.header_bottom>div>ul { display:inline-block; margin:0; background:#fff; float:left; }
	.header_bottom>div>ul>li { display:inline-block; height:70px; padding:0; font-size:16px; font-weight:bold; line-height:70px; float:left; position:relative; }
	.header_bottom>div>ul>li>a { display:inline-block; height:70px; padding:0 10px; line-height:70px; float:left; }
	.header_bottom>div>ul.header_menu_etc_box { float:right; }

	.header_bottom>div>ul>li.active:after { content:''; display:inline-block; width:0; border-bottom:3px solid #2371b9; position:absolute; bottom:0; left:50%; transform:translateX(-50%); transition:all .2s; }
	.header_bottom>div>ul>li.active>a { color:#2371b9; }
	.header_bottom .dropbtn .dropdown-content li.active { background:rgba(35,113,185,.1); transition:all .2s; }
	.header_bottom .dropbtn .dropdown-content li.active a { color:#2371b9; transition:all .2s; }

	.header_bottom .dropbtn>a { display:inline-block; height:70px; line-height:70px; float:left;}
	.header_bottom .dropbtn:after, .header_bottom .dropbtn.active:after { content:''; display:inline-block; width:0; border-bottom:3px solid #2371b9; position:absolute; bottom:0; left:50%; transform:translateX(-50%); transition:all .2s; }
	.header_bottom .dropbtn:hover, .header_bottom .dropbtn.active:hover>a { color:#2371b9; }
	.header_bottom .dropbtn:hover:after, .header_bottom .dropbtn.active:after { width:100%; }
	.header_bottom .dropbtn .dropdown-content { display:none; min-width:auto; margin:0; position:absolute; top:100%; background:#fafafa; border:1px solid #ddd; border-radius:0 0 4px 4px; box-shadow:0 0 5px rgba(0,0,0,.1); text-align:center; }
	.header_bottom .dropbtn:hover .dropdown-content { display:block; }
	.header_bottom .dropbtn .dropdown-content li { display:inline-block; width:calc(100% - 8px); margin:4px; float:left; }
	.header_bottom .dropbtn .dropdown-content li:not(:last-child) { margin-bottom:0; }
	.header_bottom .dropbtn .dropdown-content a { display:block; padding:2px 10px; clear:both; font-weight:400; line-height:1.42857143; color:#000; white-space:nowrap; }
	.header_bottom .dropbtn .dropdown-content li:hover a { background:rgba(35,113,185,.1); color:#2371b9; transition:all .2s; }

.header_bottom .header_right { float:right; }
.header_bottom .header_right>* { display:inline-block; float:left; }
.header_bottom .header_right>.header_btn { display:inline-block; height:30px; margin:20px 0; margin-right:5px; border:1px solid #2371b9; border-radius:4px; float:left; }
.header_btn.header_btn_call { cursor:pointer; }
	.header_btn>span { display:inline-block; height:30px; padding:0 10px; font-weight:bold; color:#2371b9; line-height:28px; float:left; }
	.header_btn>span.title { background:rgba(35,113,185,.1); }
	.header_btn>span.title i { margin-right:5px; }
.header_bottom .header_right>ul>li { display:inline-block; height:30px; margin:20px 0; padding:0; float:left; }
.header_right>ul>li:not(:last-child) { margin-right:5px; }
.header_bottom .header_right>ul>li>a { display:inline-block; height:30px; padding:0 10px; border:1px solid #ddd; border-radius:4px; font-size:14px; line-height:28px; float:left; }
.header_bottom .header_right>ul>li>a:hover, .header_bottom .header_right>ul>li.open>a { border-color:#2371b9; color:#2371b9; transition:all .2s; }

.header_right>ul>li.sign_btn_box>a { border-radius:4px 0 0 4px; float:left; }
.header_right>ul>li.sign_btn_box:hover a { border-color:#2371b9; }
.header_right>ul>li.sign_btn_box>a:hover { background:#2371b9; color:#fff; transition:all .2s; }
.header_right>ul>li.sign_btn_box>a:last-child { border-left:none; border-radius:0 4px 4px 0; }

.gnb_top .dropdown{position: relative;}
.sub_menu{display: none; position: absolute; top:100%; left:0; background: #fff;
border:1px solid #ddd; z-index: 100; width:100%;}
.sub_menu.on{display:block; }
.sub_menu.on li {border-top:#000;}
.sub_menu li{text-align: center;}
.sub_menu li a{padding:10px 15px; display: inline-block; }
.gnb_top>li{position: relative;}
.gnb_top>li.on:after{content:''; width: 100%; height:2px; background: #2371b9; position: absolute; bottom:0; left:0;}
.gnb_top>li.on>a{color: #2371b9;}
ul{margin-bottom: 0;}
.center_inner{ display:inline-block; }
.center_inner .gnb_top{display: inline-block; float:left;}
.navbar {display: none;}
.nav_more{display: none;}
.icon_wrap li{position: relative;}
.icon_wrap li img{opacity: 0.3!important; height:25px; position: absolute; height: 25px; line-height: 25px; top: 50%; transform: translate(-50%,-50%); left: 50%;}

	@media (max-width:992px) {
		html>body { padding:50px 0 !important; }
	}

@media (max-width:1200px) {
	body { min-width:100%; }
}

 @media (max-width:992px){
 	.modal.in:not(#modal-item) .modal-dialog { width:calc(100% - 20px) !important; margin:0 !important; top:50% !important; left:50% !important; transform:translate(-50%, -50%) !important; }
	.header_wrap { display:inline-block; width:100%; position:fixed; top:0; left:0; z-index:5; }
		.header_left .logo { height:70px; margin-right:30px; padding:10px; }
 	.header_wrap .header_right {display:none;}
	.navbar_logo { height:50px !important; font-size:18px; line-height:50px; }
				.navbar_logo { height:50px !important; margin:0; float: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
			.header_wrap { height:50px; line-height:50px; }
	.nav_bottom_box { height:50px; line-height:50px; }
	.header_wrap.centerOver { height:auto; }
	.header_category_wrap>.header_bottom { height:auto; }
	.header_category_wrap>.header_bottom>* { display:none; }
	.header_category_wrap>.header_bottom>.header_left { display:inline-block; width:100%; height:50px; text-align:center; float:left; }
	.header_wrap .header_left img { margin:0; padding:5px; height:50px; float:left; }
	.center_inner .gnb_top{display:none;}
	#master{display: none;}
	.navbar.header_mobile{display:none!important;}

	.nav_bottom_box:hover .drop_menu_2_wrap, .drop_menu_2_wrap { display:none; }

	
	/* 더보기 모바일 창 */
	.icon_list{clear: both; overflow: hidden; border-top: 1px solid #ddd; border-bottom:1px solid #ddd;}
	.icon_list>li{float:left; width:calc(100% / 4); font-size: 15px; padding:10px 0; text-align: center;}
	.icon_list>li i{display: inline-block; margin-right:5px;}
	.icon_list>li:not(:last-child):after{content:"|"; padding:0 3px; color: #ddd; float: right;}
	.nav_more {background: #f6f6f6; width:100%; height:100%; position:fixed; top:0; left:0; z-index: 100;
	display: none; overflow-y: hidden;}
	.nav_more.on {display: block; height:100%; }
	.nav_more .mobile_inner_box { display:inline-block; width:100%; height:100%; float:left; }
	.nav_more .mobile_inner_box>* { display:inline-block; width:100%; float:left; }
	.mobile_inner_box>div>div{ display:inline-block; width:100%; background: #fff; float:left; }
		.inner_info{overflow: hidden;}
			.inner_info>div{float:left; padding:13px 10px;}
			.inner_info .text_right{ width:calc(100% - 75px); padding:20px 0; padding-right:10px; }
			.inner_info .text_right h2{font-size: 20px; margin:0; font-weight:bold; font-family: 'NotoSansKR-Bold'}
	.mobile_header { height:50px; line-height:50px; border-bottom:1px solid #ddd; text-align:center; position:relative; background:#f6f6f6; }
	.mobile_header i { display:inline-block; color:#000; font-size:16px; position:absolute; left:15px; top:50%; transform:translateY(-50%); }
		.mobile_header a {display:inline-block; position: absolute; top:50%; left:50%; transform: translate(-50%,-50%);}
		.mobile_header .navbar-brand .logo { display: block; width:auto; height:50px; padding:5px !important; }
	.mobile_content { height:calc(100% - 50px); position:relative; }
	.center_list { margin-top:5px; height:calc(100% - 119px); overflow-y: auto; border-top: 1px solid #ddd; }
	.mobile_menu>li {font-size: 16px; font-weight: bold; padding:10px 15px;
	font-family: 'NotoSansKR-Bold';}
	.mobile_menu>li:not(:last-child) { border-bottom:1px solid #ddd; }
		.mobile_menu>li>ul{overflow: hidden; margin-top:5px;}
		.mobile_menu>li>ul li{float:left; width:calc(100% / 3); font-weight: normal; font-size: 14px;}
		.mobile_menu>li>ul li a { display:inline-block; width:100%; padding:0 5px; float:left; }

		.mobile_menu>li>ul.category_all { margin-top:10px; padding:10px; background:#fafafa; border-radius:4px; }
		.mobile_menu>li>ul.category_all>li { width:100%; }
		.mobile_menu>li>ul.category_all>li:not(:last-child) { margin-bottom:5px; padding-bottom:5px; border-bottom:1px solid #dfdfdf; }
		.mobile_menu>li>ul.category_all>li>a { font-size:15px; font-weight:bold; }
		.mobile_menu>li>ul.category_all li>* { display:inline-block; width:100%; float:left; }
		.mobile_menu>li>ul.category_all li>ul { padding:0 5px; }
		.category_all ul>li {float:left; width:calc(100% / 3); }
		.category_all ul li a { display:inline-block; width:100%; padding:0 5px; font-weight:normal; font-size:14px; float:left; }
	.call_bottom { height:54px; padding:10px; 15px; text-align:center; border-top:1px solid #ddd; position:fixed; bottom:0; left:0; }
		.call_bottom>div { display:inline-block; width:100%; float:left; }
		.customer_center h3 { display:inline-block; width:100%; margin:0; padding:0; float:left; }
		.mobile_call{ display:inline-block; width:100%; height:34px; background:rgba(35,113,185,.1); border-radius:4px; color:#2371b9; line-height:34px; font-size:16px; font-weight:bold; font-family:'NotoSansKR-Bold'; float:left; }
		.mobile_call i{display: inline-block; margin-right:5px;}
    .mobile_sign_box { width:100%; height:60px; padding:10px; }
    .mobile_sign_box>div { display:inline-block; width:calc((100% - 10px) / 2); height:40px; border:1px solid #ddd; line-height:38px; text-align:center; color:#999; float:left; cursor:pointer;}
    .mobile_sign_box>div:not(:last-child) { margin-right:10px; }
    .mobile_sign_box>div:first-child { border-color:#2371b9; color:#2371b9; }
}
</style>

<script type="text/javascript">
$(document).ready(function() {
	$('.header_wrap').css('opacity','1');
			$('li.dropdown').on('show.bs.dropdown', function() {
			$(this).addClass('active');
			$(this).find('.dropdown-menu').addClass('shown');
		});
		$('li.dropdown').on('hide.bs.dropdown', function() {
			$(this).removeClass('active');
			$(this).find('.dropdown-menu').removeClass('shown');
		});
	
	$('.menu_toggle').on('click',function(){
		$(this).next('.menu_drop').toggleClass('on');
	});

	$('.mobile_footer_icon.navbar-toggle').on('click',function(){
		$('.nav_more').toggleClass('on');
		$('body').bind('touchmove', function(e){
    		e.preventDefault()
		});
	});

	$('.mobile_header .btn_close').on('click',function(){
		$(this).parents('.nav_more').removeClass('on');
		$('body').unbind('touchmove');
	});

	if($(window).width()<992) {
		var navW = 0;
		var navLogoW = 0;
		var navBackbtnW = 0;
		navW = $(window).width()-20;
					navLogoW = $('.navbar_logo .logo').width();
						$('.search_mobile_right.search_mobile_box').width(navW-(navLogoW+navBackbtnW));
	}
});
</script>
<style>
@media (max-width:992px) {
	.hidden { display:block !important; height:100%; min-height:100%; padding-top:0; overflow:hidden !important; touch-action:none; }
}
</style>
							<div class="clearfix"></div><meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" type="text/css" href="/static/fonts/fontawesome-pro-5.13.1-web/css/all.min.css">
<style media="screen">
	*{margin:0; padding:0;}
	html,body{width:100%; height:100%;}
	.seen_zone { display:none !important; }
	.google_translate { display:none !important; }
	.popup { display:none !important; }
	.clearfix::before,.clearfix::after{content:''; display: block; clear:both;}
	.m-t-lg{height:100%;}
	.m-t-lg .container{height:100%;}
	.button_wrap{width:380px; margin:0 auto;}
	.button_wrap button{background: #fff; border:2px solid #2371b9; color:#2371b9; width:calc((100% - 15px) / 2); float:left; height:45px; margin-right: 15px; }
	.button_wrap button:last-child{margin-right: 0;}
	.button_wrap button:hover{background:#2371b9; color:#fff; }
	.warning_icon{font-size:70px;}
	.warning_icon i{color:#2371b9;}
	.not_find{position: absolute; top:50%; left:50%; transform: translate(-50%,-50%);}
	.not_find p{padding:25px 0; font-size: 16px; color: #888;}
	.title h2{font-size: 40px; color:#2371b9; margin-top:10px;}

	@media screen and (max-width: 992px){
		.warning_icon{font-size:50px;}
		.title h2{font-size: 22px; }
		.not_find p{font-size: 14px;}
		.container{width:auto; width:100%;}
		.button_wrap{width:300px;}
	}
</style>
<section class="m-t-lg">
	<div class="container clearfix">
		<div class="not_find text-center">
			<span class="warning_icon">
				<i class="fas fa-exclamation-triangle"></i>
			</span>
			<div class="title">
				<h2>페이지를 찾을 수 없습니다.</h2>
			</div>
			<p>주소가 잘못 입력되었거나, 변경 혹은 삭제되어 요청하신 페이지를 찾을 수 없습니다.<br>
			입력하신 주소가 정확한지 다시 한번 확인해 주시기 바랍니다.
			</p>
			<div class="button_wrap clearfix">
				<button type="button" onclick="javascript:history.back(-1);">이전 페이지로 이동</button>
				<button type="button" onclick="javascript:location.href='/';">메인 페이지로 이동</button>
			</div>
		</div>
	</div>
</section>
<style>
.mobile_footer_btn { display:none; }
</style>

<style>
/* 폰트 추가(파비콘) */
@font-face {
	font-family: 'Font Awesome 5 Free';
	font-style: normal;
	font-weight: 900;
	font-display: auto;
	src: url("../../static/fonts/fontawesome-free-5.10.1-web/webfonts/fa-solid-900.eot");
	src: url("../../static/fonts/fontawesome-free-5.10.1-web/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../../static/fonts/fontawesome-free-5.10.1-web/webfonts/fa-solid-900.woff2") format("woff2"), url("../../static/fonts/fontawesome-free-5.10.1-web/webfonts/fa-solid-900.woff") format("woff"), url("../../static/fonts/fontawesome-free-5.10.1-web/webfonts/fa-solid-900.ttf") format("truetype"), url("../../static/fonts/fontawesome-free-5.10.1-web/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

#map_layout *:focus {
    outline: 0;
}

.confirm_done { font-size:12px; line-height:16px; }
.deal_done { font-size:12px; line-height:16px; }
.btn_deal_done2 .deal_done { font-size:13px; }
.btn_deal_done2 .deal_done>i { font-weight:bold; }
.text_price_inst{ background: #fa5625; border-color: #fa5625; }
.text_price_real{ background: #fad825; border-color: #fad825;}
.text_price_sell{ background: #ffc700; border-color: #ffc700;}
.text_price_loan{ background: #25affa; border-color: #25affa;}
.text_price_month_deposit{ background: #21cf01; border-color: #21cf01;}
.text_price_month_rent{ background: #21cf01; border-color: #21cf01;}
.text_price_full_rent{ background: #6a33ff; border-color: #6a33ff;}
.text_price_premium{ background: #ff9d00; border-color: #ff9d00;}

.text_area_real{ background: #fa5625; border-color: #fa5625; }
.text_area_law{ background: #fad825; border-color: #fad825;}
.text_area_land{ background: #ffc700; border-color: #ffc700;}
.text_area_const{ background: #25affa; border-color: #25affa;}
.text_area_const_sum{ background: #21cf01; border-color: #21cf01;}
.text_area_toji{ background: #6a33ff; border-color: #6a33ff;}

.menu_sign .fa.bold, .menu_sign .fas.bold, .modal .fa.bold, .modal .fas.bold { font-family:'Font Awesome 5 Free'; font-weight: 900; font-style:normal; }

.banner_request .request_box > .request_title:not(.static) span { animation: twinkle 1s 1s infinite; }

/* 190905 아이콘 변경 */
.mobile_footer_icon { min-height:50px; max-height:50px; overflow:hidden; box-shadow:0 -1px 1px #efefef; z-index:4; }
.mobile_footer_icon i { font-size:1.2em; }
.mobile_footer_icon.mobile_footer_secone h5 { margin-top:8px; }
.mobile_footer_icon.mobile_footer_third i { font-size:1.3em; }
.mobile_footer_icon.mobile_footer_fourth i { font-size:1.3em; }
.mobile_footer_icon.mobile_footer_fourth h5 { margin-top:4px; }
.mobile_footer_icon.main_text_color i { font-weight:bold; }

.mobile_footer_wrap.mobile_footer_wrap_admin .mobile_footer_icon { padding:7px 5px; background:#fff; }
.mobile_footer_wrap.mobile_footer_wrap_admin .mobile_footer_icon>* { display:inline-block; width:100%; float:left; }
.mobile_footer_wrap.mobile_footer_wrap_admin .mobile_footer_icon * { color:#777; }
.mobile_footer_wrap.mobile_footer_wrap_admin .mobile_footer_icon i { width:100%; height:18px; line-height:18px; font-size:18px; position:relative; }
.mobile_footer_wrap.mobile_footer_wrap_admin .mobile_footer_icon.main_text_color * { color:#2371b9; }
.mobile_footer_wrap.mobile_footer_wrap_admin .mobile_footer_icon span { display:inline-block; width:12px; height:12px; background:#e54c4c; border-radius:12px; text-align:center; line-height:12px; position:absolute; top:0px; right:5px; color:#fff; font-size:10px; }

.admin_staff_icon_zone { position: fixed; width: 80px; bottom: 20px; right: 20px; z-index: 9; }
.admin_staff_icon_zone>div { width:50px; height:50px; border-radius:100px; background:#333; line-height:48px; text-align:center; box-shadow:0 3px 3px rgba(0,0,0,.3); }
.admin_staff_icon_zone>div:not(:last-child) { margin-bottom:5px; }
.admin_staff_icon_zone>.admin_imjang { background:#66d558; }
.admin_staff_icon_zone>.item_list { background:#e54c4c; }
.admin_staff_icon_zone>.item_add { background:#3d77f7; }
.admin_staff_icon_zone>div img { width:30px; height:auto; }

.banner_centerInfo { display:inline-block; width:100%; margin-bottom:10px; padding:10px 20px; background:rgba(255,255,255,1); border:1px solid #ddd; float:left; }
	.banner_centerInfo>* { display:inline-block; width:100%; margin:0; text-align:center; float:left; }
	.banner_centerInfo h4 { font-weight:bold; font-size:16px; color:#2371b9; }
	.banner_centerInfo h4 span { margin-left:4px; color:#999; font-size:14px; font-weight:normal; }
	.banner_centerInfo h2 { margin:5px 0 10px; padding-bottom:10px; border-bottom:1px solid #ddd; font-family:'NotoSansKR-Bold'; font-weight:bold; color:#2371b9; cursor:pointer; }
	.banner_centerInfo p { color:#999; }

.banner_request { display:inline-block; width:100%; float:left; }
    .banner_request .request_box { display:inline-block; width:100%; background:#fff; border:1px solid #ddd; float:left; }
    .banner_request .request_box>* { display:inline-block; width:100%; float:left; }
    .banner_request .request_box>.request_title { height:40px; background:#2371b9; color:#fff; text-align:center; line-height:40px; font-size:16px; font-weight:bold; }
    .banner_request .request_box>form { padding:5px; }
    .banner_request .request_box>form>input { display:inline-block; width:100%; height:34px; margin-bottom:5px; padding:0 10px; background:#fafafa; border:1px solid #ddd; border-radius:0; line-height:32px; float:left; }
    .banner_request .request_box>form textarea { display:inline-block; width:100%; padding:10px; background:#fafafa; border:1px solid #ddd; border-radius:0; float:left; resize:none; }
    .banner_request .request_box>.request_content {}
		.banner_request .request_box>.request_content ul { width: 100%; margin: 0; }
		.banner_request .request_box>.request_content ul li { padding: 10px; cursor: pointer; transition: all .2s; font-size: 14px; }
		.banner_request .request_box>.request_content ul li:not(:last-child) { border-bottom: 1px solid #ddd; }
		.banner_request .request_box>.request_content ul li.on,
		.banner_request .request_box>.request_content ul li:hover { background:rgba(35,113,185,.1); color: #2371b9; font-weight: bold; }
		.banner_request .request_box>.request_content ul li i { float: right; font-size: 20px; line-height: 22px; color: #999; }
		.banner_request .request_box>.request_content ul li:hover i,
		.banner_request .request_box>.request_content ul li.on i { color: inherit; }
	.banner_request .terms_agree { display:inline-block; width:100%; margin-top:5px; }
    .banner_request .terms_agree>.check>* { font-size:12px; color:#999; }
    .banner_request .terms_agree>.check>* { display:inline-block; height:20px; line-height:20px; float:left; }
    .banner_request .terms_agree .item_tosAgree.chk { width:16px; height:16px; margin:2px 0; margin-right:5px; border:1px solid #ddd; float:left; }
    .banner_request .terms_agree .terms_btn { background:#fff; border:1px solid #ddd; color:#000; float:right; }
    .banner_request .terms_agree .terms_btn:hover { background:#fafafa; transition:all .2s; }
    .banner_request button { display:inline-block; width:100%; height:34px; background:#2371b9; border:1px solid #2371b9; color:#fff; float:left; }
    .banner_request button:hover { background:#fff; color:#2371b9; transition:all .2s; }

	.banner_visit { display:inline-block; width:100%; margin-bottom:10px; padding:12px 15px 10px; background:#fff; border:1px solid #ddd; text-align:left; float:left; }
	.banner_visit>* { display:inline-block; width:100%; margin:0; float:left; }
	.banner_visit .top { position:relative; }
	.banner_visit .top>* { display:inline-block; width:100%; margin:0; float:left; }
	.banner_visit .top>h2 { font-size:20px; font-weight:normal; color:#2371b9; }
	.banner_visit .top>h2 span { font-family:'NotoSansKR-Bold'; font-size:30px; font-weight:bold; }
	.banner_visit .top .icon { margin:0; border:none; position:absolute; top:50%; right:0; line-height:30px; transform:translateY(-50%); }
	.banner_visit .top .icon i { display:inline-block; width:50px; height:50px; background:#2371b9; border-radius:50px; font-size:24px; line-height:50px; text-align:center; color:#fff; float:left; }
	.banner_visit div:last-child { margin-top:10px; padding-top:5px; border-top:1px solid #ddd; }
	.banner_visit div:last-child>* { display:inline-block; color:#999; float:left; }
	.banner_visit div:last-child>*:last-child { float:right; }

	.banner_main_left_zone {z-index: 9; text-align: left;}
	.banner_main_right_zone {z-index: 9; }
	.price_type, .area_type {margin-right: 5px; display:inline-block; padding:0px 7px; border:1px solid; border-radius:4px; color:#fff; font-size:14px; float:left;}

	/* modal :: 승인 요청 목록 */
	#modal-approval_request_list .modal-dialog { position:fixed;top:50%;left:50%;width:830px;max-width:90%;margin:0 auto;transform:translate(-50%, -50%); }
	#modal-approval_request_list .modal-content { border:none;box-shadow:none; }
	#modal-approval_request_list .modal-header { position:relative;padding:12px 15px;border-bottom-color:#ddd; }
	#modal-approval_request_list .modal-title { font-family:NotoSansKR-Bold;font-size:16px;text-align:center; }
	#modal-approval_request_list .modal-close { position:absolute;top:50%;right:15px;float:none;padding:0;margin:-12px 0 0;border:none;background-color:transparent;opacity:1; }
	#modal-approval_request_list .modal-close>i { font-size:24px; }
	#modal-approval_request_list .modal-body-header { margin-bottom:10px; }
	#modal-approval_request_list .modal-body-headerL { float:left; }
	#modal-approval_request_list .item_num { height:35px;padding:0 12px;background-color:#0557fe;color:#fff;font-family:NotoSansKR-Bold;font-size:14px;line-height:35px;border-radius:5px; }
	#modal-approval_request_list .item_num>* { color:inherit;font:inherit; }
	#modal-approval_request_list .modal-body-headerR { float:right; }
	#modal-approval_request_list .modal-body-headerR .btn { width:100px;height:35px;font-family:NotoSansKR-Bold;font-size:14px;line-height:33px; }
	#modal-approval_request_list .modal-body-headerR .btn>i { line-height:35px;vertical-align:top; }
	#modal-approval_request_list .btn { padding:0;text-align:center;border-radius:5px; }
	#modal-approval_request_list .btn>i { display:inline-block;height:100%;margin-right:5px;color:inherit;font-size:inherit; }
	#modal-approval_request_list .btn_approval { border:1px solid #0557fe;background-color:#0557fe;color:#fff; }
	#modal-approval_request_list .btn_approval:hover { background-color:#fff;color:#0557fe; }
	#modal-approval_request_list .btn_cancle { border:1px solid #ff463a;background-color:#fff;color:#ff463a; }
	#modal-approval_request_list .btn_cancle:hover { background-color:#ff463a;color:#fff; }
	#modal-approval_request_list table { width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px; }
	#modal-approval_request_list table thead { position:sticky;top:0;left:0;background-color:#f7f7f7; }
	#modal-approval_request_list table thead th { height:30px;font-family:NotoSansKR-Bold;text-align:center; }
	#modal-approval_request_list .custom_chk { position:absolute;width:0;height:0;padding:0;border:none;overflow:hidden; }
	#modal-approval_request_list .custom_chk+label { display:block;width:16px;height:16px;margin:0 auto;border:1px solid #ddd;background-color:#fff;border-radius:2px;cursor:pointer; }
	#modal-approval_request_list .custom_chk+label>i { display:none;width:100%;height:100%;font-size:11px;text-align:center;line-height:14px;vertical-align:top; }
	#modal-approval_request_list .custom_chk:checked+label>i { display:inline-block; }
	#modal-approval_request_list table tbody td { padding:7px 5px;text-align:center; }
	#modal-approval_request_list table tbody td.text-left { text-align:left; }
	#modal-approval_request_list table tbody .btn_box { display:inline-block;vertical-align:top; }
	#modal-approval_request_list table tbody .btn_box>.btn { float:left;width:50px;height:25px;font-size:12px;line-height:25px; }
	#modal-approval_request_list table tbody .btn_box>.btn_approval { margin-right:5px;background-color:#fff;color:#0557fe; }
	#modal-approval_request_list table tbody .btn_box>.btn_approval:hover { background-color:#0557fe;color:#fff; }
	#modal-approval_request_list table tbody .btn_box>.btn>i { font-size:13px;line-height:25px; }
	#modal-approval_request_list table tbody .btn_box>.btn_cancle>i { margin-right:3px;}
	#modal-approval_request_list .modal_pagination_box { margin-top:10px; }
	#modal-approval_request_list .modal_pagination_box .pagination { margin:0; }
	#modal-approval_request_list .modal_pagination_box .pagination>li>a { padding:0 5px !important;font-size:14px;cursor:pointer; }
	#modal-approval_request_list .modal_pagination_box .pagination>.active>a { color:#0557fe;font-size:16px;cursor:default; }
	#modal-approval_request_list .modal_pagination_box .pagination>li>a>.fa { font-weight:normal !important;font-size:16px !important; }
@media (max-width: 768px) {
.admin_staff_icon_zone { right: -20px; bottom: 65px; }
.naver_blog > .main_sns_icon { width:30px; height:auto; }
}

	.banner_centerInfo h2.tel_info_boxs { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
	.banner_centerInfo h2.hp_info_boxs { margin-top: 0; }
</style>

<div class="modal" id="modal-share">
	<div class="modal-dialog modal-sm">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" onclick="$('#modal-share').modal('hide');" ><span><img src="/static/img/add/icon_v2_close.png" alt="닫기" style="width:20px; height:auto;" /></span></button>
				<h4 class="modal-title"><span>SNS 공유</span></h4>
			</div>
			<div class="modal-body text-center">
				<div class="btn_box">
					<div class="a_wrap">
						<a href="#" onclick="social('facebook')">
							<img src="/static/img/add/icon_v2_facebook.png" alt="icon_facebook">
							<span>페이스북</span>
						</a>
						<a href="#" onclick="social('twitter')">
							<img src="/static/img/add/icon_v2_twitter.png" alt="icon_twitter">
							<span>트위터</span>
						</a>
						<a href="#" id="naver_share">
							<img src="/static/img/add/icon_v2_naver.png" alt="icon_band">
							<span>네이버</span>
						</a>
						<a href="#" onclick="social('band')">
							<img src="/static/img/add/icon_v2_band.png" alt="icon_band">
							<span>네이버밴드</span>
						</a>
													<a href="#" onclick="social('kakaotalk')">
								<img src="/static/img/add/icon_v2_kakao.png" alt="icon_kakaotalk">
								<span>카카오톡</span>
							</a>
											</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="modal" id="modal-print">
	<div class="modal-dialog modal-sm">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" onclick="$('#modal-print').modal('hide');" ><span><img src="/static/img/add/icon_v2_close.png" alt="닫기" style="width:20px; height:auto;" /></span></button>
				<h4 class="modal-title"><span>프린트</span></h4>
			</div>
			<div class="modal-body text-center">
				<div class="btn_box">
					<div class="a_wrap">
						<style media="screen">
							#modal-print .modal-body { padding: 15px; }
															#modal-print .modal-dialog { width:320px; }
														#modal-print .btn_box .a_wrap { width:100%; }
															#modal-print .btn_box a { width:50% !important; }
														#modal-print .btn_box a>i { width:50px; height:50px; padding:0; background:#f1f1f1; border-radius:50px; border:1px solid #f1f1f1; color:#888; line-height:50px; font-size:20px; transition:all .2s; }
							#modal-print .btn_box a:hover i { background:#2371b9; border-color:#2371b9; color:#fff; }
							#modal-print .btn_box a>span { margin-top:5px; }
							#modal-print .fa-image.fa-image-none { position:relative; }
							#modal-print .fa-image.fa-image-none:after { content:'\f715'; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); }
						</style>
						<a id="print_pic" href="#">
							<i class="far fa-image"></i> <span>사진포함</span>
						</a>
						<a id="print_nopic" href="#">
							<i class="far fa-image fa-image-none"></i> <span>사진미포함</span>
						</a>

											</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="modal" id="modal-declares">
	<div class="modal-dialog modal-sm">
		<div class="modal-content">
			<form method="post" action="/call/insert_report_foo" id="form_call_reports">
				<input type="hidden" id="item_ids" name="item_ids" value="" />
				<div class="modal-header">
					<button type="button" class="close" onclick="$('#modal-declare').modal('hide');" ><span><img src="/static/img/add/icon_v2_close.png" alt="닫기" style="width:20px; height:auto;" /></span></button>
					<h4 class="modal-title"><span style="margin:0;"><img src="/static/img/add/report.png" alt="신고" style="display:inline-block; margin:3px; margin-left:0; float:left;"> 허위매물 신고하기</span></h4>
				</div>
				<div class="modal-body text-center">
					<div class="declare_box">
						<label for="declare1"><input type="radio" id="declare1" name="reasons" value="1"> 이미 거래가 완료된 매물입니다.</label>
						<label for="declare2"><input type="radio" id="declare2" name="reasons" value="2"> 실제 매물과 표기된 정보가 다릅니다.</label>
						<label for="declare3"><input type="radio" id="declare3" name="reasons" value="3" style="float:left;"> <textarea class="declare3" id="reason_etcs" name="reason_etcs" placeholder="직접입력" style="width:calc(100% - 22px); height:100px; padding:5px; border:1px solid #ddd; resize:none;"/></textarea></label>
					</div>
				</div>
				<div class="modal-footer">
					<div class="btn btn-block btn-default main_color" onclick="report_ons();">신고하기</div>
					<!--
					<div class="btn btn-block btn-default main_color" onclick="report_on();" data-dismiss="modal">신고하기</div>
					-->
				</div>
			</form>
		</div>
	</div>
</div>
	<script>
            $('.ul_price li').click(function() {

            var type = $(this).data("type");
			var category = $(this).data("category");
			if(!category) category = '0';
            var min_price = $(this).data("minprice");
            var max_price = $(this).data("maxprice");
            var min_real_price = $(this).data("minrealprice") / 10000;
            var max_real_price = $(this).data("maxrealprice") / 10000;

            if(type == 'inst' || type == 'sell') {
									if(min_price) min_price = Math.trunc(parseInt(min_price) / 10000);
					if(max_price) max_price = Math.trunc(parseInt(max_price) / 10000);
                            } else {
                if(min_price) min_price = Math.trunc(parseInt(min_price) / 10000);
                if(max_price) max_price = Math.trunc(parseInt(max_price) / 10000);
            }

            location.href = "/ItemReDirect/keywords/grid/" + type + "/"+category+"/0/0/" + min_price + "/" + max_price + "/" + min_real_price + "/" + max_real_price;
		});

        $('.ul_area li').click(function() {
            var type = $(this).data("type");
			var category = $(this).data("category");
			if(!category) category = '0';
 
                            var min_area = $(this).data("minareapy");
                var max_area = $(this).data("maxareapy");
              
        
            location.href = "/ItemReDirect/keywords/grid/0/"+category+"/0/0/0/0/0/0/"  + type + "/" + min_area + "/" + max_area;
        });

		$('.ul_category li').click(function() {
			if($(this).data("url")){
				window.open($(this).data("url"));
			} else {
				location.href = "/ItemReDirect/keywords/grid/0/" + $(this).data("id");
			}
		});

		$('.ul_theme li').click(function() {
			location.href = "/ItemReDirect/keywords/grid/0/0/" + $(this).data("id");
		});

	

</script>


<script>
	function updateIsFinish(obj, id, type, map, mobileOn) {
		if(!map) {
			map = 0;
		}
		var me = $(obj).closest(".btn");
		var is_public_html = me.siblings('.btn_public').html();

		

		$.post("/item/updateIsFinish", {id: id, type: type}, function(data) {
			var html = "";
			if(type == 1) {
				if(mobileOn == 1) {
					html = "<span class='info_btn deal_status deal_done' onclick='updateIsFinish($(this), " + id + ", 0, " + map + ", 1)'><i class=\"fas fa-handshake-alt\"></i>거래완료<br />26-06-04</span>";
				} else {
					html = "<span class='info_btn deal_status deal_done' onclick='updateIsFinish($(this), " + id + ", 0, " + map + ", 0)' style='font-size:12px;line-height:16px;'>완료일<br />26.06.04</span>"
				}
				if(map == 1) {
											$(".item_list_" + id + " .item_list_zone .label_play").hide();
						$(".item_list_" + id + " .item_list_zone").append('<div class="label_finish"></div>');
									}

				is_public_html = "<span class='is_privacy' onclick='updateIsPublic($(this), " + id + ", 1, " + map + ");'><i class='fad fa-toggle-off'></i><span>비공개 중</span></span>";
				if(map == 1) {
											var span = $(".item_list_" + id + " .item_list_zone .item_info").length;
						var margin = "";
						if(span > 0) {
							margin = "margin: " + $(".item_info:last").css("margin") + "; margin-left: 0;";
															$(".item_list_" + id + " .item_list_zone .item_info:last").after('<span class="is_private" style="display:inline-block; padding:1px 7px; background:rgba(255,255,255,1); border:2px solid blue; border-radius:4px; color:blue; font-size:14px; float:left;' + margin + '">비공개</span>');
													}else {
															$(".item_list_" + id + " .item_list_zone").prepend('<span class="is_private" style="display:inline-block; margin:8px; padding:1px 7px; background:rgba(255,255,255,1); border:2px solid blue; border-radius:4px; color:blue; font-size:14px; float:left;' + margin + '">비공개</span>');
													}
									}
				$('.btn_deal').addClass('btn_deal_done');
				$('.btn_public').removeClass('on');
			} else if(type == 0) {
				if(mobileOn == 1) {
					html = "<span class='info_btn deal_status deal_done' onclick='updateIsFinish($(this), " + id + ", 1, " + map + ",1)' style='line-height:32px'><i class='far fa-handshake-alt'></i><span>거래완료</span></span>";
				} else {
					html = "<span class='info_btn deal_status' onclick='updateIsFinish($(this), " + id + ", 1, " + map + ",0)'><i class='far fa-handshake-alt'></i><span>거래완료</span></span>";
				}

				if(map == 1) {
					$(".item_list_" + id + " .item_list_zone .label_play").show();
					$(".item_list_" + id + " .label_finish").remove();
				}
				$('.btn_deal').removeClass('btn_deal_done');

				if(map == 1) {
					$(".item_list_" + id + " .item_list_zone .is_private").remove();
				}
			}
			$(me).html(html);
			$('.btn_public').html(is_public_html);
		}, "JSON");
	}

	function updateIsConfirm(obj, id, type, map, mobileOn){
		if(!map) {
			map = 0;
		}
		var me = $(obj).closest(".btn");
		$.post('/item/updateIsConfirm',{id: id, type: type}, function(data) {
			var html = "";
			if(type == 1) {
				if(mobileOn == 1) {
					html = "<span class='info_btn confirm_status confirm_done' onclick='updateIsConfirm($(this), " + id + ", 0, " + map + ", 1)'><i class=\"fas fa-badge-check\"></i>확인완료<br />26-06-04</span>";
				} else {
					html = "<span class='info_btn confirm_status confirm_done' onclick='updateIsConfirm($(this), " + id + ", 0, " + map + ", 0)' style='font-size:12px;line-height:16px;'>확인일<br />26.06.04</span>";
				}
				if(map == 1) {
											$(".item_list_" + id + " .item_list_zone .label_play").hide();
						$(".item_list_" + id + " .item_list_zone").append('<div class="label_confirm"></div>');
									}
				$('.btn_confirm').addClass('btn_confirm_done');
			} else if(type == 0) {
				if(mobileOn == 1) {
					html = "<span class='info_btn confirm_status' onclick='updateIsConfirm($(this), " + id + ", 1, " + map + ",1)'><i class='far fa-badge-check'></i><span>확인완료</span></span>";
				} else {
					html = "<span class='info_btn confirm_status' onclick='updateIsConfirm($(this), " + id + ", 1, " + map + ",0)'><i class='far fa-badge-check'></i><span>확인완료</span></span>";
				}

				if(map == 1) {
					$(".item_list_" + id + " .item_list_zone .label_play").show();
					$(".item_list_" + id + " .label_confirm").remove();
				}
				$('.btn_confirm').removeClass('btn_confirm_done');
			}
			$(me).html(html);
		}, "JSON");
	}

	function updateIsConfirm2(id, type, map, mobileOn){
		if(!map) {
			map = 0;
		}
		$.post('/item/updateIsConfirm',{id: id, type: type}, function(data) {
			var html = "";
			if(type == 1) {
				if(mobileOn == 1) {
					html = "<span class='info_btn confirm_status confirm_done' onclick='updateIsConfirm($(this), " + id + ", 0, " + map + ", 1)'><i class=\"fas fa-badge-check\"></i>확인완료<br />26-06-04</span>";
				} else {
					html = "<span class='info_btn confirm_status confirm_done' onclick='updateIsConfirm($(this), " + id + ", 0, " + map + ", 0)' style='font-size:12px;line-height:16px;'>확인일<br />26.06.04</span>";
				}
				if(map == 1) {
											$(".item_list_" + id + " .item_list_zone .label_play").hide();
						$(".item_list_" + id + " .item_list_zone").append('<div class="label_confirm"></div>');
									}
				$('.btn_confirm').addClass('btn_confirm_done');
			} else if(type == 0) {
				if(mobileOn == 1) {
					html = "<span class='info_btn confirm_status' onclick='updateIsConfirm($(this), " + id + ", 1, " + map + ",1)'><i class='far fa-badge-check'></i><span>확인완료</span></span>";
				} else {
					html = "<span class='info_btn confirm_status' onclick='updateIsConfirm($(this), " + id + ", 1, " + map + ",0)'><i class='far fa-badge-check'></i><span>확인완료</span></span>";
				}

				if(map == 1) {
					$(".item_list_" + id + " .item_list_zone .label_play").show();
					$(".item_list_" + id + " .label_confirm").remove();
				}
				$('.btn_confirm').removeClass('btn_confirm_done');
			}

			$('.confirm_date_txt').html('2026-06-04');
			$('.item_view_confirm_date_wrap').html(html);
			alert('매물 확인일이 갱신되었습니다.');
		}, "JSON");
	}

	$('.confirm_update_btn').click(function() {
		updateIsConfirm2('', '1', 1, '0');
	});

	function updateIsRegdate(id) {
		var confirm = alert('등록일 갱신을 하시겠습니까?')
			$.post('/item/updateIsRegdate',{id: id}, function(data) {
				if(data) {
					alert('변경완료되었습니다');
					var regdate = data.regdate;
					var regdate2 = data.regdate2;

					$('.reup_txt').text(regdate);
					$('.reup_txt2').text(regdate2);
				}
			}, "JSON");

	}

	function updateIsPublic(obj, id, type, map) {
				
		if(!map) {
			map = 0;
		}
		var me = $(obj).closest(".btn");
		$.post("/item/updateIsPublic", {id: id, type: type}, function(data) {
			if(data == 'no'){
				$('#required_item_check_id').val(id);
				$('#modal-item_checks').modal('show');
			} else {
				
				var html = "";
				if(type == 1) {
					$(me).addClass("on");
					html = "<span class='is_public' onclick='updateIsPublic($(this), " + id + ", 0, " + map + ");'><i class='fad fa-toggle-on'></i><span>공개 중</span></span>";
					if(map == 1) {
						$(".item_list_" + id + " .item_list_zone .is_private").remove();
					}
				}else if(type == 0) {
					$(me).removeClass("on");
					html = "<span class='is_privacy' onclick='updateIsPublic($(this), " + id + ", 1, " + map + ");'><i class='fad fa-toggle-off'></i><span>비공개 중</span></span>";
					if(map == 1) {
													var span = $(".item_list_" + id + " .item_list_zone .item_info").length;
							var margin = "";
							if(span > 0) {
								margin = "margin: " + $(".item_info:last").css("margin") + "; margin-left: 0;";
																	$(".item_list_" + id + " .item_list_zone .item_info:last").after('<span class="is_private" style="display:inline-block; padding:1px 7px; background:rgba(255,255,255,1); border:2px solid blue; border-radius:4px; color:blue; font-size:14px; float:left;' + margin + '">비공개</span>');
															}else {
																	$(".item_list_" + id + " .item_list_zone").prepend('<span class="is_private" style="display:inline-block; margin:8px; padding:1px 7px; background:rgba(255,255,255,1); border:2px solid blue; border-radius:4px; color:blue; font-size:14px; float:left;' + margin + '">비공개</span>');
															}
											}
				}
				$(me).html(html);
							}

		}, "JSON");
	}

	function updateIsPublic_tmp(obj, id, type, map) {
				
		if(!map) {
			map = 0;
		}

		var me = $(obj).closest(".btn");
		$.post("/item/updateIsPublic", {id: id, type: type}, function(data) {
			if(data == 'no'){
				$('#required_item_check_id').val(id);
				$('#modal-item_checks').modal('show');
			} else {

			var html = "";
			if(type == 1) {
				$(me).addClass("on");
				html = "<span class='is_public' onclick='updateIsPublic($(this), " + id + ", 0, " + map + ");'><i class='fad fa-toggle-on'></i><span>공개 중</span></span>";
				if(map == 1) {
					$(".item_list_" + id + " .item_list_zone .is_private").remove();
				}
			}else if(type == 0) {
				$(me).removeClass("on");
				html = "<span class='is_privacy' onclick='updateIsPublic($(this), " + id + ", 1, " + map + ");'><i class='fad fa-toggle-off'></i><span>비공개 중</span></span>";
				if(map == 1) {
											var span = $(".item_list_" + id + " .item_list_zone .item_info").length;
						var margin = "";
						if(span > 0) {
							margin = "margin: " + $(".item_info:last").css("margin") + "; margin-left: 0;";
															$(".item_list_" + id + " .item_list_zone .item_info:last").after('<span class="is_private" style="display:inline-block; padding:1px 7px; background:rgba(255,255,255,1); border:2px solid blue; border-radius:4px; color:blue; font-size:14px; float:left;' + margin + '">비공개</span>');
													}else {
															$(".item_list_" + id + " .item_list_zone").prepend('<span class="is_private" style="display:inline-block; margin:8px; padding:1px 7px; background:rgba(255,255,255,1); border:2px solid blue; border-radius:4px; color:blue; font-size:14px; float:left;' + margin + '">비공개</span>');
													}
									}
			}
			$(me).html(html);
						}
		}, "JSON");
	}

	function report_ons() {
		$('#form_call_reports').submit();
	}

	$('#form_call_reports').ajaxForm({
		beforeSubmit: function(){
			reason = $('input[name="reasons"]:checked').val();
			if(reason){
				return true;
			} else {
				alert('신고 유형을 선택해주세요.');
				return false;
			}

		}, success: function(msg) {
			alert('신고가 접수되었습니다.');
			$("input:radio[name='reasons']:radio[value='1']").prop('checked', false);
			$("input:radio[name='reasons']:radio[value='2']").prop('checked', false);
			$("input:radio[name='reasons']:radio[value='3']").prop('checked', false);
			$("#reason_etcs").val('');
			$('#modal-declares').modal('hide');
		}
	});

	$(document).on('show.bs.modal', '#modal-declares', function (e) {
	   $('#item_ids').val($('#report').data('id'));
	});

</script>

<div class="modal modal_itemScroll" id="modal-item">
			<style media="screen">
			#modal-item.modal_itemScroll { overflow-y:hidden !important; }
			#modal_item_content { width:100%; height:100%; float:left; }
				.modal_itemScroll .modal_body { display:inline-block; width:1140px; height:100%; background:#fff; position:absolute; top:0; left:50%; transform:translateX(-50%); }
				.modal_itemScroll.roadview .modal_body { width:100%; }
				.modal_itemScroll .modal_btn { display:inline-block; width:40px; position:fixed; top:20px; right:calc((100% - 1140px) / 2 - 60px); }
				.modal_itemScroll .modal_close { display:inline-block; width:40px; height:40px; float:left; }
					.modal_itemScroll .modal_close i { display:inline-block; width:40px; height:40px; border:3px solid #fff; border-radius:40px; text-align:center; line-height:34px; font-size:26px; color:#fff; float:left; cursor:pointer; }
					.modal_itemScroll .modal_close i:hover { border-color:#2371b9; color:#2371b9; transition:all .2s; }
				.modal_itemScroll .modal_newWindow { display:inline-block; width:40px; height:40px; margin-top:10px; float:left; }
					.modal_itemScroll .modal_newWindow i { display:inline-block; width:40px; height:40px; border:3px solid #fff; border-radius:40px; text-align:center; line-height:34px; font-size:20px; color:#fff; float:left; cursor:pointer; }
					.modal_itemScroll .modal_newWindow i:hover { border-color:#2371b9; color:#2371b9; transition:all .2s; }
			@media (max-width:1280px) {
				.modal_itemScroll .modal_body { width:calc(100% - 60px); left:0; transform:none; }
				.modal_itemScroll .modal_btn { right:10px; }
				.modal .item_view_left { width:calc(100% - 440px); }
				.modal .item_view_right { width:440px; }
			}
			@media (max-width:992px) {
				body.modal-open { height:100%; overflow:hidden; }
				.modal#modal-item { }
				.modal_itemScroll .modal_body { width:100%; height:100%; }
			}
		</style>
				<div class="modal_btn">
			<div class="modal_close" data-dismiss="modal"><i class="fal fa-times"></i></div>
			<div class="modal_newWindow" onclick="window.open('#')"><i class="far fa-external-link"></i></div>
		</div>
		<div class="modal_body">
			<div id="modal_item_content"></div>
		</div>
	</div>

			<style>
			.modal-backdrop + .modal-backdrop.in { z-index: 1050; }
			#modal-item { overflow: hidden; padding-left: 0 !important; }

			#modal-item.modal.in > .modal_body { width: 1380px; max-width: 100%; height: 100%; margin: 0 auto; }
			#modal-item.modal.in > .modal_body > .modal-content { width: 100%; height: 100%; border-radius: 0; box-shadow: none; border: none; }

			#modal-item.modal.in > .modal_body > .modal-header { padding: 0; min-height: 0; display: block; }
			#modal-item.modal.in > .modal_body > .modal-header .modal-title { display: none; }

			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_header.fix { position: static !important; }
			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_header .zigbang_header_top { display: none; }

			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_header .zigbang_header_btm .zigbang_tab_box_wrap .zigbang_tab_box { margin-bottom: 0; }

			#modal-item.modal.in > .modal_btn { display:inline-flex; flex-flow: wrap row; width:40px; position:fixed; top:20px; right:calc((100% - 1380px) / 2 - 60px); }
				#modal-item.modal.in > .modal_btn>* { margin-right: 0; margin-bottom: 10px; }
				#modal-item.modal.in > .modal_btn > .modal_close { border: none !important; margin-bottom: 0; }
				#modal-item.modal.in > .modal_btn > .modal_newWindow { border: none !important; }
				#modal-item.modal.in > .modal_btn > .modal_close { width: 40px; height: 40px; }
				#modal-item.modal.in > .modal_btn > .modal_close > a { display:inline-block; width:40px; height:40px; float:left; background: none; border: none; }
					#modal-item.modal.in > .modal_btn > .modal_close > a i { display:inline-block; width:40px; height:40px; border:3px solid #fff; border-radius:40px; text-align:center; line-height:34px; font-size:18px; color:#fff; float:left; cursor:pointer; }
					#modal-item.modal.in > .modal_btn > .modal_close > a i:hover { border-color:#2371b9; color:#2371b9; transition:all .2s; }
				#modal-item.modal.in > .modal_btn > .modal_newWindow { display:inline-block; width:40px; height:40px; float:left; background: none !important; }
					#modal-item.modal.in > .modal_btn > .modal_newWindow i { display:inline-block; width:40px; height:40px; border:3px solid #fff; border-radius:40px; text-align:center; line-height:34px; font-size:18px; color:#fff; float:left; cursor:pointer; background: none; }
					#modal-item.modal.in > .modal_btn > .modal_newWindow i:hover { border-color:#2371b9; color:#2371b9; transition:all .2s; }

			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_header { padding: 0 10px; }
				#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_header .inner_1300 { width: 100%; }

			#modal-item.modal.in > .modal_body #modal_item_content, #modal-item.modal.in > .modal_body .itemView, #modal-item.modal.in > .modal_body #zigbang_wrap { height: 100%; }
			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_content_wrap { height: 100%; padding: 0; display: flex; }
			#modal-item.modal.in > .modal_body #modal_item_content { padding: 0; min-height: inherit; }

			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_body { width: 100%; height: calc(100% - 47px); padding-top: 0; }

			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_content_L { width: calc(100% - 440px); margin-right: 0; padding: 15px; max-height: 100%; overflow: hidden; overflow-y: auto; background: #FFF; }
			#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_content_R { padding: 15px; position: static; }

			#modal-item.modal.in > .modal_body .modal-footer { display: none; }

			#modal-item.modal.in > .modal_body #zigbang_wrap .slick-prev, #modal-item.modal.in > .modal_body #zigbang_wrap .slick-next { width: 40px !important; height: 40px !important; background: rgba(0,0,0,0.4); border-radius: 50%; }
			#modal-item.modal.in > .modal_body #zigbang_wrap .slick-prev:before, #modal-item.modal.in > .modal_body #zigbang_wrap .slick-next:before { width: 40px !important; height: 40px !important; line-height: 40px !important; color: #FFF !important; text-shadow: none; background: none; font-size: 16px !important; font-weight: normal !important; opacity: 1 !important; }
			#modal-item.modal.in > .modal_body #zigbang_wrap .slick-prev:before { position: relative; left: -2px; }

			@media (max-width:992px) {
				#modal-item.modal.in > .modal_body #zigbang_wrap .zigbang_content_R { display: block; }
			}

			#modal-item.modal.in > .modal_body > .modal-content > .modal-header { display: inline; padding: 0; }
			#modal-item.modal.in > .modal_body > .modal-content > .modal-header .modal-title { display: none; }
		</style>
	
<div class="modal modal-secretMemo_add_text" id="modal-add_text">
	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<div class="modal_title">
				<h4><span class="add_text_title" style="margin-right:5px;">&#91;&#93;</span>홍보 문구</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="far fa-times"></i></button>
			</div>
			<div class="modal_content">
				<textarea id="copyarea" name="" value=""></textarea>
			</div>
			<div class="modal_btn_box">
				<div class="btn_wrap">
					<button type="button" data-clipboard-action="copy" data-clipboard-target="#copyarea" onclick="msgbox('문구 복사 완료');" class="btn btn_026 btn_cont_copy"><i class="fas fa-copy"></i><span clas="mob_hide">광고 </span>문구 복사</button>
					<span class="btn btn_cont_reset"><i class="fas fa-redo-alt"></i><span clas="mob_hide">내용 </span>초기화</span>
					<script type="text/javascript">
						new ClipboardJS('.btn_cont_copy');
					</script>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="modal " id="modal-privacy_terms" >
    <div class="modal-dialog " >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span style="font-size:30px;">×</span></button>
                <h4 class="modal-title">개인정보 수집 안내</h4>
            </div>
            <div class="modal-body">
                개인정보의 수집 및 이용 동의<br/>
						본사는 서비스 제공을 위해서 아래와 같이 개인정보를 수집합니다. 정보주체는 본 개인정보의 수집 및 이용에 관한 동의를 거부하실 권리가 있으나, 서비스 제공에 필요한 최소한의 개인정보이므로 동의를 해주셔야 서비스를 이용하실 수 있습니다.<br/>
						<br/>
						• 수집하려는 개인 정보 항목: 휴대폰 번호<br/>
						• 개인정보의 수집 목적: 문의신청<br/>
						• 개인정보의 보유기간: 사용 후 바로 삭제<br/>
						<br/>
						개인정보 제3자 제공 동의<br/>
						<br/>
						본사는 서비스 제공을 위해서 아래와 같이 개 인정보를 수집합니다. 정보주체는 본 개인 정보의 수집 및 이용에 관한 동의를 거부하실 권리가 있으나, 서비 스 제공에 필요한 최소한의 개인정보이므로 동의를 해 주셔야 서비스를 이용하실 수 있습니다.<br/>
						<br/>
						• 개인정보를 제공받는 자 : 본사 중개사무소<br/>
						• 개인정보를 제공받는 자의 개인정보 이용 목적 : 매물중개목적<br/>
						• 제공하는 개인정보의 항목 : 휴대폰 번호<br/>
						• 개인정보를 제공받는 자의 개인정보 보유 및 이용기간 : 5년<br/>
						• 동의 거부권 및 불이익 : 해당 내용에 동의하지 않을 시, 매물 중개 의뢰가 불가능합니다.            </div>
            <div class="modal-footer">
                <div class="btn btn-block btn-default main_color" data-dismiss="modal">확인</div>
            </div>
        </div>
    </div>
</div>

<!-- modal :: 승인 요청 목록 -->
<div class="modal" id="modal-approval_request_list" data-keyboard="true" tabindex="-1">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title">부기사 플랫폼 승인 요청 목록</h5>
				<button type="button" class="modal-close" data-dismiss="modal">
					<i class="fal fa-times"></i>
				</button>
			</div>
			<div class="modal-body">
				<div class="clearfix modal-body-header">
					<div class="modal-body-headerL">
						<div class="item_num">
							승인요청 : <span class="all_cnt">100</span>건
						</div>
					</div>
					<div class="modal-body-headerR">
						<div class="btn btn_approval"><i class="fas fa-file-check"></i>선택 승인</div>
						<div class="btn btn_cancle"><i class="fas fa-ban"></i>선택 취소</div>
					</div>
				</div>
				<table>
					<colgroup>
						<col width="26" />
						<col width="64" />
						<col width="200" />
						<col width="110" />
						<col width="65" />
						<col width="60" />
						<col width="150" />
						<col width="125" />
					</colgroup>
					<thead>
						<tr>
							<th>
								<input type="checkbox" id="checkall2" class="custom_chk" />
								<label for="checkall2">
									<i class="fas fa-check"></i>
								</label>
							</th>
							<th>회원명</th>
							<th>이메일</th>
							<th>연락처</th>
							<th>구분</th>
							<th>신청유형</th>
							<th>요청일</th>
							<th>비고</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>
								<input type="checkbox" name="approval_chk[]" value="" id="approval_chk" class="custom_chk chk" />
								<label for="approval_chk">
									<i class="fas fa-check"></i>
								</label>
							</td>
							<td></td>
							<td class="text-left"></td>
							<td></td>
							<td>
								                                보조원</td>
							<td>신규</td>
							<td>1970-01-01 09:00:00</td>
							<td>
								<div class="btn_box">
									<div class="btn btn_approval"><i class="fas fa-file-check"></i>승인</div>
									<div class="btn btn_cancle"><i class="fas fa-ban"></i>취소</div>
								</div>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="pagination_box modal_pagination_box text-center">
					<ul class="pagination">
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="modal" id="modal-customer-search">
	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<div class="modal_title">
				<h4><span class="add_text_title" style="margin-right:5px;"></span>고객 검색</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="far fa-times"></i></button>
			</div>
			<div class="modal_content">
				<div id="customerSearchBox">
					<select id="search_cus_type">
						<option value="">고객분류</option>
													<option value="1">매도인</option>
							<option value="2">매수인</option>
							<option value="3">대리인</option>
							<option value="4">중개사</option>
							<option value="5">임차인</option>
							<option value="6">임대인</option>
							<option value="7">관리인</option>
							<option value="8">기타</option>
											</select>
					<div class="input_span">
						<input type="text" id="search_cus_name" value="" placeholder="고객명, 연락처">
						<span class="btn btn_owner" onclick="searchCusModal();"><i class="fa fa-search"></i></span>
					</div>
				</div>
				<div id="customerResult">
				</div>
			</div>

			<div class="modal_btn_box">
				<div class="pagination_box modal_pagination_box text-center">
					<ul class="customer_pagination" id="customerPaging">
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

<script>
	function plusMobileBusInfo(){
		 // 숨겨진 span 중 상단 5개 선택
		var hiddenSpans = $('.bus_mobile_data_zone:hidden').slice(0, 5);
		// 해당 요소들 보이게 변경
		hiddenSpans.css('display', 'inline-flex');
		// 만약 더 이상 숨겨진 게 없으면 버튼 숨김
		if ($('.bus_mobile_data_zone:hidden').length === 0) {
		  $('.bus_btn_plus_mobile').hide();
		}
	}
	function busStationModalOpen(nodeid){
		$.post("https://data.bugisa.kr/api/get_bus_node_data", { nodeid: nodeid, }, function(data) {
			if(data.rsltCode == '00'){
				view_bus_nodenm = ''; view_bus_nodeno = ''; view_bus_html = '';
				if(data.rsltData.bus){
					view_bus_html = ''; view_bus_list_html = ''; view_bus_end = new Array(); view_bus_end_txt = '';
					$.each(data.rsltData.bus, function(index, bus){
						if(!view_bus_nodenm) view_bus_nodenm = bus.nodenm;
						if(!view_bus_nodeno) view_bus_nodeno = bus.nodeno;
						view_bus_routetp = '';
						view_bus_routetp = bus.routetp;
						view_bus_routetp = view_bus_routetp.replace("버스", "");
						view_bus_routetp = view_bus_routetp.replace("직행좌석", "직행");
						view_bus_color_code = '';
						if (view_bus_routetp.indexOf("마을") !== -1) {
							view_bus_color_code = '71cc10';
						} else if (view_bus_routetp.indexOf("지선") !== -1) {
							view_bus_color_code = '71cc10';
						} else if (view_bus_routetp.indexOf("광역") !== -1) {
							view_bus_color_code = 'e50942';
						} else if (view_bus_routetp.indexOf("공항") !== -1) {
							view_bus_color_code = '75a1d9';
						} else if (view_bus_routetp.indexOf("직행") !== -1) {
							view_bus_color_code = 'e0121a';
						} else if (view_bus_routetp.indexOf("마을") !== -1) {
							view_bus_color_code = '69cc46';
						} else if (view_bus_routetp.indexOf("간선") !== -1) {
							view_bus_color_code = '395cb4';
						} else if (view_bus_routetp.indexOf("급행") !== -1) {
							view_bus_color_code = 'a745cd';
						} else if (view_bus_routetp.indexOf("농어촌") !== -1) {
							view_bus_color_code = 'ec8a32';
						} else if (view_bus_routetp.indexOf("마중") !== -1) {
							view_bus_color_code = '69cc46';
						} else if (view_bus_routetp.indexOf("순환") !== -1) {
							view_bus_color_code = 'f7b009';
						} else if (view_bus_routetp.indexOf("시외") !== -1) {
							view_bus_color_code = 'e0121a';
						} else if (view_bus_routetp.indexOf("심야") !== -1) {
							view_bus_color_code = '395cb4';
						} else if (view_bus_routetp.indexOf("외곽") !== -1) {
							view_bus_color_code = '50a332';
						} else if (view_bus_routetp.indexOf("좌석") !== -1) {
							view_bus_color_code = '395cb3';
						} else {
							view_bus_color_code = '69cc46';
						}
						
						this_view_bus_html = '<span class="" style="background:#'+view_bus_color_code+';">'+view_bus_routetp+'</span>';
						if(view_bus_html){
							view_bus_html = view_bus_html.replace(this_view_bus_html, '');
						}
						view_bus_html += '<span class="" style="background:#'+view_bus_color_code+';">'+view_bus_routetp+'</span>';
						
						$('#bus_badge_box_tp_zone').html(view_bus_html);
						if(bus.endnodenm){
							if (view_bus_end.indexOf(bus.endnodenm) === -1) {
								if(view_bus_end.length < 3){
									view_bus_end.push(bus.endnodenm);
								}
							}
						}
						
						view_bus_list_html += '<div class="">';
						view_bus_list_html += '	<div class="left bus_badge_box"><span class="" style="background:#'+view_bus_color_code+';">'+view_bus_routetp+'</span><b>'+bus.routeno+'</b></div>';
						view_bus_list_html += '	<div class="right">'+bus.startnodenm+' <i class="far fa-arrows-alt-h"></i> '+bus.endnodenm+'</div>';
						view_bus_list_html += '</div>';
					});
					$('#bus-station-modal-nodenm').html(((view_bus_nodenm)?view_bus_nodenm:'-'));
					$('#bus-station-modal-nodeno').html(((view_bus_nodeno)?view_bus_nodeno:''));
					if(view_bus_end.length > 0){
						view_bus_end_txt = view_bus_end.join(',') + ' 방면';
						$('#bus-station-modal-endpoint').html(view_bus_end_txt);
					}
					if(view_bus_list_html){
						$('#bus-station-modal-list').html(view_bus_list_html);
					}
					
					var map_bus = data.rsltData.bus[0];
					if(map_bus.lat && map_bus.lng) {
													
							kakao.maps.load(function() {
								var busposition = new kakao.maps.LatLng(map_bus.lat, map_bus.lng);
								var busmapOptionsItem = {
									center: busposition,
									level: 3,
									disableDoubleClickZoom: true,
								};
								var map_view_bus = new kakao.maps.Map(document.getElementById('map_view_bus'), busmapOptionsItem);

								var busimageSrc = '/static/img/common/marker.png', busimageSize = new kakao.maps.Size(50, 50), busimageOption = {offset: new kakao.maps.Point(25, 50)};
								var busmarkerImage = new kakao.maps.MarkerImage(busimageSrc, busimageSize, busimageOption),busmarkerPosition = busposition;
								var busmarker = new kakao.maps.Marker({position: busmarkerPosition, image: busmarkerImage });
								busmarker.setMap(map_view_bus);

								$('#modal-bus-station').modal('show');
								map_view_bus.relayout();
								map_view_bus.setCenter(busposition);
							});
											}
				}
			} else {
				return;
			}
		}, "JSON");
	}
</script>

<div class="modal modal-bus-station" id="modal-bus-station">
	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<div class="modal_con_top">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fal fa-times"></i></button>
				<div class="">
					<div class="top bus_badge_box" id="bus_badge_box_tp_zone">
						<span class="" style="background:#2342b5;">간선</span>
						<span class="" style="background:#71cc10;">마을</span>
						<span class="" style="background:#71cc10;">지선</span>
						<span class="" style="background:#e50942;">광역</span>
						<span class="" style="background:#75a1d9;">공항</span>
					</div>
					<div class="btm">
						<h4 id="bus-station-modal-nodenm"></h4>
						<div class="">
							<span class="txt1"><i class="far fa-bus"></i> <span id="bus-station-modal-nodeno"></span></span>
							<span class="txt2">·</span>
							<span class="txt3" id="bus-station-modal-endpoint">방면</span>
						</div>
					</div>
				</div>
			</div>
			<div class="modal_con_mid">
				<div class="modal_map_box"><div id="map_view_bus" class="view_map" ></div></div>
			</div>
			<div class="modal_con_btm" id="bus-station-modal-list">
			</div>
		</div>
	</div>
</div>

<style>
		#modal-bus-station{z-index:1052;}
	#modal-bus-station.modal:not(#modal-item) .modal-dialog{left: 50%;top: 50%;transform: translate(-50%, -50%);width: 450px;height: auto; border-radius: 15px; overflow: hidden;margin:0; border:1px solid #ddd;background:#fff;}
	#modal-bus-station.modal:not(#modal-item) .modal-dialog .modal_wrap_ver1{height:100%;}
	#modal-bus-station button.close{opacity:1;color:#000;}
	#modal-bus-station .modal_wrap_ver1 .modal_content{height: 100%;display: inline-flex;flex-direction: column;justify-content: center;align-items: center;}
	#modal-bus-station .modal_con_top{padding:15px;border-bottom:1px solid #ddd;}
	#modal-bus-station .modal_con_mid{width:100%;padding:15px;border-bottom:0px;}
	#modal-bus-station .modal_con_mid .modal_map_box{height:150px;border:1px solid #ddd;border-radius:10px;}
	#modal-bus-station .modal_con_mid .modal_map_box #map_view_bus {height:100% !important; width:100% !important;}
	#modal-bus-station .modal_con_btm{padding:0 15px 15px;max-height: 250px;overflow-y:auto;}
	#modal-bus-station .bus_badge_box span{min-width: 35px;height: 20px;display: inline-flex;font-size: 13px;text-align: center;color: #FFF;background: #999;border-radius: 5px;margin-right: 5px;justify-content: center;align-items: center;padding:0 6px;}
	#modal-bus-station .btm h4{font-family: 'NotoSansKR-Bold';margin-top:10px;margin-bottom:5px;}
	#modal-bus-station .btm div span{color:#777;}
	#modal-bus-station .modal_con_btm>div{min-height: 40px;background: #fff;border: 1px solid #ddd;padding: 5px 10px;border-radius: 10px;display: inline-flex;width: 100%;align-items: center;justify-content: space-between; flex-wrap: wrap;}
	#modal-bus-station .modal_con_btm>div:not(:last-child){margin-bottom:5px;}
	#modal-bus-station .modal_con_btm>div .left{min-width:70px;}
	#modal-bus-station .modal_con_btm>div .left b{font-family: 'NotoSansKR-Bold';}
	#modal-bus-station .modal_con_btm>div .right{color:#777;}
	#modal-bus-station .modal_con_btm>div .right i{margin:0 3px;}

	@media (max-width:992px) {

	}
</style>

<div class="modal" id="modal_item_duplicate_check">
	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<div class="modal_title">
				<h4>중복 매물 알림</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="far fa-times"></i></button>
			</div>
			<div class="modal_content">
				<div class="content_title">
					<div class="modal_icon">
						<i class="far fa-check-circle"></i>
					</div>

					<div class="modal_title_boxs">
						<div class="modal_title_hdtt">등록 가능한 주소입니다</div>
						<div class="modal_title_hdtt modal_title_hdtt_flex">
							<p class="modal_title_sub">중복으로 체크된 매물 없어<br>등록 가능한 주소 또는 호실 입니다</p>
						</div>
						
					</div>
				</div>

				<div class="modal_btn modal_btn_duplist">
									</div>
			</div>
		</div>
	</div>
</div>	

<style>
		#modal_item_duplicate_check.modal:not(#modal-item) .modal-dialog{left: 50%;top: 50%;transform: translate(-50%, -50%);width: 350px;height: 300px; border-radius: 10px; overflow: hidden;}
	#modal_item_duplicate_check.modal:not(#modal-item) .modal-dialog .modal_wrap_ver1{height:100%;}
	#modal_item_duplicate_check .modal_wrap_ver1 .modal_content{margin-bottom:20px; height: auto;display: inline-flex;flex-direction: column;justify-content: center;align-items: center;}
	#modal_item_duplicate_check .modal_wrap_ver1 .modal_content .content_title{display: inline-flex;flex-direction: column;align-items: center;text-align: center;}
	#modal_item_duplicate_check .modal_btn_duplist .btn_del_list{margin-right:0; font-size: 15px; font-family: auto; padding: 0 20px;}
	#modal_item_duplicate_check .modal_icon i{font-size:50px;color:#0557fe;}
	#modal_item_duplicate_check .modal_title_hdtt{font-size: 20px; color: #0557fe; font-family: 'NotoSansKR-Bold'; margin: 10px 0 5px;}
	#modal_item_duplicate_check .modal_title_sub{font-size: 15px; color: #0557fe;}
	#modal_item_duplicate_check .modal_wrap_ver1 .modal_title {border: none !important;}
	#modal_item_duplicate_check .modal_wrap_ver1 .modal_title > * { opacity: 1;}
	#modal_item_duplicate_check .modal_wrap_ver1 .modal_title i {color: #000;}

	@media (max-width:992px) {

	}
</style>

<div class="modal" id="modal_item_duplicate">
	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<div class="modal_title">
				<h4>중복 매물 알림</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="far fa-times"></i></button>
			</div>
			<div class="modal_content">
				<div class="content_title">
					<div class="modal_icon">
						<i class="fas fa-exclamation-triangle"></i>
					</div>

					<div class="modal_title_boxs">
						<div class="modal_title_hdtt">중복 매물이 있는 주소입니다! 주소를 확인해주세요</div>
													<div class="modal_title_hdtt modal_title_hdtt_flex">
								<span class="modal_title_sub">중복으로 체크된 매물이 삭제된 매물일 경우
																	<br>관리자(중개소 대표)에게 문의하여 해당 매물을 완전 삭제 해주시기 바랍니다
																</p>
							</div>
											</div>
				</div>

				<div class="item_duplicate_list" id="modal_item_duplicate_list">
					<div class="item_duplicate_list_box">
						<div class="item_duplicate_list_box_top">
							<div class="item_duplicate_list_box_top_L">
								<div class="" style="background-image: url('/static/img/common/no_img.gif');"></div>
							</div>

							<div class="item_duplicate_list_box_top_R">
								<div class="titles ellipsis">
									<span class="item_nums">10001</span>
									<span class="status deletes">[삭제된매물]</span>
									<span class="item_addrs">서울 구로구 구로동 123-456</span>
								</div>

								<div class="item_info_box">
									<div>
										<span>
											<span class="span_tt">공급</span>
											<span class="span_ct">100㎡(30평)</span>
										</span>

										<span>
											<span class="span_tt">전용</span>
											<span class="span_ct">90㎡(27평)</span>
										</span>
									</div>

									<div>
										<span>
											<span class="span_tt">해당</span>
											<span class="span_ct">3층</span>
										</span>

										<span>
											<span class="span_tt">총</span>
											<span class="span_ct">5층</span>
										</span>

										<span>
											<span class="span_tt">담당자</span>
											<span class="span_ct">김부기 팀장</span>
										</span>
									</div>

									<div>
										<span>
											<i class="fas fa-subway"></i>
											구로디지털단지역(2), 남구로역(7), 대림역(2)
										</span>
									</div>
								</div>
							</div>
						</div>

						<div class="item_duplicate_list_box_btm">
							<span class="thema_type_box">
								<span class="ellipsis">월세</span>
								<span class="ellipsis">투룸 </span>
							</span>

							<span class="price_type_box ellipsis">
								<span class="price_block detail_0 price_profit_chang">창</span>
								<span class="price_span ">11</span>
								<span class="m-r-xs">억</span>
								<span class="price_block detail_0 price_profit_month">월</span>
								<span class="price_span ">500</span>
								<span class="m-r-xs">만</span>
							</span>
						</div>
					</div>
				</div>

				<div class="modal_btn modal_btn_duplist">
										<div class="dup_close_btn" onclick="$('#modal_item_duplicate').modal('hide');" >닫기</div>
				</div>
			</div>
		</div>
	</div>
</div>

<style>
		#modal_item_duplicate.modal.in .modal-dialog { position: absolute; width: 500px; top: 50% !important; left: 50%; border-radius: 10px; transform: translate(-50%, -50%) !important; }
		#modal_item_duplicate.modal.in .modal_wrap_ver1 { background: #FFF; border-radius: 8px; }

		#modal_item_duplicate.modal.in .modal_wrap_ver1 .modal_title { height:40px; position:relative; border-bottom: 1px solid #DDD; }
		#modal_item_duplicate.modal.in .modal_wrap_ver1 .modal_title>* { display:inline-block; max-width:90%; margin:0; position:absolute; }
		#modal_item_duplicate.modal.in .modal_wrap_ver1 .modal_title h4 { font-size:18px; font-weight:bold; top:50%; left:50%; transform:translate(-50%, -50%);}
		#modal_item_duplicate.modal.in .modal_wrap_ver1 .modal_title .close { top:50%; right:15px; transform:translateY(-50%); }

		#modal_item_duplicate.modal.in .modal-dialog .modal_title .close { opacity: 1; }
		#modal_item_duplicate.modal.in .modal-dialog .modal_title .close i { opacity: 1; font-weight: 300; }

		#modal_item_duplicate.modal.in .modal-dialog .modal_content { padding: 25px; max-height: calc(75vh - 50px); overflow-y: auto; }

			#modal_item_duplicate.modal.in .modal-dialog .modal_content .modal_icon { text-align: center; margin-bottom: 20px; }
				#modal_item_duplicate.modal.in .modal-dialog .modal_content .modal_icon i { font-size: 60px; color: #F5425E; }

				#modal_item_duplicate.modal.in .modal-dialog .modal_content .modal_title_boxs { width: 100%; margin-bottom: 20px; text-align: center; }
				#modal_item_duplicate.modal.in .modal-dialog .modal_content .modal_title_boxs .modal_title_hdtt { color:#F5425E;font-family:'NotoSansKR-Bold';font-size:16px;line-height:1.2; }
				#modal_item_duplicate.modal.in .modal-dialog .modal_content .modal_title_boxs .modal_title_hdtt.modal_title_hdtt_flex{}
				#modal_item_duplicate.modal.in .modal-dialog .modal_btn.modal_btn_duplist {display:flex; justify-content: center; margin-top:20px;}
				#modal_item_duplicate.modal.in .modal-dialog .modal_content .modal_title_boxs .modal_title_hdtt p.modal_title_sub { font-size:14px; margin-top:10px; }
				.modal_btn_duplist div {width:auto; background-color:#0557fe; color:#fff; border-radius:4px; border:1px solid #0557fe; height:34px; line-height:30px; padding: 0 10px; text-align: center; font-size: 14px; font-family: 'NotoSansKR-Bold'; cursor: pointer; }
				
				#modal_item_duplicate .modal_btn_duplist .btn_del_list{margin-right: 10px; background-color:#f00;border-radius:4px; border:1px solid #f00;}
				
				.modal_btn_duplist .dup_close_btn {width:auto; background-color: #AAA; color:#fff; border-radius:4px; border:1px solid #AAA; height:34px; line-height:30px; padding: 0 10px; text-align: center; font-size: 14px; font-family: 'NotoSansKR-Bold'; cursor: pointer; }
				.modal_btn_duplist div:hover {background-color:#fff; color:#0557fe; }
				.modal_btn_duplist div:hover i{color:#0557fe; }
				.modal_btn_duplist .dup_close_btn:hover {background-color:#fff; color:#AAA; }
				.modal_btn_duplist .dup_close_btn:hover i{color:#AAA; }
				.modal_btn_duplist div i {margin-right: 5px; font-size: 14px; color: #fff; }
				#modal_item_duplicate .modal_btn_duplist .btn_del_list:hover {color:#f00;background-color:#fff;}
				#modal_item_duplicate .modal_btn_duplist .btn_del_list:hover i {color:#f00;}

				#modal_item_duplicate .modal_btn_duplist .btn_del_list {display:none;}
				#modal_item_duplicate:has(.item_duplicate_list_box.del_box) .modal_btn_duplist .btn_del_list {display:inline-block;}

			#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box { width: 100%; height: auto; padding: 10px 10px 0; display: flex; flex-flow: wrap row; align-items: center; border: 1px solid #DDD; border-radius: 6px; cursor: pointer; }
			#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box:not(:last-child) { margin-bottom: 5px; }
			#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box:hover { border-color: #0A84FF; }

				#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top { width: 100%; display: flex; flex-flow: wrap row; align-items: center; border-bottom: 1px solid #DDD; padding-bottom: 10px; }

					#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_L { width: 80px; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_L > div { width: 80px; height: 80px; background-size: cover; background-position: center; background-repeat: no-repeat; border: 1px solid #DDD; border-radius: 6px; }

					#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R { width: calc(100% - 80px); padding-left: 10px; }
					#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box:has(.item_duplicate_list_box_top_RR) .item_duplicate_list_box_top_R { width: calc(100% - 130px); padding: 0px 10px; }
								#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR { width: 50px; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R > div { width: 100%; }

						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR .duplicate_item_edit { width: 100%; height: 67px; padding: 18px 0; border: 1px solid #33d84d; color: #33d84d; border-radius: 6px; background: #FFF; text-align: center; font-size: 14px; cursor: pointer; line-height: 1.2; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR .duplicate_item_edit:hover { color: #FFF; background: #33d84d; border-color: #33d84d; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR .duplicate_item_edit.on { color: #FFF; background: #33d84d; border-color: #33d84d; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR .duplicate_item_edit i { width: 100%; text-align: center; margin: 2px; display: block; color: #33d84d; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR .duplicate_item_edit:hover i { color: #FFF; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_RR .duplicate_item_edit.on i { color: #FFF; }
						
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .titles { margin-bottom: 2px; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .item_nums { height: 20px; padding: 0 5px; display: inline-block; margin-right: 2px; font-size: 13px; line-height: 15px; border: 1px solid #DDD; background: #FFF; border-radius: 4px; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .status { font-family: 'NotoSansKR-Bold'; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .status.public { color: #0557FE; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .status.private { color: #999; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .status.deletes { color: #F5425E; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .status {}
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .item_addrs { font-family: 'NotoSansKR-Bold'; }

						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .item_info_box { font-size: 13px; line-height: 1.2; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .item_info_box > div > span:not(:last-child):after { position: relative; top: -1.5px; content: '|'; padding: 0 3px; font-size: 12px; color: #BEBEBE; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .item_info_box > div > span > span.span_tt:after { position: relative; top: -1.5px; content: ':'; padding: 0 2px; font-size: 12px; color: #000; }
							#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top_R .item_info_box > div > span i { margin-right: 3px; }

				#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm { width: 100%; padding: 7px 0; display: flex; flex-flow: wrap row; }
					#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .thema_type_box { margin-right: 5px; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .thema_type_box > span { font-family: 'NotoSansKR-Bold'; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .thema_type_box > span:not(:last-child):after { position: relative; top: -2px; content: '|'; padding: 0 3px 0 5px; font-size: 12px; color: #999; }

					#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .price_type_box { display: inline-flex; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .price_type_box .price_block { position: relative; top: -1px; width: 21px; height: 21px; /* display: inline-block; */ padding: 0px 5px 2px; font-size: 13px !important; line-height: 21px; text-align: center; border-radius: 6px !important; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .price_type_box span:not(.price_block) { width: auto; height: 21px; font-family: 'NotoSansKR-Bold'; font-size: 14px; line-height: 21px; }
						#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_btm .price_type_box .price_br { display: none; }

	@media (max-width:992px) {
		#modal_item_duplicate.modal.in .modal-dialog .modal_title h4 { font-size: 16px; }
		#modal_item_duplicate.modal.in .modal-dialog .modal_content { padding: 15px; }
		#modal_item_duplicate.modal.in .modal-dialog .modal_content .item_duplicate_list .item_duplicate_list_box .item_duplicate_list_box_top { align-items: flex-start; }
	}
</style>

				<div class="modal" id="modal-item_checks">
			<div class="modal-dialog">
				<div class="modal_wrap_ver1">
					<form>
						<div class="modal_content">
							<div class="modal_icon">
								<img class="bugisa_icon" src="/static/img/add/bugisa_c10.png">
							</div>

							<div class="modal_title_boxs">
								<div class="modal_title_hdtt">중개 표시·광고법에 따른<br>필수 항목이 입력되지 않았습니다</div>
								<div class="modal_title_sbtt">매물정보를 공개로 변경이 필요하면,<br>매물 수정을 통해 필수 항목을 모두 입력해주세요</div>
							</div>

							<div class="modal_btn">
								<input type="hidden" name="required_item_check_id" id="required_item_check_id">
								<div onclick="open_item_detail_page();" class="btn btn_save"><i class="far fa-edit"></i>매물 수정하기</div>
								<span class="btn btn_999" data-dismiss="modal" aria-hidden="true">취소</span>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>

		<style>
						#modal-item_checks { top: 50%; left: 50%; transform: translate(-50%, -50%); z-index:1053;}

				#modal-item_checks form { padding: 0; }

				#modal-item_checks .modal-dialog { width: 360px; max-width: 90%; }

				#modal-item_checks .modal_wrap_ver1 { padding: 0; border-radius: 4px; }

				#modal-item_checks .modal_wrap_ver1 .modal_title { position: relative; padding: 0; height: 0; border-bottom: none; }
					#modal-item_checks .modal_wrap_ver1 .modal_title h4 { display: none; }

				#modal-item_checks .modal_wrap_ver1 .modal_title .close { /*display: none;*/ }

					@media (min-width:993px) {
						#modal-item_checks .modal_wrap_ver1 { border-radius: 4px; background: white; }

						#modal-item_checks .modal_wrap_ver1 .modal_title .close { position: absolute; left: 100%; top: 0; width: 39px; height: 39px; padding: 0; opacity: 1; background: #FFF; transform: none; border-radius: 4px; }
						#modal-item_checks .modal_wrap_ver1 .modal_title .close i { font-size: 25px; font-weight: 300; }
					}

				#modal-item_checks .modal_wrap_ver1 .modal_content { padding: 30px 25px 20px; }

					#modal-item_checks .modal_wrap_ver1 .modal_content .modal_icon { text-align: center; margin-bottom: 15px; }
					#modal-item_checks .modal_wrap_ver1 .modal_content .modal_icon img { position: relative; display: block; margin: 0 auto; }

					#modal-item_checks .modal_wrap_ver1 .modal_content .modal_title_boxs { width: 100%; margin-bottom: 15px; text-align: center; }
						#modal-item_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_hdtt { font-family: 'NotoSansKR-Bold'; font-size: 17px; line-height: 1.2; color: #FF4B6C; }
						#modal-item_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt { width: 300px; max-width: 100%; margin: 10px auto 0; text-align: center; font-size: 14px; line-height: 1.2; margin-top: 10px; }

				#modal-item_checks .modal_wrap_ver1 .modal_btn { width: 100%; display: flex; flex-flow: wrap row; align-items: center; justify-content: center; }
					#modal-item_checks .modal_wrap_ver1 .modal_btn > *:not(:last-child) { margin-right: 5px; }

					#modal-item_checks .modal_wrap_ver1 .modal_btn .btn_save { width: 170px; padding: 0; height: 34px; line-height: 31px; color: #FFF; background: #21CF01; border: 1px solid #21CF01; border-radius: 4px; }
					#modal-item_checks .modal_wrap_ver1 .modal_btn .btn_save:hover { background: #FFF; color: #21CF01; }
						#modal-item_checks .modal_wrap_ver1 .modal_btn .btn_save i { margin-right: 5px; color: inherit; }

					#modal-item_checks .modal_wrap_ver1 .modal_btn .btn_save + .btn { height: 34px; line-height: 31px; padding: 0 12px; color: #FFF; background: #999; border-color: #999; }
					#modal-item_checks .modal_wrap_ver1 .modal_btn .btn_save + .btn:hover { color: #999; background: #FFF; }

			@media (max-width:992px) {
				#modal-item_checks { transform: none; top: inherit; left: 0; padding-right: 0 !important; }
				#modal-item_checks.modal.in:not(#modal-item) .modal-dialog { width: 90% !important; height: auto !important; max-height: 90vh; top: 50% !important; background: #FFF; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 0 3px rgba(0, 0, 0, .1); }

				#modal-item_checks .modal_wrap_ver1 .modal_content .modal_icon img { right: inherit; }
				#modal-item_checks .modal_wrap_ver1 .modal_title { position: relative; width: 100%; height: 40px; padding: 0; line-height: 39px; border-bottom: 1px solid #DDD; }
					#modal-item_checks .modal_wrap_ver1 .modal_title h4 { display: inline-block; font-size: 16px; }
					#modal-item_checks .modal_wrap_ver1 .modal_title .close { opacity: 1; }
					#modal-item_checks .modal_wrap_ver1 .modal_title .close i { font-weight: 300; }

				#modal-item_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_hdtt { font-size: 16px; }
				#modal-item_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt { font-size: 13px; }

				#modal-item_checks .modal_wrap_ver1 .modal_content .modal_btn {}
					#modal-item_checks .modal_wrap_ver1 .modal_btn > * { font-size: 13px; }
			}
		</style>

				<div class="modal" id="modal-item_form_checks">
			<div class="modal-dialog">
				<div class="modal_wrap_ver1">
					<form>
						<div class="modal_content">
							<div class="modal_icon">
								<img class="bugisa_icon" src="/static/img/add/bugisa_c10.png">
							</div>

							<div class="modal_title_boxs">
								<div class="modal_title_hdtt">
									<span class="target_head"></span>
									<span class="target_body">
									<span style="font-style:italic; padding-right:0.5px;">"</span> <b class="new_red_color"></b><span style="font-style:italic; position: relative; left: -2px;">"</span>
									</span>
									<span class="target_tail"></span>
									<!-- 중개 표시·광고법에 따른<br>필수 항목이 입력되지 않았습니다 -->
								</div>
								<div class="modal_title_sbtt modal_type_check">
									<!-- <span class="target_data">정보가 입력되지 않았습니다<br>정보를 입력해주세요</span> -->
									<span class="new_sbtt_mini">중개대상물 표시·광고법에 따른 필수항목이 미입력되어 있습니다.</span>
								</div>
							</div>

							<div class="modal_btn">
								<input type="hidden" name="target_name" id="target_name" value="">
								<div onclick="focus_on_target();" class="btn btn_save">수정하기</div>
								<!-- <span class="btn btn_999" data-dismiss="modal" aria-hidden="true">닫기</span> -->
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>

		<style>
						#modal-item_form_checks { top: 50%; left: 50%; transform: translate(-50%, -50%);}
				#modal-item_form_checks form { padding: 0; }
				#modal-item_form_checks .modal-dialog { width: 360px; max-width: 90%; }
				/* 2024-09-02 */
				#modal-item_form_checks .modal-dialog{width:420px;}
				#modal-item_form_checks .modal_wrap_ver1 { padding: 0; border-radius: 4px; }
				#modal-item_form_checks .modal_wrap_ver1 .modal_title { position: relative; padding: 0; height: 0; border-bottom: none; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_title h4 { display: none; }
				#modal-item_form_checks .modal_wrap_ver1 .modal_title .close { /*display: none;*/ }
					@media (min-width:993px) {
						#modal-item_form_checks .modal_wrap_ver1 { border-radius: 4px; background: white; }

						#modal-item_form_checks .modal_wrap_ver1 .modal_title .close { position: absolute; left: 100%; top: 0; width: 39px; height: 39px; padding: 0; opacity: 1; background: #FFF; transform: none; border-radius: 4px; }
						#modal-item_form_checks .modal_wrap_ver1 .modal_title .close i { font-size: 25px; font-weight: 300; }
					}
				#modal-item_form_checks .modal_wrap_ver1 .modal_content { padding: 30px 25px 20px; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_icon { text-align: center; margin-bottom: 15px; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_icon img { position: relative; display: block; margin: 0 auto; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_title_boxs { width: 100%; margin-bottom: 15px; text-align: center; }
						#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_hdtt { font-family: 'NotoSansKR-Bold'; font-size: 17px; line-height: 1.2; /*color: #FF4B6C;*/ color:#000;}

						/* 2024-08-30 */
						.new_red_color{font-family: 'NotoSansKR-Bold'; color:#ff002f;}
						.new_sbtt_mini{color:#ff002f;}

						/* 2024-09-02 */
						.target_head{font-family: 'NotoSansKR-Bold';}
						.target_tail{font-family: 'NotoSansKR-Bold';}

						#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt { width: 300px; max-width: 100%; margin: 10px auto 0; text-align: center; font-size: 15px; font-weight: bold; line-height: 1.2; margin-top: 10px; }

						/* 2024-09-02 */
						#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt{width:420px;}

				#modal-item_form_checks .modal_wrap_ver1 .modal_btn { width: 100%; display: flex; flex-flow: wrap row; align-items: center; justify-content: center; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_btn > *:not(:last-child) { margin-right: 5px; }

					#modal-item_form_checks .modal_wrap_ver1 .modal_btn .btn_save { width: 90px; padding: 0; height: 34px; line-height: 31px; color: #FFF; background: #21CF01; border: 1px solid #21CF01; border-radius: 4px; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_btn .btn_save:hover { background: #FFF; color: #21CF01; }
						#modal-item_form_checks .modal_wrap_ver1 .modal_btn .btn_save i { margin-right: 5px; color: inherit; }

					#modal-item_form_checks .modal_wrap_ver1 .modal_btn .btn_save + .btn { height: 34px; line-height: 31px; padding: 0 12px; color: #FFF; background: #999; border-color: #999; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_btn .btn_save + .btn:hover { color: #999; background: #FFF; }

			@media (max-width:992px) {
				#modal-item_form_checks { transform: none; top: inherit; left: 0; padding-right: 0 !important; }
				#modal-item_form_checks.modal.in:not(#modal-item) .modal-dialog { width: 90% !important; height: auto !important; max-height: 90vh; top: 50% !important; background: #FFF; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 0 3px rgba(0, 0, 0, .1); }

				#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_icon img { right: inherit; }
				#modal-item_form_checks .modal_wrap_ver1 .modal_title { position: relative; width: 100%; height: 40px; padding: 0; line-height: 39px; border-bottom: 1px solid #DDD; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_title h4 { display: inline-block; font-size: 16px; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_title .close { opacity: 1; }
					#modal-item_form_checks .modal_wrap_ver1 .modal_title .close i { font-weight: 300; }

				#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_hdtt { font-size: 16px; }
				#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt { font-size: 13px; }

				#modal-item_form_checks .modal_wrap_ver1 .modal_content .modal_btn {}
					#modal-item_form_checks .modal_wrap_ver1 .modal_btn > * { font-size: 13px; }
			}
		</style>



<!-- 회원가입 미사용일때 보안접속 스타일부분 -->
<style>
	.checkBox .security_tag {width:auto; float:right}
	.checkBox .not_security_tag_long {width:auto; float:left;}

	.checks input[type="checkbox"] + label{white-space:nowrap;}
</style>


	<!-- 로그인팝업 -->
	<div class="modal loginPop" id="modal-signin" >
		<div class="modal-dialog" >
			<div class="modal-content">
				<div class="modal-body">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fas fa-times bold"></i></button>
					<div class="popTitle">로그인</div>
					<form method="post"  action="/member/signin_action" id="form_signin">
						<div class="loginInput user">
							<img src="/static/img/add/icon_mail.png" alt="user"><input type="text"  id="email" name="email" class="form-control input emailChk" placeholder="이메일"  autofocus="autofocus" />
						</div>
						<div class="m-t loginInput pw" >
							<img src="/static/img/add/icon_pw.png" alt="password"><input type="password" id="password" name="password" placeholder="비밀번호" class="form-control input ">
						</div>
						<div id="password-error" class="error" style="display:none;">&gt; 6자 이상 입력하세요.</div>
						<div class="m-t checkBox form-inline text-left">
							<label class="pointer checks not_security_tag_long">
								<input type="checkbox" id="pw_check" class="check_basic" name="email_check">
								<label for="pw_check">비밀번호 저장</label>
							</label>
														<label class="pointer checks security_tag">
								<input type="checkbox" id="security_mode" class="check_basic" name="security_mode">
								<label for="security_mode">
									<i class="fas fa-lock-alt" style="margin:0 5px 0 0;"></i>보안접속
								</label>
							</label>
						</div>
						<button type="submit" class="btn btn-default bg_main m-t btn-block" onclick="onCheck()" >로그인</button>
													<a href="javascript:void(0);" style="color:#777;" onclick="findPassChk();" class="m-l-xs modal_findpass">
								비밀번호를 잃어버리셨나요? <i class="far fa-angle-right" style="margin-left:10px; font-size:17px;"></i>
							</a>
																														<div class="social_sign_up_title"><span>소셜 로그인</span></div>
									<div class="social_signup_box">
																					<a href="https://nid.naver.com/oauth2.0/authorize?response_type=code&client_id=mWgjyCv1eYXSw4ZpncR6&redirect_uri=https%3A%2F%2Fyeeseo.co.kr%2Fmember%2Fn_oauth&state=f2224654507394e81d893c7abebe6093">
												<div class="btn naver" ><img src="/static/img/add/icon_social_naver.png" alt="네이버" />네이버로 로그인</div>
											</a>
																															<a href="https://kauth.kakao.com/oauth/authorize?client_id=3ec9def63a40a85611d8d12cdfc41213&redirect_uri=https://yeeseo.co.kr/member/k_oauth&response_type=code">
												<div class="btn kakao" ><img src="/static/img/add/icon_social_kakao.png" alt="카카오" />카카오로 로그인</div>
											</a>
																													</div>
																											<div class="moveJoin text-center m-t m_10">
							<p>
								<span>아직 회원이 아니신가요?</span>
																	<a href="#modal-signup" data-toggle="modal" class="join" onclick="$('#modal-signin').modal('hide')" style="color: #2371b9;">가입하기</a>
															</p>
						</div>
											</form>
				</div>
			</div>
		</div>
	</div>
	<!-- 190829 -->
	<!-- 회원가입 팝업 -->
	<div class="modal signupPop" id="modal-signup">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-body">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fas fa-times bold"></i></button>
					<div class="popTitle">회원가입</div>
					<form method="post" id="form_signup"  action="/member/signup_action" class="form-horizontal m_20" onsubmit="return signup_chk();" >
						<input type="hidden"  name="member_type"    value="general">
						<div class="loginInput user">
							<img src="/static/img/add/icon_user.png" alt="user"><input type="text" id="sign_name" name="name" class="form-control"  placeholder="이름">
						</div>
						<div id="findemail-error" class="error" style="display:none; margin-top:5px; padding-left:5px; color:red; font-size:13px;">&gt; 필수항목입니다. 이름을 입력해주세요.</div>
						<div class="m-t loginInput user">
							<img src="/static/img/add/icon_mail.png" alt="user"><input type="text" id="signup_email" name="email" class="form-control emailChk" placeholder="이메일">
						</div>
						<div id="findemail-error" class="error" style="display:none;">&gt; 유효하지 않은 E-Mail주소입니다.</div>

						<div class="m-t loginInput user">
															<img src="/static/img/add/icon_call.png" alt="user">
								<input type="number" id="hp_signup" name="hp" class="form-control input-sm" placeholder="휴대폰 (-빼고 입력)" >
													</div>
						
						
																								

						<div class="m-t m-b loginInput pw">
							<img src="/static/img/add/icon_pw.png" alt="password"><input type="password"   class="form-control input-sm "  id="passwords" name="password" placeholder="비밀번호" class="form-control input">
						</div>
						<div id="password-error" class="error" style="display:none;">&gt; 6자 이상 입력하세요.</div>
						<div class="m-t loginInput pw" >
							<img src="/static/img/add/icon_pw.png" alt="password"><input type="password"  class="form-control input"  id="password_re" name="password_re" placeholder="비밀번호 확인"  />
						</div>
						<div id="password-error" class="error" style="display:none;">&gt; 비밀번호가 일치하지 않습니다.</div>

						<div class="m-t checkBox form-inline text-left">
							<a href="#modal-privacy" data-toggle="modal" class="privacy" style="color:#2371b9" onclick="privacy()">개인보호 정책</a>
							<div class="pointer checks">
								<input type="checkbox" id="terms_agree" class="check_basic" name="email_check">
								<label for="terms_agree">이용약관 동의</label>
							</div>
						</div>
												<div class="autoSign">
							<div class="title">자동가입방지확인</div>
							<div class="inputbox" id="inputbox">
								<div class="questionBox" id="questionBox"></div>
								<div class="answerBox" id="answerBox"><input type="text" name="answer" id="answer"></div>
							</div>
							<div id="chk_stat"></div><input type="hidden" id="sign_statement" name="sign_statement" value="N">
						</div>
						<button type="submit" class="btn btn-default bg_main m-t btn-block" id="signup_button">회원가입</button>
																					<div class="social_sign_up_title"><span>소셜 로그인</span></div>
								<div class="social_signup_box">
																			<a href="https://nid.naver.com/oauth2.0/authorize?response_type=code&client_id=mWgjyCv1eYXSw4ZpncR6&redirect_uri=https%3A%2F%2Fyeeseo.co.kr%2Fmember%2Fn_oauth&state=f2224654507394e81d893c7abebe6093">
											<div class="btn naver" ><img src="/static/img/add/icon_social_naver.png" alt="네이버" />네이버로 시작하기</div>
										</a>
																												<a href="https://kauth.kakao.com/oauth/authorize?client_id=3ec9def63a40a85611d8d12cdfc41213&redirect_uri=https://yeeseo.co.kr/member/k_oauth&response_type=code">
											<div class="btn kakao" ><img src="/static/img/add/icon_social_kakao.png" alt="카카오" />카카오로 시작하기</div>
										</a>
																										</div>
																		</form>
				</div>
			</div>
		</div>
	</div>
			<script>
			var chk_num1;
			var chk_num2;
			$(document).ready(function(){

				chk_num1 = Math.floor(Math.random() * 100) + 1;
				chk_num2 = Math.floor(Math.random() * 100) + 1;

				$('#questionBox').text(chk_num1+'+'+chk_num2 +' = ' );
				$('#signup_button').attr('disabled', true);

			});
			$('#chk_stat').hide();
			$(function() {
				$("#answer").keyup(function() {
					if($('#answer').val() == (chk_num1+chk_num2)){
						$('#chk_stat').show();
						$('#chk_stat').text('확인 되었습니다. 가입버튼을 눌러주세요.');
						$('#sign_statement').val('Y');
						$('.title').css('border-color', 'green');
						$('#inputbox').css('border-color', 'green');
						$('#signup_button').attr('disabled', false);
					} else {
						$('#chk_stat').show();
						$('#chk_stat').text('잘 못 입력되었습니다. 값을 다시 확인해주세요.');
						$('#sign_statement').val('N');
						$('.title').css('border-color', 'red');
						$('#inputbox').css('border-color', 'red');
						$('#signup_button').attr('disabled', true);
					}
				});
			});

						$(function() {
				$('#modal-signup .btn').click(function() {
					if($('#sign_name').val() == ''){
						$(this).parents('#form_signup').find('#sign_name').parents('.loginInput').next('#findemail-error').show();
					} else {
						$(this).parents('#form_signup').find('#sign_name').parents('.loginInput').next('#findemail-error').hide();
					}
				});
				$('#modal-signup').keyup(function() {
					if($('#sign_name').val() == ''){
						$(this).find('#sign_name').parents('.loginInput').next('#findemail-error').show();
					} else {
						$(this).find('#sign_name').parents('.loginInput').next('#findemail-error').hide();
					}
				});
			});
		</script>
	
	<style>
		.autoSign { display:inline-block; width:100%; }
		.autoSign>* { width:calc(100% - 140px); height:50px; line-height:50px; float:left; }
		.autoSign>.title { width:140px; padding-left:20px; border:1px solid #ddd; border-right:none; border-radius:4px 0 0px 4px; line-height:28px; }
					.autoSign>.title { line-height:50px; }
				.autoSign>.inputbox { padding:10px 20px; border:1px solid #ddd; border-left:none; border-radius:0 4px 4px 0; }
		.autoSign>.inputbox>* { width:60px; height:28px; line-height:28px; float:left; }
		.autoSign>.inputbox>.answerBox { width:calc(100% - 80px); }
		.autoSign>.inputbox input { width:100%; height:100%; border:none; border-bottom:1px dashed #ccc; text-align:center; }
		.autoSign #chk_stat { width:100%; height:30px; padding:10px 10px 0; line-height:20px; font-size:13px; }

		#modal-signin .social_sign_up_title { width:100%; margin:20px 0; text-align:center; position:relative; }
		#modal-signin .social_sign_up_title::before { content:''; width:100%; height:1px; position:absolute; top:50%; left:0; transform:translateY(-50%); background:#ccc; }
		#modal-signin .social_sign_up_title span { padding:0 10px; background:#fff; position:relative; background:#fff; font-size:16px; color:#ccc; }
		#modal-signin .social_signup_box .btn { width:100%; font-size:16px; position:relative; }
		#modal-signin .social_signup_box .btn.naver { margin-top:0; background:#36ca30 !important; color:#fff !important; }
		#modal-signin .social_signup_box .btn.kakao { background:#fff200 !important; color:#412e34 !important; }
		#modal-signin .social_signup_box .btn.facebook { background:#3c5a99 !important; color:#fff !important; }
		#modal-signin .social_signup_box .btn img { padding-right:10px; position:absolute; top:50%; left:10px; transform:translateY(-50%); border-right:1px solid rgba(0,0,0,.1); }
		#modal-signin.loginPop .m_10 { margin-top:20px; }

		#modal-signup .social_sign_up_title { width:100%; margin:20px 0; text-align:center; position:relative; }
		#modal-signup .social_sign_up_title::before { content:''; width:100%; height:1px; position:absolute; top:50%; left:0; transform:translateY(-50%); background:#ccc; }
		#modal-signup .social_sign_up_title span { padding:0 10px; background:#fff; position:relative; background:#fff; font-size:16px; color:#ccc; }
		#modal-signup .social_signup_box .btn { width:100%; font-size:16px; position:relative; }
		#modal-signup .social_signup_box .btn.naver { margin-top:0; background:#36ca30 !important; color:#fff !important; }
		#modal-signup .social_signup_box .btn.kakao { background:#fff200 !important; color:#412e34 !important; }
		#modal-signup .social_signup_box .btn.facebook { background:#3c5a99 !important; color:#fff !important; }
		#modal-signup .social_signup_box .btn img { padding-right:10px; position:absolute; top:50%; left:10px; transform:translateY(-50%); border-right:1px solid rgba(0,0,0,.1); }

					#modal-signin .modal_findpass { display:inline-block; margin-top:10px; font-size: 15px; width:100%; height:24px; line-height:24px; color:#777; text-align:center;}
			.loginPop .btn {margin-top:5px;}
		
		@media (max-width:991px) {
			#modal-signup.modal.in .modal-dialog { margin-top:0; top:50%; transform:translateY(-50%); -webkit-transform:translateY(-50%); -ms-transform:translateY(-50%); -o-transform:translateY(-50%); }
		}
	</style>
	<!-- 190829 -->


	<!--우철 비번찾기 스타일2-->
	<style media="screen">
		.findpassPop div.loginInput{position: relative;}
		#modal-findpass .inputBox input{display: inline-block;width: calc(100% - 60px);border-right: none;border-top-right-radius: 0;border-bottom-right-radius: 0;;float: left}
		#modal-findpass .btn_chk{position: absolute;display: inline-block;padding: 6px 15px;background-color:#666;color: #fff;right:0;top: 0;cursor: pointer;border: 1px solid #666;font-size: 14px;}
		#modal-findpass .sign_input_box{margin-top: 15px}
		#modal-findpass .hp_chk_area, #modal-findpass .email_chk_area{display: none;position: relative; margin-top:10px;}
		#modal-findpass .chk_active{display: none}
		#modal-findpass #num_chk_btn_re, #modal-findpass #email_num_chk_btn_re{position: absolute;border: 1px solid #ddd;font-size: 12px;right: 15px;margin-top: -19px;padding: 0px 6px;;cursor: pointer;}
		#modal-findpass .change_passBlock{display: none}
		#ViewTimer{display: inline-block;}
		@media (max-width: 748px){
			#modal-findpass .inputBox input{width: calc(100% - 56px);}
			#modal-findpass .btn_chk{padding: 6px 15px;font-size: 14px;}
		}
	</style>

	<!-- 비밀번호찾기 팝업 -->
	<div class="modal fade findpassPop" id="modal-findpass" >
		<div class="modal-dialog" >
			<div class="modal-content">
				<div class="modal-body">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fas fa-times bold"></i></button>
					<div class="popTitle">비밀번호 찾기</div>
					<form method="post" id="findpass" action=""  class="form-horizontal m_20"  >
						<div class="change_emailBlock">
							<div class="m-t loginInput user email_find_pass_zone" >
								<img src="/static/img/add/icon_mail.png" alt="user"><input type="text" id="find-pass-email" name="find-pass-email" class="form-control input-sm" placeholder="이메일">
								<div class="btn_chk btn-default" id="find-pass-email-chk" >발송</div>
							</div>
							<div id="findemail-email-error" class="error" style="display:none;">&gt; 유효하지 않은 E-Mail주소입니다.</div>
							
							<script>
								$("#find-pass-email-chk").on("click", function() {
									find_pass_email_email = $('#modal-findpass #find-pass-email').val();
									
									if(find_pass_email_email == ''){
										alert('이메일을 입력해주세요..');
										$('#modal-findpass #find-pass-email').focus();
										return;
									}

									$.post('/member/findpass',{email:find_pass_email_email},function(data){
										if(data=='1'){
											alert('비밀번호 변경 관련 메일이 발송되었습니다. 이메일을 확인해주세요.');
											
											emailTimerStart();
											emailSetTime = 180;
											$(".email_chk_area").css('display','block');
										} else if(data=='-1') {
											alert('1분 후 다시 시도해주세요.');
										} else{
											alert('이메일이 존재하지 않습니다. 이메일을 확인해 주세요.');
										}
									});
								});
							</script>
							
							<div class="m-t loginInput user hp_find_pass_zone">
								<img src="/static/img/add/icon_mail.png" alt="user"><input type="text" id="email" name="email" class="form-control emailChk" placeholder="이메일">
							</div>
							<div id="findemail-error" class="error" style="display:none;">&gt; 유효하지 않은 E-Mail주소입니다.</div>
							<div class="m-t loginInput user hp_find_pass_zone">
								<img src="/static/img/add/icon_call.png" alt="user"><input type="text" id="hp" name="hp" class="form-control input-sm" placeholder="휴대폰">
								<div class="btn_chk btn-default" id="hp_chk" >인증</div>
							</div>
							<script>
								$('#modal-findpass #hp').keyup(function(e){
									var inputVal = $(this).val();
									if (!(e.keyCode >= 37 && e.keyCode <= 40 && e.keyCode != 8)) {
										var result = inputVal.replace(/[^0-9]/g,'');
										$(this).val(result);
									}
								});
							</script>
							<div class="m-t loginInput hp_chk_area user">
								<img src="/static/img/add/icon_etc.png" alt="user"><input type="text" id="num_chk" name="num_chk" class="form-control input-sm" placeholder="인증번호 입력">
								<div class="btn_chk btn-default" id="num_chk_btn" >인증</div>
							</div>
							<div id="ViewTimer" class="hp_chk_area">현재 남은 시간은</div>
							<div id="num_chk_btn_re" class="hp_chk_area">인증번호 재발급</div>
							<div class="hp_chk chk_active" id="hp_chk_com" style="display:none">인증 되었습니다.</div>

							<div class="m-t loginInput email_chk_area user">
								<img src="/static/img/add/icon_etc.png" alt="user"><input type="text" id="email_num_chk" name="email_num_chk" class="form-control input-sm" placeholder="인증번호 입력">
								<div class="btn_chk btn-default" id="email_num_chk_btn" >인증</div>
							</div>
							<div id="emailViewTimer" class="email_chk_area">현재 남은 시간은</div>
							<div id="email_num_chk_btn_re" class="email_chk_area">인증번호 재발급</div>
							<div class="email_chk chk_active" id="email_chk_com" style="display:none">인증 되었습니다.</div>

							<!--
							<div class="sign_input_box hp_chk_area clearfix">
								<div class="title">인증번호 <span style="font-size:14px; color:red;"></span></div>
								<div class="inputBox num_inputbox"><input type="text" id="num_chk" name="num_chk" placeholder="인증번호 입력" class="form-control"><div class="btn_chk btn-default" id="num_chk_btn" >인증</div><div id="ViewTimer">현재 남은 시간은</div></div>
								<div id="num_chk_btn_re" >인증번호 재발급</div>
							</div>
							<div class="hp_chk chk_active" id="hp_chk_com" >인증 되었습니다.</div>
						-->
						</div>
					<div class="change_passBlock">
						<div class="m-t m-b loginInput pw" style="margin-bottom:5px">
							<img src="/static/img/add/icon_pw.png" alt="password"><input type="password" class="form-control input-sm " id="change_passwords" name="change_passwords" placeholder="새 비밀번호">
						</div>

						<span id="password-error1" style="display: none;color:red">6자리 이상 입력해주세요.</span>
						<script>
							$('#change_passwords').keyup(function(e){
								var inputVal = $(this).val();
								if(inputVal.length<6){
									$('#password-error1').show();
								}else{
									$('#password-error1').hide();
								}
							});
						</script>
						<div class="m-t m-b loginInput pw" style="margin-bottom:5px">
							<img src="/static/img/add/icon_pw.png" alt="password"><input type="password" class="form-control input-sm " id="change_passwords_re" name="change_passwords_re" placeholder="새 비밀번호 확인">
						</div>
							<span id="password-error2" style="display: none;color:red">새 비밀번호와 새 비밀번호 확인이 일치하지 않습니다.</span>
							<script>
								$('#change_passwords_re').keyup(function(e){
									var inputVal = $(this).val();
									if(inputVal==$('#change_passwords').val()){
										$('#password-error2').hide();
									}else{
										$('#password-error2').show();
									}
								});
							</script>
							<button type="button" class="btn btn-default bg_main m-t btn-block " onclick="passFind_change_modal()">변경하기</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>

	<div class="modal in privacyPop" id="modal-privacy">
		<div class="modal-dialog modal-lg">
			<div class="modal-content">
				<div class="modal-body">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fas fa-times bold"></i></button>
					<div class="popTitle">개인보호 정책</div>
					<div class="privacy">
						<pre id="privacy_view"></pre>
					</div>
				</div>
			</div>
		</div>
	</div>


<script>
	$("#hp_chk").on("click", function() {
		hp = $('#hp').val();
		email = $('#modal-findpass #email').val();
		if(hp == ''){
			alert('휴대폰 번호를 입력해주세요.');
			$('#hp').focus();
			return;
		}
		if(email == ''){
			alert('이메일을 입력해주세요..');
			$('#modal-findpass #email').focus();
			return;
		}

		$.post('/call/hp_email_chk',{hp:hp,email:email},function(data){
			//data=$.parseJSON(data);
			//console.log(data);
			if(data=='notMatch'){
				alert('이메일과 휴대폰번호가 일치하지 않습니다.');
			}else{
				TimerStart();
				alert('문자메세지를 발송하였습니다.');
				SetTime = 180;
				$(".hp_chk_area").css('display','block');
			}
		})
	});

	$("#num_chk_btn").on("click", function() {
		if (SetTime < -1) {
			alert('인증 시간이 초과하였습니다.');
			return;
		}
		hp = $('#hp').val();
		num_chk = $('#num_chk').val();
		if(num_chk == '' || num_chk < 1000){
			alert('인증번호를 입력 해주세요.');
			return;
		}
		$.post('/call/hp_num_chk',{hp:hp,num_chk:num_chk},function(data){
			if(data == 'ok'){
				alert('인증이 완료 되었습니다.');
				$(".hp_chk_area").css('display','none');
				$(".hp_chk").removeClass('chk_active');
				$(".change_passBlock").show();
				$(".change_emailBlock").hide();
			} else {
				alert('인증번호를 확인하시기 바랍니다.');
			}
		})
	});

	$("#num_chk_btn_re").on("click", function() {
		hp = $('#hp').val();
		$.post('/call/hp_chk',{hp:hp},function(data){
		})

		SetTime = 180;
		TimerStart();
		alert('문자메세지를 재발송 하였습니다.');
	});

	var SetTime = 180;		// 최초 설정 시간(기본 : 초)
	var tid;
	function msg_time() {	// 1초씩 카운트
		$("#modal-findpass #email").on("propertychange change keyup paste input", function() {
		  var currentVal = $(this).val();
		  if(currentVal == email) {
		    return;
		  }
			$('.hp_chk_area').hide();
			clearInterval(tid);		// 타이머 해제
			return;
		});
		$("#modal-findpass #hp").on("propertychange change keyup paste input", function() {
		  var currentVal = $(this).val();
		  if(currentVal == hp) {
		    return;
		  }
			$('.hp_chk_area').hide();
			clearInterval(tid);		// 타이머 해제
			return;
		});
		m = Math.floor(SetTime / 60) + "분 " + (SetTime % 60) + "초";	// 남은 시간 계산
		var msg = "현재 남은 시간은 <font color='red'>" + m + "</font>";
		SetTime--;					// 1초씩 감소
		if (SetTime < -1) {			// 시간이 종료 되었으면..
			clearInterval(tid);		// 타이머 해제
			return;
		}
		document.all.ViewTimer.innerHTML = msg;		// div 영역에 보여줌
	}
	//window.onload = function TimerStart(){ tid = setInterval('msg_time()',1000) };
	function TimerStart(){ tid = setInterval('msg_time()',1000) };

	var emailSetTime = 180;
	var email_tid;
	function email_msg_time() {	// 1초씩 카운트
		$("#modal-findpass #email").on("propertychange change keyup paste input", function() {
		  var eCurrentVal = $(this).val();
		  if(eCurrentVal == email) {
		    return;
		  }
			$('.email_chk_area').hide();
			clearInterval(email_tid);		// 타이머 해제
			return;
		});
		$("#modal-findpass #hp").on("propertychange change keyup paste input", function() {
		  var eCurrentVal = $(this).val();
		  if(eCurrentVal == hp) {
		    return;
		  }
			$('.email_chk_area').hide();
			clearInterval(email_tid);		// 타이머 해제
			return;
		});
		email_m = Math.floor(emailSetTime / 60) + "분 " + (emailSetTime % 60) + "초";	// 남은 시간 계산
		var msg = "현재 남은 시간은 <font color='red'>" + email_m + "</font>";
		emailSetTime--;					// 1초씩 감소
		if (emailSetTime < -1) {			// 시간이 종료 되었으면..
			clearInterval(email_tid);		// 타이머 해제
			return;
		}
		document.all.emailViewTimer.innerHTML = msg;		// div 영역에 보여줌
	}

	function emailTimerStart(){ email_tid = setInterval('email_msg_time()',1000) };

	$("#email_num_chk_btn").on("click", function() {
		if (emailSetTime < -1) {
			alert('인증 시간이 초과하였습니다.');
			return;
		}
		email = $('#find-pass-email').val();
		email_num_chk = $('#email_num_chk').val();
		if(email_num_chk == '' || email_num_chk < 100000){
			alert('인증번호를 입력 해주세요.');
			return;
		}
		$.post('/call/email_num_chk',{email:email,num_chk:email_num_chk},function(data){
			if(data == 'ok'){
				alert('인증이 완료 되었습니다.');
				$('#modal-findpass #email').val(email);
				$(".email_chk_area").css('display','none');
				$(".email_chk").removeClass('chk_active');
				$(".change_passBlock").show();
				$(".change_emailBlock").hide();
			} else {
				alert('인증번호를 확인하시기 바랍니다.');
			}
		})
	});

	$("#email_num_chk_btn_re").on("click", function() {
		find_pass_email_email = $('#modal-findpass #find-pass-email').val();
		
		if(find_pass_email_email == ''){
			alert('이메일을 입력해주세요.');
			$('#modal-findpass #find-pass-email').focus();
			return;
		}

		if(emailSetTime > 120) {
			alert('1분 후 재전송 가능합니다.');
			return;
		}

		$.post('/member/findpass',{email:find_pass_email_email},function(data){
			if(data=='1'){
				alert('비밀번호 변경 관련 메일이 발송되었습니다. 이메일을 확인해주세요.');
				
				emailTimerStart();
				emailSetTime = 180;
				$(".email_chk_area").css('display','block');
			} else if(data==-1) {
				alert('1분 후 다시 시도해주세요.');
			} else{
				alert('이메일이 존재하지 않습니다. 이메일을 확인해 주세요.');
			}
		});
	});
</script>

<script type="text/javascript">
	function passFind_change_modal(){
		var email = $('#modal-findpass #email').val();
		var change_passwords = $('#modal-findpass #change_passwords').val();
		var change_passwords_re = $('#modal-findpass #change_passwords_re').val();

		if(change_passwords==''){
			alert('변경할 비밀번호를 입력해주세요.');
			$('#change_passwords').focus();
			return;
		}
		if(change_passwords.length<6){
			alert('비밀번호를 6자 이상 입력해주세요.');
			$('#change_passwords').focus();
			return;
		}
		if(change_passwords_re==''){
			alert('변경할 비밀번호 확인을 입력해주세요.');
			$('#change_passwords_re').focus();
			return;
		}
		if(change_passwords!=change_passwords_re){
			alert('변경할 비밀번호와 비밀번호 확인이 일치하지 않습니다.');
			$('#change_passwords_re').focus();
			return;
		}
		$.post('/member/passFind_change_modal',{email:email,change_passwords:change_passwords},function(data){
			data=$.parseJSON(data);
			if(data){
				data=$.parseJSON(data);
				if(data=='1'){
					alert('비밀번호 변경 완료.');
					$(".change_passBlock").hide();
					$("#hp_chk_com").hide();
					$(".change_emailBlock").show();
					$("#change_passwords").val('');
					$("#change_passwords_re").val('');
					$('#modal-findpass').modal("hide");
				}else{
					alert('변경 실패.');
				}
			}
		});
	}

	function onCheck() {
		// 버튼을 비활성화
		$('.btn').attr('disabled', true);

		// 3초 후에 버튼을 다시 활성화
		setTimeout(function() {
			$('.btn').attr('disabled', false);
		}, 1500);

		$('#form_signin').ajaxSubmit({
			beforeSubmit: function(){
				
			},
			success: function(data){
				if(data==0){
                    alert('로그인정보를 다시 확인해주세요.');
                    $('#email').focus();
                } else if(data==1){
                    //location.reload();
					if($("#security_mode").is(":checked")) {
                        location.replace("/map");
                    }else {
                        location.reload();
                    }
                } else if(data==2){
                    alert('패스워드가 다릅니다.');
                    $('#password').focus();
                }
			}
		});
	}

	function findPassChk() {
		$.post('/call/get_sms_cnt',function(data){
			if(data > 0) {
				$('#modal-findpass .hp_find_pass_zone').show();
				$('#modal-findpass .email_find_pass_zone').hide();
			} else {
				$('#modal-findpass .email_find_pass_zone').show();
				$('#modal-findpass .hp_find_pass_zone').hide();
			}
			$('#modal-signin').modal('hide');
			$('#modal-findpass').modal('show');
		})
	}
</script>
	
	<script>
		function signup_chk(){
							return true;
					}

		$('#modal-signup').on('hide.bs.modal', function(){
					});

		$('.emailChk').keyup(function() {
			var str = String($(this).val());
			var str_space = /\s/;
			var id = str.replace(/\s/g, "");
			if(str_space.exec(str)) {
				alert("해당 항목에는 공백을 사용할수 없습니다.\n공백은 자동적으로 제거 됩니다.");
				$(this).val(id);
			}
		});

	</script>

<script>
$('.modal button.btn').mouseenter(function() {
	$(this).not('.btn_cont_copy').css('background-color','#2371b9');
});
$('.modal button.btn').mouseleave(function() {
	$(this).not('.btn_cont_copy').css('background-color','#888');
});
$('.modal .moveJoin a').mouseenter(function() {
	$(this).css('color','#2371b9');
});
$('.modal .moveJoin a').mouseleave(function() {
	$(this).css('color','#333');
});
</script>



			<div class="modal " id="modal-site_contact" >
			<div class="modal-dialog modal-sm" >
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
						<h4 class="modal-title">빠른문의</h4>
					</div>
					<div class="modal-body text-center">
						<h3>이서부동산중개법인</h3>
																				<img src="/uploads/logo/336c00e87d0a952a45332ebee223a80f.png"  alt="로고" />
																			<p class="text-muted">당신의 소중한 꿈을 함께하는 이서부동산중개법인ㅣ고객중심 서비스, 투명하고 공정한 거래, 인증된 전문성</p>
						<div class="m-b-xs">
																								<a class="btn btn-default" onmousedown="callHpTelScript();" ontouchstart="callHpTelScript();" href="tel:061-722-0101"><i class="fas fa-phone-alt"></i> 061-722-0101</a>
																												</div>
													<a onclick="$.post('/etc/script_call/kakao_plus');" href="http://pf.kakao.com/_lxdtKn" class="btn btn-kakao_plus btn-sm m-t" target="_blank" >
								<h5><i class="fas fa-comments"></i> 채널톡</h5>
							</a>
																			<a onclick="$.post('/etc/script_call/kakao_open');" href="http://pf.kakao.com/_lxdtKn/chat" class="btn btn-kakao_open btn-sm m-t" target="_blank" >
								<h5><i class="fas fa-comments"></i> 오픈채팅</h5>
							</a>
																													</div>
				</div>
			</div>
		</div>
	
	<!-- 미팅기록 팝업 -->
	<div class="modal" id="modal_meeting">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-body">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span style="font-size:30px;">×</span></button>
					<h3 class="text-center" style="font-family: inherit;">코멘트 수정</h3>
					<form id="editItemMeetingForm" method="post" enctype="multipart/form-data"  onsubmit="return false;">
						<div class="modal_box" style="padding: 20px 0;">
							<input type="hidden" id="item_id" name="item_id" value="" />
							<input type="hidden" name="id"/>
							<select class="" name="type" style="width:70px; border-radius: 0px;">
																											<option value="전화"  selected  >전화</option>
																			<option value="미팅"  >미팅</option>
																			<option value="기타"  >기타</option>
																								</select>
							<input type='file' type="file" id="modal-file1" name="file1" placeholder="파일" style="width:0; height:0; opacity:0; float:left;">
							<label for='modal-file1'>파일첨부</label>
							<input type="text" class="file_name" placeholder="파일명" value="" style="width:calc(100% - 176px); border-radius: 0px; border-left: 0px; border-right: 0px;" disabled>
							<div id="real_file_chk_on" style="display:none;"><a href='#' id="memo_file_down" title='파일 다운'><i class='fas fa-download'></i></a></div>
							<div id="real_file_del_on" style="display:none;"><a href='#' onclick="memo_file_delete();" id="real_file_del_btn" title='파일 삭제'><i class='fas fa-trash'></i></a></div>
							<button class="btn btn_edit btn-sm" onclick="editMeeting();" style="width: 40px; border-radius: 0px;">수정</button>
							<textarea class="modal_meet_content" name="content" placeholder="내용" style="display: inline-block; width: 100%; padding: 5px 10px; border: 1px solid #ddd; border-top: 0px; border-radius: 4px; line-height: 18px; resize: none; height: 100px;"></textarea>

						</div>
					</form>
					<style media="screen">
					#editItemMeetingForm #modal-file1 { width:0.1px; height:0.1px; opacity:0; overflow:hidden; position:absolute; z-index:-1; }

					#editItemMeetingForm #modal-file1 + label { width:80px; height:34px; margin:0; padding:0 10px; border:1px solid #ddd; background:#fff; line-height:32px; color:#999; text-align:center; font-weight:500; font-size:14px; outline: none; }

					#editItemMeetingForm #modal-file1 + label:hover { color:#2371b9; cursor:pointer; }
					</style>
				</div>
			</div>
		</div>
	</div>

	<div class="modal" id="modal_meetingView">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-body">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span style="font-size:30px;">×</span></button>
					<h3 class="text-center" style="font-family: inherit;">코멘트 내용</h3>
					<div class="modal_box" id="meetingViewBox" style="padding:10px 0; background: #fff;"></div>
				</div>
			</div>
		</div>
	</div>

						
		
	<!-- 기존  191204 -->
	
<!-- 푸터 스타일 -->
	<style media="screen">
/* 수정 */
.footer { display:inline-block; width:100%; padding:0; float:left; }
.footer>* { display:inline-block; width:100%; float:left; }
.wrap_1140 { width:1140px; margin:0 auto; }
.footer_top { background:#767676; }
.foot_logo { cursor:pointer; }
.footer_top .footer_ul { display:inline-block; height:40px; float:left; }
.footer_top .footer_ul li { display:inline-block; color:#ffffff; float:left; position:relative; }
.footer_top .footer_ul li:not(:last-child):after { content:'｜'; height:40px; padding:0 10px; line-height:40px; color:rgba(255,255,255,.8); }
.footer_top .footer_ul li a { display:inline-block; height:40px; line-height:40px; float:left; }
.footer_top .footer_ul li:hover a { color:#2371b9; transition:all .2s; }
.footer_bottom { background:rgba(118,118,118,.8); }
.footer_bottom .wrap_1140 { padding:15px 0; }
.footer_bottom table { width:100%; table-layout:fixed; }
.footer_left { display:inline-block; width:100%; padding-right:50px; float:left; }
.footer_left>* { display:inline-block; width:100%; float:left; }
.footer_left>*:not(:last-child) { margin-bottom:10px; }
.footer_left .logo_footer { width:auto; height:50px; padding:0; margin-right:0; }
.footer_left>.company_wrap { }
    .company_box { display:inline-block; float:left; }
    .company_box:not(:last-child):after { content:'｜'; color:#ffffff; }
    .company_box:not(:first-child):before { content:'｜'; color:#ffffff; }
    .company_box:last-child:before { content:''; }
    .company_box.company_box_name .btn.mobile_only { display:none; }
    .company_box.company_box_ceo:after, .company_box.company_biz_num:after { display:none; }
    .company_box span { display:inline-block; color:#ffffff; float:left; }
    .company_box>span>span:first-child:after { content:':'; padding:0 4px; }
    .company_box>span {}
        .company_box>span:not(:last-child):after { content:'｜'; }
.footer_left>.copyright { width:100%; }
.footer_left>.copyright a { color:rgba(255,255,255,.8); }

.footer_right { display:inline-block; width:100%; padding-left:30px; border-left:1px solid rgba(255,255,255,.4); float:left; }
.footer_right>* { display:inline-block; width:100%; color:#ffffff; float:left; }
.foot_title { font-size:18px; }
.foot_title span { margin-left:5px; font-size:16px; font-weight:normal; color:rgba(255,255,255,.6); }
.call_number { margin-bottom:5px; font-family:'NotoSansKR-Bold'; font-weight:bold; font-size:30px; cursor:pointer; }

.footer_right .foot_title { margin-bottom: 5px; }
.footer_right .call_number { line-height: 30px; }

.icon_wrap li { display:inline-block; width:34px; height:34px; border-radius:34px; background:#767676; float:left; cursor:pointer;}
.icon_wrap li:not(:last-child) { margin-right:5px; }
.icon_wrap li:hover { background:#2371b9; transition:all .2s; }
.icon_wrap li img { height:20px; line-height:20px; opacity:1 !important; }

@media (max-width:1140px) {
    .wrap_1140 { width:100%; }
    .footer>* { padding:0 15px; }
}

@media (max-width:992px){
    body { display:inline-block; width:100%; min-width:100%; }
    .centerOver .header_bottom:before { content:''; display:none; }
    .wrap_1140 { width:100%; }
    .footer { font-size:13px; }
    .footer_top .footer_ul li:not(:last-child):after { padding:0 5px; }
    .footer_bottom .wrap_1140 { padding:0; }
    .footer>.footer_bottom { padding:15px; }
    .company_box:not(.company_box_name) span { font-weight:normal; }
    .footer_bottom table, .footer_bottom tbody, .footer_bottom tr, .footer_bottom th { display:inline-block; width:100%; float:left; }
    .footer_bottom th:last-child { display:none; }
    .footer_left { padding-right:0; }
    .footer_left .foot_logo { display:none; }
    .company_box:not(:first-child):before { content:''; }

    .company_box { display:none; }
    .company_box.on { display:inline-block; }

    .company_box:not(:last-child):after { content:''; display:none; }
    .company_box .footer_company_name { width:100%; margin-bottom:10px; font-size:16px; font-weight:bold; }
    .company_box .footer_company_name>span:first-child { display:none; }

    .company_box.company_box_name { display:inline-block; width:100%; position:relative; }
    .company_box.company_box_name .btn.mobile_only { display:inline-block; height:16px; padding:0; position:absolute; top:0; right:0; line-height:16px; color:#ffffff !important; cursor:pointer; transform:rotate(0deg); }
    .company_box.company_box_name .btn.mobile_only.on i { transform:rotate(180deg); }
    .company_box.company_box_name .btn.mobile_only i { margin-left:5px; }

    .popup.notice_popup .popup-content img { width:calc(100% + 30px) !important; height: auto !important; }
}

.banner_main_right_zone { z-index: 4; }
</style>
<script type="text/javascript">
$(document).ready(function() {
    $('.company_box.company_box_name .btn.mobile_only').click(function() {
        $(this).toggleClass('on');
        $(this).parents('.company_box').siblings('.company_box').toggleClass('on');
    });
});
</script>
<!-- 새로운 푸터 스타일 - 소영210929 -->
<footer class="footer no_print" id="">
	<div class="footer_top">
        <div class="wrap_1140">
            <ul class="footer_ul">
                <li><a href="/intro">회사소개</a></li>
                <li><a href="/request">의뢰하기</a></li>
                <li><a href="#modal-privacy" onclick="privacy()" data-toggle="modal">이용약관</a></li>
                <li><a href="#modal-privacy" class="ellipsis" onclick="privacy()" data-toggle="modal">개인정보처리방침</a></li>
            </ul>
        </div>
	</div>
    <div class="footer_bottom">
        <div class="wrap_1140">
    		<table>
    			<colgroup>
    				<col width="">
    				<col width="300px">
    			</colgroup>
    			<tr>
    				<th>
    					<div class="footer_left">
    						<div class="foot_logo" onclick="location.href=''">
    							    								<img src="/uploads/logo/a48ff0d5bb1dd66405920d88b2232264.png" class="logo_footer" alt="푸터로고" />
    							    						</div>
    						    							<div class="company_wrap">
                                                                            <span class="company_box company_box_name">
                                            <span class="footer_company_name">
                                                <span>상호</span>
                                                <span>이서부동산중개법인(유)</span>
                                                <span class="btn mobile_only">사업자정보 보기 <i class="far fa-chevron-down"></i></span>
                                            </span>
                                        </span>
                                                                        <span class="company_box company_box_ceo">
                                                                                    <span class="footer_ceo">
                                                <span>대표자</span>
                                                <span>김봉현</span>
                                            </span>
                                                                                                                            <span class="footer_address">
                                                <span>주소</span>
                                                <span>전라남도 순천시 왕지1길 3-4, 3층 302호 </span>
                                            </span>
                                                                            </span>
                                    <span class="company_box company_biz_num">
                                            										<span class="footer_biz_num">
                                                <span>사업자등록번호</span>
                                                <span>626-81-02809</span>
                                            </span>
    									                                            										<span class="real_estate_num">
                                                <span>부동산등록번호</span>
                                                <span>46150-2023-00034</span>
                                            </span>
    									                                    </span>
                                    <span class="company_box company_box_tel">
                                            										<span class="footer_tel">
                                                <span>전화</span>
                                                <span>061-722-0101</span></span>
    									    									    									    										<span class="footer_fax">
                                                <span>팩스</span>
                                                <span>061-722-0107</span>
                                            </span>
    									    									    										<span class="footer_email">
                                                <span>이메일</span>
                                                <span>yeeseo@yeeseo.co.kr</span>
                                            </span>
    									                                    </span>
    							</div>
    						    						        						<div class="copyright">
        							이서부동산중개법인 © All rights reserved.        						</div>
    						    					</div>
    				</th>
    				<th>
    					<div class="footer_right">
                            <div class="foot_title">
                                대표전화 <span>CALL CENTER</span>
                            </div>
                                                            <div class="call_number" onclick="location.href='tel:061-722-0101'">
        							061-722-0101        						</div>
            				
    						<ul class="icon_wrap">
																								                                                                                                    <li onclick="window.open('https://blog.naver.com/yeeseo_realty','_blank');">
            							<img src="/static/img/add/footer_blog_w.png" alt="">
            						</li>
                                                                                                    <li onclick="$.post('/etc/script_call/kakao_plus'); window.open('http://pf.kakao.com/_lxdtKn','_blank');">
            							<img src="/static/img/add/footer_plus_w.png" alt="">
            						</li>
                                                                                                    <li onclick="$.post('/etc/script_call/kakao_open'); window.open('http://pf.kakao.com/_lxdtKn/chat','_blank');">
            							<img src="/static/img/add/footer_kakaotalk_w.png" alt="">
            						</li>
                                                                                                																								    						</ul>
    					</div>
    				</th>
    			</tr>
    		</table>
    	</div>
    </div>
</footer>


<script>
	$(function () {
		$('.card_style_7').each(function () {
			var $card = $(this);
			var $content = $card.find('.card7_content');
			var hasVillaTitle = $card.find('.villa_title_wrap').length > 0;

			if (hasVillaTitle) {
				$content.css('min-height', '135px');
			} else {
				$content.css('min-height', '155px');
			}
		});
	});
</script>
<script>
	//전화걸 때
	function callHpTelScript(){
				
			}
</script>

<!-- 사용자 스크립트 -->
<div id="script_call">
    </div>
<div id="script">
    		<script>
$(document).ready(function() {
$('section.visual').prepend('<div class="homeTour_btn" onclick="location.href=\'/tour/write\'"><span>투어 신청하기    <i class="far fa-chevron-right" aria-hidden="true"></i></span></div>');
});
</script>

<style>
.homeTour_btn { display:inline-block; width:180px; line-height:50px; color:#fff; box-shadow: 0 0 0 2px #FFF inset; border-radius:2px; text-align:center; position:absolute; bottom:210px; left:calc((100% - 1200px) / 2 + 30px); z-index:1; cursor:pointer; }
.homeTour_btn>span {display:inline-block; text-align: center; font-size:18px; margin-left: 10px;}
.homeTour_btn:hover {background:#FFF; color:#000;}
</style>

<style>
#flex1 {border : 1px solid #ddd; overflow :  hidden;}
#flex2 {border : 1px solid #ddd; overflow :  hidden;}
#flex3 {border : 1px solid #ddd; overflow :  hidden;}
#flex4 {border : 1px solid #ddd; overflow :  hidden;}
</style>

<script type="text/javascript" src="//wcs.naver.net/wcslog.js"></script>
<script type="text/javascript">
if(!wcs_add) var wcs_add = {};
wcs_add["wa"] = "2aff47b286130";
if(window.wcs) {
  wcs_do();
}
</script>	</div>
<div id="naver_script">
	</div>

<div id="google_script">
	</div>
<div id="super_script">
    </div>
										<div class="mobile_footer_wrap" >
											<a class="mobile_footer_icon visible-xs no_print color_m_f_c color_m_f_b " href="/search" style="padding:5px 0;"><i class="far fa-search-location"></i><h5 class="mobile_footer_icon_text">매물검색</h5></a><a class="mobile_footer_icon visible-xs no_print color_m_f_c color_m_f_b " href="/request/write" style="padding:5px 0;"><i class="far fa-comment-alt-edit"></i><h5 class="mobile_footer_icon_text">의뢰하기</h5></a><a class="mobile_footer_icon  visible-xs no_print color_m_f_c color_m_f_b " href="/main" style="padding:5px 0;"><i class="far fa-home"></i><h5 class="mobile_footer_icon_text">홈</h5></a><a class="mobile_footer_icon visible-xs no_print color_m_f_c color_m_f_b " href="/seen" style="padding:5px 0;"><i class="far fa-eye"></i><h5 class="mobile_footer_icon_text">본매물</h5></a><a class="mobile_footer_icon navbar-toggle offcanvas-toggle js-offcanvas-has-events color_m_f_c color_m_f_b"  style="border-radius:0px; background-color:#ffffff" > <i class="fas fa-ellipsis-h"></i><h5 class="mobile_footer_icon_text">더보기</h5></a>									</div>
						
<form method="get" id="mobile_grid_form" name="mobile_grid_form" action="/archSearch/view/arch">
	<input type="hidden" id="grid_address_name" name="address_name" />
	<input type="hidden" id="grid_lat" name="lat" />
	<input type="hidden" id="grid_lng" name="lng" />
</form>

<script type="text/javascript">
$(document).ready(function() {
	})
</script>




<script>
	function go_href_fn(url){
		if(url){
			location.href=url;
		} else {
			return false;
		}
	}
</script>

</body>
</html>

<!-- 팝업 공지 데이터 가져오기 -->
<style>
.popup.popup_static img { width:100% !important; height:auto !important; }
	.notice_popup .popup-content { font-size:16px; line-height: 1.6 }
	.popup.notice_popup { display:inline-block; width:440px; height:auto; padding:0; top:30%; left:0%; border:1px solid #aaa; box-shadow:0 0 5px rgba(0,0,0,.15); }
	.popup.notice_popup .pop_title { display:inline-block; width:100%; padding:10px; font-size:18px; font-weight:bold; text-align:center; background:#333; color:#fff; }
	.popup.notice_popup .popup-content { display:inline-block; padding:15px; }
	.popup.notice_popup .popup-content>div { display:inline-block; width:100%; }
	.popup.notice_popup .popup-content>div>span { font-size:18px; color:red; }
	.popup.notice_popup .popup-content .emoji { margin: unset; }
	.popup.notice_popup .popup-content img { max-width:100%; height:auto !important; margin:0; }
	.popup.notice_popup .pop_close { display:inline-block; width:100%; height:auto; padding:10px 15px; }
	.popup.notice_popup .pop_close { position:relative; }
	.popup.notice_popup .pop_close>* { display:inline-block; width:auto; text-align:center; float:left; line-height:30px; }
	.popup.notice_popup .pop_close>.btn { padding:0 15px; font-size:14px; border:none; border:1px solid #ddd; border-radius:4px; float:right; }
	.popup.notice_popup .pop_close * { margin-bottom:0; }
	.popup .pop_close label { font-weight:normal; color:#888; }

	.popup input[type="checkbox"] { margin-top:0; margin-right:5px; -ms-transform: scale(1.5); /* IE */ -moz-transform: scale(1.5); /* FF */ -webkit-transform: scale(1.5); /* Safari and Chrome */ -o-transform: scale(1.5); /* Opera */ transform: scale(1.5); }

	.notice_popup { position:absolute; top:20%; z-index:12; }
	.notice_popup>* { display:inline-block; width:100%; float:left; }

	/* 2024-08-12 */
	.popup.notice_popup{height: auto; max-height: inherit; /* position: fixed; top: 50% !important; left: 50%; transform: translate(-50%, -50%); */}

	.popup.notice_popup .popup-content{ overflow: hidden; overflow-y: auto;}

	@media (max-width:768px) {
		.popup.notice_popup .popup-content img { max-width:100%; height: auto !important; }
		.popup.notice_popup{max-width: 90vh; max-height: 90vh;}
		.popup.notice_popup .popup-content{max-width: 90vh;max-height: 75vh;}
	}
</style>


<style>
		
	.main_alarm_list_box { position: fixed; bottom: 20px; right: 20px; z-index: 10; width: auto !important; }

		.main_alarm_list_box > ul { width: 100%; height: auto; overflow: hidden; overflow-y: auto; margin-bottom: 0; }

			.main_alarm_list_box > ul > li { position: relative; padding: 0; cursor: pointer; background: rgba(0,0,0,0.7); border-radius: 10px; }
			.main_alarm_list_box > ul > li:not(:last-child) { margin-bottom: 5px; }

			.main_alarm_list_box > ul > li > div { min-width: 320px; width: 100%; padding: 15px 10px; display: flex; flex-flow: wrap row; align-items: center; }

				.main_alarm_list_box > ul > li > div .alarm_icon { position: relative; width: 38px; height: 38px; display: block; text-align: center; line-height: 38px; color: #FFF; background: rgba(255,255,255,0.3); border-radius: 50%; }
					.main_alarm_list_box > ul > li > div .alarm_icon i { position: absolute; top: 50%; left: 50%; transform: translate(-56%,-50%); font-size: 16px; font-weight: 300; }

				.main_alarm_list_box > ul > li > div .alarm_cnt { width: calc(100% - 40px); padding-left: 10px; }
					.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_tt { width: 100%; display: flex; flex-flow: wrap row; align-items: center; color: #FFF; }
						.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_tt span:not(.delete_bnts) { width: calc(100% - 20px); line-height: 1.2; }
						.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_tt span.delete_btns { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; font-size: 18px; text-align: center; }
							.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_tt span.delete_btns i { font-weight: 300; }

					.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_date { width: 100%; margin-top: 1px; display: block; font-size: 12px; font-weight: 300; color: #FFF; line-height: 1.2; }

	@media (max-width:992px) {
					.main_alarm_list_box { bottom: 60px; }
		
		.main_alarm_list_box { right: 10px; }
			.main_alarm_list_box > ul > li > div { width: 280px; max-width: 100%; min-width: auto; padding: 12px 10px; }
				.main_alarm_list_box > ul > li > div .alarm_icon { width: 35px; height: 35px; line-height: 35px; }
					.main_alarm_list_box > ul > li > div .alarm_icon i { font-size: 14px; }

				.main_alarm_list_box > ul > li > div .alarm_cnt { width: calc(100% - 35px); }
					.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_tt { font-size: 13px; }
					.main_alarm_list_box > ul > li > div .alarm_cnt .alarm_cnt_tt span.delete_btns { font-size: 16px; }
	}

	@media (max-width:320px) {
		.main_alarm_list_box { width: 100% !important; bottom: 50px; right: 0; padding: 0 10px 10px; }
	}
</style>

<script type="text/javascript">
function onDanziTypeImg(btn) {
	var addTag = '';
	var type_name = btn.parents('.bottom_info').find('.box_title').html();
	addTag += '<div class="addTag">';
		if(type_name) {
			addTag += '<div class="type_name">'+type_name+' - 평면도</div>';
		}
	addTag += '</div>';
	var add_img_modal = '<div class="modal img_modal"><button type="button" class="close closeBtn" onclick="$(this).parents(\'.img_modal\').removeClass(\'in\').remove();"><i class="fal fa-times"></i></button>'+addTag+'<div class="img_wrap" style="display:inline-block; width:calc(100vw - 120px); height:calc(100vh - 120px);"></div></div>';
	$('body').append(add_img_modal);

	var imgBg = '/static/img/add/danzi_no_type_nb.png';
	var imgSlideW = $(window).width()-120;
	var imgSlideH = $(window).height()-120;
	var imgSlideRatio = imgSlideW/imgSlideH;
	var bgSizeArr = new Array();
	var imgMore = 0;
	$('.img_modal').addClass('in');
	imgBg = btn.parents('.type_img').css('background-image');
	bgSizeArr[0] = btn.parents('.type_img').data('width');
	bgSizeArr[1] = btn.parents('.type_img').data('height');
	bgSizeArr[2] = bgSizeArr[0]/bgSizeArr[1];

	if(imgSlideRatio<bgSizeArr[2]) {
		imgMore = 'ratioOver';
	} else {
		imgMore = 'ratioBasic';
	}

	imgBg = imgBg.replace(/(url\(|\)|")/g, '');
	$('.img_wrap').append('<img class="'+imgMore+'" src="'+imgBg+'" style="" alt="단지슬라이드이미지" />');
}
</script>
<script>
	$('#quickCallForm2 .contact').on('input', function() {
		var contact = $(this).val(); // 현재 입력된 값을 가져옴

		// 숫자 이외의 문자는 제거
		contact = contact.replace(/[^0-9]/g, '');

		// - 자동 추가
		if (contact.length == 10) {
			contact = contact.replace(/(\d{2,3})(\d{3,4})(\d{4})/, "$1-$2-$3");
		} else if (contact.length == 11) {
			contact = contact.replace(/(\d{3})(\d{4})(\d{4})/, "$1-$2-$3");
		} else if (contact.length == 12 && contact.startsWith('050')) {
			// 안심번호 050X-XXXX-XXXX 형식 적용
			contact = contact.replace(/(\d{4})(\d{4})(\d{4})/, "$1-$2-$3");
		}

		// 변경된 값을 다시 입력 필드에 설정
		$(this).val(contact);
	});

	$("#requestSubmit2").click(function() {
		if(!$("#quickCallForm2 input[name='contact']").val()) {
			alert("연락처를 입력해주세요.");
			$("#quickCallForm2 input[name='contact']").focus();
			return false;
		}

		// 전화번호 형식 체크 (정규식)
		var contact = $("#quickCallForm2 input[name='contact']").val();
		var phoneRegex = /^(01[016789]{1}|02|0[3-9]{1}[0-9]{1}|050[0-9]{1})-?[0-9]{3,4}-?[0-9]{4}$/;

		if (!phoneRegex.test(contact)) {
			alert("유효한 전화번호를 입력해주세요.");
			$("#quickCallForm2 input[name='contact']").focus();
			return false;
		}

		if(!$("#item_tosAgree_quickCallForm2").is(":checked")) {
			alert("개인정보 수집·이용에 동의해주세요.");
			return false;
		}

		$.post("/call/insert_action", $("#quickCallForm2").serialize());
		//전환스크립트
				
				
				alert("문의가 등록되었습니다.");

		$("#quickCallForm2 input[name='name']").val('');
		$("#quickCallForm2 input[name='contact']").val('');
		$("#b_content").val('');
		$("#item_tosAgree_quickCallForm2").attr("checked", false);
	});


	function setCookies(name, value, days) {
			//1일동안 팝업 표시 X
			var today = new Date();
			today.setDate(today.getDate() + days);
			today.setHours(0);
			today.setMinutes(0);
			today.setSeconds(0);
			document.cookie = name + "=" + escape(value) +"; path=/; expires=" + today.toUTCString() + ";"
		}

	function getCookie(name){
		var nameOfCookie = name + "=";
		var x =0;
		while(x <= document.cookie.length) {
			var y = (x+nameOfCookie.length);
			if(document.cookie.substring(x,y) == nameOfCookie){
				if((endOfCookie=document.cookie.indexOf(";",y))==-1)
					endOfCookie = document.cookie.length;
					return unescape(document.cookie.substring(y, endOfCookie));
				}
			x = document.cookie.indexOf(" ",x) +1;
			if(x==0) break;
		}
		return "";
	}

	$('.btn_close').on('click',function(){
		popup = $(this).data('id');
		$("." + popup).hide();
		if($("." + popup + " input[name='pop_check']").is(":checked") == true) {
			setCookies(popup, "done", 1);
		}
	});

	$('.popup_no_today_btn').click(function() {
		popup = $(this).data('id');
		setCookies(popup, "done", 1);
		$("." + popup).hide();
	});

</script>

<script>

function delete_alarm_box2(obj){
	obj.closest('.alarm_item').remove();
}

$(document).ready(function() {
	$('.modal').on('shown.bs.modal', function () {
		var backdrop = $('body>.modal-backdrop.in');
		backdrop.insertAfter($('body'));
	});

	});

function go_cate(cate_id,name,level,start_lat,start_lng){
				location.href='/search/direct/map/0/0/'+cate_id+'/0/'+level+'/'+start_lat+'/'+start_lng;
		return;
}
function pop_close(id){
$('.pop_'+id).hide();
if($('input[name="pop_'+id+'"]').is(':checked')){
    setsave('pop_'+id,1,7);
}
}

$(document).on('click', '.modal_close', function() {
    $('a').removeClass('item_active');
	if ($(".youtube_box iframe").length > 0) {
		$(".youtube_box iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
		
	}
	if ($("#youtube_s iframe").length > 0) {
		$("#youtube_s iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
	}
});

function item_modal(id, type, q){
	// map_list_style_2 클래스가 있는 요소에 'item_active' 클래스 추가
    var element = document.querySelector('.item_list_' + id);
		$('#modal-contact').remove();
	$('#modal-declare').remove();
	var url = "";
	if(type) {
		url = "?type=sell";
		if(q) {
			url += "&q=" + q;
		}
	} else {
		if(q) {
			url = "?q=" + q;
		}
	}

	$('.item_modal_zone').css('background-color','rgba(255,255,255,0.9)');
	$('#modal_item_content').html('<div class="text-center padder-v"><i class="fad fa-spinner spin" style="font-size:50px; line-height:650px;"></i></div');
	$('#modal-item').modal();
			$('.modal_newWindow').attr('onclick','window.open(\'/item/view/'+id+url+'\')');
		$('#modal_item_id').html('매물번호 : '+id).trigger("create");
	$('#modal-item .modal-header .btn_box span').html('<a href="/item/view/'+id+url+'" target="_blank" class="btn btn-default hidden-xs"><i class="far fa-external-link"></i></a>');

	var mobile_check = 0;

	if(mobile_check || window.innerWidth <= 992) {
		location.href = '/item/view/'+id+'/0/0/0'+url;
		} else {
		$.post('/item/view/'+id+'/0/0/1'+url,function(data){
			$('#modal_item_content').html(data).trigger("create");
			$('.item_modal_zone').css('background-color','rgba(255,255,255,1)');
		})
	}
}

var listY = 0;
var agent = navigator.userAgent.toLowerCase();
var ieO =0;
if ( (navigator.appName == 'Netscape' && agent.indexOf('trident') != -1) || (agent.indexOf("msie") != -1)) {
	ieO = 1;
} else {
	ieO = 0;
}

function item_modal2(id, type){
    var element = document.querySelector('.item_list_' + id);
	
	
					$('.modal_newWindow').attr('onclick','window.open(\'/item/view/'+id+'\')');
				if (ieO=='1') {
			listY = window.scrollY || document.documentElement.scrollTop;
		} else {
			listY = $('#map_list_panel').scrollTop();
		}

		$('.item_modal_zone').css('background-color','rgba(255,255,255,0.9)');

		if (ieO=='1') {
			$('#modal_item_content').empty().append('<div class="text-center padder-v"><i class="fad fa-spinner spin" style="font-size:50px; line-height:650px;"></i></div');
		} else {
			$('#modal_item_content').html('<div class="text-center padder-v"><i class="fad fa-spinner spin" style="font-size:50px; line-height:650px;"></i></div');
		}
		var url = "";
		if(type) {
			url = "?type=sell";
		}
		$.post('/item/view/'+id+'/0/0/2' + url,function(data){
			//$('#map_list_panel').css({'height':'100%','box-shadow':'0 0 2px rgba(0,0,0,.2)','border-left':'3px double #efefef'});

			$('#dongPannel').addClass('on');

			$('#map_list_panel').prepend('<div class="map_right_wrap"></div>');

			if(ieO==1) {
				$('.map_right_wrap').css({'width':'100%','height':'calc(100% - 106px)','overflow-y':'auto','position':'absolute','top':'55px','left':'0'});
			} else {
				$('.map_right_wrap').css({'width':'100%','height':'calc(100% - 110px)','overflow-y':'auto','position':'absolute','top':'55px','left':'0'});
			}

			$('.btn-group.align_group.b-r-n.btn-group-justified').hide().css('display','none');
			$('#map_list').hide().css('display','none');
			$('#month_recommend_item').hide().css('display','none');
			var newT = '<div class="back_btn_box2" style="display:inline-block; width:100%; height:55px; box-shadow:0 0 2px rgba(0,0,0,.15); position:absolute; top:0; left:0;"><div class="back_btn" onclick="map_right_wrap_back('+listY+')" style="display:inline-block; width:auto; height:44px; padding:15px; cursor:pointer; float:left;"><i class="far fa-arrow-left" style="display:inline-block; width:30px; height:30px; margin-top:0; margin-right:10px; text-align:center; line-height:30px; font-size:28px; float:left;"></i><span style="display:inline-block; height:30px; padding:4px 0; font-size:18px;"></span></div><div style="display:inline-block; width:auto; position:absolute; top:50%; left:50%; font-size:20px; font-weight:bold; transform:translate(-50%, -50%);">매물번호 : '
			+id+'</div>';
												newT += '<div class="print_btn" onclick="openPrintModal('+id+')" style="position:absolute; top:0; right:60px; display:inline-block; width:42px; padding:6px; margin: 8px 0; background:#fff; border-radius:100px; box-shadow:0 0 2px rgba(0,0,0,.1); font-size:16px; cursor: pointer;"><i class="far fa-print" title="프린트" style="width:30px; height:30px; line-height:30px; text-align:center; font-size:20px;"></i></div>';
										newT += '<div class="back_btn openmap_back_btn" style="z-index:1;display:inline-block; min-width:40px; height:40px; margin:8px 0; margin-right:15px; padding:0; cursor:pointer; float:right; position:relative;">';
			newT += '<a href="/item/view/'+id+url+'" target="_blank" class="new_link" style="display:inline-block;position:absolute; top:0; left:0;"><span style="display:inline-block; width:100%; padding:6px; background:#fff; border-radius:100px; box-shadow:0 0 2px rgba(0,0,0,.1); font-size:16px;"><i class="fas fa-external-link" title="큰창으로보기" style="width:30px; height:30px; line-height:30px; text-align:center; font-size:20px;"></i><span class="big_view">큰창으로보기</span></span></a></div>';
						newT += '</div>';

			if (ieO=='1') {
				$('.map_right_wrap').empty().append(data);
				$('#map_list_panel').prepend(newT);
			} else {
				$('.map_right_wrap').html(data).trigger("create");
				$('#map_list_panel').prepend(newT);
			}

			
			
			$('.itemList .item_view').css({'width':'100%', 'max-width':'100%'});
			$('.itemList .item_left').css('width','100%');
		});
	}

function arch_modal2(address_name, type, mobile_check,lat,lng,arch_id){
	
	arch_flag = 'N';
	mapMap.setCenter( new kakao.maps.LatLng(lat, lng) );


	if (ieO=='1') {
		listY = window.scrollY || document.documentElement.scrollTop;
	} else {
		listY = $('#map_list_panel').scrollTop();
	}

	$('.item_modal_zone').css('background-color','rgba(255,255,255,0.9)');

	if (ieO=='1') {
		$('#modal_item_content').empty().append('<div class="text-center padder-v"><i class="fad fa-spinner spin" style="font-size:50px; line-height:650px;"></i></div');
	} else {
		$('#modal_item_content').html('<div class="text-center padder-v"><i class="fad fa-spinner spin" style="font-size:50px; line-height:650px;"></i></div');
	}
	var url = "";
	if(type) {
		url = "?type=sell";
	}
	$.post('/archSearch/view/arch/0/0/2' + url,{address_name: address_name, lat: lat, lng: lng},function(data){
		arch_flag = 'N';
		//$('#map_list_panel').css({'height':'100%','box-shadow':'0 0 2px rgba(0,0,0,.2)','border-left':'3px double #efefef'});

		$('#dongPannel').addClass('on');

		$('#map_list_panel').prepend('<div class="map_right_wrap"></div>');

		if(arch_id){
			$('.marker_arch_btm').removeClass('on');
			$('.marker_'+arch_id).parent().parent().parent().css({'z-index':'998'});
			$('.marker_'+arch_id).parent().parent().addClass('marker_on');
			$('.marker_arch_btm_'+arch_id).addClass('on');
		}

		if(ieO==1) {
			$('.map_right_wrap').css({'width':'100%','height':'calc(100% - 96px)','overflow-y':'auto','position':'absolute','top':'50px','left':'0'});
		} else {
			$('.map_right_wrap').css({'width':'100%','height':'calc(100% - 50px)','overflow-y':'auto','position':'absolute','top':'50px','left':'0'});
		}

		$('.btn-group.align_group.b-r-n.btn-group-justified').hide().css('display','none');
		$('.map_header').hide();
		$('#map_list').hide().css('display','none');

		if(address_name){
			this_address_name = address_name;
			thisItemInfo_arr = new Array();
			address_name_str = '';
			if(this_address_name.indexOf(' ') > -1){
				thisItemInfo_arr = this_address_name.split(' ');
				address_name_str = thisItemInfo_arr[thisItemInfo_arr.length-2] + ' ' + thisItemInfo_arr[thisItemInfo_arr.length-1]
			} else {
				address_name_str = this_address_name;
			}
		} else {
			address_name_str = '-';
		}

		var newT = '<div class="back_btn_box arch_back_btn_box"><div class="back_btn" onclick="map_right_wrap_back('+listY+',2)"><i class="fas fa-chevron-left"></i></div><div class="arch_building_address" style="display:inline-block; width:auto; margin:0; position:absolute; top:50%; left:50%; font-size:20px; font-weight:bold; transform:translate(-50%, -50%);">'+address_name_str+'</div>';
		newT += '<span class="arch_py_ch"><i class="far fa-sync-alt"></i><span>평</span></span>';
		newT += '</div>';

		if (ieO=='1') {
			$('.map_right_wrap').empty().append(data);
			$('#map_list_panel').prepend(newT);
		} else {
			$('.map_right_wrap').html(data).trigger("create");
			$('#map_list_panel').prepend(newT);
		}

				$(document).ready(function() {
			$('.arch_py_ch').click(function(){
				if($(this).hasClass('active')){
					$('.arch_py_ch').removeClass('active');
					$('.py').hide().css('display','none');
					$('.meter').show().css('display','inline-block');
					$('.arch_py_ch span').html('평');
				} else {
					$('.py').show().css('display','inline-block');
					$('.meter').hide().css('display','none');
					$('.arch_py_ch').addClass('active');
					$('.arch_py_ch span').html('㎡');
				}
			});
		});

		
		
		$('.itemList .item_view').css({'width':'100%', 'max-width':'100%'});
		$('.itemList .item_left').css('width','100%');
	});
}

function openmap_info_cancel(listY) {
	$('.open_btn').removeClass('on2');
	
	map_openmap_wrap_back(listY)
}

function map_openmap_wrap_back() {

	$('a').removeClass('item_active');
	
	// 유튜브재생되는거 중지
	if ($(".youtube_box iframe").length > 0) {
        $(".youtube_box iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
    }
    if ($("#youtube_s iframe").length > 0) {
        $("#youtube_s iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
    }

	// 직방형 오픈형일때도 추가
	if ($("#itemYoutube iframe").length > 0) {
        $("#itemYoutube iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
    }

			return false;
	
	if($('.open_btn').hasClass('on')) {
		return;
	}

	var nowWidth = $('#map_list_panel').css('width');

	$('#openmap_item').hide();
	// open_btn 열때 실행된다.
	// 사용자단 지도가 오른쪽일 경우
			if(nowWidth == "480px") {
			if($('.open_btn').hasClass('on2')) {
				$('#openmap_item').show();
				$('#map_layout').css('width','calc(100% - 980px)');
				
									$('#map_list_panel').css('width','480px');
													$('.open_btn').css('right','980px');
							} else {
				
									$('#map_layout').css('width','calc(100% - 480px)');
					$('#map_list_panel').css('width','480px');
											$('.open_btn').css('right','480px');
												}
		} else {
			if($('.open_btn').hasClass('on2')) {
				$('#openmap_item').show();
				$('#map_layout').css('width','calc(100% - 980px)');
				
									$('#map_list_panel').css('width','480px');
													$('.open_btn').css('right','980px');
							} else {
				
									$('#map_layout').css('width','calc(100% - 480px)');
					$('#map_list_panel').css('width','480px');
											$('.open_btn').css('right','480px');
												}
		}
	
	// 네이버지도 짤림 문제 해결
	}

function map_right_wrap_back(listY, detailOne) {
	$('.map_title_R .align').removeClass('on');
	$('#map_list_panel').animate({'scrollTop':listY},1);
	$('.map_header').show();
	$('a').removeClass('item_active');
	$('#month_recommend_item').css('display','block');
	if($('#dongPannel').hasClass('active')) {
		$('.map_right>.map_list_title').css('display','none');
		$('#dongPannel').removeClass('on').show();
	} else {
		$('.map_right>.map_list_title').css('display','inline-block');
		$('#map_list').show();
	}

	if(detailOne==1) {
		close_map_item();
	}

	if(detailOne==2) {
		$('.marker_on').parent().css({'z-index':'1'});
		$('.marker_on').removeClass("marker_on");
		$(".marker_arch_btm").removeClass("on");
	}

		$('.btn-group.align_group.b-r-n.btn-group-justified').show();
	$('.back_btn_box2').remove();
	$('.back_btn_box').remove();
	$('.map_right_wrap').remove();
	$('.map_right_footer').remove();
}

function item_modal_naver(id){
$('.item_modal_zone').css('background-color','rgba(255,255,255,0.9)');
$('#modal_item_content').html('<div class="text-center padder-v"><i class="fad fa-spinner spin" style="font-size:50px; line-height:650px;"></i></div');
$('#modal-item').modal();
$('#modal_item_id').html('매물번호 : '+id+'<a href="/item/view/'+id+'/0/0/0/0/1" target="_blank" class="btn btn-default pull-right m-r-sm hidden-xs m-t-n-xs"><i class="far fa-external-link"></i></a>').trigger("create");
$.post('/item/view/'+id+'/0/0/1/0/1',function(data){
    $('#modal_item_content').html(data).trigger("create");
    $('.item_modal_zone').css('background-color','rgba(255,255,255,1)');
})
}

function gongsil_alert(){
msgbox('회원가입 후 관리자 인증을통해 열람이 가능합니다.');
}

function confirm_login_alert(){
	msgbox('회원 인증을 받아야 볼 수 있는 매물입니다. 고객센터에 문의해 인증을 받아주세요.');
}

var scale = 1;
function onModal(btn, admin, page) {
	$('html,body').addClass('body_hidden');

	var imgArr2 = new Array();
	var imgArrR = new Array();
	var initR = new Array();
	var initR2 = new Array();
	var bgUrlArrR  = new Array();
	var bgSizeArr = new Array();
	var init = 0;
	scale = 1;

	var imgSlideW = $(window).width()-120;
	var imgSlideH = $(window).height()-120;
	var imgSlideRatio = imgSlideW/imgSlideH;

	var imgMore = new Array();

	if(admin) {
		var slide_class = "slide_gallery_admin";
	}else {
		var slide_class = "slide_gallery";
	}

			var slickIdx = btn.parents('.' + slide_class).find('.slick-track .slick-slide').length;
		// 슬라이드 이미지 주소 가져오기
		for(var i=0; i<slickIdx; i++) {
			bgUrlArrR[i] = btn.parents('.' + slide_class).find('.slick-slide').eq(i).find('.bg_img').css('background-image');

			bgSizeArr[i] = new Array();
			bgSizeArr[i][0] = btn.parents('.' + slide_class).find('.slick-slide:not(.slick-cloned)').eq(i).find('.bg_img').data('width');
			bgSizeArr[i][1] = btn.parents('.' + slide_class).find('.slick-slide:not(.slick-cloned)').eq(i).find('.bg_img').data('height');
			bgSizeArr[i][2] = bgSizeArr[i][0]/bgSizeArr[i][1];

			if(imgSlideRatio<bgSizeArr[i][2]) {
				imgMore[i] = 'ratioOver';
			} else {
				imgMore[i] = 'ratioBasic';
			}
			//slick-active 현재 보고 있는 페이지 찾기
			initR[i] = btn.parents('.' + slide_class).find('.slick-slide').eq(i).hasClass("slick-active");
			imgArr2[i] = bgUrlArrR[i].replace(/(url\(|\)|")/g, '');
		}
		// 중복제거
	var j = 0;
	$.each(imgArr2,function(i,value){
		if(imgArrR.indexOf(value) == -1) {
			imgArrR.push(value);
			//일단 넣어주기
			initR2[j] = initR[i];
			j++;
		}
	});

	var currentImg = "";
	$.each(initR2, function(i, item){
		if(item == true) {
			init = i;
			//현재 이미지 주소
			currentImg = imgArrR[i];
		}
	});

	imgArrR.sort();

	if(currentImg == "") {
		init = imgArrR.length-1;
	}else {
		$.each(imgArrR, function(i, item) {
			//현재 이미지 주소랑 같으면
			if(item == currentImg) {
				init = i;
			}
		});
	}

	// form태그에 url 넣기
	var finalLeng = imgArrR.length;
	var item_id = $(btn).data("id");
	var item_title = $(btn).data("title");
	var addTag = '';
	addTag += '<div class="addBtn_box">';
		addTag += '<div class="btn" onclick="zoomInImg();"><i class="far fa-plus-square"></i><span>확대</span></div>';
		addTag += '<div class="btn" onclick="zoomOutImg();"><i class="far fa-minus-square"></i><span>축소</span></div>';
		addTag += '<div class="btn">';
							addTag += '<span class="pointer no_print btn-default btn-xs view_btn_scrap userShare_box" style="display:inline-block; width:100%; height:100%; border:none; background:transparent; line-height:35px;" data-toggle="modal" href="#modal-signin">';
					addTag += '<i class="far fa-heart"></i><span>스크랩</span>';
				addTag += '</span>';
						http://'.$_SERVER['HTTP_HOST']
		addTag += '</div>';
		addTag += '<div class="btn" onclick="openShareModal(\'' + item_title + '\',\'http://yeeseo.co.kr/item/view/' + item_id + '\')"><i class="far fa-share-alt"></i><span>공유하기</span></div>';
	addTag += '</div>';

	$('body').prepend('<div class="fullWrap">'+addTag+'<div class="closeBtn" onclick="closeS_btn();"><i class="fal fa-times"></i></div><div class="imgSlideWrap"></div></div>');
	for(var j=0; j<finalLeng; j++) {
		$('.fullWrap>.imgSlideWrap').append('<div class="imgWrap '+imgMore[j]+'"><div id="imgswrapImg_'+j+'" onmousemove="imgMousemove('+j+');" class="bg_img imgswrap"><img onmousedown="imgMouseDown($(this));" onmouseup="imgMouseUp($(this));" style="cursor:grab;" src="'+imgArrR[j]+'" alt="" data-zoom="3"/></div></div>');
	}

	if($('.imgSlideWrap').hasClass('slick-initialized')) {
		$('.fullWrap>.imgSlideWrap').unslick();
	}
	$('.fullWrap>.imgSlideWrap').slick({
		slidesToShow: 1,
		slidesToScroll: 1,
		infinite: true,
		autoplaySpeed: 0,
		dots: true,
		swipe:false,
		draggable: false,
		touchMove : false,
		initialSlide: page,
		customPaging: function (slider, i) {
			return  (i + 1) + ' / ' + slider.slideCount;
		}
	});
	$('.fullWrap>.imgSlideWrap').slick("setPosition");
	$('.imgWrap').css('transform', 'scale(1)');
}

var zoomin = 0;
function imgZoom() {
	++zoomin;
	if(zoomin%2==1) {
		$(".imgWrap").on('moueenter mousemove', magnify).prepend("<div class='magnifier'></div>").children('.magnifier');
	} else {
		$('.magnifier').remove();
	}
}

let isPress = false,   // 마우스를 눌렀을 때
    prevPosX = 0,      // 이전에 위치한 X값
    prevPosY = 0;      // 이전에 위치한 Y값
	function imgMouseDown(me) {
		prevPosX = event.clientX;
		prevPosY = event.clientY;
		isPress = true;
	}

	function imgMousemove(i) {
		if (!isPress) {
		return;
		}
		// 이전 좌표와 현재 좌표 차이값
		const posX = prevPosX - event.clientX;
		const posY = prevPosY - event.clientY;
		// 현재 좌표가 이전 좌표로 바뀜
		prevPosX = event.clientX;
		prevPosY = event.clientY;
		// left, top으로 이동
		const imgswrapImg = document.getElementById("imgswrapImg_"+i);
		imgswrapImg.style.left = (imgswrapImg.offsetLeft - posX) + "px";
		imgswrapImg.style.top = (imgswrapImg.offsetTop - posY) + "px";
	}

	function imgMouseUp(me) {
		isPress = false;
	}

	var zoomin = 0;
	function imgZoomBtn() {
		++zoomin;
		if(zoomin%2==1) {
			$(".imgWrap").on('moueenter mousemove', magnify).prepend("<div class='magnifier'></div>").children('.magnifier');
		} else {
			$('.magnifier').remove();
		}
	}
	
	var scale = 1;
	// 드래그 구현에 필요한 이벤트
	 $(".imgWrap").on('click', function(e) {
		prevPosX = e.clientX;
		prevPosY = e.clientY;
		isPress = true;
	 });


var imgWrap = 0;
function magnify(e) {
	var target = $(this).find('img');
	var zoom = target.data('zoom');
	imgWrap = target.attr("src");
	var magnifier = $('.magnifier');

	magnifier.css({"background": "url('" + imgWrap + "') no-repeat","background-size": target.width() * zoom + "px " + target.height() * zoom+ "px"});

	// 마우스 위치에서 .magnify의 위치를 차감해 컨테이너에 대한 마우스 좌표를 얻는다.
	var mouseX = e.pageX - $(this).offset().left;
	var mouseY = e.pageY - $(this).offset().top;

	var zoomImgWPadding = $(this).width() - $(this).find('img').width();
	var zoomImgHPadding = $(this).height() - $(this).find('img').height();

	// 컨테이너 밖으로 마우스가 벗어나면 돋보기를 없앤다.
	if (mouseX > ($(this).width()-(magnifier.width()/2)) || mouseY > ($(this).height()-(magnifier.height()/2)) || mouseX < (magnifier.width()/2) || mouseY < (magnifier.height()/2)) {
		magnifier.fadeOut(100);
	} else {
		magnifier.fadeIn(100);
	}

	//돋보기가 존재할 때
	var rx = -((mouseX-(zoomImgWPadding/2)) * zoom - magnifier.width()/2);
	var ry = -((mouseY-(zoomImgHPadding/2)) * zoom - magnifier.height()/2);

	var px = mouseX - magnifier.width()/2;
	var py = mouseY - magnifier.height()/2;

	magnifier.css({left: px, top: py, backgroundPosition: rx + "px " + ry + "px"});
}


function zoomInImg() {
	if (scale < 2.0) { // 최대 2.0까지 확대 가능
		scale += 0.1;
		$('.imgWrap.slick-active').css('transform', 'scale('+scale+')');
	}
}

function zoomOutImg() {
	if (scale > 0.5) { // 최소 0.5까지만 축소 가능
		scale -= 0.1;
		$('.imgWrap.slick-active').css('transform', 'scale('+scale+')');
	}
}

function closeS_btn() {
	$('.fullWrap').remove();
	$('html,body').removeClass('body_hidden');
}

function openPrintModal(id, type) {
	var url = "";
	var url2 = "";
	if(type) {
		url = "?type=sell";
		url2 = "?type2=sell";
	}
	$("#print_pic").click(function (){
		window.open('/item/view/' + id + '/1' + url, 'print', 'height=800,width=820,scrollbars=no');
	});
	$("#print_nopic").click(function (){
		window.open('/item/view/' + id + '/2' + url, 'print', 'height=800,width=820,scrollbars=no');
	});
	$("#print_marketing").click(function (){
		window.open('/item/print1/'+ id + url, 'print', 'height=800,width=820,scrollbars=no');
	});
	$("#print_horizontal_marketing").click(function (){
		window.open('/item/print1_horizontal/'+ id + url, 'print', 'height=900,width=1200,scrollbars=no');
	});
	$("#print_brief").click(function (){
		window.open('/item/print2/'+ id + url, 'print', 'height=900,width=1200,scrollbars=no');
	});
	$("#print_data").click(function (){
		window.open('/item/print3/'+ id + url2, 'print', 'height=900,width=1200,scrollbars=no');
	});
	$("#print_profit").click(function (){
		window.open('/item/print/profit/'+ id + url, 'print', 'height=800,width=1280,scrollbars=no');
	});
	$("#modal-print").modal("show");
}
function openProfitPrintModal(id, type) {
	event.stopPropagation();
	var url = "";
		if(type) {
			url = "?type=sell";
		}
	window.open('/item/print/profit/'+ id + url, 'print', 'height=800,width=1280,scrollbars=no');
}


function openShareModal(id, url) {
	$("#naver_share").click(function() {
		social_naver(id, url);
	});
	$("#modal-share").modal("show");
}

function getMenuiOS() {
			$('#slide_menu').toggleClass('active');
		if($('#slide_menu').hasClass('active')) {
			$('body').prepend('<div class="close_btn" style="width:34px; height:34px; position:fixed; top:8px; right:8px; background:#fff; border-radius:50px; z-index:11;" onclick="$(this).remove();$(\'.container-fluid>.close_btn\').remove();"><img src="/static/img/add/top_filter/icon_search_close.png" alt="닫기" style="width:100%; height:auto; float:left;"/></div>');
		} else {
			$('.container-fluid>.close_btn').remove();
			$('body>.close_btn').remove();
		}
	}
</script>

<style>
@media (max-width:991px) {
.navbar-brand .logo { padding:4px; }
.nav { text-align:left; }
.mobile_footer_wrap { display:inline-block; width:100%; position:fixed; bottom:0; left:0; border-top: 1px solid rgba(0,0,0,0.2); background:#fff; box-shadow:0 -1px 1px #efefef; z-index:4; }
#slide_menu.active { left:0; opacity:1; }
.headerStyle5.navbar-default .navbar_line.navbar-nav>li:first-child { left:0; }
	.mobile_footer_wrap .mobile_footer_icon { display:inline-block !important; width:20%; margin:0; float:left; position:unset !important; left:inherit !important; top:inherit !important; bottom:inherit !important; left:inherit !important; border:none; text-align:center; box-shadow:none; color:#777; }
	.mobile_footer_icon_text { font-size:.9em; }
	.mobile_footer_wrap .offcanvas-toggle { background:none;
    text-align: center; padding: 5px 10px; }
	.mobile_footer_wrap .offcanvas-toggle .mobile_footer_icon_text { margin-top:4px; color:#777; }
	.mobile_footer_wrap .mobile_footer_icon.navbar-toggle span { display:inline-block; width:48px; height:48px; margin:1px 0; background:#2371b9; color:#fff; border-radius:48px; font-weight:bold; text-align:center; line-height:48px; }
	.container-fluid>.close_btn { width:34px; height:34px; position:fixed; top:8px; right:8px; background:#fff; border-radius:50px; z-index:5; }
	.container-fluid>.close_btn img { width:100%; height:auto; padding:2px; }
	.mobile_footer_btn { display:inline-block; }
}
</style>
<script type="text/javascript">
$(document).ready(function() {
	// modal :: 승인 요청 목록 - 전체 체크
	$("#checkall2").click(function(){
		if ($("#checkall2").prop("checked")) {
			$("input[name='approval_chk[]']").prop("checked",true);
		} else {
			$("input[name='approval_chk[]']").prop("checked",false);
		}
	});
	$(".chk").on("click", function(){
		if($(".chk:checked").length==$(".chk").length) {
			$('#checkall2').prop('checked',true);
		} else {
			$('#checkall2').prop('checked', false);
		}
	});

	if ( window.history.replaceState ) {
        window.history.replaceState( null, null, window.location.href );
    }
	
	if($(window).width()<992) {
			}
});

</script>

<style media="screen">
	.mobile_footer_wrap .mobile_footer_icon i { font-family:'Font Awesome 5 Pro'; }
</style>

<style media="screen">
#modal-declares .modal-dialog { width:400px; position:absolute; top:40%; left:50%; transform:translate(-50%, -50%); }
#modal-declares .modal-body { display:inline-block; width:100%; padding:10px 20px; }
#modal-declares .modal-footer { border:none; padding-top:0; }
#modal-declares .modal-footer .btn { font-weight:bold; font-size:16px; }
#modal-declares .declare_box { display:inline-block; width:100%; text-align:left; float:left; }
#modal-declares .declare_box label { display:inline-block; width:100%; font-size:16px; float:left; cursor:pointer; }
#modal-declares .declare_box label input[type='radio'] { margin-right:5px; transform:scale(1.01); }
#modal-declares .declare_box label input[type='text'] { width:calc(100% - 22px); padding:0 15px; border:1px solid #ddd; line-height:30px; }

@media (max-width:992px) {
	#modal-declares .modal-dialog { width:90%; margin:0; }
}
</style>


<script type="text/javascript">
function hexToRgba(hexType,op) { // #aaa > rgba 로 변경
	if(hexType){
		/* 맨 앞의 "#" 기호를 삭제하기. */
		var hex = hexType.trim().replace( "#", "" );

		/* rgb로 각각 분리해서 배열에 담기. */
		var rgb = (3 === hex.length) ?
			hex.match(/[a-f\d]/gi) : hex.match(/[a-f\d]{2}/gi);

		rgb.forEach(function (str, x, arr){
			/* rgb 각각의 헥사값이 한자리일 경우, 두자리로 변경하기. */
			if (str.length == 1) str = str + str;
			/* 10진수로 변환하기. */
			arr[x] = parseInt(str, 16);
		});
		return "rgba(" + rgb.join(", ") + ","+op+")";
	} else {
		return false;
	}

}

function showAddText(id) {
	$.ajax({
		url: "/admin_item/get_item_add/"+id,
		dataType: "JSON",
		success: function(data) {
			$("#modal-add_text #copyarea").val(data.sms_content);
			$(".add_text_title").text("[매물번호 : "+id+"]");
			$("#modal-add_text").modal("show");
			$('.btn_cont_reset').attr("data-id", id);
			$("#modal-add_text #copyarea").scrollTop(0);
		}
	});
}

function map_right_wrap_back_filter(listY, detailOne) {
	$('.map_title_R .align').removeClass('on');
	$('#map_list_panel').animate({'scrollTop':listY},1);
	$('.map_header').show();
	if($('#dongPannel').hasClass('active')) {
		$('.map_right>.map_list_title').css('display','none');
		$('#dongPannel').removeClass('on').show();
	} else {
		$('.map_right>.map_list_title').css('display','inline-block');
		$('#map_list').show();
	}

	if(detailOne==1) {
		close_map_item();
	}

	if(detailOne==2) {
		$('.marker_on').parent().css({'z-index':'1'});
		$('.marker_on').removeClass("marker_on");
		$(".marker_arch_btm").removeClass("on");
	}
	$('.btn-group.align_group.b-r-n.btn-group-justified').show();
	$('.back_btn_box').remove();
	$('.map_right_wrap').remove();
	$('.map_right_footer').remove();
	// 폴리곤 초기화
	removeOverlays();
	removePoligonMarker();
	removeMarkerPoligonOverlay();

}

$(document).ready(function() {
	$("body").on('wheel', '.imgSlideWrap', function(e) {
		e.preventDefault();
		if (e.originalEvent.deltaY > 0) {
			// Scroll down (zoom out)
			zoomOutImg();
		} else {
			// Scroll up (zoom in)
			zoomInImg();
		}
	});

	$("body").on('click', '.slick-prev', function(e) {
		e.preventDefault();
		scale = 1;
		$('.imgWrap').css('transform', 'scale(1)');
		$('.imgswrap').css('top', '50%');
		$('.imgswrap').css('left', '50%');
	});

	$("body").on('click', '.slick-next', function(e) {
		e.preventDefault();
		scale = 1;
		$('.imgWrap').css('transform', 'scale(1)');
		$('.imgswrap').css('top', '50%');
		$('.imgswrap').css('left', '50%');
	});


});

function open_item_detail_page(){
	var item_id = $('#required_item_check_id').val();

	if (false) {
		window.open("/admin_item/edit/" + item_id+"?is_public_autochk=true", "item_" + item_id, "width=1630,height=850,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,fullscreen=0");
	} else {
		// 현재 창에서 열기
		location.href = '/admin_item/edit/' + item_id +'?is_public_autochk=true';
	}
}

function open_alert_modal(head, target, tail, name, type){
	if(head || target || tail){
		$('.target_head').text(head);
		$('.target_body .new_red_color').text(target);
		$('.target_tail').text(tail);
		$('#modal-item_form_checks').modal('show');
	}

	if(type){
		$('.modal_type_check').hide();
	} else {
		$('.modal_type_check').show();
	}

	if(name){
		$('#target_name').val(name);
	}
}

function focus_on_target(){
	target = $('#target_name').val();
	$('#modal-item_form_checks').modal('hide');

	if(target == 'direction' || target == 'direction_type' || target == 'date_select_type' || target == 'enter_date_y' || target == 'enter_date_m' || target == 'owner_type' || target == 'owner_sub1_type' || target == 'owner_sub2_type'){
		$('#' + target).selectpicker('toggle');
	} else {
		$('input[name="' + target + '"]').focus();
	}

}


</script>

<!-- 다국어 -->


	<style>
		#mapWrapper {z-index:1;}
		#rvWrapper3 {width:100%;height:100vh;top:0;right:0;position:fixed;}
		#rvZindex {z-index:999999;}
		#rvZindexC {z-index:999999; display:block;}
		#container.view_roadview #mapWrapper {width: 50%;}
		#roadviewControl {position:absolute;top:5px;left:5px;width:42px;height:42px;z-index: 1;cursor: pointer; background: url(http://t1.kakaocdn.net/localimg/localimages/07/2018/pc/common/img_search.png) 0 -450px no-repeat;}
		#roadviewControl.active {background-position:0 -350px;}
		#close3 { padding:3px; position:absolute; top:12px; right:14px; background:rgba(30,30,30,1); border-radius:100px; box-shadow:0px 0 1px rgba(0,0,0,.8); cursor:pointer; transition:backgrond .2s; }
		#close3:hover { background:#3396ff; }
		#close3 .img {display:block; width:30px; height:30px; }
		#close3 .img img { width:100%; height:auto; }

		#modal-item.modal.roadview { padding:0 !important;overflow-y:hidden !important; }
		#modal-item.modal.roadview>.modal-dialog { position:fixed;width:100%;max-width:100%;margin:0; }
		#modal-item.modal_itemScroll.roadview .modal_body { width:100%; }
		#modal-item.modal.roadview #rvWrapper3 { position:fixed;width:100% !important;height:100vh !important; }
	</style>
	<div id="rvWrapper3" style="width:100%; height:100%; float:left; z-index:-999;">
		<div id="roadView3" style="width:100%;height:100%;z-index:998;"></div> <!-- 로드뷰를 표시할 div 입니다 -->
		<div id="close3" class="close" title="로드뷰닫기" style="z-index:999; display:none;"><span class="img"><img src="/static/img/add/button_close.png" alt="닫기"/></span></div>
	</div>

<script>
	var openModalCount = 0;

	// 모달이 열릴 때 카운트 증가
	$(document).on('show.bs.modal', function () {
  	    openModalCount++;
		// 항상 modal-open 클래스 유지
  		$('body').addClass('modal-open');
	});

	// 모달이 닫힐 때 카운트 감소
	$(document).on('hide.bs.modal', function () {
		if (openModalCount > 0) {
			openModalCount--;
		}
		$('a').removeClass('item_active');
	});

	// 모달이 완전히 닫힌 후에 modal-open 클래스를 다시 적용
	$(document).on('hidden.bs.modal', function () {
		if (openModalCount > 0) {
			$('body').addClass('modal-open');
		} else {
			$('body').removeClass('modal-open');
		}
	});

	// 특정 모달이 닫힐 때 이벤트 추가
	$('.modal').on('hidden.bs.modal', function () {
		// 여기에서 원하는 동작 수행
		if ($(".youtube_box iframe").length > 0) {
			$(".youtube_box iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
		}
		if ($("#youtube_s iframe").length > 0) {
			$("#youtube_s iframe")[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
		}
	});

	function editItemSecretMemo(id){
		if(id){
			// 기존 비밀메모 영역 숨기기
			$('.sc_memo').hide();
			// textarea pc, 모바일 보이기
			$('.hidden_div').css("visibility", "visible");
			$('.m_hidden_div').css("visibility", "visible");
			// 수정 버튼 제어
			$('.editMemoBtn').hide();
			$('.textarea_box').show();
			$('.updateMemoBtn').show();
			$('.removeMemoBtn').show();

			// 높이 동기화 함수 정의
			function syncHeights() {
				let pcHeight = $('.hidden_div').prop('scrollHeight');
				let mobileHeight = $('.m_hidden_div').prop('scrollHeight');
				
				$('.hidden_div').css('height', pcHeight + 'px');
				$('.m_hidden_div').css('height', mobileHeight + 'px');
			}

			// 키 입력 시 높이 조정 및 동기화
			$(document).on('keyup', '.hidden_div, .m_hidden_div', function (e){
				let content = $(this).val();
				let keyCode = e.keyCode ? e.keyCode : e.which;
				let rows = content.split('\n').length;

				if(content.length > 10 || keyCode === 13 || rows > 1) {
					$('.hidden_div').parent('.textarea_box').addClass('onEnter');
					$('.m_hidden_div').parent('.textarea_box').addClass('onEnter');
					$(this).css({
						'padding-bottom': '20px',
						'padding-left' : '10px',
						'padding-right' : '10px',
						'height': 'auto',
						'min-height': '30px'
					});
					$(this).height(this.scrollHeight + 5);
				} else {
					$('.hidden_div').parent('.textarea_box').removeClass('onEnter');
					$('.m_hidden_div').parent('.textarea_box').removeClass('onEnter');
					$(this).removeAttr('style');
					$(this).css({
						'padding-bottom': '6px',
						'padding-left' : '10px',
						'padding-right' : '10px',
						'height': 'auto',
						'min-height': '60px'
					});
				}

				syncHeights(); // 높이 동기화
			});

			// 초기 동기화 호출
			$('.textareas').keyup();
			// 화면 크기 변경 시 동기화
			$(window).resize(syncHeights);
		}
	}

	function cancelEditMemo(){
		// 기존 비밀메모 영역
		$('.sc_memo').show();
		// textarea pc, 모바일이 보여지고
		$('.hidden_div').css("visibility", "hidden");
		$('.m_hidden_div').css("visibility", "hidden");

		$('.textarea_box').hide();
		$('.updateMemoBtn').hide();
		$('.removeMemoBtn').hide();
		// 수정버튼
		$('.editMemoBtn').show();
	}

    function updateItemSecretMemo(id){
		if(id){
			if(confirm('비밀메모를 업데이트 하시겠습니까?')) {
				var memo = $('.hidden_div').val();
				var formattedMemo = memo.replace(/\n/g, '<br>');
				var noMemo = '<i class="fas fa-lock lock_icon" style="margin-right:3px; position: relative; top: 2px;"></i> 비밀메모가 없습니다.';
				// var noMemo = '비밀메모가 없습니다.';
				$.post('/admin_item/edit_item_memo',{id:id,memo:memo},function(data){
					if(data == 'NO'){
						alert('수정 실패');
						return;
					}
					alert('수정되었습니다.');

					if(memo){
						// 메모 영역바꾸고 가리기
						$('.sc_memo').html(formattedMemo);
					} else {
						$('.sc_memo').html(noMemo);
					}

					$('.editMemoBtn').show();
					$('.updateMemoBtn').hide();
					$('.removeMemoBtn').hide();
					$('.textarea_box').hide();
					$('.hidden_div').css("visibility", "hidden");
					$('.m_hidden_div').css("visibility", "hidden");
					$('.sc_memo').show();
				});
			}
		}
    }

	function syncTextarea(textarea) {
		// 입력된 값 가져오기
		const value = textarea.value;

		// 다른 textarea에 값 설정
		if ($(textarea).hasClass('hidden_div')) {
			$('.m_hidden_div').val(value);
		} else if ($(textarea).hasClass('m_hidden_div')) {
			$('.hidden_div').val(value);
		}
	}

	function insert_print_log(type, item_id) {
		var url = "/admin_log/insert_log_print/"+type;
		$.ajax({
			url: url,
			data: {
				email : '',
				item_ids : item_id,
				del_id : 0,
			},
			type: "POST",
			dataType: "JSON",
			success: function(data) {
				
			}
		});
	}
	
	// 감시 대상 스크립트의 원래 URL
	const originalSrc = "//t1.kakaocdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js";
	
	// MutationObserver 콜백 함수
	const observerCallback = mutations => {
		mutations.forEach(mutation => {
			if (mutation.type === "attributes" && mutation.attributeName === "src") {
				const target = mutation.target;
				if (target.src !== originalSrc) {
					observer.disconnect(); // 감시 중단
					target.src = originalSrc; // 원래 src로 복구
					// 감시 재개
					observer.observe(target, { 
						attributes: true,
						attributeFilter: ["src"]
					});
				}
			}
		});
	};
	
	// 특정 스크립트 태그 찾기
	const scriptTag = document.querySelector(`script[src*="postcode.v2.js"]`);
	if (scriptTag) {
		const observer = new MutationObserver(observerCallback); // MutationObserver 초기화
		// 스크립트 태그의 속성 변경 감시
		observer.observe(scriptTag, {
			attributes: true, // 속성 변경 감시
			attributeFilter: ["src"] // src 속성만 감시
		});
	}
	
</script>


<style>
		#modal-building-search-view { z-index:1052; }
	#modal-building-search-view .modal-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width:470px; max-width: 95%; height:auto; }
	#modal-building-search-view .modal-dialog>* { float:left; height: 100%; width:100%;}
	#modal-building-search-view.modal.in .modal_wrap_ver1{background: #FFF; border-radius: 8px;}
	#modal-building-search-view .modal-dialog .modal_content { height: 100%; padding: 15px; overflow: hidden; overflow-y: auto; }
	#modal-building-search-view .modal-dialog #buildingResult { max-height:500px; height: auto; margin: 10px; overflow: hidden; overflow-y: auto; }
	#modal-building-search-view .modal-dialog #buildingResult table {width:100%;}
	#modal-building-search-view .modal-dialog #buildingResult table thead {z-index: 2;position: sticky; top: 0;left:0;}
	#modal-building-search-view .modal-dialog #buildingResult .modal_box { width: 100%; display: flex; flex-flow: wrap row; align-items: center; }
	#modal-building-search-view .modal-dialog #buildingResult .modal_box:not(:last-child) { margin-bottom: 10px; }

	#modal-building-search-view.modal.in .modal_wrap_ver1 .modal_title { height:45px; position:relative; border-bottom: 1px solid #DDD; }
	#modal-building-search-view.modal.in .modal_wrap_ver1 .modal_title>* { display:inline-block; max-width:90%; margin:0; position:absolute; }
	#modal-building-search-view.modal.in .modal_wrap_ver1 .modal_title h4 { font-size:18px; font-weight:bold; top:50%; left:50%; transform:translate(-50%, -50%);}
	#modal-building-search-view.modal.in .modal_wrap_ver1 .modal_title .close { top:50%; right:15px; transform:translateY(-50%); text-align:center;}

	#modal-building-search-view .modal-dialog #buildingResult .modal_box > div { line-height: inherit; }
	#modal-building-search-view .modal-dialog #buildingResult .modal_box > .radio { margin-top: 0; margin-bottom: 0; }
	#modal-building-search-view .modal-dialog #buildingResult .modal_box > .radio input { display: none; }
	#modal-building-search-view .modal-dialog #buildingResult .modal_box > .radio input + label { width: 100%; height: 30px; padding: 0; border: 1px solid #026; color: #026; border-radius: 4px; text-align: center; line-height: 28px; }
	#modal-building-search-view .modal-dialog #buildingResult .modal_box > .radio input:checked + label, #modal-building-search-view .modal-dialog #buildingResult .modal_box > .radio input + label:hover { background: #026; color: #FFF; }

	#modal-building-search-view .black_box { width:40px; height:100%; background:#000; border-radius:4px 0 0 4px; }
	#modal-building-search-view .modal-content { width:calc(100% - 40px); height:100%; border-radius:0 4px 4px 0; }
	#modal-building-search-view .modal-content.modal-body { position:inherit; padding:0; }
	#modal-building-search-view .modal-content>* { float:left; }
	#modal-building-search-view .modal-content>.modal_content_title { display:inline-block; width:100%; border-bottom:1px solid #e5e5e5; }
	#modal-building-search-view .modal-content>.modal_content_title>.modal_form_2box { width:40%; margin:0; padding:17px 15px; float:left; }
	#modal-building-search-view .modal-content .close { width:30px; height:30px; padding:2px; position:absolute; top:15px; right:15px; background:#000; border-radius:50px; line-height:30px; text-shadow:none; color:#fff; z-index:5; }
	#modal-building-search-view .form-horizontal.modal_box_right { width:100%; height:calc(100% - 120px); border-radius:0px 4px 4px 0; overflow-y:auto; }
	#modal-building-search-view .modal-footer { width:100%; height:50px; padding:10px; text-align:center; }
	#modal-building-search-view .modal-footer .btn { padding:6px 20px; border-radius:0; transition:all .2s; font-weight:bold; }
	#modal-building-search-view .modal-footer .btn-primary { background:#acacac !important; border-color:#acacac !important; }
	#modal-building-search-view .modal-footer .btn-primary:hover { background:#fff !important; color:#acacac; }
	#modal-building-search-view .modal-footer .btn-default { background:#ff3148 !important; border-color:#ff3148 !important; color:#fff; }
	#modal-building-search-view .modal-footer .btn-default:hover { background:#fff !important; color:#ff3148; }

	#modal-building-search-view .form_btn_box { display:inline-block; width:100%; padding-top:10px; background:#fff; text-align:center; }
	#modal-building-search-view .form_btn_box .btn { display:inline-block; width:100px; padding:6px 16px; border-radius:0; font-size:16px; background:#171f2a !important; border-color:#171f2a !important; color:#fff; }
	#modal-building-search-view .form_btn_box .btn:hover { background:#fff !important; color: #171f2a !important; }

	#modal-building-search-view .modal_wrap_ver1 { border-radius: 4px !important; }
	#modal-building-search-view .modal_wrap_ver1 .modal_title { height:45px;border-radius:4px 4px 0 0; }
	#modal-building-search-view .modal_wrap_ver1 .modal_title h4 { font-family:'NotoSansKR-Bold';font-size:16px; }
	#modal-building-search-view .modal_wrap_ver1 .modal_title .close { opacity:1; }
	#modal-building-search-view .modal_wrap_ver1 .modal_title .close>i { font-size:24px;font-weight:300; }

	#modal-building-search-view .add_new_customer { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); width: auto; height: 26px; padding: 0 8px; font-size: 13px; background: #33D64C; border: 1px solid #33D64C; border-radius: 4px; color: #FFF; line-height: 24px; }
	#modal-building-search-view .add_new_customer i { position: relative; top: -1px; margin-right: 3px; font-size: 11px; }

	#modal-building-search-view .modal-dialog #buildingResult { height: auto; padding-bottom: 0; border-bottom: none; }

	#modal-building-search-view .modal_box { width: 100%; height: auto; padding: 8px; border: 1px solid #DDD; border-radius: 6px; cursor: pointer; }
	#modal-building-search-view .modal_box:not(:last-child) { margin-bottom: 5px !important; }
	#modal-building-search-view .modal_box:hover { background: #EBF2FF; border-color: #0A84FF; }

	#modal-building-search-view .modal_box:hover .customer_info_boxs_R span { background: #002266; border-color: #002266; color: #FFF; }
	#modal-building-search-view .modal_box:hover .customer_info_boxs_R span i { color: #FFF; }

	#modal-building-search-view .modal_box .customer_info_boxs_wrap { padding:0 5px; width: 100%; display: flex; flex-flow: wrap row; height:auto; border:none; background:none;}

	#modal-building-search-view .modal_box .customer_info_boxs_L { width: calc(100% - 55px); padding-right: 5px; text-align:left; color:#000;}

	#modal-building-search-view .modal_box .customer_info_boxs_top { width: 100%; margin-bottom: 3px; }
	#modal-building-search-view .modal_box .customer_info_boxs_top > span:not(:last-child):after { position: relative; top: -1.5px; content: '|'; padding: 0 3px 0 5px; font-size: 12px; color: #BEBEBE; }
	#modal-building-search-view .modal_box .customer_info_boxs_top > span.owner_type_box { position: relative; display: inline-block; padding: 0 7px; margin-right: 3px; color: #FFF; font-size: 13px; border-radius: 4px; line-height: 20px; }
	#modal-building-search-view .modal_box .customer_info_boxs_top > span.owner_type_box::after { display: none; content: ''; }
	#modal-building-search-view .modal_box .customer_info_boxs_top > span.bold_span { font-weight: bold; }

	#modal-building-search-view .modal_box .customer_info_boxs_btm { width: 100%; line-height: 1.2; }
	#modal-building-search-view .modal_box .customer_info_boxs_btm > div > span:not(:last-child):after { position: relative; top: -1.5px; content: '|'; padding: 0 3px 0 5px; font-size: 12px; color: #BEBEBE; }

	#modal-building-search-view .modal_box .customer_info_boxs_R { display:inline-flex; align-items: center; width: 55px; margin: 0; }
	#modal-building-search-view .modal_box .customer_info_boxs_R input { display: none; }
	#modal-building-search-view .modal_box .customer_info_boxs_R span { padding: 5px; display:flex; justify-content: space-evenly; width: 100%; height: auto; border: 1px solid #DDD; border-radius: 6px; background: #FFF; text-align: center; font-size: 13px; cursor: pointer;}
	#modal-building-search-view .modal_box .customer_info_boxs_R span:hover { background: #002266; border-color: #002266; color: #FFF; }
	#modal-building-search-view .modal_box .customer_info_boxs_R span i { line-height:inherit; text-align: center; display: block; color: #000; }
	#modal-building-search-view .modal_box .customer_info_boxs_R span:hover i { color: #FFF; }

	#modal-building-search-view .modal_box .customer_info_boxs_btm > span:not(:last-child):after { position: relative; top: -1.5px; content: '|'; padding: 0 3px 0 5px; font-size: 12px; color: #BEBEBE; }


	#modal-building-search-view .modal_btn_box { height: 55px; text-align:center;}

	#modal-building-search-view #buildingSearchBox {display:flex; padding:0px 10px; justify-content: space-between;}
	#modal-building-search-view #buildingSearchBox select { width: 100px; height: 35px; padding: 0 5px; float: left; font-size: 13px; border-color: #DDD; border-radius: 4px; box-shadow: none; }
	#modal-building-search-view #buildingSearchBox .input_span {width:100%; display:flex;}
	#modal-building-search-view #buildingSearchBox .input_span input { padding:8px; font-size: 13px;height: 35px !important;width: 100%; border-radius: 4px 0 0 4px; border: 1px solid #DDD;}
	#modal-building-search-view #buildingSearchBox .input_span span {line-height:18px; padding:8px; height: 35px !important; font-size: 13px; width: 35px; background: #002266; border:1px solid #002266; color: #FFF;border-radius: 0 4px 4px 0;}
	#modal-building-search-view #buildingSearchBox .input_span span:hover { color: #002266; background: #FFF;}
	#modal-building-search-view #buildingSearchBox .input_span span i {font-size:14px; color:inherit; }

	#modal-building-search-view .customer_pagination {margin: 0; display: inline-block;}
	#modal-building-search-view .customer_pagination>li>a {padding: 0 7px !important;}
	#modal-building-search-view .customer_pagination>li {display:inline;}
	#modal-building-search-view .customer_pagination>.active>a {color:#0557fe !important;font-size:16px;cursor:default;}
	
	#modal-building-search-view .building_ex {width:100%; padding:15px 10px;}
	#modal-building-search-view .building_ex ul {margin-bottom:0;}
	#modal-building-search-view .building_ex .ex_tt {margin-bottom:5px; }
	#modal-building-search-view .building_ex .ex_tt span {font-size:15px;  color:#002266;}
	#modal-building-search-view .building_ex .ex_sub span {font-size:14px;}
	#modal-building-search-view .building_ex .ex_tt i {display:inline;color:#002266;}

	#modal-building-search-view #buildingResult {display:none;}
	#modal-building-search-view th {padding:5px; background:#f2f4f7;}
	#modal-building-search-view th.th_center {text-align:center;}
	#modal-building-search-view #building_search_body td {padding:5px; border-bottom:1px solid #ddd; }
	#modal-building-search-view #building_search_body td.b_select {text-align:center;font-size:13px;}
	#modal-building-search-view #building_search_body .b_select_btn {cursor:pointer; border:1px solid #ddd; padding:0 10px; border-radius:5px;}
	#modal-building-search-view #building_search_body .b_select_btn:hover {background:#002266; border-color:#002266; color:#fff;}
	#modal-building-search-view #building_search_body .b_select_btn:hover i {color:#fff;}

	#modal-building-search-view #buildingSelectResult {display:none; padding:10px; }
	#modal-building-search-view .select_b_info {display:none; background:#f2f4f7; padding:10px 15px; }
	#modal-building-search-view .select_b_info .addr i {color:#002266; margin-right:5px; }

	#modal-building-search-view .bold, #modal-building-search-view .select_b_list .b_info .b_type_tt {font-family: 'NotoSansKR-Bold';margin-bottom:0; }
	#modal-building-search-view .select_b_list .b_info:not(.readonly) .b_type_tt {cursor:pointer;}

	#modal-building-search-view .b_select_reset {position:relative; top:-1px; cursor:pointer; margin-left: 10px; font-size:11px; background:#fff; padding:0 5px; border:1px solid #ddd; border-radius:5px; }
	#modal-building-search-view .b_select_reset i {font-size:inherit; margin-right:5px;}

	#modal-building-search-view .select_b_list .b_info { border: 1px solid #ddd;padding: 5px 10px;border-radius: 5px;}

	#modal-building-search-view .select_b_list .b_info.dropdown.active {border-bottom:1px solid #ddd !important;}

	#modal-building-search-view .select_b_list .b_info .drop-toggle .arrow {border-width:0;}
	#modal-building-search-view .select_b_list .b_info .drop-toggle .arrow i {margin-right:5px; font-weight:900;}
	#modal-building-search-view .select_b_list .b_info .drop-toggle .tt { margin-left: 15px;}
	#modal-building-search-view .select_b_list .b_info.dropdown ul {border-top:1px solid #ddd; margin-top:5px; max-height:200px; overflow:auto;}
	#modal-building-search-view .select_b_list .b_info.dropdown li {border-bottom:1px solid #ddd; }
	#modal-building-search-view .select_b_list .b_info .drop-toggle .badge {margin-left:5px; background:#f2f4f7; color:#002266; border:1px solid #ddd; }
	#modal-building-search-view .select_b_list .b_info.readonly {background:#f2f4f7; color:#999;}
	#modal-building-search-view .select_b_list .b_info:not(:last-child) {margin-bottom:5px;}
	#modal-building-search-view .select_b_list .b_info input[type=checkbox] {margin: 5px 5px 0;height: 14px;width: 14px;}
	#modal-building-search-view .modal_btn_box {display:none; padding:0 20px;}
	#modal-building-search-view .btn_b_submit {border:1px solid #002266; background:#002266; color:#fff; width:100%;}
	#modal-building-search-view .btn_b_submit:hover {background:#fff; color:#002266;}

	#modal-building-search-view #buildingSearchLoading {display:none;}
	#modal-building-search-view #buildingSearchLoading.on {display:inline-flex;width:100%;  justify-content: center; align-items: center; padding:15px 0; }
	#modal-building-search-view #buildingSearchLoading .load_box { display:inline-flex; /* width:calc((100% - 50px) / 5); */ flex-direction: column;align-items: center;}
	#modal-building-search-view #buildingSearchLoading .load_box span {display:block;text-align:center;}

	#modal-building-search-view #buildingSearchLoading .load_box .icon_box {border-radius:50%;width: 60px;height: 60px; margin-bottom:5px; }
	#modal-building-search-view #buildingSearchLoading .load_box.ing .icon_box{
		--size:60px; 
		--track:#e9f1ff;
		--bar:#1677ff; 
		--hole:6px;
		--p:0%; 

		width:var(--size); height:var(--size);
		border-radius:50%;
		display:grid; place-items:center;
		position:relative; font-weight:700; color:#1677ff;
		background:conic-gradient(var(--bar) var(--p), var(--track) 0);
	}
	.load_box.ing .icon_box::after{
		content:"";
		position:absolute; inset:var(--hole);
		background:#fff; border-radius:50%;
	}

	/* 중앙의 % 텍스트 */
	.load_box.ing .icon_box::before{
		content: attr(data-progress) " %";
		position:relative; font-size:15px;
		z-index:9;
		font-family: 'NotoSansKR-Bold';
	}

	#modal-building-search-view #buildingSearchLoading .load_box.disable .icon_box {background:#ddd;}
	#modal-building-search-view #buildingSearchLoading .load_box.done .icon_box  {background:#0557fe;}
	#modal-building-search-view #buildingSearchLoading .load_box.warning .icon_box {background:#fde7ed;}
	#modal-building-search-view #buildingSearchLoading .load_box.disable .icon_box:before {line-height:60px; color:#999; content:'\f057';font-family:'Font Awesome 5 Pro'; font-weight:900; font-size:30px;}
	#modal-building-search-view #buildingSearchLoading .load_box.done .icon_box:before {line-height:60px; color:#fff; content:'\f019';font-family:'Font Awesome 5 Pro'; font-weight:900; font-size:25px;}
	#modal-building-search-view #buildingSearchLoading .load_box.warning .icon_box:before {line-height:60px; color:#ea0f53; content:'\f071';font-family:'Font Awesome 5 Pro'; font-weight:900; font-size:25px;}
	#modal-building-search-view #buildingSearchLoading .load_box:not(:last-child) {margin-right:10px;}


	#modal-building-search-view #buildingSearchWait {display:none}
	#modal-building-search-view #buildingSearchWait.on {display:inline-flex;width:100%;/*justify-content: space-between;*/  justify-content: center; align-items: center; }
	#modal-building-search-view #buildingSearchWait .load_boxw { display:inline-flex; /* width:calc((100% - 50px) / 5); */ flex-direction: column;align-items: center;}
	#modal-building-search-view #buildingSearchWait .load_boxw span {display:inline-block;text-align:center;}
	#modal-building-search-view #buildingSearchWait .load_boxw span:not(.txt1) {line-height:18px;}
	#modal-building-search-view #buildingSearchWait .load_boxw span.txt1 {font-size:20px; font-weight:bold; margin-bottom:10px;}
	#modal-building-search-view #buildingSearchWait .load_boxw span.txt1 span {font-size:inherit; font-family:inherit; font-weight:bold; color:#999;}

	#modal-building-search-view #buildingSearchWait .load_boxw .icon_boxw {border-radius:50%;width: 60px;height: 60px; margin-bottom:5px; }

	#modal-building-search-view #buildingSearchWait .load_boxw.disable .icon_boxw {background:#999;}
	#modal-building-search-view #buildingSearchWait .load_boxw.disable .icon_boxw:before {display: inline-block;animation: spin 3s linear infinite;line-height:60px; color:#fff; content:'\f252';font-family:'Font Awesome 5 Pro'; font-weight:900; font-size:30px;}

	@keyframes spin {
		0% { transform: rotate(0deg); }
		100% { transform: rotate(360deg); }
	}

	#modal-building-search-view #buildingSearchEmpty {display:none; padding:15px 10px;}
	#modal-building-search-view #buildingSearchEmpty .ex_tt {margin-bottom:10px;}
	#modal-building-search-view #buildingSearchEmpty li { text-align:center;}
	#modal-building-search-view #buildingSearchEmpty span i {font-size:40px; color:#ea0f53;}
	#modal-building-search-view #buildingSearchEmpty span {color:#ea0f53; width:100%; font-size:15px;}

	.b_info.dropdown.show {}
	#modal-building-search-view .building_dropdown {display:none;}
	#modal-building-search-view .building_dropdown.show {display:block;}
	#modal-building-search-view .junarea_dropdown {cursor:pointer;}
	#modal-building-search-view .cur_pointer {cursor:pointer;}

	#modal-building-search-view #buildingSearchWarning {display:none; padding:15px 10px; width:100%; text-align:center;}
	#modal-building-search-view #buildingSearchWarning .ex_tt {margin-bottom:10px;}
	#modal-building-search-view #buildingSearchWarning .ex_tt span {background: #ea0f53;border-radius: 50%;height: 55px;width: 55px;padding: 10px; display:inline-block;}
	#modal-building-search-view #buildingSearchWarning .ex_sub span, #modal-building-search-view #buildingSearchWarning .ex_sub2 span {color:#000; }
	#modal-building-search-view #buildingSearchWarning .ex_sub2 span {display:block; font-size:14px;}

	
	#modal-building-search-view #buildingSearchWarning li { text-align:center;}
	#modal-building-search-view #buildingSearchWarning span {color:#ea0f53; width:100%; font-size:15px;}
	#modal-building-search-view #buildingSearchWarning .ex_sub span .reason {color:#ea0f53;}
	#modal-building-search-view #buildingSearchWarning span i {font-size:30px; color:#fff;}
	#modal-building-search-view #buildingSearchWarning .btn_go_url2 {margin-top:15px;cursor:pointer;display: inline-flex;justify-content: center;flex-wrap: nowrap;font-size:15px; border:1px solid #ddd; color:#000; padding:10px; border-radius:5px;width: 170px;text-align: center; font-weight:bold;}
	#modal-building-search-view #buildingSearchWarning .btn_go_url2 > * {color:#000; width:auto;}
	#modal-building-search-view #buildingSearchWarning .btn_go_url2:hover {border-color:#026; color:#026;}
	#modal-building-search-view #buildingSearchWarning .btn_go_url2 img {margin-right:10px; }

	#modal-building-search-view .btn_go_url { margin-right:5px; display: inline-block; background: #026; color: #fff; border: 1px solid #026; float:left; font-size: 14px; padding: 0 5px; margin-top: 2px; line-height: 22px; border-radius: 4px; cursor: pointer; top: 50%;transform: translateY(-50%);left: 15px;}
	#modal-building-search-view .btn_go_url i {display:inline-block; color:inherit; font-size:inherit; margin-right:5px; }
	#modal-building-search-view .btn_go_url.left {left:85px;}
	#modal-building-search-view .btn_go_url:hover { background: #fff; color: #026; }

	@media (max-width:992px) {
		#modal-building-search-view .btn_go_url {font-size:13px;}
		#modal-building-search-view .btn_go_url.left {left:80px;} 
		#modal-building-search-view .modal-dialog #buildingResult {max-height:450px;}
		#modal-building-search-view.modal.in .modal_wrap_ver1 .modal_title h4 {top: 50%;left: 65%;transform: translate(-65%, -50%);}
	}
</style>
<div class="modal" id="modal-building-search-view">
	<div class="modal_bg"  ></div>
	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<input type="hidden" id="page" value="1">
			<div class="modal_title">
				<span class="btn_go_url" onclick="window.open('https://bugisa.com/guide/homepage/etc?idx=4&idx2=archissue')"><i class="fas fa-info-circle"></i>가이드 </span>
				<span class="btn_go_url left" onclick="window.open('https://www.eais.go.kr/')"><i class="fas fa-external-link"></i>세움터</span>
				<h4 class="title">건축물대장 발급</h4>
				<span class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></span>
			</div>
			<div class="select_b_info">
				<span class="addr ">
					<i class="fas fa-map-marker-alt"></i>
					<span class="bold" id="select_b_addr"></span>
				</span>
				<span class="b_select_reset" onClick="building_search_issued_research();"><i class="fas fa-sync-alt"></i>주소재선택</span>
			</div>
			<div class="modal_content">
				<div id="buildingSearchBox">
					<div class="input_span">
						<input type="text" class="building_issued_search_keyword" id="search_building_keyword" value="" placeholder="열람하실 주소를 입력해주세요">
												<span class="btn btn_owner" onclick="archIssuedKeywordSearch();"><i class="fa fa-search"></i></span>
					</div>
				</div>
				<div class="building_ex">
					<ul>
						<li class="ex_tt ">
							<span class="bold"><i class="fas fa-info-circle"></i> 건축물대장 발급시 유의사항</span>
						</li>

						<li class="ex_sub">
							<span>주소를 입력하여 세움터에 등록된 건축물대장을 열람할 수 있습니다</span>
						</li>
						<li class="ex_sub">
							<span>세움터의 정책 및 기술 변경이 있을 경우, 별도 고지 없이 작동이 불가해질 수 있으며, 이는 부기사 내부 정책 변경이 아닌 외부 플랫폼의 기술적/정책적 변경으로 인해 발생하는 사항임을 양해 부탁드립니다</span>
						</li>
					</ul>
				</div>
				<div id="buildingSearchEmpty">
					<ul>
						<li class="ex_tt ">
							<span class="bold"><i class="fas fa-exclamation-triangle"></i></span>
						</li>

						<li class="ex_sub">
							<span class="bold">해당 주소에는 열람 가능한 대장이 없습니다</span>
						</li>
						<li class="ex_sub">
							<span class="bold">다른 주소로 다시 시도해주세요</span>
						</li>
					</ul>
				</div>
				<div id="buildingResult">
					<table class="building_search_tb">
						<colgroup>
							<col width="75%" />
							<col width="25%" />
						</colgroup>
						<thead>
							<tr>
								<th>주소</th>
								<th class="th_center">선택</th>
							</tr>
						</thead>
						<tbody id="building_search_body">
															<tr class="b_src_tr b_src_tr_0">
									<td class="b_address">서울 구로구 구로동 222-1</td>
									<td class="b_select">
										<span class="b_select_btn" onclick="buildingSelect(0);"><i class="fas fa-check-circle"></i> 선택</span>
									</td>
								</tr>
															<tr class="b_src_tr b_src_tr_1">
									<td class="b_address">서울 구로구 구로동 222-2</td>
									<td class="b_select">
										<span class="b_select_btn" onclick="buildingSelect(1);"><i class="fas fa-check-circle"></i> 선택</span>
									</td>
								</tr>
													</tbody>
					</table>
				</div>
				<div id="buildingSelectResult">
					<input type="hidden" class="issuedBuildingItemId" name="issuedBuildingItemId" value="" />
					<div class="select_b_list">
												<div class="b_info building_issued_all_allpyo">
							<input id="b_info_type3" class="b_info_type" type="checkbox" value="jib_all">
							<label for="b_info_type3" class="b_type_tt building_issued_allpyo_title">건축물대장 집합(아파트, 연립주택 등) 총괄</label>
						</div>
						<div class="b_info dropdown building_issued_all_pyoje">
							<a class="drop-toggle cur_pointer">
								<span class="arrow"><i class="far fa-angle-down"></i></span>
								<span class="tt bold building_issued_pyoje_title">건축물대장 집합(아파트, 연립주택 등) 표제부</span>
								<span class="badge jun_list building_issued_collect_count">0건</span>
							</a>
							<ul class="building_dropdown building_issued_collec_list" role="collective_building">
																	<li>
										<input type="checkbox" id="b_jun_0" value="">
										<label for="b_jun_0">부기디지털빌딩 A동 101-1호</label>
									</li>
																	<li>
										<input type="checkbox" id="b_jun_1" value="">
										<label for="b_jun_1">부기디지털빌딩 A동 101-2호</label>
									</li>
																	<li>
										<input type="checkbox" id="b_jun_2" value="">
										<label for="b_jun_2">부기디지털빌딩 A동 101-3호</label>
									</li>
																	<li>
										<input type="checkbox" id="b_jun_3" value="">
										<label for="b_jun_3">부기디지털빌딩 A동 101-4호</label>
									</li>
																	<li>
										<input type="checkbox" id="b_jun_4" value="">
										<label for="b_jun_4">부기디지털빌딩 A동 101-5호</label>
									</li>
																
							</ul>
													</div>
											</div>
				</div>
				<div id="buildingSearchWait">
					<div class="load_boxw disable">
						<span class="icon_boxw"></span>
						<span class="tt bold txt1"><span>건축물대장 발급 대기중</span>입니다</span>
						<span class="tt">순차적으로 발급이 진행되오니</span>
						<span class="tt">잠시만 기다려주세요</span>
					</div>
				</div>
				<div id="buildingSearchLoading">
										<div class="load_box ing">
						<span class="icon_box" style="cursor:pointer;" data-progress="0"></span>
						<span class="tt bold arch_issued_last_txt1">건축물대장</span>
						<span class="tt bold arch_issued_last_txt2">발급 진행중입니다. 60초 ~ 90초 정도 소요됩니다.</span>
						<span class="tt bold arch_issued_last_txt3">발급창을 끄거나 새로고침시 발급을 다시 받으시기 바랍니다.</span>
					</div>
									</div>
				<div id="buildingSearchWarning">
					<ul>
						<li class="ex_tt ">
							<span class="bold"><i class="fas fa-exclamation-triangle"></i></span>
						</li>

						<li class="ex_sub">
							<span class="bold"><span class="reason bold">오류가 발생</span>해 발급을 완료할 수 없습니다.</span>
						</li>
						<li class="ex_sub2">
							<span>잠시 후 다시 시도하시거나</span>
							<span>직접 세움터에 접속하여 다운로드 해주세요</span>
						</li>
						
					</ul>
					<div class="btn_go_url2" onclick="window.open('https://www.eais.go.kr/')">
						<img src="/static/img/add/eais_logo.png"> 
						<span>바로가기</span>
					</div>
				</div>
			</div>

			<div class="modal_btn_box">
				<div class="pagination_box modal_pagination_box text-center step_list">
					<ul class="pagination" id="applyPaging">
					</ul>
				</div>
				<div class="btn btn_b_submit step_select bold" onclick="getPdfFile();">
					선택 발급 신청하기
				</div>
			</div>
		</div>
	</div>
</div>

<style>

	 	#modal-eais_login_view {z-index:1053;}

		#modal-eais_login_view form { padding: 0; }

		#modal-eais_login_view .modal-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; max-width: 90%; background: #FFF; border-radius: 10px 0 10px 10px; box-shadow: 0 0 5px rgba(0,0,0,.15); z-index: 2; }

		#modal-eais_login_view .modal_wrap_ver1 { padding: 0; border-radius: 4px; }

		#modal-eais_login_view .modal_wrap_ver1 .modal_title { position: relative; padding: 0; height: 0; border-bottom: none; }
			#modal-eais_login_view .modal_wrap_ver1 .modal_title h4 { display: none; }

			#modal-eais_login_view .modal_wrap_ver1 .modal_title .close { /*display: none;*/ }

			@media (min-width:993px) {
				#modal-eais_login_view .modal_wrap_ver1 { border-radius: 4px 0 4px 4px; }

                #modal-eais_login_view .modal_wrap_ver1 .modal_title .close { cursor:pointer; position: absolute; left: 100%; top: 0; width: 39px; height: 39px; padding: 0; opacity: 1; text-align: center; line-height: 42px; background: #FFF; transform: none; border-radius: 0 10px 10px 0; border: none; }
                #modal-eais_login_view .modal_wrap_ver1 .modal_title .close i { font-size: 25px; font-weight: 300; }
            }

		#modal-eais_login_view .modal_wrap_ver1 .modal_content { padding: 30px 25px 20px; background: #FFF; border-radius: 10px; }

			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_icon { text-align: center; margin-bottom: 15px; }
			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_icon img { position: relative; right: 23px; display: block; margin: 0 auto; }
			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_icon i { font-size:65px; color:#026;}

			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_title_boxs { width: 100%; margin-bottom: 15px; text-align: center; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_hdtt { font-family: 'NotoSansKR-Bold'; font-size: 17px; line-height: 1.2; color: #026; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt { width: 250px; max-width: 100%; margin: 10px auto 0; text-align: center; font-size: 14px; line-height: 1.2; margin-top: 10px; }

		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_box { width: 100%; display: flex; flex-flow: wrap row; padding: 15px; margin-bottom: 15px; align-items: center; background: #FFF; border-radius: 5px; border: 1px solid #DDD; overflow: hidden; }

			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_box_L { width: 85px; height: auto; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_box_L .item_images { width: 100%; height: 85px; border-radius: 5px; overflow: hidden; border: 1px solid #DDD; background: center center #fff no-repeat; background-size: cover; }

			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R { width: calc(100% - 85px); padding-left: 10px; }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top { width: 100%; font-family: 'NotoSansKR-Bold'; font-weight: bold; font-size: 15px; display: flex; flex-flow: wrap row; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_nums { width: 65px; height: 20px; display: flex; flex-flow: wrap row; border: 1px solid #002342; border-radius: 2px; overflow: hidden; background: #002342; }
						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_nums > span:first-child { position: relative; width: 18px; height: 18px; background: #002342; text-align: center; line-height: 18px; }
						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_nums > span:first-child img { width: 11px; vertical-align: inherit; position: relative; top: -1px; }

						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_nums > span:last-child { width: calc(100% - 18px); height: 18px; line-height: 17px; font-size: 13px; padding: 0 5px; background: #FFF; color: #002342; text-align: center; }

					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_titles { width: calc(100% - 65px); padding-left: 6px; }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_mid { width: 100%; margin: 1px 0 5px; font-size: 14px; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_mid i { margin-right: 3px; font-weight: bold; }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_btm { width: 100%; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_btm .price_type { position: relative; top: -1px; background: #21CF01; border-radius: 2px; color: #FFF; font-size: 12px; padding: 0 5px 2px; text-align: center; margin-right: 3px; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_btm .price_num { font-family: 'NotoSansKR-Bold'; font-size: 15px; }

				#modal-eais_login_view .price_wrap .price_block, #modal-eais_login_view .price_wrap .area_block { line-height: 22px; }
				#modal-eais_login_view .price_wrap > span:not(.price_block) { font-family: 'NotoSansKR-Bold'; font-size: 15px; }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn { width: 235px; max-width: 100%; display: flex; flex-flow: wrap row; margin: 0 auto; justify-content: center; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn { width: calc(100% - 55px); margin-right: 5px; height: 35px; text-align: center; line-height: 33px; background: #026; border: 1px solid #026; border-radius: 5px; color: #FFF; cursor: pointer; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn i { color: inherit; margin-right: 3px; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn i.right_i_off { position: relative; top: -1px; font-size: 11px; margin-left: 5px; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn i.right_i_on { position: relative; top: -1px; font-size: 11px; margin-left: 5px; display: none; }

					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn.on { background: #999; border-color: #999; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn.on i.right_i_off { display: none; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn.on i.right_i_on { display: inline; }

					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .close_btn { width: 50px; height: 35px; background: #999; color: #FFF; border-radius: 5px; border: 1px solid #999; line-height: 33px; text-align: center; padding: 0; cursor: pointer; }

					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .eais_signgo { width: calc(100% - 85px); margin-right: 5px; height: 35px; font-size: 14px; text-align: center; line-height: 33px; background: #026; border: 1px solid #026; border-radius: 5px; color: #FFF; cursor: pointer; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .eais_signgo:hover { background: #FFF; color: #026; }
						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .eais_signgo i { position: relative; top: -1px; font-size: 11px; color: inherit; margin-right: 3px; }

					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .go_platform { width: 80px; height: 35px; font-size: 14px; background: #999; color: #FFF; border-radius: 5px; border: 1px solid #999; line-height: 33px; text-align: center; cursor: pointer; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .go_platform:hover { background: #FFF; color: #999; }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box { width: 235px; max-width: 100%; height: auto; display: none; flex-flow: wrap row; margin: 15px auto; /*padding: 15px 25px 0; border-top: 1px solid #DDD;*/ }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box.on { display: flex; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box .modal_sign_box_L { width: calc(100% - 55px); margin-right: 5px; }
                        #modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box .modal_sign_box_L input { display: block; width: 100%; height: 34px; padding: 0 10px; font-size: 14px; line-height: 32px; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px; }
						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box .modal_sign_box_L input:not(:last-child) { margin-bottom: 5px; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box .modal_sign_box_R { width: 50px; }
						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box .modal_sign_box_R button { cursor:pointer; width: 100%; height: 73px; color: #FFF; font-size: 14px; background: #026; border: 1px solid #026; border-radius: 4px; }
						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box .modal_sign_box_R button:hover {color:#026; background:#fff;}
				#modal-eais_login_view .modal_sign_go { display:block;width:100%;margin-top:5px;text-align:center; }
				#modal-eais_login_view .modal_sign_go>a { margin-left:5px;font-family:'NotoSansKR-Bold';color:#026; }

	@media (max-width:992px) {
        body #modal-eais_login_view.on .modal-dialog { border-radius: 10px; }

        #modal-eais_login_view .modal_wrap_ver1 { padding: 15px; }

        #modal-eais_login_view .modal_wrap_ver1 .modal_title { position: relative; width: 100%; height: 41px; padding: 0; text-align: center; padding-bottom: 15px; border-bottom: 1px solid #DDD; }
            #modal-eais_login_view .modal_wrap_ver1 .modal_title h4 { font-family: 'NotoSansKR-Bold'; text-align: center; font-size: 18px; display: inline-block; }
            #modal-eais_login_view .modal_wrap_ver1 .modal_title .close { cursor:pointer; margin-right: 10px; font-size: 24px; line-height: 24px; float: right; cursor: pointer; }
            #modal-eais_login_view .modal_wrap_ver1 .modal_title .close i { font-weight: 300; }

        #modal-eais_login_view .modal_wrap_ver1 .modal_content { max-height: calc((var(--vh, 1vh) * 90) - 41px); overflow-y: auto; padding: 20px 0 0; }

		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_hdtt { font-size: 16px; }
		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_title_boxs .modal_title_sbtt { font-size: 13px; }

		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_box { padding: 10px; }

			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_box_L { width: 75px; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_box_L .item_images { height: 75px; }

			#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R { width: calc(100% - 75px); }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top { font-size: 14px; }
					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_nums { width: 60px; }

						#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_nums > span:last-child { font-size: 12px; }

					#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_top .item_titles { width: calc(100% - 60px); }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_mid { font-size: 13px; margin: 3px 0 2px; }

				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_btm { width: 100%; }
				#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_item_list_R .modal_item_list_R_btm .price_num { font-size: 14px; }

		#modal-eais_login_view .modal_wrap_ver1 .modal_content { padding: 30px 20px 20px; }
		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_sign_box { /*padding: 15px 10px 0;*/ }

		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn { width: 250px; }
		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .link_copy_btn { font-size: 13px; }
		#modal-eais_login_view .modal_wrap_ver1 .modal_content .modal_btn .close_btn { font-size: 13px; }
	}
</style>
<div class="modal" id="modal-eais_login_view">
    <div class="modal_bg" data-dismiss="modal" onclick="$('#modal-eais_login_view').modal('hide');"></div>

	<div class="modal-dialog">
		<div class="modal_wrap_ver1">
			<form>
				<div class="modal_title">
					<h4>계정 연동 오류</h4>

					<span class="close" data-dismiss="modal" aria-hidden="true" onclick="$('#modal-eais_login_view').modal('hide');">
						<i class="far fa-times"></i>
					</span>
				</div>

				<div class="modal_content">
					<div class="modal_icon">
						<i class="fa-solid fa-users-gear"></i>
					</div>

					<div class="modal_title_boxs">
						<div class="modal_title_hdtt">세움터 계정을 입력해주세요</div>
						<div class="modal_title_sbtt post_item_err_html">아직 세움터 회원이 아니시면<br>먼저 회원가입 후 진행해주세요</div>
					</div>

					<div class="modal_sign_box on">
						<div class="modal_sign_box_L">
							<input type="text" class="form-control" id="mem_eais_email_view" name="" value="" placeholder="세움터 ID">
							<input type="password" class="form-control" id="mem_eais_pw_view" name="" value="" placeholder="세움터 패스워드">
						</div>

						<div class="modal_sign_box_R">
							<button type="button" onclick="goEaisEditView();">저장</button>
						</div>
					</div>

					<div class="modal_btn">
						<a class="eais_signgo" href="https://www.eais.go.kr/moct/awp/aba01/AWPABA01F01" target="_blank">세움터 회원가입</a>

						<a class="go_platform" href="#" onclick="$('#modal-eais_login_view').modal('hide');">창 닫기</a>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>

<script>

	function goEaisEditView(){
		if(!$('#mem_eais_email_view').val() || !$('#mem_eais_pw_view').val()){
			alert('계정 정보를 입력해주세요.');
			if(!$('#mem_eais_email_view').val()){
				$('#mem_eais_email_view').focus()
			} else if(!$('#mem_eais_pw_view').val()){
				$('#mem_eais_pw_view').focus()
			}
			return false;
		}
		$.post('/admin_member/update_eaisId',
			{
				member_id:'',
				eais_email:$('#mem_eais_email_view').val(),
				eais_pw:$('#mem_eais_pw_view').val()
			},function(data){
				alert('계정 정보가 저장되었습니다.');
				$("#modal-eais_login_view").removeClass('on');
				$("#modal-eais_login_view").modal('hide');
				//$('#modal-eais_login_view .link_copy_btn').removeClass('on');
				//$('#modal-eais_login_view .modal_sign_box').removeClass('on');
				//$('.link_copy_btn').removeClass('on');
				//$('.modal_sign_box').removeClass('on');
				getPdfFile();
		});
	}
	
	//***************//
	
	function goArchIssued(){
		archIssuedModalReset();
		$('.issuedBuildingItemId').val('');
		$('#modal-building-search-view #buildingSearchBox').show();
		$('#modal-building-search-view .building_ex').show();
		$('#search_building_keyword').val('');
		$('#modal-building-search-view').modal('show');
		$('#search_building_keyword').focus();
	}
	
	function archIssuedModalReset(){
		$('.issuedBuildingItemId').val('');
		$('#modal-building-search-view #buildingSearchEmpty').hide();
		$('#modal-building-search-view .select_b_info').hide();
		$('#modal-building-search-view .modal_btn_box').hide();
		$('#modal-building-search-view .step_list').hide();
		$('#modal-building-search-view .step_select').hide();
		$('#modal-building-search-view #buildingSelectResult').hide();
		$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
		$('#modal-building-search-view #buildingSearchWait').removeClass('on');
		$('#modal-building-search-view #buildingSearchWarning').hide();
		$('#modal-building-search-view #buildingSearchBox').hide();
		$('#modal-building-search-view #building_ex').hide();
		$('#modal-building-search-view .b_select_reset').hide();
	}
	
	function building_search_issued_research(){
		//주소 재검색 클릭시 바로 이전 뒤로가기 처리
		$('#modal-building-search-view .b_select_reset').hide();
		$('#modal-building-search-view #buildingResult').show();
		$('#modal-building-search-view #buildingSearchBox').show();
		$('#modal-building-search-view .select_b_info').hide();
		$('#modal-building-search-view .modal_btn_box').hide();
		$('#modal-building-search-view .step_list').hide();
		$('#modal-building-search-view .step_select').hide();
		$('#modal-building-search-view #buildingSelectResult').hide();
	}

	$(".building_issued_search_keyword").on('keyup', function(e) {
		if(e.keyCode == 13) {
			archIssuedKeywordSearch();
		}
	});
	
	function archIssuedKeywordSearch(){
		var pattern = /([^가-힣0-9a-z\x20])/i;
		//자음이나 모음만 있는 글이 있는 경우는 검색 제외
		var korea_pattern = /([^가-힣\x20])/i;
		var fld = $('#search_building_keyword').val();

		var this_pattern = /[^(가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z)]/gi;   // 특수문자 제거
		if(this_pattern.test(fld)){
			fld = fld.replace(this_pattern,"");
		}
		if (pattern.test(fld)) {
			return false;
		}
		$.ajax({
			url: "/address/get_imjang_address_json",
			dataType: "json",
			beforeSend: function( xhr ) {
			},
			data: {
				term: $('#search_building_keyword').val()
			},
			success: function( data ) {
				address_list = "";
				this_i = 0
				if(data){
					$.each(data, function(index, rslt){
						address_list += '<tr class="b_src_tr">';
						address_list += '	<td class="b_address">'+rslt.address+'</td>';
						address_list += '	<td class="b_select">';
						address_list += '		<span class="b_select_btn" onclick="buildingSelects(\''+rslt.address+'\','+this_i+');"><i class="fas fa-check-circle"></i> 선택</span>';
						address_list += '	</td>';
						address_list += '</tr>';
					});
					if(address_list){
						archIssuedModalReset();
						$('#modal-building-search-view .building_ex').hide();
						$('#modal-building-search-view #buildingSearchBox').show();
						$('#building_search_body').html(address_list);
						$('#modal-building-search-view #buildingResult').show();
					} else {
						archIssuedModalReset();
						
						$('#modal-building-search-view #buildingSearchBox').show();
						$('#modal-building-search-view .building_ex').hide();
						$('#modal-building-search-view #buildingResult').hide();
						$('#modal-building-search-view #buildingSearchEmpty').show();
					}
				} else {
					archIssuedModalReset();
					
					$('#modal-building-search-view #buildingSearchBox').show();
					$('#modal-building-search-view .building_ex').hide();
					$('#modal-building-search-view #buildingResult').hide();
					$('#modal-building-search-view #buildingSearchEmpty').show();
				}
			}
		});
	}
	
	var building_bugun = '';
	function buildingSelects(address) {
		repeatIntNumber++;
		$('#modal-building-search-view #buildingSearchWait').removeClass('on');
		$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
		$('#modal-building-search-view #buildingSearchWarning').hide();
		var url = "https://data.bugisa.com/etc/update";
		var address_name = address;
		var data = {
			address_name : address_name,
		}
		building_bugun = '';
		var datas;
		if(!address_name) {
			return false;
		} else {
			$.ajax({
				url : url,
				type : "GET",
				datatype : "JSON",
				data : data,
				timeout: 5000,
				beforeSend: function() {
				}, error: function(request, status, err) {
					return;
				}, success : function(msg) {
					datas = decodeURIComponent((msg + '').replace(/\+/g, '%20'));
					buildingArr = JSON.parse(datas);
					buildingIndex = 0;
					if(!buildingArr['allpyodb'] && !buildingArr['pyodb']){
						//alert('해당 주소는 건축물대장이 존재하지 않습니다.');
						//return;
						searchSewoomView(address_name);
						return;
					}
					if(!$('#modal-building-search-view').hasClass('in')) {
						$('#modal-building-search-view').modal('show');
					}
					
					if(!$('#modal-building-search-view').hasClass('on')){
						$('#building_search_body').empty();
						empty_html = '';
						empty_html += '<tr class="b_src_tr">';
						empty_html += '	<td class="b_address" style="text-align:center;" colspan="2">주소를 검색해주세요.</td>';
						empty_html += '</tr>';
						$('#building_search_body').html(empty_html);
					}
					$('#modal-building-search-view .building_ex').hide();
					$('#b_info_type3').prop('checked', false);
					$('#b_info_type4').prop('checked', false);
					$('#b_info_type3').prop('disabled', false);
					$('#b_info_type4').prop('disabled', false);
					if(buildingArr['donghochecker'] == 'Y'){ //집합건물
						$('.building_issued_all_allpyo').removeClass('readonly');
						$('.building_issued_all_pyoje').removeClass('readonly');
						$('.building_issued_collec_list').html('');
						$('.building_issued_all_jeonyu').removeClass('readonly');
						$('.building_issued_jeonyu_list').html('');
						
						$('.building_issued_allpyo_title').html('건축물대장 집합(아파트, 연립주택 등) 총괄');
						$('.building_issued_pyoje_title').html('건축물대장 집합(아파트, 연립주택 등) 표제부');
						$('.building_issued_jeonyu_title').html('건축물대장 집합(아파트, 연립주택 등) 전유부');
						$('.building_issued_search_count').html('0건');
						$('.building_issued_collect_count').html('0건');
						$('.building_issued_jeonyu_count').html('0건');
						building_bugun = '집합';
					} else {
						$('.building_issued_all_allpyo').removeClass('readonly');
						$('.building_issued_all_pyoje').removeClass('readonly');
						$('.building_issued_collec_list').html('');
						$('.building_issued_all_jeonyu').addClass('readonly');
						$('.building_issued_jeonyu_list').html('');
						$('.building_issued_allpyo_title').html('건축물대장 일반(단독주택 등) 총괄');
						$('.building_issued_pyoje_title').html('건축물대장 일반(단독주택 등) 표제부');
						$('.building_issued_jeonyu_title').html('건축물대장 일반(단독주택 등) 전유부');
						$('.building_issued_search_count').html('0건');
						$('.building_issued_collect_count').html('0건');
						$('.building_issued_jeonyu_count').html('0건');
						building_bugun = '일반';
					}
					
					if(!buildingArr['allpyodb']){
						$('.building_issued_all_allpyo').addClass('readonly');
						$('#b_info_type3').prop('disabled', true);
					}
					
					if(!buildingArr['pyodb']){
						$('.building_issued_all_pyoje').addClass('readonly');
						$('.building_issued_collec_list').removeClass('show');
					}

					if(!buildingArr['junareadb']){
						$('.building_issued_all_jeonyu').addClass('readonly');
						$('.building_issued_jeonyu_list').removeClass('show');
					}
						
					var building_col_cnt = 0;
					if(buildingArr['pyodb']){
						$('.building_issued_collec_list').addClass('show');
						building_html='';
						$.each(buildingArr['pyodb'],function(k,v){
							checkbox_checked = '';
							if(buildingArr['pyodb'].length == 1) checkbox_checked = "checked";
							building_html+='<li>';
							building_html+='<input class="cur_pointer" type="checkbox" id="b_col_pyoje_'+k+'" name="building_issued_checked[]" '+checkbox_checked+' value="'+v.dong_name+'" data-address="'+v.land_location+'" data-address_road="'+v.road_location+'" data-address_dong="'+v.dong_name+'" data-address_hosil="" >';
							building_html+='<label class="cur_pointer" for="b_col_pyoje_'+k+'">'+v.land_location+' '+((v.dong_name)?v.dong_name:v.building_name)+'</label>';
							building_html+='</li>';
							building_col_cnt++;
						});

						$('.building_issued_collect_count').html(building_col_cnt+'건');
						$('.building_issued_collec_list').empty();
						$('.building_issued_collec_list').html(building_html);
					} else {
						$('.building_issued_collec_list').removeClass('show');
					}

					//전유
					var jybuilding_col_cnt = 0;
					if(buildingArr['junareadb']){
						$('.building_issued_jeonyu_list').addClass('show');

						jybuilding_html = '';
						$.each(buildingArr['junareadb'], function(k, v) {
							// 동 이름 공백 제거
							v.dong_name = (v.dong_name || '').replace(/ /g, '');
							
							// 층번호 없으면 호수에서 추출
							var floor_num = v.floor_num || '0';
							if ((floor_num === '0' || floor_num === 0) && v.ho_name) {
								if (v.ho_name.includes("층") && !v.ho_name.includes("복층")) {
									// 예: "3층 301호" → 3
									var floorHoNameArr = v.ho_name.split("층");
									floor_num = floorHoNameArr[0].replace(/[^0-9]/g, "");
								} else {
									// 예: "301호" → "3"
									floor_num = v.ho_name.replace(/[^0-9]/g, "");
									if (floor_num) {
										floor_num = floor_num.slice(0, -2);
									}
								}
							}
							v.floor_num = floor_num;

							// 라벨 텍스트 (지상/지하 구분)
							var floorLabel = '';
							if (v.floor_code == 20) {
								// 지상
								floorLabel = floor_num + '층 ' + v.ho_name + '호';     // 예: "3층 301호"
							} else {
								// 지하
								floorLabel = '지하' + floor_num + '층 ' + v.ho_name + '호'; // 예: "지하1층 B101호"
							}

							// 체크박스 기본 체크 (매물 1개만 있을 때)
							var jycheckbox_checked = '';
							if (buildingArr['junareadb'].length == 1) {
								jycheckbox_checked = "checked";
							}

							// li 생성
							jybuilding_html += '<li>';
							jybuilding_html += '<input class="cur_pointer" type="checkbox"'
								+ ' id="b_col_jeonyu_' + k + '"'
								+ ' name="jybuilding_issued_checked[]" ' + jycheckbox_checked
								+ ' value="' + v.dong_name + '|' + floor_num + '|' + v.ho_name + '"'
								+ ' data-address="' + v.land_location + '"'
								+ ' data-address_road="' + v.road_location + '"'
								+ ' data-address_dong="' + v.dong_name + '"'
								+ ' data-address_floor="' + floor_num + '"'
								+ ' data-address_hosil="' + v.ho_name + '"'
								+ ' >';
							jybuilding_html += '<label class="cur_pointer" for="b_col_jeonyu_' + k + '">'
								+ address + ' ' + v.dong_name + ' ' + floorLabel + '</label>';
							jybuilding_html += '</li>';
							jybuilding_col_cnt++;
						});

						$('.building_issued_jeonyu_count').html(jybuilding_col_cnt+'건');
						$('.building_issued_jeonyu_list').empty();
						$('.building_issued_jeonyu_list').html(jybuilding_html);
					} else {
						$('.building_issued_jeonyu_list').removeClass('show');
					}
					
					
					$('#select_b_addr').text(address);
					$('#modal-building-search-view .b_select_reset').show();
					$('#modal-building-search-view #buildingResult').hide();
					$('#modal-building-search-view #buildingSearchBox').hide();
					$('#modal-building-search-view .select_b_info').show();
					$('#modal-building-search-view .modal_btn_box').show();
					$('#modal-building-search-view .step_list').hide();
					$('#modal-building-search-view .step_select').show();
					$('#modal-building-search-view #buildingSearchEmpty').hide();
					$('#buildingSelectResult').show();
				}
			});
		}
	}
	
	function addressBuildingSelects(address, address_detail, item_id, sido_id){
		$('#modal-building-search-view #buildingSearchWait').removeClass('on');
		$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
		$('#modal-building-search-view #buildingSearchWarning').hide();
		if(!address_detail){
			goArchIssued();
		} else {
			address_detail_all = address + ' ' + address_detail;
			if(item_id){ $('.issuedBuildingItemId').val(item_id); }
			$.post('/item/get_daum_address',{query:address_detail_all},function(data) {
				obj = $.parseJSON(data);
				if(data && typeof obj.documents !== 'undefined' && obj.documents.length > 0){
					if(obj.documents[0].y == null) {
						//goArchIssued();
						searchSewoomView(address_detail_all);
						return;
					}
					arch_address_str = obj.documents[0].address_name;
					var arch_address_arr = {
						'1':'서울특별시',
						'2':'부산광역시',
						'3':'대구광역시',
						'4':'인천광역시',
						'5':'광주광역시',
						'6':'대전광역시',
						'7':'울산광역시',
						'8':'강원도',
						'9':'경기도',
						'10':'경상남도',
						'11':'경상북도',
						'12':'전라남도',
						'13':'전북특별자치도',
						'14':'제주특별자치도',
						'15':'충청남도',
						'16':'충청북도',
						'17':'세종특별자치시',
					};
					
					address_full_arr = arch_address_str.split(" ");
					address_full_arr[0] = arch_address_arr[sido_id];
					address_full_arr = address_full_arr.join(" ");
					arch_address_name = address_full_arr;
					buildingSelects(arch_address_name);
				} else {
					//goArchIssued();
					searchSewoomView(address_detail_all);
				}
			});
		}
	}
	function getPdfFile(login_member_id){
		if(!$('#modal-building-search-view').hasClass('in')) {
			$('#modal-building-search-view').modal('show');
		}
		
		$('#modal-building-search-view #buildingSearchWait').removeClass('on');
		$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
		$('#modal-building-search-view #buildingSearchWarning').hide();
		repeatIntNumber++;
		PdfTaskStartState = 'N';
		//$('#modal-building-search .modal_btn_box').hide();
		//$('#buildingSelectResult').hide();
		//$('#buildingSearchLoading').addClass('on');
		//$('.b_select_reset').hide();
		//const icon = document.querySelector('.load_box.ing .icon_box');
		//startCircleProgress(icon, 100, 1200);
		
		el = document.querySelector('.load_box.done .icon_box');
		if(el){
			const boxs = el.closest('.load_box');
			boxs.classList.remove('done');
			boxs.classList.add('ing');
		}
		$('.arch_issued_last_txt1').html('건축물대장 발급 진행중입니다.');
		$('.arch_issued_last_txt2').html('평균적으로 60초 ~ 90초 정도 소요됩니다.');
		$('.arch_issued_last_txt3').html('발급창을 끄거나 새로고침시 발급이 중지됩니다.');
		//데이터 체크 체크
		
		allpyo_checked = $('#b_info_type3').is(':checked');
		//pyoje_checked = $('input[name="building_issued_checked"]:checked');
		pyoje_checked = $('input[name="building_issued_checked[]"]:checked');
		jeonyu_checked = $('input[name="jybuilding_issued_checked[]"]:checked');
		
		if (!allpyo_checked && pyoje_checked.length === 0) {
			alert("발급하실 건축물대장을 선택해주세요.");
			return;
		}
		
		if(!login_member_id){
			//로그인 계정 설정 모달 띄우기
			return;
		}
		
		if (!allpyo_checked && pyoje_checked.length > 0) {
			pdf_issued_data_set = '3';
		} else if (allpyo_checked && pyoje_checked.length === 0) {
			pdf_issued_data_set = '2';
		} else if (allpyo_checked && pyoje_checked.length > 0) {
			pdf_issued_data_set = '5';
		}
		
		thisCurrentUrl = window.location.href;
		pdfItemId = $('input[name="issuedBuildingItemId"]').val();
		//pdfAddress = $('input[name="building_issued_checked"]:checked').data('address');
		//pdfAddress_road = $('input[name="building_issued_checked"]:checked').data('address_road');
		//pdfAddress_dong = $('input[name="building_issued_checked"]:checked').data('address_dong');
		//pdfAddress_hosil = $('input[name="building_issued_checked"]:checked').data('address_hosil');

		pdfAddress = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address');
		pdfAddress_road = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address_road');
		pdfAddress_dong = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address_dong');
		pdfAddress_hosil = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address_hosil');

		var mulitSelected = Array();
		if(allpyo_checked) {
			var multiTxt = 'A||-||-';
			mulitSelected.push(multiTxt);
		}
		if(pyoje_checked.length) {
			$("input[name='building_issued_checked[]']:checked").each(function() {
				var multiTxt = 'P||';

				var multiDong = $(this).data('address_dong') ? $(this).data('address_dong') : '-';
				var multiHosil = $(this).data('address_hosil') ? $(this).data('address_hosil') : '-';
				
				multiTxt += multiDong + "||" + multiHosil;
				mulitSelected.push(multiTxt);
			});
		}

		if(jeonyu_checked.length) {
			$("input[name='jybuilding_issued_checked[]']:checked").each(function() {
				var multiTxt = 'J||';

				var multiDong = $(this).data('address_dong') ? $(this).data('address_dong') : '-';
				var multiHosil = $(this).data('address_hosil') ? $(this).data('address_hosil') : '-';
				
				multiTxt += multiDong + "||" + multiHosil;
				mulitSelected.push(multiTxt);
			});
		}
		
		var multiple_check = '';
		if(mulitSelected.length > 1) {
			//multiple_check = mulitSelected.join(",,");
		}
		
		var setPdfSetArr = {
			return_url : thisCurrentUrl,
			item_id : pdfItemId,
			arch_type : building_bugun,
			address : pdfAddress,
			address_road : pdfAddress_road,
			address_dong : pdfAddress_dong,
			address_hosil : pdfAddress_hosil,
			data_set : pdf_issued_data_set,
			server_id : "969",
			s_member_id : "",
			repeatIntNumber : repeatIntNumber,
						log_member_id : '',
			log_email : '',
			log_m_name : '',
			log_position : '',
			log_session_id : 'orgf0ae5brl8lnn1tl132t6cd0',
			log_url : "https://yeeseo.co.kr/discuss/rss/topics",
			log_browser : "",
			log_platform : "Unknown Platform",
			log_ip : "142.250.33.40",
			company_name : "이서부동산중개법인(유)",
			server_ip : "49.247.0.33",
			multiple_check : multiple_check,
		};

		if(!pdfAddress){
			alert('주소를 선택해주세요.');
			return;
		}
		
		$.post('/admin_member/getSewoomLoginId',setPdfSetArr,function(datas) {
			if(datas.rsltCode != '00'){
				//로그인 계정 설정 모달 띄우기
				$("#modal-eais_login_view").modal('show');
				return;
			}
			
			thisCurrentUrl = window.location.href;
			//pdfItemId = $('input[name="building_issued_checked"]').val();
			//pdfAddress = $('input[name="building_issued_checked"]:checked').data('address');
			//pdfAddress_road = $('input[name="building_issued_checked"]:checked').data('address_road');
			//pdfAddress_dong = $('input[name="building_issued_checked"]:checked').data('address_dong');
			//pdfAddress_hosil = $('input[name="building_issued_checked"]:checked').data('address_hosil');

			pdfItemId = $('input[name="building_issued_checked[]"]').eq(0).val();
			pdfAddress = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address');
			pdfAddress_road = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address_road');
			pdfAddress_dong = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address_dong');
			pdfAddress_hosil = $('input[name="building_issued_checked[]"]:checked').eq(0).data('address_hosil');
			
			var setPdfSetArr = {
				return_url : thisCurrentUrl,
				item_id : pdfItemId,
				arch_type : building_bugun,
				address : pdfAddress,
				address_road : pdfAddress_road,
				address_dong : pdfAddress_dong,
				address_hosil : pdfAddress_hosil,
				login_id : datas.rsltData.login_id,
				login_pass : datas.rsltData.login_pass,
				data_set : pdf_issued_data_set,
				server_id : "969",
				s_member_id : "",
				repeatIntNumber : repeatIntNumber,
								log_member_id : '',
				log_email : '',
				log_m_name : '',
				log_position : '',
				log_session_id : 'orgf0ae5brl8lnn1tl132t6cd0',
				log_url : "https://yeeseo.co.kr/discuss/rss/topics",
				log_browser : "",
				log_platform : "Unknown Platform",
				log_ip : "142.250.33.40",
				company_name : "이서부동산중개법인(유)",
				server_ip : "49.247.0.33",
				multiple_check : multiple_check,
			};
			
			repeatPdfTaskCnt = 0;
			$('#modal-building-search-view .modal_btn_box').hide();
			$('#modal-building-search-view #buildingSelectResult').hide();
			$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
			$('#modal-building-search-view #buildingSearchWait').addClass('on');
			$('.b_select_reset').hide();
			const icon = document.querySelector('.load_box.ing .icon_box');
			$.post('https://data.bugisa.kr/api/goPdfIssued', setPdfSetArr,function(data) {
				if(data.rsltCode == '11'){
					$('#modal-building-search-view #buildingSearchWait').addClass('on');
					pdf_insert_id = data.rsltData.insert_id;
					if(pdf_insert_id){
						repeatPdfTask(pdf_insert_id, data.rsltData.repeatIntNumber);
					}
				} else if(data.rsltCode == '00' || data.rsltCode == '99'){
					$('#modal-building-search-view #buildingSearchWait').removeClass('on');
					if(PdfTaskStartState == 'N') startCircleProgressPdf(icon, 100, 120000);
					pdf_insert_id = data.rsltData.insert_id;
					if(pdf_insert_id){
						repeatPdfTask(pdf_insert_id, data.rsltData.repeatIntNumber);
					} else {
						//대기중
					}
				} else if(data.rsltCode == '3'){
					PdfTaskStartState = 'N';
					//'건축물 대장 발급에 실패하셨습니다.';
					$('#modal-building-search-view #buildingSearchWait').removeClass('on');
					$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
					$('#modal-building-search-view #buildingSearchWarning').show();
				} else if(data.rsltCode == '4'){	
					//'건축물 대장 발급에 실패하셨습니다.';
					$('#modal-building-search-view #buildingSearchWait').removeClass('on');
					$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
					$('#modal-building-search-view #buildingSearchWarning').show();
					PdfTaskStartState = 'N';
				} else if(data.rsltCode == '5'){
					//'세움터에서 해당 주소의 건축물대장이 존재하지 않습니다.';
					$('#modal-building-search-view #buildingSearchWait').removeClass('on');
					$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
					$('#modal-building-search-view #buildingSearchWarning').show();
					PdfTaskStartState = 'N';
				} else if(data.rsltCode == '6'){
					//'로그인에 실패하였습니다. 세움터 계정을 확인해주세요.';
					$('#modal-building-search-view #buildingSearchWait').removeClass('on');
					$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
					$('#modal-building-search-view #buildingSearchWarning').show();
					PdfTaskStartState = 'N';
				} else {
					//예기치 못한 오류 발생
					$('#modal-building-search-view #buildingSearchWait').removeClass('on');
					$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
					$('#modal-building-search-view #buildingSearchWarning').show();
					PdfTaskStartState = 'N';
				}
			}, 'JSON');
		}, 'JSON');
	}

	$(document).on('click', 'input[name="building_issued_checked[]"]', function() {
		/* var pyo_cnt = $('input[name="building_issued_checked[]"]:checked').length;
		var jy_cnt = $('input[name="jybuilding_issued_checked[]"]:checked').length;
		var issueCnt = pyo_cnt + jy_cnt;
		if($('#b_info_type3').is(':checked')) issueCnt++;

		if(issueCnt > 5) {
			alert("최대 5개 까지 선택 가능합니다");
			$(this).prop('checked', false);
		} */
		$('input[name="building_issued_checked[]"]').not(this).prop('checked', false);
	});

	/* $(document).on('click', 'input[name="jybuilding_issued_checked[]"]', function() {
		var pyo_cnt = $('input[name="building_issued_checked[]"]:checked').length;
		var jy_cnt = $('input[name="jybuilding_issued_checked[]"]:checked').length;
		var issueCnt = pyo_cnt + jy_cnt;
		if($('#b_info_type3').is(':checked')) issueCnt++;

		if(issueCnt > 5) {
			alert("최대 5개 까지 선택 가능합니다");
			$(this).prop('checked', false);
		}
	}); */

	/* $(document).on('click', '#b_info_type3', function() {
		var pyo_cnt = $('input[name="building_issued_checked[]"]:checked').length;
		var jy_cnt = $('input[name="jybuilding_issued_checked[]"]:checked').length;
		var issueCnt = pyo_cnt + jy_cnt;
		if($('#b_info_type3').is(':checked')) issueCnt++;

		if(issueCnt > 5) {
			alert("최대 5개 까지 선택 가능합니다");
			$(this).prop('checked', false);
		}
	}); */
	
	var repeatPdfTaskCnt = 0;
	var repeatIntVal = 1;
	var repeatIntNumber = 0;
	var PdfTaskStartState = 'N';
	function repeatPdfTask(pdf_insert_id, repeatIntNumbers) {
		repeatPdfTaskCnt++;
		if(repeatPdfTaskCnt == 130){
			//발급 종료
			return false;
		}
		$.post("https://data.bugisa.kr/api/goPdfIssued_chk", {insert_id:pdf_insert_id, repeatIntNumber:repeatIntNumbers}, function(data) {
			if(data.rsltData.repeatIntNumber != repeatIntNumber){
				return;
			} else if(data.rsltCode == '11'){
				$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
				$('#modal-building-search-view #buildingSearchWait').addClass('on');
				setTimeout(function() {
					repeatPdfTask(data.rsltData.insert_id, data.rsltData.repeatIntNumber);
				}, 1000);
			} else if(data.rsltCode == '99'){
				$('#modal-building-search-view #buildingSearchWait').removeClass('on');
				$('.arch_issued_last_txt1').html('건축물대장 발급 진행중입니다.');
				$('.arch_issued_last_txt2').html('평균적으로 60초 ~ 90초 정도 소요됩니다.');
				$('.arch_issued_last_txt3').html('발급창을 끄거나 새로고침시 발급이 중지됩니다.');
				
				const icon = document.querySelector('.load_box.ing .icon_box');
				if(PdfTaskStartState == 'N') startCircleProgressPdf(icon, 100, 120000);
				
				setTimeout(function() {
					repeatPdfTask(data.rsltData.insert_id, data.rsltData.repeatIntNumber);
				}, 1000);
			} else if(data.rsltCode == '00'){
				//발급완료 파일 다운로드
				PdfTaskStartState = 'N';
				el = document.querySelector('.load_box .icon_box');
				const boxs = el.closest('.load_box');
				boxs.classList.remove('ing');
				boxs.classList.add('done');
				if(data.rsltData.insert_id){
					boxs.dataset.url = 'https://data.bugisa.kr/api/pdfFileDown/'+data.rsltData.insert_id;
				} else {
					boxs.dataset.url = '';
				}
				boxs.onclick = function() { location.href = boxs.dataset.url; };
				$('.arch_issued_last_txt1').html('발급이 완료되었습니다.');
				$('.arch_issued_last_txt2').html('아이콘을 클릭해 발급한 건축물대장을 다운로드 받으세요.');
				$('.arch_issued_last_txt3').html('');
			} else {
				PdfTaskStartState = 'N';
				alert(data.rsltMsg);
				$('#modal-building-search-view #buildingSearchWait').removeClass('on');
				$('#modal-building-search-view #buildingSearchLoading').removeClass('on');
				$('#modal-building-search-view #buildingSearchWarning').show();
				//$('#modal-building-search').removeClass('on');
			}
		}, "JSON");
	}
	
	function readyCircleProgressPdf(el, counting){
		el.style.setProperty('--p', '0%');
		el.setAttribute('data-progress', 0);
		const box = el.closest('.load_box');
		box.classList.remove('done');
		box.classList.add('ing');
		
		if(counting == '1'){
			$('.arch_issued_last_txt1').html('발급 대기중입니다.');
		} else if(counting == '2'){
			$('.arch_issued_last_txt1').html('발급 대기중입니다..');
		} else {
			$('.arch_issued_last_txt1').html('발급 대기중입니다...');
		}
		$('.arch_issued_last_txt2').html('발급시 시작될때까지 기다려주세요.');
		$('.arch_issued_last_txt3').html('발급창을 끄거나 새로고침시 발급이 중지됩니다.');
		
		//$('.arch_issued_last_txt1').html('건축물대장 발급 진행중입니다.');
		//$('.arch_issued_last_txt2').html('평균적으로 60초 ~ 90초 정도 소요됩니다.');
		//$('.arch_issued_last_txt3').html('발급창을 끄거나 새로고침시 발급이 중지됩니다.');
	}
	
	function startCircleProgressPdf(el, target=100, duration=1500){
		if(PdfTaskStartState == 'N'){ PdfTaskStartState = 'Y'; }
		el.style.setProperty('--p', '0%');
		el.setAttribute('data-progress', 0);
		
		$('#modal-building-search-view #buildingSearchLoading').addClass('on');

		const box = el.closest('.load_box');
		if (box) {
			box.classList.remove('done');
			box.classList.add('ing');
		}
  
		target = Math.max(0, Math.min(100, target)); // 0~100 제한
		let startTime = null;

		function tick(ts){
			if(!startTime) startTime = ts;
			const t = Math.min(1, (ts - startTime) / duration);
			const val = Math.round(t * target);
			if(val > 99) {
				return;
			}
			// CSS 변수와 표시 텍스트 업데이트
			el.style.setProperty('--p', val + '%');
			el.setAttribute('data-progress', val);

			if(val < target) requestAnimationFrame(tick);
			if(val == 100) {
				const box = el.closest('.load_box');
				box.classList.remove('ing');
				box.classList.add('done');
			} else {
				const box = el.closest('.load_box');
				box.classList.remove('done');
				box.classList.add('ing');
			}
		}
		requestAnimationFrame(tick);	
	}
	
	function openArchIssuedFunc(){
		openAddress = '';
		openAddress_detail = '';
		openItemId = '';
		openSidoId = '';
		var address_dong_all = $('#sido_id option:selected').text() + ' '+ $('#gugun_id option:selected').text() + ' ' + $('#dong_id option:selected').text();
		if($('#sido_id option:selected').text() == '세종') {
			address_dong_all = $('#gugun_id option:selected').text() + ' ' + $('#dong_id option:selected').text()
		}
		openAddress = address_dong_all;
		openAddress_detail = $('#address_detail').val();
		openItemId = '';
		openSidoId = $('#sido_id').val();
		addressBuildingSelects(openAddress, openAddress_detail, openItemId, openSidoId);
	}
	
	//***************//

	function openArchIssued() {
		event.stopPropagation();

		$('#search_building_keyword').val('');
		//$('#building_search_body').html('');
		//$('#modal-building-search-view .building_issued_jeonyu_list').html('');

		$('#modal-building-search-view .building_ex').show();
		$('#modal-building-search-view #buildingSearchBox').show();

		$('#modal-building-search-view #buildingSearchEmpty').hide();
		$('#modal-building-search-view #buildingResult').hide();
		$('#modal-building-search-view .select_b_info').hide();
		$('#modal-building-search-view .modal_btn_box').hide();
		$('#modal-building-search-view .step_list').hide();
		$('#modal-building-search-view .step_select').hide();
		$('#modal-building-search-view #buildingSelectResult').hide();
		$('#modal-building-search-view #buildingSearchWait').removeClass('on');
		$('#modal-building-search-view #buildingSearchLoading').removeClass('on');

		$('#modal-building-search-view').modal('show');
	}

	function archIssuedKeywordSearch_bak(){
		var pattern = /([^가-힣0-9a-z\x20])/i;
		//자음이나 모음만 있는 글이 있는 경우는 검색 제외
		var korea_pattern = /([^가-힣\x20])/i;
		var fld = $('#search_building_keyword').val();

		var this_pattern = /[^(가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z)]/gi;   // 특수문자 제거
		if(this_pattern.test(fld)){
			fld = fld.replace(this_pattern,"");
		}
		if (pattern.test(fld)) {
			return false;
		}
		$.ajax({
			url: "/address/get_imjang_address_json",
			dataType: "json",
			beforeSend: function( xhr ) {
			},
			data: {
				term: $('#search_building_keyword').val()
			},
			success: function( data ) {
				address_list = "";
				this_i = 0
				if(data){
					$.each(data, function(index, rslt){
						address_list += '<tr class="b_src_tr">';
						address_list += '	<td class="b_address">'+rslt.address+'</td>';
						address_list += '	<td class="b_select">';
						address_list += '		<span class="b_select_btn" onclick="buildingSelects(\''+rslt.address+'\','+this_i+');"><i class="fas fa-check-circle"></i> 선택</span>';
						address_list += '	</td>';
						address_list += '</tr>';
					});
					if(address_list){
						archIssuedModalReset();
						$('#modal-building-search-view .building_ex').hide();
						$('#modal-building-search-view #buildingSearchBox').show();
						$('#building_search_body').html(address_list);
						$('#modal-building-search-view #buildingResult').show();
					} else {
						archIssuedModalReset();
						
						$('#modal-building-search-view #buildingSearchBox').show();
						$('#modal-building-search-view .building_ex').hide();
						$('#modal-building-search-view #buildingResult').hide();
						$('#modal-building-search-view #buildingSearchEmpty').show();
					}
				} else {
					archIssuedModalReset();
					
					$('#modal-building-search-view #buildingSearchBox').show();
					$('#modal-building-search-view .building_ex').hide();
					$('#modal-building-search-view #buildingResult').hide();
					$('#modal-building-search-view #buildingSearchEmpty').show();
				}
			}
		});
	}

	function buildingSelect(idx) {
		var address = $('.b_src_tr_'+idx).find('.b_address').text();
		$('#select_b_addr').text(address);
		$('#modal-building-search-view #buildingResult').hide();
		$('#modal-building-search-view #buildingSearchBox').hide();
		$('#modal-building-search-view .select_b_info').show();
		$('#modal-building-search-view .modal_btn_box').show();
		$('#modal-building-search-view .step_list').hide();
		$('#modal-building-search-view .step_select').show();
		$('#modal-building-search-view #buildingSelectResult').show();
	}

	
	$(document).on('click', '.b_info.dropdown .drop-toggle', function (e){
		$('.b_info.dropdown .drop-toggle').next('.dropdown').removeClass('show');
		$(this).next('.building_dropdown').toggleClass('show');
	});

	function searchSewoomView(address) {
		searchSewoomResult = false;
		if(address) {
			var url = "/admin_item/sewoom_search";

			var data = {
				address : address,
			}

			$.ajax({
				url : url,
				type : "GET",
				datatype : "JSON",
				data : data,
				timeout: 5000,
				beforeSend: function() {
					
				}, error: function(request, status, err) {
					return;
				}, complete: function() {
					
				}, success : function(msg) {
					datas = decodeURIComponent((msg + '').replace(/\+/g, '%20'));
					searchAddr = JSON.parse(datas);
					results = searchAddr.result;
					if(results.hits && results.hits.length > 0) {
						searchSewoomResult = true;
						address_list = "";
						this_i = 0
						$.each(results.hits,function(k,v){
							pkArr = v._source.mgmUpperBldrgstPk.split("_");

							addrArr = v._source.jibunAddr.split(" ");
							listAddr = '';
							listAddr = addrArr[0] + ' ' + addrArr[1] + ' ' + addrArr[2] + ' ' + addrArr[3];
							if(addrArr.length >= 5) {
								if(addrArr[4]) {
									var addrlast = addrArr[4];

									var isNumberOnly = /^\d+$/.test(addrlast);       // 123 같은 형태
									var isJibeon     = /^\d+-\d+$/.test(addrlast);   // 123-12 같은 형태

									if (isNumberOnly || isJibeon) {
										listAddr += ' ' + addrArr[4];
									}
								}

								if(addrArr[5]) {
									var addrlast = addrArr[5];

									var isNumberOnly = /^\d+$/.test(addrlast);       // 123 같은 형태
									var isJibeon     = /^\d+-\d+$/.test(addrlast);   // 123-12 같은 형태

									if (isNumberOnly || isJibeon) {
										listAddr += ' ' + addrArr[5];
									}
								}
								
							}
							address_list += '<tr class="b_src_tr">';
							address_list += '	<td class="b_address">'+listAddr+'</td>';
							address_list += '	<td class="b_select">';
							if(v._source.mgmUpperBldrgstPk.indexOf("_") !== -1) {
								var mnnm = pkArr[pkArr.length - 2];
								mnnm = mnnm.replace(/^0+/, "");

								var slno = pkArr[pkArr.length - 1];
								slno = slno.replace(/^0+/, "");
								
								address_list += '		<span class="b_select_btn" data-type="0" data-address="'+listAddr+'" data-untClsfCd="'+v._source.untClsfCd+'" data-regstrKindCd="'+v._source.regstrKindCd+'" data-reqSigunguCd="'+pkArr[0]+'" data-bjdongCd="'+pkArr[1]+'" data-mnnm="'+mnnm+'" data-slno="'+slno+'" onclick="searchSewoomPyo($(this));"><i class="fas fa-check-circle"></i> 선택</span>';
							} else {
								address_list += '		<span class="b_select_btn" data-type="2" data-address="'+listAddr+'" data-untClsfCd="'+v._source.untClsfCd+'" data-regstrKindCd="'+v._source.regstrKindCd+'" data-bldrgstSeqno="'+v._source.mgmUpperBldrgstPk+'" onclick="searchSewoomPyo($(this));"><i class="fas fa-check-circle"></i> 선택</span>';
							}
							address_list += '	</td>';
							address_list += '</tr>';
						});

						if(address_list){
							archIssuedModalReset();
							$('#modal-building-search-view .building_ex').hide();
							$('#modal-building-search-view #buildingSearchBox').show();
							$('#building_search_body').html(address_list);
							$('#modal-building-search-view #buildingResult').show();

							if(results.hits && results.hits.length == 1) {
								searchSewoomPyo($('#building_search_body .b_select_btn').eq(0));
							} else {
								if(!$('#modal-building-search-view').hasClass('in')) {
									$('#modal-building-search-view').modal('show');
								}
							}
						} else {
							archIssuedModalReset();
							//alert('해당 주소는 건축물대장이 존재하지 않습니다.');
							$('#modal-building-search-view #buildingSearchBox').show();
							$('#modal-building-search-view .building_ex').hide();
							$('#modal-building-search-view #buildingResult').hide();
							$('#modal-building-search-view #buildingSearchEmpty').show();
							if(!$('#modal-building-search-view').hasClass('in')) {
								$('#modal-building-search-view').modal('show');
							}
							return;
						}
					} else {
						archIssuedModalReset();
						//alert('해당 주소는 건축물대장이 존재하지 않습니다.');
						$('#modal-building-search-view #buildingSearchBox').show();
						$('#modal-building-search-view .building_ex').hide();
						$('#modal-building-search-view #buildingResult').hide();
						$('#modal-building-search-view #buildingSearchEmpty').show();
						if(!$('#modal-building-search-view').hasClass('in')) {
							$('#modal-building-search-view').modal('show');
						}
						return;
					}

					
				}
			});
		}
	}

	function searchSewoomPyo(obj) {
		var url = "/admin_item/sewoom_search_pyo";

		var address = obj.attr("data-address");
		var type = obj.attr("data-type");
		var regstrKindCd = obj.attr("data-regstrKindCd");
		var bldrgstSeqno = obj.attr("data-bldrgstSeqno");
		var bjdongCd = obj.attr("data-bjdongCd");
		var reqSigunguCd = obj.attr("data-reqSigunguCd");
		var mnnm = obj.attr("data-mnnm");
		var slno = obj.attr("data-slno");
		var untClsfCd = obj.attr("data-untClsfCd");
		if(type == 2) {
			var data = {
				addrGbCd : "2",
				bldrgstSeqno : bldrgstSeqno,
				bldrgstCurdiGbCd : "0",
				inqireGbCd : "0",
				mnnm : mnnm,
				platGbCd : "0",
				reqSigunguCd : reqSigunguCd,
				slno : slno,
				untClsfCd : untClsfCd,
			}
		} else {
			var data = {
				addrGbCd : "0",
				bjdongCd : bjdongCd,
				bldrgstCurdiGbCd : "0",
				inqireGbCd : "0",
				mnnm : mnnm,
				platGbCd : "0",
				reqSigunguCd : reqSigunguCd,
				slno : slno,
				untClsfCd : untClsfCd,
			}
		}
		
		$.ajax({
			url : url,
			type : "GET",
			datatype : "JSON",
			data : data,
			timeout: 5000,
			beforeSend: function() {
				
			}, error: function(request, status, err) {
				return;
			}, complete: function() {
				
			}, success : function(msg) {
				datas = decodeURIComponent((msg + '').replace(/\+/g, '%20'));
				results = JSON.parse(datas);
				buildingIndex = 0;
				if(!results.allpyodb && !results.pyodb){
					alert('해당 주소는 건축물대장이 존재하지 않습니다.');
					return;
				}
				if(!$('#modal-building-search-view').hasClass('on')){
					$('#building_search_body').empty();
					empty_html = '';
					empty_html += '<tr class="b_src_tr">';
					empty_html += '	<td class="b_address" style="text-align:center;" colspan="2">주소를 검색해주세요.</td>';
					empty_html += '</tr>';
					$('#building_search_body').html(empty_html);
				}

				$('#modal-building-search-view .building_ex').hide();
				$('#b_info_type3').prop('checked', false);
				$('#b_info_type4').prop('checked', false);
				$('#b_info_type3').prop('disabled', false);
				$('#b_info_type4').prop('disabled', false);
				if((results.allpyodb && results.allpyodb.blprtYn == 'Y') || (results.pyodb && results.pyodb[0].blprtYn == 'Y')){ //집합건물
					$('.building_issued_all_allpyo').removeClass('readonly');
					$('.building_issued_all_pyoje').removeClass('readonly');
					$('.building_issued_collec_list').html('');
					$('.building_issued_all_jeonyu').removeClass('readonly');
					$('.building_issued_jeonyu_list').html('');
					
					$('.building_issued_allpyo_title').html('건축물대장 집합(아파트, 연립주택 등) 총괄');
					$('.building_issued_pyoje_title').html('건축물대장 집합(아파트, 연립주택 등) 표제부');
					$('.building_issued_jeonyu_title').html('건축물대장 집합(아파트, 연립주택 등) 전유부');
					$('.building_issued_search_count').html('0건');
					$('.building_issued_collect_count').html('0건');
					$('.building_issued_jeonyu_count').html('0건');
					building_bugun = '집합';
				} else {
					$('.building_issued_all_allpyo').removeClass('readonly');
					$('.building_issued_all_pyoje').removeClass('readonly');
					$('.building_issued_collec_list').html('');
					$('.building_issued_all_jeonyu').addClass('readonly');
					$('.building_issued_jeonyu_list').html('');
					$('.building_issued_allpyo_title').html('건축물대장 일반(단독주택 등) 총괄');
					$('.building_issued_pyoje_title').html('건축물대장 일반(단독주택 등) 표제부');
					$('.building_issued_jeonyu_title').html('건축물대장 일반(단독주택 등) 전유부');
					$('.building_issued_search_count').html('0건');
					$('.building_issued_collect_count').html('0건');
					$('.building_issued_jeonyu_count').html('0건');
					building_bugun = '일반';
				}
				
				if(!results.allpyodb){
					$('.building_issued_all_allpyo').addClass('readonly');
					$('#b_info_type3').prop('disabled', true);
				}
				
				if(!results.pyodb){
					$('.building_issued_all_pyoje').addClass('readonly');
					$('.building_issued_collec_list').removeClass('show');
				}
				
				var building_col_cnt = 0;
				if(results.pyodb){
					$('.building_issued_collec_list').addClass('show');
					building_html='';
					$.each(results.pyodb,function(k,v){
						var srchAddr = v.sigunguNm + ' ' + v.bjdongNm;
						if(v.mnnm) {
							var srchmnnm = v.mnnm.replace(/^0+/, "");
							if(srchmnnm) srchAddr += ' ' + srchmnnm;
						}
						if(v.slno) {
							var srchslno = v.slno.replace(/^0+/, "");
							if(srchslno) srchAddr += '-' + srchslno;
						}

						checkbox_checked = '';
						if(results.pyodb.length == 1) checkbox_checked = "checked";
						building_html+='<li>';
						building_html+='<input class="cur_pointer" type="checkbox" id="b_col_pyoje_'+k+'" name="building_issued_checked[]" '+checkbox_checked+' value="'+srchAddr+'" data-address="'+srchAddr+'" data-address_road="" data-address_dong="'+(v.dongNm ? v.dongNm : '')+'" data-address_hosil="" >';
						building_html+='<label class="cur_pointer" for="b_col_pyoje_'+k+'">'+srchAddr+' '+((v.dongNm)?v.dongNm:(v.bldNm ? v.bldNm : ''))+'</label>';
						building_html+='</li>';
						building_col_cnt++;
					});

					$('.building_issued_collect_count').html(building_col_cnt+'건');
					$('.building_issued_collec_list').empty();
					$('.building_issued_collec_list').html(building_html);
				} else {
					$('.building_issued_collec_list').removeClass('show');
				}

				//전유
				var jybuilding_col_cnt = 0;
				if(results.jeonyu){
					$('.building_issued_jeonyu_list').addClass('show');
					jybuilding_html='';
					$.each(results.jeonyu,function(k,v){
						var srchAddr = v.sigunguNm + ' ' + v.bjdongNm;
						if(v.mnnm) {
							var srchmnnm = v.mnnm.replace(/^0+/, "");
							if(srchmnnm) srchAddr += ' ' + srchmnnm;
						}
						if(v.slno) {
							var srchslno = v.slno.replace(/^0+/, "");
							if(srchslno) srchAddr += '-' + srchslno;
						}

						jycheckbox_checked = '';
						if(results.jeonyu.length == 1) jycheckbox_checked = "checked";
						jybuilding_html+='<li>';
						jybuilding_html+='<input class="cur_pointer" type="checkbox" id="b_col_jeonyu_'+k+'" name="jybuilding_issued_checked[]" '+jycheckbox_checked+' value="'+srchAddr+'" data-address="'+srchAddr+'" data-address_road="" data-address_dong="'+(v.dongNm ? v.dongNm : '')+'" data-address_hosil="" >';
						jybuilding_html+='<label class="cur_pointer" for="b_col_jeonyu_'+k+'">'+srchAddr+' '+((v.dongNm)?v.dongNm:(v.bldNm ? v.bldNm : ''))+'</label>';
						jybuilding_html+='</li>';
						jybuilding_col_cnt++;
					});

					$('.building_issued_jeonyu_count').html(jybuilding_col_cnt+'건');
					$('.building_issued_jeonyu_list').empty();
					$('.building_issued_jeonyu_list').html(jybuilding_html);
				} else {
					$('.building_issued_jeonyu_list').removeClass('show');
				}
				
				
				$('#select_b_addr').text(address);
				$('#modal-building-search-view .b_select_reset').show();
				$('#modal-building-search-view #buildingResult').hide();
				$('#modal-building-search-view #buildingSearchBox').hide();
				$('#modal-building-search-view .select_b_info').show();
				$('#modal-building-search-view .modal_btn_box').show();
				$('#modal-building-search-view .step_list').hide();
				$('#modal-building-search-view .step_select').show();
				$('#buildingSelectResult').show();

				if(!$('#modal-building-search-view').hasClass('in')) {
					$('#modal-building-search-view').modal('show');
				}
			}
		});
		
	}

	//건축물대장 발급시 배경 클릭해도 안꺼지게
	$('#modal-building-search-view').on('hide.bs.modal', function (event) {
		repeatPdfTaskCnt = 128;
		if ($('#modal-building-search-view #buildingSearchLoading').css('display') != 'none') {
			if($('#modal-building-search-view #buildingSearchLoading .load_box').hasClass('ing')) {
				//event.preventDefault();
			}
		}

		if ($('#buildingSearchWait').css('display') != 'none') {
			//event.preventDefault();
		}
	});

</script>

