/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* gruppen cards ansicht */ 
.calendar-card {
    display: flex;
    flex-wrap: wrap;
    z-index: -1;
    background-color: rgb(0, 38, 71); /* set image here*/
    color: white;
    padding: 1rem;
}
.calendar-card .card-header {
    border: none;
    background-color: unset; /*use value from .card*/
    font-weight: bold;
    font-size: larger;
 

}
.calendar-card .card-body {
    padding-top: 0;
    padding-bottom: 0.5rem;
}
.calendar-card .card {
    background-color: rgba(250,250,250,0.3);
}
.cal-day {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 190px;
 margin-top: 2rem;
}
.cal-day .title {
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}
.cal-day {
    margin-right: 1rem;
}
.cal-day:last-child {
    margin-right: 0;
}

.cal-day .content {
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cal-day .content:last-child {
    margin-bottom: 0;
}
/* break calendar view for smaller screens */
@media only screen and (max-width: 1130px) {
    .cal-day {
        flex-basis: 100%;
    }
}

.mgvo-belegungsplan-week {
    margin-bottom: 0.75rem;
}

.mgvo-belegungsplan-scroll {
    overflow-x: auto;
}

.mgvo-belegungsplan-grid {
    min-width: 900px;
    border: 1px solid #444;
    color: #111;
    font-size: 0.8rem;
}

.mgvo-belegungsplan-header,
.mgvo-belegungsplan-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.mgvo-belegungsplan-header {
    grid-template-columns: 58px repeat(7, minmax(0, 1fr));
    min-height: 42px;
    text-align: center;
    font-weight: 600;
}

.mgvo-belegungsplan-header > div {
    padding: 0.35rem 0.15rem;
    border-right: 1px solid #888;
    border-bottom: 1px solid #444;
}

.mgvo-belegungsplan-header span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
}

.mgvo-belegungsplan-body {
    display: grid;
    grid-template-columns: 58px 1fr;
}

.mgvo-belegungsplan-times {
    position: relative;
    height: 900px;
}

.mgvo-belegungsplan-times > div {
    position: absolute;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 0.25rem;
    border-right: 1px solid #444;
    box-sizing: border-box;
}

.mgvo-belegungsplan-times > div:first-child {
    transform: none;
}

.mgvo-belegungsplan-times > div:last-child {
    transform: translateY(-100%);
}

.mgvo-belegungsplan-days {
    height: 900px;
}

.mgvo-belegungsplan-day {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-right: 1px solid #888;
    background: repeating-linear-gradient(
        to bottom,
        #fff 0,
        #fff 59px,
        #bbb 59px,
        #bbb 60px
    );
}

.mgvo-belegungsplan-item {
    position: absolute;
    z-index: 1;
    min-height: 24px;
    overflow: hidden;
    padding: 0.2rem;
    border: 1px solid rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mgvo-belegungsplan-item-training {
    background: #b7e7ff;
}

.mgvo-belegungsplan-item-event {
    background: #ffd28b;
}

.mgvo-belegungsplan-item span {
    font-style: italic;
}
