.fc {
    th {
        font-weight: 500;
        padding: 12px 12px 10px;
        text-transform: uppercase;
    }

    table {
        background: transparent;

        tr {
            & > td:first-child {
                border-left-width: 0;
            }
        }
    }

    button {
        border: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        font-size: 20px;
        line-height: 28px;
        display: block;
        text-align: center;
        width: 30px;
        height: 30px;
        color: @mae-lighter;
        text-shadow: none;
        .transition(all);
        .transition-duration(250ms);

        &:hover {
            background-color: @overlay-white;
        }
    }

    div.fc-row {
        margin-right: 0;
        border: 0;
    }
}

.fc-unthemed {
    td.fc-today {
        color: @m-white;
        background-color: #2f3d46;
    }
}

.fc-toolbar {
    margin-bottom: 0;
    padding: 5px 17px 19px;
    position: relative;

    h2 {
        margin-top: 7px;
    }
}

.fc-icon {
    &:before {
        position: relative;
        z-index: 1;
        font-family: @font-family-icon;
    }

    &.fc-icon-left:before {
        content: "\f2ff";
    }

    &.fc-icon-right:before {
        content: "\f301";
    }

}

.fc-event {
    padding: 0;
    font-size: 11px;
    border-radius: 2px;
    border: 0;
    background-color: rgba(255,255,255,0.1);

    .fc-title {
        padding: 3px 8px;
        display: block;
        color: @mae-lighter;
        .text-overflow();
    }

    .fc-time {
        float: left;
        background: rgba(0, 0, 0, 0.2);
        padding: 2px 6px;
        margin: 0 0 0 -1px;
    }
}

.fc-view {
    &,
    & > table {
        border: 0;
        overflow: hidden;
    }

    & > table {
        & > tbody {
            & > tr {
                .ui-widget-content {
                    border-top: 0;
                }
            }
        }
    }
}

// Main Calendar
#calendar {
    z-index: 0;

    td, th {
        border-color: @input-border;
    }

    .fc-toolbar {
        height: 250px;
        background-color: @mae-light;
        border-radius: 2px 2px 0 0;
        position: relative;
        margin-bottom: -2px;
        z-index: 2;

        @media(max-width: @screen-xs-max) {
            height: 135px;
        }
    }

    .fc-day-number {
        @media screen and (min-width: @screen-sm-max) {
            font-size: 20px;
            letter-spacing: -2px;
        }

        padding-left: 10px;
        float: left;

    }

    .fc-day-header {
        text-align: left;
    }

    .fc-day-grid-event {
        margin: 1px 9px 0;
    }
}


// Calendar Widget
.widget-calendar {
    td, th {
        border-color: transparent;
    }

    .fc-toolbar {
        h2 {
            font-size: 16px;
        }
    }

    .fc-basic-view .fc-day-number {
        text-align: center;
    }

    .fc-day-grid-event {
        margin: 1px 3px 1px;

    }

    .ui-widget-header th,
    .ui-widget-header {
        border-width: 0;
    }
}


//Main Calendar Seasonal headers
[data-calendar-month] {
    .bg-cover-inline();
    .transition(all);
    .transition-duration(300ms);
}

[data-calendar-month="0"] { background-image: url('../img/calendar/january.jpg'); }
[data-calendar-month="1"] { background-image: url('../img/calendar/february.jpg'); }
[data-calendar-month="2"] { background-image: url('../img/calendar/march.jpg'); }
[data-calendar-month="3"] { background-image: url('../img/calendar/april.jpg'); }
[data-calendar-month="4"] { background-image: url('../img/calendar/may.jpg'); }
[data-calendar-month="5"] { background-image: url('../img/calendar/june.jpg'); }
[data-calendar-month="6"] { background-image: url('../img/calendar/july.jpg'); }
[data-calendar-month="7"] { background-image: url('../img/calendar/august.jpg'); }
[data-calendar-month="8"] { background-image: url('../img/calendar/september.jpg'); }
[data-calendar-month="9"] { background-image: url('../img/calendar/october.jpg'); }
[data-calendar-month="10"] { background-image: url('../img/calendar/november.jpg'); }
[data-calendar-month="11"] { background-image: url('../img/calendar/december.jpg'); }
