#context-menu {
  min-width: 240px;
  max-width: 380px;
  position: fixed;
  background: white;
  -webkit-box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
#context-menu .btn-group.header {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px;
}
#context-menu .btn-group.header #name {
  padding-left: 15px;
  font-family: "UniversNextW04-620CondB", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
}
#context-menu .btn-group.header #close {
  float: right;
}
#context-menu .btn-group.header #close button {
  margin: 0;
}
#context-menu #actions {
  list-style-type: none;
  padding: 0;
}
#context-menu #actions li {
  width: 100%;
  border-bottom: 1px solid whitesmoke;
  border-top: 1px solid whitesmoke;
  padding: 5px 10px;
  position: relative;
}
#context-menu #actions li:not(.group):not(.inactive):hover {
  background: whitesmoke;
  cursor: pointer;
}
#context-menu #actions li.group {
  background: #fdfdfd;
  border-bottom: 2px solid whitesmoke;
  font-weight: bold;
}
#context-menu #actions li.group .info {
  float: right;
}
#context-menu #actions li.inactive {
  color: grey;
  pointer-events: none;
  cursor: not-allowed;
}
#context-menu #actions li.has-sub-menu:hover ul.sub-menu {
  display: block;
}
#context-menu #actions li ul.sub-menu {
  display: none;
  position: absolute;
  list-style-type: none;
  padding: 0;
  left: 100%;
  top: 0;
  background: white;
  -webkit-box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.2);
}
#context-menu #actions li ul.sub-menu li {
  white-space: nowrap;
}
#context-menu #actions li ul.sub-menu li.has-input {
  padding: 0;
}
#context-menu #actions li ul.sub-menu li.has-input input {
  padding: 5px 12px;
  text-align: center;
}

