
#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 {
  font-family: Source Sans Pro;
  line-height: 1;
  background: #000000;
  width: 100%;
}
#menu-line {
  position: absolute;
  top: 0; 
  left: 0;
  height: 0px;
  background: #000000;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul {
  font-size: 18px;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: center;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  /*Add to Top & Bottom padding to increase shaded hover size */
  width: 150px;
  padding: 22px 0px 22px 0px;
  background: #000000;
  font-size: 18px;
  text-decoration: none;
  color: white;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
  transition: color .3s ease;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #00a8d2;
  background: #222222;
  font-weight: bold;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 0px;
}
#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 22px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 0px solid black;
  border-right: 0px solid black;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.3s ease;
  -moz-transition: border-color 0.3s ease;
  -ms-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #000000;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: height .3s ease;
  -moz-transition: height .3s ease;
  -ms-transition: height .3s ease;
  -o-transition: height .3s ease;
  transition: height .3s ease;
}
#cssmenu ul li:hover > ul > li {
 /*Main menu dropdown hover color - height AUTO*/
  height: auto;
  opacity: 1; 
}
#cssmenu ul ul li a {
  /*Main menu dropdown text*/
  padding: 10px 20px;
  width: 210px;
  font-size: 16px;
  font-family:  Source Sans Pro;
  background: #000000;
  text-decoration: none;
  text-align: left;
  color: white;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
  transition: color .3s ease;
  -webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.1);
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: white;
  background: #222222;
}
#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.3s ease;
  -moz-transition: border-color 0.3s ease;
  -ms-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: 0px #28303d;
}
#cssmenu.small-screen {
  width: 100%;
  background: #000000;
}
#cssmenu.small-screen ul {
  width: 75%;
  display: none;
  background: #000000;
}
#cssmenu.small-screen.align-center > ul,
#cssmenu.small-screen.align-right ul ul {
  text-align: left;
  left: 25px;
}
#cssmenu.small-screen ul li,
#cssmenu.small-screen ul ul li,
#cssmenu.small-screen ul li:hover > ul > li {
  width: 30%;
  height: auto;
}
#cssmenu.small-screen ul li a,
#cssmenu.small-screen ul ul li a {
  width: 100%; 
  font-size: 45px;
  left: 20px;
  display: block;
  background: #000000;
}
#cssmenu.small-screen > ul > li,
#cssmenu.small-screen.align-center > ul > li,
#cssmenu.small-screen.align-right > ul > li {
/*'list-item' when >1 off-center -aligned menu item(s); otherwise 'block'*/
  float: none;
  display: inline;
  left: 10px;
}
#cssmenu.small-screen ul ul li a {
  padding: 10px 10px 10px 10px;
  font-size: 28px;
  color: white;
  background: #000000;
  width: 575px;
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0);
  -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0);
  box-shadow: 1px 1px 5px 0px rgba(0,0,0,0);
}
#cssmenu.small-screen ul ul li:hover > a,
#cssmenu.small-screen ul ul li a:hover {
  color: #f8d57e;
}
#cssmenu.small-screen ul ul ul li a {
  padding-left: 1000px;
}
#cssmenu.small-screen ul ul,
#cssmenu.small-screen ul ul ul {
  position: relative;
  left: 25px;
  right: auto;
  width: 100%;
  margin: 0;
  text-align: left;
}
#cssmenu.small-screen > ul > li.has-sub > a::after,
#cssmenu.small-screen ul ul li.has-sub > a::after {
  display: none;
  background: #000000;
}
#cssmenu.small-screen #menu-line {
  display: none;
}
#cssmenu.small-screen #menu-button {
  /*MENU word*/
  display: block;
  padding: 30px;
  color: white;
  cursor: pointer;
  font-size: 60px;
  background: #000000;
}
#cssmenu.small-screen #menu-button::after {
  /*1 of 3*/
  content: '';
  position: absolute;
  top: 49px;
  right: 210px;
  display: block;
  width: 50px;
  height: 0px;
  background: white;
}
#cssmenu.small-screen #menu-button::before {
  /*2,3 of 3*/
  content: '';
  position: absolute;
  top: 58px;
  right: 210px;
  display: block;
  width: 0px;
  height: 0px;
  border-top: 6px solid white;
  border-bottom: 6px solid white;
}
#cssmenu.small-screen .submenu-button {
     /*submenu box around vert/horiz buttons*/
  position: absolute;
  z-index: 10;
  left: -20px;
  top: 20px;
  display: block;
  outline: 0px solid purple;
  height: 60px;
  width: 60px;
  cursor: pointer;
}
#cssmenu.small-screen .submenu-button::after {
    /*left-side submenu button horizontal*/
  content: '';
  position: absolute;
  top: 28px;
  left: 10px;
  display: block;
  width: 0px;
  height: 10px;
  background: red;
  z-index: 99;
}
#cssmenu.small-screen .submenu-button::before {
 /*left-side submenu button vertical*/
  content: '';
  position: absolute;
  left: 28px;
  top: 10px;
  display: block;
  width: 0px;
  height: 40px;
  background: purple;
  z-index: 99;
}
#cssmenu.small-screen .submenu-button.submenu-opened:after {
  display: block;
  background: #000000;
}
#cssmenu.small-screen .submenu-button.submenu-opened:before {
  display: block;
  background: #000000;
}
#cssmenu.small-screen.select-list {
  padding: 1px;
}
