#cssmenu {
  position: relative;
  float: right;
}
#cssmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1;



}
#cssmenu div > ul {
  position: relative;
  display: block;
  width: 100%;
  z-index: 50;

  
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-center ul {
  text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu div > ul > li {
  display: inline-block;
  position: relative;
  float:left;
  margin: 0;
  padding: 0;
}
#cssmenu  div > ul > #menu-button {
  display: none;
}
#cssmenu  div ul li a {
  display: block;

  text-decoration: none;
}

.scroll-fix  #cssmenu div > ul > li > a  { color:#000000; }
#cssmenu div > ul > li > a {


   color:#000000;
   margin:0px 0px;

  font-size:15px;

  padding:43px 13px; text-transform:uppercase;
  font-weight:bold;
  
}

#cssmenu div > ul > .current_page_item a {  color: #000000; border-color:#08b1f4;   }


#cssmenu  div > ul > li.has-sub > a {
  padding-right: 32px;
}
#cssmenu  div > ul > li:hover > a {
  color: #7f0000;  border-color:#08b1f4;
  

  
}
#cssmenu div  li.has-sub::after {
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
#cssmenu div  > ul > li.has-sub::after {
  right: 10px;
  top: 20px;
  border: 5px solid transparent;
  border-top-color: #7a8189;
}
#cssmenu div  > ul > li:hover::after {
  border-top-color: #ffffff;
}
#indicatorContainer {
  position: absolute;
  height: 12px;
  width: 100%;
  bottom: 0px;
  overflow: hidden;
  z-index: -1;
}
#pIndicator {
  position: absolute;
  height: 0;
  width: 100%;
/*  border: 12px solid transparent;
  border-top-color: #2b2f3a;*/
  z-index: -2;
  -webkit-transition: left .25s ease;
  -moz-transition: left .25s ease;
  -ms-transition: left .25s ease;
  -o-transition: left .25s ease;
  transition: left .25s ease;
}
#cIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  
  border-top-color: #2b2f3a;
  top: -12px;
  right: 100%;
  z-index: -2;
}


#cssmenu div  ul ul {
  position: absolute;
  left: -9999px;
  top: 70px;
  opacity: 0;
  -webkit-transition: opacity .3s ease, top .25s ease;
  -moz-transition: opacity .3s ease, top .25s ease;
  -ms-transition: opacity .3s ease, top .25s ease;
  -o-transition: opacity .3s ease, top .25s ease;
  transition: opacity .3s ease, top .25s ease;
  z-index: 1000;
   box-shadow: 0px 2px 2px #999999;
}
#cssmenu div  ul ul ul {
  top: 36px;
  padding-left: 5px;
}
#cssmenu div  ul ul li {
  position: relative;
}
#cssmenu div  > ul > li:hover > ul {
  left: auto;
  top:80px;
  opacity: 1;
}
#cssmenu div .align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
}
#cssmenu div  ul ul li:hover > ul {
  left: 170px;
  top: 0;
  opacity: 1;
}
#cssmenu div .align-right ul ul li:hover > ul {
  left: auto;
  right: 170px;
  top: 0;
  opacity: 1;
  padding-right: 5px;
}
#cssmenu div  ul ul li a {
  width: 250px;
  padding: 15px 15px;
  text-align:left;
  color: #000000;
  background-color:#FFFFFF;

  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -ms-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
  font-size:14px;
  text-transform:uppercase;
  
  }
#cssmenu div .align-right ul ul li a {
  text-align: right;
}
#cssmenu div  ul ul li:hover > a {
  background: #f9f9f9;
  color: #7f0000;
}
#cssmenu div  ul ul li:last-child > a,
#cssmenu div  ul ul li.last > a {
  border-bottom: 0;
}
#cssmenu div  > ul > li > ul::after {
  content: '';
  border: 6px solid transparent;
  width: 0;
  height: 0;
  border-bottom-color: #ffffff;
  position: absolute;
  top: -12px;
  left: 30px;
}
#cssmenu div .align-right > ul > li > ul::after {
  left: auto;
  right: 30px;
}
#cssmenu div  ul ul li.has-sub::after {
  border: 4px solid transparent;
  border-left-color: #9ea2a5;
  right: 10px;
  top: 12px;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
#cssmenu div .align-right ul ul li.has-sub::after {
  border-left-color: transparent;
  border-right-color: #9ea2a5;
  right: auto;
  left: 10px;
}
#cssmenu div  ul ul li.has-sub:hover::after {
  border-left-color: #ffffff;
  right: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
#cssmenu div .align-right ul ul li.has-sub:hover::after {
  border-right-color: #ffffff;
  border-left-color: transparent;
  left: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {


	width:100%;
  }
  #cssmenu.align-center ul {
    text-align: left;
  }
  #cssmenu.align-right > ul > li {
    float: none;
  }
  #cssmenu div  ul {
    width: auto;
  }
  
  #cssmenu div  > ul > li 
{
	width:100%;
}
  #cssmenu div  .submenuArrow,
  #cssmenu div  #indicatorContainer {
    display: none;
  }
  #cssmenu div  > ul {
    height: auto;
    display: block;
	
	
  }
  #cssmenu div  > ul > li {
    float: none;
	border-bottom:1px solid #f2f2f2;
	background-color:#ffffff;
	  text-align: left;
  }
  #cssmenu div  li,
  #cssmenu div  > ul > li {
    display: none;
  }
  #cssmenu div  ul ul,
  #cssmenu div  ul ul ul,
  #cssmenu div  ul > li:hover > ul,
  #cssmenu div  ul ul > li:hover > ul,
  #cssmenu div .align-right ul ul,
  #cssmenu div .align-right ul ul ul,
  #cssmenu div .align-right ul > li:hover > ul,
  #cssmenu div .align-right ul ul > li:hover > ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
    right: auto;
	   box-shadow: 0px 0px 0px #333333;
  }
  #cssmenu div  ul .has-sub::after {
    display: none;
  }
  #cssmenu div  ul li a {
    padding: 12px 20px;
	background:none;
	border:none;
	width:100%; color:#000000;
  }
  #cssmenu div  ul ul li a {
   
    background: none;
    width: auto;
	padding:10px 20px;
   
  }
  #cssmenu div .align-right ul ul li a {
    text-align: left;
  }
  #cssmenu div  ul ul li:hover > a {
    background: none;
    color: #8c9195;
  }
  #cssmenu div  ul ul ul a {
    padding: 8px 50px;
  }
  #cssmenu div  ul ul ul ul a {
    padding: 8px 65px;
  }
  #cssmenu div  ul ul ul ul ul a {
    padding: 8px 80px;
  }
  #cssmenu div  ul ul ul ul ul ul a {
    padding: 8px 95px;
  }
  #cssmenu div  > ul > #menu-button {
    display: block;
    cursor: pointer;
  }
  #cssmenu div  #menu-button > a {
    padding: 14px 20px;
  }
  #cssmenu div  ul.open li,
  #cssmenu div  > ul.open > li {
    display: block;
  }
  #cssmenu div  > ul.open > li#menu-button > a {
    color: #000000;
    border-bottom: 1px solid rgba(150, 150, 150, 0.1);
  }
  #cssmenu div  ul ul::after {
    display: none;
  }
  #cssmenu div  #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #7a8189;
    border-bottom: 2px solid #7a8189;
    right: 20px;
    top: 15px;
  }
  #cssmenu div  #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #7a8189;
    right: 20px;
    top: 25px;

  }
  #cssmenu div  ul.open #menu-button::after,
  #cssmenu div  ul.open #menu-button::before {
    border-color: #000000;
  }
}
