/* HTML styles */

.controls {
  flex-basis: 200px;
  padding: 0 5px;
}
.controls .force {
  border-radius: 3px;
  padding: 5px;
  margin: 5px 0;
}
.controls .force p label {
  margin-right: 0.5em;
  font-size: 120%;
  font-weight: bold;
}
.controls .force p {
  margin-top: 0;
}
.controls .force label {
  display: inline-block;
}
.controls input[type="checkbox"] {
  transform: scale(1.2, 1.2);
}
.controls input[type="range"] {
  margin: 0 5% 0.5em 5%;
  width: 90%;
}
/* alpha viewer */

.controls .alpha p {
  margin-bottom: 0.25em;
}
.controls .alpha .alpha_bar {
  height: 0.5em;
  border: 1px #777 solid;
  border-radius: 2px;
  padding: 1px;
  display: flex;
}
.controls .alpha .alpha_bar #alpha_value {
  background-color: #555;
  border-radius: 1px;
  flex-basis: 100%;
}
.controls .alpha .alpha_bar:hover {
  border-width: 2px;
  margin: -1px;
}
.controls .alpha .alpha_bar:active #alpha_value {
  background-color: #222;
}
/* slider style */

#slider_container {
  /*display: inline-block;*/
  padding-left: 20px;
}
.noUi-target {
  width: 150px;
  height: 1px !important;
  box-shadow: none;
  border: 1px solid #bfbfbf;
}
.noUi-handle {
  width: 20px !important;
  height: 20px !important;
  border-radius: 20px !important;
  left: -10px !important;
  top: -10px !important;
  background-color: #bfbfbf !important;
  box-shadow: none !important;
}
.noUi-handle::before,
.noUi-handle::after {
  content: none !important;
}
#node_size_range,
#node_visibility_range,
#label_visibility_unified_range,
#label_size_range,
#label_size_reltonode_range,
.slider_type,
#edge_width_range,
#edge_width_reltoweight_range,
#edge_visibility_unified_range {
  display: inline-block;
  margin-left: 10px;
  margin-bottom: 5px;
}
.inline {
  display: inline-block;
  vertical-align: middle;
}
.colour_square {
  width: 22px;
  height: 22px;
  display: inline-block;
  /*border: 1px solid black;*/
  margin-right: -5px;
}
.inline-items div {
  display: none;
  vertical-align: middle;
}
.colour_chooser div div {
  display: none;
}
.text-box {
  /* Firefox */
  width: -moz-calc(100% - 10px);
  /* WebKit */
  width: -webkit-calc(100% - 10px);
  /* Opera */
  width: -o-calc(100% - 10px);
  /* Standard */
  width: calc(100% - 10px);
  height: 30px;
  background-color: #e1e1e1;
  border: 0;
  font-weight: bold;
  padding: 5px;
}
.text-box-small {
  /* Firefox */
  width: -moz-calc(100% - 30px);
  /* WebKit */
  width: -webkit-calc(100% - 30px);
  /* Opera */
  width: -o-calc(100% - 30px);
  /* Standard */
  width: calc(100% - 30px);
  height: 20px;
  background-color: #e1e1e1;
  border: 0;
  font-weight: bold;
  padding: 5px;
}
.text-box-smaller {
  /* Firefox */
  width: -moz-calc(100% - 70px);
  /* WebKit */
  width: -webkit-calc(100% - 70px);
  /* Opera */
  width: -o-calc(100% - 70px);
  /* Standard */
  width: calc(100% - 70px);
  height: 20px;
  background-color: #e1e1e1;
  border: 0;
  font-weight: bold;
  padding: 5px;
}
.div-padding {
  padding-bottom: 15px;
}
.node_controls,
.label_controls,
.edge_controls,
.frame {
  /*background-color: #fff;*/
  height: 94%;
  padding-top: 2%;
  /*margin-right: 10px;*/

  /*padding-left: 20px;*/

  /*padding-right: 20px;*/

}
svg {
  background-color: #fbfbfb;
}
.control_menu {
  /*height: 2%;*/
  /*margin-top: 10px;*/
  /*padding: 10px;*/
  text-align: center;
}
.restart {
  background-color: #a6bd13 !important;
  border-radius: 5px;
  color: #fff;
}
.NodeColour {
  display: inline-block;
  border-radius: 15px;
  width: 15px;
  height: 15px;
  margin-left: 5px;
}
.control-table tr td {
  vertical-align: middle;
}
.control-table tr {
  height: 30px;
}
.control_menu_table {
  margin: auto;
}
.control_menu_table tr td {
  width: 100px;
  height: 30px;
}
.control_menu_table tr td input[type=button] {
  width: 80px;
  height: 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 3px;
  background: none;
}
.control_menu_table tr td input[type=button]:hover {
  background-color: lightgrey !important;
}
.control_menu_table tr td .btn-active {
  background-color: #e1e1e1 !important;
  font-weight: bold;
}
.img-info {
  width: 12px;
  display: inline-block;
  vertical-align: top;
  padding-top: 4px;
}
.img-share-info {
  width: 12px;
  display: inline-block;
  vertical-align: bottom;
  padding-top: 4px;
  margin-bottom: 4px;
}
.table-aggr-measures {
  border-collapse: collapse;
  font-size: 14px;
}
.table-aggr-measures tr td {
  border: 1px solid gray;
  padding: 5px;
  width: 80px;
}
#dist-description {
  padding-top: 20px;
  padding-bottom: 40px;
}
.control-inline > div {
  display: none;
}
.control-inline:hover div {
  display: inline-block;
}
.control-inline:hover + .control-inline > div {
  display: inline-block;
}
.control-block > div {
  display: none;
}
.control-block:hover div {
  display: block;
}
.control-block:hover + .control-block > div {
  display: block;
}
.node_fill_active,
.node_size_active,
.node_visibility_active,
.label_size_active,
.label_colour_active,
.label_visibility_active,
.edge_width_active,
.edge_colour_active,
.edge_visibility_active {
  display: block !important;
}
#node-fill-tags {
  display: none;
}
.by_node_type_elements {
  display: none;
}
