* {
    box-sizing: border-box;
}

/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v5-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Poppins Regular'), local('Poppins-Regular'),
       url('../fonts/poppins-v5-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v5-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v5-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v5-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v5-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v5-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Poppins Medium'), local('Poppins-Medium'),
       url('../fonts/poppins-v5-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v5-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v5-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v5-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v5-latin-500.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-600 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v5-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Poppins SemiBold'), local('Poppins-SemiBold'),
       url('../fonts/poppins-v5-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v5-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v5-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v5-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v5-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-700 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v5-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Poppins Bold'), local('Poppins-Bold'),
       url('../fonts/poppins-v5-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v5-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v5-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v5-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v5-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
}

body {
    font-family: 'Poppins', sans-serif;;
    font-size: 1.2em;
    background-color: #454545;
    color: #fff;
    margin: 0;
    padding: 0;
}

.level_1 li{
	height: 75px;
}

#content {
    max-width: 95%;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.card {
    /*background-color: #1F1F1F;*/
    /*padding: 20px;*/
    /*border-radius: 8px;*/
    flex: 1 1 100%;
    min-width: 285px;
}

.inner-card {
    /*background-color: #292929;*/
    /*padding: 20px;*/
    /*border-radius: 8px;*/
    /*min-height: 250px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

h1 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

h2 {
    color: #03daca;
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#demo h2 {
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt horizontal */
    width: 100%; /* Füllt die gesamte Breite des Containers aus */
}


#demo h2.first{
    color: #5fa1dd;
    margin-bottom: 10px;
}

.apicall {
    font-style: italic;
    color: #778899;
    margin-left: 10px;
}

span {
    color: #fff;
    font-size: unset;
}

.elements {
    padding: 8px 16px 8px 16px;
    text-align: center;
    margin-top: auto;
}

.elements p {
	margin: 4px 0 4px 0;
}

.list-elements {
    border: 1px solid #BB86FC;
    padding: 8px;
}

input[type="date"] {
    padding: 5px;
    border: none;
    background-color: #424242;
    outline: none;
    font-size: 18px;
    color: #BB86FC;
}

select {
    padding: 5px;
    border: none;
    background-color: #424242;
    color: #BB86FC;
    outline: none;
    width: 100%;
    font-size: 18px;
}

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

li {
    margin-bottom: 5px;
    color: #BB86FC;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.linklist a {
    color: inherit;
}

#list-data span {
    color: #fff;
}

/* FÃ¼ge diese CSS-Regeln hinzu, um die Tabelle anzupassen */

/* Tabelle anpassen */
#table-bookableTimes {
    width: 100%;
    border-collapse: collapse;
  }
  
  /* Ãœberschriftenzeilen */
  #table-bookableTimes th {
    background-color: #1F1F1F;
    color: #BB86FC;
    padding: 10px;
    text-align: center;
  }
  
  /* Datenzeilen */
  #table-bookableTimes td {
    background-color: #292929;
    color: #fff;
    padding: 10px;
    text-align: center;
  }
  
  /* Hervorheben der ersten Zeile der Ãœberschriften */
  #table-bookableTimes th:first-child {
    border-top-left-radius: 8px;
  }
  
  #table-bookableTimes th:last-child {
    border-top-right-radius: 8px;
  }
  
  /* Hervorheben der ersten Zeile der Daten */
  #table-bookableTimes td:first-child {
    border-bottom-left-radius: 8px;
  }
  
  #table-bookableTimes td:last-child {
    border-bottom-right-radius: 8px;
  }
  
  /* Optionale Zeilenhervorhebung bei Bedarf */
  #table-bookableTimes tr:nth-child(even) {
    background-color: #1F1F1F;
  }

.toggle-button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 24px;
    color: #BB86FC;
    margin-left:20px;
}

/* Entferne den blauen Fokus-Rahmen, der beim Klicken auf den Button erscheint */
.toggle-button:focus {
    outline: none;
}

/* Setze den Abstand zwischen dem Pfeil und dem Text auf 0 */
.toggle-button i {
    margin: 0;
    vertical-align: bottom;
}

/* Setze den Abstand zwischen den beiden Pfeilen auf 5px */
.toggle-button i + i {
    margin-left: 0px;
}

/* Verstecke den Pfeil nach oben standardmÃ¤ÃŸig */
.toggle-button i:last-child {
    display: none;
}

.custom-button {
    background-color: #BB86FC;
    color: #292929;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 4px;
    display: inline-table;
}

.custom-button:hover {
    background-color: #6200EE;
}

.custom-button:focus {
    outline: none;
}

/* Icon-Stil fÃ¼r den Button */
.custom-button i {
    margin-right: 5px;
}
 
.edit-button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 18px;
    color: #BB86FC;
    align-self: flex-end;
}

textarea {
    width: 100%;
    min-height: 190px;
    margin-top: 4px;  
}

#editContainer {
    color: darkred;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.edit-button-container {
    display: flex;
    justify-content: flex-end; 
}

.example-button-container {
    display: flex;
    margin-top: 8px;
}

.example-button-container .edit-button {
   padding-right: 16px; 
}

.example-button {
    padding-right:8px;
    min-width: 25%;
}

.example-description {
    font-size: 80%;
}

#card-createNewReservation .row {
    margin-bottom: 0;
}

.small {
    font-size: 70%;
}

#card-row-changeReservation {
    display: none;
}

        #calendar-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        #left-controls, #right-controls {
            width: 20%;
            display: flex;
            justify-content: center;
        }
        #middle-controls {
            width: 60%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        #week {
            flex-grow: 1;
        }
        #datepicker {
            margin-left: 10px;
        }
        .ui-datepicker {
            font-size: 18px; /* Set date picker font size */
        }



/* Kalender anpassen */
#calendar {
    overflow-x: auto; /* Horizontales Scrollen aktivieren, falls die Tabelle breiter als der Container ist */
   font-size: 0.7em;
	scroll-behavior: auto;
}

#week {
display: inline-block;
    float: left;
    color: orange;
    font-size: 2em;
    /*width: 70%;*/
    /*line-height: 2em;*/
	text-align:center;
line-height: 60px;
    vertical-align: baseline;
}

#middle {
	/*width: 80%;*/
}

#calendar table {
background-color: #292929;
    width: 100%;
    border-collapse: collapse;
}

#calendar th,
#calendar td {
    padding: 4px 10px 4px 10px;
    border: 1px solid #BB86FC;
    /*background-color: #292929;*/
    color: #fff;
    text-align: center;
    width: 14.2857vw; /* Auf 100% Breite aufteilen (100% / 7 Tage) */
    height: 30px;
	min-height:50px; 
    box-sizing: border-box; /* Berücksichtigen Sie die Padding- und Border-Größe in der Breite und Höhe */
	font-weight: lighter;
}


#calendar th {
    background: rgba(95, 161, 221, .8); /* Hellblauer Farbton */
    color: #ffffff;
}


#calendar tr:nth-child(even) {
    background-color: #000;
}

#calendar th.time-column {
    background: #b0b0b0b3; /* Ihre gewünschte Hintergrundfarbe für die erste Spalte */
	width: 100px;
}

#calendar td.time-column {
background: rgba(95, 161, 221, .8);
}

/* Card-Container anpassen */
.card {
    /*background-color: #333;*/ /* Beispielhafte Hintergrundfarbe für Card */
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/ /* Beispielhafter Schatten */
    /*padding: 20px;*/
}

/* Navigationselemente anpassen */
#calendar-controls {
    text-align: center;
    margin-bottom: 25px;
	margin-top: 25px;
display:flex;
}

#button {
display: inline-block;
float: right;
width: 50%;
text-align:right;
}

#calendar-controls button {
    background-color: #5fa1dd; /* Farbe für die Buttons */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px 10px;
	font-family: 'Poppins', sans-serif;
}

#calendar-controls button:hover {
    background-color: #6200EA; /* Hervorhebungsfarbe beim Überfahren */
}

/* Ausgeblendeten Button anpassen */
#prev-week[disabled] {
    visibility: hidden;
}

#calendar-table td.past-day {
    background: rgba(204, 204, 204, .5); /* Farbe für vergangene Tage */
    cursor: not-allowed; /* Nicht klickbar */
	box-shadow: unset;
}

/* Ausgegrauten Zeiten anpassen */
#calendar-table td.past-time {
    background: rgba(204, 204, 204, .5);
    cursor: not-allowed;
box-shadow: unset;

}

#calendar-table td.bookable-time {
    border-color: #77b300;
    background: rgba(119, 179, 0, .5);
    box-shadow: inset 0 0 10px 0 rgba(119, 179, 0, .8);
    color: white; /* Textfarbe */
    cursor: pointer;
    position: relative; /* Damit das ::before-Pseudoelement relativ zum td positioniert wird */
	white-space: nowrap;
}

#calendar-table td.bookable-time:hover::before {
    content: "Jetzt buchen"; /* Der Text, der beim Hover angezeigt werden soll */
    position: absolute;
    top: 0; /* Oben */
    left: 0; /* Links */
    width: 100%; /* Volle Breite */
    height: 100%; /* Volle Höhe */
    display: flex; /* Flexbox-Layout */
    justify-content: center; /* Horizontal zentriert */
    align-items: center; /* Vertikal zentriert */
    background: rgba(34, 52, 0, .9);
    box-shadow: inset 0 0 10px 0 rgba(119, 179, 0, .8);
    color: white;
    /*padding: 5px 10px;*/
    border-radius: 0px;
    z-index: 1; /* Stellen Sie sicher, dass der Inhalt über dem td liegt */
    pointer-events: none; /* Verhindern, dass das Pseudoelement den Klick auf das td verhindert */
}

.booked {
background: rgba(249, 103, 92, .8);
    box-shadow: inset 0 0 10px 0 rgba(249, 103, 92, .9);
cursor: not-allowed;
}

#legend table {
margin-top: 20px;
background-color: transparent;
}


#legend td {
border-top: 0;
border-bottom: 0;
border-left: 10px;
border-right: 10px;
    border-color: #454545;
    padding: 5px;
    border-style: solid;
}

#notimes {
background-color: #292929;
}
#unavailable {
background: rgba(204, 204, 204, .5);
}
#booked {
background: rgba(249, 103, 92, .8);
}
#available {
background: rgba(119, 179, 0, .5);
}


#notes p {
	font-size: 1.3em;
	color: #b0b0b0;
}

#notes li {
	font-size: 1.3em;
	color: #b0b0b0;
}

#primebooking-update iframe {
    background-color: #454545;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.blue-rectangle {
            display: inline-block;
            background-color: #007BFF; /* Mittelblau */
            color: white;
            padding: 2px 5px;
            border-radius: 3px;
        }
.red-circle {
	margin-left: 5px;
            display: inline-block;
            background-color: darkred; /* Rot */
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            text-align: center;
            line-height: 20px;
 }

input.hasDatepicker {
	display: none;
}

img.ui-datepicker-trigger {
	cursor: pointer;
float: left;
padding-left: 10px;
}

.ui-datepicker-header.ui-widget-header {
	background-color: #5fa1dd;
}

.ui-datepicker .ui-datepicker-title {
    background-color: #5fa1dd;
}

.ui-datepicker-calendar span {
	color: unset;
}

.ui-datepicker select{
	background-color: transparent;
    	color: #fff;
}

.ui-datepicker option{
    	color: #454545;
}

#left-controls .normal{
	display: block;
}
#left-controls .small{
	display: none;
}
#right-controls .normal{
	display: block;
}
#right-controls .small{
	display: none;
}


button.flat-button {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
}

button.flat-button:hover {
    background-color: #d5d5d5;
}

button.flat-button.selected {
    background-color: #7e57c2; /* Lila aus Material-Design */
    color: #ffffff;
}

button.flat-button.disabled {
    opacity: 0.6;
    /*cursor: not-allowed;*/
}

button.activity-button {
    background-color: #f44336; /* Rot */
	color: #fff;
}

button.category-button {
    background-color: #2196f3; /* Blau */
}

button.subcategory-button {
    background-color: #4caf50; /* Grün */
}

#calendar.disabled {
    position: relative;
}

h2.title {
	padding-bottom: 4px;
	justify-content: center;
}


#calendar.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(200, 200, 200, 0.5);
    z-index: 10;
}


/* CSS für den Ladeindikator */
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




@media (max-width: 1400px) {
.wrapper {
	width: 100%;
}
}

@media (max-width: 1300px) {
#calendar th.time-column, #calendar td.time-column {
    font-size: 95%;
}
#calendar th {
    font-size: 98%;
}
#calendar td.bookable-time {
    font-size: 95%;
}
}


@media (max-width: 1020px) {
#notes p {
	font-size: 90%;
}

#notes li {
	font-size: 90%;
}
#week {
	font-size: 1.3em;

}
#button {
	width: 60%;
}
#calendar-controls button {
    	padding: 5px 10px;
	font-size: 90%;
}
#calendar th.time-column, #calendar td.time-column {
    font-size: 90%;
}
#calendar th {
    font-size: 95%;
}
#calendar td.bookable-time {
    font-size: 90%;
}

#legend {
	font-size: 90%;
}
#calendar-controls {
    margin-bottom: 5px;
    margin-top: 5px;
}
#legend table {
    margin-top: 10px;
}
.vision_text {
    padding: unset;
}
#demo-calendar iframe {
    padding: unset !important;
}
.container {
padding: unset;
}
#legend {
	font-size: 80%;
}
}

@media (max-width: 600px) {
#ui-datepicker-div {
	left: 0 !important;
}

img.ui-datepicker-trigger {
	width: 40px;
        margin-top: 5px;
}
#left-controls .normal{
	display: none;
}
#left-controls .small{
	display: block;
	font-size: 100%;
}
#right-controls .normal{
	display: none;
}
#right-controls .small{
	display: block;
	font-size: 100%;
}
.ui-widget {
	font-size: 16px !important;
}
#week {
	line-height: 40px;
}
.elements p {
	font-size: 14px;
}
button.flat-button {
	font-size: 12px;
}
}


@media (min-width: 600px) {
    .card-row {
        justify-content: flex-start;
    }

    .card {
        flex-basis: calc(50% - 20px);
    }
}

@media (min-width: 900px) {
    .card {
        flex-basis: calc(33.33% - 20px);
    }

}