/**
Desktop navbar
 */
#oaf-navbar-desktop .oaf-navbar-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#oaf-navbar-desktop .oaf-navbar-logo-container {
    width: 16rem;
    height: auto;
}

#oaf-navbar-desktop .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 120px;
    max-height: 120px;
}

#oaf-navbar-desktop .menu-item {
    position: relative;
    padding-top: .5rem;
    padding-right: 1.8rem;
    display: block;
    text-transform: uppercase;
}

#oaf-navbar-desktop .menu-item a {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
    color: #666666;
}

#oaf-navbar-desktop .menu-item a:hover {
    text-decoration: none;
    color: #e37f89;
    /*padding-bottom: .3rem;*/
    /*border-bottom: #e37f89 solid .4rem;*/
}

#oaf-navbar-desktop .menu-item:hover ul {
    display: block;
}

#oaf-navbar-desktop .menu-item.current-menu-item a {
    text-decoration: none;
    color: #e37f89;
    padding-bottom: .3rem;
    border-bottom: #e37f89 solid .4rem;
}

#oaf-navbar-desktop .menu-item.social {
    padding-right: 1rem;
    padding-bottom: .5rem;
    text-decoration: none;
    color: #666666;
}

#oaf-navbar-desktop .menu-item.social a {
    text-decoration: none;
    color: #666666;
}

#oaf-navbar-desktop .menu-item.social a {
    text-decoration: none;
    color: #666666;
}

#oaf-navbar-desktop .menu-item.social a:hover {
    text-decoration: none;
    color: #e37f89;
    border: none;
}

#oaf-navbar-desktop .sub-menu {
    z-index: 999;
    min-width: 220px;
    position: absolute;
    top: 100%;
    background-color: white;
    padding: 5px;
    border: 1px solid #e37f89;
    display: none;
}

#oaf-navbar-desktop .sub-menu:hover {
    display: block;
}

#oaf-navbar-desktop .sub-menu .menu-item {
    padding: 10px 0 0 0;
}

#oaf-navbar-desktop .sub-menu .current-menu-item a {
    border: none;
    color: white;
}

#oaf-navbar-desktop .sub-menu .current-menu-item a:hover {
    border: none;
    /*color: #e37f89;*/
}

#oaf-navbar-desktop .menu-item .sub-menu {
    background-color: #e37f89;
}


#oaf-navbar-desktop .menu-item .sub-menu a {
    text-decoration: none;
    color: white;
}

/* On screens that are 1280 or less */
@media screen and (max-width: 1280px) {
    #oaf-navbar-desktop .oaf-navbar-logo-container {
        width: 10rem;
        height: auto;
    }

    #oaf-navbar-desktop .menu-item {
        padding-right: 1.4rem;
    }

    #oaf-navbar-desktop .menu-item a {
        font-size: .6rem;
    }
}

/* On screens that are 960 or less */
@media screen and (max-width: 960px) {
    #oaf-navbar-desktop .menu-item {
        padding-right: 1rem;
    }
}

/**
Mobile navbar
 */

#oaf-navbar-mobile {
    display: none;
}

#oaf-navbar-mobile .oaf-navbar-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#oaf-navbar-mobile .oaf-navbar-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 200px;
}

#oaf-navbar-mobile .oaf-navbar-logo-container {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

#oaf-navbar-mobile .oaf-navbar-burger {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


#oaf-navbar-mobile .oaf-navbar-logo-container img {
    width: 20rem;
    height: auto;
}

#oaf-navbar-mobile .oaf-navbar-burger img {
    width: 2rem;
    height: auto;
    cursor: pointer;
}

#oaf-navbar-mobile .oaf-navbar-burger .burger-spacer {
    width: 2rem;
    height: auto;
}

#oaf-navbar-mobile .oaf-navbar-menu {
    display: flex;
    flex-direction: column;
}

#oaf-navbar-mobile .menu.closed {
    display: none;
}

#oaf-navbar-mobile .menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    padding: 0;
}

#oaf-navbar-mobile .menu .menu-item {
    padding: .2rem 0 .3rem 0;
}

#oaf-navbar-mobile .menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
    color: #666666;
    text-transform: uppercase;
}

#oaf-navbar-mobile .menu-item a:hover {
    color: #e37f89;
    /*border-bottom: #e37f89 solid .2rem;*/
}

#oaf-navbar-mobile .menu-item.current-menu-item a {
    color: #e37f89;
    border-bottom: #e37f89 solid .2rem;
}

#oaf-navbar-mobile .social.closed {
    display: none;
}

#oaf-navbar-mobile .social {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

#oaf-navbar-mobile .social a {
    color: black;
    text-decoration: none;
    padding: 0 .5rem 0 0;
}

#oaf-navbar-mobile .social a:hover {
    color: black;
    padding: 0 .5rem 0 0;
}


@media screen and (max-width: 959px) {
    #oaf-navbar-desktop {
        display: none;
    }

    #oaf-navbar-mobile {
        display: block;
    }
}

#oaf-navbar-mobile .sub-menu {
    min-width: 220px;
    /*position: absolute;*/
    /*top: 100%;*/
    background-color: white;
}

#oaf-navbar-mobile .sub-menu:hover {
    display: block;
}

#oaf-navbar-mobile .sub-menu .menu-item {
    padding: 10px 0 0 0;
}

#oaf-navbar-mobile .sub-menu .current-menu-item a {
    border: none;
    color: black;
}

/*#oaf-navbar-mobile .sub-menu .current-menu-item a:hover {*/
/*    border: none;*/
/*    color: #e37f89;*/
/*}*/