#cssmenu{		
	margin: 0 0px 0 0px;		
	text-align:left;
	
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #head-mobile {
    border: 0;
    list-style: none;
    line-height:0;
    display: block ;   
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
#cssmenu,
#cssmenu ul,
#cssmenu #head-mobile{
	position: relative;
	
}
 
#cssmenu ul{
	font-size:0;
} 

#cssmenu:after,
#cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

#cssmenu #head-mobile {
    display: none}

#cssmenu {
   
}

#cssmenu > ul > li {
     display:inline-block;
     position: relative;     
            
}

#cssmenu > ul > li > a {
    padding: 20px 10px 20px 10px;
    font-size:14px; 
    line-height:18px;  
    text-decoration: none;
    color:#000000;  
    text-transform:uppercase;    
     -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  position: relative;
  bottom:0;
  font-weight:500;
  
   
         
}

#cssmenu > ul > li:hover > a,
#cssmenu ul li.active a {
    color:#000000;      
  
}

#cssmenu > ul > li:hover,
#cssmenu ul li.active:hover,
#cssmenu ul li.active,
#cssmenu ul li.has-sub.active:hover {   	
    -webkit-transition: background .3s ease;
    -ms-transition: background .3s ease;
    transition: background .3s ease;    
}


/*#cssmenu > ul > li:last-child > a{
	padding-right: 0;
}*/



#cssmenu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0
}

#cssmenu > ul > li > ul {
    position: absolute;
    left: -9999px;
     z-index:3; 
     width:200px;
     /*background-color:#c4c4c4;*/
     /*border:solid 1px #E0E0E0;*/
     padding:0;   
     box-sizing: border-box;  
     /*display: flex;*/
}


#cssmenu > ul > li > ul > li{
	position: relative;
	
	
}

#cssmenu > ul > li > ul > li > ul {
     width:100%;       
     position: absolute;
	  left: -9999px;
	 
	 z-index:3; 
	 top:0;
     
}



#cssmenu > ul > li > ul > li.has-sub:hover > ul {
    left: auto;
     
}

#cssmenu > ul > li > ul > li > ul {
	  margin-left: 100%;
}

#cssmenu ul ul li {   
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    /*background:#f7ca94;*/
    transition: all .25s ease    
}



#cssmenu > ul > li:hover > ul  {
    left:0;
   
    
}


#cssmenu > ul > li > ul > li > ul li{
	width:100%;
	
}

/*#cssmenu li:hover  ul  li {
    height:100%;
}*/


#cssmenu ul ul li a {
    /*border-bottom: 1px solid #f2f2f2;*/
    padding:10px 10px;
     width: 100%;      
    text-decoration: none;
    color: #878787;  
    text-align:left;   
}

#cssmenu ul ul li ul li a {
	font-size:0.813em;
	font-weight:normal;
}

#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
    border-bottom: 0
}

#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
    color:#ffffff; 
    background-color:#e5221e;
}

#cssmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: none;
}

#cssmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    content: none;
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease
}

#cssmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0
}

/*#cssmenu ul ul li.has-sub:hover,
#cssmenu ul li.has-sub ul li.has-sub ul li:hover {
    background: #363636;
}*/

#cssmenu ul ul ul li.active a {
    border-left: 1px solid #333
}

#cssmenu > ul > li.has-sub > ul > li.active > a,
#cssmenu > ul ul > li.has-sub > ul > li.active> a {
    border-top: 1px solid #333
}


@media screen and (max-width:6000px) {
    
	nav {
	    width: 100%;
	}
	#cssmenu {
	    width: 100%;
	    margin: 0 auto;	    
	}
	
	#cssmenu > ul {   
    margin-left: -30px;
    margin-right: -30px;
    padding: 30px;
    box-sizing:border-box;
	}
	
	
	#cssmenu ul li,
	#cssmenu ul li a{
	position: relative;
}
	
	#cssmenu > ul > li > ul{
		position:relative;
		left:0;
		width:100% ;
		border:none;
		padding: 0;
		/*display: none ; */
		
	}
	
	#cssmenu > ul > li > ul > li{
	width:100%;
	
	} 
	
	#cssmenu > ul > li:hover > ul  {
    left:0;
    margin-left: 0;
	}
	
	#cssmenu ul {    
	    display: none;
	     background-color:#ffffff;
	     position:absolute;
	     z-index:5;
	     left:0;
	     right:0;
	     top:100%;
	     /*padding-top:20px;*/
	     
	}

     
    #cssmenu ul li {
        width: 100%;       
        /*padding-top:5px;
        padding-bottom:5px;*/
      
    }
    
    
    /*#cssmenu > ul > li.active a{
    	color:#000000;
    }*/
    
    #cssmenu ul li:hover {
        /*background: #b79f80;*/       
    }
    #cssmenu ul ul li,
    #cssmenu li:hover > ul > li {
        height: auto;
        /*border-top: solid 1px #ffff;*/
    }
    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
        color:#000000;
        text-align:left;
       
    }
    
    /*#cssmenu ul ul li a{
    	padding-top: 10px;
    	padding-bottom: 10px;
    }*/
    
    
    #cssmenu > ul > li {
        float: none
    }
    /*#cssmenu ul ul li a {
        padding-left: 25px
    }*/
    #cssmenu ul ul li {
        /*background:#6f6f6e !important;*/
         /*border-top: 1px solid #25407C;*/
    }
    #cssmenu ul ul li:hover {
        background:#262122 !important
    }
    /*#cssmenu ul ul ul li a {
        padding-left: 35px
    }*/
    #cssmenu ul ul li a {
        color: #000000;
        background: none;
        font-weight:normal;
        font-size:13px;
        line-height: 18px;
    }
    #cssmenu ul ul li:hover > a,
    #cssmenu ul ul li.active > a {
        color: #fff
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left
    }
    #cssmenu > ul > li.has-sub > a:after,
    #cssmenu > ul > li.has-sub > a:before,
    #cssmenu ul ul > li.has-sub > a:after,
    #cssmenu ul ul > li.has-sub > a:before {
        display: none
    }
    #cssmenu #head-mobile {
        display: block;
        padding:20px;
        color: #ddd;
        font-size: 12px;
        font-weight: 700;
       
       
    }
    .button {
        width: 50px;
        height:40px;
        position: absolute;        
        left:0;        
        /*transform:translateX(-50%);*/
        top:0px;
        cursor: pointer;
        z-index: 12399994;
        /*background-color:#b79f80;*/
    }
    
    
    .button:after {
        position: absolute;
        top: 18px;
        right:10px;
        display: block;
        height: 6px;
        width: 30px;
        border-top: 2px solid #000000;
        border-bottom: 2px solid #000000;
        content: '';
    }
    .button:before {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 10px;
        right:10px;
        display: block;
        height: 2px;
        width: 30px;
        background: #000000;
        content: ''
    }
    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        top: 16px;
        border: 0;
        height: 2px;
        width: 19px;
        background:#000000;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg)
    }
    .button.menu-opened:before {
        top: 16px;
        background: #000000;
        width: 19px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
    #cssmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right:0;
        top: 0;
        display: block;
        /*border-left: 1px solid #284466;*/
        height:45px;
        width:100%;
        cursor: pointer
    }
    #cssmenu .submenu-button.submenu-opened {
        /*background: #262626*/
    }
    #cssmenu ul ul .submenu-button {
        /*height:45px;
        width:40px; */ 
        /*position: absolute; 
        width:100%;   */ 
    }
    #cssmenu .submenu-button:after {
        position: absolute;
        top:26px;
        right:36px;
        width: 13px;
        height: 2px;
        display: block;
        background:#000000;
        content: ''
    }
    #cssmenu ul ul .submenu-button:after {
        top: 22px;
        right:34px
    }
    #cssmenu .submenu-button.submenu-opened:after {
        background:#000000;
    }
    #cssmenu .submenu-button:before {
        position: absolute;
        top: 21px;
        right: 42px;
        display: block;
        width: 2px;
        height:12px;
        background:#000000;
        content: ''
    }
    #cssmenu ul ul .submenu-button:before {
        top: 17px;
        right: 40px
    }
    #cssmenu .submenu-button.submenu-opened:before {
        display: none
    }
    #cssmenu ul ul ul li.active a {
        border-left: none
    }
    #cssmenu > ul > li.has-sub > ul > li.active > a,
    #cssmenu > ul ul > li.has-sub > ul > li.active > a {
        border-top: none
    }
    
    #menu .scrollbar-dynamic{
    	padding-right: 0 !important;
    	max-height:100%;
    }
    
  #cssmenu > ul > li > ul > li > ul{
  	top:100%;
  }  
    
}


#cssmenu > ul > li > ul{
	display: block;	
}

#cssmenu > ul > li{
	width:14.28%;
	vertical-align: top;
}

#cssmenu .submenu-button:after,
#cssmenu .submenu-button:before{
	display: none;
}

a.parent{
	cursor:default;
}


@media screen and (max-width:1170px) {

#cssmenu > ul > li > ul{
	display:none;
}

#cssmenu > ul{
	margin-left: -10px;
	margin-right: -10px;
	height: calc(100vh - 80px);
    overflow: scroll;
    padding: 10px;
}

#cssmenu > ul > li{
	width:100%;
	
}

#cssmenu > ul > li > a{
	border-bottom: solid 1px #d1d1d1;
}

#cssmenu .submenu-button:after,
#cssmenu .submenu-button:before{
	display:block;
}

}



