body,
html {
  min-height: 100%;
}

body {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  color: #222;
  font-size: 17px;
  background-color: #fafafa;
  line-height: 160%;
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 26px 0;
  line-height: 26px;
}

a {
  color: #428bca;
  text-decoration: underline;
}

a:focus,
a:hover {
  color: #2a6496;
  text-decoration: underline;
}

.main {
  background: #fff;
  margin-bottom: 30px;
}

iframe,
img {
  max-width: 100%;
  margin: auto;
}
@media (min-width: 650px) {
  img[style='float: right;'],
  img[style='float: left;'] {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  img[style='float: right;'] {
    float: left;
    padding-left: 15px;
  }
  img[style='float: left;'] {
    padding-right: 15px;
  }
}
@media (max-width: 650px) {
  img[style='float: right;'],
  img[style='float: left;'] {
    float: none !important;
  }
}

.container {
  max-width: 100%;
}

.content {
  width: 900px;
  display: block;
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 100%;
  margin: auto;
}

footer {
  text-align: center;
  bottom: 0;
  width: 100%;
  height: auto;
  font-size: 18px;
  padding: 30px 0;
  background: #0b2b43;
}

.btn-facebook,
.btn-github,
.btn-google,
.btn-linkedin,
.btn-twitter {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-repeat: repeat-x;
  filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
}

iframe,
img {
  display: table;
}

h2,
h3 {
  display: block;
  width: 100%;
  clear: both;
}
.img-left {
  float: left;
  padding: 15px 15px 15px 0px;
}
.img-right {
  float: right;
  padding: 15px 0px 15px 15px;
}

ul {
  margin: 16px 0;
  padding-left: 20px;
}

ul > li {
  width: auto;
  text-align: left;
  font-weight: 500;
}

ul > li span {
  font-weight: 300;
}

h1 {
  padding: 0px;
  margin: 0px;
  display: block;
}

h2 {
  font-size: 26px;
  font-style: normal;
}

h1.normal,
h2.normal,
h3.normal,
h4.normal,
h5.normal,
h6.normal {
  letter-spacing: 0;
  text-transform: capitalize;
}

@media (min-width: 1230px) {
  .container {
    width: 1200px;
  }
}

@media (max-width: 992px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: auto;
  }
  h2 {
    font-size: 23px;
  }
  article {
    width: auto;
    margin: 0 25px;
  }
  article.intro,
  article:first-child {
    padding-top: 15px;
  }
}

@media (min-width: 980px) {
  .addthis-smartlayers-mobile {
    display: none !important;
  }
}

@media (max-width: 520px) {
  body {
    background-color: white;
  }
  .main {
    width: auto;
    background-color: transparent;
    margin-bottom: 0;
  }
  article {
    width: auto;
    margin: 0 20px;
  }
  article.intro,
  article:first-child {
    padding-top: 15px;
  }
  p {
    font-size: 16px;
  }
}

a,
p,
li {
  white-space: normal;
  word-wrap: break-word;
}

ul > li a {
  white-space: normal;
  word-wrap: break-word;
}

.main img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}

ul > li span {
  font-weight: inherit;
}

.addthis-animated {
  text-align: center !important;
}

@media (max-width: 690px) {
  .h1,
  h1 {
    font-size: 30px;
  }
}

/* INTERACTIVE CSS ---------------------------------------------------*/

#app1 {
  margin: 12px auto;
  padding: 12px;
  max-width: 800px;
  border-radius: 4px;
  box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.1),
    0 3px 1px 0 rgba(20, 23, 28, 0.1);
}

#USMap1 {
  position: relative;
  height: 410px;
  width: 100%;
  margin-top: 18px;
  border-radius: 8px;
}

@media only screen and (max-width: 700px) {
  #USMap1 {
    height: 300px;
  }
}

#app1 .controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

@media only screen and (max-width: 700px) {
  #app1 .controls__text {
    margin-bottom: 8px;
  }
}

#app1 .controls__text {
  text-align: center;
  font-size: 16px;
}

#app1 .controls__select {
  margin-left: 6px;
}

#app1 button {
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#app1 .tooltip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10px 10px 10px;
}

#app1 .tooltip__percent {
  font-size: 28px;
  font-weight: 700;
}

#app1 .tooltip__text {
  font-size: 16px;
}

/* APP2-------------------------------------------------------- */

#app2 {
  margin: 12px auto;
  padding: 12px;
  max-width: 800px;
  border-radius: 4px;
  box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.1),
    0 3px 1px 0 rgba(20, 23, 28, 0.1);
}

#USMap2 {
  position: relative;
  height: 410px;
  width: 100%;
  margin-top: 18px;
  border-radius: 8px;
}

@media only screen and (max-width: 700px) {
  #USMap2 {
    height: 300px;
  }
}

#app2 .controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#app2 .controls__text {
  text-align: center;
  font-size: 16px;
}

#app2 .controls__select {
  margin: 0 6px;
}

#app2 button {
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#app2 .button {
  transition: all 0.15s ease;
}

#app2 .explanation {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

#app2 .crime-tooltip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px 10px 10px;
}

#app2 .crime-tooltip__percent {
  font-size: 28px;
  font-weight: 700;
}

#app2 .crime-tooltip__text {
  text-align: center;
  font-size: 16px;
}

#app2 .crime-tooltip__divider {
  height: 2px;
  width: 90%;
  background-color: #dadada;
  margin: 12px 0;
}

#app2 .disaster-tooltip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px 10px 10px;
}

#app2 .disaster-tooltip__percent {
  font-size: 28px;
  font-weight: 700;
}

#app2 .disaster-tooltip__text {
  text-align: center;
  font-size: 16px;
}

#app2 .item-tooltip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px 10px 10px;
}

#app2 .item-tooltip__percent {
  font-size: 28px;
  font-weight: 700;
}

#app2 .item-tooltip__text {
  text-align: center;
  font-size: 16px;
}

#app2 .item-tooltip__category {
  font-size: 18px;
  font-weight: 700;
}

/* COMPONENT STYLING */

.dropdown-menu {
  z-index: 1100;
}

.modal {
  z-index: 9999 !important;
}

.leaflet-tooltip {
  white-space: normal !important;
  width: 370px;
}

.legend {
  position: absolute;
  bottom: 22px;
  right: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 135px;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 500;
}

.legend__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  padding: 4px 4px 4px 8px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.legend__title:hover {
  background-color: rgb(235, 235, 235);
}

.legend__content {
  max-height: 150px;
  overflow: hidden;
  -webkit-transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 500ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.legend-icon {
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition-delay: 0.2s;
}

.legend-icon.up {
  transform: rotate(180deg);
}

.is-closed {
  max-height: 0;
  margin-top: -4px;
}

.legend__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
}

.row-key {
  height: 24px;
  width: 24px;
  background: blue;
}

.row-label {
  font-size: 13px;
}

/* VUE ANIMATIONS */

.drop-fade-enter-active {
  transition: all 0.45s ease;
}
.drop-fade-leave-active {
  transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
}
.drop-fade-enter, .drop-fade-leave-to
  /* .slide-fade-leave-active below version 2.1.8 */ {
  transform: translateY(10px);
  opacity: 0;
}

.flip-enter-active {
  transition: all 0.3s ease;
}
.flip-leave-active {
  transition: all 0.3s ease;
}
.flip-enter
  /* .slide-fade-leave-active below version 2.1.8 */ {
  transform: rotate(180deg);
}

a.dropdown-item {
  text-decoration: none !important;
}

@media (max-width: 650px) {
  .table {
    font-size: 13px !important;
  }
}
