:root {
    --primaryColor: #9B00E3;
    --secondaryColor: #002647;
    --secondaryColor50: rgba(0, 38, 71, 0.5);
    --snowColor: #f1f1f1;
    --tertiaryColor: white;
    --darkTextColor: #383737;
    --backgroundTransparent: rgba(255, 255, 255, 0.7);
}

body, html {
    overflow-x: hidden;
}

body {
    font-family: 'Dosis', sans-serif;
    color: var(--darkTextColor);
    font-size: 16px;
    letter-spacing: 0.8px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

/* Buttons override */
.btn {
    text-transform: uppercase;
    font-weight: 600;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
    line-height: 0;
    border-radius: 4px;
}

.btn-red {
    background-color: var(--primaryColor);
    color: var(--tertiaryColor);
}

.btn-yellow {
    background-color: #fcd93b;
    color: var(--darkTextColor);
    opacity: 0.8;
}

.btn-yellow:hover {
    opacity: 1;
}

.btn-yellow.disabled:hover,
.btn-yellow[disabled]:hover {
    opacity: 0.65;
}

.content-ct {
    text-align: center;
}

.content-left {
    text-align: left;
    margin-left: 20px;
}

.hr-line {
    height: 1px;
    width: 100%;
    background-color: white;
    margin: 30px 0;
}

/* ------------------
	Navigation 
------------------ */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--secondaryColor);
    height: 60px;
    z-index: 1000;
    background-color: white;
}

.top-menu-hamburger {
    display: none;
    height: 60px;
    cursor: pointer;
    width: 100%;
}

.top-menu {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 60px;
    background-color: white;
    border-bottom: 1px solid var(--secondaryColor);
    top: 0;
}

.top-menu-list {
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-weight: bold;
}

.page-content {
    padding-top: 60px;
}

.hero-header {
    /*background: #016cc7;*/
    min-height: 600px;
    padding: 5em;
    color: #fff;
    background-image: url("../img/website/oslo3.webp");
    background-size: cover;
}

.hero-header h1 {
    margin: 1em 0 0 0;
}

.hero-header h4 {
    font-weight: normal;
    letter-spacing: 1px;
    margin: 2em 0;
}

.hero-header h3 {
    font-weight: bold;
}

.hero-header .logo {
    max-width: 180px;
}

.hero-header .btn {
    margin-top: 3em;
}

.hero-header .rocket {
    max-width: 100%;
}

.me-row {
    padding: 60px 30px;
}

.row-title {
    font-weight: 400;
}

.feature {
    padding: 20px;
    margin-top: 30px;
}

.feature span {
    font-size: 5em;
    color: var(--secondaryColor);
}

.info-container {
    background: var(--secondaryColor);
    color: white;
    display: flex;
    flex-direction: column;
}

.info-container span {
    color: white;
}

.conf-info {
    margin: 0 40px;
}

#speakers {
    background-color: var(--secondaryColor);
    padding-bottom: 0;
}

#speakers .row-title {
    color: white;
}

.speaker-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.speaker-modal-container, .talk-modal-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(42, 42, 42, 0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.speaker-modal-card {
    max-height: 90vh;
    width: 90vw;
    max-width: 1000px;
    background: white;
    border-radius: 20px;
    border: 2px solid lightgray;
    padding: 40px;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.speaker-modal-card .back-arrow {
    margin-right: auto;
    cursor: pointer;
    padding: 10px 0;
}

.back-arrow:hover {
    text-decoration: underline;
}

.speaker-modal-card h2 {
    margin-bottom: 30px;
    text-align: center;
}

.speaker-modal-card p {
    white-space: pre-wrap;
}

.speaker-modal-card .slot-speaker {

}

.speaker-modal-card img {
    height: 200px;
    width: 200px;
}

.speaker-card img {
    width: 150px;
    height: 150px;
}

.speaker-card {
    background-color: white;
    max-width: 320px;
    min-height: 450px;
    border: 2px solid lightgray;
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin: 20px;
    display: none;
}

.speaker-card:hover {
    box-shadow: 0 3px 6px darkgray;
}

.speaker-keynote {
    background: var(--secondaryColor);
    padding: 2px 5px;
    color: white;
    border-radius: 10px;
    margin-top: 10px;
}

.speaker-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.speaker-card h2 {
    margin-top: auto;
}

.speaker-card h4 {
    margin-top: 0;
    margin-bottom: auto;
}

.speaker-cards-container .speaker-social {
    margin-top: auto;
    padding-top: 20px;
}

.speaker h3 {
    margin-bottom: 20px;
}

.speaker-demand-list {
    display: flex;
    justify-content: center;
}

.speaker .feature {
    border: 3px solid #f6f6f6;
    border-radius: 5px;
}

.speaker-img {
    border: 2px solid #efefef;
    border-radius: 50%;
}

.schedule-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-container > div {
    max-width: 1000px;
}

.conference-schedule {
    display: flex;
    flex-direction: column;
}

.tracks-header {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.tracks-header span {
    font-size: 30px;
    padding: 10px;
    color: white;
    width: 100%;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.keynote-header {
    background-color: black;
}

.soft-header {
    margin-right: 20px;
    background-color: var(--snowColor);
    color: var(--secondaryColor) !important;
    font-weight: bold;
}

.hard-header {
    margin-left: 20px;
    background-color: var(--secondaryColor);
}

.slot-entry.soft-entry {
    margin-right: 20px;
}

.slot-entry.hard-entry {
    margin-left: 20px;
}

.slot-time {
    font-weight: bold;
    font-size: 23px;
    margin: 10px 0;
}

.slot-container {
    display: flex;
    border-bottom: 2px solid lightgray;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.track-soft {
    margin-right: 20px;
}

.track-hard {
    margin-left: 20px;
}

.slot-small-label {
    display: none;
}

.slot-tbd {
    width: 100%;
    text-align: center;
}

.slot-entry {
    width: 100%;
    display: flex;
    border-radius: 10px;
    border: 2px solid lightgray;
    align-items: center;
    justify-content: start;
    cursor: pointer;
    background: white;
    text-align: center;
}

.slot-entry:hover {
    box-shadow: 0 3px 6px darkgray;
}

.slot-entry h5 {
    font-weight: 600;
    font-size: 18px;
    margin-top: 20px;
}

.slot-speakers-container {
    display: flex;
    flex-direction: column;
}

.speaker-modal-card .slot-speakers-container {
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}

.slot-speaker {
    display: flex;
    margin: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    max-width: 130px;
}

.slot-speaker span {
    margin-top: 5px;
    font-weight: bold;
}

.slot-speaker img {
    height: 100px;
    width: 100px;
}

.keynote {
    margin-bottom: 30px;
}

.track-soft .slot-speaker, .keynote .slot-speaker {
    margin-right: 20px;
}

.track-hard .slot-speaker {
    margin-left: 20px;
}

.slot-entry-body {
    height: 100%;
    overflow: hidden;
    margin: 10px 20px;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    flex: 1;
}

.slot-entry-body p {
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;
    margin-bottom: auto;
}

.slot-entry-tags {
    margin-top: auto;
}

.slot-entry-tags span {
    background-color: black;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 5px;
    text-align: center;
    margin: 0 5px;
}

ul.speaker-social li {
    list-style: none;
    display: inline-block;
    margin: 10px 5px;
    font-size: 16px;
}

ul.speaker-social li a {
    padding: 0 10px;
}

ul.speaker-social li a:hover {
    text-decoration: none;
}

.footer-social li a {
    font-size: 30px;
}

.tickets .price {
    font-size: 4em;
    color: #dd5138;
    font-weight: 100;
}

.tickets .price sup {
    font-size: 0.4em;
}

.nav-tabs {
    margin-top: 20px;
}

.nav-tabs li {
    font-size: 20px;
}

.schedule .media {
    margin-top: 4em;
}

.schedule .media-object {
    max-width: 100px;
}

.schedule .media-heading {
    font-weight: 600;
    border-bottom: 2px solid #efefef;
    padding-bottom: 10px;
}

.schedule .media-body h5 {
    text-transform: uppercase;
    font-weight: 600;
}

.tab-pane h4 {
    margin-top: 40px;
}

.map-img {
    width: 100%;
}

.venue-container {
    background-color: var(--secondaryColor);
    color: white;
    position: relative;
}

.venue-img {
    position: absolute;
    top: 170px;
    left: 30px;
    display: none;
}

.venue-container h4 {
    margin: 0 40px;
}

.sponsors {
    background-color: var(--secondaryColor);
}

.sponsors h1 {
    color: white;
}

.sponsor-cards {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-wrap: wrap;
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid gray;
    width: 300px;
    border-radius: 10px;
    padding: 20px;
    background-color: white;
    margin: 20px;
    position: relative;
}

.sponsor-card > img {
    max-width: 100%;
    max-height: 180px;
}

.sponsor-card h2 {
    margin-top: 0;
}

.sold-out-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--backgroundTransparent);
    border-radius: 10px;
}

.sold-out-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: 275px;
}

.silver img, .community img {
    height: 100px;
}

.sponsor-card .btn {
    margin-top: auto;
    padding: 20px 40px;
}

.sponsor-card.silver {
    order: 1;
    height: 500px;
}

.sponsor-card.gold {
    order: 2;
}

.sponsor-card.community {
    order: 3;
    height: 500px;
}

.sponsor-container {
    display: flex;
    flex-direction: column;
    justify-items: center;
    justify-content: space-evenly;
}

.sponsor-tier-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.sponsor-tier-container a {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px lightgray;
}

.sponsor-tier-container a:hover {
    box-shadow: 0 3px 6px darkgray;
}

.sponsor-tier-container img {
    margin: 20px;
    max-height: 100%;
    max-width: 100%;
}

.sponsor-tier-container a {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.gold-logos a {
    height: 200px;
    width: 200px;
}

.silver-logos a {
    width: 150px;
    height: 150px;
}

.community-logos a {
    width: 100px;
    height: 100px;
}

.venue-link {
    color: white;
}

.venue-link:visited {
    color: lightgray;
}

.organisation-container {
    margin: 0 40px;
}

.orgs-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.org-container {
    margin: 20px;
}

.org-container img {
    width: 200px;
}

.program-committee img {
    width: 100px !important;
}

/* ---- Footer ---- */
.footer {
    background-color: #2a2a2a;
    color: #fff;
}

.footer p {
    margin-bottom: 0;
}

.news-letter-container {
    margin: 0;
}

.footer-credit {
    padding: 40px;
}

ul.footer-menu {
    text-align: right;
}

ul.footer-menu li {
    display: inline-block;
}

ul.footer-menu li a {
    font-size: 12px;
    color: #fcd93b;
    padding-right: 20px;
}

ul.footer-menu li a:hover {
    color: #dd5138;
}

.contact {
    background-color: #3a3a3a;
    color: #fff;
    padding: 1em;
}

.contact h3 {
    margin-bottom: 30px;
}

.form-control {
    padding: 20px 15px;
    border: 3px solid #eee;
    background-color: #f9f9f9;
    box-shadow: none;
}

.help-block {
    font-size: 12px;
}

.form-control-feedback {
    top: 15px;
    right: 15px;
}

.form-control.email {
    margin-right: 20px;
}

.email-field {
    display: flex;
}

.animated {
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
}

/* ========================================
    Custom Media Queries
======================================== */

/* Mobile */

@media (min-width: 768px) {
    .top-bar {
        display: none;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: block;
    }

    .top-menu-hamburger {
        display: block;
    }

    .top-menu {
        top: -600px;
        border-bottom: 1px solid darkblue;
        height: auto;
    }

    .top-menu-list {
        flex-direction: column;
        background-color: white;
    }

    .top-menu-list li {
        margin: 30px;
    }

    .hero-header {
        padding: 3em 1em 1em 1em;
        text-align: center;
        max-height: 550px;
    }

    .tracks-header {
        display: none;
    }

    .slot-speakers-container {
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        flex-wrap: wrap;
    }

    .speaker-card {
        min-height: 250px;
        min-width: 320px;
    }

    .speaker-card p {
        display: none;
    }

    .slot-small-label {
        display: block;
        width: 100%;
        text-align: center;
        color: white;
        border-radius: 10px 10px 0 0;
        padding: 5px;
    }

    .soft-header, .hard-header {
        margin: 0;
    }

    .slot-entry {
        border-top: 0;
    }

    .slot-entry.soft-entry, .slot-entry.hard-entry {
        margin: 0 0 20px 0;
    }

    .slot-container {
        flex-wrap: wrap;
    }

    .slot-entry {
        border-radius: 0 0 10px 10px;
        flex-direction: column;
    }

    .track-soft, .track-hard {
        margin: 0 0 20px 0;
    }

    .footer-credit {
        text-align: center;
        padding: 40px 20px;
    }

    ul.footer-menu {
        text-align: center;
        margin-top: 30px;
    }
}


/* iPad Portrait */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-header {
        padding: 3em 1em 1em 1em;
        text-align: center;
    }

    .speaker .feature {
        width: 49%;
        margin-right: 7px;
    }

    ul.footer-menu {
        margin-top: 0;
    }
}


/* iPad Landscape */
@media (max-width: 1064px) {
    .sponsor-card.gold {
        order: 0;
    }
}

/* MailChimp */
#mc_embed_signup {
    background: #3a3a3a;
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    max-width: 500px;
}

#mc_embed_signup input {
    color: var(--darkTextColor);
}

/* 404 */
.container-pnf {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-pnf {
    width: 700px;
    margin: 50px;
}

.link-pnf {
    margin-top: 40px;
    font-size: 20px;
}

.gallery {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    flex-wrap: wrap;
}

.small > img {
    max-width: 200px;
    max-height: 200px;
    margin: 5px;
}

.info-text {
    width: 100%;
    text-align: center;
}