@font-face {
  font-family: "Catull";
  src: url("Catull.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
    margin: 0px;
	font-family: "Catull", "Times New Roman", serif;
	color: rgb(0, 0, 255);
}

a {
	cursor: pointer;
}

h2 {
	text-align: center;
}

img {
	max-width: 100%;
}

.contentbanner {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.centered {
	text-align: center;
}
.centered p {
	text-align: justify;
}
.centered iframe {
	width: 100%;
}
.centered li {
    text-align: left;
}

.split {
	display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 10%;
}

.grid {
	display: grid;
	grid-template-columns: 33% 33% 33%;
}

.gridItem {
	padding: 10px;
}
.gridItem * {
	width: 100%;
    color: black;
    text-decoration: none;
}
.gridItem p {
	text-align: center;
}

.contactForm {
	width: 100%;
}
.contactForm input, .contactForm textarea, .contactForm div {
	width: 80%;
    margin: 4px;
}
.contactForm .contactLine input {
	width: 40%;
    margin: 4px;
}

.dateRow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 10px 0;
    justify-self: center;
}

.bookingField {
	display: grid;
	gap: 6px;
}

.bookingField input {
	width: 100%;
	margin: 0;
}

.bookingField select {
	width: 100%;
	margin: 0;
}

.bookingField label,
.participantSection label,
.participantHint {
	display: block;
	text-align: left;
}

.contactForm--campBooking .participantSection {
	display: grid;
	gap: 10px;
	width: 80%;
	margin: 14px auto;
	text-align: left;
}

.contactForm .participantSectionHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.contactForm .participantActions {
	display: flex;
	gap: 8px;
	width: auto;
	margin: 0;
}

.participantAction {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid #bcbcbc;
	background: #f3f3f3;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.participantAction:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.contactForm .participantsList {
	display: grid;
	gap: 8px;
	margin: 0 auto;
	width: 100%;
	grid-template-columns: repeat(2, minmax(260px, 1fr));
	justify-content: center;
}

.participantsList input,
.participantInput {
	width: 100%;
	margin: 0;
}

.contactForm .contactLine {
	width: 80%;
	margin: 12px auto;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.contactForm .contactLine input {
	width: min(320px, 45%);
	margin: 0;
}

.navbar {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #f3f3f3;
	border: 1px solid #e7e7e7;
}
.navbar li {
	float: left;
	border-right: 1px solid #bbbbbb;
}
.navbar li:last-child {
	border-right: none;
}
.navbar li a, .navbar ul li a {
	display: block;
	color: black;
	padding: 8px 16px;
	text-decoration: none;
}
.navbar li a .active {
	background-color: #04AA6D;
	color: white;
}
.navbar li a, .dropbtn {
	display: inline-block;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}
.navbar li a:hover, .dropdown:hover .dropbtn {
	background-color: #555555;
	color: white;
}

.dropdown {
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
	display: block;
}

#contentbox {
	width: 80%;
    justify-self: center;
}

#topControls {
	position: fixed;
	right: 1%;
	top: 1%;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	z-index: 2147483647;
}

.mobile-nav-toggle {
	display: none;
	background: none;
	border: none;
	width: 40px;
	height: 40px;
	font-size: 24px;
	line-height: 1;
	color: #222;
	cursor: pointer;
}

#languageSelector {
	position: static;
    display: grid;
    grid-row-gap: 10px;
}

#languageSelector a img {
	border-radius: 10px;
    border: 1px solid grey;
}

.gallery-container {
	display: grid;
	justify-content: center;
	justify-items: center;
	grid-template-columns: repeat(auto-fit, 500px);
    align-items: start;
    gap: 10px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	padding: 0 10px;
}
.gallery-container img {
	width: 500px;
}

#slideshow-container {
	width: 100%;
	height: 400px;
	overflow: hidden;
	position: relative;
}
#slides {
	display: flex;
	height: 400px;
	width: 100%;
	justify-content: center;
	align-items: center;
	position: relative;
}
#slides img {
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(0);
	transition: transform 0.45s ease;
}
#slides img.from-right {
	transform: translateX(100%);
}
#slides img.from-left {
	transform: translateX(-100%);
}
#slides img.to-left {
	transform: translateX(-100%);
}
#slides img.to-right {
	transform: translateX(100%);
}
#slide-dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 11;
	padding: 6px 10px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 20px;
}
.slide-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 0;
}
.slide-dot.active {
	background: rgba(255, 255, 255, 1);
}
.nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.25);
	color: rgba(35, 35, 35, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.45);
	font-size: 20px;
	padding: 8px 11px;
	line-height: 1;
	border-radius: 999px;
	cursor: pointer;
	z-index: 10;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.nav-btn:hover {
	background-color: rgba(255, 255, 255, 0.45);
	color: rgba(20, 20, 20, 1);
	border-color: rgba(255, 255, 255, 0.65);
}
.nav-btn.prev {
	left: clamp(12px, 8%, 72px);
}
.nav-btn.next {
	right: clamp(12px, 8%, 72px);
}

#map, #map_sp, #map_hp {
	width: 500px;
	height: 300px;
}

@media screen and (max-width: 600px) {
	.mobile-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.navbar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		top: 42px;
		width: 100vw;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		pointer-events: none;
		transition: max-height 0.38s ease, opacity 0.28s ease;
		z-index: 2147483646;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	}

	.navbar.nav-open {
		max-height: 78vh;
		opacity: 1;
		overflow-y: auto;
		pointer-events: auto;
	}

	.navbar li {
		float: none;
        width: 100%;
	}

	.dropdown {
		display: block;
	}

	.dropdown-content {
		display: block;
		position: static;
		min-width: 100%;
		box-shadow: none;
		border-top: 1px solid #dfdfdf;
	}

	.dropdown-content a {
		padding-left: 28px;
	}

	.split {
		grid-template-columns: auto;
		grid-row-gap: 5%;
	}

	.dateRow {
		grid-template-columns: 1fr;
	}

	.contactForm--campBooking .participantSection {
		max-width: 100%;
		box-sizing: border-box;
		padding: 0 4px;
	}

	.contactForm .participantsList {
		width: 100%;
		grid-template-columns: minmax(0, 1fr);
		justify-content: stretch;
	}

	.contactForm .participantsList input,
	.contactForm .participantInput {
		min-width: 0;
	}

	.contactForm .participantSectionHeader {
		align-items: flex-start;
		flex-direction: column;
		width: 100%;
		box-sizing: border-box;
	}

	.contactForm .participantActions {
		align-self: flex-start;
	}

	.navbar li a {
		width: 100%;
	}
	
	.gallery-container {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		padding: 0 8px;
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		justify-content: center;
		justify-items: center;
	}

	.gallery-container img {
		width: 100%;
		height: auto;
	}

	#map, #map_sp, #map_hp {
		width: unset;
	}

	#topControls {
		top: 0;
		left: 0;
		right: 0;
		align-items: center;
		justify-content: space-between;
		background-color: white;
		box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
		border: 1px solid #bcbcbc;
	}

	#languageSelector {
		grid-row-gap: 0;
        grid-column-gap: 10px;
        grid-template-columns: auto auto auto;
	}

	#languageSelector a img {
	    height: 24px;
	}
}