body {
  font-family: "ff-din-web-pro-1", "ff-din-web-pro-2", "ff-meta-web-pro-1","ff-meta-web-pro-2", "Helvetica Neue", Arial, sans-serif;
  color: #464641;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: #464641;
  border-bottom: 1px dotted #423A3A;
  text-decoration: none;
}

p {
  margin: 0;
}

.small-caps {
  font-size: 0.75em;
}

svg {
  display: block;
  cursor: pointer;
  width: 100%;
  margin: 0 auto;
  fill: white;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
}

.circular-chart-container {
  position: relative;
  margin-bottom: 40px;
}

.hourly-viz, .weekly-hourly-viz {
  position: relative;
  top: 0;
  left: 0;
  height: 290px;
}

.hourly-viz-label {
  position: absolute;
  top: 115px;
  text-align: center;
  width: 280px;
  font-size: 30px;
  color: #777;
}

.hourly-viz svg, .weekly-hourly-viz svg {
  width: 280px;
  height: 360px;
  fill: #999;
  font-size: 11px;
}

.labels.radial {
  fill: #1b1b1b;
}

.hourly-viz path {
  stroke: #FFF;
  stroke-width: 0.5px;
}

.weekly-hourly-viz path {
  stroke: #FFF;
  stroke-width: 0.1px;
}

.hourly-viz path:hover, .weekly-hourly-viz svg  {
  cursor: default;
}

.inline-viz {
  position: relative;
}

.hr-by-location-viz-container {
  margin: 30px 0;
}

.hr-by-location-viz-container .viz-label {
  width: 100%;
}

.hr-by-location-viz {
  position: relative;
  margin: 10px 0 4px;
}

.hr-by-location-viz rect {
  fill: #FF6961;
}

.hr-by-location-viz text {
  fill: #FF6961;
  font-size: 11px;
}

.hr-by-location-viz .yaxis text {
  fill: #999;
}

.line {
  fill: none;
  stroke: #FFF;
  stroke-opacity: 0.8;
  stroke-width: 2px;
}

.axis {
  font-size: 11px;
  font-weight: 200;
  opacity: 0.4;
}

.axis path,
.axis line {
  fill: none;
  stroke: #FFF;
  stroke-opacity: 0.4;
  shape-rendering: crispEdges;
}

.axis .domain {
  stroke-opacity: 0;
}

.cover-image {
  background-color: #A20000;
  background-image: url("../assets/red-blurred-lights.jpg");
  background-size: cover;
  width: 100%;
  height: 480px;
}

.heart-rate-counter {
  position: absolute;
  color: white;
  z-index: 100;
  font-size: 48px;
  left: 20px;
  bottom: 130px;
  line-height: 1.3;
}

.time-stamp {
  font-size: 14px;
}

.timeline-chart-container {
  z-index: 10;
}

.viz-container {
  position: relative;
}

.date-picker-container {
  padding: 15px 20px;
  visibility: hidden;
  position: relative;
}

.highlights {
  position: absolute;
  top: 20px;
  width: calc(100% - 82px);
}

.highlight {
  position: absolute;
  float: left;
  padding: 0 5px;
  font-size: 10px;
  border-bottom: 1px dotted #CCC;
  padding: 4px 8px 6px;
  margin-left: 26px;
  cursor: pointer;
}

.highlight:after {
  content: "";
  display: block;
  height: 26px;
  width: 1px;
  position: absolute;
  border-left: 1px dotted #CCC;
  left: -9px;
  top: 2px;

  transform: rotate(-35deg);
  -ms-transform: rotate(-35deg);
  -webkit-transform: rotate(-35deg);
}


.heatmap {
  position: absolute;
  width: calc(100% - 82px);
  height: 19px;
  list-style: none;
  top: 0;
  left: 42px;
  box-sizing: border-box;
  overflow: hidden;
}

.heatmap li {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
}

.heatmap li.high {
  background-color: #E74949;
}

.heatmap li.low {
  background-color: #3B5DC7;
}

.rangeslider {
  background: rgba(221, 221, 221, 0.5);

  -webkit-box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.2), inset 0px 1px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.2), inset 0px 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.2), inset 0px 1px 3px rgba(0, 0, 0, 0.2);
}

/*.rangeslider__handle {
  height: 20px;
  width: 20px;
  background: transparent;
  border: 12px solid #FFF;
}

.rangeslider__handle:after {
  background-image: none;
  border: 1px solid #CCC;
}
*/

.rangeslider__handle:active {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.05)), color-stop(100%, rgba(0, 0, 0, 0.08)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.08));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.08));
  background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.08));
  background-color: transparent;
}

.rangeslider__fill {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #CCC;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.rangeslider__value-bubble {
  color: white;
  border: 1px solid #ccc;
  display: block;
  padding: 2px;
  position: absolute;
  bottom: 100%;
  margin-bottom: 20px;
  width: 120px;
  margin-left: -50px;
  text-align: center;
  border-radius: 8px;
  font-size: 12px;
}

.rangeslider__value-bubble:before {
    content: "";
    display: block;
    margin: auto;
    width: 1px;
    height: 10px;
    position: absolute;
    left: -30px;
    right: 0;
    top: 23px;
    background-color: #CCC;
  }

.heart-rate {
  display: inline-block;
  min-width: 45px;
}

@-webkit-keyframes breathe {
  50% { -webkit-transform: scale(1.1);}
}
@-moz-keyframes breathe {
  50% { -moz-transform: scale(1.1);}
}
@-o-keyframes breathe {
  50% { -o-transform: scale(1.1);}
}
@keyframes breathe {
  50% { transform: scale(1.1);}
}

.icon-heart {
  font-size: 18px;
  display: inline-block;
  -webkit-animation:breathe 3s infinite;
  -moz-animation: breathe 3s infinite;
  animation:breathe 3s infinite;

}

.content-container {
  padding-top: 80px;
  padding-right: 40px;
  padding-bottom: 60px;
  position: relative;
  float: right;
}

.content {
  -webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  column-count: 2;

  -webkit-column-gap:40px; /* Safari and Chrome */
  -moz-column-gap:40px; /* Firefox */
  column-gap:40px;

  display: inline-block;
  vertical-align: top;
  width: calc(100% - 400px);
  max-width: 900px;
}

.content p {
  margin-bottom: 24px;
}

.sidebar {
  display: inline-block;
  vertical-align: top;
  width: 280px;
  margin-left: 20px;
  margin-right: 80px;
  margin-top: -40px;
}

.inline-viz {
  display: none;
}

h6 {
  font-size: 18px;
  margin-bottom: 6px;
  margin-top: 0;
}

.viz-label {
  font-size: 14px;
  text-align: center;
  color: #999;
  position: relative;
  left: 0;
  width: 280px;
}

.error-face {
  color: white;
  text-align: center;
  width: 100%;
  font-size: 18px;
  position: relative;
  top: 50%;
  margin-top: -14px;
  display: none;
}


.tweet-container {
  border-top: 1px solid #E7E6E6;
  padding-top: 0.5rem;
}

.twitter-tweet-rendered {
  box-shadow: none !important;
  border: 1px solid #EEEEE5 !important;
}

.twitter-tweet {
  margin: 0;
  padding: 10px;
  background-color: white;
  border-radius: 4px;
  border: 1px solid #EEEEE5;
  display: none;
}


@media all and (min-width: 1400px) {
  .sidebar {
    margin-right: 120px;
  }
}
@media all and (max-width: 1300px) {
  .content {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    width: calc(100% - 400px);
    max-width: 800px;
  }
}

@media all and (max-width: 800px) {
  .content {
    width: 100%;
    padding: 20px;
    display: block;
    box-sizing: border-box;
  }

  .sidebar {
    float: right;
    width: 100%;
    margin-right: 0;
    display: none;
  }

  .content-container {
    padding-right: 0;
    padding-top: 20px;
    float: none;
  }

  .hourly-viz {
    width: 100%;
  }

  .hourly-viz-label {
    width: 100%;
    left: 0;
  }

  .viz-label {
    width: 100%;
  }

  .hourly-viz svg {
    position: relative;
  }

  .inline-viz {
    display: block;
    margin: 40px 0;
  }

  .inline-viz .hourly-viz-label {
    top: 115px;
  }
}