/* Allgemeine Einstellungen */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px; /* Grundlegende Schriftgröße als Basis */
}

* {
    box-sizing: border-box;
}

a {
    color: #d02e26;
    text-decoration: none;
}

h4 {
    color: cadetblue;
}

.navtop {
    background-color: #16488b;
    color: white;
    width: 100%;
    height: 80px; /* Höhe der Navigationsleiste angepasst */
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    z-index: 1000;
}

/* CSS für die Subnavbar */
.psubnavbar {
    display: flex;
    justify-content: flex-start; /* Links ausgerichtet */
    position: sticky; /* Sticky */
    top: 70px; /* Bleibt oben, wenn gescrollt wird */
    background-color: #9bd1e2; /* Hintergrundfarbe, die Sie anpassen können */
    padding: 10px; /* Innenabstand */
    border-bottom: 1px solid #e0e0e0; /* Unterer Rand */
    z-index: 1000; /* Sicherstellen, dass die Navbar über anderen Elementen liegt */
}

/* CSS für die Links innerhalb der Subnavbar */
.psubnavbar a {
  text-decoration: none; /* Kein Unterstrich bei Links */
    color: #393939; /* Textfarbe der Links */
    padding: 10px 15px; /* Innenabstand der Links */
    margin-right: 10px; /* Abstand zwischen den Links */
    border-radius: 3px; /* Abgerundete Ecken für die Links */
    transition: background-color 0.3s; /* Übergangseffekt bei Hintergrundfarbe */
}

/* Hover-Effekt für die Links */
.psubnavbar a:hover {
    background-color: #e2e6ea; /* Hintergrundfarbe bei Hover */
    color: #d02e26; /* Textfarbe bei Hover */
}


.logo {
    margin-top: 30px; /* margin-top für das Logo hinzugefügt */
}

/* Boxen */
.box {
    display: block;
    font-size: 1.6em; 
    padding: 15px 15px; 
    margin: 5px 0; 
    font-weight: bold; 
    text-decoration: none; 
    border-radius: 1px; 
    text-align: center; 
}
.medium-box {
    
    font-size: 1.2em; 
    padding: 10px 10px; 
    margin: 5px 0; 
    font-weight: bold; 
    text-decoration: none; 
    border-radius: 1px; 
    text-align: center; 
}

.small-box {
    display: block;
    font-size: 1.2em; 
    padding: 5px 5px; 
    margin: 5px 0; 
    font-weight: bold; 
    text-decoration: none; 
    border-radius: 1px; 
    text-align: center; 
}

.mini-box {
    display: block;
    font-size: 1.0em; 
    padding: 5px 5px; 
    font-weight: bolder; 
    text-decoration: none; 
    border-radius: 1px; 
    text-align: center; 
}

.red-box {
    background-color: #d13c33; 
    color: #ffffff;
}

.wave-box {
    background-color: #97c9ca; 
    color: #ffffff;
}

.blue-box {
    background-color: #30ddf4; 
    color: #ffffff;
}

.sky-box {
    background-color: #50b1ec; 
    color: #ffffff;
}

.black-box {
    background-color: #2d3536; 
    color: #ffffff;
}

.teal-box {
    background-color: #14377b; 
    color: #ffffff;
}


.red {
    --bs-text-opacity: 1;
    color: rgb(193, 72, 59)!important
}

/* Hamburger Menü Icon */
.hamburger {
    display: none; /* Versteckt das Hamburger-Menü standardmäßig */
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    padding: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #9D9D9D;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        margin-right: 10px;/* Zeigt das Hamburger-Menü auf kleinen Bildschirmen an */
    }
    
    .box {
    display: block;
    font-size: 1.0em; 
    padding: 10px 10px; 
    margin: 0px 0; 
    font-weight: bolder; 
    text-decoration: none; 
    border-radius: 1px; 
    text-align: center; 
}

    nav ul {
        flex-direction: column;
        width: 100%;
        display: none;
        position: absolute;
        background-color: #d6d6d6;
        top: 60px; /* unter der Nav-Leiste */
        left: 0;
    }

    nav ul.active {
        display: flex; /* Stellt das Menü dar, wenn es aktiv ist */
    }

    nav ul li {
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }
}

.subnav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    color: #d02e26;
}

.subnav ul li {
    padding: 0 20px;
}

.subnav ul li a {
    color: cadetblue;
    text-decoration: none;
    transition: color 0.3s;
}

.subnav ul li a:hover {
    color: #9D9D9D;
}

.event-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.event-card {
    flex-basis: 300px; /* Passt die Breite der Karten an die Bildschirmgröße an */
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 5px;
}

.event-links a {
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
}

.event-links img {
    margin-right: 10px;
    width: 24px; /* oder eine andere geeignete Größe */
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Änderung hier für die korrekte Ausrichtung */
    gap: 20px; /* Abstand zwischen den Karten */
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    flex-basis: calc(100% - 20px); /* Vollbreite bei kleineren Bildschirmen */
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-logo {
    width: 150px; /* Anpassen nach Bedarf */
    height: auto;
    margin-bottom: 10px;
}

.company-description {
    text-align: center;
    margin-bottom: 15px;
}

.list-group {
    width: 100%;
}

@media (min-width: 768px) {
    .card {
        flex-basis: calc(50% - 20px); /* Zwei Spalten bei mittleren Bildschirmen */
    }
}

@media (min-width: 1024px) {
    .card {
        flex-basis: calc(33.333% - 20px); /* Drei Spalten bei großen Bildschirmen */
    }
}

.list-group {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.list-group-item {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

.list-group-item:last-child {
    border-bottom: none;
}

.alert {
    width: 100%;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

@media (min-width: 768px) {
    .card {
        flex-basis: calc(33.333% - 20px); /* Drei Spalten bei größeren Bildschirmen */
    }
}

.list-group {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.list-group-item {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

.list-group-item:last-child {
    border-bottom: none;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    padding: 10px;
    margin-top: 20px;
}

.content {
    padding: 10px 3% 20px 3%; /* Vermeidung von Navbar-Überlappung */
}

/* Headline */
.headline {
    width: 100%;
    background-color: #d02e26;
    color: white;
    font-weight: bold;
    padding: 10px;
}

/* Feedback-Button */
#feedbackButton {
    color: #d02e26;
    background-color: white;
    border: 1px solid #d02e26;
    padding: 10px;
}

/* Feedback-Titel */
.feed_title {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Sternbewertungsbox */
.star-rating-box {
    margin: 10px 0;
}

.star-rating-box ul {
    padding: 0;
    text-align: left;
    list-style-type: none;
}

.star-rating-box li {
    display: inline;
    color: #bbb;
    text-shadow: 0px 1px 0px #a5a5a5;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating-box li.highlight,
.star-rating-box li.selected {
    color: #FFD700; /* Goldene Farbe für aktive Sterne */
}

/* Bewertungsanzahl */
.star-rating-count {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Fehler- und Statusmeldungen */
.error, .status {
    color: #d02e26;
    font-size: 14px;
}

/* Textbereich */
textarea#comment {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical; /* Nur vertikale Größenänderung erlaubt */
}

/* Responsive Anpassungen für Textbereich */
@media (max-width: 768px) {
    textarea#comment {
        height: 100px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    textarea#comment {
        height: 120px;
    }
}

/* Zitate */
.quote {
    list-style-type: none; /* Entfernt Aufzählungspunkte */
    font-style: italic;
    border-left: 3px solid #d02e26;
    margin: 20px 0;
    padding-left: 15px;
    color: #555;
}

.quote-author {
    display: block;
    font-size: 0.9em;
    white-space: pre-wrap;
    text-align: left;
    margin-top: 5px;
    color: #666;
}

/* Anmeldeformular Stil */
.login {
    width: 350px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login h1 {
    color: #5b6574;
    border-bottom: 1px solid #dee0e4;
}

.login form {
    width: 100%;
}

.login form label {
    width: 100%;
    background-color: black;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.login form input[type="password"], .login form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee0e4;
}

.login form input[type="submit"] {
    width: 100%;
    background-color: #3274d6;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
}

.login form input[type="submit"]:hover {
    background-color: #2868c7;
}

/* Video */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

video {
    width: 100%;
    max-width: 40em; /* 640px / 16px = 40em */
    height: auto;
}

/* Bildergalerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625em; /* 10px / 16px = 0.625em */
    justify-content: center;
}

.gallery img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Formulare */
form {
    background-color: #fff;
    padding: 1.25em; /* 20px / 16px = 1.25em */
    border-radius: 0.5em; /* 8px / 16px = 0.5em */
    margin-bottom: 1.25em; /* 20px / 16px = 1.25em */
}

label {
    display: block;
    margin-bottom: 0.3125em; /* 5px / 16px = 0.3125em */
    color: #666;
}

input {
    width: 100%; /* Vollständige Breite für bessere Responsivität */
    padding: 0.625em; /* 10px / 16px = 0.625em */
    border-radius: 0.25em; /* 4px / 16px = 0.25em */
    border: 1px solid #ddd;
    box-sizing: border-box;
}


.button {
    background-color: #efefef;
    color: black;
    border: none;
        padding: 10px;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        border-radius: 5px;
    transition: background-color 0.3s, border-color 0.3s;
    text-decoration: none;

}

.button:hover {
    background-color: black;
    border-color: #d02e26;
    color: white; 
}

    .card button {
        border: none;
        padding: 10px;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        border-radius: 5px;
    }
    .card button:hover {
        background-color: #b02520;
        color: white; 
    }

/* QR-Code-Container */
#qrcodeContainer {
    margin-top: 1.25em; /* 20px / 16px = 1.25em */
}

#qrcodeContainer svg {
    background-color: #fff;
    padding: 0.625em; /* 10px / 16px = 0.625em */
    border-radius: 0.5em; /* 8px / 16px = 0.5em */
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    padding: 1.25em; /* 20px / 16px = 1.25em */
    margin-top: 1.25em; /* 20px / 16px = 1.25em */
    background-color: #f1f1f1;
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Bildergalerie-Responsivität */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr)); /* 200px / 16px = 12.5em */
    gap: 0.625em; /* 10px / 16px = 0.625em */
    padding: 0.625em; /* 10px / 16px = 0.625em */
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portrait {
    grid-row: span 1;
}

.landscape {
    grid-column: span 2;
}

/* Checkbox-Styling */
input[type="checkbox"] {
    /* Individuelle Anpassungen für die Checkbox */
}

label[for="saveCheckbox"] {
    margin-left: 0.625em; /* 10px / 16px = 0.625em */
    vertical-align: middle;
}

ul.table {
    list-style: none;
    padding: 0;
}

li.table {
    display: block;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

li.table:nth-child(even) {
    background-color: #f0f0f0;
}

a.table {
    text-decoration: none;
    color: #0066cc;
    margin-right: 10px;
}

a.table:hover {
    text-decoration: underline;
}

.svg-icon {
    width: 36px;
    height: 36px;
    fill: white; /* Grundfarbe */
    color: whitesmoke;
    transition: fill 0.3s ease; /* Glatter Übergang der Farbe */
}

.svg-icon:hover {
    fill: #97c9ca;
    color: white; /* Farbe beim Hover */
}

.svg-cicon {
    width: 36px;
    height: 36px;
    fill: #00ced1; /* Grundfarbe */
    transition: fill 0.3s ease; /* Glatter Übergang der Farbe */
}

.svg-cicon:hover {
    fill: #d02e26; /* Farbe beim Hover */
}

.svg-button {
    width: 30px;
    height: 30px;
    fill: #d02e26; /* Grundfarbe */
    transition: fill 0.3s ease; /* Glatter Übergang der Farbe */
}

.svg-button:hover {
    fill: #d02e26; /* Farbe beim Hover */
}

/* Projektmanagement */
.task-board {
    background: #53aeaa;
    display: inline-block;
    padding: 12px;
    border-radius: 1px;
    width: 100%;
    white-space: nowrap;
    overflow-x: scroll;
    min-height: 600px;
}

.status-card {
    width: 250px;
    margin-right: 8px;
    background: #97c9ca;
    border-radius: 1px;
    display: inline-block;
    vertical-align: top;

}

.status-card:last-child {
    margin-right: 0px;
}

.card-header {
    width: 100%;
    padding: 10px 10px 0px 10px;
    box-sizing: border-box;
    border-radius: 1px;
    display: block;
    font-weight: bold;
}

.card-header-text {
    display: block;
}

ul.sortable {
    padding-bottom: 10px;
}

ul.sortable li:last-child {
    margin-bottom: 0px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0px;
}

.text-row {
    padding: 15px 10px;
    margin: 10px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 1px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    font-size: 1.0em;
    white-space: normal;
    line-height: 20px;
}

.ui-sortable-placeholder {
    visibility: inherit !important;
    background: transparent;
    border: #666 2px dashed;
}

