
#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 {
  width: auto;
  /*float: left;*/
  border-radius: 5px;
}
#cssmenu.align-center > ul {
  display: table;
  text-align: center;
  width:100%;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-center > ul > li {
  float: none;
  display: table-cell;
  text-align: center;
  
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li:first-child{
  /*border-left: 1px solid #125e8a;
   */}
#cssmenu > ul > li {
  /*float: left;*/
  display: inline-block;
  /*border-right: 1px solid #125e8a;*/
}
#cssmenu > ul > li > a {
  color: #fff;
    font-size: 1em;
	letter-spacing: 0px;
	display:block;
	padding:0px 8px;
	line-height: 36px;
    text-align: center;
    border:1px solid transparent;
	text-transform:uppercase;
    
}
#cssmenu > ul > li > a > i{
  display: block;
  font-style: normal;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #fff;
  border:1px solid #efe600;
  /*-webkit-border-radius:10px;
  border-radius: 10px;*/
}
#cssmenu > ul > li.current-menu-item > a,
#cssmenu > ul > li.current-menu-parent > a{
  background:none;
  border:1px solid #efe600;
  /*-webkit-border-radius:10px;
  border-radius:10px;*/
}
#cssmenu > ul > li.has-sub > a {
  /*padding-right: 40px;*/
}

#cssmenu ul > li.has-sub:hover > a:after {
  /*background-position: 0 -18px;*/
}
#cssmenu ul > li.has-sub > a:before {
  /*content: '';
  position: absolute;
  right: 11px;
  top: 25.5px;
  display: block;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  border-top-color: #ffffff;
  z-index: 99;*/
}
#cssmenu ul > li.has-sub:hover > a:before {
  border-top-color: #fc635e;
  border:0px;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  opacity: 0;
  -webkit-transition: top .2s ease, opacity .2s ease;
  -moz-transition: top .2s ease, opacity .2s ease;
  -ms-transition: top .2s ease, opacity .2s ease;
  -o-transition: top .2s ease, opacity .2s ease;
  transition: top .2s ease, opacity .2s ease;
  margin-top:0px;
  /*border-top:4px solid #196898;*/
  z-index: 100;
 
}
#cssmenu > ul > li > ul {
  top:0px;
  /*padding-top: 8px;
  padding-bottom:  8px;*/
  border-radius: 0px;
  /*background:#fc635e;
  background: url(images/arrow-top.png) top center no-repeat;*/
}
#cssmenu > ul > li:hover > ul {
  left:0%;
  /*margin-left: -110px;*/
  top:100%;
  opacity: 1;
}
#cssmenu > ul > li > ul:before{
  /*position: absolute;
  width:10px;height: 8px;
  left:50px; margin-left: -5px; display: block; top:8px;
  background: url(images/arrow-top.png) top center no-repeat;
  z-index: 2000;*/
}
#cssmenu.align-right > ul > li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  top: 40px;
}
#cssmenu ul ul > li:hover > ul {
  top: 0;
  left: 100%;
  padding-left:0px;
  opacity: 1;
}
#cssmenu.align-right ul ul > li:hover > ul {
  left: auto;
  right: 178px;
  padding-left: 0;
  padding-right: 10px;
  opacity: 1;
}
#cssmenu ul ul li a {
  width: 220px;
  padding: 10px 25px;
  font-size:0.9em;
  color: #323232;
  line-height:1.5;
  text-decoration: none;
  background-color:#EFE600;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li > a:hover,
#cssmenu ul ul li.active > a {
  color: #fff;
  background: #404A58;
  
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  /*box-shadow: inset 0 2px 2px #465a6e;*/
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom:1px solid #404A58;
  
}
#cssmenu ul ul > li.has-sub > a:after {
  right: 12px;
  top: 4px;
  background: #fc635e;
  background-size: 36px 36px;
  background-position: 0 0;
  background-repeat: no-repeat;
}
#cssmenu.align-right ul ul > li.has-sub > a:after {
  right: auto;
  left: 12px;
}
#cssmenu ul ul > li.has-sub:hover > a:after {
  background-position: 0 -18px;
}
#cssmenu ul ul > li.has-sub > a:before {
  top: 15.5px;
  right: 16px;
  border-top-color: transparent;
  border-left-color: #ffffff;
}
#cssmenu.align-right ul ul > li.has-sub > a:before {
  top: 15.5px;
  right: auto;
  left: 16px;
  border-top-color: transparent;
  border-right-color: #ffffff;
  border-left-color: transparent;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  border-top-color: transparent;
  border-left-color: #1c89b5;
}
#cssmenu.align-right ul ul > li.has-sub:hover > a:before {
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: #1c89b5;
}
#cssmenu ul li.badge{line-height: 5.5;border: 0px; padding: 0px 12px;}

#cssmenu ul li.menu-item-has-children:hover > a{-webkit-border-bottom-left-radius: 0px;border-bottom-left-radius: 0px;-webkit-border-bottom-right-radius: 0px;border-bottom-right-radius: 0px;}

@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 ul,
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu > ul,
  #cssmenu.align-center > ul,
  #cssmenu > ul > li > ul,
  #cssmenu > ul > li:hover > ul,
  #cssmenu ul ul li:hover > ul,
  #cssmenu ul ul ul li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul ul li:hover > ul,
  #cssmenu.align-right ul ul ul li:hover > ul {
    position: relative;
    left: 0;
    right: auto;
    top: 0;
    width: 100%;
    display: none;
    padding: 0;
    opacity: 1;
    text-align: left;
    margin-left: 0px;
  }
  #cssmenu ul li {
    width: 100%;
    border-top: 1px solid rgba(120, 120, 120, 0.2);
  }
  #cssmenu > ul > li > a > i{display: inline;}
  #cssmenu > ul > li > a,
  #cssmenu ul ul li a,
  #cssmenu ul ul li:first-child > a,
  #cssmenu ul ul li:last-child > a {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    /*background: none;*/
    text-align: left;
    border-right: 0px;
  }
  #cssmenu ul li a {
    padding-left: 12.5px;
    padding-top:12px;
    padding-bottom:12px;
  }
  #cssmenu ul ul li a {
    padding: 14px 25px 14px 27.5px;
  }
  #cssmenu ul ul{
    z-index: 100;
  }
  #cssmenu ul ul ul{
    z-index: 200;
  }
  #cssmenu ul ul ul li a {
    padding-left: 42.5px;
  }
  #cssmenu ul ul ul ul li a {
    padding-left: 57.5px;
  }
  #cssmenu > ul > li.has-sub > a:after,
  #cssmenu > ul > li.has-sub > a:before,
  #cssmenu ul ul li.has-sub > a:after,
  #cssmenu ul ul li.has-sub > a:before {
    display: none;
  }
  #cssmenu #menu-button {
    position: relative;
    display: block;
    padding: 20px;
    padding-left: 12.5px;
    cursor: pointer;
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  #cssmenu .submenu-button {
    position: absolute;
    right: 0;
    display: block;
    width: 38px;
    height:38px;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    z-index: 10;
    cursor: pointer;
  }
  #cssmenu ul ul .submenu-button {
    height: 41px;
  }
  #cssmenu ul .submenu-button:after,
  #cssmenu #menu-button:after {
    content: '';
    position: absolute;
    right: 4.5px;
    top: 4.5px;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 15px;
    background: #465a6e;
    /*background: -webkit-linear-gradient(top, #58bde5 0%, #4ab7e3 25%, #2babde 50%, #58bde5 75%, #4ab7e3 100%);
    background: -ms-linear-gradient(top, #58bde5 0%, #4ab7e3 25%, #2babde 50%, #58bde5 75%, #4ab7e3 100%);
    background: -moz-linear-gradient(top, #58bde5 0%, #4ab7e3 25%, #2babde 50%, #58bde5 75%, #4ab7e3 100%);
    background: -o-linear-gradient(top, #58bde5 0%, #4ab7e3 25%, #2babde 50%, #58bde5 75%, #4ab7e3 100%);
    background: linear-gradient(to bottom, #58bde5 0%, #4ab7e3 25%, #2babde 50%, #58bde5 75%, #4ab7e3 100%);*/
    box-shadow: inset 0 -1px 1px #405264, inset 0 2px 1px #405264;
    background-size: 56px 56px;
    background-position: 0 0;
    background-repeat: no-repeat;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
  }
  #cssmenu ul .submenu-button.submenu-opened:after,
  #cssmenu #menu-button.menu-opened:after {
    background-position: 0 -28px;
  }
  #cssmenu ul ul .submenu-button:after {
    top: 6.5px;
  }
  #cssmenu #menu-button:before,
  #cssmenu .submenu-button:before {
    content: '';
    position: absolute;
    right: 14.5px;
    top: 16.5px;
    display: block;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    z-index: 99;
  }
  #cssmenu ul ul .submenu-button:before {
    top: 19.5px;
  }
  #cssmenu #menu-button.menu-opened:before,
  #cssmenu .submenu-button.submenu-opened:before {
    /*border-top-color: #19799f;*/
    border-top-color:#000;
  }
  #cssmenu ul li.badge{line-height:2.5; text-align: left;border: 0px; padding: 0px 12px;}
}
