/* -------
   M E N U
   ------- */

header > menu {
  float: right;
  margin: 0;
  height: 40px;
  line-height: 40px;
}

menu.small {
  display: inline-block;
}

menu.wide {
  display: none;
  padding-inline-start: 0px;
}

menu > menu-item {
  padding-right: 20px;
  color: white;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
}

menu > menu-item:hover {
  color: red;
  cursor: pointer;
}

/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 880px) {
  header > menu {
    height: 60px;
    line-height: 60px;
  }

  menu.small {
    display: none;
  }

  menu.wide {
    display: inline-block;
  }
}


/* - - - - - - - - - - - - - - - -

Popup-Menu

<menu id="main" class="popup shadow-bottom">
  <menu-item id="id1">Item 1</menu-item>
  <menu-item id="id2">Item 2</menu-item>
  <menu-item id="id3">Item 3</menu-item>
  <menu-item id="id4">Item 4</menu-item>
  <menu-item id="id5">Item 5</menu-item>
  <menu-separator />
  <menu-item id="logout" onclick="logout()">Abmelden</menu-item>
</menu>

- - - - - - - - - - - - - - - - */

/* - - - - - - - - - - - - - - - -
  Popup menu
 - - - - - - - - - - - - - - - - */

menu.popup modal {
  display: inline;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.1);
  z-index: -1;
}

menu.popup {
  display: none;
  position: fixed;
  background-color: #444;
  background-color: rgba(0,0,0,0.8);
  margin: 0;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  z-index: 4;
}

menu.popup#main {
  top: 45px;
  right: 5px;
}

menu.popup menu-item {
  display: block;
  margin: 0px;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 25px;
  border-radius: 2px;
  color: white;
}

menu.popup menu-separator {
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
  height: 1px;
  background-color: white;
}

menu.popup menu-item:hover {
  background-color: limegreen;
  color: #444;
  cursor: pointer;
}
