/* Featured Video */
.commencementLivestreams__featured {
    width: 100%;
    padding: 49px 100px;
    display: flex;
    background-color: #FFFFFF;
}

.liveStream__hideDates .commencementLivestreams__featured {
    padding: 50px 0;
    flex-wrap: wrap;
}

/* .commencementLivestreams__featured.countdown .commencementLivestreams__featured--alternate,
.commencementLivestreams__featured.countdown .liveStream__embed, */
.commencementLivestreams__featured .liveStream__overlay {
    display: none;
}

.liveStream__embedContainer {
    position: relative;
}

.commencementLivestreams__featured.countdown .liveStream__overlay{
    display: inline-flex;
    position: absolute;
    height: 100%;
    width: 100%;
}

.commencementLivestreams__featured .liveStream__overlayImage {
    max-height: 458px;
}

.commencementLivestreams__featured--right {
    padding-left: 32px;
    width: 25.2%;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.commencementLivestreams__featured--left {
    max-width: 845px;
    max-height: 458px;
    height: 100%;
    width: 58.7%;
    background: linear-gradient(0deg, rgba(10, 23, 51, 0.8), rgba(10, 23, 51, 0.8));
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 1;
}

.liveStream__hideDates.commencementLivestreams__featured {
    flex-wrap: wrap;
}

.liveStream__hideDates .commencementLivestreams__featured--left,
.liveStream__hideDates .commencementLivestreams__featured--right {
    max-width: unset;
    width: 100%;
    padding-left: 0px;
}

.commencementLivestreams__featured--left iframe {
    width: 100%;
    height: 100%;
}

.commencementLivestreams__featured--top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 0px 24px;
    gap: 16px;
    width: 100%;
    min-height: 137px;
    height: fit-content;
    border-bottom: 1px solid #D4D6D7;
    color: #242425;
}

.commencementLivestreams__featured--title {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 700;
    font-size: 29.76px;
    line-height: 130%;
}

.commencementLivestreams__featured--location {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.commencementLivestreams__featured--bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 24px;
}

.commencementLivestreams__featured--alternate {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    gap: 8px;
    background: #F2F8FF;
    border-radius: 2px;
    width: 329px;
    height: 40px;
}

.liveStream__streamToggle {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #242425;
}

/* Countdown */
.liveStream__remaining {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 16px;
    background: linear-gradient(0deg, rgba(10, 23, 51, 0.8), rgba(10, 23, 51, 0.8));
    height: 100%;
}

.liveStream__remaining span {
    font-family: 'PT Serif';
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
}

.timerBlocks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 32px;
}

.timerBlock {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #FFFFFF;
}

.timerBlock .mainText {
    width: 75px;
    height: 75px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    font-size: 64px;
    line-height: 75px;
    text-align: center;
    color: #FFFFFF;
}

/* Livestream */
.commencementLivestreams__ceremonies {
    background-color: #F8FAFB;
    padding: 32px 100px 64px;
    border-top: 1px solid #D4D6D7;
}

.liveStream__hideDates .commencementLivestreams__ceremonies {
    padding: 32px 20px 64px;
}

.commencementLivestreams,
.commencementLivestreams__ceremonies {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.commencementLivestream__heading {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 24px;
}

h2.commencementLivestream__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    color: #242425;
}

.commencementLivestream__heading a {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.commencementLivestream__currentStreams {
    margin-top: 32px;
}

.commencementLivestream__previousStreams {
    margin-top: 64px;
}

.pb1 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    margin: 36px 0px 20px;
}

/* Previous Years Ceremonies */

.commencementLivestream__videoContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-between;
    gap: 8px;
}

.commencementLivestream__videoContainer.commencementLivestream__videoContainer--all {
    margin-top: 1rem;
}

.commencementLivestream__previousYears {
    margin-top: 104px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.commencementLivestream__previousYears a {
    padding: 0px 18px;
    color: #0059C0;
}

/* Search Bar */
#livestreamSearch {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 8px;
    width: 360px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #D4D6D7;
    border-radius: 4px;
    color: #747676;
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    position: relative;
}

input#ariaLiveArea {
    display: none;
}

input#livestreamSearch__input {
    padding-left: 20px;
    width: 100%;
    border: none;
    height: 46px;
}

input#livestreamSearch__input:focus {
    outline: 1px solid #0059C0;
    box-shadow: 0px 0px 2px 2px #0059C0;
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0px 30px;
}

button.livestreamSearch__submit.icon- {
    background-color: transparent;
    position: absolute;
    display: block;
    left: 0;
    height: 100%;
    width: 33px;
    cursor: pointer;
}

/* Livestream Card */
.hideLivestream,
.commencementLivestream__card.hideLivestream {
    display: none;
}

.commencementLivestream__card {
    display: flex;
    flex-direction: row;
    padding: 16px;
    gap: 16px;
    border: solid 1px #E5EAEB;
    align-items: center;
    background-color: #FFFFFF;
    font-size: 16px;
    flex:0 1 calc(50% - 4px);
    cursor: pointer;
}

.commencementLivestream__card:hover {
    background-color: #F8FAFB;
}

.commencementLivestream__card.liveStream__activeCard {
    border: solid 2px #0968D9;
}

.commencementLivestream__card .playIcon {
    background-color: #0968D9;
    color: #FFFFFF;
    border-radius: 50%;
    height: 20px;
    width: 20px;
}

.commencementLivestream__card.live .commencementLivestream__card--live {
    display: flex;
}

.commencementLivestream__card--left {
    width: fit-content;
    pointer-events: none;
}

.commencementLivestream__card.countdown .commencementLivestream__card--left {
    display: none;
}

.commencementLivestream__card--right {
    width: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.commencementLivestream__card--title{
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #242425;
    align-self: stretch;
}

.commencementLivestream__card--info{
    display: flex;
    gap: 8px;
    text-transform: uppercase;
    padding-top: 6px;
}

.commencementLivestream__card--live {
    background: #AE0023;
    border-radius: 2px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    width: 35px;
    height: 16px;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.commencementLivestream__card--time {
    color: #747676;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}
/* Extended Styles */
@media( min-width: 1600px ) {
    .commencementLivestreams__featured--left {
        max-width: unset;
        max-height: unset;
    }
}

/* Mobile Styles */
@media( max-width: 1024px ) {
    .commencementLivestreams__featured {
        flex-wrap: wrap;
    }
    .commencementLivestream__card {
        flex: 100%;
    }
    .commencementLivestreams__featured--left,
    .commencementLivestreams__featured--right {
        max-width: unset;
        width: 100%;
        padding-left: 0px;
    }
    .commencementLivestreams__featured--bottom {
        height: auto;
    }
    .commencementLivestreams__featured--right {
        padding-top: 24px;
    }
    .commencementLivestreams__featured--top {
        min-height: fit-content;
    }
}
@media( max-width: 900px ) {
    .commencementLivestreams__featured--left,
    .liveStream__embedContainer iframe,
    .liveStream__embedContainer,
    .liveStream__embed,
    .liveStream__embed.liveStream__embed--active {
        height: 236px;
        padding-bottom: 0px;
    }
    .commencementLivestreams__featured {
        padding: 0px;
    }
    .commencementLivestream__card {
        flex: 0 1 calc(50% - 4px);
    }
    .commencementLivestreams__ceremonies {
        padding: 24px 16px 0px;
    }
    .commencementLivestreams__featured--top {
        height: auto;
        min-height: fit-content;
    }
    .commencementLivestreams__featured--bottom  {
        height: auto;
        padding-bottom: 32px;
    }
    .commencementLivestreams__featured--right {
        padding: 66px 16px 0px;
        height: fit-content;
    }
    #livestreamSearch {
        width: 100%;
    }
    .commencementLivestream__currentStreams {
        margin-top: 36px;
    }

    .commencementLivestream__previousStreams {
        margin-top: 40px;
    }
    .commencementLivestream__heading {
        justify-content: space-between;
    }
    .commencementLivestream__previousYears {
        margin: 40px 0px;
        align-items: center;
        justify-content: center;
    }
}
@media( max-width: 800px ) {
    .commencementLivestreams__featured--right {
        padding: 16px 16px 0px;
    }
    .commencementLivestreams__featured--alternate {
        width: 100%;
    }
}
@media( max-width: 750px ) {
    .commencementLivestreams__ceremonies {
        padding: 16px 0px 0px;
    }
    .commencementLivestream__videoContainer {
        gap: 0px;
    }
    .pb1,
    .commencementLivestream__heading,
    .livestreamSearch__wrapper {
        padding: 0px 16px;
    }
    h2.commencementLivestream__title {
        margin-bottom: 12px;
    }
    .pb1 {
        margin: 12px 0px;
    }
    .commencementLivestream__card {
        flex: 100%;
    }
}
@media( max-width: 500px ) {
    .liveStream__remaining span {
        font-size: 20px;
        line-height: 26px;
    }
    .timerBlocks {
        display: flex;
        gap: 12px;
    }
    .timerBlock {
        font-size: 14px;
        line-height: 16px;
        margin: 0px;
    }
    .timerBlock .mainText {
        font-size: 48px;
        line-height: 56px;
    }
}

.liveStream__date {
    font-size: 1rem;
}
