body  {
  font-size: clamp(15px, 2vw, 20px);
  
  background-size:cover;
  font-family: Helvetica, sans-serif;
}
button {
  font-size:1.5vw;
}
.breaking-news-container {
  overflow: hidden;
  position: relative;
  height: 50px; /* Höhe des Breaking News-Elements */
  background-color: #ff0000; /* Hintergrundfarbe ändern */
}

.breaking-news {
  white-space: nowrap;
}

.news-text {
  display: inline-block;
  padding: 0 20px; /* Füge Abstand um den Text herum hinzu */
  font-weight: bold;
  color: #fff; /* Textfarbe ändern */
  animation: scrollText 10s linear infinite; /* Animation für den fließenden Text */
}

@keyframes scrollText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.hero-image {
  background-image: url("/Bilder/scharen.JPG");
  background-color: #cccccc;
  height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  /*opacity: 0.5; */
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}



.TextSpalte {
  background: lightgrey;
  padding: 15px;
  width: 100%;
  height: 50vh;
  margin-top: 10px;
  overflow:scroll;
  
}
.FotoBereich {
  text-align:center;
  background: #000040;
  padding: 15px;
  width: 80%;
  height: auto;
  
  margin-top: 10px;
  margin-bottom:10px;
}

div.BildHeadline {
  /*border:3px solid darkgrey;*/
  display: flex;
  justify-content:space-evenly;
  /*margin:2px;*/
  padding:10px;
  font-size:120%;
  color:white; 
}

.NewsBox {
 margin:5px;
/*border-radius: 15px; */
 padding:5px;
 /*width:100%; */
 height:100px;
 border: grey solid 2px;
 overflow:scroll;
 /*float:left; */
}
.SmallText {
  font-size:70%;
}
.dashbord {
 margin:5px;
 border: grey solid 2px;
 /*padding:10 px; */
 /*width:device-width;*/
 height:110px;
 border-radius: 15px;
 /*box-sizing: border-box;*/
 display:flex;
 background-color:#000040;
 
 
}

.dashbord:hover {
  height:auto;
  overflow:visible;
}

.dashbord:active {
  height:200px;
  overflow:scroll;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.dashbord > div {
 border: #000040 solid 3px;
 padding: 5px;
 margin:4px;
 width: 100%;
 box-sizing: border-box;
 border-radius: 15px;
 overflow:hidden;
 background-color:white;
}
.dashbord > div:hover {
 height:auto;
 overflow:visible;
 display:block;
}
.dashbord > div:active {
 height:auto;
 
 overflow:visible;
 display:block;
}
#TableHeadline {
 
  margin-left: 20px;
}
table{
	margin-left:auto;
	margin-right:auto;
	margin-bottom:10px;
	font-size: clamp(15px, 2vw, 20px);
	/*
	Erklärung:
    clamp() erlaubt drei Werte:
        Minimalwert: 10px – Die Schriftgröße wird nie kleiner als 10px.
        Bevorzugter Wert: 4vw – Die Schriftgröße basiert dynamisch auf der Viewport-Breite.
        Maximalwert: 20px – Die Schriftgröße wird nie größer als 20px.
	*/
	border-collapse: collapse;
	width: 95%;
}
tr { 
outline: thin solid;
}
tr:nth-child(even) {background-color: #dddddd;}

table tr td.bez {
	color:grey;
}
th {font-size: 80%;position: sticky;padding: 3px}

td { 
border:black solid 0px;
font-size:60%;
margin-left: 1px;
padding: 3px;
}


/* This is what we are focused on */
.table-wrapper{
  overflow-y: scroll;
  flex-grow: 1;
  color:black;
}

.table-wrapper th{
	background-color:#000040;
	color:white;
    position: sticky;
    top:0;
}

form {
	padding: 10px;
}


div.InstName { font-size:150%;
}
div.head { font-size:60px; margin-left:20px;
}
body {
  font-family: Helvetica, sans-serif;
  max-width:1400px;margin: auto;
}

.navbar {
  
  
  overflow:hidden;
  background-color: #000040;
  
}

.navbar a {
  float: left;
  
  color: white;
  text-align: center;
  padding: 4px 6px;
  text-decoration: none;
}

.dropdown {
  
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {  
  border: none;
  outline: none;
  color: white;
  padding: 4px 6px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color:red;
  
}
.navbar a:active, .dropdown:active .dropbtn {
  background-color:red;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.dropdown-content {
  font-size: 70%;
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-content a {
  float: none;
  color: #000040;
  padding: 4px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

div.vesselfinder {
  border: 3px solid darkgrey; 
  width:17%;
  height:100px;
  overflow: hidden;
}
div.vesselfinder:hover {
  width:100%;
  height:400px;
}
div.vesselfinder:active {
  width:100%;
  height:400px;
}
/* Für positive und negative Zahlen => wird per js zugeteilt */
.red-num {
    color: red;
	text-align: right;
  }

  .green-num {
    color: green;
	text-align: right;
  }
