* {
  box-sizing: border-box;
}
a {cursor: pointer;text-decoration: none;}

html, body {
    overscroll-behavior: none;
    height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	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 11px 15px black;border-radius: 10px;}
.hidden {opacity: 0;pointer-events: none;}
.visible {opacity: 1;}

.topmenu {
	float: left;
	margin-left: 1%;
}	

.topmenu_select {
	float: right;
	margin-right: 2%;
	font-size:1.1rem;
}

#header {
	display:none;
	width:98dvw;
	max-width:1458px;
}
.reisealbum_mainFrame_wrapper {
	display:flex;
	position: relative;
	width:100%;
	height:100%;
	align-items: flex-start;      /* horizontal */
	/* justify-content: center;  vertikal */
}

#reisealbum_mainFrame {
	position: relative; 
	display:flex;
	align-items: center;      /* horizontal */
	justify-content: center;  /* vertikal */	
	width: 100%;
	/* max-width: 1458px;*/
	overscroll-behavior: contain;
	touch-action: pan-y pinch-zoom; /* Horizontal = JS darf übernehmen & Vertikal = normal scrollen */
}

/* ===== SLIDE ANIMATION ===== */
#reisealbum_img_container {
  transition: transform 0.45s ease, opacity 0.65s ease;
  will-change: transform, opacity;
  margin-top: 1px;
}

.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;
}
/* ========================= */

.reisen_bild {
    display: block;        /* verhindert Inline-Verhalten */
    width: 100%;           /* füllt den Container */
    height: auto;          /* erhält Seitenverhältnis */
    max-height: 93dvh;     /* gewünschte Höhe bei kleinstem Viewport*/
    object-fit: contain;   /* Bild bleibt vollständig sichtbar */
    background-image: url(/dirk/images/sanduhr.gif);
	background-color: black;
    background-repeat: no-repeat;
    background-position: center;
}

#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, 1px 1px 0px white;*/
	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 {
	display:inline-block;
	position:absolute;
	width:100%;
	top:103%;
	left:0px;
	margin-bottom:3px;
	font-family:"Comic Sans MS";	
	font-size: 1.1rem;
	/* font-size: clamp(0.9rem, 0.525rem + 1.2vw, 1.2rem);  https://clamp.font-size.app/ */	
}	

#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: fixed;
	font-size: 1.1rem;
	font-weight:bolder;
	transform: scaleY(8); /* 1.0 = normal, >1 = strecken, <1 = zusammendrücken */
	transition: opacity 0.7s ease;
	will-change: opacity;
	z-index:90;
}

.button_back_trip_container {margin-left: 5dvw;margin-right: 20dvw;}
.button_forward_trip_container { margin-left: 20dvw;margin-right: 5dvw;}

.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_quickmenu_container {
	display: none; 
	width: 100%; 
	max-width:1094px;
	margin-right: auto;
	margin-left: auto;
}
/* ########### 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;}
}

@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;
}
/* ===================================================
  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;
	opacity: 0.8;
}
/* ===================================================
   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;}
	#button_back_trip, #button_forward_trip {font-size:1.4rem;}
	.reisen_bild {max-height:88dvh;}
	.reisen_bildtitel {font-size: 1.4rem;}
	.reisen_bildtext {font-size:1.2rem;}

}
@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);}
	#button_back_trip, #button_forward_trip {font-size:1.7rem;}
	.topmenu_select {font-size:1rem;}
	.reisen_bildtitel {font-size: 1.6rem;}
}


