body {
  font: 10px sans-serif;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.bar {
  fill: steelblue;
}

.x.axis path {
  display: none;
}

.tooltip {
  position: relative;
  display: inline-block;
  /*border-bottom: 1px dotted grey;*/
}

.text {
  position: absolute;
  text-align: left;
  width: 250px;
  color: white;
  min-height: 40px;
  max-height: 100%;
  padding: 60px;
  font: 8px sans-serif;
  background: silver;
  border: 5px;
  border-color: black;
  border-radius: 8px;
  pointer-events: none;
}


.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: grey;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -30px;
}

.tooltip .tooltip-info-text {
    visibility: hidden;
    width: 300px;
    background-color: grey;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    font-size: 15px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0%;
    margin-left: 0px;
}

.tooltip:hover .tooltiptext  {
    visibility: visible;
}

.tooltip:hover .tooltip-info-text  {
    visibility: visible;
}

label {
  cursor: pointer;
}

textarea {
  width: 400px;
  height: 150px;
}

.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #dedede;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 8px;
  font-size: 1.5em;
}

/* The Close Button */
#close-modal {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#close-modal:hover,
#close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

select {
  height: 26px;
  border-radius: 4px;
  border-color: #aaaaaa;
}

.grid-container {
  display: grid;
  grid-gap: 10px 10px;
  grid-template-columns: auto auto auto auto auto auto auto;
  background-color: #bfb899;
  padding: 10px;
  border-radius: 4px; 
}

.grid-item {
  background-color: #f5f3e9;
  border: 1px solid #a6936c;
  padding: 20px;
  /*font-size: 30px;*/
  /*text-align: center;*/
  border-radius: 4px;
}

.grid-item.tac {
  text-align: center;
}

.grid-item > .filter-container > .tooltip {
  text-align: center;
  width: 100%;
  display: inline-block;
}

.filter-container {
  width: 125px;
  margin: 0 auto
}

#funnel-checkbox {
  margin: 0px 1px 0px 1px;
  height: 10px;
}

.tooltip, .yr-chk {
  font-size: 1.5em;
  margin: 0 auto;
}

.ms-parent {
  text-align: left;
}
