/*
 * TunePad
 *
 * Michael S. Horn
 * Northwestern University
 * michael-horn@northwestern.edu
 * Copyright 2020, Michael S. Horn
 *
 * This project was funded by the National Science Foundation (grant DRL-1612619).
 * Any opinions, findings and conclusions or recommendations expressed in this
 * material are those of the author(s) and do not necessarily reflect the views
 * of the National Science Foundation (NSF).
 */
.drop-menu {
  position: absolute;
  background-color: white;
  border: 1px solid #0001;
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  box-shadow: 0px 3px 5px #0005;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.drop-menu.hidden {
  display: none;
}
.drop-menu:hover {
  cursor: pointer;
}
.drop-menu.terminal {
  max-height: 70vh;
  overflow-y: auto !important;
}
.drop-menu li.menu-item {
  line-height: 140%;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: normal;
  color: #3C4E60;
  outline: none;
  border: none;
  padding: 5px 20px 5px 10px;
  white-space: nowrap;
  position: relative;
  text-align: left;
}
.drop-menu li.menu-item:hover {
  background: rgba(0, 0, 0, 0.15);
}
.drop-menu li.menu-item:active {
  background: rgba(0, 0, 0, 0.2);
}
.drop-menu li.menu-item.highlight {
  background: rgba(0, 0, 0, 0.085);
}
.drop-menu li.menu-item.sharing{
  font-weight: 700;
}
.menu-item:hover > .drop-menu {
  display: flex;
  left: 88%;
  top: -10px;
}
.menu-item .menu-expand,
.menu-item .menu-icon,
.menu-item i.fas,
.menu-item i.far,
.menu-item i.fab {
  width: 3em;
  text-align: center;
}
.menu-item .menu-expand {
  text-align: right;
  position: relative;
  left: 5px;
  font-size: 90%;
  width: 2em;
  flex: 1;
}
.menu-item .menu-name {
  flex: 1;
  /*padding-left: 5px;*/
}
.menu-item .menu-expand::before {
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  font-size: 12px;
  color: rgba(0,0,0,0.6);
  font-weight: 600;
}
.drop-menu .menu-separator {
  border-top: 1px solid #0005;
  margin: 10px;
  height: 2px;
  list-style: none;
}

.drop-menu li.menu-item.hidden {
  display: none;
}

.menu-item > .edit-patch-btn {
  background-color: rgb(55, 156, 236);
  color: white;
  padding: 5px;
  border-radius: 4px;
  margin-left: 5px;
}
.menu-item > .edit-patch-btn:hover {
  background-color: rgb(36, 105, 162);
}
