* {
    -webkit-box-sizing: border-box;
}

body,
html {
  margin-top: 2rem;
  font-family: "SF Pro Display", "Quicksand", sans-serif;
  font-weight: 600;
  color: black;
  background-color: #fbfbfd;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

.navbar {
    background-color: rgba(251,251,253,.5);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index:1;
}

.site-header .navbar-nav .nav-link {
  color: black;
}

.site-header .navbar-nav .nav-link:hover {
  color: black;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

input {
  background-color: #262626;
  width: 100%;
  margin: 1px;
  color: white;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  text-transform: none;
}

input[type=text] {
    padding: 10px;
}

input[type=number] {
    padding: 10px;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content {

}

.head {
  width: 100%;
  font-color: black;
  font-size: 20px;
  display: flex;
  align-items: center;
}
.title {
  width: 20%;
}

.content-section {
  background: transparent;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  margin: 5px;

}

input[type=submit] {
  display: flex;
  width: 50%;
  flex-direction: row;
  border: none;
  border-radius: 22px;
  background-color: black;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  color: white;

  padding: 5px 30px;
}

button[type=submit] {
    background-color: black;
    border-radius: 22px;
    border: none;
    color: white;

    padding: 5px 30px;
}


@media (min-width: 759px){
#form-container {
    flex-direction: column;
    display: flex;
    background-color: white;
    border-radius: 34px;
    -webkit-box-shadow: 0 11px 34px 0 rgb(0 0 0 / 20%);
    width: 640px !important;
    height: 610px !important;

    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
}

.container .container-header .container-subtitle {
    font-weight: 400;
}

.container .container-header .container-title {
    margin-top: 20px;
    display: flex;
    font-weight: 600px;

}

.landing-page-glca-hero h1 {
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    font-size: 5rem;
    font-weight: 600;
}

.landing-page-glca-hero {
    max-width: 100%;
    max-height: 100%;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
    margin-top: 0;
}

.glca-logo{
    padding-bottom: 20px;
    padding-top: 20px;
}

.landing-page {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-padding-before: 0;
    padding-block-start: 0;
    inline-size: 100%;
    min-block-size: 100vh;
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.landing-page-content {
    text-transform: none;
    margin-top: 30px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1 auto;
    -ms-flex: 1 auto;
    flex: 1 auto;
    position: relative;
    -webkit-margin-before: 30px;
    margin-block-start: 30px;
    margin-inline: auto;
    inline-size: auto;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}


@media (max-width: 759px){
.landing-page .hero-wrapper{
    margin-bottom: 20px;


}
}

@media (max-width: 759px){
.description {
    max-width: 300px;
    margin-top: 25px;
    margin-left: 30px;
    margin-right: 30px;
    font-size: 24px;
    line-height: 28px;

}

}

@media (min-width: 1165px) {
.col-md-12 .landing-page-content .tiles {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
}

@media (min-width: 1165px) {
.landing-page-tile {
    width: 478px;
}
}


@media (max-width: 759px) {
.tiles {
    margin-top: 50px;
}
}


.tiles {
    display: flex;
    flex-wrap: wrap;
    gap:50px;
}

@media (max-width: 759px) {
.landing-page-tile {
    width: 315px;
    inline-size: 315px;
    padding: 30px;
}
}




.landing-page-tile {
    text-transform: none;
    border-radius: 16px;
    -webkit-box-shadow: 17px 20px 40px rgb(0 0 0 / 21%);
    box-shadow: 17px 20px 40px rgb(0 0 0 / 21%);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 40px;
    text-align: start;



}

@media (max-width: 759px){
.landing-page-tile .tile-title {
    font-size: 21px;
    line-height: 25px;
}
}

.landing-page-tile .tile-title {
    margin-top: 20px;
}

.landing-page-tile .tile-description {
    margin-top: 20px;
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    font-family: SF Pro Text,Helvetica Neue,sans-serif;
}

@media (max-width: 759px) {
.landing-page .landing-page-content .description {
    font-size:24px;
    line-height: 28px;
}
}

.landing-page .landing-page-content .description {
    font-size: 44px;
    text-transform: none;
    color: #1d1d1f;
    font-family: SF Pro Display,Helvetica Neue,sans-serif;
    font-weight: 600;
    line-height: 44px;
    -webkit-margin-before: 40px;
    margin-block-start: 40px;
    -webkit-margin-after: 60px;
    margin-block-end: 60px;
    max-inline-size: 478px;
}


.link-button-button:link, .link-button-button:visited, .link-button-button:hover, .link-button-button:active {
    text-decoration: none;
    color: white;
}

.link-button {
    display: flex;
    flex-direction: row;
    gap: 5px;

}

.link-button-button {
    background-color: black;
    color: white;
    border-radius: 22px;
    border:none;
    padding: 10px 30px;
    text-decoration: none;
    outline: none;
}

.form-element {
    display: flex;
}

footer {
    -webkit-margin-before: 160px;
    margin-block-start: 160px;
}

.legal-footer {
     display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-padding-before: 30px;
    padding-block-start: 30px;
    -webkit-padding-after: 30px;
    padding-block-end: 30px;
    inline-size: 100%;
    background-color: #f5f5f7;
}

.container-content{
    width: 90%;
}

.parent-path {
    margin-left: 25px;
}

.eval-disclaimer {
    font-weight: 400;
    margin: 0;


}

.tee-times-tiles {
    width: 90%;
    gap:20px;
    display: flex;
    flex-direction: column;
}

.course-select-buttons {
    margin-top: 10px;
    margin-bottom: 30px;
}

.tile-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

}

.tile-detail {
    margin-top: 20px;
}

/*#212529*/
.dark-mode {
    background-color: #151617;
    color: white;
    box-shadow: 20px 20px 40px rgb(255 255 255 / 21%);
}

.dot {
    height: 15px;
    width: 15px;
    background-color: red;
    border-radius: 50%;
    display: flex;
}


.tee-times-tile {
    text-transform: none;
    border-radius: 16px;
    -webkit-box-shadow: 17px 20px 40px rgb(0 0 0 / 21%);
    box-shadow: 17px 20px 40px rgb(0 0 0 / 21%);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-around;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 30px;
    text-align: start;
    width: 190px;

}

.tee-times-tile-title {
    display: flex;
    justify-content: center;
    font-size: xx-large;
}

.tee-times-tile-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    align-content: center;
}

.tee-times-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#search-form {
    height: auto;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    transition: transform 1.3s ease;
    -webkit-transition: -webkit-transform 1.3s ease;
}

.favorit {
    font-size: 25px;
    color: #FFD700; /* Goldfarbe für den ausgefüllten Stern */
        }

.search-list li {
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    border-bottom: 1px solid #ccc;
}

.overview-list li {
    padding: 10px;
    border-bottom: 1px solid #ccc;

}

.overview-list {
    list-style:none;
    padding: 0;
}


.search-list li .search-list-name {
    flex: 1;
}

.search-list li .search-list-startzeit {
    text-align: right;
    font-size:  small;
    margin-right: 10px;
    font-weight: 400;

}


.search-list {
    list-style:none;
    padding: 0;
}


.kurs-buttons {
            display: flex;
            justify-content: space-around;
            margin: 4px;
            gap: 5px;
        }

        .kurs-button {
            padding: 10px 20px;
            border: 1px solid #007AFF;
            border-radius: 20px;
            background-color: transparent;
            color: #007AFF;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.2s, color 0.2s;
        }

        .kurs-button:hover {
            background-color: #007AFF;
            color: #FFFFFF;
        }

        /* Stil für den ausgewählten Button */
        .kurs-button.selected {
            background-color: #007AFF;
            color: #FFFFFF;
        }


.toggle-container {
            margin: 10px;
            display: flex;
            align-items: center;
        }

        .toggle-label {
            font-size: 16px;
            margin: 0;

        }

        .toggle-button {
            -webkit-appearance: none;
            appearance: none;
            width: 50px;
            height: 25px;
            border-radius: 25px;
            background: #CCCCCC;
            outline: none;
            cursor: pointer;
            position: relative;
        }

        .toggle-button::before {
            content: "";
            position: absolute;
            width: 21px;
            height: 21px;
            border-radius: 50%;
            background: #FFFFFF;
            top: 2px;
            left: 2px;
            transition: transform 0.3s;
        }

        .toggle-button:checked::before {
            transform: translateX(25px);
        }

        .toggle-button:checked {
            background: #007AFF;
        }

        .search-container {
            margin: 10px;
        }

        .search-input {
            padding: 5px;
            font-size: 16px;
        }

        .toggle-search-container > div {
            margin-right: 10px;
        }

#search-input{
    padding-left: 30px;
}

.detail-view-content{
    display: flex;
    flex: 1 auto;
    align-items: center;
    flex-direction: row;
}

.detail-view-tile{
    border-radius: 16px;
    box-shadow: 17px 20px 40px rgba(0,0,0,.21);
    display: flex;
    flex-direction: column;
    padding: 40px;
    width: 100%;
}

.tile-title {
    display: flex;
    justify-content: space-between;
    font-weight: 400;

}

.verstoss {
    color: red;
    font-size: 20px;
    padding-right:5px;
}

.sidebar {
    display: none;
}

/* Sidebar nur auf mobilen Geräten anzeigen (maximale Bildschirmbreite 767px) */
@media (max-width: 767px) {
    #navbarToggle {
        visibility:collapse;
    }

    .navbar-toggler{
        display: none;
    }

    .refresh-db {
        display: block;
        background: none;
        border: none;
    }

    .notification {
        display: block;
        background: none;
        border: none;
        margin-right: 10px;
    }

    .notification-icon {
        position: relative;
        display: inline-block;
    }

    .notification-badge {

            position: absolute;
            top: -15%;
            right: 35%;
            width: 13px;
            height: 13px;
            background-color: red;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;

        }

    .notification-content {
        font-weight: 400;
    }

    .nav-button-container {
        display: flex;
    }

    .sidebar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Schwarz mit Transparenz */
    width: 100%;
    border-top: 1px solid #333;
    backdrop-filter: blur(10px); /* Glass-Effekt */
    z-index: 9999;
}

.sidebar nav {
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    padding-bottom: 20px;
    padding-top: 3px;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%; /* Die ul-Elemente sollen die volle Breite einnehmen */
}

.sidebar li {
    flex: 1; /* Gleichmäßige Verteilung */
}

.sidebar a {
    display: flex; /* Neue Flexbox-Container für die Links */
    align-items: center; /* Um die Icons zu zentrieren */
    justify-content: center;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    transition: background-color 0.2s ease;
}



.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Transparenter Hover-Hintergrund */
}
}


.search-container {
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
}

.cancel-button {
  display: none; /* Den Abbrechen-Button standardmäßig ausblenden */
  margin-left: 10px; /* Passen Sie den Abstand zwischen der Suchleiste und dem Button nach Bedarf an */
  background: none;
  border: none;
}

/* Fügen Sie hier weitere Stile für die Suchleiste und den Button hinzu */


@media screen and (max-width: 600px) {
            table {
                font-size: 14px;
            }

            th, td {
                padding: 5px;
            }

            /* Verstecke die Tabellenüberschrift auf kleinen Bildschirmen */
            thead {
                display: none;
            }

            /* Füge eine alternative Darstellung für die Tabelle hinzu */
            tbody {
                display: block;
            }

            tr {
                margin-bottom: 10px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                border: 1px solid #ccc;
                border-radius: 5px;
            }

            td {
                flex-basis: calc(50% - 10px);
                padding: 5px;
            }
        }

        .edit-form {
            flex-wrap: wrap;
        }

        .edit-form button{
            padding
        }

        .search-icon {
            position: relative;
            margin-right: 8px;
        }

        .search-icon svg {
            position: absolute;
            top: 50%;
            left: 18px;
            transform: translateY(-50%);
            fill: rgb(118, 118, 118);
        }



