/*
 * This file is part of pygal
 *
 * A python svg graph plotting library
 * Copyright © 2012 Kozea

 * This library is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with pygal. If not, see <http://www.gnu.org/licenses/>.
*/

text.no_data {
  text-anchor: middle;
}

.guide.line {
  fill-opacity: 0;
}

.centered {
  text-anchor: middle;
}

.title {
  text-anchor: middle;
}

.legends .legend text {
  fill-opacity: 1;
}

.axis.x text {
  text-anchor: middle;
}

.axis.x:not(.web) text[transform] {
  text-anchor: start;
}

.axis.y text {
  text-anchor: end;
}

.axis.y .logarithmic text:not(.major) {
  font-size: 50%;
}

.axis .guide.line {
  stroke-dasharray: 4,4;
}

.axis .major.line {
  stroke-dasharray: 6,6;
}
.axis text.major {
  stroke-width: 0.5px;
}

.horizontal .axis.y .guide.line,
.vertical .axis.x .guide.line {
  opacity: 0;
}

.axis.y .guides:hover .guide.line,
.line-graph .axis.x .guides:hover .guide.line,
.gauge-graph .axis.x .guides:hover .guide.line,
.stackedline-graph .axis.x .guides:hover .guide.line,
.xy-graph .axis.x .guides:hover .guide.line {
  opacity: 1;
}

.axis .guides:hover text {
  opacity: 1;
}

.nofill {
  fill: none;
}

.dot {
  stroke-width: 1px;
  fill-opacity: 1;
}

.dot.active {
  stroke-width: 5px;
}

.series text {
  stroke: none;
}

.series text.active {
  opacity: 1;
}

#tooltip rect {
  fill-opacity: 0.8;
}

#tooltip text {
  fill-opacity: 1;
}

#tooltip text tspan.label {
  fill-opacity: .8;
}

a:visited {
  fill: none;
}
