nav#main { 
   background: none;   
   padding: 0;
   position: relative;
   display: inline-block;
   font-weight: 500;
   vertical-align: middle;
   float: right;
   top: 22px;  }
   
   .interior nav#main { top: 22px; }
   
   .simple nav#main { display: none !important; }
    
   header.sticky nav#main { }
    
nav#main ul { 
   list-style: none;
   display: inline-block; 
   vertical-align: middle; }
   
nav#main ul li {
   background: none;      
   float: left; 
   position: relative;
   display: inline-block;
   padding: 0;
   margin-right: .5em; } 
   
   nav#main ul li:last-child { margin-right: 0; }
   
nav#main ul li a {
   padding: .5em .75em;
   font-size: 110%;
   font-weight: 500;
   line-height: 1;
   color: var(--main-title-color);    
   display: inline-block;
   text-transform: uppercase;
   letter-spacing: 0px;
   -webkit-border-radius: 2px 2px 2px 2px;
   border-radius: 2px 2px 2px 2px;
   -webkit-transition: all .35s ease-in-out;
   -moz-transition:    all .35s ease-in-out;
   -o-transition:      all .35s ease-in-out;
   -ms-transition:     all .35s ease-in-out;
   transition:         all .35s ease-in-out; }

   .ie nav#main ul li a { }
   nav#main ul li a.donate { color: var(--link-color);  }
   nav#main ul li a.donate:hover { }
   nav#main ul li a.active:hover {  }

   header.sticky nav#main ul li a, .interior header nav#main ul li a { color: var(--main-title-color); }

nav#main ul li a:hover { background: var(--link-color); color: white !important; }
nav#main ul li a:active { background: var(--link-hover-color); color: white !important;  }

nav#main ul > li:hover a.dropdown {
   color: #fff; } 

nav .share {
   margin-left: 2em;
   display: inline-block; 
   vertical-align: middle; 
   top: 3px;
   position: relative;}
   
   nav .share span {
      font-size: 150%;
      font-weight: 300;
      line-height: 1;
      color: var(--link-color);    
      text-transform: none;
      letter-spacing: -.5px; }   
      
   nav .share .icons {
      color: var(--link-color);
      font-size: 130%; }
      
   nav .share .icons:hover {
      color:  var(--link-color); }
 

 /* Section Nav
------------------------------------ */

#snav { 
   padding: 0 0 10px 0;
   text-align: left; }
   
#snav h3 {
    line-height: 1;
    margin-bottom: .5em; }
    
#snav ul { list-style: none; }   
#snav li { 
   margin: 2px auto; }  
#snav li a { 
   background: rgba(0,0,0,.05);
   padding: 8px; 
   display: block;
   color: #183f6f;
   -webkit-transition: all .35s ease-in-out;
   -moz-transition:    all .35s ease-in-out;
   -o-transition:      all .35s ease-in-out;
   -ms-transition:     all .35s ease-in-out;
   transition:         all .35s ease-in-out; }  
#snav li:hover a { 
   background: #1f99b9;
   color: #fff;  }
#snav li:active a { 
   background: #51cab2;
   color: #fff; }    
   
#snav li:hover a:after { content: " »" }

#snav li.active a { color: #ff7100; }
#snav li.active:hover a { color: #fff; }

#snav li.active a:before { content: " »" }



/* --- Device and Mobile Menu --- */
nav ul#menu li#top-menu  { 
   display: none !important;
   background: white;
   height: 100%;
   width: 50px;
   position: absolute;
   top: 0px;
   right: 0px;
   color: #4c8051;
   border-right: 0; }
   
#home-button a,
nav ul#menu li#top-menu  > a {
   background-repeat: no-repeat;
   width: 50px;
   height: 100%;
   position: relative; }
   
header.sticky #home-button a, header.sticky nav ul#menu li#top-menu  > a { width: 50px; }
      
#home-button > a {  
   background-position: center center; }
   
nav ul#menu li#top-menu  > a { 
   width: 100%;
   height: 50px !important;
   padding: 0 !important;
   font-size: 18px !important;
   vertical-align: middle;
   line-height: 50px !important;
   color: #fff !important;
   font-weight: 700;
   letter-spacing: 1px;
   text-align: center;
   webkit-border-radius: 0 !important;
   border-radius: 0 !important;
   background: var(--link-color); 
   -webkit-transition: all .25s ease-in-out;
   -moz-transition:    all .25s ease-in-out;
   -o-transition:      all .25s ease-in-out;
   -ms-transition:     all .25s ease-in-out;
   transition:         all .25s ease-in-out; }
nav ul#menu li#top-menu  > a:hover { 
   color: var(--link-color) !important;
   background: #fff; }
   
nav ul#menu li#top-menu > a span.icon:before {
   font-family: 'trilogyicons';
   font-size: 34px;
    vertical-align: top;
    line-height: 48px;
   content: "m";
   -webkit-transition: all .25s ease-in-out;
   -moz-transition:    all .25s ease-in-out;
   -o-transition:      all .25s ease-in-out;
   -ms-transition:     all .25s ease-in-out;
   transition:         all .25s ease-in-out; }
   
nav ul#menu li#top-menu > a:hover span.icon:before { color: var(--link-color) !important; background: none; }
nav ul#menu li#top-menu.active a span.icon:before,
nav ul#menu li#top-menu a:active span.icon:before { color: white !important; background-color: none; font-size: 34px; content: "x"; line-height: 50px; }
nav ul#menu li#top-menu.active a:hover span.icon:before { color: var(--link-color) !important; background-color: none;  }


nav ul#menu li#top-menu #top-dropdown {
   background-color: var(--link-color);
   padding: 0;
   width: 250px;      
   box-shadow:            0 4px 3px rgba(0, 0, 0, 0.25);       
      -moz-box-shadow:    0 4px 3px rgba(0, 0, 0, 0.25);  
      -webkit-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);   
   display: none; 
   margin: 0;
   position: absolute;
      top: 50px; 
      right: 0px;
      left: initial;
      z-index: 9999; }
      
nav ul#menu li#top-menu #top-dropdown li { 
   width: 100%;
   padding: 0 !important;
   border-bottom: 1px #fff solid;
   background: none;
   color: #fff;
   margin: 0;}
nav ul#menu li#top-menu #top-dropdown li:last-child { border-bottom: 0; }
   
nav ul#menu li#top-menu #top-dropdown li a { 
   width: 100%;
   background: rgba(255,255,255,0) !important;
   color: white;
   height: auto;
   font-size: 125%;
   padding: .75em 1em !important;
   line-height: 1 !important;
   webkit-border-radius: 0 !important;
   border-radius: 0 !important;}
nav ul#menu li#top-menu #top-dropdown li:last-child a {}

nav ul#menu li#top-menu #top-dropdown li a:hover{   
   background: rgba(255,255,255,.4) !important;
   color: #fff !important; }
nav ul#menu li#top-menu #top-dropdown li a:active {   
   background: rgba(255,255,255,.6) !important;
   color: #fff !important; }
   
nav ul#menu li#top-menu #top-dropdown li.close a { 
   background: none; 
   color: #fff; }
nav ul#menu li#top-menu #top-dropdown li.close a:active { background: none; }
