div.nav-bar {
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem 0rem;
    border-bottom: 0.2rem solid #efefef;
}

div.nav-bar div.nav-content {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: space-around;
    align-items: center;
    width: 20rem;
    margin: 0 auto;
}

div.nav-bar div.nav-content > .top {
    align-self: start;
    width: 100%;
    padding: 0 1rem;
}

div.nav-bar div.nav-content .search-input {
    border: 0.1rem solid #d2d2d2;
    border-radius: 4rem;
    color: #404040;
    padding: 0.5rem 1rem;
    width: 100%;
    font-size: 0.85rem;
}

div.nav-bar div.nav-content .search-input:focus {
    outline: none;
}

div.nav-bar div.nav-content.logo a {
    height: min-content;
    width: auto;
}

div.nav-bar div.nav-content.logo img {
    width: 25rem;
    height: auto;
}

div.nav-bar div.nav-content .navlink {
    padding-top: 0.5rem;
    align-self: flex-end;
}

@media screen and (max-width: 1199px) {
    div.nav-bar {
        display: flex;
        flex-direction: column;
    }

    div.nav-bar div.nav-content:not(.logo) {
        height: 0;
        overflow-y: hidden;
    }

    div.nav-bar div.nav-content {
        padding: 0.5rem 0;
    }

    div.nav-bar div.nav-content.logo {
        order: -1;
        flex-basis: auto;
    }

    div.nav-bar div.nav-content.logo img {
        width: 20rem;
    }

    div.nav-bar div.nav-content:not(.logo) {
        display: flex;
        height: auto;
    }
}

.form-control-position-right {
    position: absolute;
    top: 1px;
    right: 0;
    z-index: 2;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.8rem;
    text-align: center;
}

div.nav-bar div.nav-content div.top div.navbar-top-links {
    display: flex;
}

div.nav-bar div.nav-content div.top div.navbar-top-links ul {
    list-style: none;
    display: flex;
    justify-content: around;
    margin: 0rem auto 1rem auto;
    padding: 0;
}

div.nav-bar
    div.nav-content
    div.top
    div.navbar-top-links
    ul
    li:not(:last-child) {
    border-right: 0.1rem solid #009fe3;
}

#navbarBottom a {
    border-bottom: 0.1rem solid transparent;
    color: #009fe3 !important;
    transition: 0.2s;
}

#navbarBottom a:hover {
    color: #0c6085 !important;
    border-bottom: 0.1rem solid #0c6085;
}

div.nav-bar div.nav-content div.top a.nav-button {
    background-color: #2b90cf;
    border-radius: 4rem;
    border-right: 0.1rem solid #009fe3;
    color: white;
}

div.nav-bar div.nav-content div.top a.nav-button:hover {
    background-color: #2b90cfc9;
}
