@charset "utf-8";

/* 100% 풀 반응형 뷰포트 초기화 */
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	/*overflow: hidden;*/
	box-sizing: border-box;
	-webkit-text-size-adjust: none;
}

*, *:before, *:after {
	box-sizing: border-box;
}

/* 상단 헤더: 좌측(로고+검색)과 우측(메인화면 가기) 양 끝 분할 */
#header {
	clear: both; 
	height: 80px;
	width: 100% !important;
	margin: 0 auto;
	padding: 0 20px;
	border-bottom: 1px solid #e5e0e1;
	background: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
}

#header_left_area {
	display: flex;
	align-items: center;
	gap: 25px;
}

#header01 {
    height: auto;
    width: auto;
    float: none;
    padding: 0;
}

#header01 img {
	max-height: 48px;
	display: block;
}

#header02 {
	padding: 0;
	float: none;
}

/* 통합검색창 박스: 유동 가변 너비 */
#header02 .searchArea {
    border: 1px solid #0088cc;
    background: #ffffff;
    height: 42px;
    padding: 0px;
    float: none;
	width: 420px !important;
	display: flex;
	align-items: center;
	border-radius: 4px;
	overflow: hidden;
}

#search_word {
	width: 100%;
	height: 38px;
	border: 0px;
	background: #ffffff;
	margin: 0px;
	padding: 0 12px;
	outline: none;
	font-size: 13px;
}

/* PC/모바일 맨 우측 상단 고정 메인화면 가기 버튼 */
#header_main_btn {
	float: none;
	display: flex;
	align-items: center;
	margin-left: auto;
}

#header_main_btn img {
	max-height: 44px;
	display: block;
}

/* 메인 컨테이너: 가로/세로 100% Flex 영역 확보 */
#container {
	clear: both;
	width: 100% !important;
	height: calc(100vh - 80px) !important;
	display: flex;
	position: relative;
	top: 0;
	left: 0;
	overflow: hidden;
}

/* 좌측 사이드바: 385px 고정 너비 및 100% 세로 높이 */
#container01 {
    float: none;
    width: 385px !important;
    min-width: 385px;
    height: 100% !important;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    z-index: 10;
}

#container01 img {
	cursor: pointer;
}

#container01 #topMenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#container01 #topMenu .on {
	font-size: 14px;
	font-family: 'Nanum Gothic', 'gothic', 'dotum';
	width: 100%;
	text-align: center;
	padding: 12px 0;
	background: #2895d0;
	color: #ffffff;
	font-weight: bold;
}

#container01 #topMenu .on a {
	color: #ffffff;
	text-decoration: none;
}

.select_box_wrap {
	clear: both;
	padding: 10px 8px;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}

.select_box_wrap select {
	width: 32%;
	height: 32px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #ffffff;
	font-size: 12px;
	padding: 0 2px;
}

#iconList {
    clear: both;
    width: 100% !important;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
}

.cate_menu_ov {
    background: #2895d0 !important;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 5px;
    width: 100%;
    cursor: pointer;
}

.cate_menu_ov a {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

.cate_menu_off {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 5px;
    width: 100%;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cate_menu_off:hover {
	background: #edf2f7;
}

.cate_menu_off a {
    color: #495057;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

/* 우측 지도 컨테이너: Flex 남은 너비 및 높이 100% 채움 */
#container02 {
    float: none;
    flex: 1;
    width: 100% !important;
    height: 100% !important;
    position: relative;
    left: 0 !important;
    overflow: hidden;
}

/* 지도 element 100% 렌더링 */
#map {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e5e3df;
}

/* ==========================================================================
   마커 말풍선 오버레이 (.info_wrap) 완벽 위치 고정 및 디자인 조치 CSS
   ========================================================================== */
.info_wrap {
    position: relative !important;
    width: 250px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid #b0c4de !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-family: 'Nanum Gothic', 'gothic', 'dotum', sans-serif !important;
    pointer-events: auto !important;
    /* [수정] 아래쪽 여백 및 흔들림 방지 */
    bottom: 12px !important;
}

/* 말풍선 헤더 타이틀 바 */
.info_wrap .info_title {
    position: relative !important;
    width: 100% !important;
    background: #0099cc;
    padding: 10px 34px 10px 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.info_wrap .info_title a {
    text-decoration: none !important;
    width: 100% !important;
    display: block !important;
}

.info_wrap .info_title .kor_title {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.3 !important;
    background: transparent !important;
    text-align: left !important;
}

/* 닫기 (X) 버튼 */
.info_wrap .info_close_btn {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    opacity: 0.9 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: opacity 0.2s;
}

.info_wrap .info_close_btn:hover {
    opacity: 1 !important;
}

/* 하단 버튼 영역 (자세히보기, 로드뷰) */
.info_wrap .bus_infoStartEnd {
    background: #ffffff !important;
    padding: 10px 8px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    box-sizing: border-box !important;
}

.info_wrap .bus_infoStartEnd a {
    display: inline-block !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.info_wrap .bus_infoStartEnd img {
    height: 28px !important;
    width: auto !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    border: 0 !important;
    margin: 0 !important;
    display: block !important;
}

#bottomIntro {
	width: 1000px;
	height: auto; /* 고정 높이를 auto로 변경하여 이미지만큼 늘어나도록 수정 */
	padding-top: 40px;
	padding-bottom: 30px;
	margin: 0px auto;
	text-align: center;
}

/* 푸터 스타일 */
#footerArea {
	width: 1000px;
	margin: 0px auto 40px auto;
	padding-top: 25px;
	padding-bottom: 25px;
	border-top: 1px solid #e1e1e1; /* 구분선 */
	text-align: center;
	color: #666666;
	font-size: 13px;
	line-height: 1.8;
	font-family: 'Nanum Gothic', 'gothic', 'dotum', sans-serif;
	clear: both; /* 겹침 방지 */
}
#footerArea .footer-info span {
	display: inline-block;
	margin: 0 8px;
}
#footerArea .copyright {
	margin-top: 8px;
	color: #999999;
	font-size: 12px;
}

/* ==========================================================================
   미디어 쿼리 구간
   ========================================================================== */

/* 태블릿 (1024px 이하) */
@media screen and (max-width: 1024px) {
	#header {
		height: 70px;
		padding: 0 15px;
	}
	#header01 img {
		max-height: 38px;
	}
	#header02 .searchArea {
		width: 260px !important;
		height: 38px;
	}
	#header_main_btn img {
		max-height: 36px;
	}
	#container {
		height: calc(100vh - 70px) !important;
	}
	#container01 {
		width: 320px !important;
		min-width: 320px;
	}
	.select_box_wrap select {
		font-size: 11px;
	}

	#bottomIntro {
		width: 100% !important;
		height: auto; /* 고정 높이를 auto로 변경하여 이미지만큼 늘어나도록 수정 */
		padding-top: 40px;
		padding-bottom: 30px;
		margin: 0px auto;
		text-align: center;
	}

	/* 푸터 스타일 */
	#footerArea {
		width: 100% !important;
		margin: 0px auto 40px auto;
		padding-top: 25px;
		padding-bottom: 25px;
		border-top: 1px solid #e1e1e1; /* 구분선 */
		text-align: center;
		color: #666666;
		font-size: 13px;
		line-height: 1.8;
		font-family: 'Nanum Gothic', 'gothic', 'dotum', sans-serif;
		clear: both; /* 겹침 방지 */
	}
	#footerArea .footer-info span {
		display: inline-block;
		margin: 0 8px;
	}
	#footerArea .copyright {
		margin-top: 8px;
		color: #999999;
		font-size: 12px;
	}
}

/* 모바일 (768px 이하) */
@media screen and (max-width: 768px) {
	#header {
		height: auto !important;
		padding: 8px 12px 10px 12px;
		flex-direction: column;
		gap: 8px;
	}
	#header_left_area {
		width: 100%;
		justify-content: space-between;
		gap: 10px;
	}
	#header01 img {
		max-height: 34px;
	}
	#header_main_btn img {
		max-height: 34px;
	}
	#header02 {
		width: 100%;
	}
	#header02 .searchArea {
		width: 100% !important;
		height: 38px;
	}

	#container {
		flex-direction: column-reverse;
		height: calc(100vh - 102px) !important;
	}
	#container01 {
		width: 100% !important;
		min-width: 100%;
		height: 50% !important;
		border-right: none;
		border-top: 2px solid #2895d0;
	}
	#container02 {
		width: 100% !important;
		height: 50% !important;
	}
	.select_box_wrap {
		padding: 6px 8px;
	}
	.select_box_wrap select {
		height: 28px;
		font-size: 11px;
	}
	#iconList {
		padding: 6px 8px;
	}
}