﻿html {
    scroll-padding-top: 66px;
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

#bl-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#bl-container #nav-container {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #4D585E;
    margin: 0;
    padding: 20px;
    border: 0;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1;
}

a#nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 44px;
    color: #FFF;
    font-size: 1.7em;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    box-sizing: border-box;
}

a#nav-button::after {
    content: '\e7db';
    font-family: "icomoon";
    font-size: 1.3em;
}

nav#bl-nav {
    display: none;
    color: #FFF;
}

nav#bl-nav hr {
    margin: 20px 0;
}

nav#bl-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav#bl-nav a {
    display: block;
    text-decoration: none;
    color: #FFF;
    font-size: 1.7em;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    min-height: 44px;
    align-content: center;
}

nav#bl-nav a:hover,
nav#bl-nav a:focus-visible {
    background-color: slategray;
    color: #FFF;
}

nav#bl-nav a#back-to-bl {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

nav#bl-nav a#back-to-bl::before {
    content: "\e9c0";
    font-family: "icomoon";
    font-size: 1.3em;
}

main#bl-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

main#bl-content img.bl-intro-banner {
    width: 100%;
    height: auto;
}

main#bl-content section {
    padding: 25px 0;
}

main#bl-content h1 {
    margin-bottom: 20px;
}

main#bl-content > section > h2 {
    margin-top: 0 !important;
}

main#bl-content .banner {
    display: flex;
    position: relative;
    align-self: center;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
    width: 100%;
}

main#bl-content .banner img {
    position: absolute;
    height: 100%;
    width: auto;
}

main#bl-content .banner .banner-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
}

main#bl-content .banner .banner-title h2 {
    display: inline-block;
    margin: 0 !important;
    background-color: #EEE;
    padding: 10px;
    font-size: 2em !important;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5);
    text-align: center;
}

main#bl-content section .banner .banner-title h2 {
    border-bottom: 3px solid #FF8FBB;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    html {
        scroll-padding-top: unset;
    }

    a#nav-button {
        display: none;
    }

    #bl-container {
        flex-direction: row;
    }

    #bl-container #nav-container {
        width: 20%;
        min-width: 250px;
        max-width: 350px;
        height: 100vh;
        margin-top: 20px;
    }

    nav#bl-nav {
        display: block;
    }

    main#bl-content img.bl-intro-banner {
        width: 100%;
    }

    main#bl-content .banner {
        justify-content: start;
    }

    main#bl-content .banner img {
        width: auto;
        height: 100%;
    }

    main#bl-content .banner .banner-title {
        justify-content: start;
    }

    main#bl-content .banner .banner-title h2 {
    text-align: left;
}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #bl-container {
        max-width: 1280px;
        margin: 0 auto;
    }

    main#bl-content .banner .banner-title h2 {
        font-size: 2.3em !important;
    }
}