.navbar {
    padding: 0;
}

header#masthead {
    /* background-color: var(--background-color); */
    background-color: white;
    padding: 0;
    --flag-margins: 55px
}

.navbar-brand {
    width: 100%;
    margin: 0;
    padding: 0;
}

.navbar-brand .gov-title a {
    color: #085685;
    font-size: 2rem;
    font-weight: bold;
    white-space: break-spaces;
    text-transform: uppercase;
}


header#masthead .government-section {
    font-size: 1rem;
    color: white;
    margin: 0;
    margin-bottom: 17px;
    margin-top: 18px;
    white-space: break-spaces;
}



.navbar-brand .logo-image {
    height: 100%;
    margin: 0;
}

header#masthead {
    height: 164px;
    position: relative;
}

header#masthead .navbar-brand {
    position: absolute;
    top: 0px;
    height: 100%;
}

.background-flag {
    position: relative;
    display: flex;
}

.flag-left-side {
    position: relative;
}

.flag-right-side {
    position: relative;
    width: 100%;
}

.flag-side {
    position: relative;
    background-color: #f22202;
    width: 100%;
    /* height: var(--flag-margins); */
    height: 55px;
    /* margin-bottom: var(--flag-margins); */
    margin-bottom: 55px;
}

.second-logo {
    display: flex;
    justify-content: center;
}

.second-logo img {
    height: 100%;
}

.flag-side.bottom {
    margin-bottom: 0;
}

.logo {
    display: flex;
    justify-content: center;
}

.header-text {
    flex: 1;
}

@media screen and (min-width:0px) and (max-width:991px) {
    .mobile-site-title-container {
        order: 1;
    }
    header#masthead .government-section {
        margin-bottom: 0;
        margin-top: 6px;
    }
    .navbar-brand .gov-title a {
        font-size: 1.5rem;
        color: white;
    }
}

@media only screen and (min-width:992px) and (max-width:1200px) {
    .navbar-brand .gov-title a {
        font-size: 1.8rem;
    }
    header#masthead .government-section {
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 768px) {

    header#masthead {
        --flag-margins: 32.4px
    }

    .navbar-brand .logo-image {
        margin-top: -0.3px;
    }

    .flag-side {
        height: var(--flag-margins);
        margin-bottom: var(--flag-margins);
    }

    header#masthead {
        height: 97px;
    }

}

@media only screen and (max-width: 600px) {

    header#masthead {
        --flag-margins: 32.4px
    }

    header#masthead .government-section {
        font-size: 0.8rem;
        margin-top: 9px;
    }

    .navbar-brand .gov-title a {
        font-size: 14px;
    }


    .flag-side {
        height: var(--flag-margins);
        margin-bottom: var(--flag-margins);
    }

    header#masthead {
        height: 97px;
    }

    .mobile-logo-container {
        padding: 0;
    }

    .mobile-site-title-container {
        padding: 0;
    }
}