@import url(https://fonts.bunny.net/css?family=roboto-condensed:200,300,500,700);

html, body, p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 500;
}

th, tr, td {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 100;
}

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

.page-item.active .page-link {
    color: #fff !important;
    background: green !important;
    border-color: #dee2e6;
}

.responsive {
    width: 100%;
    max-width: 1320px;
    height: auto;
}


::placeholder {
    color: red;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: red;
}


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

#btnamde, #btn_comment_add, #btnfawe, #btnphil, #btnspof, #btnmila, #btnthal, #btnotto, #btnidee, #btnhuge, #btnregister, #btnaddcollection {
    background-color: #106A02;
    color: white;
    font-size: 16px;
    margin: 5px;
}

.navbar-light .navbar-nav .nav-link {
    color: green;
}

.btn-primary, .btn-primary:active, .btn-primary:visited, .btn-primary:hover, .btn-primary:focus {
    color: #ffffff;
    font-weight: 400;
    background-color: #106A02;
    border-color: #106A02;
}

.btn-outline-primary {
    color: darkgreen;
    font-weight: 400;
    border-color: #106A02;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    color: white;
    font-weight: 400;
    border-color: darkgreen;
    background-color: darkgreen;
}

.btn-outline-primary:active {
    background-color: darkgreen;
}

.btn-action, .btn-action:active, .btn-action:visited, .btn-action:hover, .btn-action:focus {
    color: #ffffff;
    font-weight: 400;
    background-color: #e40025;
    border-color: #E40025FF;
}

.page-item.active .page-link {
    color: #fff !important;
    background: green !important;
    border-color: #dee2e6;
}

.responsive {
    width: 100%;
    max-width: 1320px;
    height: auto;
}

#chartdiv {
    width: 100%;
    max-width: 100%
}

.rating-list li {
    float: right;
    margin-top: 14px;
    color: #e3e3e3;
    background-color: white;
}

.rating-list li:hover,
.rating-list li:hover ~ li {
    color: green;
}

.rating-list {
    display: inline-block;
    list-style: none;
}

.checked {
    color: green;
}

ul, li {
    list-style-type: none;
}

#btn_alarm {
    margin-top: 14px;
    color: #e3e3e3;
    background-color: white;
}

.cookie-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 14px;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-bar button {
    margin: 5px;
    padding: 10px 20px;
    background: green;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.cookie-bar button:hover {
    background: darkgreen;
}

.cookie-bar a {
    color: green;
    text-decoration: none;
    margin-left: 10px;
    font-size: 14px;
}

.cookie-bar a:hover {
    text-decoration: underline;
}

html, body, p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
}

h1, h2, h3, h4, h2, h6, nav {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 500;
    margin-bottom: 1em;
}

h1 {
    font-weight: 700;
    margin-bottom: 1.0em;
    margin-top: 1.0em;
    font-size: 1.4em;
    color: #106A02;
}

h2 {
    font-weight: 500;
    margin-bottom: 1.0em;
    margin-top: 0;
    font-size: 1.2em;
    color: #106A02;
}

h3 {
    font-weight: 500;
    margin-bottom: 1.0em;
    margin-top: 0;
    font-size: 1.2em;
    color: rgb(255, 166, 0);
}

h4, h5, h6 {
    font-weight: 300;
    margin-bottom: 1.0em;
    margin-top: 0;
    font-size: 1.0em;
    color: #000000;
}

th {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    color: #106A02;
}

tr, td {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 100;
}

.form-label {
    font-size: 12pt;
    font-weight: bold;
}

.step, .prevLink, .nextLink {
    margin-right: 20px;
}

.currentStep {
    margin-right: 20px;
    font-weight: 500;
    color: #106A02;
}

.form-control {
    margin-bottom: 1em;
    font-weight: lighter;
}

.form-select {
    margin-bottom: 1em;
    font-weight: lighter;
}

.alert {
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.chatboard {
    display: grid;
    width: 100%;
    grid-gap: 0.2rem;
}

.sent,
.received {
    padding: 1%;
    min-width: 48%;
    border-radius: 0.6rem;
}

.sent {
    justify-self: left;
    text-align: left;
    background-color: #9bdc9b;
}

.received {
    text-align: left;
    justify-self: right;
    background-color: lightgray;
}

.smooth {
    transition: all 3s ease-in;
}

.fade-me-in.htmx-swapping {
    opacity: 1;
    transition: opacity 3s ease-in;
}

/* I18N Icon */
.green-svg {
    filter: invert(15%) sepia(80%) saturate(2000%) hue-rotate(120deg) brightness(85%) contrast(110%);
}

.green-svg-simple {
    filter: hue-rotate(90deg) saturate(2) brightness(1.2);
}

.green-svg-precise {
    filter: brightness(0) saturate(100%) invert(44%) sepia(78%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}

.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-container:hover .zoom-overlay {
    opacity: 1;
}

.header-top .container {
    position: relative;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    width: 100%;
    padding: 1rem 0;
    position: relative;

}

/* Main Navigation links positionieren */
.navbar-nav.me-auto {
    flex: 1;
    justify-content: flex-start;
    z-index: 10;
}

/* Logo in der Mitte */
.logo-section {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -15px;
    transform: translate(-50%, -50%);
    z-index: 15;


    /* Übergang für Hover-Effekt */
    transition: all 0.3s ease;

}

/* Right Navigation rechts positionieren */
.navbar-nav.ms-auto {
    flex: 1;
    justify-content: flex-end;
    z-index: 10;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .logo-section {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        margin: 1rem 0;
    }

    .navbar-nav.me-auto,
    .navbar-nav.ms-auto {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
}

/* Nur das Halo entfernen, aber Border-Farbe behalten */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: darkgreen;
    outline: 0;
    box-shadow: none; /* Entfernt das blaue Halo */

}

/* Buttons ohne Halo */
.btn:focus,
.btn:active:focus,
.btn.active:focus {
    box-shadow: none !important;
    outline: none !important;
}

.equal-height-row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.equal-height-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.left-column {
    gap: 0.5rem;
}

.left-column .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.right-column .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.transparent-table {
    background-color: transparent !important;
}

.transparent-table tr,
.transparent-table td {
    background-color: transparent !important;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #f8f9fa;
    color: #495057;
}

.dropdown-item {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background-color: #e9ecef;
}

/* Paginierung ohne Rahmen */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 2px;
}

.pagination a, .pagination span {
    padding: 8px 12px;
    text-decoration: none;
    border: none; /* Rahmen entfernt */
    border-radius: 4px;
    color: darkgreen;
    background-color: transparent;
}

.pagination .current {
    background-color: darkgreen;
    color: white;
    border: none; /* Rahmen auch für aktive Seite entfernt */
}

.pagination a:hover {
    background-color: #e9ecef;
}

.modal-dialog {
    max-height: 85vh !important;
    margin: 2.5vh auto;
}

.modal-content {
    max-height: 85vh;
    overflow: hidden;
}

.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-height: calc(85vh - 120px); /* Abzug für Header */
}

.modal-body img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.table-transparent {
    background-color: transparent !important;
}

.table-transparent td,
.table-transparent th {
    background-color: transparent !important;
    border: none !important;
}
