@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

.md-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #0E0024;
    padding: 0;
    border: 0;
}

.bci-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 0 30px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    background: #0E0024;
    color: #CCCCCC;
}

.bci-header a {
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    color: #CCCCCC;
    transition: color .2s ease;
}

.bci-header a:hover,
.bci-header a:focus {
    color: #802BFF;
}

.bci-header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.bci-header__title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.bci-header__title img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.md-header {
    background: #424258;
}

@media (max-width: 980px) {
    .bci-header__nav {
        display: none;
    }

    .bci-header {
        min-height: 70px;
        justify-content: center;
    }

    .bci-header__title {
        position: static;
        transform: none;
    }
}

@media screen and (max-width: 76.1875em) {
    .md-sidebar--primary,
    .md-overlay {
        z-index: 2000;
    }
}

/* ELEVATE footer */
.elevate-footer {
    background: #0E0024;
    color: #CCCCCC;
    width: 100%;
    margin: 0;
    padding: 45px 30px 30px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.elevate-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.elevate-footer__logo {
    display: inline-block;
    margin-bottom: 20px;
}

.elevate-footer__logo img {
    display: block;
    width: 100px;
    height: auto;
    max-height: 115px;
    object-fit: contain;
    margin: 0 auto;
}

.elevate-footer__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 auto 12px;
    color: #FFFFFF;
}

.elevate-footer__copyright {
    font-size: 13px;
    line-height: 1.5;
    color: #CCCCCC;
}

.elevate-footer a {
    color: #CCCCCC;
    text-decoration: none;
}

.elevate-footer a:hover {
    color: #802BFF;
}

@media (max-width: 600px) {
    .elevate-footer {
        padding: 35px 20px 25px;
    }

    .elevate-footer__logo img {
        width: 80px;
        max-height: 95px;
    }

    .elevate-footer__title {
        font-size: 14px;
    }

    .elevate-footer__copyright {
        font-size: 12px;
    }
}

/* ELEVATE Stratos-style header */
.elevate-header {
    position: relative;
    z-index: 1100;
    width: 100%;
    height: 80px;
    background: #0E0024;
    color: #CCCCCC;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

.elevate-header__container {
    height: 80px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.elevate-header__logo {
    flex: 0 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
}

.elevate-header__logo a {
    display: flex;
    align-items: center;
    height: 80px;
    text-decoration: none;
}

.elevate-logo-desktop {
    display: block;
    width: auto;
    height: 120px;
    max-width: none;
}

.elevate-logo-mobile {
    display: none;
}

.elevate-header__menu {
    margin-left: auto;
    height: 80px;
    display: flex;
    align-items: center;
}

.elevate-header__menu > ul {
    display: flex;
    align-items: center;
    height: 80px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elevate-header__menu li {
    position: relative;
    list-style: none;
}

.elevate-header__menu > ul > li > a {
    display: block;
    padding: 0 15px;
    height: 80px;
    line-height: 80px;
    color: #CCCCCC;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.elevate-header__menu > ul > li > a:hover,
.elevate-header__menu > ul > li > a.active {
    color: #802BFF;
}

/* Results dropdown */
.elevate-dropdown {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 0;
    background: #0E0024;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.elevate-has-dropdown:hover > .elevate-dropdown {
    display: block;
}

.elevate-dropdown li {
    width: 100%;
}

.elevate-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.elevate-dropdown a:hover {
    color: #802BFF;
    background: rgba(128,43,255,.08);
}

.elevate-mobile-menu {
    display: none;
}

/* Prevent the old Material header spacing from affecting the page */
.md-header {
    display: none !important;
}

@media (max-width: 991px) {
    .elevate-header {
        height: 70px;
    }

    .elevate-header__container {
        height: 70px;
        justify-content: space-between;
    }

    .elevate-header__logo,
    .elevate-header__logo a {
        height: 70px;
    }

    .elevate-logo-desktop {
        display: none;
    }

    .elevate-logo-mobile {
        display: block;
        width: auto;
        height: 55px;
    }

    .elevate-header__menu {
        display: none;
    }

    .elevate-mobile-menu {
        width: 34px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .elevate-mobile-menu span {
        display: block;
        width: 28px;
        height: 2px;
        background: #CCCCCC;
    }
}

/* Temporarily hide selected training navigation items */
.md-nav__item:has(> a[href="eclass/"]),
.md-nav__item:has(> a[href="applications/EESTEC/EESTEC-workshops/"]),
.md-nav__item:has(> a[href="applications/EESTEC/presentations/"]) {
    display: none !important;
}

/* Temporarily hidden training menu items */
.elevate-hidden-training-item {
    display: none !important;
}
