.overlay-menu {
  position: absolute;
  overflow-y: auto;
  overflow-x: auto;
  width: 100%;
  min-width: 320px;
  left: 0;
  z-index: 100;
  font-size: .9em;
  bottom: 0;
  top: 0;
  margin-top: 35px; }
  @media screen and (min-width: 610px) {
    .overlay-menu {
      background-color: transparent; } }
  @media screen and (min-width: 768px) {
    .overlay-menu {
      margin-top: 42px; } }
  @media screen and (min-width: 992px) {
    .overlay-menu {
      margin-top: 60px; } }
  .overlay-menu__root {
    position: absolute;
    border: 1px solid #edb600;
    background-color: #ffd754; }
  .overlay-menu__root-item:not(:last-child) {
    border-bottom: 1px solid #edb600; }

.overlay-menu__root-item, .overlay-submenu__item {
  position: relative; }

.overlay-menu-link {
  position: relative;
  min-width: 290px;
  max-width: 290px;
  height: 36px;
  display: block;
  line-height: 36px;
  padding-left: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }
  .overlay-menu-link:hover {
    background-color: rgba(0, 0, 0, 0.1); }

.overlay-submenu {
  position: absolute;
  top: 0;
  right: -290px;
  display: none;
  background-color: #ffd754;
  border: 1px solid #edb600; }
  .overlay-submenu__item:not(:last-child) {
    border-bottom: 1px solid #edb600; }
  .overlay-submenu__container > a {
    padding-right: 20px; }

.overlay-submenu--active > .overlay-submenu {
  display: block;
  margin-left: 1em;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); }
  @media screen and (min-width: 480px) {
    .overlay-submenu--active > .overlay-submenu {
      margin-left: 0;
      position: absolute;
      margin-bottom: 32px; } }
