nav {
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: 100%;
    color: #eee;
    background: #333;
    padding-top: 0.5em;
    box-shadow: inset 2px 2px 6px black;

    .years {
        .year-group {
            float: left;
            white-space: nowrap;

            .year {
                display: inline-block;
                border-left: 1px solid #888;
                cursor: pointer;
                font-size: 120%;
                line-height: 1.2em;
                color: white;
                padding: 0 0.2em;
                margin: 0.1em 0em 0.1em 0.1em;
                border-radius: 2px;

                &.disabled {
                    cursor: auto;
                    color: #777;
                    display: none;
                }
            }

            .months {
                display: inline-block;
                vertical-align: top;
                overflow: hidden;
                white-space: nowrap;

                .month {
                    display: inline-block;
                    cursor: pointer;
                    margin: 0.16em 0em;
                    border-radius: 2px;
                    padding: 0.1em 0.2em;

                    &.selected {
                        background-color: #0197fd;
                        color: black;
                    }

                    &.disabled {
                        cursor: auto;
                        color: #777;
                        display: none;
                    }
                }
            }

            &:first-child {
                .year {
                    border-left: none;
                }
            }
        }
    }

    .days {
        clear: both;
        white-space: nowrap;

        .day {
            display: inline-block;
            cursor: pointer;
            border-radius: 2px;
            padding: 0.1em 0.3em;
            margin: 0.1em;

            &.selected {
                background-color: #0197fd;
                color: black;
            }

            &.disabled {
                cursor: auto;
                color: #777;
                display: none;
            }
        }
    }

    .progress {
        margin-top: 0.3em;
        height: 8px;
        width: 100%;
        background: black url('../img/progress-unavailable.png') repeat-x;
        border-top: 1px solid #555;
        border-bottom: 1px solid #555;
        position: relative;
        cursor: pointer;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);

        .indicator {
            z-index: 1;
            position: absolute;
            left: 0;
            height: 100%;
            background: #0197fd;
            width: 0;
            background: url('../img/progress.png') repeat-x;
            border-top: 1px solid #555;
            border-bottom: 1px solid #555;
            margin-top: -1px;
        }

        .thumb {
            z-index: 1;
            width: 20px;
            height: 20px;
            background: url('../img/thumb.png') no-repeat;
            position: absolute;
            margin-left: -10px;
            margin-top: -6px;
        }

        .tooltip {
            font-family: helvetica, sans-serif;
            font-size: 74%;
            z-index: 2;
            position: absolute;
            margin-top: 20px;
            padding: 5px 7px;
            text-align: center;
            background: black;
            border-radius: 4px;
        }

        .availability {
            position: absolute;
            background: url('../img/progress-available.png') repeat-x;
            border: 1px solid #66fc43;
            height: 6px;
        }
    }
}
