@import url(https://cdn.theatlantic.com/assets/static/common/fonts/proxima-nova.css);
@import url(https://cdn.theatlantic.com/assets/static/common/fonts/lyon.css);

body {
  background-color: #f8f8f8;
  font-family: Proxima Nova, sans-serif;

  padding: 15px 10px;
  margin: 0px;
}

.title {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 1em;
  margin-bottom: 10px;
}

.text {
  font-size: 18px;
  font-weight: 400;
  max-width: 550px;
  margin: auto;
  line-height: 1.2em;
}

.footer .footer-tag {
	font-family: Proxima Nova, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
}

.footer {
	padding-top: 7px;
	border-bottom: 1px #ccc solid;
	padding-bottom: 2px;
	width: 95%;
  margin: auto;
}

.logo {
	background-image: url("https://s3.amazonaws.com/the-atlantic/assets/logo-gray.svg");
  	background-size: contain;
	float:left;
	margin-top:5px;
}

.footer a {
  color: inherit;
}


.source, .notes {
	font-size: 9pt;
	font-weight: 300;
	text-align: right;
	color: #999;
	margin-top: 5px;
	padding-top: 7px;
	font-family: "Proxima Sans", sans-serif;
}

.notes {
	max-width: 310px;
	width: 90%;
	float: right;
}




#charts {
  max-width: 900px;
  margin: 20px auto 0px;
}


.year {
  vertical-align: top;
  position: relative;
  margin-bottom: 20px;
  display: block;
}

.container {
  position: relative;
}

.day {
  width: 1.90%;
  background-color: #eee;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  border-right: 2px solid #f8f8f8;
  border-bottom: 2px solid #f8f8f8;
  position: absolute;
}

.border-bottom:after {
  content: " ";
  position: absolute;
  width: calc(100% + 2px);
  bottom: -2px;
  left: -1px;
  background-color: #333;
  height: 2px;
}



.border-right:before {
  content: " ";
  position: absolute;
  height: calc(100% + 2px);
  right: -2px;
  top: -1px;
  background-color: #333;
  width: 2px;
  
}

.dateLabels {
  position: absolute;
  top: 0;
}

.dateLabel {
  display: inline-block;
  font-size: 12px;
  text-align: center;
  font-family: Proxima Nova, sans-serif;
  font-weight: 300;
  position: relative;
  left: 5px;  

}

  .year:first-child .dateLabel {
    display: inline-block
    ;
  }

.weekLabels {
  position: absolute;
  left: 0;
}

.weekLabel {
  font-family; "Proxima Nova", sans-serif;
  font-size: 12px;
  text-align: right;
  font-weight: 300;
}

#hover {
  position: absolute;
  width: 300px;
  font-size: 12px;
  background-color: rgba(255,255,255,1);
  padding: 5px;
  border: 1px solid #666;
}

#hover .time {
  font-weight: 600;
  margin-bottom: 3px;
}

#hover .text {
  font-size: 12px;
}

#hover.hidden {
  display: none;
}

.yearTitle {
  width: 100%;
  font-weight: bold;
  text-align: center;
}



  @media screen and (max-width: 599px) {
    .weekLabel { display: none; }
    .dateLabel { font-size: 10px; }
  }
