html {
    width: 100%;
    max-width: 650px;
    min-width: 360px;
}

body {
    width: 95%;
    position: relative;
}

@media(max-device-width: 650px) {
    #toggleSettingsButtons a i {
        display: none;
    }
}



td, th, text, label, a {
    font-family:  "UnitRoundedWebPro-Light",sans-serif;
}

#barometerGuteArbeit th, #barometerGuteArbeit td, #barometerGuteArbeit label, #barometerGuteArbeit a {
    font-size: 13px;
}

#barometerGuteArbeit td, #barometerGuteArbeit th, #barometerGuteArbeit label, #barometerGuteArbeit text {
    color: #4b647d;
}

#barometerGuteArbeit text {
    font-size: 11px;
}

#toggleSettingsButtons a {
    padding-right: 10px;
    padding-left: 15px;
    width: 32.5%;
}

#toggleSettingsButtons a {
    margin-right: 0;
}

#svgElement {
    border: 2px solid #4b647d;
    position: relative;
    top: 20px;
}

.bar:hover {
    fill: grey;
}

.axis {
    font-size: 10px;    
}


#yAxis path, #yAxis line {
  display: none;
}

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

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

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  position: absolute;
  pointer-events: none;
}

/* Northward tooltips */
.d3-tip.n:after {
  content: "\25BC";
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
  text-align: center;
}

#checkboxes{
    z-index: 3;
    position: absolute;
    background-color: white;
    right: 2px;
    top: 45px;
    border: 1px solid #b2b2b2;
    width: 300px;
    padding-left: 15px;
    padding-right: 30px;
    max-height: 700px;
    overflow-y: auto;
    padding-top: 10px;
}

#barometerGuteArbeit .tiny-btn {
    font-size: 12px;
    padding: 1px 4px;
    text-transform: none;
    height: auto;
    line-height: 1.5;
    position: relative;
    float: right;
    margin-top: 0px;
    right: -20px;
    background-color: #697d91;
    
}

#checkboxes .btn-mini {
    position: absolute;
    right: -20px;
    top: 0;
    width: 20px;
    height: 20px;
}

#checkboxes .btn-mini i{
    font-size: 16px;
    position: absolute;
    top: -9px;
    background-color: white;
    color: black;
}

#checkboxes [type="checkbox"].filled-in:checked+label:after {
    background-color: #697d91;
    border-color: #697d91;
}

#checkboxes li ul li{
    position: relative;
    padding-left: 25px;
}

#checkboxes ul li ul li ul{
    display: none;
}

#filter_groups, #voreinstellungen {
    position: absolute;
    top: 45px;
    background-color: white;
    z-index: 2;
    width: 32.5%;
    min-width: 180px;
}

#voreinstellungen {
    left: 1%;
}

#filter_groups {
    left: 34%;
}

#filter_groups table, #voreinstellungen table {
    border: 1px solid #b2b2b2;
}

.legendText {
    fill: red;
    text-anchor: end !important;
}

#toggleSettingsButtons{
    position: relative;
    background-color: white;
    top: 5px;
    left: 5px;
}

#toggleSettingsButtons a {
    text-transform: none;
    background-color: #697d91;
}



