/*body {
    display: grid;
    place-items: center;
    font-family: lato;
}*/

.d3-tip {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    /*background: rgba(8, 160, 255, 0.9);*/
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 1px rgba(255, 255, 255, 0.4);
    /*box-shadow: 0px 0px 5px 1px rgba(110, 183, 0, 0.6);*/
    display: none;
    z-index: 9999999 !important;
}

.axisborder {
    fill: none;
    /* stroke: black; */
    stroke-width: 2;
}

.graph-title {
    font-size: 2rem;
    font-weight: bolder;
  /*  margin-top: 25px;*/

}

.title-margin {
    margin-top: 25px;
    margin-bottom: 0px;
    color: #C1A466;
}

.graph-legend rect,
.graph-legend text {
    cursor: pointer;
}

.graph-strike {
    text-decoration: line-through;
    opacity: 0.3;
}

.group-piece .tick text {
    font-size: 13px;
}

.tick text {
    font-size: 1.5rem;
	fill: #635f5d;
}

/*.bargraph-labels .tick text {
    display: none;
}*/

.tick line {
	stroke: #c0c0bb
}

.text-labels{
    font-size: 1.5em;
}

/*.d3-svg-container{
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-bottom: 50px;*/
}
*/
/* Radial Bargraph */

.axisborder {
    fill: none;
    /* stroke: black; 
    stroke-width: 2; */
}

/*.arc {
    transition: all 0.1s linear;
}*/
.arc:hover {
    opacity: 0.7;
}


/* Vertical Bargraph */

rect {
    transition: all 0.1s linear;
}

rect:hover {
    opacity: 0.7;
}

.xLabels {
    font-size: 0.7rem !important;
}

/* Scatterplot */

.scatterLabel {
    font-size: 2.5em;
    fill: #444;
}

.points {
    fill: #01124a;
    opacity: 0.5;
}

.scatterTicks {
    font-size: 1rem;
    transform:  translate(0, 5px) rotateZ(-45deg);
    text-anchor:  end;
}

/* Piechart */

.segment {
    transition: all 0.1s linear;
}
.segment:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Linegraph */

.axis {
	font: 10px sans-serif;
}

.axis path,
.axis line {
  fill: none;
  stroke: #D4D8DA;
  stroke-width: 2px;
  shape-rendering: crispEdges;
}

.line {
  fill: none;
  stroke: #4682b4;
  stroke-width: 2px;
}

.lineTicks {
    font-size: 1rem;
    transform:  translate(0, 5px) rotateZ(-45deg);
    text-anchor:  end;
}

.overlay {
  fill: none;
  pointer-events: all;
}

.focus circle {
  fill: #F1F3F3;
  stroke: #4682b4;
  stroke-width: 5px;
}
  
.hover-line {
  stroke: #4682b4;
  stroke-width: 2px;
  stroke-dasharray: 3,3;
}

.grid line {
  stroke: black;
  stroke-opacity: 0.5;
  shape-rendering: crispEdges;
}

.grid path {
  stroke-width: 0;
}

/* DEMO */

#demo {
  margin-top: 100px;
}

.legendTitle {
  font-size: 1.8rem;
  text-decoration: underline;
}

/* Sunburst */

#sunburst {
  margin-top: 70px;
}

/* areagraph */

.areaTicks {
    font-size: 1rem;
    transform:  translate(0, 5px) rotateZ(-45deg);
    text-anchor:  end;
}

.areaLines {
    pointer-events: all;
    stroke:  #fff !important;
    stroke-width:  100%;
    opacity: 0;
    transition: opacity 0.1s linear;
}

.areaLines:hover {
    opacity:  0.2;
}


/* Legends */

.legend-text {
    font-size: 12px;
    /*cursor: pointer;*/
}

@media screen and (max-width: 600px){
    .legend-text {
        font-size: 7px;
    }
}

.fixed-height {
    min-height:  375px;
}


/* Buttons */

.element-select-button {
    padding: 0.5rem 1rem;
    margin: 0px;
    width: 39%;
    transition: opacity 0.2s linear;
}

.add-button {
    border: 2px solid rgba(120,86,5,0.70);
    border-radius: 3px;
    background-color: #785605;
    color:  white;

}

.reset-button {
    border: 2px solid rgba(35,45,91,0.70);
    border-radius: 3px;
    background-color: #232D5B;
    color:  white;
}

.reset-button:hover,
.add-button:hover {
    opacity: 0.8;
}

.reset-button:active,
.add-button:active {
    transform: scale(0.98);
}

.group-ticks .tick text {
    font-size: 16px;
    transform:  translate(0, 5px) rotateZ(-45deg);
    text-anchor:  end;
}

.verticalYAxis .tick line {
    stroke: rgba(100, 100, 100, 0.2);
}

.verticalXAxis .tick text {
    font-size: 1.2rem;
    transform:  translate(-5px, 5px) rotateZ(-45deg);
    text-anchor:  end;
}

.areaXAxis .tick text {
    font-size: 1.2rem;
    transform:  translate(-5px, 5px) rotateZ(-45deg);
    text-anchor:  end;
}

.areaYAxis .tick text {
    font-size: 1.2rem;
}

.areaYAxis .tick line {
    stroke: rgba(100, 100, 100, 0.2);
}

