
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

   #cssmenushell {
   display:block;
   position:relative;
	width:100%;
 	max-width:1000px;
	margin-left:auto;
	margin-right:auto; 
	margin-top:0px;
	text-align:center;
	margin-bottom:0;
	z-index:99;
}


#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin:0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  /*float:right;*/
  width: auto;
  margin-left:10px;
  margin-right:10px;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: transparent;
}
#cssmenu > ul {
 /* background: url('images/bg.png');*/

}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li {
  float: none;
  display: inline-block;
}
#cssmenu.align-center > ul {
  float: none;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li > a {
  padding: 2px 12px 2px 13px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  font-size: 14px;
  line-height:29px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #FFFFFF;
  background:#000000; /* rgba(0, 0, 0, 0.1) the main button change on hover */
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 35px;
}
#cssmenu > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #FFFFFF;
  right: 17px;
  top: 13px;
}
#cssmenu > ul > li.has-sub.active > a::after,
#cssmenu > ul > li.has-sub:hover > a {
  border-top-color: #FFFFFF;
}
#cssmenu ul ul {
  position: absolute;
  margin-top:-25px;
  left: -9999px;
  top: 35px;
  padding-top: 15px;
  font-size: 14px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color:#333333;  /* up-arrow color */
  top: 3px;
  left: 20px;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#cssmenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color:#555555); /*right arrow color */
  top: 11px;
  left: -4px;
}
#cssmenu.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#cssmenu > ul > li > ul {
  top: 120px;
}
#cssmenu > ul > li:hover > ul {
  top: 52px;
  left: 0;
  opacity: 1;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu ul ul ul {
  padding-top: 0;
  padding-left: 6px;
  margin-top:0;
}
#cssmenu.align-right ul ul ul {
  padding-right: 6px;
}
#cssmenu ul ul > li:hover > ul {
  left: 250px;
  top: 0;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
#cssmenu ul ul li a {
  text-align:left;
  text-decoration: none;
  font-weight: 400;
  padding: 11px 25px;
  width: 250px;
  color: #000000;
  margin-top:-2px;
  border: solid 2px #555555;
  /*background:rgba(1,146,196,0.5);*/
  background-color:#FFFFFF;  /* sub box background color */
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}

#cssmenu ul ul li a:hover {
  text-decoration: none;
  color: #000000;
 /* background:rgba(1,146,196,0.6);*/
  background-color:#DEDEDE; /* sub menu hover background color */
}


#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
  color: #000000;
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
#cssmenu > ul > li > ul::after {
  position: absolute;
  display: block;
}
#cssmenu ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: transparent;
  right: 7px;
  top: 14px;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #000000;
  right: auto;
  left: 17px;
}
#cssmenu ul ul li.has-sub.active > a::after,
#cssmenu ul ul li.has-sub:hover > a::after {
  border-left-color: transparent;
}
#cssmenu.align-right ul ul li.has-sub.active > a::after,
#cssmenu.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #000000;
  border-left-color: transparent;
}
#cssmenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #555555;
  top: 11px;
  left: -4px;
}
/* ---------------------------------------------------------  mobile view  ----------------------------------------------- */

@media all and (max-width: 997px) {

#cssmenushell {
  /*float:right;*/
  position: absolute;  
  top: 0; 
  margin-left:auto;
  margin-right:auto;
  width: 100%;
  max-width:1000px;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: transparent;
  z-index:999;
  padding:0;
}

  #cssmenu {
  text-align:left;
  background: #666666;
	margin:0;  
  }
  #cssmenu > ul {
    display: none;
  }
  #cssmenu > ul.open {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
	
  }
  #cssmenu.align-right > ul {
    float: none;
  }
  
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu > ul > li > a {
    padding: 10px 25px 10px 25px;
    border-right: 0;
    background: #666666;
	border-bottom: 1px solid #888888;
  }
  #cssmenu > ul > li:hover > a,
  #cssmenu > ul > li.active > a {
  	background: #444444; /*the main button change on hover */
  }
  
  
  #cssmenu #menu-button {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    padding: 18px 25px 18px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
	text-align:center;
  background: #666666;
  background-image: -webkit-linear-gradient(top, #666666, #888888);
  background-image: -moz-linear-gradient(top, #666666, #888888);
  background-image: -ms-linear-gradient(top, #666666, #888888);
  background-image: -o-linear-gradient(top, #666666, #888888);
  background-image: linear-gradient(to bottom, #666666, #888888);
    cursor: pointer;
	background: rgba(0, 0, 0, 0.1); /*darken top strip */
	border-bottom: 1px solid #888888;
  }
  
  #cssmenu {
  background:#000000;
  }
  
  
  
  
  #cssmenu ul ul,
  #cssmenu ul li:hover > ul,
  #cssmenu > ul > li > ul,
  #cssmenu ul ul ul,
  #cssmenu ul ul li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul li:hover > ul,
  #cssmenu.align-right > ul > li > ul,
  #cssmenu.align-right ul ul ul,
  #cssmenu.align-right ul ul li:hover > ul {
    left: 0;
    right: auto;
    top: auto;
    opacity: 1;
    width: 100%;
    padding: 0;
    position: relative;
    text-align: left;
	background-color:#C9C9C9;
  }
  #cssmenu ul ul li {
    width: 100%;
  }
  #cssmenu ul ul li a {
    color: #000000;
    width: 100%;
    box-shadow: none;
    padding-left: 35px;

  }
  
  #cssmenu > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 1px solid transparent;
  border-top-color: transparent;
}
  
   #cssmenu ul ul li a:active {
	color:#000000;
  } 
   #cssmenu ul ul li a:hover {
	color:#000000;
  } 
  
  
#cssmenu ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: transparent;
  right: 7px;
  top: 14px;
}

  
  #cssmenu ul ul ul li a {
    padding-left: 45px;
  }
  #cssmenu ul ul li:first-child > a,
  #cssmenu ul ul li:last-child > a {
    border-radius: 0;
  }
  
#cssmenu ul ul {
  margin-top:0;
}


#cssmenu ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color:#FFFFFF); /*right arrow color */
  top: 11px;
  left: -4px;
}  
  
  
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    right: 25px;
    top: 18px;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #FFFFFF;
    right: 25px;
    top: 28px;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  
  /* Functionality */

#cssmenu li > .subgroup {
	height: 0;
	overflow: hidden;

	-webkit-transition: height .2s ease-in-out;
	-moz-transition: height .2s ease-in-out;
	-o-transition: height .2s ease-in-out;
	-ms-transition: height .2s ease-in-out;
	transition: height .2s ease-in-out;
}

#cssmenu li:hover > .subgroup,
#cssmenu li:target > .subgroup
 {
	height: auto;
}
}



