.nav-custom {
    position: relative;
}

.nav-custom .nav-icon {
    position: absolute;
    top: calc(50% - 40px);
    padding-left: 15px;
}

.title-row {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.background-wrapper {
    height: 200px;
    overflow: hidden;
}

.background-wrapper .background-image {
    width: auto;
    min-width: 100%;
    height: 200px;
}

.title-row h1 {
    margin: 0;
    line-height: 1;
    color: #212529;
    padding-left: 15px;
    font-size: 1.35em;
    text-transform: uppercase;
}

.title-row nav {
    padding: 0;
    position: relative;
    min-height: 21px;
}

.title-row nav a {
    color: #003f72;
    background: #f5f7f7;
    padding: 3px 10px !important;
    border-radius: 5px;
    font-weight: 100;
    border: solid 1px #dfe3e6;
    margin-bottom: 2px;
}

.title-row nav a:hover label {
    cursor: pointer;
}

.title-row nav a label {
    margin: 0;
}

div.nav-custom nav.navbar a label {
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

div.nav-custom nav.navbar a:hover label {
    border-bottom-color: #212529;
}

body {
    min-height: 100vh;
}

p {
    margin: 0;
}

.welcome a.nav-item h5 {
    color: #666c73;
}

.welcome a.nav-item:hover h5 {
    color: #212529;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(204, 204, 204, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.navbar .navbar-toggler {
    color: rgba(79, 79, 79, .5);
    border-color: rgb(255 255 255 / 57%);
    position: absolute;
    right: 15px;
    bottom: 0;
    transition: all 0.2s;
    background: #666;
}

.title-row .row {
    align-items: center;
}

@media (min-width: 767px) {
    footer {
        position: absolute;
        width: 100%;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .navbar .navbar-collapse {
        position: absolute;
        text-align: right;
        right: 15px;
        bottom: -15px;
    }
    .navbar .navbar-toggler[aria-expanded="true"] {
        top: unset;
        bottom: 130px;
    }
    .navbar .navbar-toggler.nav-welcome[aria-expanded="true"] {
        bottom: 100px;
    }
    .title-row h1 {
        padding-bottom: 10px;
    }
}