nav#main {
   margin: 0;
   height: 40px;
   z-index: 100;
   float: left;
   display: inline-block;
   top: 13px;
   position: relative;
   // set animation
   -webkit-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
   border-left: 2px white solid;
   padding-left: 15px;
   margin-left: 30px; }

body#interior.action nav#main { display: none; }
body#simple nav#main { display: none; }
  
nav#extras {
   right: 0px;
   top: 16px;
   float: right;
   display: inline-block;
   position: relative;
   // set animation
   -webkit-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out; }

body#interior.action nav#extras { display: none; }
    
nav ul#menu { list-style: none; margin: 0 auto; float: none; display: inline-block; }

nav ul#menu  li {      
   float: none; 
   position: relative;
   display: inline-block;
   padding: 0; } 
nav ul#menu  li.nav-menu { display: none; }
nav ul#menu  li:last-child { border-right: 0; }

nav ul#menu li a {
   height: 16px;
   padding: 12px 15px;
   background-color: none;
   font-size: 100%;
   font-weight: 400;
   line-height: 1;
   color: #f5f1de;
   display: inline-block;
   font-family: 'Roboto Slab', serif;
   text-transform:uppercase;
   letter-spacing: 0;
   -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 ul#menu li a:hover { background-color: #f5f1de; color: #0d2547; }  
nav ul#menu li a:active { background-color: #30e3ea; color: white; }

nav header ul#menu > li:hover a.dropdown {
   background-color: #159bc2;
   color: #FFF; } 
  
   

/* Submenu
------------------------------------ */
nav ul#menu ol { 
   background: #159bc2;
   list-style: none;
   width: 300px;
   margin: 0;
   padding: 6px;
   display: none;
   position: absolute;
   left: 0px;
   top: 44px;
   z-index: 100;
   font-size: 20px !important;
   line-height: 1 !important;
   text-transform: none !important;
   -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;
   -webkit-box-shadow: 1px 5px 5px 0 rgba(0,0,0,.2);
   box-shadow: 1px 5px 5px 0 rgba(0,0,0,.2); }


nav ul#menu li:hover ol, nav#main li.over ol { display: block; }

nav ul#menu ol li {
   background-image: none;
   padding: 2px !important;
   text-align: left; 
   float: none;
   display: block; }

nav ul#menu ol li a {
   background-color: rgba(255,255,255,.2);
   width: auto;
   height: auto;
   padding: 10px 7px !important;
   display: block;
   color: #fff !important;
   font-size: 20px !important;
   line-height: 1 !important;
   float: none;   
   text-indent: 0;
   -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 ul#menu ol li a:hover { 
   padding: 10px 7px !important;
   background-color: rgba(255,255,255,.6) !important;    
   color: #fff !important; }
nav ul#menu ol li a:active { 
   background-color: #ff0036 !important; 
   color: #fff !important;  }

body.trilogy-hub-form header nav#main,
body.trilogy-hub-form header nav#extras { display: none !important; }


/* --- Connect --- */
ul#social {
   position: relative;
   list-style: none;
   float: none;
   width: auto;
   margin: 0;
   top: 3px;
   display: inline-block;}

ul#social  li {      
   float: none; 
   position: relative;
   display: inline-block;
   padding: 0;
   width: 40px;
   height: 40px;}
   
ul#social a { 
   height: 40px;
   width: 40px;
   color: #f5f1de;
   font-family: 'trilogyicons'; 
   font-size: 22px;
   text-transform: lowercase;
   font-weight: 300;   
   margin: 0;
   padding: 9px;
   text-align: center;
   position: relative;
   top: 0;
   -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; }


ul#social a:hover { color: #0d2547; background: #f5f1de; }
ul#social a:active { background: #30e3ea; color: white; }


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

#snav { 
   text-align: left;
   background: #0d2547;
   width: 86%;
   padding: 7%;
   right: 0;
   margin: 0 0 1em 0;
   height: auto;
   position: relative;}

#snav ul { list-style: none; }   
#snav li { margin: 0 auto; }  
#snav li a { 
   position: relative;
   background: rgba(48,227,234,0);
   padding: 0.25em 5px; 
   margin: 1px 0;
   border-bottom: 1px #30e3ea solid;
   display: block;
   font: 400 22px/1 'Roboto Slab', serif;
   letter-spacing: 1px;
   text-transform: uppercase !important;
   color: white;    
   -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; }  
#snav li a:hover { 
  background: rgba(48,227,234,.6);  }
#snav li a:active { 
  background: rgba(48,227,234,1); }

#snav li a:before { font-family: 'trilogyicons'; font-size: 10px; color: #30e3ea; content: ">"; position: relative; top: -2px; left: 0px;}

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

#snav li:last-child a { border-bottom: 0; }


/* --- Device and Mobile Menu --- */
nav ul#menu li#top-menu  { 
   display: none !important;
   background: #2edae2;
   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(/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: white !important;
   text-transform: uppercase;
   font-weight: 700;
   letter-spacing: 1px;
   webkit-border-radius: 0 !important;
   border-radius: 0 !important;
   background: #2edae2; 
   -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: #159bc2 !important;
   background: white; }
   
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: #2edae2 !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: #2edae2 !important; background-color: none;  }


nav ul#menu li#top-menu #top-dropdown {
   background-color: #2edae2;
   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; }
