/* CSS for em header or topnav on em/singup and em/member pages. */

#topnav { }
@charset "UTF-8";

.navigation {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /*  font-family: sans-serif;*/
    font-size: 1rem !important; 
    font-weight: 400;
    height: 70px;
    background: #666699;
}
.navigation .brand {
    position: absolute;
    /*changed this */
    margin-left: 15px;
    padding-left: 45px;
    float: left;
    line-height: 70px;
    /*  text-transform: uppercase;*/
    font-size: 2rem;
}
.navigation .brand a,
.navigation .brand a:visited {
    color: #ffffff;
    text-decoration: none;    
}
.navigation .brand img {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
}
.navigation .nav-container {
    /*max-width: 1024px;*/
    margin: 0 auto;
}
.navigation nav {
    float: right;    
}
.navigation nav ul {
    list-style: none !important; 
    margin: 0;
    padding: 0;
    background: #666699;
}
.navigation nav ul li {
    float: left;
    position: relative;    
    list-style-type: none !important; 
}
.navigation nav ul li a,
.navigation nav ul li a:visited {
    display: block;
    padding: 0 10px;
    line-height: 70px;
    background: #666699;
    color: lightgray;
    text-decoration: none;
}
.navigation nav ul li a:hover,
.navigation nav ul li a:visited:hover,
.navigation nav ul li a.active {
    /*  background: #2581DC;*/
    color: #ffffff;
}
.navigation nav ul li a:not(:only-child):after,
.navigation nav ul li a:visited:not(:only-child):after {
    margin-left: 5px;
    /*    content: ' ▾';*/
    /*does not work in chrome*/
    content: '';
    border: solid;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 2px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

}
.navigation nav ul li ul li {
    min-width: 200px;
}
.navigation nav ul li ul li a {
    padding: 15px;
    line-height: 15px;
}

.navigation .nav-dropdown {
    position: absolute;
    display: none;
    z-index: 199;    
    box-shadow: 0px 3px 12px rgba(255, 255, 255, 0.5);
}
/* Mobile navigation */
.navigation .nav-mobile {
    display: none;
    position: absolute;
    top: 0px;
    right: 0;
    background: #666699;
    height: 70px;
    width: 70px;
}
.navigation .fas {
    margin-right: 2px;
}
/* menu buttons */
/*        .mbutton {
    display: inline-block;
    padding: 20px 5px;
}
.mbutton a {
    padding: 5px 10px;
    background: #28a745;
    border: 1px #28a745 solid;
    border-radius: 3px;
    color: white;
    font-size: 14px;
    line-height: 30px;
}
.mbutton a,
.mbutton a:hover {
    text-decoration: none;
}
.mbutton a:hover {
    background: #218838;
    border-color: #1e7e34;
}
.mbutton.secondary {
    margin-right: 15px;
}
*/      

@media only screen and (max-width: 791px) {
    .navigation .nav-mobile {
        display: block;                
    }
    .navigation nav {
        width: 100%;
        padding: 78px 0 15px;
    }
    .navigation nav ul {
        display: none;
        overflow-y: hidden;
    }
    .navigation nav ul li {
        float: none;
    }
    .navigation nav ul li a {
        padding: 15px;
        line-height: 20px;
    }
    .navigation nav ul li ul li a {
        padding-left: 55px;
    }            
    .navigation .nav-dropdown {
        position: static;                
    }
    .navigation nav #signup-button {
        margin-left: 35px;
    }
}

@media screen and (min-width: 792px) {
    .navigation .nav-list {
        display: block !important;
    }
    .navigation nav ul {
        margin-right: 15px;
    }
}

.navigation #nav-toggle {
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 12px 35px 16px 0px;
}
.navigation #nav-toggle span,
.navigation #nav-toggle span:before,
.navigation #nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 2px;
    width: 25px;
    background: lightgray;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}
.navigation #nav-toggle span:before {
    top: -8px;
}
.navigation #nav-toggle span:after {
    bottom: -8px;
}
.navigation #nav-toggle.active span {
    background-color: transparent;
}
.navigation #nav-toggle.active span:before,
.navigation #nav-toggle.active span:after {
    top: 0;
}
.navigation #nav-toggle.active span:before {
    transform: rotate(45deg);
}
.navigation #nav-toggle.active span:after {
    transform: rotate(-45deg);
}

/*################################*/
/* CSS for em footer area */
footer *,::after,::before{box-sizing:border-box;}
footer {line-height: 1.5;}
footer hr{box-sizing:content-box;height:0;overflow:visible;margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1);}
footer h5{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;font-size:1.25rem;}
footer p{margin-top:0;margin-bottom:1rem;}
footer ul{margin-top:0;margin-bottom:1rem;}
footer ul li{margin-top:0;margin-bottom:.5rem;}
footer a{color:#007bff;text-decoration:none;background-color:transparent;}
footer a:hover{color:#0056b3;text-decoration:underline;}
footer .list-unstyled{padding-left:0;list-style:none;}
footer .container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto;}
footer .row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px;}
footer .col-md-3,.col-md-9{position:relative;width:100%;padding-right:15px;padding-left:15px;}
@media (min-width:768px){
    footer .col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%;}
    footer .col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%;}
    footer .text-md-left{text-align:left!important;}
}
footer .bg-success{background-color:#28a745!important;}
footer .bg-light{background-color:#f8f9fa!important;}
footer.bg-dark{background-color:#343a40!important;}
footer .d-inline-block{display:inline-block!important;}
footer .mt-0,.my-0{margin-top:0!important;}
footer .my-0{margin-bottom:0!important;}
footer .mb-3{margin-bottom:1rem!important;}
footer .py-2{padding-top:.5rem!important;}
footer .py-2{padding-bottom:.5rem!important;}
footer.pt-4{padding-top:1.5rem!important;}
footer .mx-auto{margin-right:auto!important;}
footer .mx-auto{margin-left:auto!important;}
footer .text-nowrap{white-space:nowrap!important;}
footer .text-center{text-align:center!important;}
footer .text-light{color:#f8f9fa!important;}
footer a.text-light:hover,a.text-light:focus{color:#cbd3da!important;}
footer .text-muted{color:#6c757d!important;}
