nav#main { 
   background: none;   
   padding: 0;
   position: absolute;
   display: inline-block;
   bottom: 15px;
   right: 20px;
   font-family: adelle-condensed, serif;
   font-weight: 600; }
    
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: 3em; } 
   
nav#main ul li a {
   padding:0;
   font-size: 140%;
   font-weight: 600;
   line-height: 1;
   color: #0e4e91;    
   display: inline-block;
   -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 { padding: 20px 23px; }


nav#main ul li a:hover { color: #e87c1e; }
nav#main ul li a:active { color: #e87c1e; }

nav#main ul > li:hover a.dropdown {
   color: #e87c1e; } 


 /* Submenu
------------------------------------ */

nav#main ol { 
   background: rgba(255,255,255,1);
   list-style: none;
   width: 200px;
   margin: 0;
   padding: 1em;
   display: none;
   position: absolute; 
   left: -1em;
      top: 2.5em;
      z-index: 100;
   border: 0;
   border-top: 0;
   font-size: 11px;
   line-height: 11px;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.1);
   box-shadow: 0 0 20px 0 rgba(0,0,0,.1);
   -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: 2px !important;
   border: 0;
   text-align: left; 
   float: none;
   display: block;
   margin: 0; }
	
nav#main ol li a {
   background-color: #e87c1e;
   color: white !important;
   width: auto;
   height: auto;
   padding: 7px 16px 5px 16px!important;
   display: block;
   float: none;   
   text-indent: 0;
   font-size: 18px;
   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: #0e4e91; }
nav#main ol li a:active { 
	background-color: #1076e0;}


 /* Section Nav
------------------------------------ */

#snav { 
   padding: 0 0 10px 0;
   text-align: left; }
   
#snav h3 {
    font: 600 15px/1 deva-ideal,sans-serif;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: .5em; }
    
#snav ul { list-style: none; }   
#snav li { 
   margin: 2px auto; }  
#snav li a { 
   background: rgba(232,134,30,0);
   padding: 8px 5px 8px 0; 
   display: block;
   font: 600 15px/1 deva-ideal,sans-serif;
   text-transform: uppercase;
   color: #e87c1e;
   -moz-border-radius:    4px; 
   -webkit-border-radius: 4px;
   border-radius:         4px;    
   -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: rgba(232,134,30,1);
   padding: 8px 5px 8px 7px; 
   color: #fff;
   -moz-box-shadow:       inset 1px 1px 2.5px rgba(0,0,0,0);
   	-webkit-box-shadow: inset 1px 1px 2.5px rgba(0,0,0,0);
   	box-shadow:         inset 1px 1px 2.5px rgba(0,0,0,0); }
#snav li:active a { 
   background: rgba(232,134,30,.8);
   padding: 8px 5px 8px 7px; 
   -moz-box-shadow:       inset 1px 1px 2.5px rgba(0,0,0,.3);
      -webkit-box-shadow: inset 1px 1px 2.5px rgba(0,0,0,.3);
   	box-shadow:         inset 1px 1px 2.5px rgba(0,0,0,.3);   
   color: #fff; }    
   
#snav li:hover a:after { content: "\00BB"; padding-left: 5px; }

#snav li.active a { color: #ff7100; }
#snav li.active:hover a { color: #fff; }

#snav li.active a:before { content: "\00AB"; padding-right: 5px; }


/* --- Connect --- */
#social { 
   display: inline-block;
   vertical-align: middle; }   


/* --- Device and Mobile Menu --- */
nav ul#menu li#top-menu  { 
   display: none !important;
   background: #0e4e91;
   height: 100%;
   width: 70px;
   position: absolute;
   top: 0px;
   right: 0px;
   color: white;
   border-right: 0; }
   
header.sticky nav ul#menu li#top-menu  { width: 50px; height: 50px; }

#home-button a,
nav ul#menu li#top-menu  > a {
   background-repeat: no-repeat;
   width: 70px;
   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(../../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: white !important;
   text-transform: uppercase;
   font-weight: 700;
   letter-spacing: 1px;
   webkit-border-radius: 0 !important;
   border-radius: 0 !important;
   background: #0e4e91; 
   -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: #e87d20; }
   
nav ul#menu li#top-menu > a span.icon:before {
   font-family: 'trilogyicons';
   font-size: 40px;
   vertical-align: middle;
   line-height: 50px;
   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"; }

nav ul#menu li#top-menu.active a:hover span.icon:before { color: white !important; background-color: #e87d20;  }


nav ul#menu li#top-menu #top-dropdown {
   background-color: #0e4e91;
   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: #159bc2;
   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,.2) !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; }
