.hidden {
    display: none;
}
#expand-button {
    background-color: #028ce9;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
	border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.content-wrap {
    flex: 1;
}

.expired-messages .message-container {
    position: relative;
}

.expired-messages .message-container::before {
    content: "Abgelaufen";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.expired-messages .message-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(128, 128, 128, 0.4);
    z-index: 0;
}
.label-container {
  background-color: white;
  border-radius: 5px;
  padding: 2px 4px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

a {
            text-decoration: none;
            color: #3d93dc;
            position: relative;
            transition: color 0.3s;
        }

        /* Hover-Styling für den Link */
        a:hover {
            color: #0099ff;
        }

        /* Hover-Effekt: Unterstreichung */
        a::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #0099ff;
            transform-origin: bottom right;
            transition: transform 0.25s;
        }

        a:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
#consent-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
#load-more {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.form-container {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    position: relative;
    padding: 10px;
    width: 90%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);

    justify-content: center;
    align-items: center;

}
.footer {
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-item {
    flex: 1;
    padding: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-item {
        width: 100%;
    }
}
 .autobahn-container {
        position: relative;
        display: inline-block;
        text-align: center;
    }

    .autobahn-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -116%);
        color: white;
        font-weight: bold;
    }
 .autobahn-image {
        width: 80%;
    }
.wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.form-containerSearch {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media screen and (max-width: 768px) {
  .form-containerSearch {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}


.search-input-container {
    position: relative;
    display: inline-block;
}

.search-input {
    font-size: 16px;
    padding: 12px 20px;
    padding-right: 45px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    width: 100%;
    max-width: 350px; /* Ändern Sie den max-width Wert auf 350px */
}

.search-button {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.search-icon {
    width: 24px;
    height: 24px;
}

.form-container h2 {
    text-align: center;
    background-color: #3d93dc;
    font-size: 24px;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0; /* Um die abgerundeten Ecken oben zu erhalten */
    margin-top: 0; /* Entfernt den oberen Abstand für den ersten h2 im .form-container */
}
.form-container h2.bundesstrassen {
    background-color: #f0ca00;
    color: black;
}

.form-container h2 + form {
    border-top: 1px solid #3d93dc; /* Fügt eine Linie unterhalb der Überschrift hinzu */
    padding-top: 10px; /* Fügt Abstand zwischen der Linie und dem Formularelement hinzu */
}

select {
    width: 100%;
    height: 40px;
    padding: 6px 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

input[type="button"] {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

input[type="button"]:hover {
    background-color: #45a049;
}

#consent-text {
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%; /* hinzugefügt */
  transform: translateY(-50%) translateX(-50%); /* geändert */
  text-align: center;
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0f67b1;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #04aa6d;
}

#map {
      height: 400px;
      width: 90%;
	 margin: 0;
    }

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.content-container {
    flex: 3; /* Ändern Sie den Wert von 1 auf 4, um 80 % der Breite zu erhalten */
}

.sidebar-container {
    flex: 2; /* Behalten Sie den Wert 1 bei, um 20 % der Breite zu erhalten */
}

@media (max-width: 768px) {
    .content-container,
    .sidebar-container {
        flex-basis: 100%;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
}

h1 {
    font-size: 24px;
    text-align: center;
    padding: 20px 0;
}

h2 {
    font-size: 18px;
    padding: 10px 0;
}
h2.category-heading {
    text-align: center;
    color: #FFFFFF;
}

.message-container {
    background-color: rgba(0, 0, 0, 0.24);
    border-radius: 10px;
	margin: 0 auto;
	width: 50%;
    padding: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.message-container-level1 {
    background-color: #FFFFFF;
    border-radius: 10px;
	margin: 5 auto;
	width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

select {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

input[type="button"] {
    width: 100%;
    max-width: 150px;
    padding: 5px 10px;
    cursor: pointer;
}
/* For larger screens */
@media (min-width: 768px) {
    .category-cell {
        width: 33.33%;
    }
}

/* For even larger screens */
@media (min-width: 992px) {
    .category-cell {
        width: 14.285%;
    }
}

.category-table {
    background-color: white;
    border-collapse: separate;
    border-spacing: 10px;
    border-radius: 10px;
    margin: 0 auto;
    padding: 10px;
    width: 80%;
}
.category-table-top {
    background-color: white;
    border-collapse: separate;
    border-spacing: 1px;
    border-radius: 10px;
    margin: 0 auto;
    padding: 10px;
    width: 95%;
}
.category-cell {
    text-align: center;
    vertical-align: middle;
    padding: 5px;
}
.category-icon {
    display: inline-block;
    margin-bottom: 5px;
}
.category-name {
    font-size: 14px;
}
.category-count {
    font-size: 12px;
}

/* Responsive design for tablets and mobile devices */
@media screen and (max-width: 767px) {
    .category-table {
        width: 90%;
    }

    .category-cell {
        display: inline-block;
        width: 50%;
        margin-bottom: 20px;
        box-sizing: border-box;
    }
	.message-container {
    background-color: rgba(0, 0, 0, 0.24);
    border-radius: 10px;
	margin: 0 auto;
	width: 90%;
    padding: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
}

  

        body {
            background-color: #3d93dc;
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background-color: #FFFFFF;
            border-radius: 10px;
            box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
        }
        th, td {
            padding: 8px;
            text-align: left;
        }
        tr:first-child th {
            border-radius: 10px 10px 0 0;
        }
        tr:last-child td {
            border-radius: 0 0 10px 10px;
        }
        tr:nth-child(odd) {
            background-color: #f2f2f2;
        }
        tr:nth-child(even) {
            background-color: #e6e6e6;
        }
        .incident-container {
            margin: 20px auto;
            position: relative;
            padding-top: 40px;
            width: 90%;
        }
        .bookmark-container {
            position: absolute;
            top: 0;
            left: 0;
        }
        .bookmark {
            display: inline-block;
            position: relative;
            width: 50px;
            height: 25px;
        }
        .bookmark img {
            width: 100%;
            height: auto;
            vertical-align: top;
        }
        .road-number {
            position: absolute;
            top: 2;
            left: 0;
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: 30px;
            font-size: 12px;
            font-weight: bold;
            color: #FFFFFF;
}
        @media screen and (min-width: 768px) {
            .incident-container {
                width: 90%;
            }
            table {
                width: 100%;
                align: center;
            }
			
        }
 
        .delay {
    text-align: right;
    font-weight: bold;
}
.delay-green {
    background-color: green;
	color: #ffffff;
}
.delay-yellow {
    background-color: #c09c0b;
	color: #ffffff;
}
.delay-red {
    background-color: #b12626;
	color: #ffffff;
}
        .warning-message {
            background-color: red;
            color: white;
            font-weight: bold;
        }
		.icon {
            position: absolute;
            top: -4px;
            right: 7px;
            width: 50px;
            height: 50px;
            
			background-repeat: no-repeat;
             
        }


.icon1 {
background-image: url('../../img/unfall.png');
	width: 50px;
            height: 50px;
}
.icon2 {
background-image: url('../../img/achtung.png');
}
.icon3 {
background-image: url('../../img/achtung.png');
}
.icon4 {
background-image: url('../../img/achtung.png');
}
.icon5 {
background-image: url('../../img/schnee.png');
}
.icon6 {
background-image: url('../../img/stau.png');
}
.icon7 {
background-image: url('../../img/einengung-rechts.png');
}
.icon8 {
background-image: url('../../img/sperrung.png');
}
.icon9 {
background-image: url('../../img/baustelle.png');
}
.icon10 {
background-image: url('../../img/achtung.png');
}
.icon11 {
background-image: url('../../img/achtung.png');
}
.icon14 {
background-image: url('../../img/achtung.png');
}


