#cssmenu{		
	margin: 0 0px 0 0px;	
	text-align:left;
	font-family: var(--title-fonts2);
	height: 100%;
	
	
}

#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{	
	height: 100%;
	
	
} 

#cssmenu:after,
#cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height:100%;
    height: 0
}

#cssmenu #head-mobile {
    display: none}



#cssmenu > ul > li {
     display:inline-block;
     position: relative;  
     height: 100%;  
    
            
}

#cssmenu > ul > li > a {
    padding:2vw 1vw;
    text-decoration: none;
     -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  position: relative;
  bottom:0;
  font-size:var(--f-size_24);
  color:var(--color-02);
    height: 100%;  
    font-weight:var(--f-medium);
 
     
}

#cssmenu > ul > li > a span{
	 display: flex;
    align-items: center;
    height:100%;
}

.shape-diamond{
	position:absolute;	
	left:0;
	 width: 0;
      height: 0;
      border: 5px solid transparent;
      border-bottom-color:#99211e;     
      top:35px;
	
}

.shape-diamond:after {
       content: '';
      position: absolute;
      left: -5px;
      top: 5px;
      width: 0;
      height: 0;
      border:5px solid transparent;
      border-top-color:#99211e;
    }



#cssmenu > ul > li:hover > a,
#cssmenu ul li a.active {
    color:var(--color-default);   
  
}

#cssmenu ul li.active ul li a{
	color:var(--color-white);
}


#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;   
     box-sizing: border-box;  
      padding-bottom:var(--unit-space-m);
    
}


#cssmenu > ul > li > ul > li{
	position: relative;
	background: var(--color-white);
	 padding: var(--unit-space-m)  var(--unit-space-m) 0  var(--unit-space-m);
	
}

#cssmenu > ul > li > ul > li:last-child{
	padding-bottom: var(--unit-space-m);
}

#cssmenu > ul > li > ul > li > ul {
     width:100%;       
     position: absolute;
	  left: -9999px;
	  background-color:#961e15;
	 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;*/
   
     width: 100%;
        font-size: var(--small);
    line-height:1rem;
    text-decoration: none;
    color:var(--color-darkgrey);  
    text-align:left;  
}

#cssmenu ul ul li ul li a {
	    font-size: var(--small);
	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:var(--color-default)!important; 
    /*background-color:#ffffff;*/
}

#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:1300px) {

}



@media screen and (max-width:1199px) {
    
	nav {
	    width: 100%;
	}
	#cssmenu {
	    width: 100%;
	    margin: 0 auto;
	    
	    
	}
	
	#cssmenu ul,
	#cssmenu > ul > li{
		height: auto;
		
	}
	
	#cssmenu > ul {   
    margin-left: calc(var(--unit-space-50) * -1);;
    margin-right:calc(var(--unit-space-50) * -1);;
   max-height: 80vh;
    overflow: scroll;
	}
	
	
	#cssmenu ul li,
	#cssmenu ul li a{
	position: relative;
}

	#cssmenu > ul > li > a span{
	 display:block;
   
    height:auto;
}



	
	#cssmenu > ul > li > ul{
		position:relative;
		left:0;
		width:100% ;
		border:none;
		padding: 0;
		/*display: none ; */
		
	}
	
	#cssmenu > ul > li > ul > li{
	width:100%;
	padding: 0 10px;
	
	} 
	
	#cssmenu > ul > li:hover > ul  {
    left:0;
    margin-left: 0;
	}
	
	#cssmenu ul {    
	    display: none;
	     background:var(--color-white);
	     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;*/
         background:var(--color-01);
        border-bottom:solid 1px var(--color-lightergrey);
    }
    
    
    /*#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 !important;
        text-align:left;
            padding:1vw var(--unit-space-50);
        line-height:55px;
    }
    
   
    
    /*#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:var(--color-white) !important;
         /*border-top: 1px solid #25407C;*/
    }
    #cssmenu ul ul li:hover {
        background:var(--color-white) !important
    }
    /*#cssmenu ul ul ul li a {
        padding-left: 35px
    }*/
    #cssmenu ul ul li a {
        color: #ffffff;
        background: none;
        font-weight:normal;
        font-size:1rem;
    }
    #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;        
       right:auto;    
       left:0;    
        /*transform:translateX(-50%);*/
        top:0;
        cursor: pointer;
        z-index: 12399994;
        /*background-color:#b79f80;*/
    }
    
    
    .button:after {
        position: absolute;
        top: 18px;
        right:10px;
        display: block;
        height: 6px;
        width:40px;
        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:40px;
        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%;
  }  
    
}


