/* NAVIGATION CONTAINTER */
#navcontain {    
	position:relative;
    margin:16px auto 0;
	z-index:9998;
	width:calc(100% - 760px);
}





/* NAVIGATION STYLES START */
.nav {
    position:relative;
	width:100%;
	margin: 0 auto;
	
}



/* 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 {
	padding:0 8% 0 0;
	text-align: center;
	
}

#cssmenu ul {
    margin:0 0 0 0;
	
}

#cssmenu ul li {
    position: relative;
    text-align:center;
}

#cssmenu ul li a {
    *display:inline;
	display: inline-block;
    padding:25px 8px 5px 8px;  
    color: #000;
    font-weight:500;
    font-size:18px;
    line-height:1;
    text-transform: uppercase;
    text-decoration: none;
	font-family: 'Oswald', sans-serif;
}
#cssmenu ul li:hover {
    background: #164627;
}
#cssmenu ul li:hover a {
    color:#fff;
}

/* NAV FIRST LEVEL HOVER EFFECTS */




/* NAV FIRST LEVEL LI - HAS SUB-NAV STYLES (ADDS "+" BUTTON) */

#cssmenu ul li.has-sub a:after {
    content:'';
    position:absolute;
    display:block;
    top:10px;
    right:11px;
    width:8px;
    height:2px;
}

#cssmenu ul li.has-sub a:before {
    content:'';
    position:absolute;
    display:block;
    top:7px;
    right:11px;
    width:2px;
    height:8px;
    transition:.25s ease
}

#cssmenu ul li.has-sub:hover a:before {
    top:23px;height:0
}





/* NAV SECOND LEVEL STYLES */
/* FOR SECOND LEVEL NAV TO NOT APPEAR UNTIL HOVERED */
#cssmenu ul ul {
    position:absolute;
    left:-9999px;
    box-shadow:0 0 2px #363636;
    z-index:999;

}

/* MAKES SECOND LEVEL NAV TO APPEAR */
#cssmenu li:hover ul {
    left:auto
}



/* DESKTOP NAV SECOND LEVEL STYLES*/
#cssmenu ul ul li {
    height:auto;
    background: #2d2d2d!important; /* SECOND LEVEL BAKCGROUND COLOR */
}
#cssmenu ul ul li:hover {
    background: #164627!important; /* SECOND LEVEL BAKCGROUND COLOR */
}

#cssmenu ul ul li a {
    width:100%;
    min-width:260px;
    padding: 10px 0 8px 20px;
    text-align:left;
	color: #FFFFFF;/* SECOND LEVEL TEXT COLOR */
	z-index:999;
	font-family: 'Oswald', sans-serif;
}
#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:#164627/* NAV HOVER TEXT COLOR*/;
    color:#fff/* NAV HOVER TEXT COLOR*/;
}

    .menu-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }




/* NAV THIRD LEVEL STYLES */
#cssmenu ul ul ul {
    margin-left:100%;
    top:0;
}

@media screen and (max-width: 1550px) {

    #navcontain {
      width: calc(100% - 420px);
    }
}



@media screen and (max-width: 1230px){
/* NAVIGATION CONTAINTER */
#navcontain {
    width:100%;
    margin:0 auto;
	position:relative;
	max-width:1200px;
	
}

#cssmenu > ul > li > a {
	padding: 10px 10px;
}
#cssmenu ul ul li {
	padding: 9px 20px 20px 40px;
}
#cssmenu {
    width:100%;
    padding:0;
    background:none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    height: 80px;
}
#cssmenu .submenu-button{  height:54px; border-bottom: #000 solid 0px;}


/* DESTOP NAV TO NOT DISPLAY ON MOBILE 
    ALSO BAKCGROUND STYLES OF MOBILE NAV DROPDOWN */
#cssmenu ul {
    display:none;
    /*START BACKGROUND STYLES */
    width:100%;
    background: #CBCBCB;/*MOBILE NAV DROPDOWN BACKGROUND */
    box-shadow:0 3px 3px #363636;
}



/* MOBILE NAV TO DISPLAY AT QUERY WIDTH 
    ALSO BAKCGROUND STYLES OF MOBILE NAV BAR */
#cssmenu
#head-mobile {
    display: block;
    background: #fff; /*MOBILE NAV BAR BACKGROUND */
 }
 
#cssmenu #head-mobile {padding-bottom:7px;} 
 
 /* MOBILE MENU HAMBURGER BUTTON STYLES */
.button {
    position:absolute;
    width:55px;
    height:40px;
    top:0;
    right:0;
    cursor:pointer;
    z-index: 12399994;
	margin-top:1%;
}

 /* MOBILE MENU HAMBURGER LINE STYLES */
.button:after {
    content:'';
    position:absolute;
    display:block;
    width:20px;
    height:4px;
    top:22px;
    right:20px;
    border-top:2px solid #000/* HAMBURGER MENU COLOR */;
    border-bottom:2px solid #000/* HAMBURGER MENU COLOR */;
}
.button:before {
    content:'';
    position:absolute;
    display:block;
    width:20px;
    height:2px;
    top:16px;
    right:20px;
    background: #000/* HAMBURGER MENU COLOR */;
}

.button.menu-opened:after {
    width:19px;
    height:2px;
    top:23px;
    border:0;
    background:#363636;
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -ms-transform:rotate(45deg);
    -o-transform:rotate(45deg);
    transform:rotate(45deg);
}
.button.menu-opened:before {
    width:19px;
    top:23px;
    background:#363636;
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transform:rotate(-45deg);
}



/* MOBILE NAV FIRST LEVEL STYLES*/
#cssmenu ul li {
    *float:none;
    width:100%;
    margin:0;
    padding:9px 0 0 0px;
    border-left:none;
    border-right:none;
    text-align:left;
    border-bottom:1px solid #000;
}

#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:61px;
    right:0;
    top:0;
    padding:0 27px;
    background: /* MOBILE SUBMENU BUTTON BACKGROUND COLOR */;
    border-left:#000 solid 1px;
    border-bottom:#000 solid 1px;
    cursor:pointer;
    z-index:99;
}
#cssmenu .submenu-button.submenu-opened {
    background: #7F7F7F/*MOBILE SUBMENU BUTTON BACKGROUND COLOR (SUBMENU OPENED) */;
}

/*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: #FFFFFF /* MOBILE NAV SUBMENU ICON COLOR */;
}
#cssmenu .submenu-button:after {
    content:'';
    position:absolute;
    display:block;
    width:8px;
    height:2px;
    top:0;
    bottom:0;
    right:0;
    left:0;
    margin:auto;
    background: #FFFFFF/* MOBILE NAV SUBMENU ICON COLOR */;
}
#cssmenu .submenu-button.submenu-opened:before {
    display:none;
}
#cssmenu .submenu-button.submenu-opened:after {
    background:#fff;
}



/* 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: /* MOBILE NAV SECOND LEVEL BACKGROUND COLOR */;
    padding:20px 20px 20px 40px;
    border-bottom:1px solid #000000/* MOBILE NAV SECOND LEVEL BORDER COLOR */;
}

#cssmenu ul ul li a {
    padding-right:0 0 0 80px !important;
    color: /* MOBILE NAV SECOND LEVEL TEXT COLOR */ ;
    font-size:19px;
    line-height:1;
    text-decoration:none;
}

#cssmenu ul ul li:hover
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
    color:#fff;
    font-weight:bold;
}

/* 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;
}
}