:root {
    --bs-primary: #5c604a;
    --body-text-color: #383838;
    --body-font: "Minion Pro Regular", serif;
    --header-font: "Merriweather", serif;
    --body-font-weight: 300;
    --yellow: #f5ce67;
    --green: #006837;
    --light-green: #6ab12c;
    --green-text: #39b54a;
    --highlight: #fff269;
}

html,
body {
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
    height: 100%;
}

html {
    overflow: auto;
}

body {
    background-color: #fff8ee;
    color: var(--body-text-color);
    font-weight: var(--body-font-weight);
    font-family: var(--body-font);
    /* overflow: auto;
    position: relative;
    height: 100%; */
}

body.modal-open {
    overflow: visible;
}

section {
    scroll-margin: 5rem;
}

.section-divider {
    width: 100%;
    height: 15px;
    background-color: #d1beaa;
    display: block;
}

.section-divider.green {
    background-color: #22b573;
}

.sub-section-divider {
    border-bottom: 2px dotted #998675;
    margin: 2rem auto;
}

.yellow-text {
    color: var(--yellow);
}

.green-text {
    color: var(--green);
}

.green-text2 {
    color: #39b54a;
}

.header-font {
    font-family: var(--header-font);
}

.text-link:visited,
.text-link:link {
    color: var(--green-text) !important;
}

.text-link:hover {
    color: var(--green) !important;
}


.btn-rounded {
    border-radius: 2rem;
    padding: .5rem 2rem;
}

.btn-green {
    background-color: var(--light-green);
    color: #FFF;
}

.btn-green:hover {
    background-color: var(--green);
    color: #FFF;
}

.btn-dark-green {
    background-color: var(--green);
    color: #FFF;
}

.btn-dark-green:hover {
    background-color: var(--light-green);
    color: #FFF;
}

.btn-outline-green {
    border: 1px solid var(--green);
    color: var(--green);
    background-color: transparent;
}

.btn-outline-green:hover {
    color: #FFF;
    background-color: var(--green);
}

strong {
    font-weight: 700;
}

.dotted-line {
    margin: 0.5rem auto;
    border-bottom: 2px dotted var(--body-text-color);
}

.dotted-line.white {
    border-bottom: 2px dotted #FFF;
}

.dotted-line.grey {
    border-bottom: 2px dotted #8c8c8c;
}

.black-overlay {
    background-color: rgba(51, 51, 51, .6);
    content: " ";
    display: block;
    height: 100%;
    width: 100%;
}

/******** Navbar **********/

.navbar-wrap {
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
}

.navbar-position {
    position: absolute;
}

.navbar {
    background-color: rgba(255, 255, 255, 0);
    transition: all .7s;
}

.navbar.expanded,
.navbar.sticky {
    background-color: rgba(255, 255, 255, 1);
}

.nav-item {
    min-width: 7rem;
    text-align: center;
}

.nav-item.has-dropdown>a {
    display: inline-block;
    padding-right: 0.5rem !important;
}

.nav-item.has-dropdown i {
    padding: 0 0.5rem;
    transform-origin: center;
    transition: all .5s;
}

.nav-item.has-dropdown:hover i {
    transform: rotate(180deg);
    /* padding-right: 1rem;
    padding-left: 0; */
}

.nav-item.has-dropdown .dropdown-menu {
    display: block;
    border: none;
    transition: all .3s;
    margin: .5rem 0 0;
    padding: 0 0;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    background-color: #fff8ee;
    transform: translateY(20%);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    /* margin:.5rem 0 0; */
    opacity: 1;
    visibility: visible;
    transform: translateY(-10%);
}

.navbar.expanded .nav-item.has-dropdown:hover .dropdown-menu,
.navbar.sticky .nav-item.has-dropdown:hover .dropdown-menu {
    margin: 1.25rem 0 0;
}

.nav-item.has-dropdown .dropdown-menu a {
    display: block;
    text-align: start;
    padding: 1rem .5rem 0;
    text-decoration: none;
    color: var(--bs-primary);
    transition: all .3s;
}

.nav-item.has-dropdown .dropdown-menu li:last-child a {
    padding-bottom: 1rem;
}


.nav-item.has-dropdown .dropdown-menu a:hover {
    color: var(--light-green);
}

@media (max-width: 576px) {
    .nav-item {
        min-width: 7rem;
        text-align: start;
    }

    .navbar {
        transition: all .25s;
    }

    .nav-item.has-dropdown .dropdown-menu {
        display: none;
        border: none;
        transition: all .3s;
        margin: 0.5rem 0 0 1rem;
        padding: 0;
        opacity: 1;
        visibility: visible;
        border-radius: 0;
        height: 0;
        transform: translateY(0);
    }

    .nav-item.has-dropdown.expand .dropdown-menu {
        height: auto;
        display: block;
        margin: 0.5rem 0 0 1rem;
    }

    .nav-item.has-dropdown.expand i {
        transform: rotate(180deg);
    }
}

.custom-navbar {
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.sticky .custom-navbar {
    justify-content: end;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.custom-navbar a {
    text-transform: capitalize;
    /* border-top: 10px solid; */
    /* border-color: transparent; */
    transition: all .7s;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    font-size: 16px;
}

.sticky .custom-navbar a {
    font-size: 14px;
}

@media (min-width: 577px) and (max-width: 1200px) {
    .custom-navbar a {
        font-size: 14px;
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }
}

.navbar-brand {
    display: none;
    margin-left: 1rem;
    margin-top: .5rem;
    max-width: 300px;
}

.sticky .navbar-brand {
    display: block;
}

@media (min-width: 993px) and (max-width: 1439px) {
    .navbar-brand {
        max-width: 180px;
    }

}

@media (max-width: 992px) {
    .navbar-brand {
        /* margin-right:auto; */
        display: block;
        opacity: 0;
        margin-bottom: 0.5rem;
        max-width: 240px;
        transition: all .7s;
    }

    .expanded .navbar-brand,
    .sticky .navbar-brand {
        opacity: 1;
    }

    .sticky .custom-navbar a,
    .expanded .custom-navbar a {
        font-size: 16px;
    }

    .navbar-collapse {
        background-color: #FFF;
    }

    .custom-navbar {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

}

.navbar-toggler {
    border: none;
    margin: 1rem;
}

.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* .custom-navbar a:link,
.custom-navbar a:visited {
    color: white;
} */

.custom-navbar a:hover {
    color: var(--green);
}

.custom-navbar a.active {
    /* border-color: var(--yellow); */
    color: var(--green) !important;
    font-weight: 800;
    /* font-style: italic; */
}

.hamburger-icon {
    cursor: pointer;

}

.hamburger-icon rect {
    transition: all .3s ease-in-out;
}

.hamburger-icon.active rect {
    fill: var(--green);
}

.hamburger-icon.active .top,
.hamburger-icon.active .bottom {
    transform-origin: center;
}

.hamburger-icon.active .top {
    transform: rotate(45deg) translate(0, 20px);
}

.hamburger-icon.active .bottom {
    transform: rotate(-45deg) translate(0, -20px);
}

.hamburger-icon.active .middle {
    opacity: 0;
}

/******** End of Navbar **********/

/******** Header **********/

.header {
    height: 100%;
    width: 100%;
    background-image: url('../images/hero-video-poster.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 576px) {
    .header {
        background-image: url('../images/header-video-mobile-poster.png');
    }
}

/******** End of Header **********/

/*********** Video Overlay *************/
.video-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    /* border: 1px solid red; */
    top: 0;
    left: 0;

    /* background: url("../images/hero-video-jewel-poster.png") no-repeat;
    background-size: cover; */
}

video {
    object-fit: cover;
    /* object-position: top; */
    width: 100%;
    height: 100%;
}

/* @media (max-width: 576px) {
    video {
        object-position: bottom;
    }
} */
.header-logo {
    width: 80%;
    max-width: 700px;
    height: auto;
    position: absolute;
    top: 20%;
    z-index: 2;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-height: 700px) {
    .header-logo {
        max-width: 560px;
    }
}


@media (max-width: 992px) {
    .header-logo {
        top: 20%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        max-width: 560px;
    }

    .header-logo img {
        width: 295px;
    }
}

.event-date-mobile {
    margin-top: 1rem;
    text-align: center;
    font-size: 24px;
    font-weight: 300px;
    color: #603813;
}

/*********** End of Video Overlay *************/


/*********** Mobile Menu ***********/

@media (max-width: 991px) {
    body:has(#navbarNav.show) {
        overflow: hidden;
    }

    #navbarNav {
        width: 100% !important;
        min-width: 100% !important;
        height: 95vh !important;
        overflow-y: scroll !important;
        padding: 0 1rem 1rem !important;
        margin: .5rem auto 0 !important
    }

    .navbar-nav {}

    .nav-link,
    .dropdown-nav-link {
        text-align: center !important;
    }

    .nav-item.has-dropdown>a {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .dropdown-toggle::after,
    .has-dropdown i {
        display: none;
    }

    .nav-item .dropdown-menu,
    .nav-item.has-dropdown .dropdown-menu {
        display: block !important;
        height: auto !important;
        border: 0 !important;
        background: transparent !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav-item:not(:last-child) {
        border-bottom: 1px solid var(--primary-light);
    }

    .navbar-nav li,
    .nav-item {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .nav-item.has-dropdown .dropdown-menu,
    .nav-item.has-dropdown.expand .dropdown-menu {
        margin: 0 !important;
    }

    .navbar-nav li a,
    .nav-item.has-dropdown .dropdown-menu a {
        text-align: center !important;
        color: #000 !important;
        background-color: transparent !important;
    }

    .nav-item.has-dropdown .dropdown-menu li:last-child a {
        margin-bottom: 0 !important;
    }

    .nav-link,
    .dropdown-nav-link,
    .dropdown-item {
        padding: .75rem 0 !important;
    }

    .nav-link::after,
    .dropdown-nav-link::after,
    .dropdown-item::after {
        content: "";
        display: block;
        width: 100px;
        max-width: 75%;
        margin: 0 auto;
        margin-top: .75rem;
        padding: .5rem 0;
        border-bottom: 1px solid var(--yellow);
    }
}

/********** Mobile Menu Buttons ***********/

.mobile-menu-btn,
.mobile-menu-btn:active,
.mobile-menu-btn:visited,
.mobile-menu-btn:link {
    padding: 0.5rem 1rem;
    /* border: 2px solid rgba(245, 206, 103, 1) !important; */
    background-color: rgba(245, 206, 103, .5) !important;
    color: var(--body-text-color) !important;
    font-size: 15px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 52px;
    margin: 0 0 0.75rem;
    line-height: 1rem;
}

.mobile-menu-btn:hover {
    color: #000 !important;
    /* border: 2px solid rgba(245, 206, 103, 1) !important; */
    background-color: rgba(245, 206, 103, 1) !important;
}

/********** End of Mobile Menu Buttons ***********/


/*********** About Section *************/
#about {
    width: 100%;
    /* height: 100%; */
    display: block;
    background-image: url("../images/about-bg.jpg?v=3");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 10rem;
    padding-bottom: 10rem;
    position: relative;
    text-align: center;
    z-index: -1;
}

@media (max-width: 576px) {
    #about {
        height: fit-content;
        background-attachment: scroll;
        padding-bottom: 5rem;
        padding-top: 5rem;
    }
}

#about .white-overlay {
    /* background-color: rgba(255,255,255,.80); */
    padding: 10rem 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .90), rgba(255, 255, 255, .40));
    content: " ";
    display: block;
    height: 100%;
    width: 100%;
}

.about-text {
    padding: 3rem;
    background-color: rgba(255, 248, 238, 0.92);
    border-radius: 3rem;
}

.header-text {
    font-size: 2.5rem;
    font-style: italic;
    line-height: 2.5rem;
    color: #000;
}

/* @media (min-width: 577px) and (max-width: 1200px) {
    .header-text {
        font-size: 4.5rem;
        line-height: 4.5rem;
    }
} */



.header-text .bold {
    font-style: italic;
    font-weight: 800;
}

#about .header-text:after {
    content: "";
    display: block;
    width: 35%;
    border-bottom: 3px dotted #383838;
    height: 2px;
    margin: 1rem auto;
}


@media (max-width: 576px) {
    #about .header-text {
        font-size: 3.5rem;
        line-height: 3.5rem;
        margin-top: 1rem;
    }

    #about .header-text:after {
        width: 65%;
    }

    #about .white-overlay {
        /* background-color: rgba(255,255,255,.80); */
        padding: 5rem 0;
    }
}

.logo-img {
    width: 200px;
}

/* @media (max-width: 576px) {
    .logo-img {
        width: 160px;
    }
} */


/*********** End of About Section *************/

/******** Timeline Section **********/

/* .timeline > div:first-of-type {
    padding: 4rem 0;
} */
.timeline .black-overlay {
    padding: 10rem 0 18rem;
}

.parallax {
    height: 1000px;
    /* max-height: 100vh; */
    position: relative;
    background-image: url("../images/timeline-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 576px) {
    .parallax {
        height: 1000px;
        background-attachment: scroll;
    }
}

/* .parallax:before {
    width: 100%;
    height: 100%;
    content: " ";
    background-image: url("../images/parallax-bg2.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: -2;
} */

.timeline2 .header-text {
    font-family: var(--body-font);
    font-size: 40px;
    text-align: center;
    color: #000;
    font-weight: 200;
    font-style: italic;
    line-height: 40px;
    /* letter-spacing: 1px; */
}

@media (max-width: 576px) {
    .timeline .black-overlay {
        padding: 5rem 0 18rem;
    }

    .timeline2 .header-text {
        font-size: 40px;
    }
}

.header-text2 .italic {
    font-weight: 800;
    font-style: italic;
}

.timeline-icon {
    flex: 1;
    max-width: 240px;
    /* color: white; */
    font-size: 1.1rem;
    line-height: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}

.timeline-icon img {
    max-width: 100px;
}

.timeline-icon:last-of-type {
    margin-left: -1.5rem;
}

.arrow img {
    width: 40px;
}

.white-arrow img {
    width: 100px;
}

.programme-timeline .arrow {
    margin-left: -1.5rem;
}

@media (max-width: 992px) {
    .timeline-icon {
        flex-basis: 40%;
        flex-grow: 0;
    }

    .timeline-icon:last-of-type {
        margin-left: -2.5rem;
    }

    .programme-timeline .arrow {
        margin-left: -3rem;
        width: 60px;
    }

    .arrow img {
        width: 40px;
    }

    .white-arrow img {
        width: 72px;
    }
}

.timeline2 .date-text {
    border-top: 1px solid #c7b299;
    margin-top: .75rem;
    padding-top: .5rem;
    width: fit-content;
    font-weight: 600;
    /* font-style: italic; */
    align-self: center;
}

.programme-timeline {
    padding: 3rem 3rem 1.5rem;
}

@media (max-width: 576px) {
    .programme-timeline {
        padding: 1.5rem 0rem 1.5rem;
    }
}

#programme-timeline2 {
    scroll-margin-top: 50px;
}

.programme-timeline2 {
    padding: 1.5rem 3rem 3rem;

}


@media (max-screen: 992px) {
    .programme-timeline2 {
        padding: 1.5rem 1.5rem 3rem;
    }
}

.programme-timeline2 h5 {
    font-size: 20px;
}

.programme-timeline2 h5,
#timeline2 .programme-list {
    color: #5c604a;
}

#timeline2 .programme-list {
    font-size: 18px;
}

/******** End of Timeline Section **********/

/******** Timeline/ Programme Section **********/
#timeline2 {
    position: relative;
    margin-top: -60vh;
    background-attachment: fixed;
}

@media (max-width: 576px) {
    #timeline2 {
        height: fit-content;
        margin-top: -76vh;
        background-attachment: scroll;
    }
}

#timeline2 .programme {
    background-color: rgba(234, 219, 206, .91);
    border-radius: 2rem;
    /* padding: 3rem 3rem; */
}

/* @media (max-width: 576px) {
    #timeline2 .programme {
        padding: 1.5rem 2rem 3rem;
    }
} */

#timeline2 .programme-title {
    font-family: var(--header-font);
    font-style: italic;
    font-weight: 200;
    font-size: 2rem;
    color: #fff8ee;
}

#timeline2 .programme-title strong {
    font-weight: 700;
    color: #fff8ee;
}

.programme-timeline2 .programme-title {
    color: #383838 !important;
}

.programme-timeline2 .programme-title strong {
    color: var(--green-text) !important;
}

#timeline2 .programme-date {
    font-family: var(--header-font);
    font-style: italic;
    font-weight: 700;
    font-size: 2rem;
    margin-top: 1rem;
    text-transform: uppercase;
}

#timeline2 .programme-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.25rem;
}

#timeline2 .programme-list li:not(:last-of-type) {
    border-bottom: 2px dotted #383838;
    padding-bottom: 1rem;
}

#timeline2 .programme-list li:not(:first-of-type) {
    padding-top: 1rem;
}

@media (max-width: 992px) {
    #timeline2 .programme .arrow {
        transform: rotate(90deg);
        width: 48px;
    }

    #timeline2 .programme-timeline .arrow {
        transform: rotate(0deg);
        width: 24px;
    }
}

/******** End of Timeline/ Programme Section **********/

/******** Student-led Section **********/

.student-led {
    background-color: #006837;
    border-radius: 2rem;
    padding: 3rem 3rem;
    color: #fff8ee;
    font-size: 1rem;
    line-height: 1.35rem;
}

@media (max-width: 576px) {
    .student-led {
        padding: 3rem 2rem 3rem;
    }
}

.number-circles {
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    /* box-shadow: 4px 2px 3px rgba(0, 0, 0, .3); */
    color: var(--body-text-color);
    font-size: 14px;
    padding: 1rem 1.5rem;
    line-height: 1.1rem;
}

.number-circles:first-of-type {
    background-color: #fff8ee;
}

.number-circles:nth-of-type(2) {
    background-color: #eadbce;
}

.number-circles:nth-of-type(3) {
    background-color: #c7bf97;
}

.number-circles .number {
    font-size: 4rem;
    font-family: var(--header-font);
    font-weight: 800;
    font-style: italic;
    line-height: 2.5rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
    .student-led .icon {
        width: 60px;
        height: 60px;
    }

    .student-led .arrow {
        transform: rotate(90deg);
        width: 120px;
        margin-top: -2rem;
    }
}

@media (max-width: 1200px) {
    .number-circles {
        width: 160px;
        height: 160px;
        font-size: 13px;
        line-height: 1rem;
    }

    .number-circles .number {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }
}

/******** End of Student-led Section **********/

/******** Gen2080 Section **********/

.gen2080 {
    position: relative;
    width: 100%;
    /* height: 500px; */
    background-image: url("../images/gen2080-bg-v2.jpg");
    background-repeat: no-repeat;
    background-position: center top -1rem;
    background-size: cover;
    border-radius: 2rem;
    margin-top: 4rem;
    padding: 3rem;
    color: #FFF;
}

@media (max-width: 576px) {
    .gen2080 {
        background-position: center right;
    }
}

.gen2080 .white-overlay {
    background-color: rgba(255, 255, 255, .7);
    padding: 2rem 3rem;
    content: " ";
    display: block;
    height: 100%;
    width: 100%;
}

.gen2080 .programme-title {
    font-family: var(--header-font);
    font-style: italic;
    font-weight: 200;
    font-size: 2rem;
    color: #FFF !important;
}

.gen2080 .programme-title strong {
    font-weight: 700;
    color: #009245 !important;
}

@media (max-width: 576px) {
    .gen2080 .white-overlay {
        padding: 2rem 2rem;
    }
}

@media (max-width: 992px) {
    .gen2080 .icon {
        width: 60px;
        height: 60px;
    }
}

/******** End of Gen2080 Section **********/

/******** Programme Section **********/
#programme {
    width: 100%;
    height: auto;
    background-image: url("../images/programme-bg2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-attachment: fixed; */
}

#programme .black-overlay {
    padding: 5rem 0 9rem;
}

@media (max-width: 576px) {
    #programme .icon {
        width: 52px;
        height: 52px;
    }
}

.programmes {
    display: flex;
    margin-bottom: 2rem;
    /* flex-wrap: wrap; */
}

.tabs {
    display: none;
}

@media (max-width: 1200px) {
    .tabs {
        display: flex;
        font-family: var(--header-font);
        justify-content: center;
        padding-bottom: 2rem;
    }

    .tab {
        color: #FFF;
        border: none;
        font-size: 24px !important;
        font-style: italic;
        border-radius: 0;
    }

    .tab.active {
        color: var(--green);
        border-bottom: 3px solid var(--green);
    }

    .tab:hover {
        color: var(--green);
    }

    .day-programme {
        display: none;
    }

    .day-programme#col1 {
        display: block;
    }
}


#programme .day-programme {
    border-radius: 1rem;
    background-color: rgba(255, 248, 238, .95);
    flex: 1;
    min-width: 360px;
}

@media (max-width: 1200px) {
    .programmes {
        justify-content: center;
    }

    #programme .day-programme {
        min-height: 764px;
    }
}

/* 
@media (min-width: 997px) and (max-width: 1200px) {

    #programme .day-programme:last-of-type {
        margin-top: 2rem;
    }
}

@media (max-width: 996px) {
    #programme .day-programme {
        margin-top: 2rem;
    }
} */

.programme-header {
    background-color: #5cbc65;
    border-radius: 1rem 1rem 0 0;
    /* padding: 2rem 1.5rem; */
    display: flex;
    flex-direction: column;
    /* color: #FFF; */
    /* box-shadow: 2px -2px 2px rgba(0, 0, 0, .2); */
}

.programme-header div {
    padding: 1rem 2rem;
}

.programme-header div:nth-of-type(2) {
    background-color: #e2cdbb;
}

/* 
#programme .day-programme:nth-of-type(2) .programme-header {
    background-color: #666666;
}

#programme .day-programme:nth-of-type(3) .programme-header {
    background-color: #808080;
} */

.programme-header>div {
    flex: 1;
}


.programme-header .day {
    font-size: 2.5rem;
    color: white;
    font-weight: 600;
    line-height: .65rem;
}

.programme-header .date {
    font-size: 2.5rem;
    color: var(--body-font);
    font-weight: 600;
    font-family: var(--header-font);
}

.programme-content {
    padding: 2rem;
}

#programme .day-programme:not(:last-of-type) {
    margin-right: 1rem;
}

@media (min-width: 997px) and (max-width: 1200px) {
    #programme .day-programme:nth-last-of-type(2) {
        margin-right: 0;
    }
}

@media (max-width: 996px) {
    #programme .day-programme:not(:last-of-type) {
        margin-right: 0;
    }
}

#programme .slick-track {
    padding-top: 1rem;
}

/******** End of Programme Section **********/


/******** New Programme Section **********/

#programme-nav {
    font-family: var(--header-font);
    font-size: 1.1rem;
    font-weight: 500;
    /* background-color: #fff8ee; */
}

@media (max-width: 576px) {
    #programme-nav {
        max-width: 100%;
        overflow-x: auto;
    }
}

#programme-nav .nav-link {
    padding: 1.5rem 1.5rem !important;
    color: var(--body-text-color);
    border: 0 !important;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background-color: #5cbc65;
    flex: 1;
}

#programme-nav .nav-link .day {
    font-size: 1.875rem;
    color: white;
    font-weight: 600;
    line-height: .65rem;
}

#programme-nav .nav-link .date {
    font-size: 1.5rem;
    color: var(--body-font);
    font-weight: 600;
    font-family: var(--header-font);
}

@media (max-width: 576px) {
    #programme-nav .nav-link {
        font-size: 0.9rem;
    }

    #programme-nav .nav-link .day {
        font-size: 1rem;
        line-height: .65rem;
    }

    #programme-nav .nav-link .date {
        font-size: 1rem;
    }
}

#programme-nav .nav-link:not(:last-child) {
    margin-right: 0.15rem;
}

#programme-nav .nav-link.active {
    background-color: var(--green);
    color: #fff;
}

@media (max-width: 991px) {

    /* To unset CSS created outside of #programme */
    #programme-nav .nav-link::after {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #programme-nav .nav-link {
        width: 33.3%;
    }
}

#programme-nav .nav-link .day {}

#programme-nav .nav-link.active .day {
    color: #fff;
}

#programme-nav .nav-link .date1 {
    color: var(--body-font);
}

section#programme .tab-pane {
    position: relative;
    max-height: 70vh;
    overflow: auto;
}

section#programme .tab-pane::-webkit-scrollbar {
  height: 20px;
  width: 20px;
}
section#programme .tab-pane::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}

section#programme #nav-tabContent {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: rgba(255, 248, 238, .95);
    /* #fff8ee; */
}

section#programme td:first-child {
    font-weight: 700;
}

.p-row {
    margin: 0;
    flex-wrap: nowrap;
}

tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, .85);
}

tr:last-child:nth-child(even) {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

section#programme th,
section#programme td {    
    border-right: 1px solid #eadbce;
    border-bottom: 1px solid #eadbce;
}

section#programme th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

section#programme td {
    width: calc(100% / 12);
    min-width: 150px;
    vertical-align: top;
    text-align: left !important;
}

section#programme td.empty {
    background-color: #efefef;
}

tr:last-child:nth-child(even) td:first-child {
    border-bottom-left-radius: 1rem;
}

tr:last-child:nth-child(even) td:last-child {
    border-bottom-right-radius: 1rem;
}

.p-col {
    padding: 0;
    /* border-right: 1px solid #eadbce; */
    /* border-right: 1px dotted var(--body-text-color); */
}

#nav-day1 .p-col {
    flex: 1 1 calc(100% / 9.1);
}

.p-time {
    /* width: 200px; */
    min-width: 180px;
    padding: 10px;
    vertical-align: top;
    text-align: center;
    /* border-right: 1px solid #eadbce;
    border-bottom: 1px solid #eadbce; */
    /* border-right: 2px dotted var(--body-text-color);
    border-bottom: 2px dotted var(--body-text-color); */

    position: sticky;
    left: 0;
    z-index: 3;
    background-color: #ffffff !important;
}
@media (max-width: 991px) {
    .p-time {
        min-width: 110px !important;
    }
}
#nav-day0 .p-time {
    width: 200px;
    min-width: 180px;
    text-align: center !important;
}

tr:last-child .p-time,
.p-time:last-child {
    border-bottom: none;
}

.p-venue {
    height: 40px;
    padding: 10px 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 90%;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;

    /* border-bottom: 1px solid #eadbce; */
}

@media (max-width: 1399px) {
    .p-venue {
        height: 65px;
    }
}

@media (max-width: 1199px) {
    .p-venue {
        height: 40px;
    }
}

.p-venue.mpr1,
.p-venue.mpr2,
.p-venue.mpr3,
.p-venue.ds1,
.p-venue.ds2,
.p-venue.ds3,
.p-venue.mpr4,
.p-venue.mpr5 {
    /* color: #1A3527; */
    color: #FFF;
}

/*
--green: #006837;
--light-green: #6ab12c;
--green-text: #39b54a;
*/
.p-venue.mpr1 {
    background-color: var(--green);
}

.p-venue.mpr2 {
    background-color: var(--green);
}

.p-venue.mpr3 {
    background-color: var(--green);
}

.p-venue.ds1 {
    background-color: var(--light-green);
}

.p-venue.ds2 {
    background-color: var(--light-green);
}

.p-venue.ds3 {
    background-color: var(--light-green);
}

.p-venue.mpr4 {
    background-color: var(--green-text);
}

.p-venue.mpr5 {
    background-color: var(--green-text);
}

.p-venue.sr1 {
    background-color: var(--green);
    color: #FFF;
}

.p-venue.sr2 {
    background-color: var(--green);
    color: #FFF;
}

.p-venue.mh {
    background-color: var(--light-green);
    color: #FFF;
}

.p-venue.mezz {
    background-color: var(--green-text);
    color: #FFF;
}

.p-venue.field {
    background-color: var(--green-text);
    color: #FFF;
}

.p-event {
    padding: 10px;
    line-height: 1.3;

    /* border-right: 1px solid #eadbce; */
}
#nav-day0 .p-event {
    width: auto !important;
    padding: 10px;
    line-height: 1.3;
}

.p-speaker {
    font-weight: bold;
}
.p-col > .p-speaker {
    padding: 0 10px 10px;
}

.p-speaker .p-role {
    display: block;
    font-style: italic;
    font-size: smaller;
}

.p-format {
    font-size: smaller;
    color: gray;
}
.p-col > .p-format {
    padding: 10px 10px 0;
    margin-bottom: -10px;
}

.p-border-right {
    /* border-right: 1px solid #eadbce; */
    /* border-right: 1px dotted var(--body-text-color); */
}

.p-border-bottom {
    /* border-right: 1px solid #eadbce;
    border-bottom: 1px solid #eadbce; */
    /* border-bottom: 2px dotted var(--body-text-color); */
}

#programme #nav-tabContent p {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

/******** End of New Programme Section **********/

/******** Organising Committee Section **********/
#committee {
    background-color: #FFF;
}

#committee ul li {
    margin-bottom: .75rem;
}

#committee .left-column {
    background-image: url("../images/committee-bg.png");
    background-position: right 4rem bottom 5.5rem;
    background-size: 65%;
    background-repeat: no-repeat;
    padding-bottom: 18rem;
    border-right: 2px dotted var(--body-text-color);
}

@media (min-width:993px) and (max-width: 1439px) {
    #committee .left-column {
        border-right: none;
        padding-bottom: 9rem;
        /* background-image: none; */
        background-position: right center;
        background-size: 55%;
        border-right: 2px dotted var(--body-text-color);
    }

}

@media (max-width: 992px) {
    #committee .left-column {
        border-right: none;
        padding-bottom: 5.5rem;
        /* background-image: none; */
        background-position: right bottom 1rem;
        background-size: 30%;
        border-bottom: 2px dotted #b3b3b3;
    }

}

.committee-img {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    margin-right: 1rem;
}

@media (max-width: 576px) {
    .committee-img {
        width: 140px;
        height: 140px;
    }
}

.committee-img img {
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    border-radius: 50%;
}

.committee-name {
    font-family: var(--header-font);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--green-text);
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

.committee-title {
    font-weight: 700;
}

.committee-title ul li {
    font-size: 1rem !important;
    margin-bottom: .25rem !important;
    padding-bottom: 0;
    line-height: 1rem;
    font-style: italic;
    font-weight: 300;
}

/******** End of Organising Committee Section **********/

/******** Partners Section **********/
#partner {
    background-color: #FFF;
    margin-top: -5rem;
}

.partner {
    min-height: 800px;
    background-image: url("../images/footer-img2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top -5px center;
    background-attachment: fixed;
    display: block;
    position: relative;
    color: #FFF;
    padding-bottom: 130px;
}

@media (max-width: 576px) {
    #partner {
        margin-top: 0rem;
    }
}

.partner .container {
    margin-top: -4rem;
}

.partner h2 span {
    color: #8cc63f;
}

.partner-image {
    width: 100%;
    max-width: 166px;
}

@media (max-width: 576px) {
    .partner {
        background-position: bottom left -30rem;
        background-attachment: scroll;
        padding-bottom: 5rem;
    }

    .partner-image {
        margin-top: 0rem;
        width: 100%;
        max-width: 225px;
    }
}


.organiser {
    position: relative;
    background: url('../images/footer-shape2.svg?v=2') no-repeat;
    background-size: cover;
    min-height: 300px;
    width: 100%;
    aspect-ratio: 1 / 0.33657183;
    margin-top: 5rem;
    color: var(--body-text-color);
    background-position: bottom center;
}

.organiser .container {
    margin-top: 5rem;
}

@media (max-width: 1817px) {
    .organiser {
        aspect-ratio: 1 / 0.36;
    }
}

@media (max-width: 1700px) {
    .organiser {
        aspect-ratio: 1 / 0.42;
    }
}

@media (max-width: 1480px) {
    .organiser {
        aspect-ratio: 1 / 0.45;
    }
}

@media (min-width: 577px) and (max-width: 995px) {
    .organiser {
        aspect-ratio: 1 / 0.65;
        background-position: bottom right 20%;
    }
}

@media (max-width: 576px) {
    .organiser {
        background-position: right 25% top -10px;
        margin-top: 0;
        min-height: 720px;
    }

    .organiser .container {
        margin-top: 0;
    }
}

/******** End of Partners Section **********/


/********** Sticky Footer  ************/

.footer {
    background-color: var(--green);
    color: #FFF;
    font-size: 1.5rem;
    padding: 1rem 0;
}

@media (max-width: 576px) {
    #register-btn {
        border: 1px solid #FFF;
        background-color: transparent;
    }

}

/********** End of Footer  ************/


/********** Modal ***********/
.custom-modal {
    background-color: rgba(234, 219, 206, .9);
    border-radius: 1.5rem;
}

/********** End of Modal ***********/


/************ Summer Programme Listing *************/

.summer-programme {
    /* display: flex; */
    /* justify-content: space-between;
    align-items: stretch; */
    width: 100%;
    /* gap:.5rem; */
    flex-wrap: wrap;
    /* padding: 1rem 2rem; */
}

.summer-programme .card {
    background-color: rgba(255, 255, 255, .75);
    border: none;
    /* width: 48%;
    max-width: 415px;
    margin-bottom: .75rem; */
    padding: .5rem 1rem;
    border-radius: 1rem;
    height: 100%;
    text-align: center;
}

.summer-programme .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.summer-programme .summer-programme-title {
    color: var(--green-text);
    font-weight: 800;
    line-height: 1.5rem;
    font-size: 1.15rem;
}

.summer-programme .dept {
    color: #5c604a;
    font-weight: 800;
}

/* .summer-programme a:visited,
.summer-programme a:link {
    color: var(--green-text);
    text-decoration: none;
}

.summer-programme a:hover {
    color: var(--green-text);
}

.summer-programme .more-info a {
    background-image: url("../images/website-icon.png");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left 2px center;
    padding-left: 1.5rem;
} */

/* Homepage Button */
.homepage-button {
    margin: 40% auto 0;
    padding: 2rem 2rem;
    font-size: 1.5rem;
    background-color: rgba(0, 104, 55, .9);
    font-family: var(--header-font);
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 2rem;
    transition: all .3s;
    color: #FFF;
}

.homepage-button:hover {
    background-color: var(--light-green);
    border: 2px solid white;
    color: #FFF;
}

.now-open {
    color: var(--yellow);
    text-transform: uppercase;
}


/* Venue Accordion */
.custom-accordion {
    --bs-border-radius: 1rem;
    --bs-accordion-border-radius: 1rem;
}

.custom-accordion .accordion-item {
    border: none;
    background-color: rgba(234, 219, 206, .91);
    color: var(--body-text-color);
}

.custom-accordion .accordion-button {
    background-color: var(--light-green);
    color: #FFF;
    padding: 1.5rem 2rem;
}

.custom-accordion .accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: #FFF;
    background-color: var(--green);
    font-weight: 600;
}

/* Modal */
.highlight {
    background-color: var(--highlight);
}