.horizontal-menu {
  display: flex;
  flex-direction: row;
  flex-wrap:nowrap;
  width: 100%;
}

/********************
VERTICAL MENU FOOTER
****************/
.vertical-menu-footer a{
  margin-bottom:10px;
  display: table;
  font-size:15px;
  width:auto
}

.vertical-menu-footer a:hover{
  color:#003e7e
}
 
#cssmenu {
  float: left;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  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 > 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-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  padding: 12px 15px;
  font-weight:bold;
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
  color: #393939;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  cursor:pointer;
}

@media screen and (max-width: 1280px) {
  #cssmenu > ul > li > a {
    padding: 12px 10px;
    font-size: 13px;
    line-height: 16px;
  }
}  
  
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #fff;
  background:#003E7E;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}


#cssmenu > ul > li.has-sub > a::after {
    position: absolute;
    top: 16px;
    right: 10px;
    width: 5px;
    height: 5px;
    border-bottom: 1px solid #2b2b2b;
    border-right: 1px solid #2b2b2b;
    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.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}

#cssmenu > ul > li.has-sub.active  > a::after {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}

#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #009ae1;
}
#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 .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}
#cssmenu ul li:hover > ul > li {
  height: 32px;
}
#cssmenu ul ul li a {
  padding: 5px 20px;
  width: 200px;
  display:table;
  font-size: 12px;
  background: #F2F2F2;
  text-decoration: none;
  color: #333333;
  -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 {
  color: #ffffff;
  background:#003E7E
}
#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  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.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s 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 #dddddd;
  border-left: 1px solid #dddddd;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}


#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 50px;
  width: 50px;
  background: #323232;
}


#cd-menu-trigger .menu-icon-button.menu{
  background: url(../background/svg/header-menu-dots.svg) no-repeat;
  background-size: auto 30px;
  display: block;
  width: 100%;
  height: 50px;
  background-position: 50%;
}



#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 30px;
  height: 2px;
  background-color: #FFF;
  /* these are the upper and lower lines in the menu menu */
}
#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
  bottom: 10px;
}
#cd-menu-trigger .cd-menu-icon::after {
  top: 10px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: white;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 260px;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(80px);
  -moz-transform: translateX(80px);
  -ms-transform: translateX(80px);
  -o-transform: translateX(80px);
  transform: translateX(80px);
  background:#393939;
  background:#fdfdfd;
  border-left: 1px solid #d8d8d8;
  padding-bottom: 100px;
}

#cd-lateral-nav .sub-menu {
  padding: 0px;
  display: none;
  background: #efefef;
}

#cd-lateral-nav li{
  border-bottom:1px solid #fff;
  border-bottom:1px solid #d8d8d8;
}

#cd-lateral-nav .sub-menu  li{
  border-bottom: 1px solid #acacac;
}

#cd-lateral-nav a {
  display: block;
  line-height: 22PX;
  padding: 10px 20px;
  color: #FFF;
  color: #393939;
}

#cd-lateral-nav .active.deeper  a {
    display: block;
    line-height: 22PX;
    padding: 10px 20px;
    color: #FFF;
    background-color: #393939;
}

#cd-lateral-nav .active.deeper.item-has-children > a::after {
position: absolute;
    top: 14px;
    right: 14px;
    width: 9px;
    height: 9px;
    border-bottom: 2px solid #393939;
    border-right: 2px solid #393939;
    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.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}

#cd-lateral-nav .active.deeper.item-has-children  a{
  display: block;
    line-height: 22PX;
    padding: 10px 20px;
    color: #393939;
    background-color: transparent;
}

cd-lateral-nav .active.deeper.item-has-children.parent ul li a {
    display: block;
    line-height: 22PX;
    padding: 10px 20px;
    color: #393939;
    background-color: #ababab;
}

#cd-lateral-nav .active.deeper.item-has-children .current.active a{
  display: block;
    line-height: 22PX;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #393939;
}

#cd-lateral-nav .active.deeper.item-has-children.parent .submenu-open {
  display: block;
    line-height: 22PX;
    padding: 10px 20px;
    color: #393939;
    background-color: transparent;
}

#cd-lateral-nav .active.current a {
  background-color: #393939;
  color: #FFF;
  padding: 10px 20px;
}
.no-touch #cd-lateral-nav a:hover {
  color: #FFF;
}

#cd-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
}

/* style menu items which have a submenu  */
#cd-lateral-nav .item-has-children > a {
  position: relative;
  /* this is the right arrow to show that the item has a submenu  */
}

#cd-lateral-nav .item-has-children > a::after {
position: absolute;
    top: 14px;
    right: 14px;
    width: 9px;
    height: 9px;
    border-bottom: 2px solid #fff;
    border-bottom: 2px solid #393939;
    border-right: 2px solid #fff;
    border-right: 2px solid #393939;
    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.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
  border-bottom: 2px solid #ef8912;
  border-right: 2px solid #ef8912;
}
