@import "/lib/css/water_culture/font.css";

* {
	font-family: 'Pretendard', '맑은 고딕', 'malgun gothic', 'AppleGothicNeoSD', 'Apple SD 산돌고딕 Neo', sans-serif;
	--bs-nav-link-font-weight: 500;
}

@media (min-width: 992px) {
	body {
		width: 992px;
	}
	
	.list-view {
		display: flex;
	}
	
	.wrap-vertical {
		white-space: normal !important;
	}
	
	.carousel {
		aspect-ratio: 2/1 !important;
	}
	
	.wv-river {
		aspect-ratio: 1 !important;
	}
	
	.recommend-course {
		aspect-ratio: 16/9 !important;
	}
	
	.fclty-tour-lists {
		flex-direction: row !important;
	}
	
	.fclty-list {
		width: 50% !important;
		padding-right: 5px !important;
	}
	
	.tour-list {
		width: 50% !important;
		padding-left: 5px !important;
	}
	
	#fclty_list, #tourList_list {
		max-height: 594px;
	}
	
	.fclty-category {
		white-space: normal !important;
	}
	
	.btn-etc {
		display: block !important;
	}
	
	.fclty-category {
		overflow-x: hidden !important;
		overflow-y: hidden !important;
	}
	
	#map, #map2 {
		height: 420px !important;
	}
}

body {
	padding: 0;
}

a {
	--bs-link-color-rgb: #000000;
	--bs-link-hover-color-rgb: #000000;
}

.m-cursor {
	cursor: pointer;
}

.site-info {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	display: flex;
	flex-direction: column;
	touch-action: none;
}

.site-info img {
	height:90%;
}

.close-btn-area {
	width: 100%;
	height: 100%;
	background-color: #ffffff;
}

.splash {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, .75);
	z-index: 999;
}

/* header */
.logo {
	position: absolute;
	top: 0px;
	right: -80px;
	width: 100px;
	z-index: -1;
}

.logo-sub {
	width: 50px;
}

.carousel {
	aspect-ratio: 4/3;
}

/* main */
.wrap-vertical {
	overflow: auto;
	white-space: nowrap;
}

.wrap-vertical::-webkit-scrollbar {
	display: none;
}

.fclty-tour-lists {
	flex-direction: column;
}

.wv-river {
	display: inline-block;
	/* width: 195px; */
	/* height: 295px; */
	aspect-ratio: 16/9;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
}

.wv-river-text {
	/* width: 165px; */
	margin: 15px;
	white-space: normal;
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.recommend-course {
	display: inline-block;
	aspect-ratio: 16/9;
	margin-bottom: 30px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
}

.course-text {
	margin: 15px;
	white-space: normal;
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	margin: 15px;
}

.chat-message {
	padding: 10px 14px;
	border-radius: 12px;
	word-wrap: break-word;
}

.user-message {
	background-color: #0d6efd;
	color: white;
	max-width: 80%;
}

.bot-message {
	background-color: #f1f1f1;
	color: #333;
	max-width: 80%;
}

.text-prewrap {
	white-space: pre-wrap !important;
}

.dt-river {
	width: 100%;
	height: 295px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
}

.dt-river-text {
	width: 165px;
	margin: 15px;
	white-space: normal;
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.dam-select-list {
	width: 100%;
	height: 150px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
}

.dam-text {
	margin: 10px;
	backdrop-filter: blur(1px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.fclty:first-child {
	margin-left: 15px;
}

.fclty:last-child {
	margin-right: 24px !important;
}

.ktx {
	display: inline-block;
	height: 195px;
	margin-bottom: 30px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
}


.ktx-text {
	margin: 15px;
	white-space: normal;
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	margin: 15px;
}

.container {
	padding-top: 10px;
}

.btn-area {
	display: flex;
	gap: 3px;
	justify-content: center;
	padding: 1rem 0;
}

.river-container {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	/* 스크롤바 숨기기 */
	scrollbar-width: none;
	display: flex;
	gap: 16px;
}

.river-container::-webkit-scrollbar {
	display: none;
}

.river {
	width: 120px;
	text-align: center;
}

.river img {
	width: 120px;
	height: 120px;
	border-radius: 100%;
}

.river-title {
	margin-top: 10px;
	font-weight: bold;
}

.river-sub {
	border: 1px solid #ddd;
	border-radius: 20px;
	margin-top: 5px;
	font-size: 12px;
	padding: 5px;
}

.pick-container {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	/* 스크롤바 숨기기 */
	scrollbar-width: none;
	display: flex;
	gap: 16px;
}

.pick-container::-webkit-scrollbar {
	display: none;
}

.pick {
	width: 200px;
	position: relative;
}

.pick img {
	width: 200px;
	height: 250px;
	border-radius: 20px;
}

.pick-title {
	width: 200px;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	padding: 20px;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.p-infowindow2 {
	width:200px;
	min-width:160px;
	padding:5px;
	z-index:1;
	font-size:14px;
}

.p-infowindow {
	display: inline-block;
	position: relative;
	width: max-content;
	background: #FFFFFF;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	border: #d8d8d8 solid 1px;
	font-size: 14px;
	box-shadow: rgb(0 0 0 / 10%) 0px 1px 3px 0px;
}

.bus-sttn-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.loading-spinner {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0;
}

.dam-list {
	margin:0;
	padding:0;
}

.fclty-category {
	display: flex;
	gap: 5px;
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.btn-etc {
	display: flex;
}

.cate-item {
	margin-right: 5px;
}

.dam-title {
	padding: 5px;
	text-align: center;
	font-size: 15px;
	width: 200px;
}

.recommend-course-container {
	padding: 10px;	
}

#fclty_list {
	max-height: 330px;
	overflow-x: hidden;
	overflow-y: auto;
}

#tourList_list {
	max-height: 330px;
	overflow-x: hidden;
	overflow-y: auto;
}

.course-content img {
	width: 100% !important;
}

.tp-river {
	display: inline-block;
	width: 100%;
	height: 295px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
}

.tp-river-text {
	width: 165px;
	margin: 15px;
	white-space: normal;
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.pm-color {
	color: #339af0;	
}

.pm-color.green {
	color: #3bc920;
}

.pm-color.orange {
	color: #fcc419;
}

.pm-color.red {
	color: #fa5252;
}


.list-group {
  width: 100%;
}

.form-check-input:checked + .form-checked-content {
  opacity: .5;
}

.form-check-input-placeholder {
  border-style: dashed;
}
[contenteditable]:focus {
  outline: 0;
}

.list-group-checkable .list-group-item {
  cursor: pointer;
}
.list-group-item-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}
.list-group-item-check:hover + .list-group-item {
  background-color: var(--bs-secondary-bg);
}
.list-group-item-check:checked + .list-group-item {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.list-group-item-check[disabled] + .list-group-item,
.list-group-item-check:disabled + .list-group-item {
  pointer-events: none;
  filter: none;
  opacity: .5;
}

.list-group-radio .list-group-item {
  cursor: pointer;
  border-radius: .5rem;
}
.list-group-radio .form-check-input {
  z-index: 2;
  margin-top: -.5em;
}
.list-group-radio .list-group-item:hover,
.list-group-radio .list-group-item:focus {
  background-color: var(--bs-secondary-bg);
}

.list-group-radio .form-check-input:checked + .list-group-item {
  background-color: var(--bs-body);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 2px var(--bs-primary);
}
.list-group-radio .form-check-input[disabled] + .list-group-item,
.list-group-radio .form-check-input:disabled + .list-group-item {
  pointer-events: none;
  filter: none;
  opacity: .5;
}
