#cssmenu {
    
    margin-top: 2px;
    text-align: center;
    z-index: 999;
    width: auto;
    padding: 0;
    line-height: 1;
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}
#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
#cssmenu ul:after,
#cssmenu:after {
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#cssmenu ul li {
    padding: 0px 0px;
    padding-right: 30px;
    display: block;
    position: relative;
}
#cssmenu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 0;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease; 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#cssmenu li a { color: white; opacity:1; font-size: 18px; text-decoration: none; }
#cssmenu li a.active { color: white; opacity:1; border-bottom: 2px solid rgb(217,40,25); }
#cssmenu li a:hover { color: white; opacity:1;  }
#cssmenu > ul > li {
  display: inline-block;
}
#cssmenu.align-center > ul > li {
  float: left;
  display: inline-block;
}
#cssmenu.align-center > ul {
  text-align: center;
}
#cssmenu.align-right > ul {
  float: right;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu > ul > li:after {
  display: block;
  position: absolute;
  color: white;
  background: white;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 0;
  -webkit-transition: height .2s;
  -moz-transition: height .2s;
  -ms-transition: height .2s;
  -o-transition: height .2s;
  transition: height .2s; 
}
#cssmenu > ul > li > a {
  color: white;
  opacity: 1;
  padding: 5px 0px;
  font-size: 18px;
  letter-spacing: 2px;
  z-index: 998;
  position: relative;
}
#cssmenu > ul > li:hover:after,
#cssmenu > ul > li.active:after {
  height: 100%;
}
#cssmenu > ul > li:hover > a {
    color: rgb(217,40,25);
    opacity: 1;
}
#cssmenu > ul > li.active > a {
  color: rgb(217,40,25);
    opacity: 1;
    border-bottom: 2px solid white;
}
#cssmenu > ul > li:hover > a:after,
#cssmenu > ul > li.active > a:after {
  background: white;
}
#cssmenu > ul > li:hover > a:before,
#cssmenu > ul > li.active > a:before {
  border-top-color: white;
}
#cssmenu > ul > li:hover > ul {
  left: 0;
}
#cssmenu > ul > li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu > ul > li > a {
  display: block;
}
#cssmenu > ul > li {
  width: auto;
}


@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 > ul {
    max-height: 0;
    overflow: visible;
    -webkit-transition: max-height 0.35s ease-out;
    -moz-transition: max-height 0.35s ease-out;
    -ms-transition: max-height 0.35s ease-out;
    -o-transition: max-height 0.35s ease-out;
    transition: max-height 0.35s ease-out;
  }
  #cssmenu.align-right ul li a {
    text-align: left;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu.align-center > ul > li {
    display: none;
  }
  #cssmenu > ul.open {
    display: block;
    max-height: 1000px;
  }
  #cssmenu ul {
    display: none;
    width: 100vw;
    margin-top: 183px;
    margin-left: 30px;
    }
  #cssmenu ul li {
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.9);
}
  #cssmenu ul > li {
    float: right;
    width: 100vw;
  }
  #cssmenu li a { color: #FAEBD7; opacity:0.6; font-size: 16px; text-decoration: none; }
  #cssmenu ul li a {
    opacity: 1;
    width: 100vw;
  }
  #cssmenu ul > li:after {
    display: none;
  }
  #cssmenu ul li:hover > ul > li {
    max-height: 999px;
    position: relative;
    background: none;
  }
  
  #cssmenu #menu-button {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 0px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: -8px;
    color: #ffffff; 
    cursor: pointer;
  }
  #cssmenu #menu-button:after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    right: 20px;
    top: 16px;
  }
  #cssmenu #menu-button:before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    right: 20px;
    top: 26px;
  }
}
@media all and (max-width: 600px), 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 ul li a {
        padding: 16px 30px;
      
  }
}
    
