body
{
  font-family: Arial, sans-serif;
}

#matrixTable
{
//width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

#matrixTable input[type="checkbox"]
{
  width: 12px;
  margin: 0px;
}

#matrixTable th,
#matrixTable td
{
  border: 1px solid #ddd;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}

#matrixTable th
{
  background-color: #f2f2f2;
}

 .controls
{
  margin: 10px 0;
  background-color: #8BF;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  position: relative;
  white-space: nowrap;
}

.title
{
  position: absolute;
  right: 10px;
  top: 16px;
  color: #FFF;
  font-weight: bold;
  font-size: 24px;
}

.menugrp
{
  display: inline-block;
  border: 1px solid white;
  padding-top: 5px;
  padding-left: 5px;
  padding-bottom: 5px;
  position: relative;
  background: #8BF;
  z-index: 10;
}

.menugrp .menutext
{
  color: white;
  font-size: 10px;
  position: absolute;
  top: -6px;
  left: 2px;
  font-size: 10px;
  font-weight: bold;
  background: #8BF;
  padding-left: 5px;
  padding-right: 5px;
}

button
{
  padding: 5px 10px;
  margin-right: 5px;
}
.control-button
{
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 1.5em;
  padding: 0 5px;
  margin-top: -3px;
  margin-bottom: -3px;
  font-weight: bold;
}

.delete-button
{
  color: #800;
}

#graph
{
  margin-top: 1em;
  display: none;
}

/* Modal styles */
.modal
{
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.propmodal .modal-content
{
  max-height: 400px;
  overflow-y: auto;
}

.property-row
{
  margin-bottom: 10px;
}

.property-row input
{
  margin-right: 5px;
  width: 100px;
}

.property-row button
{
  padding: revert;
}

.propOKCancel
{
  float: right;
  margin-top: -30px;
}

.pathmodal .modal-content
{
  max-height: 400px;
  overflow-y: auto;
}

.pathcontent
{
  height: 80px;
}

.pathOKCancel
{
  float: right;
  margin-top: -30px;
}

.modal-content
{
  background-color: #fefefe;
  margin: 15% auto;
  padding: 5px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
}

.modal-content button
{
  margin-top: 10px;
}

.modal-header
{
  background-color: #5AF;
  margin-top: -5px;
  margin-left: -5px;
  margin-right: -5px;
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 10px;
  color: white;
}

.close
{
  // color: #aaa;
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus
{
  color: black;
  text-decoration: none;
  cursor: pointer;
}

svg
{
  background-color: #F8F8F8;
}

svg text {
  font-size: 11px;
  cursor: default;
}

svg path
{
//  stroke: #B0B0B0;
}

svg path:hover,
.selpath
{
  stroke: red;
  stroke-width: 1.5px;
  marker-end: url(#redarrowhead);
}

#warn
{
  display: none;
  color: red;
  font-weight: bold;
  font-size: 16px;
  margin-top: 1em;
  margin-left: 0.5in;
}

.version
{
  position: absolute;
  right: 8px;
  bottom: 4px;
  color: #FEA;
  font-size: 11px;
  font-weight: bold;
}

.cell-highlight
{
  background-color: #FED;
}

.cell-highlightrow
{
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,240,224,1) 50%, rgba(255,255,255,1) 100%);
}

.cell-highlightcol
{
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,240,224,1) 50%, rgba(255,255,255,1) 100%);
}

.cell-indicator
{
  position: relative;
}

.cell-indicator::after
{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 6px solid #C0C0FF;
  border-left: 6px solid transparent;
  cursor: pointer;
}

.cell-indicator-highlighted
{
  position: relative;
}

.cell-indicator-highlighted::after
{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 6px solid #FF4040;
  border-left: 6px solid transparent;
  cursor: pointer;
}

.cell-title
{
  font-size: 11px;
}

.cell-header
{
  font-size: 11px;
  width: 18px;
  padding: 0 !important;
}

.cell-diagonal
{
  background-color: #F4F4F4;
  font-weight: normal;
  font-size: 24px;
  padding: 0 !important;
  color: #CCC;
}

@media print
{
  .controls
  {
    visibility: hidden;
  }

  .ctlcol
  {
    display: none;
  }

  #graph
  {
    max-width: 100%;
    height: auto;
  }

  .title
  {
    visibility: visible;
    color: black;
    left: 0;
  }

  .cell-diagonal
  {
    background-color: revert;
  }

  .cell-indicator::after
  {
    display: none;
  }

  #graph svg
  {
    max-width: 100%;
    height: auto;
  }
}

/* Help file */

.black_overlay
{
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}

.white_content
{
    display: none;
    position: fixed;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    max-height: 400px;
    padding: 16px;
    border: 2px solid #3631BD;
    background-color: white;
    z-index: 1002;
    overflow: auto;
    padding-bottom: 50px;
}

@media only screen and (max-width: 600px) {
 .white_content
 {
    top: revert;
    left: revert;
    width: revert;
    height: 80%;
    max-height: revert;
    margin-right: 10px;
    border: revert;
 }
}

