@charset  "utf-8";

@font-face {
    font-family: "Merriweather Extra Bold";
    src: url(../fonts/MerriweatherSans-ExtraBold-webfont.ttf) format("truetype");
}

@font-face {
    font-family: "Merriweather Bold";
    src: url(../fonts/merriweathersans-bold-webfont.ttf) format("truetype");
}

@font-face {
    font-family: "Merriweather Light";
    src: url(../fonts/merriweathersans-light-webfont.ttf) format("truetype");
}

@font-face {
    font-family: "Merriweather Regular";
    src: url(../fonts/merriweathersans-regular-webfont.ttf) format("truetype");
}

* {
    margin: 0;
    padding: 0;
}

#viz_container {
    width: 100%;
    display: block;
}

.casualties {
    left: 0;
    width: 100%;
    height: 80px;
}

.casualty_box {
  width: 80%;
  max-width: 360px;
  height: 80px;
  margin-bottom: 10px;
  margin: 0 auto;
}

.casualty_box_left {
    width: 50%;
    height: 80px;
    float: left;
}

.casualty_box_right {
    width: 50%;
    height: 80px;
    float: right;
}

.non_fatal {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: red;
    color: #fff;
    font-family: "Merriweather Bold",arial;
    font-size: 2em;
}

.pez_close {
  width: 40px;
  height: 40px;
  cursor: pointer;
  background-image: url(../images/closeButton.png.png);
}

.fatal {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    margin: 0 auto;
    font-family: "Merriweather Bold",arial;
    font-size: 2em;
}

.legend-text {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-size: 11px;
    font-family: "Merriweather Bold",arial;
}

#viz_title em {
    font-family: "Merriweather Light",arial;
    color: #777;
    font-style: normal;
}

/* headlines with lines */
.decorated {
    overflow: hidden;
    text-align: center;
}

.decorated > span {
    position: relative;
    display: inline-block;
}

.decorated > span:before,.decorated > span:after {
    content: '';
    position: absolute;
    top: 50%;
    border-bottom: 1px solid;
    border-color: #777;
    width: 592px;
    margin: 0 20px;
}

.decorated > span:before {
    right: 100%;
}

.decorated > span:after {
    left: 100%;
}

#viz_top {
    font-family: "Merriweather Regular",arial;
    font-size: .9em;
}

.transformors {
    font-family: "Merriweather Bold",arial;
}

.viz_fatal {
    margin-bottom: 20px;
}

.viz_description {
    margin-bottom: 20px;
}

.viz_weapon {
    width: 202px;
    height: 94px;
    margin-right: auto;
    margin-left: auto;
    background-image: url(../images/placeholder.png);
    margin-top: 20px;
}

.viz_url a {
    font-family: "Merriweather Bold",arial;
    color: #0078A8;
}

.viz_url a:hover {
    color: red;
}

#map {
    width: 100%;
    height: 500px;
    max-height: 420px;
    margin-top: 0;
}

.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large {
    background-color: rgba(255,110,31,0.4);
}

.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div {
    background-color: rgba(255,110,31,0.4);
}

.marker-cluster {
    background-clip: padding-box;
    border-radius: 20px;
}

.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue",Arial,Helvetica,sans-serif;
    color: #fff;
}

.marker-cluster span {
    line-height: 30px;
}

.viz_calendar {
    text-align: center;
    text-transform: uppercase;
    font-family: "Merriweather Regular",arial;
    font-size: .8em;
    position: relative;
    width: calc(99% / 4);
    float: left;
    line-height: 30px;
    text-align: center;
    box-sizing: border-box;
}

.viz_weapon_label {
    font-family: "Merriweather Extra Bold",arial;
}

#viz_topcat {
    overflow: hidden;
}

.map-shell {
    height: 420px;
    width: 100%;
    position: relative;
}

.centre-btn,.centre-btn span {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.centre-btn {
    background: rgba(0,0,0,0.25);
    position: absolute;
    z-index: 90;
    top: 10px;
    right: 10px;
    padding: 4px 5px 7px;
}

.centre-btn span {
    background: #ebebeb;
    font-family: "Merriweather Bold",arial;
    font-size: 11px;
    color: #000;
    padding: 3px 5px 2px;
}

.centre-btn span:hover {
    background: #FFF;
}

#viz_credits {
    margin-top: 20px;
}

#viz_box {
    width: 100%;
}

.viz_address,.viz_fatal,.viz_coverage,.viz_url {
    text-align: right !important;
}

.viz_weapon_used {
    text-align: center;
    text-transform: uppercase;
    margin-top: -100px;
}

.viz_weapon_label {
    text-align: center;
    text-transform: uppercase;
    margin-top: 55px;
}

.viz_close {
    display: none;
}

#viz_title h3 {
    font-family: "Merriweather Bold",arial;
    font-size: 1.2em;
}

#viz_dates {
    font: 10px sans-serif;
}

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

.bar {
    fill: #4682b4;
}

.x.axis path {
    display: none;
}

#viz_title {
    width: 100%;
    max-width: 940px;
    display: block;
    text-align: center;
    line-height: 1.4em;
    margin-top: 10px;
    margin-bottom: 20px;
}

#viz_box {
    max-width: 940px;
    margin: 0 auto;
}

#viz_dates {
    width: 100%;
    max-width: 940px;
}

#viz_credits {
    display: block;
    width: 100%;
    max-width: 940px;
    margin-top: 10px;
    font-family: "Merriweather Light",arial;
}

#viz_date_title {
    width: 90%;
    max-width: 940px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Merriweather Regular",arial;
    font-size: .8em;
    margin-bottom: auto 0;
}

#viz_date_labels {
    width: 100%;
    max-width: 940px;
    height: 30px;
    line-height: 30px;
}

small {
  font-size: 0.8em;
}

@media screen and (max-width: 619px) {
  #viz_top {
      width: 90%;
      margin: 0 auto;
  }
  .viz_half {
      width: 100%;
      float: left;
  }
  #viz_dates {
      display: none;
  }
  .viz_address, .viz_fatal, .viz_url {
      text-align: center!important;
  }
}

@media screen and (min-width: 620px) and (max-width: 940px) {
  #viz_top {
      width: 90%;
      margin: 0 auto;
  }
  .viz_half {
      width: 45%;
      float: left;
  }
  .viz_half:nth-child(2) {
      float: right;
  }
}

@media screen and (min-width: 941px) {
  #viz_top {
      width: 100%;
      max-width: 940px;
      display: inline-block;
  }
  .viz_half {
      width: 45%;
      float: left;
  }
  .viz_half:nth-child(2) {
      float: right;
  }
}
