.olam-financial-calendar {
    background-color: var(--olam-dark-blue);
    padding: 30px 20px;
}

.olam-financial-calendar .olam-financial-calendar__title {
    margin-bottom: 20px;
    text-align: center;
}

.olam-financial-calendar .olam-financial-calendar__title,
.olam-financial-calendar__events-category,
.olam-financial-calendar__events-wrapper,
.olam-financial-calendar__events-wrapper__action-content {
    color: var(--olam-white);
}

.olam-financial-calendar__events-category {
    margin-bottom: 30px;
}

.olam-financial-calendar__events-category ul {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    list-style: none;
    margin: 0;
}

.olam-financial-calendar__events-category ul li {
    border-bottom: 1px solid var(--olam-white);
    flex-grow: 1;
    margin: 0;
    cursor: pointer;
    padding-bottom: 7px;
    line-height: 18px;
}

.olam-financial-calendar__events-category ul li span {
    padding: 0px 22px 7px 22px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 18px;
}

.olam-financial-calendar__events-category ul li.active {
    border-bottom: 2px solid var(--olam-light-green);
    font-weight: bold;
}

.olam-financial-calendar__events__container {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.olam-financial-calendar__events-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.olam-financial-calendar__events-wrapper__action ul {
    display: flex;
    flex-direction: row-reverse;
    column-gap: 23px;
    list-style: none;
    margin: 0;
}

.olam-financial-calendar__events-wrapper__action ul li {
    margin: 0;
}

.olam-financial-calendar__events-wrapper-date {
    margin-bottom: 10px;
    min-width: 191px;
    font-size: 14px;
    line-height: 11px;
}

.olam-financial-calendar__events-wrapper-title {
    margin-bottom: 20px;
    line-height: 18px;
}

.olam-financial-calendar__events-wrapper__action-content {
    padding: 0;
    vertical-align: bottom;
    position: relative;
    top: 4px;
    left: 2px;
}

.olam-financial-calendar__events-wrapper__action-content::after {
    color: var(--olam-white);
}

.olam-financial-calendar__events-wrapper-title span {
    font-weight: bold;
}

.olam-financial-calendar__events-wrapper__action-calendar {
    line-height: 11px;
}

.olam-financial-calendar__events-wrapper__action-calendar-asset {
    width: 150px
}

.pagination-items-financial-calendar .pagination-item+.active {
    min-width: 32px;
    width: auto;
    height: 32px;
    border: solid 3px var(--olam-light-green);
}

.pagination-items-financial-calendar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-items-financial-calendar .pagination-item,
.pagination-items-financial-calendar .pagination-item a {
    display: inline-block;
    min-width: 30px;
    width: auto;
    height: 26px;
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    color: var(--olam-white);
    cursor: pointer;
    padding: 0 4px;
    margin: 0;
}

.pagination-wrapper-report {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 0px;
}

.prev-event .olam-financial-calendar__events-wrapper-title {
    margin-bottom: 0;
}

.prev-event .olam-financial-calendar__events-wrapper__action {
    display: none;
}

/* @media only screen and (max-width: 1200px) {
    .olam-financial-calendar__events-category ul li {
        border-color: var(--olam-sliver-sand);
    }
} */

@media only screen and (min-width: 768px) {
    .olam-financial-calendar {
        padding: 80px 0;
    }

    .olam-financial-calendar .olam-financial-calendar__title {
        margin-bottom: 40px;
        line-height: 42px;
    }

    .olam-financial-calendar__events__container {
        row-gap: 25px;
        align-items: flex-start;
    }

    .olam-financial-calendar__events-wrapper {
        flex-direction: row;
        align-items: center;
        column-gap: 10px;
    }

    .olam-financial-calendar__events-wrapper-date {
        flex-grow: 1;
        max-width: 200px;
        margin: 0;
    }

    .olam-financial-calendar__events-wrapper-title {
        flex-grow: 1;
        max-width: 625px;
        margin: 0;
    }

    .olam-financial-calendar__events-wrapper__action ul {
        flex-direction: row;
    }

    .olam-financial-calendar__events-category ul li span {
        line-height: 30px;
        padding: 0 10px 20px 0px;
        display: inline-block;
    }

    .olam-financial-calendar__events-category ul li {
        position: relative;
        bottom: -2px;
    }

    .olam-financial-calendar__events-category ul li:first-child,
    .olam-financial-calendar__events-category ul li.active {
        max-width: 145px;
    }

    .olam-financial-calendar__events-category ul li:last-child {
        max-width: 200px;
    }

    .olam-financial-calendar__events-category ul li:last-child span {
        padding-left: 23px;
        padding-right: 0px;
    }

    .olam-financial-calendar__events-category ul li.active span {
        font-weight: bold;
    }

    .olam-financial-calendar__events-category ul {
        border-bottom: 2px solid var(--olam-white);
        justify-content: flex-start;
        align-items: baseline;
    }

    .olam-financial-calendar__events-category ul li {
        border: none;
    }

    .olam-financial-calendar__events-category ul li.active {
        border-bottom: 4px solid var(--olam-light-green);
    }

    .olam-financial-calendar__events-wrapper__action ul {
        column-gap: 48px;
    }

    .olam-financial-calendar__events-wrapper-title {
        max-width: 280px;
    }

    .olam-financial-calendar__events-category ul li {
        padding-bottom: 0;
    }

    .prev-event .olam-financial-calendar__events-wrapper {
        justify-content: flex-start;
        column-gap: 10px;
    }

    .prev-event .olam-financial-calendar__events-wrapper-title {
        max-width: 100%;
    }

    .prev-event .olam-financial-calendar__events-wrapper-date, .olam-financial-calendar__events-wrapper-date {
        max-width: 157px;
        min-width: 157px;
    }
    
}

@media only screen and (min-width: 1200px) {
    .olam-financial-calendar__events-category ul li span {
        font-size: 2rem;
    }
    .olam-financial-calendar__events-wrapper-date span {
        font-size: 2rem;
        line-height: 28px;
        min-width: 185px;
    }

    .olam-financial-calendar__events-wrapper-title span {
        font-size: 22px;
        line-height: 26px;
    }

    .upcoming-event .olam-financial-calendar__events-wrapper-title {
        max-width: 712px;
        min-width: 712px;
        margin-right: 16px;
    }

    .olam-financial-calendar__events-wrapper {
        column-gap: 0px;
        justify-content: flex-start;
    }

    .olam-financial-calendar__events-category ul li:first-child,
    .olam-financial-calendar__events-category ul li.active {
        max-width: 178px;
    }

    .olam-financial-calendar__events-wrapper-date {
        font-size: 2rem;
        line-height: 28px;
    }

    .prev-event .olam-financial-calendar__events-wrapper-date, .olam-financial-calendar__events-wrapper-date {
        max-width: 191px;
        min-width: 191px;
    }
    
    .olam-financial-calendar__events__container {
        align-items: inherit;
    }

    .upcoming-event .olam-financial-calendar__events-wrapper__action ul li:first-child {
        display: none;
    }

    .upcoming-event .olam-financial-calendar__events-wrapper-date {
        margin-right: 10px;
    }
}

@media only screen and (min-width: 1600px) {
    .olam-financial-calendar .olam-financial-calendar__title {
        margin-bottom: 30px;
    }

    .olam-financial-calendar__events-category ul li span {
        font-size: 2.2rem;
    }

    .olam-financial-calendar__events-category ul li:first-child,
    .olam-financial-calendar__events-category ul li.active {
        max-width: 205px;
    }

    .olam-financial-calendar__events-wrapper {
        justify-content: flex-start;
    }

    .olam-financial-calendar__events-wrapper-date {
        max-width: 230px;
    }

    .olam-financial-calendar__events-wrapper-date span {
        font-size: 2.2rem;
    }

    .olam-financial-calendar__events-wrapper-title span {
        font-size: 2.4rem;
        line-height: 28px;
    }

    .olam-financial-calendar__events-wrapper-title {
        max-width: 955px;
    }

    .olam-financial-calendar__events-wrapper__action ul {
        column-gap: 45px;
    }

    .olam-financial-calendar__events-wrapper-title {
        max-width: 936px;
    }

    .olam-financial-calendar__events-wrapper-date {
        font-size: 2.2rem;
    }

    .prev-event .olam-financial-calendar__events-wrapper-date, .olam-financial-calendar__events-wrapper-date {
        max-width: 220px;
        min-width: 220px;
    }

    .olam-financial-calendar .olam-container {
        max-width: 1364px;
    }

    .upcoming-event .olam-financial-calendar__events-wrapper-title {
        max-width: 965px;
        min-width: 965px;
    }
}

.theme-grey {
    background-color: var(--olam-light-grey);
}

.theme-grey .olam-financial-calendar__title,
.theme-grey .olam-financial-calendar__events-category,
.theme-grey .olam-financial-calendar__events-wrapper,
.theme-grey .olam-financial-calendar__events-wrapper__action-content,
.theme-grey .olam-financial-calendar__events-wrapper__action-content::after {
    color: var(--olam-dark-blue);
}

.theme-grey .olam-financial-calendar__events-category ul,
.theme-white .olam-financial-calendar__events-category ul {
    border-color: var(--olam-sliver-sand);
}

.theme-white {
    background-color: var(--olam-white);
}

.theme-white .olam-financial-calendar__title,
.theme-white .olam-financial-calendar__events-category,
.theme-white .olam-financial-calendar__events-wrapper,
.theme-white .olam-financial-calendar__events-wrapper__action-content,
.theme-white .olam-financial-calendar__events-wrapper__action-content::after {
    color: var(--olam-dark-blue);
}

.theme-grey .pagination-items-financial-calendar .pagination-item,
.theme-white .pagination-items-financial-calendar .pagination-item {
    color: var(--olam-cold-grey);
}

.olam-financereport-norecord {
    color: var(--olam-white);
}

.theme-grey .olam-financereport-norecord, .theme-white .olam-financereport-norecord {
    color: var(--olam-dark-blue);
}