:root {
    --primary: #003366;
    --secondary: #ef7c00;
    --body-text-font: "Open Sans", sans-serif;
}

body {
    background-color: #FFF;
    font-family: var(--body-text-font);
    -webkit-transition: 0.8s cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
    transition: 0.8s cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
}

/* strong {
    font-family: "Open Sans", sans-serif;
} */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
    font-weight: 700;
}


.text-primary {
    color: var(--primary) !important;
}

.text-orange {
    color: var(--secondary);
}
.bg-primary {
    background-color: var(--primary) !important;
}

a:visited,
a:link {
    color: var(--secondary) !important;
    text-decoration: none;
    font-weight: 700;
    /* font-family: "frutiger_lt_45_lightbold", sans-serif; */
    transition: all .3s;
}

a:hover {
    color: #db6d00 !important;
}

.btn-orange,
.btn-orange:visited,
.btn-orange:link {
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    color: #FFF !important;
    font-weight: 700;
    border-radius: 2rem;
    padding: .5rem 1.5rem;
}

.btn-orange:hover {
    background-color: #db6d00;
    border-color: #db6d00;
}
.btn-orange:active {
    color: var(--primary) !important;
    background-color: #db6d00;
    border-color: #db6d00;
}
.btn-orange:disabled {
    color: #FFF !important;
    background-color: #ffa64d;
    border-color: #ffa64d;
}
/************* Header, Navbar and Logo *************/

.header {
    position: relative;
    min-height: 600px;
    padding-bottom: 80px;
}

.header:before {
    background-size: cover;
    background-image: url(../images/header-bg.jpg?v=2);
    content: " ";
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: .6;
    z-index: -1;
    top: 0;
    left: 0;
}

.header:after {
    content: " ";
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;
    background-color: #266379;
}

.navbar-brand {
    width: 320px;
    height: auto;
    padding: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
}
.navbar-brand img {
    width: 200px;
}

.navbar-brand:before {
    width: 320px;
    height: 204px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary);
    content: " ";
    border-radius: 0 0 1rem 0;
    z-index: -1;
    /* margin-left: -1.5rem; */
}

.navbar-nav {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    transition: all .3s;
    
}
.navbar-nav.scrolled {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 14px;
}
.navbar-bg {
    background-color: var(--primary);
    padding-right: 1rem;
    padding-left: 3rem;
    border-radius: 0 0 0 .5rem;
    /* width: fit-content; */
}

.navbar-bg.scrolled {
    background-color: rgba(0,61,124,.9);
    padding-right: .5rem;
    padding-left: 2.5rem;
}

.navbar-expand-lg .navbar-nav .nav-link:not(:first-of-type) {
    margin-left: 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link:not(:last-of-type):after {
    content: " | ";
    margin-left: 1rem;
    color: #FFF;
}

.nav-link:visited,
.nav-link:link {
    font-size: 1rem;
    color: #FFF !important;
    text-transform: capitalize;
    transition: all .3s;
    font-weight: 400;
}

.nav-link.active {
    color: var(--secondary) !important;
}

.navbar-toggler {
    margin-right: 1rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link:not(:first-of-type) {
        margin-left: 0;
    }
    .navbar-expand-lg .navbar-nav .nav-link:not(:last-of-type):after {
        content: " ";
        margin-left: 0;
    }
    .fixed-top {
        position: relative;
    }
    .navbar-brand {
        width: 180px;
        padding: .25rem;
    }
    .navbar {
        background-color: var(--primary);
        border-radius: 0 0 1rem 1rem;
    }
    .navbar-brand:before { 
        background-color: transparent;
    } 
    .navbar-bg {
        padding-left: 2.5rem;
    }
    .header {
        position: relative;
        min-height: 500px;
        padding-bottom: 40px;
    }
}

@media (max-width: 576px) {
   
}

.white-trasparent-box {
    margin-left: -4.5rem;
    margin-top: -6rem;
    position: relative;
    /* position:absolute;
    z-index: -1; */
}

.white-trasparent-box2 {
    /* margin-top: -360px; */
    position: relative;
    /* position:absolute;
    z-index: -1; */
}
.white-trasparent-box2:after,
.white-trasparent-box:after {
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 1rem;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    content: " ";
    top: 0;
    left: 0;
}

@media (max-width: 996px) {
    .white-trasparent-box {
        margin-left: 0rem;
        margin-top: 0rem;
    }
}

/************* End of Header, Navbar and Logo *************/


/**************** Parallax Section *****************/
.parallax {
    min-height: 600px;
    position: relative;
}

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

@media (max-width: 576px) {
    .parallax {
        min-height: 400px;
    }
    .parallax:before {
        height: 100%;
        background-image: url("../images/public-lecture-video-screenshot-mobile3.jpg");
        background-attachment:scroll;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
    }
}
.video-modal {
    max-width: 80%;
}


.video-modal .modal-content {
    background-color: transparent;
    border: none;
}

.video-js {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.video-play-btn {
    position: relative;
}

.video-modal .btn-close {
    background: none;
    font-size: 1.5rem;
}

.video-play-btn-wrap {
    width: 100%;
    height: 100%;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    position: relative;
    background-image: url(../images/play.svg);
    background-repeat: no-repeat;
}

.video-play-btn:before {
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    width: 65%;
    height: 65%;
    background-color: rgba(255, 255, 255, 0.671);
    animation: borderanimate2 2.5s linear infinite;
    z-index: -1;
    border-radius: 50%;
}

@-webkit-keyframes borderanimate2 {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@-moz-keyframes borderanimate2 {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@-ms-keyframes borderanimate2 {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes borderanimate2 {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/**************** End of Parallax Section *****************/



/****************** Upcoming Event ********************/
.small-title {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.event-info {
    margin-top: 3rem;
}

.event-info-bigger-font {
    font-size: 24px;
    font-weight: 700;
}

.speaker-info {
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 2rem;
}

.speaker-img {
    width: 250px;
    height: 250px;
    float: right;
}

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

@media (max-width: 576px) { 
    .speaker-img {
        width: 180px;
        height: 180px;
        margin-top: 1rem;
    }
    .event-info-bigger-font {
        font-size: 20px;
    }
    .small-title {
        font-size: .9rem;
    }
    .speaker-info {
        padding-bottom: 1.25rem;
    }
}

/****************** End of Upcoming Event ********************/

/****************** Sponsors *************************/

.seatrium-logo {
    max-width: 200px;
}

.nus-logo {
    max-width: 340px;
}


@media (max-width: 576px) {
    .seatrium-logo {
        max-width: 180px;
    }

    .nus-logo {
        max-width: 280px;
    }
}

/****************** End of Sponsors *************************/

/****************** Footer *************************/
/*---------------------- TO-TOP ----------------------*/
.to-top {
    position: fixed;
    bottom: 30px;
    right: 15px;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    width: 46px;
    line-height: 46px;
    text-align: center;
    color: #fff;
    background-color: grey;
    border-radius: 50%;
}

.to-top i {
    color: #fff;
}

.to-top:hover {
    background-color: var(--secondary);
    -webkit-box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.15);
}

.to-top.active {
    opacity: 1;
    pointer-events: auto;
}


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

.thumnails img {
    object-fit: cover;
    object-position: top center;
    max-height: 300px;
}


/*********** Accordion ******************/

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: #badaf7;
    box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button {
    background-color: #f3f3f3;
}

/*********** End of Accordion ******************/

/*********** Registration ******************/

#registration .event-info {
    background-color: var(--primary);
    padding: 1rem;
    color: #FFF;
    border-radius: 1rem;
    margin-top:0;
}

/*********** End of Registration ******************/
