body.path-calendar div .grid-container {
    margin-left: auto;
}

.calendar-view-table {
    padding: 0;
    position: relative;
}

.calendar-view-table .calendar-view-day {
    padding: 0;
}

.calendar-view-table td .calendar-view-day__number,
.calendar-view-table .previous-month .calendar-view-day__number {
    padding: 0;
    background: none;
    font-size: 16px;
    color: #cc9;
}

.calendar-view-table td:not(.empty) .calendar-view-day__number,
.calendar-view-table td:not(.empty) .previous-month .calendar-view-day__number {
    font-weight: bold;
    color: #005297;
    cursor: pointer;
}

.calendar-view-day__rows li {
    background: #ffc !important;
    width: auto;
    padding: 0 3px;
    list-style: none;
}

.calendar-view-day__rows li a {
    font-weight: bold;
    color: #005297;
}

.calendar-view-pager {
    position: absolute;
    top: -6.5rem;
    right: 0;
    list-style: none;
}

.calendar-view-pager li {
    padding: 0 10px;
}

.calendar-view-pager li a {
    padding: 0 10px;
}

.calendar-view-pager__reset,
.calendar-view-pager .pager__current {
    display: none;
}

.calendar-view-table caption {
    all: unset;

    position: absolute;
    top: -5rem;
    margin-left: 14em;
    font-size: 2em !important;
}

/* .tabs-primary {
    overflow: hidden;
    background-size: 100%;
    list-style: none;
    border-bottom: 1px solid #bbb;
    margin: 1.25em 0;
    padding: 0 2px;
    white-space: nowrap;
}

.tabs-primary__tab.is-active {
    border-bottom-color: #fff;
    float: left;
    margin: 0 3px;
}

a.tabs-primary__tab-link,
a.tabs-primary__tab-link.is-active {
    border: 1px solid #e9e9e9;
    border-right: 0;
    border-bottom: 0;
    display: block;
    line-height: 1.25em;
    text-decoration: none;
    font-weight: bold;
    color: #005297;
}

.tabs-primary__tab,
.tabs-primary__tab.is-active {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-shadow: 1px 1px 0 #fff;
    border: 1px solid #bbb;
    border-bottom-color: transparent;
    border-bottom: 0;
}

a.tabs-primary__tab-link:hover,
a.tabs-primary__tab-link:focus {
    background-color: #e9e9e9;
    border-color: #f2f2f2;
}

a.tabs-primary__tab-link:active,
a.tabs-primary__tab-link.is-active {
    background-color: transparent;
    background-size: 100%;
    border-color: #fff;
    font-weight: bold;
    color: #005297;
} */


/* Primary and Secondary Tabs Containers */
body.path-calendar .tabs-primary, .tabs-secondary {
    overflow: hidden;
    list-style: none;
    margin: 1.25em 0;
    padding: 0 0px;
    white-space: nowrap;
    border-bottom: 1px solid #bbb;
    background-image: linear-gradient(to top, #bbbbbb 1px, rgba(0, 0, 0, 0) 1px);
}

/* Primary Tabs */
.tabs-primary__tab, .tabs-primary__tab.is-active {
    float: left;
    margin: 0 3px;
}

a.tabs-primary__tab-link, a.tabs-primary__tab-link.is-active {
    display: block;
    line-height: 1.25em;
    text-decoration: none;
    color: #333;
    background-color: #dedede;
    letter-spacing: 1px;
    padding: 0 1em;
    text-align: center;
    border: 1px solid #e9e9e9;
    border-right: 0;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    transition: background-color 0.3s;
}

a.tabs-primary__tab-link:hover, a.tabs-primary__tab-link:focus {
    background-color: #e9e9e9;
    border-color: #f2f2f2;
}

a.tabs-primary__tab-link.is-active {
    background-color: #fff;
    border-color: #fff;
}

/* Active Tab for Primary Tabs */
.tabs-primary__tab.is-active a {
    background-color: #fff;
    border-bottom-color: transparent;
}

/* Secondary Tabs */
.tabs-secondary {
    font-size: 0.9em;
    margin-top: -1.25em;
}

.tabs-secondary__tab, .tabs-secondary__tab.is-active {
    margin: 0.625em 3px;
}

a.tabs-secondary__tab-link, a.tabs-secondary__tab-link.is-active {
    border-radius: 0.75em;
    text-shadow: 1px 1px 0 #fff;
    background-color: #f2f2f2;
    color: #666;
    padding: 0 0.5em;
    transition: background-color 0.3s;
}

a.tabs-secondary__tab-link:hover, a.tabs-secondary__tab-link:focus {
    background-color: #dedede;
    border-color: #999;
    color: #333;
}

a.tabs-secondary__tab-link.is-active {
    background-color: #666;
    color: #fff;
}



#block-tslac-mainpagecontent {
    margin-left: 2em;
}

#block-tslac-calendar {
    margin-top: -1.5em;
    margin-left: 0em;
}

#block-tslac-calendar h2 {
    font-size: 2em;
}

.usa-breadcrumb__list {
    margin-top: -3em;
    margin-left: 2em;
}

.month-view {
    padding-right: 5px;
}

.date-heading {
    font-weight: bold;
    color: #005297;
}

/* Reset existing styles */
.calendar-calendar td div.day,
.calendar-calendar div.day {
    all: unset;
}

.calendar-calendar div.day {
    float: left;
    text-align: left;
    padding: 1em;
    margin: 1em;
    background-color: #e0e0e0;
    border: 2px solid #000;
}

.past-month .year.day {
    display: none;
}
.future-month {
    display: none;
}
.has-events {
    cursor: pointer;
    color: #005297 !important;
    font-weight: bold;
    text-decoration: underline;
}

.has-events:hover {
    text-decoration: none;
}

.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.js-pager__items {
    width: 100%;
}

.js-pager__items > li > a {
    text-decoration: none;
}

.pager__item.pager__item--previous {
    float: right;
    margin-right: 5em;
    margin-top: 3.8em;
}

.pager__item.pager__item--next {
    float: right;
    margin-top: 2em;
    margin-right: -9em;
}

li.pager__item.pager__item--current {
    margin-bottom: 4px;
}

.pager__item--current h2 {
    text-align: center;
    margin: 0 4em;
    font-size: xx-large;
}

.pager__item--previous a span[aria-hidden="true"],
.pager__item--next a span[aria-hidden="true"] {
    display: none;
}

#single-day-container {
  height: 20em;
}

.view_calendar_header_raw_date {
    font-size: 1.7em;
    font-weight: bold;
}

.year-calendar-view .pager__item--previous {
    margin-top: 5.6em !important;
}

.calendar-calendar .day-view #single-day-container {
    height: 500px !important;
}