/* Bildschirm kleiner 1200px */
@media (max-width: 1200px) {
	#menudesktop {
		display: none;
	}
}
/* Bildschirm größer 1200px */
@media (min-width: 1200px) {
	#menumobile {
		display: none;
	}
}

* {
  margin:0;
  padding:0;
  /*font-family: IBM; */
   font-family: Helvetica, sans-serif;
}

#seite {
	margin: 0;
	padding-left:5px;
	padding-right:5px;
	
   
}

#header1{
	text-align: center;
	background-image: url("header_bg.png");
	background-size: 100% auto;
	/*border-bottom: 3px solid;
	border-bottom-color: black;*/
	width: 100%;
}


#header2outer {
	text-align: center;
	/*height: 70px;*/
	padding-top: 5px;
	padding-bottom: 25px;
}

header2inner {
	font-size: 2em;
}
 
#footer {
  text-align: left;
  background-color: #464340;
  color: white;
  box-sizing: border-box;
  position: fixed; /* oder fixed */
  bottom: 0;
  width: 100%;
}

article {
	
}

section,
aside {
	
	padding: .5em; 
}

h1 {
	font-size: 2em;
	margin-bottom: 10px;
}

h2 {
	font-size: 1.15em;
	margin-top: 20px;
	margin-bottom: 10px;
}

.ul-clean {
	list-style-type: none;
	line-height: 1;
	
}

li {
		
		margin-bottom: 15px;	
		word-break: normal;
		white-space: normal;
	}
	
.ul-reg {
		list-style-type: disc;
	}
	

li.small {
	line-height: 1;
}

/* Bildschirm größer 1200px */
@media (min-width: 1200px) {
	article {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
	
	#header1 {
		/*height: 170px;*/
	}
	
	header2inner {
		font-size: 2em;
	}
	#menumobile {
		display: none;
	}
}

	

/* Bildschirm kleiner 1200px */
@media (max-width: 1200px) {
	article {
		display: grid;
		grid-template-columns: 1fr;
	}
	
	#menudesktop {
		display: none;
	}
}



a:link, a:visited, a:hover, a:active {
  color: #de7b38;
  text-decoration: none;
}

a.black:link, a.black:visited, a.black:hover, a.black:active {
  color: black;
  text-decoration: none;
}

a.white:link, a.white:visited, a.white:hover, a.white:active {
  color: #de7b38;
  text-decoration: none;
}

@font-face {
    font-family: 'eurostile_extendedbold';
    src: url('fonts/eurostile_extended_black-webfont.woff2') format('woff2'),
         url('fonts/eurostile_extended_black-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'IBM';
    src: url('fonts/Roboto-Regular.ttf');
}


#table-framed table {
	
}

#table-framed th {
	background-color: lightgrey;
	padding-left: 5px;
	padding-right: 5px;
	border: 1px solid black;

}

#table-framed td {
	border: 1px solid black;
	text-align:center;	
}

#table-adv_search td{
  padding-right: 5px;
}

ol {
   display: block;
   list-style-type: decimal;
   margin-top: 1em;
   margin-bottom: 1em;
   margin-left: 0;
   margin-right: 0;
   padding-left: 40px;
}

/* Bilder mit Unterschrift nebeneinander */
.imgtext {
  float: left;
  padding: 5px;
  font-size: 0.7em;
  /*background-color: #ABBAEA;*/
  text-align: center;
}

figure {
  vertical-align:top;
  width:110px;
  display: inline-block;
}
figcaption {
  font-size: 10px;
  word-wrap: break-word;
  width:100px;
  padding-bottom: 1em;
}

/* Default Button */
/* Grey orange */
.button {
  background-color: #464340; 
  border-color: #de7b38;
  border-radius: 4px;
  color: white;
  padding: 3px 3px;
  white-space: normal;
}
@media (max-width: 768px) {
	.button {
	margin: 5px; /* etwas mehr Abstand zwischen Buttons auf mobilen Geräten */
	}
}

/* Default Button not selected*/
/* Grey  */
.button_not_selected {
  background-color: #464340; 
 /* border-color: #de7b38;*/
  border-radius: 4px;
  color: white;
  padding: 3px 3px;
  white-space: normal;
}
@media (max-width: 768px) {
	.button_not_selected {
	margin: 5px; /* etwas mehr Abstand zwischen Buttons auf mobilen Geräten */
	}
}

/*
/* Style für die Darstellung von Funktionen auf der Einzeluhrenseite
/*

/* Funktion vorhanden*/
.cellactive {
  background-color: #de7b38; 
  text-align: center;
  /*border: solid 2px #de7b38;*/
}
/* Funktion nicht vorhanden*/
.cellinactive {
  background-color: #464340; 
  /* color: #FAF9F6; /* damit Farbe des durchgestrichenen passt*/
  color: #de7b38; /* damit Farbe des durchgestrichenen passt*/
  text-align: center;
  text-decoration: line-through;
  font-size: 0.9em;
  /*border: solid 2px #464340;*/
}
.cellnonfunction {
  background-color: #939598; 
  color:black;
  text-align: center;
}


/* */
/* Style für die weißen DIV-Boxen */
/* */
.box {
	background-color:white;
	margin-bottom: 10px;
	padding: 5px;
	border-radius: 5px;
	text-align: center;
}


/* NUR für Desktop Geräte (Bildschirmbreite über 769px) */
@media (min-width: 769px) {
    .button-container {
		display: flex;
		flex-wrap: wrap;           /* Erlaubt den Umbruch in eine neue Zeile */
		justify-content: center;   /* Zentriert die Buttons horizontal */
		gap: 10px;                 /* Optional: Erzeugt einen sauberen Abstand zwischen den Buttons */
		padding: 10px;             /* Optional: Abstand zum Rand */
	}

    .button-container::-webkit-scrollbar {
        display: none;             /* Scrollbar verstecken */
    }
}

/* NUR für mobile Geräte (Bildschirmbreite unter 768px) */
@media (max-width: 768px) {
    .button-container {
        display: flex;
        flex-wrap: wrap;           /* Erlaubt Umbruch innerhalb der Spalten */
        flex-direction: column;    /* Erzwingt Spalten-Layout für horizontales Scrollen */
        max-height: 140px;         /* Begrenzt die Höhe, damit es seitlich scrollt */
        overflow-x: auto;          /* Aktiviert Swipe */
        -webkit-overflow-scrolling: touch; /* Sanftes Scrollen auf iOS */
        justify-content: start;
        animation: bounce-right 1s ease-in-out; /* Kurze Animation, die andeutet, dass der Bereich scroolbar ist */
	}
	
    .button-container::-webkit-scrollbar {
        display: none;             /* Scrollbar verstecken */
    }

}

/* Kurze Animation, die andeutet, dass der Bereich scroolbar ist */
@keyframes bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}




