.efluidmenu {
    font-family:  'Open Sans', sans-serif, arial, verdana, helvetica;
    font-size: 16px;
    color: #28437b;
    font-weight: normal;
    text-align: center;
    background: #fff;  		/*background of menu bar (default state)*/
    width: 100%;
    position: relative;
}


.efluidmenu, .efluidmenu * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.efluidmenu > ul { 			/* style of top UL menu */
    z-index: 100;
    padding: 0;
    list-style: none;
    margin: 0 auto;
    width: 100%;
    position: relative;
    max-width: 1200px;  		/* width of top UL menu */
}


.efluidmenu > ul li { 		/*Top level list items*/
    position: relative;
    display: inline-block;
    margin-right: 25px; 		/* Spacing between menu level list items */
    z-index: 100;
    -webkit-perspective: 500px;
    -moz-perspective: 500px;
    perspective: 500px;
    -webkit-perspective-origin: 50%;
    -moz-perspective-origin: 50%;
    perspective-origin: 50%;
}

.efluidmenu > ul li a { 		/*Top level menu link items style */
    display: inline-block;
    padding: 11px 7px;		/*###-- TOP MENU ITEMS SPACE TOP / RIGHT --###*/
    text-decoration: none;		/*###-- TOP MENU STYLES --- ALL --###*/
    font-family:  'Open Sans', sans-serif, arial;
    font-size: 16px;
    color: #fff;			/*###-- TEXT COLOR - SUB-MENU --###*/
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 1px;
    word-spacing: 1px;
    border-radius: 5px;
}

.efluidmenu > ul li a:link, .efluidmenu ul li a:visited {
    font-family:  'Open Sans', sans-serif, arial;		/*###--- TEXT FOR ALL MENU ITEMS ---###*/
    font-size: 16px;
    color: #005bb7;
    font-weight: normal;
    text-shadow: 0.4px 0.4px 0.4px #999;
    text-align: left;
}

.efluidmenu > ul li.selected a{ 	/*CSS class that's dynamically added to the currently active menu items' LI element*/
    background: #154a80;
    color: #fff;			/*###--- TEXT COLOR FOR SUBMENU ---###*/

}

.efluidmenu > ul li a:hover {
    background: #28437b;  		/*background of menu items during onmouseover (hover state)*/
    color: #fff;			/*###--- TEXT COLOR FOR MAIN & SUB-MENU HOVER ---###*/
    text-decoration: underline;
}

/* ## Sub Menus CSS ## */

.efluidmenu ul li > ul {
    position: absolute;
    padding: 0;
    left: 0;
    width: 200px; 
    display: block;
    display: none;  				/*collapse all sub menus to begin with*/
    visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);

}

/*Sub level menu list items (alters style from Top level List Items)*/

.efluidmenu ul li > ul li {
    display: block;
    margin-right: 0;
}

/* Sub level menu links style */

.efluidmenu ul li > ul li a {
    font-family: 'Open Sans', sans-serif, Arial;
    display: block;
    padding: 8px;			/*###--- SPACE AROUND SUB-MENU DROP ITEMS ---###*/
    margin-right: 0;
    border-top-width: 0;
    border-bottom: 1px solid #000;		/*###--- LINE BREAK COLOR FOR SUB-MENU ---###*/
}

.efluidmenu ul li ul > li a:hover {
    background: #103861;			/* ###-- HOVER FOR SUBMENU --### */
}


/* ######### CSS Animations  ######### */

@-moz-keyframes fade-in-rise-down {
    
    0% {
        pointer-events: auto;
        opacity: 0;
        -moz-transform: translateY(-10px);
    }
    
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }

}

@-moz-keyframes fade-out-nudge-up {
    
    0% {
        pointer-events: none;
    }
    100% {
        opacity: 0;
        -moz-transform: translateY(-10px);
    }
}

@-webkit-keyframes fade-in-rise-down {
    
    0% {
        pointer-events: auto;
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }
    
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }

}

@-webkit-keyframes fade-out-nudge-up {
    
    0% {
        pointer-events: none;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }
}


@keyframes fade-in-rise-down {
    
    0% {
        pointer-events: auto;
        opacity: 0;
        transform: translateY(-10px);
    }
    
    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fade-out-nudge-up {
    
    0% {
        pointer-events: none;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.fade-in-rise-down-animation {
    -webkit-animation: fade-in-rise-down ease forwards 0.4s;
    -moz-animation: fade-in-rise-down ease forwards 0.4s;
    -ms-animation: fade-in-rise-down ease forwards 0.4s;
    -o-animation: fade-in-rise-down ease forwards 0.4s;
    animation: fade-in-rise-down ease forwards .4s;
}

.fade-out-nudge-up-animation {
    -webkit-animation: fade-out-nudge-up ease forwards 0.4s;
    -moz-animation: fade-out-nudge-up ease forwards 0.4s;
    -ms-animation: fade-out-nudge-up ease forwards 0.4s;
    -o-animation: fade-out-nudge-up ease forwards 0.4s;
    animation: fade-out-nudge-up ease forwards .4s;
}


/* ######### CSS class applied to down arrow images  ######### */


.downarrow {
    position: relative;
    margin-left: 5px;
    border-width: 0;
}

/* ######### CSS class applied to main menu UL in mobile menu mode when menu is open ######### */

.efluidmenu .openmobileclass {
    display: block;
}


/* ############# Animated Drawer (HAMBURGER) icon (mobile menu toggler) CSS ############# */

.efluid-animateddrawer {
    font-size: 10px;			/* #######--- HAMBURGER SIZE ---####### */
    width: 3em;			/* Base font size. Adjust this value to modify size of drawer icon */
    height: 2.8em;
    outline: none;
    position: relative;
    display: none;
    left: 12px;
    z-index: 1000;
}

.efluid-animateddrawer:before, .efluid-animateddrawer:after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 0.6em;
    /* height of top and bottom drawer line */
    background: #154a80;	/* #######--- HAMBURGER TOP AND BOTTOM LINE COLOR ---####### */
    border-radius: 0px;
    top: 0;
    left: 0;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in;
    /* set transition type and time */
    transition: all 0.3s ease-in;
}

.efluid-animateddrawer:after { top: auto; bottom: 0; }

.efluid-animateddrawer span {
    width: 50%;
    height: 0.6em;
    		/* height of middle drawer line */
    background: #f11f20;	/* #######--- 2nd HALF HAMBURGER MIDDLE LINE COLOR ---####### */
    position: absolute;
    top: 50%;
    margin-top: -0.3em;
    		/* set this to - half of middle drawer line height */
    border-radius: 0px;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all 0.3s ease-in 0.3s;
    		/* set transition type and time */
    transition: all 0.3s ease-in 0.3s;
}

.efluid-animateddrawer span::after {
    content: '';
    display: block;
    width: 100%;
    height: 0.6em;
    margin-left:-15px;
    /* height of middle drawer line */
    background: #f11f20;	/* #######--- 1st HALF HAMBURGER MIDDLE LINE COLOR ---####### */
    border-radius: 0px;
    position: absolute;
    -ms-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all 0.3s ease-in 0.3s;
    /* set transition type and time */
    transition: all 0.3s ease-in 0.3s;
}


/* #######--- MEDIA QUIRIES FOR RESPONSIVE MENU ---####### */

@media (max-width: 1100px) { 		/* FIRST breaking point */

    .efluidmenu > ul li#sitelogo{
        margin-left: 10px;
    }
    .efluidmenu > ul li#sitelogo a img{
        width: 27px; 				/* reduce size of site logo */
    }
}


@media screen and (max-width: 930px) { 	/* SECOND breaking point */
    /* mobile layout break point */
    
    .efluidmenu ul li#search {
        display: none; 			/* Hide search LI */
    }
}
 
@media screen and (max-width: 650px) { 	/* FINAL, mobile menu breaking point */
    
    .efluidmenu {
        padding: 8px 0;
        margin-bottom: 10px;
    }
    
    .efluid-animateddrawer {
        display: block; 			/* show mobile menu toggler */
        clear: both;
    }
    
    .efluidmenu ul {
        margin-top: 16px; 			/* Position main menu UL below menu toggler above */
        display: none; 			/* Hide menu by default */
    }
    
    .efluidmenu ul li#sitelogo {
       display: none;
    }
    
    .efluidmenu ul li {
        display: block;
        margin-right: 0;
    }
    
    .efluidmenu ul li a {
        display: block;
        width: 100%;
        padding-left: 10px;		/* LEFT SPACE ON REDUCED MENU */
    
    }
    
    .efluidmenu ul li a:hover {
        border-radius: 0;
    }
    
    .efluidmenu ul li#search {
        display: block;
        float: none;
        padding-left: 3px;
    }
    
    .efluidmenu ul li#search form {
        width: 100%;
    }
    
    .efluidmenu ul li ul {
        display: none !important; /* force hiding of all drop down menus */
    }
    
    .efluidmenu .downarrow {
        display: none;
    }

}
