#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  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 {
  width: auto;
  border-bottom: 6px solid #1577a6;
  font-family: Calibri, sans-serif;
  line-height: 1;
}

#cssmenu ul {
  background: #ffffff;
}

#cssmenu > ul > li {
  float: left;
}

#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}

#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}

#cssmenu.align-right > ul > li {
  float: right;
}

#cssmenu.align-right > ul > li > a {
  margin-right: 0;
  margin-left: 0px;
}

#cssmenu > ul > li > a {
  z-index: 2;
  padding: 18px 25px 5px 25px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: #1577a6;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  margin-right: 0px;
}

#cssmenu > ul > li.active > a,
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover {
  color: #ffffff;
}

#cssmenu > ul > li > a:after {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 120%;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  content: "";
  -webkit-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transform: perspective(5px) rotateX(2deg);
  -webkit-transform-origin: bottom;
  -moz-transform: perspective(5px) rotateX(2deg);
  -moz-transform-origin: bottom;
  transform: perspective(5px) rotateX(2deg);
  transform-origin: bottom;
}

#cssmenu > ul > li.active > a:after,
#cssmenu > ul > li:hover > a:after,
#cssmenu > ul > li > a:hover:after {
  background: #1577a6;
}

/*This is the formatting for the menu tab and the drop down elements*/
 
/*Menu Outline*/

#cssmenu ul ul {
  display: none;
}

#cssmenu ul li:hover > ul {
  display:block;

}

/*Formatting for the text inside the submenu*/
#cssmenu li:hover > a, .current-item > a {
    text-decoration:none;
    color:#ffffff;
}

/*Bottom Level (sub Menu)*/
#cssmenu li:hover .sub-menu {
    z-index:100;
    opacity:1;
    top: 38px;
}

.clearfix:after {
    display:inline-block;
    clear:both;

}

.sub-menu {
    width:150%;
    top:80%;
    position: absolute !important;
    left:0px;
    z-index:-1;
    opacity:0;
    text-align: center;
    transition:opacity linear 0.15s;
    box-shadow:0px 2px 3px rgba(0,0,0,0.2);
    background:#ffffff;
}

.sub-menu li {
    display: inline-block;
    font-size:16px;
}

.sub-menu li a, .current-item a {
  color: #1577a6;
}

.sub-menu li a:hover, .sub-menu .current-item a {
    background:#1577a6;

}


/*Buttons formatting*/

/*This is the formatting for the input text boxes, focus, and text formatting*/
input {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 12px;
  outline: none;
}

/*This is the formatting for the button on teh registration page*/
input[type=submit] {
  float: right;
  margin-right: 10px;
  margin-top: 5px;
  width: 40%;
  height: 30px;
  font-size: 15px;
  font-weight: bold;
  color: #00689a;
  background-image: -webkit-gradient(linear, left top, right bottom, from(#acd6ef), to(#6ec2e8));
  background-image: -moz-linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
  background-image: linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
  border-radius: 30px;
  border: 1px solid #66add6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
  cursor: pointer;
}

input[type=submit]:hover {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#b6e2ff), to(#6ec2e8));
  background-image: -moz-linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
  background-image: linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
}

input[type=submit]:active {
  background-image: 00689a;
}
