.cal_wrapper {
    width: 100%;
    margin: 0px auto 20px auto;
}

.cal_header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    /*font-size: 1.5rem;*/
}

.cal_label {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(7, 1fr);
    justify-items: stretch;
    align-items: stretch;
    grid-auto-flow: row;
    text-align: center;
    font-size: .8rem;
}

.cal_body {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(7, 1fr);
    justify-items: stretch;
    align-items: stretch;
    grid-auto-flow: row;

}

.cal_cell {
    justify-self: stretch;
    align-self: stretch;

}

.cal_day {
    /*padding:5px;*/
    height: 90px;
    font-size: 9px;
    border: 1px rgba(0, 0, 0, 0.1) solid;
    overflow: scroll;
}

.cal_event {
    border-top:1px grey solid;
    font-size: 10px;
    margin: 2px 0px;
    padding: 1px;
    word-break: break-all;
    cursor: pointer;
}

.cal_event a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cal_tag {
    display: inline-block;
    border-radius: 5px;
    color: white;
    font-size: smaller;
    background-color: darkgreen;

}

.mini_cal_wrapper {
    background-color: white;
}

.mini_cal_wrapper a {
    text-decoration: none;
    color: inherit;
}

.mini_cal_body {
    display: grid;
    grid-gap: 1px;
    grid-template-columns: repeat(7, 1fr);
    justify-items: stretch;
    align-items: stretch;
    grid-auto-flow: row;

}

.mini_cal_cell {
    /*justify-self: stretch;*/
    /*align-self: stretch;*/
    height: 30px;
}

.mini_cal_header {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
}


.busy {
    background-color: #3f3f3f;
    color: white;
}

.nav_month {
    cursor: pointer;
}

.cal_month_grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 4px;
}


.cal_month_day {
    border: 1px lightgrey solid;
    height: 140px;
    overflow: scroll;
    padding: 2px;
}

.cal_month_day a {
    display: flex;
    color: inherit;
    justify-content: flex-start;
    column-gap: 4px;
    border-top: 1px solid grey;

}


.cal_month_day.grey {
    background-color: #F5F5F5;
}

.cal_month_day.today {
    background-color: lightgrey;
    border: darkgrey 1px solid;
}
.cal-list {
    column-count:3;
}


@media only screen and (max-width: 768px) {
    .cal_month_grid {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 12px;
    }

    .cal_month_day {
        height: auto;
        overflow: auto;
    }

    .cal-list {
        column-count:1;
    }
}

swatch {
    display:inline-block;
    width:12px;
    height:12px;
}



