/** Default Class Prefix **/
.ED_Stacked_Bar_Chart {
    color: #000000;
}

.ED_Stacked_Bar_Chart pre{
  font-size: 16px;
  line-height: 20px;
}

/** Light Theme Class Prefix **/
.mojo-theme-light .ED_Stacked_Bar_Chart {
    color: #111111;
}

/** Dark Theme Class Prefix **/
.mojo-theme-dark .ED_Stacked_Bar_Chart {
    color: #FFFFFF;
}

/**************************
* Tool Tip Styles
***************************/

.ED_Stacked_Bar_Chart .d3tooltip {
  position: absolute;
  padding: 8px;

  z-index: 10000;

  color: #FFF;
  background-color: #333;
  border: none;

  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;

  white-space: nowrap;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.ED_Stacked_Bar_Chart .graph {

}

.ED_Stacked_Bar_Chart .d3tooltip h4 {
  margin: 0;
  padding-bottom: 6px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: bold;
}

.ED_Stacked_Bar_Chart .d3tooltip p {
  margin: 0;
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 300;
}

.ED_Stacked_Bar_Chart .d3tooltip-pending-removal {
  position: absolute;
  pointer-events: none;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-down:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 8px 0;
  border-color: #333 transparent;
  display: block;
  width: 0;
  z-index: 1;
  margin-left: -8px;
  bottom: -8px;
  left: 50%;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-up:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 0 8px 8px;
  border-color: #333 transparent;
  display: block;
  width: 0;
  z-index: 1;
  margin-left: -8px;
  top: -8px;
  left: 50%;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-left:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 8px 8px 0;
  border-color: transparent #333;
  display: block;
  width: 0;
  z-index: 1;
  margin-top: -8px;
  left: -7px;
  top: 50%;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-right:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent #333;
  display: block;
  width: 0;
  z-index: 1;
  margin-top: -8px;
  right: -7px;
  top: 50%;
}

.ED_Stacked_Bar_Chart svg {
  font: 10px sans-serif;
  shape-rendering: crispEdges;
}

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

.ED_Stacked_Bar_Chart path.domain {
  stroke: none;
}

.ED_Stacked_Bar_Chart .y .tick line {
  stroke: #ddd;}


.ED_Stacked_Bar_Chart text {
  font: 10px sans-serif;
  text-anchor: end;
}



.ED_Stacked_Bar_Chart .d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */
.ED_Stacked_Bar_Chart .d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  position: absolute;
  text-align: center;
}



.ED_Stacked_Bar_Chart .legend
{
border: 2px solid red;
}


/**************************
* Tool Tip Styles
***************************/

.ED_Stacked_Bar_Chart .d3tooltip {
  position: absolute;
  padding: 8px;

  z-index: 10000;

  color: #FFF;
  background-color: #333;
  border: none;

  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;

  white-space: nowrap;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.ED_Stacked_Bar_Chart .d3tooltip h4 {
  margin: 0;
  padding-bottom: 6px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: bold;
}

.ED_Stacked_Bar_Chart .d3tooltip p {
  margin: 0;
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 300;
}

.ED_Stacked_Bar_Chart .d3tooltip-pending-removal {
  position: absolute;
  pointer-events: none;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-down:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 8px 0;
  border-color: #333 transparent;
  display: block;
  width: 0;
  z-index: 1;
  margin-left: -8px;
  bottom: -8px;
  left: 50%;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-up:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 0 8px 8px;
  border-color: #333 transparent;
  display: block;
  width: 0;
  z-index: 1;
  margin-left: -8px;
  top: -8px;
  left: 50%;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-left:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 8px 8px 0;
  border-color: transparent #333;
  display: block;
  width: 0;
  z-index: 1;
  margin-top: -8px;
  left: -7px;
  top: 50%;
}

.ED_Stacked_Bar_Chart .arrow-tooltip-right:not(.no-arrow):after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent #333;
  display: block;
  width: 0;
  z-index: 1;
  margin-top: -8px;
  right: -7px;
  top: 50%;
}

.mojo-theme-dark .ED_Stacked_Bar_Chart .d3tooltip {
  color: #444;
  background-color: #f1f1f1;
}

.mojo-theme-dark .ED_Stacked_Bar_Chart .arrow-tooltip-down:not(.no-arrow):after,
.mojo-theme-dark .ED_Stacked_Bar_Chart .arrow-tooltip-up:not(.no-arrow):after {
  border-color: #f1f1f1 transparent;
}

.mojo-theme-dark .ED_Stacked_Bar_Chart .arrow-tooltip-left:not(.no-arrow):after,
.mojo-theme-dark .ED_Stacked_Bar_Chart .arrow-tooltip-right:not(.no-arrow):after {
  border-color: transparent #f1f1f1;
}

