#menu-cont {
  height: 80px;
  line-height: 80px;
  font-size: 16px;
  position: relative;
  display: block;
  border: 0;
  list-style: none;
}

#menu-cont:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#menu-cont ul {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  display: block;
  position: relative;
}

#menu-cont > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#menu-cont ul li {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  cursor: pointer;
}

#menu-cont > ul > li {
  float: left;
}

#menu-cont ul li a {
  height: 40px;
  line-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  display: block;
  position: relative;
}

#menu-cont > ul > li > a {
  padding: 20px 10px;
  text-decoration: none;
}

#menu-cont > ul > li:hover > a {
  background-color: #32a157;
  color: #ffffff;
}

#menu-cont ul ul {
  position: absolute;
  /*left: -9999px;*/
  padding-top: 5px;
  z-index: 10000;
  right: 9999px;
}

#menu-cont ul ul li {
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

#menu-cont li:hover > ul {
  /*left: auto;*/
  right: 0;
}

#menu-cont li:hover > ul > li {
  height: auto;
}

#menu-cont li a:hover {
  background-color: #32a157;
  color: #ffffff;
}

#menu-cont ul ul ul {
  /*margin-left: 100%;*/
  margin-right: 100%;
  top: 0;
}

#menu-cont ul ul li a {
  padding: 10px 15px;
  text-decoration: none;
  color: #ffffff;
  background-color: #9da2a5;
  line-height: 20px;
  min-width: 205px;
  font-size: 16px;
  height: auto;
}

#menu-cont ul ul li:last-child > a,
#menu-cont ul ul li.last-item > a {
  border-bottom: 0;
}

#menu-cont ul ul li:hover > a,
#menu-cont ul ul li a:hover {
  background-color: #32a157;
  color: #ffffff;
}

/*.active{*/
/*background-color: #9da2a5;*/
/*color: #ffffff;*/
/*}*/

@media (min-width: 20px) {
  #menu-top {
    height: 50px;
  }

  #menu-cont {
    height: 80px;
    padding: 0;
    float: right;
    /*float: none;*/
    width: auto;
    color: #ffffff;
  }

  #menu-cont ul {
    display: none;
    position: relative;
  }

  #menu-cont ul ul li a {
    padding: 11px 25px;
    text-decoration: none;
    min-width: 205px;
  }

  #menu-cont #menu-button {
    right: 80px;
  }

  #menu-top-container {
    width: 100%;
    background-color: #dee5e9;
    border-bottom: 1px solid #9da2a5;
  }

  #menu-sx-container {
    display: none;
  }
}

@media (min-width: 768px) {
  #menu-cont #menu-button {
    right: 0;
  }

  #menu-sx-container {
    display: block;
    width: 140px;
    border-right: 1px solid #9da2a5;
    padding-bottom: 20000px;
    margin-bottom: -20000px;
    background-color: #c0c6ca;
  }
}

@media (min-width: 1024px) {
  #menu-cont {
    height: 80px;
    padding: 0;
    font-size: 16px;
    width: auto;
    /*float: right;*/
    display: table;
    float: none;
    color: #9da2a5;
    margin: 0 auto;
  }

  #menu-cont ul {
    display: block !important;
    position: relative;
  }

  #menu-cont ul ul {
    z-index: 200000;
  }

  #menu-button {
    display: none;
  }

  #menu-cont ul ul li a {
    padding: 10px 15px;
    text-decoration: none;
    min-width: 200px;
  }

  #menu-top {
    height: 80px;
    padding-left: 195px;
  }

  #menu-top-container {
    position: fixed;
    z-index: 100000000;
    border-bottom: 1px solid #9da2a5;
    max-width: 1920px;
  }

  #page-container {
    padding-top: 80px;
  }

  #menu-sx-container {
    position: fixed;
    z-index: 10000;
  }

  #menu-sx-container {
    width: 195px;
    border-right: 1px solid #9da2a5;
    padding-bottom: 20000px;
    margin-bottom: -20000px;
  }

  #menu-scroll {
    top: 80px;
    bottom: 0;
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    width: 195px;
  }
}

@media all and (max-width: 1023px), 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) {
  #menu-cont {
    width: 100%;
    height: auto;
  }

  #menu-cont ul {
    width: 100%;
    background-color: #9da2a5;
    overflow: hidden;
  }

  #menu-cont ul ul {
    padding-top: 0;
  }

  #menu-cont ul ul ul {
    padding-top: 0;
  }

  #menu-cont ul li {
    width: 100%;
  }

  #menu-cont ul ul li,
  #menu-cont li:hover > ul > li {
    height: auto;
  }

  #menu-cont ul li a,
  #menu-cont ul ul li a {
    width: 96%;
    padding: 12px 0 12px 4%;
    height: 16px;
    line-height: 16px;
    border-bottom: 0;
    background-color: #9da2a5;
  }

  #menu-cont ul ul ul li a {
    width: 96%;
    padding: 12px 0 12px 8%;
    height: 16px;
    line-height: 16px;
    border-bottom: 0;
    background-color: #9da2a5;
  }

  #menu-cont ul li:hover {
    color: #ffffff;
    background-color: #32a157;
  }

  #menu-cont > ul > li {
    float: none;
  }

  #menu-cont > ul > li > a {
    text-decoration: none;
  }

  #menu-cont ul ul li a {
    padding-left: 5%;
    width: 95%;
    font-size: 14px;
  }

  #menu-cont ul ul li a {
    color: #ffffff;
    background-color: #9da2a5;
  }

  #menu-cont ul ul li:hover > a,
  #menu-cont ul ul li.active > a {
    color: #ffffff;
    background-color: #32a157;
  }

  #menu-cont ul ul,
  #menu-cont.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #menu-cont > ul > li.has-sub > a:after,
  #menu-cont > ul > li.has-sub > a:before,
  #menu-cont ul ul > li.has-sub > a:after,
  #menu-cont ul ul > li.has-sub > a:before {
    display: none;
  }

  #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
  }

  #menu-cont #menu-button {
    display: block;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    width: 40px;
    background-color: #9da2a5;
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    top: -50px;
  }

  #menu-cont .menu-opened {
    z-index: 10000;
  }

  #menu-cont ul li .submenu-button {
    position: absolute;
    width: 40px;
    top: 0;
    right: 0;
    z-index: 1000;
    border-left: 1px solid #c0c6ca;
    cursor: pointer;
  }

  #menu-cont ul li .submenu-button {
    height: 40px;
  }

  #menu-cont ul li ul li .submenu-button {
    height: 40px;
  }

  #menu-cont .submenu-button.submenu-opened {
  }

  #menu-cont ul ul .submenu-button {
  }

  #menu-cont ul li.has-sub > span:after, #menu-cont ul ul li.has-sub > span:after {
    position: absolute;
    top: 20px;
    right: 17px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ffffff;
    content: '';
  }

  #menu-cont ul li.has-sub > span.submenu-opened:after, #menu-cont ul ul li.has-sub > span.submenu-opened:after {
    background: #ffffff;
  }

  #menu-cont ul li.has-sub > span:before, #menu-cont ul ul li.has-sub > span:before {
    position: absolute;
    top: 17px;
    right: 20px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ffffff;
    content: '';
  }

  #menu-cont ul li.has-sub > span.submenu-opened:before, #menu-cont ul ul li.has-sub > span.submenu-opened:before {
    display: none;
  }
}