nav#main { 
   background: none;   
   padding: 0;
   position: relative;
   display: inline-block;
   font-weight: 500;
   vertical-align: middle;
    float: right;
    top: 25px; }
    
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: 150%;
   font-weight: 300;
   line-height: 1;
   color: #183f6f;    
   display: inline-block;
   text-transform: none;
   letter-spacing: -.5px;
   -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:hover { background: #1f99b9; color: white; }
nav#main ul li a:active { background: #51cab2; color: white;  }

nav#main ul > li:hover a.dropdown {
   color: #fff; } 

nav .share {
   margin-left: 1em;
   display: inline-block; 
   vertical-align: middle; }
   
   nav .share span {
   font-size: 150%;
      font-weight: 300;
      line-height: 1;
      color: #183f6f;    
      text-transform: none;
      letter-spacing: -.5px; }      


 /* Submenu
------------------------------------ */

nav#main ol { 
   background: #1f99b9;
   list-style: none;
   width: 100%;
   min-width: 300px;
   margin: 0;
   padding: 0;
   display: none;
   position: absolute; 
   left: 0;
      top: 100%;
      z-index: 100;
   border: 0;
   border-top: 1px #fff solid;
   font-size: 1;
   line-height: 1;
   text-transform: uppercase;
   -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; }

nav#main li:hover ol,
nav#main li.over ol { display: block; }
   
nav#main ol li {
   background: none;
   padding: 0px !important;
   border: 0;
   text-align: left; 
   float: none;
   display: block;
   margin: 0; }
   
nav#main ol li a {
   background-color: #1f99b9;
   border-bottom: 1px #fff solid;
   color: white !important;
   width: auto;
   height: auto;
   padding: .5em .75em !important;
   display: block;
   float: none;   
   text-indent: 0;
   font-size: 1;
   color: #fff;
   -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; }

nav#main ol li a:hover { 
	background-color: rgba(255,255,255,.5); }
nav#main ol li a:active { 
	background-color: rgba(255,255,255,.25);}
   

 /* Section Nav
------------------------------------ */

#snav { 
   padding: 0 0 3em 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-image: url(/theme/mobile/img/home.png);
   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: #183f6f; 
   -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: white !important;
   background: #1f99b9; }
   
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: white !important; }
nav ul#menu li#top-menu.active a span.icon:before,
nav ul#menu li#top-menu a:active span.icon:before { color: #fff !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: white !important; background-color: #1f99b9;  }


nav ul#menu li#top-menu #top-dropdown {
   background-color: #1f99b9;
   padding: 10px;
   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-right: 0;
   background: none;
   color: #fff;
   margin: 0 0 2px 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: 94%;
   background: rgba(255,255,255,.1) !important;
   color: white;
   height: auto;
   padding: .5em 3% !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:active {   
   background: rgba(255,255,255,.4) !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; }
