.navbar{
    background-color: #faa800;
}

/* Gesamter Kalender */
.cal_calendar {
    max-width: 1200px;
    margin: 30px auto;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Kopfbereich */
.cal_head {
    background: #f7f7f7;
}

/* Navigation */
.cal_navigation {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    list-style: none;
    margin: 0;
    padding: 15px;
    align-items: center;
    background: #faa800;
    color: #fff;
}

.cal_navigation li {
    text-align: center;
}

.cal_navigation .previous {
    text-align: left;
}

.cal_navigation .next {
    text-align: right;
}

.cal_navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background .2s;
    font-size: small;
}

.cal_navigation a:hover {
    background: rgba(255,255,255,.2);
}

.cal_navigation .current {
    font-size: 1em;
}

/* Wochentage */
.cal_thead {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ececec;
}

.cal_thead li {
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border-right: 1px solid #ddd;
}

.cal_thead li:last-child {
    border-right: none;
}

/* Kalenderwochen */
.cal_body ul {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Kalendertage */
.cal_body li {
    border: 1px solid #ececec;
    padding: 5px;
    background: #fff;
    position: relative;
    transition: background .2s;
}

.cal_body li:hover {
    background: #fafafa;
}

/* Tagesnummer */
.cal_body .header {
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
}

/* Termine */
.cal_body .event {
    margin-bottom: 5px;
}

.cal_body .event a {
    display: block;
    padding: 4px 6px;
    background: #faa800;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: .85rem;
    line-height: 1.3;
    transition: background .2s;
}

.cal_body .event a:hover {
    background: #d68f00;
}

/* Tage außerhalb des Monats */
.cal_body li.empty,
.cal_body li.padding,
.cal_body li.outside {
    background: #f8f8f8;
    color: #aaa;
}

/* Heutiger Tag */
.cal_body li.today {
    background: #fff9d8;
    border: 2px solid #f0b400;
}

.cal_body li.today .header {
    color: #d08a00;
}

/* Wochenende */
.cal_body li.weekend {
    background: #fcfcfc;
}

/* Unsichtbarer Text */
.invisible {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {

    .cal_body li {
        min-height: 90px;
    }

    .cal_navigation {
        grid-template-columns: 70px 1fr 70px;
    }

    .cal_navigation .current {
        font-size: 1rem;
    }

    .cal_body .event a {
        font-size: .75rem;
        padding: 3px;
    }
}

@media (max-width: 600px) {

    .cal_body li {
        min-height: 70px;
        padding: 4px;
    }

    .cal_body .header {
        font-size: .8rem;
    }

    .cal_thead li {
        padding: 8px 2px;
        font-size: .8rem;
    }

    .cal_body .event a {
        font-size: .65rem;
    }
}

/*Footer*/
#footer{
    background-color: #faa800;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#footer a{
    font-size: medium;
    color: #f7f7f7;
}

#footer li.active{
    font-weight: bold;
    color: #f7f7f7;
}
#footer .nav-link{
    color: #f7f7f7 !important;
}

#container{
    margin-bottom: 3em;
}
