body {
	font-family: 'Guardian Text Egyptian Web';
	font-size: 16px;
	line-height: 1.4;
	display: block;
	margin: 0;
	padding: 0;
	color: #333;
	-webkit-font-smoothing: antialiased;
}

a, a:link, a:visited {
	text-decoration: none;
	color: #005689;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6, strong, b {
	font-family: 'Guardian Egyptian Web';
	font-weight: 500;
}

h3 {
	font-family: 'Guardian Egyptian Web', Georgia;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;

	margin: -5px 0px 0px 0;
	padding: 10px 0 0 0;
}

p {
	font-family: 'Guardian Text Sans Web', Helvetica, sans-serif;
	font-size: 14px;
	line-height: 22px;
	margin-top: 5px;
}


/*template styles*/
.gia-chart-wrapper {
	border-top: 2px solid #4bc6df;
	max-width: 620px;
	margin: 0 auto;
}

.gia-source {
	border-top: 1px solid #ccc;
	margin-top: 25px;
	color: #bdbdbd;
	padding: 3px 0;
	font-size: 12px;
	font-family: 'Guardian Text Sans Web',Arial,sans-serif;
}

.actual {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #dcdcdc;
	float: left;
	margin: 12px 3px 0 0;
}

.failures {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #4bc6df;
	float: left;
	margin: 12px 3px 0 0;
}

.equality {
	width: 15px;
	height: 10px;
	border-top: 2px solid #ffbb00;
	float: left;
	margin: 17px 3px 0 0;
}

.keyblock p {
	float: left;
	margin: 10px 0;
}

.keyblock {
	float: left;
	margin-right: 18px;
}

.keyblock:last-of-type {
	margin-right: 0;
}

/*chart styles*/
  .axis line {
    shape-rendering: crispEdges;
  	stroke: #dcdcdc;
    stroke-dasharray: 1, 1;
  }

  .axis text {
    font-family: 'Guardian Text Sans Web',Arial,sans-serif;
    font-size: 12px;
    pointer-events: none;
    fill: #bdbdbd;
  }

  .domain {
    display: none;
  }

  .g-baseline line {
    stroke: #767676;
    stroke-dasharray: 0;
    stroke-width: 1px;
  }  

  .Adamslabel, .Hayeslabel  {
  	font-family: 'Guardian Text Sans Web', Helvetica, sans-serif;
	font-size: 13px;
	text-align: left;
	font-weight: 700;
	text-anchor: start;
  }

   .Trumplabel, .Harrisonlabel, .Bushlabel {
  	font-family: 'Guardian Text Sans Web', Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-align: right;
	text-anchor: end;
  }

  .Wilsonlabel, .Clintonlabel, .Lincolnlabel, .Reaganlabel {
    font-family: 'Guardian Text Sans Web', Helvetica, sans-serif;
  	font-size: 13px;
  	text-align: right;
  	text-anchor: end;
  	fill: #767676;
    }

    .FDRlabel {
      font-family: 'Guardian Text Sans Web', Helvetica, sans-serif;
    	font-size: 13px;
    	text-align: left;
    	text-anchor: start;
    	fill: #767676;
      }

  .popvotelabel, .elecvotelabel {
  	font-family: 'Guardian Text Sans Web', Helvetica, sans-serif;
	font-size: 13px;
	text-align: center;
	text-anchor: middle;
	fill: #767676;
  }

.failed-text, .disparity-text, .equality-text {
	font-weight: 700;
}  

.failed-text::before {
    display: inline-block;
    width:11px;
    height:11px;
    border-radius: 50%;
    content: '';
    background-color: #4bc6df;
    margin: 0 4px;
}

.disparity-text::before {
    display: inline-block;
    width:11px;
    height:11px;
    border-radius: 50%;
    content: '';
    background-color: #dcdcdc;
    margin: 0 4px;
}

.equality-text::before {
    display: inline-block;
    width:15px;
    height:11px;
    content: '';
    border-top: 2px solid #ffbb00;
    position: relative;
    top: 8px;
    margin: 0 4px;
}

  @media(max-width: 500px) {
  	.Wilsonlabel, .Clintonlabel, .Lincolnlabel, .Reaganlabel, .FDRlabel {
  		display: none;
  	}
  }

