#headerMenuBlock {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    width: 100%;
    min-height: 4.5rem;
    height: auto;
    /* background: rgba(255, 255, 255, 0.8); */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    z-index: 5;
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    min-height: 4.5rem;
    height: auto;
    /* background: rgba(255, 255, 255, 0.8); */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

    #headerMenuBlock.stdPage {
        box-shadow: 1px 1px 3px rgba(0,0,0,0.25);
    }

    #headerMenuBlock a.logoCountyName {
        display: flex;
        align-items: center;
        font-family: 'Franklin Gothic Book';
        font-size: 2.3rem;
        letter-spacing: 2px;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        line-height: 1;
        flex-wrap: nowrap;
        flex: 0 1 25%;
    }

        #headerMenuBlock a.logoCountyName:hover {
            cursor: pointer;
            text-decoration: none;
        }

.logoCountyName .ccLogoImg {
    width: 4.75rem;
    margin: .5rem 1rem;
    background: #fff;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.menuMgmt {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: flex-end;
    /* background: #fff; */
}


#midMenu {
    flex: 1 0 auto;
    flex-wrap: nowrap;
    display: flex;
    flex: 1 1 auto; /* allow growth and wrapping */
    flex-wrap: nowrap; /* wrap links if needed */
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: .75rem .25rem .25rem 0;
    width: 100%;
    background: #ffffff;
    border-top-left-radius: 4rem;
    min-height: 4.5rem;
}

#mobileMidMenu {
    display: none;
}

#midMenu a.heroLink {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    font-variant: all-small-caps;
    font-variant: all-petite-caps;
    letter-spacing: 1.5px;
    padding: 0 1.5rem;
    min-height: 2rem;
    min-width: 0;
    border-right: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 1 auto;
    text-align: center;
}

    #midMenu a.heroLink:last-of-type {
        border-right: none;
    }

    #midMenu a.heroLink:hover, #midMenu a.heroLink:focus {
        box-shadow: none;
        /* border-bottom: 2px solid #C24646; */
        font-weight: bold;
        color: #C24646 !important;
        text-decoration: none;
    }



#headerMenuBlock .rightMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1px;
    color: #ffffff;
    height: inherit;
    top: 0;
    right: 0;
    width: 100%;
    flex: 1 0 100%;
}

    #headerMenuBlock .rightMenu label,
    #headerMenuBlock .aside-right label {
        display: block;
        padding: 1rem;
        background-color: transparent;
        cursor: pointer;
        margin: 0.1rem;
        z-index: 3;
        position: relative;
        height: 95%;
        width: 3.5rem;
    }


    #headerMenuBlock .rightMenu button, #headerMenuBlock .rightMenu a {
        appearance: none;
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 3.25rem;
        width: 3.25rem;
        border: none;
        cursor: pointer;
        z-index: 3;
        position: relative;
        color: #fff;
        font-size: 1.5rem;
        text-align: center;
        border-right: 1px solid #475e71;
        padding: .25rem .5rem;
    }

        #headerMenuBlock .rightMenu button:hover,
        #headerMenuBlock .rightMenu a:hover {
            background: #475e71;
            border: 1px solid var(--cc-navBlue);
            /* color: var(--cc-darkGrey); */
            padding-top: .1rem;
        }

#mobileRightMenu {
    display: none
}

.toggleSpan {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
}

.middle {
    margin: 3px 5px;
}

#slidingNav .aside-right .middle {
    margin: 0 auto;
}

#menuToggleBtn,
#menuToggleBtnMobile {
    border: none;
}
/*Unconventional break*/
@media (max-width: 1304) {

    /* #rightMenu {
        position: absolute;
    }
*/
}
/* Tablets 12.9 ipadpro*/
@media (max-width: 1366px) {
    #midMenu a.heroLink {
        padding: 0 1.25rem;
    }
}
/* Tablets between*/
@media (max-width: 1245px) {
    #midMenu a.heroLink {
        padding: 0 1rem;
    }
}

@media (max-width: 1200px) {
    #midMenu a.heroLink {
        font-size: 1.1rem;
        font-weight: bold;
        font-variant: all-small-caps;
        font-variant: all-petite-caps;
        letter-spacing: 1.25px;
        padding: 0 1rem;
    }
}

@media (max-width: 1085px) {
    #midMenu a.heroLink {
        font-size: 1rem;
        font-weight: bold;
        font-variant: all-small-caps;
        font-variant: all-petite-caps;
        letter-spacing: 1.25px;
        padding: 0 1rem;
    }

    #headerMenuBlock a.logoCountyName {
        font-size: 2rem;
    }
}
/* Tablets */
@media (max-width: 1024px) {
}

@media (max-width: 992px) {
    #midMenu a.heroLink {
        letter-spacing: 1px;
        padding: 0 .5rem;
    }
}

@media (max-width: 896px) {
    #midMenu a.heroLink {
        letter-spacing: 1px;
        padding: 0 .5rem;
    }
}

@media (max-width: 844px) {
    #midMenu a.heroLink {
        letter-spacing: .035rem;
        padding: 0 .35rem;
    }

    #midMenu a.heroLink {
        letter-spacing: .035rem;
        padding: 0 .35rem;
    }
    #headerMenuBlock a.logoCountyName {
        font-size: 1.8rem;
    }
}

@media (max-width: 812px) {
    #headerMenuBlock a.logoCountyName {
        font-size: 1.75rem;
        flex: 0 1 22%;
    }

    .logoCountyName .ccLogoImg {
        width: 3.9rem;
        margin-right: .72rem;
    }
}

@media (max-width: 800px) {
    #headerMenuBlock a.logoCountyName {
        font-size: 1.5rem;
        flex: 0 1 22%;
    }

    .logoCountyName .ccLogoImg {
        width: 3.85rem;
        margin-right: .5rem;
    }

    #midMenu {
        padding: .75rem 0 .25rem .25rem;
    }

        #midMenu a.heroLink {
            flex: 1 0 auto;
        }
}


@media (max-width: 768px) {
    #midMenu {
        padding: .75rem 1.5rem .25rem 1.5rem;
        flex-wrap: wrap;
        width: 95%;
    }

        #midMenu a.heroLink {
            flex: 1 0 auto;
            min-width: 25%;
        }
}

@media (max-width: 680px) {
    #headerMenuBlock a.logoCountyName {
        padding-right: .25rem;
    }

    #midMenu a.heroLink {
        min-width: 49%;
    }
}

@media (max-width: 602px) {
    #headerMenuBlock a.logoCountyName {
        padding-right: .25rem;
    }

    #midMenu a.heroLink {
        letter-spacing: 1px;
        padding: 0 0.75rem;
    }
}

@media (max-width: 576px) {
    #headerMenuBlock a.logoCountyName {
        width: 100%;
        padding-block: .5rem;
        font-size: 1.5rem;
        border-bottom: 0;
    }

    .menuMgmt {
        width: 100%;
    }


    #headerMenuBlock {
        flex-direction: column !important;
    }



    #midMenu {
        display: none;
    }

    #mobileMidMenu {
        display: flex;
        flex-wrap: wrap;
        font-size: .9rem;
        width: 100%;
        border-radius: 0;
        flex-direction: row;
        justify-content: flex-start;
        background: none;
        margin-top: 1rem;
        padding: 0 1rem;
    }



        #mobileMidMenu a.heroLink {
            flex: 1 1 45%;
            text-align: center;
            font-size: 0.95rem;
            padding: 0.5rem;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 0.35rem;
            margin: .25rem;
        }

    #headerMenuBlock #rightMenu {
        position: absolute;
        width: auto !important;
        margin-top: .75rem;
    }

    #headerMenuBlock .rightMenu button, #headerMenuBlock .rightMenu a {
        height: 4rem;
        width: 4rem;
        border-radius: .25rem;
        margin: 0 .25rem;
        border: 2px solid #475e71;
        box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 5px inset;
    }
}

@media (max-width: 500px) {

    #headerMenuBlock #rightMenu {
        position: relative;
        width: 100%;
        margin-top: .45rem;
        margin-bottom: 1rem;
    }
}
