html {
    scroll-behavior: smooth;
}

p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #565656;
}

.text-orange {
    color: #EF7C00;
    margin-right: 30px;
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.4em;
    text-align: center;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    border-bottom: 3px solid #EF7C00;
    margin: 5px auto 40px auto;
}

header {
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.logo {
    padding: 0;
}

.logo img {
    width: 100%;
    max-width: 250px;
}

.nav-bar a {
    color: #130F38;
    font-size: 16px;
    margin: 0 0 0 30px;
    font-weight: bold;
}

.nav-bar a:hover {
    color: #EF7C00;
    text-decoration: none;
}

.mobile-icon {
    display: none;
    margin: 0 30px !important;
}

#mobileLinks {
    display: none;
}

.banner .container {
    width: 100%;
}

.banner h3 {
    font-weight: 700;
    font-size: 7em;
    padding: 150px 0;
    color: white;
    max-width: 1024px;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

.banner .box-orange {
    display: inline-block;
    font-size: 0.3em;
    background-color: #EF7C00;
    padding: 10px 20px;
    vertical-align: middle;
}

#about {
    padding-top: 60px;
    padding-bottom: 60px;
}

#about h4 {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.4em;
    width: 65%;
    margin: auto;
}

#programme {
    background-color: #F3F3F3;
    padding: 60px 0 100px 0;
    text-align: center;
}

.program-item {
    padding: 0 20px;
    margin-bottom: 60px;
}

.program-img {
    width: 100%;
}

.program-item h4 {
    margin: 20px 0;
    font-size: 1.5em;
    line-height: 1.4em;
    font-weight: 700;
}

.program-item p {
    margin-bottom: 20px;
}

.program-button {
    background-color: #003D7C;
    color: white;
    padding: 20px;
    text-decoration: none;
}

.program-button:hover {
    background-color: #EF7C00;
    color: white;
    text-decoration: none;
}

#speaker {
    padding: 80px 0 0 0;
    text-align: center;
}

.speaker-row {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    text-align: center;
    flex-wrap: wrap;
}

.speaker-item {
    padding: 0 20px 20px 20px;
    flex: 0 0 100%;
}

.speaker-item img {
    width: 80%;
    margin-bottom: 20px;
}

.speaker-name {
    color: #003D7C;
    font-weight: 700;
}

.speaker-link {
    color: #003D7C;
    margin-top: 20px;
}

.speaker-link:hover {
    color: #EF7C00;
    text-decoration: none;
}

.speaker-item>div.moderator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.extra-label {
    font-size: 85%;
    color: white;
    background-color: #EF7C00;
    padding: 4px 12px;
    margin-top: -42px;
    height: 100%;
}

#faq {
    padding: 80px 0;
}

#faq button .fa {
    float: right !important;
}

.accordion {
    border: none;
    color: #565656;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 1.2em;
    background-color: white;
}

.active {
    color: #003D7C;
    font-weight: bold;
    border-bottom: 0;
}

.active,
.accordion:hover {
    background-color: #EF7C00 !important;
}

.panel {
    padding: 20px 18px;
    display: none;
    background-color: white;
    overflow: hidden;
    border: 1px solid #CAC8C8;
    border-top: 0;
    margin-top: -5px;
    margin-bottom: 0;
    border-radius: 0;
    text-align: left;
}

#venue {
    background-image: url("./image/map_img.jpg");
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}

.venue-container {
    background-color: #003D7C;
    width: 50%;
    margin: auto;
    padding: 20px 30px 60px 30px;
}

.venue-container h4 {
    font-size: 1.8em;
    color: white;
    font-weight: bold;
    margin-bottom: 30px;
}

.location {
    display: flex;
}

.location-icon {
    width: 10%;
}

.location-desc {
    margin-left: 20px;
}

.location-button {
    margin-top: 40px;
}

.location-button a {
    color: #fff;
}

.location-button a:hover {
    color: #EF7C00;
    text-decoration: none;
}

.location-button img {
    margin-left: 10px;
}

.location-desc p {
    color: white;
}

.nus-logo {
    width: 100%;
    max-width: 300px;
    margin: 30px 0 0 0;
}

footer {
    background-color: #003D7C;
    padding: 80px 0;
}

footer p {
    color: white;
}

.social-media {
    margin: 60px 0;
}

.social-media img {
    margin: 0 5px;
    max-width: 35px;
}

.copyright-text {
    font-size: 1em;
}

table {
    font-size: 16px;
    width: 100%;
    text-align: left;
}

td {
    border: 2px solid #E5F0FC;
    padding: 12px;
}

tr:nth-child(odd) {
    background-color: #F3F9FF;
}

.table-desc {
    text-align: left;
    margin-top: 20px;
}

.programme-speaker {
    padding: 80px 0 !important;
}

button {
    background-color: #003D7C !important;
    color: white !important;
    margin-bottom: 20px;
}

button .fa {
    float: right !important;
}

.active {
    margin-bottom: 0px !important;
}

button:hover {
    background-color: #003D7C;
    color: white;
}

.panel {
    border: 1px solid #ACACAC;
    border-radius: 0 0 10px 10px;
    margin-bottom: 20px;
}

.bio {
    padding: 80px 0;
}

.bio .text-center {
    text-align: center;
}

.bio-speaker-img {
    text-align: center;
}

.bio-speaker-img img {
    width: 100%;
    max-width: 260px;
}

.bio-speaker-content {
    padding-left: 40px;
}


@media (max-width: 480px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .logo img {
        width: 60%;
    }

    #about h4 {
        width: 100% !important;
    }

    .speaker-row {
        flex-wrap: wrap !important;
    }

    .speaker-item {
        margin-bottom: 40px !important;
    }

    .venue-container {
        width: 100% !important;
    }

    .bio-speaker-img {
        text-align: center;
    }

    .bio-speaker-img img {
        width: 80% !important;
        margin: 0 auto 20px auto !important;
    }

    .bio-speaker-content {
        padding: 0 !important;
    }

    .bio .text-center {
        text-align: center;
    }

    .social-media img {
        margin: 0 5px;
        max-width: 32px !important;
    }
}

/* OAR STYLING */
.max-width {
    max-width: 992px;
    margin: 0 auto;
}

.nowrap {
    white-space: nowrap;
}

/* Bio Page */
.bio-speaker-content>p {
    margin: 0 0 30px 0;
}

@media (min-width: 768px) {
    .bio .text-center {
        text-align: left;
    }
}

/* Show Mobile Menu when screen szie is less than 1024px */
@media (max-width: 1023px) {

    .desktop-menu {
        display: none;
    }

    .mobile-icon {
        display: block !important;
        font-size: 24px !important;
    }

    header {
        flex-wrap: wrap;
    }

    .nav-bar {
        padding: 0;
        margin-left: auto;
    }

    #mobileLinks {
        margin-top: 20px;
        flex-basis: 100%;
    }

    #mobileLinks a {
        display: block;
        color: #130F38;
        font-size: 16px;
        margin: 0 15px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    #mobileLinks a:hover {
        color: #EF7C00;
        text-decoration: none;
    }
}

/* SPEAKERS & MODERATORS */
@media (min-width: 480px) {
    .speaker-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 768px) {
    .speaker-item {
        flex: 0 0 33.3333%;
    }
}

@media (min-width: 992px) {
    .speaker-item {
        flex: 0 0 25%;
    }
}

@media (min-width: 1200px) {
    .speaker-item {
        flex: 0 0 25%;
    }
}

/* PROGRAMME */
#programme .row {
    border-top: 4px solid #333;
    padding: 40px 20px;
}

#programme .row h3 {
    margin-top: 0;
    font-weight: bold;
}

#programme .time {
    color: #EF7C00;
}

.panel_title,
.panel_title:link,
.panel_title:visited,
.panel_title:active {
    color: #333;
    text-decoration: none;
}

.panel_title:hover {
    color: #EF7C00;
    text-decoration: none;
}

.panel_title strong {
    display: flex;
    justify-content: space-between;
}

.panel_title strong i {
    font-weight: bold !important;
    margin-left: 50px;
}

.programme-panel {
    display: none;
}

#programme .speaker-row {
    justify-content: left;
}

/* HERO BANNER */
.nif-banner img.portrait {
    width: 100%;
}

@media (min-width: 767px) {

    .nif-banner img.landscape {
        display: block !important;
        width: 100%;
    }

    .nif-banner img.portrait {
        display: none;
    }
}