.overlay-shadow {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
}
.overlay-text-shadow {
  text-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
}
#design .panel {
  position: relative;
  width: 300px;
}
#design .panel.card {
  position: absolute;
  top: 0;
  left: 24px;
  z-index: 20;
  width: 360px;
  max-height: 100%;
}
#design .panel.card.left {
  top: 70px;
}
#design .panel.card.left,
#design .panel.card.right {
  padding-bottom: 80px;
  overflow: auto;
}
#design .panel.card.right {
  left: auto;
  right: 24px;
  width: auto;
  margin-top: 5em;
  z-index: 9;
}
#design .panel.card.right > div {
  display: inline-block;
  vertical-align: top;
  position: relative;
  max-height: none;
  top: auto;
  left: auto;
}
#design .panel.card.right .atlas {
  width: auto;
  height: auto;
}
#design .panel.card.right .atlas .overlays {
  position: relative;
  top: auto;
  left: auto;
}
#design .panel.card.right .atlas .overlays > .overlay {
  vertical-align: top;
  margin: 10px;
  margin-right: 0;
  max-width: 250px;
}
#design .panel.card.right .atlas .overlays > .overlay:last-child {
  margin-right: 10px;
}
#design .panel.card.right .atlas .overlays > .overlay .legend table td {
  white-space: nowrap;
}
#design .panel.card.right .atlas .overlays .title {
  background: none;
  border-bottom: none;
  box-shadow: none;
}
#design .panel.card .panel {
  position: relative;
}
#design .panel.card .crud.form {
  background: white;
}
#design .panel.card .crud.form .field {
  margin-right: 10px;
  margin-left: 10px;
}
#design .panel.card .crud.form .field > label {
  font-size: 14px;
}
#design .panel.card .crud.form textarea {
  height: 6em;
  min-height: 6em;
  max-height: 24em;
}
#design .panel.card .crud.form .properties.table .label,
#design .panel.card .crud.form .properties.table .units,
#design .panel.card .crud.form .properties.table .icon {
  float: left;
}
#design .panel.card .crud.form .properties.table .units {
  margin-left: 5px;
}
#design .panel.card .crud.form .meta.table tr td:first-child {
  font-weight: bold;
}
#design .panel.card .crud.form .image.field {
  float: left;
  background-size: cover;
  background-position: center center;
  margin-left: 0;
  width: 100px;
  height: 100px;
}
#design .panel.card .crud.form .desc.field {
  display: inline-block;
  margin-left: 0;
  width: 230px;
  margin-right: 0;
}
#design .panel.card .crud.form .subtitle {
  font-weight: bold;
}
#design .panel.card .crud.form .form-group {
  display: flex;
}
#design .panel.card .crud.form .form-group input[type="number"] {
  text-align: right;
}
#design .panel.card .crud.form input[type="range"],
#design .panel.card .crud.form .rangeslider {
  width: 150px;
}
#design .panel .panel {
  position: absolute;
  max-height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  overflow: auto;
  z-index: 1;
}
#design .panel .panel .ui.table {
  border-radius: 0;
}
#design .panel .panel .icon.menu {
  margin: 0;
}
#design .panel .panel .icon.menu .item {
  padding: 0.5rem;
}
#design .panel .panel .ui.form {
  background: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  border-radius: 0;
}
#design .panel .panel .ui.form input {
  padding: 0.3rem 0.4rem !important;
  color: black !important;
}
#design .panel .panel .forms .form {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
  background: white;
  margin-top: 10px;
}
#design .panel .panel .forms .form:first-child {
  margin-top: 0;
}
#design .panel .panel .forms .form .title {
  background: #ddd;
  border-bottom: none;
  margin-bottom: 15px;
}
#design .panel .panel .forms .form input {
  border: 0;
  box-shadow: none !important;
  border-bottom: 1px solid #eee;
  border-radius: 0.3rem;
}
#design .panel .panel .forms .form input:focus {
  border-bottom: 1px solid #ccc;
}
#design .panel .panel .forms.accordion .title {
  margin-bottom: 0;
  position: relative;
  border-bottom: 0;
  background: #ddd;
  font-size: 1.1rem;
}
#design .panel .panel .forms.accordion .title .dropdown.icon {
  position: absolute;
  top: 9px;
  right: 3px;
  color: #666;
  font-size: 1.1rem;
}
#design .panel .panel .forms.accordion .title:hover {
  background: #eee;
  transition: background 300ms ease-out;
}
#design .panel .panel .forms.accordion .content {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 !important;
}
#design .panel .panel .forms.accordion .content form {
  padding-top: 10px !important;
  font-size: 0.9rem !important;
  transform: inherit !important;
}
#design .panel .panel .forms.accordion .content .af-fieldGroup {
  margin-bottom: 2px !important;
  font-size: 0.9rem !important;
  margin: 2px !important;
}
#design .panel .panel .forms.accordion .content .af-fieldGroup-heading {
  font-size: 0.9rem !important;
  font-weight: bold !important;
}
#design .panel .panel .forms.accordion .content .panel {
  overflow: visible;
  z-index: initial;
}
#design .panel .panel.form {
  height: 100%;
}
#design .panel .panel .crud.buttons {
  background: white;
}
#design .panel .panel .ui.menu.toolbar {
  border-radius: 0;
}
#design .panel .panel .sortable.legend {
  min-width: 30px;
}
#design .panel .panel .info {
  text-align: center;
  margin-bottom: 1rem;
  font-style: italic;
  color: #777;
}
#design .panel .chart-container {
  overflow: auto;
}
#design .panel .title {
  background: #a9afb6;
  color: #000;
  padding: 8px;
  border-bottom: 3px solid #7e8995;
}
#design .panel .title .icon {
  font-size: 1.4rem;
  color: #333;
}
#design .panel .title .loader {
  float: right;
  margin-top: 2px;
  margin-right: 2px;
}
#design .panel > .panel > div > .content {
  min-height: 40px;
}
#design .panel > .panel > div > .content > .ui.segment {
  border: none;
  margin: 0;
}
#design .panel > .panel > div > .content > .ui.divider {
  margin: 0;
}
#design .panel > .panel .tree .jqtree-tree {
  margin-bottom: 0;
}
#design .panel .entities.title {
  background: #f7d069;
  border-bottom-color: #f3bc39;
}
#design .panel .entities.title:hover {
  background: #fadf99;
}
#design .panel .types.title {
  background: #acba77;
  border-bottom-color: #90a650;
}
#design .panel .types.title:hover {
  background: #c1cb99;
}
#design .panel .reports.title {
  background: #6ad0cf;
  border-bottom-color: #00bdbc;
}
#design .panel .ui.accordion > .content.active {
  padding: 0;
  display: flex;
  flex-direction: column;
}
#design .panel .ui.accordion > .content.active .toolbar {
  flex-shrink: 0;
  border-radius: 0;
}
#design .panel .ui.accordion > .content.active .body,
#design .panel .ui.accordion > .content.active .tree {
  flex-grow: 1;
  overflow: auto;
}
#design .panel .ui.accordion > .content.active .collection-table {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
#design .panel #tenant-selector.ui.secondary.pointing.menu {
  margin-left: 0px;
  margin-right: 0px;
  border-bottom: 2px solid rgba(34, 36, 38, 0.15);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  border: 1px solid #b4b4b4;
  background: #cccccc;
}
#design .panel #tenant-selector.ui.secondary.pointing.menu a.item:hover {
  background: #eee;
  transition: background 300ms ease-out;
}
#design .panel #tenant-selector.ui.menu {
  font-size: 0.85rem;
}
#design .panel .upload-link-button {
  background: transparent;
  border: none;
  height: 24px;
}
#design .panel .upload-link-button:hover {
  background: #eee;
  border: 1px solid black;
}
#design.not-analysing .panel .forms .form input {
  border-bottom-color: transparent !important;
}
.color-legend-item {
  background-color: #eee;
  width: 1rem;
  height: 1rem;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.25);
}
.collection-table td.legend,
.collection-table th.legend {
  width: 20px;
}
.collection-table th.legend {
  padding: 0 !important;
}
.collection-table td.legend {
  padding: 0.5rem;
  position: relative;
}
.collection-table td.legend .color {
  background-color: #eee;
  width: 1rem;
  height: 1rem;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 8px;
  left: 8px;
}
.tree .jqtree-element .color {
  background-color: #eee;
  width: 1rem;
  height: 1rem;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.25);
  margin-right: 0.5rem;
  vertical-align: middle;
}
.entities.form,
.entities.form .ui.segment {
  background: none !important;
}
.entities.form .inner .ui.form.segment {
  padding: 0;
}
.entities.form .form-group {
  padding: 0 !important;
}
.entities.form .form-group .projection.button {
  padding: 0.4rem 0.3rem;
  width: 45px;
  height: 20px !important;
  padding: 3px;
  margin: 0;
  margin-right: 4px;
  font-size: 1.1rem;
  display: none;
}
.entities.form .form-group:hover .projection.button {
  display: inline-block;
}
.entities.form .form-group input[type="text"] {
  height: 2rem !important;
}
.entities.form .chart-container {
  padding: 0;
}
.entities.form .chart-container .projection.button {
  position: absolute;
  right: 10px;
}
.entities.form .planning-items .items {
  width: 210px;
  text-align: right;
}
.entities.form .panel-heading {
  display: none;
}
