/************************************************ #top-login-bar ************************************/
#top-login-bar {
    /* background-color: #0f7c39; */
    /* background-color: #0d8e3a; */
    /* background-color: rgba(236, 236, 236, 0.75); */
    background-color: var(--theme-color);
    /* color: rgba(255, 255, 255, 0.65); */
    color: #f0f0f0;

    
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    
    /* padding: 1rem 12rem; */

    height: 50px;
}

#top-login-bar div {
    display: flex;
    flex-flow: row nowrap;

    margin-right: 40px;

    display: flex;
    align-items: center;
}

#top-login-bar div span:first-child {
    margin-right: 0.6rem;
}

#top-login-bar div:last-child {
    flex: 1 0 50%;

    display: flex;
    justify-content: flex-end;

    margin-right: 0px;
}

#top-login-bar div:last-child ul {
    padding: 0;
    margin: 0;
    
    list-style: none;
    
    display: flex;
    align-items: center;
}

#top-login-bar div:last-child ul li {
    margin-left: 1.5rem;
}

#top-login-bar div:last-child ul li a {
    text-decoration: none;

    color: #ccc;

    transition: color 0.5s;
}

#top-login-bar div:last-child ul li a:hover {
    /* color: rgba(0, 0, 0, 0.65); */
    /* color: #0d8e3a; */
    /* color: #0c4a5a; */
    color: #fff;
}

/************************************************ #mobile-navigation-bar ************************************/
#mobile-navi-bar {
    display: none;
    align-items: center;

    height: 42px;

    padding: 0 2.5rem;

    border-bottom: 1px solid #e0e0e0;
}

#mobile-navi-bar > span:first-child {
    margin-right: 1rem;
}

#mobile-navi-bar > span:nth-child(2) {
    flex: 1 0 auto;
}

/************************************************ #top-navigation-bar ************************************/
#top-navigation-bar {
    color: rgba(0, 0, 0, 0.65);

    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;

    height: 60px;
    /* padding: 0 12rem; */
    
    box-shadow: 0 2px 2px rgb(128, 128, 128, 0.15);
}

#top-navigation-bar > div {
    display: flex;
    flex-flow: row nowrap;

    padding: 0.6rem 0;
}

#top-navigation-bar > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

#top-navigation-bar > div:first-child span:first-child img {
    height: 40px;
}

#top-navigation-bar > div:first-child span:nth-child(2) {
    display: none;
}

#top-navigation-bar > div:first-child span:last-child {
    font-size: 1.25rem;
    font-weight: bold;

    letter-spacing: 0.1rem;
}

#top-navigation-bar > div:first-child span:last-child a {
    color: inherit;
}

#top-navigation-bar > div:last-child {
    flex: 1 0 50%;
    
    display: flex;
    justify-content: flex-end;
    
    padding: 0px;
}

#top-navigation-bar > div:last-child > div:first-child {
    height: 100%;

    display: flex;
    justify-content: flex-end;
}

#top-navigation-bar > div:last-child > div:first-child ul.wp-menu {
    padding: 0;
    margin: 0;
    
    height: 100%;

    list-style: none;
    
    display: flex;
}

#top-navigation-bar > div:last-child > div:first-child ul.wp-menu > li {
    margin-left: 1.5rem;
    
    display: flex;
    align-items: center;

    position: relative;
}

#top-navigation-bar > div:last-child > div:first-child ul.wp-menu > li:hover {
    /* transition: all 0.5s; */
    
    cursor: pointer;
}

#top-navigation-bar > div:last-child > div:first-child ul.wp-menu > li:not(:first-child) > a {
    color: inherit; 

    height: 100%;

    display: flex;
    align-items: center;

    /* transition: all 0.5s; */

    pointer-events: none;
}

#top-navigation-bar > div:last-child > div:first-child ul.wp-menu > li a:hover {
    /* color: #0d8e3a; */
    /* color: #0c4a5a; */
    color: var(--theme-color);
}

#top-navigation-bar > div:last-child > div:first-child ul.wp-menu > li > span.expand {
    position: absolute;
    top: 50%;
    right: 1.5rem;

    transform: translate(0px, -50%);

    padding: 0.5rem 1rem;

    display: none;
}

#top-navigation-bar ul.sub-menu {
    list-style: none;

    display: none;

    margin: 0;
    padding: 0;

    position: absolute;
    /* top: calc(100% + 5px); */
    top: 100%;
    left: 0;

    /* background-color: rgba(236, 236, 236, 1); */
    background-color: rgba(255, 255, 255, 0.95);

    z-index: 1000;
    
    overflow: hidden;
    border-radius: 0.25rem;
    
    border: 1px solid #d4d4d4;

    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

#top-navigation-bar ul.sub-menu li {
    /* transition: all 0.5s; */

    padding: 4px 4px;
}

#top-navigation-bar ul.wp-menu > li:hover ul.sub-menu {
    display: flex;
    flex-flow: row wrap;
}

#top-navigation-bar ul.sub-menu > li:hover {
    cursor: pointer;
    
    /* background-color: rgba(255, 255, 255, 0.95); */
}

#top-navigation-bar ul.sub-menu > li:hover a {
    /* color: #0d8e3a; */
    /* color: #0c4a5a; */
    color: var(--theme-color);

    background-color: rgba(226, 226, 226, 1);
}

#top-navigation-bar ul.sub-menu > li > a {
	display: block;
	
    padding: 0.65rem 1.5rem;

	
    color: rgba(0, 0, 0, 0.65); 
    
    text-align: center;

    border-radius: 0.25rem;

    width: 150px;

    box-sizing: border-box;
}

