﻿select calendar then use calendar to show services, then use services to show availability (services give you the duration so you can compute timeslots)




:root {
    --primary-color-rgb: 0, 162, 255;
    --primary-color: RGB(var(--primary-color-rgb));
    --primary-color-level2: RGBA(var(--primary-color-rgb), 0.5);
    --primary-color-level3: RGBA(var(--primary-color-rgb), 0.15);
    --primary-color-level4: RGBA(var(--primary-color-rgb), 0.05);
    --primary-text-color: #ffffff;
    --container-background-color: #ffffff;
    --text-color-rgb: 77, 80, 85;
    --text-color: RGB(var(--text-color-rgb));
    --text-color-level2: RGBA(var(--text-color-rgb), 0.6);
    --text-color-level3: RGBA(var(--text-color-rgb), 0.1);
}







.spot-list {
    overflow: hidden;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .spot-list .spot {
        margin-bottom: 10px;
        font-size: 16px;
    }

        .spot-list .spot.is-available .time-button, .spot-list .spot.is-available .confirm-button {
            height: 52px;
        }

        .spot-list .spot.is-available .time-button-title {
            line-height: 10px;
        }

        .spot-list .spot.is-selected.is-available .time-button {
            width: 48.5%;
            background-color: rgba(0, 0, 0, 0.6);
            border-color: transparent;
            color: white;
        }

            .spot-list .spot.is-selected.is-available .time-button:hover, .spot-list .spot.is-selected.is-available .time-button:focus {
                color: white;
            }

        .spot-list .spot.is-selected.is-available .confirm-button {
            transform: translateX(0);
        }

        .spot-list .spot.is-unavailable {
            border: 1px dashed #C2CED6;
        }

            .spot-list .spot.is-unavailable .time-button {
                padding: 7px;
                position: relative;
                border: none;
                border-radius: 0;
            }

                .spot-list .spot.is-unavailable .time-button:hover, .spot-list .spot.is-unavailable .time-button:focus {
                    background-color: #EEF6FA;
                    box-shadow: none;
                    outline: none;
                }

            .spot-list .spot.is-unavailable .time-button-title {
                color: var(--text-color);
            }

        .spot-list .spot .spot-arrow {
            position: absolute;
            right: 7px;
            top: 10px;
            font-size: 12px;
        }

            .spot-list .spot .spot-arrow .icon-angle-down,
            .spot-list .spot .spot-arrow .icon-angle-up {
                position: relative;
                top: 3px;
            }

        .spot-list .spot .spot-status-unavailable {
            font-size: 10px;
            line-height: 20px;
            color: #e41600;
            text-transform: uppercase;
        }

        .spot-list .spot .spot-conflicts {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

            .spot-list .spot .spot-conflicts .spot-conflict-code {
                padding: 2px 4px 0 4px;
                margin-right: 3px;
                margin-bottom: 3px;
                color: #666a73;
                font-size: 12px;
                line-height: 1em;
                border: 1px solid #939393;
                border-radius: 3px;
            }

        .spot-list .spot .spot-availability-details {
            padding: 10px;
        }

            .spot-list .spot .spot-availability-details div.spot-conflict-explanation,
            .spot-list .spot .spot-availability-details div.spot-team-presense {
                margin-bottom: 10px;
                font-size: 14px;
                white-space: normal;
            }

                .spot-list .spot .spot-availability-details div.spot-conflict-explanation:last-child,
                .spot-list .spot .spot-availability-details div.spot-team-presense:last-child {
                    margin-bottom: 0;
                }

            .spot-list .spot .spot-availability-details ul.spot-conflict-users {
                list-style: outside;
                padding-left: 13px;
                margin-top: 0;
            }

    .spot-list .time-button, .spot-list .confirm-button {
        padding: 13px 10px;
        border: none;
        background-color: transparent;
        border-radius: 4px;
        text-align: center;
        font-weight: 600;
        cursor: pointer;
        outline: none;
        transition: all 0.3s ease;
        transition-property: width, transform;
    }

    .spot-list .time-button {
        vertical-align: top;
        width: 100%;
        border: 1px solid var(--primary-color-level2);
        color: var(--primary-color);
    }

        .spot-list .time-button .time-button-title {
            display: block;
        }

        .spot-list .time-button .time-button-label {
            font-size: 10px;
        }

        .spot-list .time-button:hover, .spot-list .time-button:focus {
            border-color: var(--primary-color);
            border-width: 2px;
        }

    .spot-list .confirm-button {
        line-height: 24px;
        margin-left: 3%;
        width: 48.5%;
        background-color: var(--primary-color);
        color: var(--primary-text-color);
        box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
        transform: translateX(40px);
    }

        .spot-list .confirm-button:hover, .spot-list .confirm-button:focus {
            background-color: var(--primary-color-level2);
        }

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    background-clip: padding-box;
    border-radius: 50%;
    border: 1px solid var(--text-color-level3);
    font-size: 24px;
    color: var(--primary-color);
}

    .back-button:hover, .back-button:focus {
        outline: none;
        background-color: var(--primary-color-level3);
    }


.spotpicker {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 25px 0 0 0;
    height: 100%;
}

@media only screen and (min-width: 650px) {
    .spotpicker {
        position: relative;
        padding-top: 28px;
    }
}

@media only screen and (max-width: 649px) {
    .spotpicker.has-selected-day .spotpicker-dates-title,
    .spotpicker.has-selected-day .spotpicker-calendar {
        display: none;
    }
}

@media only screen and (min-width: 650px) {
    .spotpicker.has-selected-day {
        min-width: 585px;
    }

        .spotpicker.has-selected-day .spotpicker-dates {
            width: 60%;
        }

        .spotpicker.has-selected-day .spotpicker-times {
            width: 40%;
        }
}

@media only screen and (max-width: 999px) {
    .spotpicker.has-selected-day .spotpicker-row {
        max-width: 100%;
    }
}

@media only screen and (max-width: 649px) {
    .spotpicker.has-no-sidebar .spotpicker-calendar {
        margin-top: 30px;
    }

    .spotpicker.has-no-sidebar .spotpicker-dates-title {
        padding: 0 45px;
    }
}

@media only screen and (min-width: 650px) {
    .spotpicker.has-no-sidebar .spotpicker-progress {
        border-radius: 8px 8px 0 0;
    }

    .spotpicker.has-no-sidebar .spotpicker-diagnostics-hint {
        border-bottom-left-radius: 7px;
    }
}

.spotpicker .spotpicker-progress {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: 8px;
    overflow: hidden;
    transition: opacity 0.15s linear 0.400s;
}

@media only screen and (max-width: 649px) {
    .spotpicker .spotpicker-progress {
        top: 0;
    }
}

@media only screen and (min-width: 1000px) {
    .spotpicker .spotpicker-progress {
        border-top-right-radius: 8px;
    }
}

.spotpicker .spotpicker-progress .spotpicker-progress-bar {
    position: relative;
    height: 4px;
    width: 0;
    min-width: 8px;
    background-color: var(--primary-color);
    transition: width 0.25s ease-in-out;
}

    .spotpicker .spotpicker-progress .spotpicker-progress-bar::after {
        content: '';
        opacity: 0;
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        background: #fff;
        -webkit-animation: progress-lighting 1s ease infinite;
        animation: progress-lighting 1s ease infinite;
    }

.spotpicker .spotpicker-progress.spotpicker-progress-enter-active {
    width: 0;
}

.spotpicker .spotpicker-progress.spotpicker-progress-enter-done .spotpicker-progress-bar {
    width: 20%;
}

.spotpicker .spotpicker-progress.spotpicker-progress-exit-active {
    opacity: 0;
}

.spotpicker .spotpicker-title {
    display: none;
    margin-bottom: 20px;
    text-align: center;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-title {
        display: block;
        padding-right: 32px;
        padding-left: 32px;
        width: 100%;
        text-align: left;
    }
}

@media only screen and (max-width: 999px) {
    .spotpicker .spotpicker-title {
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
    }
}

.spotpicker .spotpicker-label {
    color: var(--text-color-level2);
    padding: 0 32px;
}

@media only screen and (max-width: 649px) {
    .spotpicker .spotpicker-label {
        text-align: center;
    }
}

.spotpicker .spotpicker-row {
    width: 100%;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-row {
        display: flex;
    }
}

@media only screen and (min-width: 1000px) {
    .spotpicker .spotpicker-row {
        flex: 1 1 300px;
    }
}

@media only screen and (max-width: 999px) {
    .spotpicker .spotpicker-row {
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
    }
}

.spotpicker .spotpicker-dates {
    padding-bottom: 20px;
    max-width: 100%;
}

.spotpicker .spotpicker-dates-title {
    text-align: center;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-dates-title {
        display: none;
    }
}

@media only screen and (max-width: 649px) {
    .spotpicker .spotpicker-calendar {
        margin-right: auto;
        margin-left: auto;
        padding: 0 10px;
        max-width: 340px;
    }
}

@media only screen and (max-width: 649px) {
    .spotpicker .spotpicker-times {
        padding: 25px 15px 0;
        border-top: 1px solid var(--text-color-level3);
    }
}

@media only screen and (min-width: 1000px) {
    .spotpicker .spotpicker-times {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .spotpicker .spotpicker-times-animation-enter {
        opacity: 0;
        transition-property: height, opacity;
        transition-duration: 0.22s, 0.2s;
        transition-delay: 0s, 0.18s;
        transition-timing-function: ease-out;
    }

    .spotpicker .spotpicker-times-animation-enter-active {
        opacity: 1;
    }
}

.spotpicker .spotpicker-times-title {
    margin-bottom: 5px;
    text-align: center;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-times-title {
        display: none;
    }
}

.spotpicker .spotpicker-times-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    height: 38px;
    line-height: 38px;
}

@media only screen and (max-width: 649px) {
    .spotpicker .spotpicker-times-subtitle {
        display: none;
    }
}

.spotpicker .spotpicker-times-duration {
    text-align: center;
    font-size: 14px;
    margin-bottom: 12px;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-times-duration {
        display: none;
    }
}

.spotpicker .spotpicker-items-list {
    margin-right: 1px;
    padding-top: 8px;
    padding-bottom: 15px;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-items-list {
        overflow: auto;
        padding-right: 24px;
    }

        .spotpicker .spotpicker-items-list::-webkit-scrollbar {
            width: 16px;
        }

        .spotpicker .spotpicker-items-list::-webkit-scrollbar-thumb {
            border-radius: 8px;
            border: 4px solid transparent;
            background-color: var(--text-color-level2);
            background-clip: padding-box;
        }
}

@media only screen and (min-width: 1000px) {
    .spotpicker .spotpicker-items-list {
        flex: 1 1 100px;
        padding-right: 31px;
    }
}

.spotpicker .spotpicker-diagnostics-hint {
    padding: 12px 0;
    border-top: 1px solid var(--text-color-level3);
    background-color: #FDF7EB;
    background-clip: padding-box;
    text-align: center;
    font-size: 14px;
}

@media only screen and (min-width: 650px) {
    .spotpicker .spotpicker-diagnostics-hint {
        border-bottom-right-radius: 7px;
    }
}

@media only screen and (min-width: 650px) and (max-width: 999px) {
    .spotpicker .spotpicker-diagnostics-hint {
        border-bottom-left-radius: 7px;
    }
}

@media only screen and (max-width: 649px) {
    .spotpicker .spotpicker-diagnostics-hint {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
    }
}


