* {
  box-sizing: border-box;
}
a {cursor: pointer;text-decoration: none;}

html, body {
    overscroll-behavior: none;
    height: 100%;
	overflow-x: hidden;
	touch-action: pan-y pinch-zoom;	
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;      /* horizontale Zentrierung */
	/* max-width: 1458px;*/
 }
.textshadow {text-shadow: 0px 0px 0px white, 2px 2px 0px black;}
.img_shadow {border: 1px solid black; box-shadow: 10px 5px 15px black; border-radius: 10px;}
.hidden {opacity: 0;pointer-events: none;}
.visible {opacity: 1;}
.normal2{font-family:"Comic Sans MS";font-size:1em;font-weight:bold;}
.underline{text-decoration:underline;}

#header {
	display:none;
	width:98dvw;
	max-width:1458px;
}
#reisealbum_mainFrame {
	display: flex;
	position: relative;
	flex: 1 1 auto;   /* auto-> same as 1 1 auto / flex-grow flex-shrink flex-basis / damit BODY "mitwächst" */
	flex-direction: column;   /* NEU */
	align-items: center;      /* zentriert Bild + Text */
	touch-action: pan-y pinch-zoom;
	min-height: 0; /* verhindert Flex-Overflow Bugs */
}
#reisealbum_mainFrame_wrapper {
	display:flex;
	position: relative;
	width:100%;
	/* height:100%; darf nicht gesetzt sein, damit flex: 1 1 auto greift*/
	justify-content: center; /* x-Achse */
	padding-bottom: 6px;
}
/* ===== SLIDE ANIMATION ===== */
#reisealbum_img_container {
	position: relative;
	display: inline-block;   /* WICHTIG: Breite = Bildbreite */
	transition: transform 0.45s ease, opacity 0.65s ease;
	will-change: transform, opacity;
	backface-visibility: hidden;
	margin-top: 1px;
	touch-action: pan-y pinch-zoom;	
}
.slide-out-left {transform: translateX(-100%);opacity: 0;}
.slide-out-right {transform: translateX(100%);opacity: 0;}
.slide-reset {transition: none !important;transform: translateX(0);opacity: 1;}
.slide-fadein-left {transition: none !important;transform: translateX(-100%);opacity: 0;overscroll-behavior-y: none;}
.slide-fadein-right {transition: none !important;transform: translateX(100%);opacity: 0;overscroll-behavior-y: none;}
.fade-reset {transform: translateX(0);opacity: 1;}

#mainImage {
	cursor:pointer;
}
/* ========================= */
.reisen_bild {
	display: block;
	width: 100%;
	height: auto;
	max-height:calc(100dvh - 34px); /* 34px ca. 1 Zeile Text + margin-top reiseblid_text */
}

#fotoalbenindex {max-width:90%;} /* ??????? */

.fotoalbenindex_pfeil_rechts, .fotoalbenindex_pfeil_links {
	display:inline-block;
	height:25px;
	width:25px;
	margin-top:auto;
	margin-bottom:auto;
	box-shadow: 7px 7px 7px black;
}
.fotoalbenindex_pfeil_rechts {margin-left:10px;}
.fotoalbenindex_pfeil_links {margin-right:10px;}	

.reisen_bildtitel {
	position:absolute;
	top:0px;
	left:2%;
	margin:0px;
	padding:2px 5px 2px 5px;
	opacity: 1;
	color:#000000;
	font-family:"Comic Sans MS";	
	font-weight:bold;
	text-shadow: 0px 0px 0px black, 2px 2px 0px white;
	font-size: 1.2rem;
	/* font-size: clamp(1rem, 0.25rem + 2.4vw, 1.6rem);  https://clamp.font-size.app/ */	
}

.reisen_bildtext, .reisen_bildtext_test {
	display: block;
	max-width: min(90dvw, 1458px);
	max-width: min(90dvw, 1458px);
	position: static;   /* wichtig */	
	transition: transform 0.40s ease, opacity 0.55s ease;
	will-change: transform, opacity;
	font-family: "Comic Sans MS";
	font-size: 1.1rem;
    -webkit-text-size-adjust: none
	/* font-size: clamp(0.9rem, 0.525rem + 1.2vw, 1.2rem);  https://clamp.font-size.app/ */
	padding: 1px 5px;
	/* text-wrap: balance;  Text gut auf Zeilen verteilt, aber div ist dann max */
	/* width: fit-content;  soll der fix für div max sein -> funtzt nicht Chat meint Wrapper machen */
	/* text-align: justify; typischer Blocksatz, nicht schön */
}
.reisen_bildtext a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
/* iOS Fix  (nur iOS + Landscape) -> function fixIOSInlineBug */
@media (orientation: landscape) {
  @supports (-webkit-touch-callout: none) {
    .reisen_bildtext span {
        display: inline-block;
    }
  }
}
/*
.reisen_bildtext span { 
    display: inline-block;
}
*/
.reisen_bildtext_boxstyle { /* z.Zt. ungenutzt */
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid black;
	border-radius: 3px;
	box-shadow: 7px 7px 7px black;
}	
/* ===================================================
  inside_info_img = in den alten pages picture in picture, z.B. Maps 
=================================================== */
#inside_info_img {
	display:block;
	position:absolute;
	left:0px;
	bottom:0px;
	width:18%;
	height:auto;
	filter: opacity(0.8);
	z-index: 1;
	transition: width 0.40s ease, opacity 0.40s ease;
}
#inside_info_img:hover {width:50%;filter: opacity(1);}

#menu_container_trip {
	display:flex;
	align-items: center;
	position:fixed;
	top:0px;
	left:0px;
	width:100dvw;
	height:100dvh;
}
#button_back_trip, #button_forward_trip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%) scaleY(8);/* scaleY : 1.0 = normal, >1 = strecken, <1 = zusammendrücken */
	font-size: 1.1rem;
	font-weight:bolder;
	transition: opacity 0.7s ease;
	will-change: opacity;
	z-index:90;
}

.button_back_trip_container {margin-left: 5dvw;margin-right: 10dvw;}
.button_forward_trip_container { margin-right: 5dvw; margin-left: 10dvw;}

.button_back_trip {
	justify-content: left; /* horizontal */
	text-align:left;	
	left: 0px;
}
.button_forward_trip {
	justify-content: right; /* horizontal */	
	text-align:right;
	right: 0px;
}
.button_more_nav {color:white;}
.button_more_nav:visited{color:white;}
.button_more_nav:active {color:white;}
.button_more_nav:link {color:white;}
.button_more_nav:hover {color:white;}
a.button_no_more_nav {color:red;}

/* ########### TopMenu ########### */
#topmenu_quickmenu_container {
	display: none; 
	width: 100%; 
	max-width:1094px;
	margin: 0 auto;
	z-index:999;
}

.topmenu_row {
    display: flex;
    justify-content: space-between; /* Text links, Select rechts */
    align-items: center;            /* Vertikale Zentrierung */
    padding: 0 1%;
}
.topmenu_title {
	font-family: Arial, Helvetica, sans-serif;
	font-size:1.1rem;
	font-weight: bolder;
}	
.topmenu_select {font-size:1.0rem;border-radius: 4px;padding: 2px 4px;}	

/* ########### Toolbar ########### */
#toolbarContainerTopRight {
	display:block;
	position: fixed;
	top:0px;
	right:0px;
	margin-top:5px;
	margin-right:2%;
	padding: 1px;
	/* transition: opacity 0.7s ease;
	will-change: opacity;*/
	transition: transform 0.45s ease, opacity 0.7s ease;
	will-change: transform, opacity;
	z-index:99;
}
.toolbarContainerRight_grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1.3fr;   /* Spalten */
	gap: 7px;
}
.toolbar-shifted-onlyqckmenu {transform: translateY(23.5px)!important;}
.toolbar-shifted-onlyheader {transform: translateY(81px)!important;}
.toolbar-shifted-qckmenu-header {transform: translateY(103.5px)!important;}

#button_exit_evt {padding-left: 3px;}
.textshadow_tools {text-shadow: 0px 0px 0px white, 2px 2px 0px black;} 

#topmenu_menuicon,#gallery_thumbnail_evt, #button_fullscreen_evt, #button_exit_evt {
	display: flex;
	align-items: center;
	justify-content: center;
}
#topmenu_menuicon,#gallery_thumbnail_evt,#button_fullscreen_evt,#button_exit_evt {padding:1px;}

#topmenu_menuicon:link,#gallery_thumbnail_evt:link,#button_fullscreen_evt:link,#button_exit_evt:link{color:white;}
#topmenu_menuicon:visited,#gallery_thumbnail_evt:visited,#button_fullscreen_evt:visited,#button_exit_evt:visited{color:white;}
#topmenu_menuicon:active,#gallery_thumbnail_evt:active,#button_fullscreen_evt:active,#button_exit_evt:active{color:white;}
#topmenu_menuicon:hover,#gallery_thumbnail_evt:hover,#button_fullscreen_evt:hover,#button_exit_evt:hover{color:white;}

/* Hover grey nur auf echten "Maus-Geräten" */
/* Auf Touch-Geräten bleibt :hover aktiv, bis ein anderes Element „hovered“ wird -> unschön */
@media (hover: hover) and (pointer: fine) {
  .button_more_nav:hover,
  .button_no_more_nav:hover,
  #topmenu_menuicon:hover,
  #gallery_thumbnail_evt:hover,
  #button_fullscreen_evt:hover,
  #button_exit_evt:hover
  {color: grey;}
}
/* Kein Fullscrenn on IOS */
.toolbar_isIOS {opacity: 0.2;}
.toolbar_isIOS:hover {color:white;cursor:none;}

/* ########### Symbol-Fonts / lokal laden ########### */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: local(''), url('/fonts/font.woff2') format('woff2');  lokal 
} 

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: clamp(1.7rem, 3vw, 2rem); /* clamp(min, dyn, max); 1vw = 1 % der Viewport-Breite ; 1vh = 1 % der Viewport-Höhe ; 1vmin = das kleinere von vw/vh; 1vmax = das größere von vw/vh */
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	background-color: rgba(0, 0, 0, .2);
	font-variation-settings:
		'FILL' 0,
		'wght' 400,
		'GRAD' 0,
		'opsz' 24;
}
/* ===================================================
   Verwendung in FOTOINDEX 
=================================================== */
#nav_top_fotoindex, #nav_down_fotoindex  {display:block;}
.nav_fotoindex {
	display:inline-flex;
	align-items: center;      /* horizontal */
	justify-content: center;  /* vertikal */
}	
.fotoalbenindex_pfeil_rechts, .fotoalbenindex_pfeil_links {
	display:inline-block;
	height:25px;
	width:25px;
	margin-top: 3px;
	box-shadow: 7px 7px 7px black;
}
.fotoalbenindex_pfeil_rechts {margin-left:10px;}
.fotoalbenindex_pfeil_links {margin-right:10px;}

.button_exit , .button_exit_right, .button_exit_left {
	position:absolute;
	display:block;
	top:0px;
	background-color: rgba(255, 255, 255, .6);
	padding:1.1%;
	text-align:center;
	text-decoration:none;
	font-size:2em;
	font-weight:bolder;
	cursor:pointer;
	border: 1px solid black;
	z-index:20;
}
/* ===================================================
   OVERVIEW LAYER für fotoalbum.php und Anzeige "alte" uebersicht.htm
=================================================== */
.overview_hidden {
  display: none;
  opacity: 0;
}
.overview_visible {
  display: block;
  opacity: 1;
}
#reisealbum_overview {
	position: fixed;
	inset: 0;
	background: #319362;
	z-index: 9999;
	overflow-y: auto;
	transition: opacity 0.8s ease;
	background-image: url(/dirk/images/bg_hp/Bilder/background_body_02.jpg);
}
#overview_content {
	display: flex;
	flex-direction: column;
	align-items: center;   /* X-Achse */
}

#tour_map > img {
	display:block;
	width: 100%;
	height: auto;
}
/* ===================================================
   media queues 
=================================================== */
@media (prefers-reduced-motion: reduce) {
  #topmenu_menuicon, #button_back_trip, #button_forward_trip {transition: none;}
}
@media only screen and (min-width:500px) and (min-height:400px){
	#reisealbum_mainFrame {margin-top:3px;}
	#reisealbum_img_container {margin-top: 0px;}
	.reisen_bild {max-height:88dvh;}
	.reisen_bildtitel {font-size: 1.4rem;}
	.reisen_bildtext, .reisen_bildtext_test {font-size:1.2rem;} 

}
/* IOS-Fix- prevents mobile safari from bumping up font sizes in landscape mode */
@media only screen and (orientation: landscape) {
	body {
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
	}
}
@media only screen and (min-width:900px) and (min-height:700px){
	#header, #topmenu_quickmenu_container { display:block;}
	#reisen_container, .reisen_bild {max-height:calc(91dvh - 104px);} /* header 81px + quickmenu 25px  */
	#button_back_trip, #button_forward_trip {font-size:1.4rem;}
	.topmenu_select {font-size:1rem;}
	.reisen_bildtitel {font-size: 1.6rem;}
}

@media only screen and ((min-width:1080px) or (min-height:1080px)){
		#button_back_trip, #button_forward_trip {font-size:1.4rem;}
}
@media only screen and ((min-width:1404px) or (min-height:1404px)){
		#button_back_trip, #button_forward_trip {font-size:1.7rem;}
}
@media only screen and ((min-width:1404px) and (min-height:1147px)){
		.reisen_bild {width:1404px;}
		.reisen_bildtext {font-size:1.3rem;} 
}