html {
    scroll-behavior: smooth;
}

p {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

body {
    font-size: 16px;
    color: #333;
}

.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;
}

header .flex {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
}

.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, .nav-bar a.active {
    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: 80px;
    padding-bottom: 80px;
}

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

#program {
    background-color: #F3F3F3;
    padding: 80px 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;
    text-align: center;
}

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

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

.speaker-item img {
    width: 80%;
    max-width: 160px;
    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;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.moderator:after {
    content: "MODERATOR";
    position: absolute;
    bottom: 10px;
    font-size: 85%;
    color: white;
    background-color: #EF7C00;
    padding: 4px 12px;
}

.moderator.zh:after {
    content: "主持人";
    position: absolute;
    bottom: 10px;
    font-size: 85%;
    color: white;
    background-color: #EF7C00;
    padding: 4px 12px;
}

#faq {
    padding: 80px 0;
}

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

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

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

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

.panel {
    padding: 20px 18px;
    display: none;
    background-color: white;
    overflow: hidden;
    border: 1px solid #f7f7f7 !important;
    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;
    max-width: 650px;
    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;
}

.venue-container strong
{
    margin-top: 10px; 
    display: block;
    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;
}

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

button.accordion {
    background-color: #f7f7f7 !important;
    margin-bottom: 20px;
}

button .fa {
    float: right !important;
}

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

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

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

.bio {
    padding: 80px 0;
    border-bottom: 4px solid #333;
}

.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 .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;
    }
}

.desktop-menu {
    display: flex; align-items: center; justify-content: end;
}

/* 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 100%;
    }
}

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

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

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

    .tab-content .speaker-item {
        flex: 0 0 25%;
    }
}

/* program */
#program .row {
    border-bottom: 1px solid #ccc;
    padding: 30px 20px;
    margin-left: 0;
    margin-right: 0;
}

#program .row h4 {
    margin: 0;
    font-weight: bold;
}

#program h4.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;
    color: #333;
}

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

.program-panel {
    display: none;
    /*max-width: 700px;*/
}

#program .speaker-row {
    justify-content: center;
}

/* 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;
    }
}


.nav.nav-tabs { border-bottom: none;  display: flex; align-items: stretch; justify-content: center; }
.nav.nav-tabs li { width: auto; display: flex; flex: 1 1 0px; }
.nav.nav-tabs li a { flex: 1 1 0px;  border-radius: 0; border: 4px solid #EF7C00 !important; text-align: center; background: none; color: #EF7C00; margin-right: 0; display: block; padding: 20px; }
.nav.nav-tabs li a small { color: inherit; }
.nav.nav-tabs li.active a, .nav.nav-tabs li a:hover { border-radius: 0; border: 4px solid #EF7C00; text-align: center; background: #EF7C00; color: #fff }

.label-success {
    background-color: #EF7C00;
}

/*#program .tab-content .row:first-child {  border-bottom: 4px solid #333; }*/
#program .tab-content .row h3 { padding:0; margin: 0; }

#venue h5 {  margin-bottom: 0;    color: white;
    font-size: 2rem; }



.btn-primary  {
    color: #fff;
    background-color: #EF7C00 !important;
    border-color: #EF7C00 !important;
        padding: 1.5rem 3rem;
        font-synthesis: 2rem;
}
.btn-primary:hover {
    background-color: #ff9523 !important;
    border-color: #ff9523 !important;
}


ol.custom, ol.custom > li {
    margin-bottom: 15px;
}





#booth, #register {
      background-color: #F3F3F3;
    padding: 60px 0 100px 0;
    text-align: center;
    margin: 80px 0 0 0;
}

   #booth .speaker-name a {
        padding: 1.5em;
        background: #003d7c;
        color: #fff;
        font-weight: normal;
         display: block;
    }

    #booth .speaker-name a:hover {
        background: #0056af;
        text-decoration: none;
    }



ul.booth {
	list-style: none;
	padding-left: 0;
	display: flex;
    flex-wrap: wrap;
}

ul.booth li a
{
	font-weight: bold;
	border: 1px solid #ccc;
	padding: 0.5em 1em;
	display: inline-block;
	margin: 0 1em 1em 0;
}


ul.booth li a:hover
{
	 background: #003d7c;
        text-decoration: none;
        color: white;
        border: 1px solid #003d7c;
}

@media screen and (min-width: 992px) {
    #register .row {
        display: flex;
        vertical-align: middle;
        align-items: center;
    }
}