﻿#FrequencyCalendar thead.Monday td:nth-of-type(1):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(7):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(6):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(5):before,
#FrequencyCalendar thead.Friday td:nth-of-type(4):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(3):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(2):before {
    content: "M";
}

#FrequencyCalendar thead.Monday td:nth-of-type(2):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(1):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(7):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(6):before,
#FrequencyCalendar thead.Friday td:nth-of-type(5):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(4):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(3):before {
    content: "Tu";
}

#FrequencyCalendar thead.Monday td:nth-of-type(3):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(2):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(1):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(7):before,
#FrequencyCalendar thead.Friday td:nth-of-type(6):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(5):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(4):before {
    content: "W";
}

#FrequencyCalendar thead.Monday td:nth-of-type(4):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(3):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(2):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(1):before,
#FrequencyCalendar thead.Friday td:nth-of-type(7):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(6):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(5):before {
    content: "Th";
}

#FrequencyCalendar thead.Monday td:nth-of-type(5):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(4):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(3):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(2):before,
#FrequencyCalendar thead.Friday td:nth-of-type(1):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(7):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(6):before {
    content: "F";
}

#FrequencyCalendar thead.Monday td:nth-of-type(6):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(5):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(4):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(3):before,
#FrequencyCalendar thead.Friday td:nth-of-type(2):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(1):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(7):before {
    content: "Sa";
}

#FrequencyCalendar thead.Monday td:nth-of-type(7):before,
#FrequencyCalendar thead.Tuesday td:nth-of-type(6):before,
#FrequencyCalendar thead.Wednesday td:nth-of-type(5):before,
#FrequencyCalendar thead.Thursday td:nth-of-type(4):before,
#FrequencyCalendar thead.Friday td:nth-of-type(3):before,
#FrequencyCalendar thead.Saturday td:nth-of-type(2):before,
#FrequencyCalendar thead.Sunday td:nth-of-type(1):before {
    content: "Su";
}

@media all and (min-width:41em) {

    /*****CALENDAR*****/

    #FrequencyCalendar thead td {
        text-transform: uppercase;
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(1):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(7):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(6):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(5):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(4):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(3):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(2):before {
        content: "Mon";
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(2):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(1):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(7):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(6):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(5):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(4):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(3):before {
        content: "Tues";
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(3):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(2):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(1):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(7):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(6):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(5):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(4):before {
        content: "Wed";
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(4):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(3):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(2):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(1):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(7):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(6):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(5):before {
        content: "Thurs";
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(5):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(4):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(3):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(2):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(1):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(7):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(6):before {
        content: "Fri";
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(6):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(5):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(4):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(3):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(2):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(1):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(7):before {
        content: "Sat";
    }

    #FrequencyCalendar thead.Monday td:nth-of-type(7):before,
    #FrequencyCalendar thead.Tuesday td:nth-of-type(6):before,
    #FrequencyCalendar thead.Wednesday td:nth-of-type(5):before,
    #FrequencyCalendar thead.Thursday td:nth-of-type(4):before,
    #FrequencyCalendar thead.Friday td:nth-of-type(3):before,
    #FrequencyCalendar thead.Saturday td:nth-of-type(2):before,
    #FrequencyCalendar thead.Sunday td:nth-of-type(1):before {
        content: "Sun";
    }
}
