body {
	font-family: 'Poppins', sans-serif;
	line-height:1.4;
	overflow-x:hidden;
	max-width: 1200px;
	margin: auto;
}

#navbar-container {
	position: fixed;
	margin: 0;
	display: flex;
	background-color:white;
	z-index:1000;
	margin-left:-10000px;
	padding-left:10000px;
	margin-right:-10000px;
	padding-right:10000px;
	padding-top: 20px;
}
#content-container {
	overflow-x:hidden;
	overflow-y:auto;
	width: 100%;
	padding-top:140px;
}
#footer-container {
	background-color:#8C9FB1;
	margin-top:20px;
	margin-left:-10000px;
	padding-left:10010px;
	margin-right:-10000px;
	padding-right:10010px;
	align-items: center;
	display: flex;
}

* {
	box-sizing: border-box;
}

/* --- Banner --- */
.banner {
	padding-top:20px;
	margin-top:30px;
}
.banner img {
	display: block; 
	margin-left: auto;
	margin-right:auto;
	width:50%;
	margin-top:-40px;
}
.banner h2 {
	text-align: center;
}

/* --- Navigation --- */
.site-logo {
	width: 260px;
	max-width: 100%;
	height: auto;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 10px;
	display: block;
}

.site-menu {
	margin-top: 6px;
	font-size: 17px;
	font-weight: bold;
}
.site-menu ul {
	padding-left: 0px;
	line-height: 1.3em;
}
.site-menu li {
	list-style: none;
	float: left;
	margin-right: 2px;
	position: relative;
}
.site-menu-ref {
	display: block;
	text-decoration: none;
	padding: 16px;
	color: black;
}
.site-menu li:hover {
	background: #9CAFC1;
	cursor: pointer;
}
.site-menu ul li ul {
	background: #9CAFC1;
	visibility: hidden;
	min-width: 230px;
	position: absolute;
	left: 0;
	font-weight: normal;
}
.site-menu ul li:hover > ul,
.site-menu ul li ul:hover {
	visibility: visible;
	overflow: hidden; 
}
.site-menu ul li ul li {
	left: 0;
	width: 100%;
}
.site-menu ul li ul li:hover a {
	color: white;
}
.site-menu ul li ul li:hover {
	background: #2F586E;
	color: white;
	text-decoration: underline;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 30px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Mobile View */
@media (max-width: 1024px) {
	#navbar-container {
		position: relative;             /* Switch from fixed to relative */
		margin: 0;                      /* Remove extreme offsets */
		padding: 20px;                  /* Clean, centered padding */
		width: 100%;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		overflow: hidden;              /* Prevent horizontal scroll */
		z-index: 1000;
		padding-bottom:0;
		
	}
	#content-container {
		padding-top:0px;
	}
	.site-logo {
		display: block;
		margin: 0 auto;
		max-width: 80%;
		height: auto;
		margin-bottom: 0;
	}
	.menu-icon {
		display: block;
		text-align: left;
		margin-top: 10px;
		margin-bottom: -20px;
	}
	.site-menu {
		text-align: left;
		width: 100%;
		padding: 10px 20px;
	}
	.site-menu li {
		float: none;
		width: 100%;
	}
	.site-menu li.site-menu-ref {
		font-weight: bold;
		margin-top: 1px;
		padding-left: 10px;
	}
	.site-menu ul {
		display: none; /* hidden until toggle */
		flex-direction: column;
		padding: 0;
	}
	#menu-toggle:checked ~ .site-menu ul {
		display: block;
	}
	.site-menu ul li {
		position: static;
		float: none;
		width: 100%;
	}
	.site-menu ul li ul {
		display: block;
		position: static;
		visibility: visible;
		background: none;
		padding-left: 20px;
		font-weight: normal;
	}
	.site-menu ul li ul li {
		margin: 2px 0;
		padding: 6px 12px;     /* tighter padding for smaller height */
		line-height: 1.2em;    /* slightly denser text */
		border-bottom: 1px solid #ccc;
	}
	.site-menu a.site-menu-ref {
		padding: 6px 0;        /* vertical padding inside links */
		font-size: 16px;       /* optional: slightly smaller text */
	}
}

/* --- Content --- */
.content-title {
	height:80px;
	margin-left:-10000px;
	padding-left:10020px;
	margin-right:-10000px;
	padding-right:10020px;
}
.content-title h1 {
	padding-top:22px;
	padding-left:3px;
	font-weight:normal;
}
.content-tile {
	padding: 25px;
}
.content-tile h2 {
	margin-top:50px;
	margin-bottom:20px;
}
.content-tile h3 {
	margin-top:30px;
}
.content-tile h4 {
	margin-top:30px; 
	margin-bottom:0px;
}
.content-tile p {
	margin-top:10px;
}

.previous-conferences-list {
	list-style-type:none;
	padding: 0px;
	margin: 0px;
}

/* --- Reference formatting --- */
.html-text-reference {
	color: black;
}
.html-reference {
	color: black;
	text-decoration: none;
}
.html-reference:hover {
	color: black;
	text-decoration: underline;
}

/* --- Contact layout --- */
.contact {
	border-width:1px;
	border-style:solid;
	border-color:#E9EDF2;
	padding:5px;
	margin-bottom:10px;
}
.contact td img {
	width:90px;
	margin-right:10px;
}
.contact td h3 {
	margin-top:0px;
	margin-bottom:0px;
}
.contact td p {
	margin-top:5px;
	margin-bottom:15px;
}

/* --- Bio layout --- */
.bio {
	display: flex;
    align-items: center;
}
.bio img {
	margin-right: 20px;
	width:185px;
}
@media (max-width: 768px) {
  .bio {
    flex-direction: column;
    align-items: center;
  }

  .bio img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* --- Sponsor layout --- */
.sponsor {
	display: flex;
    align-items: center;
}
.sponsor img {
	margin-right: 20px;
	margin-bottom: 20px;
}

/* --- Home page layout --- */
.home {
	display: flex;
    flex-direction: row;
	flex-wrap: wrap;
}
.homecontent {
	flex: 1;
	padding: 20px;
}
.homesponsors {
	flex-shrink: 0;
	width: 300px;
	padding: 20px;
	margin-top:60px;
}
.homesponsors img {
	max-width: 100%;
	height: auto;
	margin-bottom: 10px;
}
@media (max-width: 768px) {
	.home {
		flex-direction: column;
		align-items: center;
	}
	.homesponsors {
		width: 100%;
		text-align: center;
	}
	.homecontent {
		width: 100%;
	}
	.sponsor {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin-bottom: 20px;
	}
	.sponsor img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
	}
	#footer-container {
		display:flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	#footer-container > div {
		margin: 10px 0;
		text-align: center;
	}
}

/* --- Home page Schloss layout --- */
.schloss-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: auto;
}
.schloss-container img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom:80px;
}
.credit {
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: white;
	font-size: 12px;
	font-style: italic;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.peoplelist td {
	min-width: 170px;
}
.table {
	text-align: left;
	border-spacing: 12px 2px;
}

/* --- accomodation page --- */
.accomodation-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: left;
    align-items: left;
}
@media (max-width: 600px) {
    .accomodation-container {
        flex-direction: column;
    }
}
.accomodation-text {
    flex: 1;
    min-width: 300px;
}
.accomodation-map {
	max-width: 600px;
	width: 100%;
}
.accomodation-map iframe {
	width: 100%;
	height: 450px;
	border: 0;
	display: block;
}

/* --- social event --- */
.social-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: left;
    align-items: left;
}
.social-text {
	margin-left:30px;
    flex: 1;
	flex-basis: 55%;
    min-width: 300px;
}
.social-image {
    flex: 1;
	flex-basis: 40%;
    min-width: 300px;
}

/* --- registration --- */
.ticket {
	padding-left: 30px;
	margin-bottom: 20px;
}
.ticket-title {
	font-size: 1.2em;
	color: #333;
}
.ticket-description {
	margin-bottom: 3px;
	color: #666;
}
.ticket-price {
	font-weight: bold;
	color: #333;
}
.registration-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 10px;
	padding-left:16px;
    background-color: #e3e8ec;
    font-weight: bold;
	font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.registration-button img {
    margin-left: 16px;
    width: 64px; /* Adjust size if needed */
    height: 64px;
}

/* --- venue --- */
.venue-map {
	max-width: 800px;
	width: 100%;
}
.venue-map iframe {
	width: 100%;
	height: 450px;
	border: 0;
	display: block;
}

/* --- arrival --- */
.arrival-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}
.arrival-text {
	flex: 1;
	min-width: 300px;
}
.arrival-image {
	flex: 1;
	min-width: 300px;
}
.arrival-image img {
	width: 100%;
}
@media (max-width: 768px) {
	.arrival-container {
		flex-direction: column;
		align-items: center;
	}
	.arrival-image img {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}
}

/* --- program --- */

.program-top-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.program-left-block {
  text-align: left;
  flex: 1;
}

.program-right-block {
  text-align: right;
  flex: 1;
}

/* Responsive stacking on narrow screens */
@media (max-width: 900px) {
  .program-top-section {
    flex-direction: column;
  }

  .program-right-block {
    text-align: left;
  }
}

.program-schedule {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}
.program-day {
	flex: 1;
	min-width: 300px;
	background: #fff;
	padding: 1em;
	border-radius: 8px;
	box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.program-day h2 {
	margin-top: 0;
	text-align: center;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #ddd;
}
.program-session {
	background: #f4f7f9;
	border-left: 4px solid #8C9FB1;
	border-radius: 6px;
	box-shadow: 0 0 6px rgba(0,0,0,0.05);
	padding: 0.75em;
	margin-bottom: 1em;
}
.program-session h3 {
	margin: 0.5em 0;
	font-size: 1.1em;
	border-radius: 6px;
}
.program-details {
	margin: 0.5em 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fafafa;
}
.program-session details summary, .program-break details summary {
	cursor: pointer;
}
.program-icon-link {
  text-decoration: none;
}
.program-coffee-break, .program-social-event, .program-committee-meeting, .program-break {
	background: #e3e8ec;
	border-left: 4px solid #8C9FB1;
	padding: 0.75em;
	margin: 1em 0;
	border-radius: 6px;
	display: block;
	align-items: center;
	gap: 0.5em;
}
.program-break-icon {
	font-style: normal;
	font-size: 1.2em;
}
.program-break-text {
	font-style: italic;
}
.program-placeholder {
	visibility: hidden;
	height: 3em;
}
#eso-dinner {
	margin-left:2px;
	vertical-align:-1.5px;
}

/* --- Footer layout --- */
.footer-img {
	height:48px;
	margin:10px;
	margin-right:30px;
}
#footer-address {
	margin:5px;
}
