td:not([align]),
th:not([align]) {
    text-align: center
}

table td:not([align]),
table th:not([align]) {
    text-align: center
}

.table th:not([align]) {
    text-align: center
}

.content table th:not([align]) {
    text-align: center
}

.message-body {
    padding: 1.0em 1.5em;
}

.table a {
    color: #000000;
}

.absatz {
    margin-top: 1.5rem;
}

.badge {
    border-radius: 8px;
    display: inline-block;
    line-height: 2.28;
    padding: 2px 6px;
    position: relative;
    text-align: center;
    font-size: 1.3em;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: normal;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    color: #FFFFFF;
}

.badgeVirtualLine {
    border-radius: 8px;
    display: inline-block;
    line-height: 2.28;
    padding: 2px 6px;
    position: relative;
    text-align: center;
    font-size: 1.1em;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: normal;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    color: #FFFFFF;
}

.wartezeitenBadge {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wartezeitenBadgeVirtualLine {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wartezeitMain {
    background: rgba(0, 0, 0, 0.4);
}

.wartezeitGrey {
    background: rgba(128, 128, 128, 1.0);
}

.wartezeitGreen {
    background: rgba(15, 108, 66, 1.0);
}

.wartezeitRed {
    background: rgba(173, 20, 51, 1.0);
}

.wartezeitOrange {
    background: rgba(242, 133, 0, 1.0);
}

.wartezeitBlue {
    background: rgba(29, 114, 170, 1.0);
}

#barchart_tage,
#barchart_wochentage,
#barchart_stunden,
#heatmap_stunden_wochentage,
#barchart_wochentage_jahr,
#barchart_stunden_jahr,
#barchart_monate,
#heatmap_stunden_wochentage_jahr,
#heatmap_wochentage_monate,
#linechart,
#linechart_crowd,
#linechart_temperatur,
#linechart_niederschlag,
#linechart_wind,
#barchart_wochentage_crowd,
#barchart_stunden_crowd,
#heatmap_stunden_wochentage_crowd,
#barchart_wochentage_jahr_crowd,
#barchart_stunden_jahr_crowd,
#barchart_monate_crowd,
#heatmap_stunden_wochentage_jahr_crowd,
#heatmap_wochentage_monate_crowd,
#barchart_index_tag {
    width: 100%;
    height: 400px;
}

#barchart_attraktionen,
#barchart_attraktionen_jahr {
    width: 100%;
    height: 1000px;
}

#wievielistaktuelllos,
#wievielistaktuelllos_EP,
#wievielistaktuelllos_Rulantica,
#wievielistaktuelllos_PL,
#wievielistaktuelllos_DLP,
#wievielistaktuelllos_HP,
#wievielistaktuelllos_LLD,
#wievielistaktuelllos_EF,
#wievielistaktuelllos_HDP,
#wievielistaktuelllos_HAP {
    width: 100%;
    height: 100px;
}

.htmlContent> :first-child,
.messageBody>.messageText> :first-child,
.messageSignature>div> :first-child,
.redactor-layer> :first-child {
    margin-top: 0 !important;
}

.htmlContent h1,
.messageBody>.messageText h1,
.messageSignature>div h1,
.redactor-layer h1,
.htmlContent h2,
.messageBody>.messageText h2,
.messageSignature>div h2,
.redactor-layer h2,
.htmlContent h3,
.messageBody>.messageText h3,
.messageSignature>div h3,
.redactor-layer h3,
.htmlContent h4,
.messageBody>.messageText h4,
.messageSignature>div h4,
.redactor-layer h4,
.htmlContent h5,
.messageBody>.messageText h5,
.messageSignature>div h5,
.redactor-layer h5,
.htmlContent h6,
.messageBody>.messageText h6,
.messageSignature>div h6,
.redactor-layer h6 {
    margin: 1.5em 0 1em 0;
}

.htmlContent h2,
.messageBody>.messageText h2,
.messageSignature>div h2,
.redactor-layer h2 {
    font-size: 23px;
}

.htmlContent h2,
.messageBody>.messageText h2,
.messageSignature>div h2,
.redactor-layer h2 {
    font-weight: 300;
    line-height: 1.28;
}

.htmlContent h3,
.messageBody>.messageText h3,
.messageSignature>div h3,
.redactor-layer h3 {
    font-size: 18px;
}

.htmlContent h3,
.messageBody>.messageText h3,
.messageSignature>div h3,
.redactor-layer h3 {
    font-weight: 400;
    line-height: 1.28;
}

.htmlContent ul,
.messageBody>.messageText ul,
.messageSignature>div ul,
.redactor-layer ul {
    list-style-type: disc;
}

.htmlContent ul,
.messageBody>.messageText ul,
.messageSignature>div ul,
.redactor-layer ul,
.htmlContent ol,
.messageBody>.messageText ol,
.messageSignature>div ol,
.redactor-layer ol {
    margin: 1em 0 1em 40px;
}

.htmlContent ul li,
.messageBody>.messageText ul li,
.messageSignature>div ul li,
.redactor-layer ul li,
.htmlContent ol li,
.messageBody>.messageText ol li,
.messageSignature>div ol li,
.redactor-layer ol li {
    margin: 5px 0;
}

@media screen and (max-width: 551px) {
    #bild {
        display: none;
    }

    .badge {
        width: 50px;
    }

    .badgeVirtualLine {
        width: 130px;
    }
}

@media screen and (min-width: 550px) {
    #bildMobile {
        display: none;
    }

    .badge {
        width: 70px;
    }

    .badgeVirtualLine {
        width: 130px;
    }
}

@media screen and (max-width: 370px) {
    #bild {
        display: none;
    }

    #bildMobile {
        display: none;
    }

    .badge {
        width: 50px;
    }

    .badgeVirtualLine {
        width: 130px;
    }
}

#sidebar::-webkit-scrollbar {
    width: 5px;
}

#sidebar::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.titlebar {
    justify-content: flex-start;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    background-color: #555;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.share-btn:hover {
    color: #fff;
    opacity: 0.9;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

.email {
    background-color: #dd4b39;
}

.telegram {
    background-color: #0088cc;
}

.pinterest {
    background-color: #cb2027;
}

.reddit {
    background-color: #ff5700;
}

@media (max-width: 600px) {
    .share-btn {
        width: 50px;
        height: 50px;
        margin: 5px;
    }
}

.feiertage-container {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.feiertage-column {
    box-sizing: border-box;
    padding: 10px;
    width: 50%;
}

.full-width {
    width: 100%;
}

.feiertage-list {
    list-style-type: none;
    padding: 0;
}

.feiertage-date {
    width: 85px;
    flex-shrink: 0;
}

.feiertage-name {
    flex-grow: 1;
}

.feiertage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0px;
}

@media (max-width: 767px) {
    .feiertage-column {
        width: 100%;
    }

    .feiertage-date {
        margin-left: 0;
    }

    .feiertage-item {
        align-items: flex-start;
    }
}

.news-layout-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-align: left;
}

.news-image-container {
    width: 100%;
    height: 200px; 
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 8px 8px 0 0;
    display: block;
    cursor: pointer;
}

.news-image-container:hover::after {
    opacity: 1;
}

.news-image-copyright {
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 5px;
    border-radius: 4px;
}

.news-text-content {
    width: 100%;
    text-align: left;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .news-image-container {
        height: 150px;
    }

    .news-image-copyright {
        font-size: 8px;
    }

    .news-page-title {
        font-size: 1.2em;
    }

    .news-page-date {
        font-size: 0.9em;
    }

    .news-page-preview {
        font-size: 0.95em;
    }
}

.news-more {
    text-align: center;
    margin-top: 16px;
}

.news-more a {
    text-decoration: none;
    color: white;
    background-color: #3273DC;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.news-more a:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.button-more {
    text-align: center;
}

.button-more a {
    text-decoration: none;
    color: white;
    background-color: #3273DC;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.button-more a:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .news-more {
        margin-top: 12px;
    }

    .news-more a {
        padding: 6px 12px;
        font-size: 0.98em;
    }
}

.news-page-date {
    font-size: 12px;
    color: #888;
}

.news-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

.news-page-preview {
    font-size: 14px;
    color: #555;
    margin: 10px 0 20px;
}

@media (max-width: 600px) {
    .news-page-container {
        padding: 15px;
    }

    .news-page-title {
        font-size: 16px;
        font-weight: 600;
    }

    .news-page-preview {
        font-size: 13px;
    }
}

.news-item {
    margin-bottom: 8px;
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.news-item a:hover {
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-headline {
    font-size: 1.03em;
    margin: 0;
    font-weight: 600;
}

.news-date {
    font-size: 0.85em;
    color: #777;
    margin-top: 4px;
}

.modern-calendar-container {
    width: 100%;
}

.modern-calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
  	table-layout: fixed;
}

.modern-calendar-table th {
    background-color: transparent;
    padding: 10px;
    font-weight: bold;
    color: #4a4a4a;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-calendar-table th .weekday-label {
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.modern-calendar-table th .weekday-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
}

.modern-calendar-table td {
    padding: 5px;
    position: relative;
    height: 60px;
}

.modern-calendar-table td.empty {
    background-color: transparent;
    border-radius: 0;
    height: 0;
    padding: 0;
}

.modern-calendar-table td:not(.empty) {
    border-radius: 8px;
    cursor: pointer;
}

.modern-calendar-table td:not(.empty):not([class*="modern-calendar-crowd-"]) {
    background-color: #f3f3fa;
}

.modern-calendar-table td.clickable:hover {
    filter: brightness(90%);
    transition: filter 0.2s ease;
}

.modern-calendar-table td.selected {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

.modern-calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin: 0 auto 4px auto;
    border-radius: 50%;
    color: #4a4a4a;
    font-size: 0.95em;
    font-weight: 500;
}

.modern-calendar-percentage {
    display: block;
    font-size: 0.7em;
    color: #4a4a4a;
    text-align: center;
}

.modern-calendar-table td.has-holiday::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background-color: #4a4a4a;
    border-radius: 50%;
    z-index: 1;
}

.calendar-details {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
}

.calendar-details h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.calendar-details h4 {
    font-size: 1.2em;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

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

.calendar-details ul li {
    font-size: 1em;
    color: #4a4a4a;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.calendar-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 1.2em;
}

.calendar-details p {
    font-size: 1em;
    color: #4a4a4a;
}

.weather-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.weather-info p {
    margin: 8px 0;
}

.weather-info strong {
    color: #333;
}

@media (max-width: 600px) {
    .calendar-details {
        padding: 15px;
        margin: 10px;
    }

    .calendar-details h3 {
        font-size: 1.3em;
    }

    .calendar-details h4 {
        font-size: 1.1em;
    }

    .calendar-details ul li {
        font-size: 0.95em;
    }

    .weather-info {
        padding: 10px;
    }
}

.modern-calendar-table td.modern-calendar-crowd-0 {
    background-color: #a7f3d0;
}

.modern-calendar-table td.modern-calendar-crowd-1 {
    background-color: #b8f0c2;
}

.modern-calendar-table td.modern-calendar-crowd-2 {
    background-color: #c9eeb4;
}

.modern-calendar-table td.modern-calendar-crowd-3 {
    background-color: #dbeba6;
}

.modern-calendar-table td.modern-calendar-crowd-4 {
    background-color: #ece998;
}

.modern-calendar-table td.modern-calendar-crowd-5 {
    background-color: #fde68a;
}

.modern-calendar-table td.modern-calendar-crowd-6 {
    background-color: #fdd98f;
}

.modern-calendar-table td.modern-calendar-crowd-7 {
    background-color: #fdcc95;
}

.modern-calendar-table td.modern-calendar-crowd-8 {
    background-color: #fcbf9a;
}

.modern-calendar-table td.modern-calendar-crowd-9 {
    background-color: #fcb2a0;
}

.modern-calendar-table td.modern-calendar-crowd-10 {
    background-color: #fca5a5;
}