/* NAVIGATION CONTAINTER */
#navcontain {    
	position:relative;
    margin: 0 auto;
    background: #ff3333;
	color: #fff;
	height: 40px;
	z-index:9999;
	-moz-box-shadow: 1px 1px 3px #333;
    -webkit-box-shadow: 1px 2px 5px #222;
    box-shadow: 1px 2px 4px #222;
	width: 100%;
}





/* NAVIGATION STYLES START */
.nav {
    position:relative;
	max-width:100%;
	margin: 0 auto;
	z-index: 9999;
	float: right;
	z-index:9999;
}



/* MOBILE NAV TO NOT DISPLAY ON DESKTOP */
#cssmenu #head-mobile {display:none;}



/* NAV AND LIST GLOBAL STYLES */
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #head-mobile {
    position:relative;
    list-style:none;
    line-height:1;
    display:block;
}



/* DESKTOP NAV FIRST LEVEL STYLES*/
#cssmenu {
	width:100%;
	margin: 0 auto;
	padding: 4px;
	
}

#cssmenu > ul {
    margin: 0 0 0 0;
	float: right;

	
	 }

#cssmenu > ul > li {
    position: relative;
    display:inline-block;
	margin-left: 50px;
	padding: 9px 6px 4px 6px;
	color: #fff;
	


}

#cssmenu > ul > li > a {
	display: inline-block;
    font-size:18px;
	font-family: "Myriad Pro", Helvetica, Arial, sans-serif;
	font-weight: bold;
    line-height:1;
    text-decoration: none;
}

/* NAV FIRST LEVEL HOVER EFFECTS */
#cssmenu > ul > li:hover,
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li:focus > a,
#cssmenu ul li.active a { 

    background:#003399;
    color:#fff;

	border-radius: 4px;
}



/* NAV FIRST LEVEL LI - HAS SUB-NAV STYLES (ADDS "+" BUTTON) */

#cssmenu > ul > li.has-sub > a:after {
    content:'';
    display:block;
    
}






/* NAV SECOND LEVEL STYLES */
/* FOR SECOND LEVEL NAV TO NOT APPEAR UNTIL HOVERED */
#cssmenu ul ul {
    position:absolute;
    left:-9999px;

    z-index:999;
	padding-top: 10px;

}

/* MAKES SECOND LEVEL NAV TO APPEAR */
#cssmenu li:hover > ul {
    left:auto;
}



/* DESKTOP NAV SECOND LEVEL STYLES*/
#cssmenu ul ul li {
    height:auto;
    background: #003399;
	font-weight: 600;
}

#cssmenu ul ul li a {
    width:100%;
    min-width:300px;
    padding: 20px;
    text-align:left;
	color: #fff;
    border-bottom:#fff 1px solid;
	z-index:999;
}
#cssmenu ul ul li:last-child > a {
    border-bottom:0
}

/* NAV SECOND LEVEL HOVER EFFECTS */
#cssmenu ul ul li:hover,
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li:focus > a,
#cssmenu ul ul li.active a {
    background:#fff;
    color:#003399;
}





/* NAV THIRD LEVEL STYLES */
#cssmenu ul ul ul {
    margin-left:100%;
    top:0;
}





@media screen and (max-width:800px){
/* NAVIGATION CONTAINTER */
#navcontain {
    width:100%;
    margin:0 auto;
}



#cssmenu {
    width:100%;
    padding:0;
    background:none;
}



/* DESTOP NAV TO NOT DISPLAY ON MOBILE 
    ALSO BAKCGROUND STYLES OF MOBILE NAV DROPDOWN */
#cssmenu ul {
    display:none;
	float: none;
    /*START BACKGROUND STYLES */
    width:100%;
    background: #ff3333;
    box-shadow:0 2px 2px #363636;
}


/* MOBILE NAV TO DISPLAY AT QUERY WIDTH 
    ALSO BAKCGROUND STYLES OF MOBILE NAV BAR */
#cssmenu
#head-mobile {
    display: block;
    height: 46px; 
    background: #ff333;
 }


 
 
 /* MOBILE MENU HAMBURGER BUTTON STYLES */
.navbutton {
    position:absolute;
    width:55px;
    height:40px;
    right:-20px;
	top: 0;
    cursor:pointer;
    z-index: 12399994;
}

 /* MOBILE MENU HAMBURGER LINE STYLES */
.navbutton:after {
    content:'';
    position:absolute;
    display:block;
    width:20px;
    height:8px;
    top:22px;
    right:20px;
    border-top:2px solid #fff;
    border-bottom:2px solid #fff;
}
.navbutton:before {
    content:'';
    position:absolute;
    display:block;
    width:20px;
    height:2px;
    top:16px;
    right:20px;
    background:#fff;
	
}

.navbutton.menu-opened:after {
    width:19px;
    height:2px;
    top:23px;
    border:0;
    background:#fff;
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    -o-transform:rotate(45deg);
    transform:rotate(45deg);
	-webkit-transition:all .3s ease;
	-ms-transition:all .3s ease;
	transition:all .3s ease;
}
.navbutton.menu-opened:before {
    width:19px;
    top:23px;
    background:#fff;
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transform:rotate(-45deg);
	-webkit-transition:all .3s ease;
	-ms-transition:all .3s ease;
	transition:all .3s ease;
}



/* MOBILE NAV FIRST LEVEL STYLES*/
#cssmenu ul li {
    *float:none;
    width:100%;
    margin:0;
    padding:9px 0px 0px 0px;
    border-left:none;
    border-right:none;
    text-align:left;
    border-bottom:1px solid #fff;
}

#cssmenu ul li a,
#cssmenu ul ul li a {
    width:100%;
    border-bottom:0;
    padding-left:20px;
    line-height:2;
}



/* MOBILE NAV SUBMENU STYLES*/
/*MOBILE NAV TO NOT DISPALY DESKTOP SUBMENU BUTTON */
#cssmenu > ul > li.has-sub > a:after,
#cssmenu > ul > li.has-sub > a:before {
    display:none;
}



/*MOBILE NAV SUBMENU BUTTON STYLES */
#cssmenu .submenu-button {
    position:absolute;
    display:block;
    height:45px;
    right:0;
    top:0;
	padding: 0 27px;
    background: #fff;
    cursor:pointer;
    z-index:99;
}
#cssmenu .submenu-button.submenu-opened {
    background: #fff;
}

/*MOBILE NAV SUBMENU ICON STYLES */
#cssmenu .submenu-button:before {
    content:'';
    position:absolute;
    display:block;
    width:2px;
    height:8px;
    top:0;
    bottom:0;
    right:0;
    left:0;
    margin:auto;
    background: #ff3333;
}
#cssmenu .submenu-button:after {
    content:'';
    position:absolute;
    display:block;
    width:8px;
    height:2px;
    top:0;
    bottom:0;
    right:0;
    left:0;
    margin:auto;
    background: #ff3333;
}
#cssmenu .submenu-button.submenu-opened:before {
    display:none;
}
#cssmenu .submenu-button.submenu-opened:after {
    background:#ff3333;
}



/* MOBILE NAV SECOND LEVEL STYLES*/
#cssmenu ul ul,
#cssmenu ul ul ul {
    position:relative;
    left:0;
    width:100%;
	margin:0;
    text-align:left;
}

#cssmenu ul ul li {
    background: #003399;
    padding:10px 20px 10px 40px;
}

#cssmenu ul ul li a {
    padding-right:0 0 0 80px !important;
    color: #fff ;
    font-weight:bold;
    font-size:16px;
    line-height:1;
    text-decoration:none;
}

#cssmenu ul ul li:hover
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
    color:#ff3333;
    font-weight:bold;
	text-decoration:none;
}

/* MOBILE NAV SECOND LEVEL SUBMENU BUTTON STYLES*/
#cssmenu ul ul .submenu-button {
    height:34px;
    width:34px;
}

/*MOBILE NAV SECOND LEVEL SUBMENU ICON STYLES */
#cssmenu ul ul .submenu-button:after {
    top:13px;
    right:13px;
}
#cssmenu ul ul .submenu-button:before {
    top:10px;
    right:16px;
}
}