﻿
.activity-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px 10px;
}

@media only screen and (max-width: 600px) {
    .activity-widget-header {
        flex-direction: column;
        align-items: normal;
    }
}


.activityWidget-grid {
    display: grid;
    grid-template-columns: 14.28% 14.28% 14.28% 14.28% 14.28% 14.28% 14.28%;
    max-width: 100%;
    overflow: hidden;
    max-height: 540px;
    overflow-y: auto;
    position: relative;
}

@media only screen and (max-width: 600px) {
    .activityWidget-grid {
        grid-template-columns: 100%;
    }
}


    .activityWidget-grid::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

/* Track */
    .activityWidget-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .activityWidget-grid::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 0px;
        cursor: pointer;
    }

        .activityWidget-grid::-webkit-scrollbar-thumb:hover {
            background: #666;
        }


.day-column {
    text-align: center;
    transition:all ease-out .2s;
}



.day-column-header {
    font-size: 18px;
    font-weight: 600;
    background-color: #3a3b3c;
    color: #fff;
    margin: 0px 5px 5px;
    padding: 5px;
    position: sticky;
    top: 0px;
}

@media only screen and (max-width: 600px) {
    .day-column-header {
        padding: 10px 5px;
        position: sticky;
        top: 0px;
        border-bottom: 1px solid #f2f2f2;
        font-size: 16px;
    }

        .day-column-header::before {
            content: attr(data-count);
            position: absolute;
            left: 10px;
            background-color: var(--background-color);
            border-radius: 100%;
            font-size: 14px;
            padding: 5px;
            width: 30px;
            height: 30px;
            text-align: center;
            top: 5px;
            color: var(--primary-text-color);
        }
        .day-column-header::after {
            font-family: "Font Awesome 5 Free";
            content: "\f0d7";
            position: absolute;
            right: 10px;
        }
    .day-column.active .day-column-header::after {
        content: "\f057";
    }
}

.time-slot {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    background-color: var(--background-color);
    margin: 15px 7.5px;
    transition: all ease-in-out .2s;
}

    .time-slot.cancelled,
    .time-slot.full{
        pointer-events:none;
        position:relative;
    }

        .time-slot.cancelled:after {
            content: "Cancelled";
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            background-color: rgba(0,0,0,.5);
            font-size: 24px;
            font-weight: bold;
            align-items: center;
            display: flex;
            justify-content: center;
            color: #fff;
        }

        .time-slot.full:after {
            content: "Full";
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            background-color: rgba(0,0,0,.5);
            font-size: 24px;
            font-weight: bold;
            align-items: center;
            display: flex;
            justify-content: center;
            color: #fff;
        }

@media only screen and (max-width: 600px) {
    .time-slot {
        display: none;
    }
    .day-column.active .time-slot {
        display: block;
    }
}

    .time-slot:hover {
        transform: scale(1.06);
        filter:drop-shadow(2px 3px 4px rgba(0,0,0,.3));
    }

.time-slot-header {
    font-size: 16px;
    font-weight: 600;
    padding: 5px;
    color: #fff;
}

.time-slot-body {
    color: var(--primary-text-color);
    padding: 0px 10px 5px;
}

.time-slot-body-name {
    font-size: 16px;
    min-height: 3em;
    max-height: 3em;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1em;
}

.time-slot-body-location {
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 1.5em;
    overflow: hidden;
    color: var(--secondary-text-color);
}

.empty-time-slot {
    height: 102.85px;
    background-color: var(--background-color);
    border-radius: 10px;
    margin: 15px 7.5px;
}

@media only screen and (max-width: 600px) {
    .empty-time-slot {
        display:none;
    }
}

@media only screen and (max-width: 600px) {
    .edit-activity-widget {
        display: none!important;
    }
}

.no-results-this-week {
    position: absolute;
    /* background-color: rgba(85, 85, 85,.4); */
    inset: 35px 0px 0px;
    color: rgba(85, 85, 85,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}