body {
  font-size: 14px;
  background-color: #f3f3f3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .navbar-nav, p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.data-section {
    /* margin-top: 4em; */
}

#data-container {
}

#data-container h2{
  margin-top: 15px;
}

.with-divider {
    border-top: 1px solid black;
    padding-top: 15px;
    margin-top: 45px;
}

.content {
  padding: 15px;
}

h2 {
    font-size: 1.3rem;
}

h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: bold;
  line-height: 1.5;
  font-size: 1rem;
}

.data-section-chart {
    position: relative;
}

.data-section .page-header h1 {
    padding: 2rem 0 0 0;
    font-size: 2rem;
}

#page-subtitle {
  padding: 0 0 2rem 0;
}

.unit-marker {
    margin-left: 1em;
}

.graphic-number {
    font-size: 2.126rem;
    text-align: center;
    color: #c30010;
}

.graphic-number-smaller {
  font-size: 1.5rem;
  text-align: left;
  color: #c30010;
}

.dataTables_wrapper>.row>.col-md-5 {
    display: none;
    width: 0;
}

.table-container {
  width: 100%;
}

#carousel-container table {
  table-layout: fixed;
  width: 100%;
}

#carousel-container thead th.hashtag-cell {
  width: 70%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#carousel-container .tweets-cell {
  width: 30%;
  text-align: right;
}

#carousel-container ol.carousel-indicators {
  top: 0;
  bottom: auto;
}

.carousel-item-content {
  margin-top: 39px;
}

/* NAVBAR */

#main-nav {
  background-color: #151515 !important;
  border-bottom: 4px solid #c30010;
}

.navbar-brand {
  width: 50%;
}

#main-nav img {
  max-height: 4em;
  max-width: 100%;
}

#main-title {
  padding: 0;
}

/* GRID */

#main-container {
  padding: 15px;
}

.row {
  padding: 0;
}

.col {
  padding: 0;
}

.card {
  margin: 7px;
}

.card-header {
  font-size: 1.3rem;
  font-weight: bold;
}

#grand-total {
  padding: 15px;
  background-color: #151515;
  color: white;
  display: inline-block;
  border-radius: 4px;
}

/* TWEETS */

.twitter-tweet {
    margin: 0 !important;
}

blockquote.twitter-tweet {
    display: inline-block;
    font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 16px !important;
    font-style: normal;
    border-color: #eee #ddd #bbb;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    padding: 16px 16px 16px 16px;
    max-width: 468px;
    margin: 0;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  
  blockquote.twitter-tweet p {
    font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif !important;
    font-size: 16px;
    font-weight: normal;
    line-height: 20px;
  }
  
  blockquote.twitter-tweet a {
    color: inherit;
    font-weight: normal;
    text-decoration: none;
    outline: 0 none;
  }
  
  blockquote.twitter-tweet a:hover,
  blockquote.twitter-tweet a:focus {
    text-decoration: underline;
  }

/* Loader */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #4582ec;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }

/* Tooltips */

h3 {
  position: relative;
}

.has-tooltip {
  text-decoration: underline dotted #868e96;
  position: relative;
  cursor: pointer;
}

.has-tooltip:before{
  content: '';
/*  background:url('/images/info.png'); */
  background-size:cover;
      position:absolute;
  width:0.8em;
  height:0.8em;
  margin-top: 0.3em;
}

.question-right {
  /* float: right; */
  margin-top: 0.2em;
}

.tooltip {
  background: black;
  padding: 3px 7px 5px 7px;
  border-radius: 3px;
  color: white;
  max-width: 300px;
  position: absolute;
  left: 0;
  pointer-events: none;
  margin-left:25px;
}

h2 .tooltip {
  right: 0;
}

h1:hover .tooltip, h3:hover .tooltip, h2:hover .tooltip, h6:hover .tooltip {
  opacity: 1;
}

.dropdown {
  display: inline;
  height: 1em;
}

.dropdown .btn {
  background-color: #151515;
  border: none;
  margin-bottom: 0.5rem;
}

.disclosure-icon {
  margin: 0;
  text-align: center;
}

.disclosure-icon.red {
  color: #c30010;
}

.disclosure-icon.green {
  color: forestgreen;
}

.disclosure-icon.orange {
  color: rgb(255, 144, 41);
}

.disclosure-icon .tooltip {
  width: 300px;
}

/* Timeline */

.placeholder {
  width: 70%;
  height: 361px;
  margin: 0 15% 39px 15%;
  overflow: hidden;
}

.carousel-item-content {
  height: 100%;
}

.placeholder .row {
  max-height: 100%;
  overflow: auto;
}

.carousel p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.930125rem;
  margin-bottom: 8px;
}

.carousel-control-next,
.carousel-control-prev, .carousel-indicators {
    filter: invert(100%);
}

#timeline-chart {
  width: 100%;
}

#timeseries-highlight-region {
  fill: #c30010;
  opacity: 0.6;
  cursor: pointer;
}

#timeline-container {
  position: relative;
  height: 100%;
  overflow: hidden;
  margin-bottom: 8px;
}

#timeline {
  width: 100%;
  overflow-x: hidden;
  white-space: nowrap;
  position: inherit;
  height: 100%;
  box-sizing: content-box;
}

.timeline-button {
  font-size: 30px;
  color: white;
  height: 100%;
  width: 60px;
  border: 0;
  position: absolute;
  background: #4582ec;
  opacity: 50%;
}

#timeline-left-button {
  top: 0;
  left: 0;
}

.timeline-button-space {
  width: 150px;
  display: inline-block;
  padding: 0;
}

button:focus {
  border: 0;
}

button::-moz-focus-inner {
  border: 0;
}

#timeline-right-button {
  top: 0;
  right: 0;
}

#timeline-inner {
  display: inline-block;
}

.day-container {
  display: inline-block;
  margin: 10px 20px;
  border: 1px solid rgb(204, 214, 221);
  border-radius: 15px;
  padding: 20px;
  white-space: normal;
}

.day-content-wrapper {
  display: flex;
}

.day-content-wrapper>div:not(:last-child) {
  padding-right: 15px;
}

.day-retweet {
  margin-right: 25px;
}

.tweet-holder {
  width: 255px;
}

.day-headline p {
  width: 300px;
  white-space: normal;
}


.timeline .css-1dbjc4n {
  max-height: 200px;
  overflow: auto;
}

.timeline-link-title {
  margin-bottom: 0.2rem;
  font-weight: bold;
}

.day-container h3 {
  margin-bottom: 0.8rem;
}

.download-icon {
  font-size: 0.8em;
}

.carousel-indicators {
  margin: 0 0 0 0;
}

#timeline-nav {
  display: table;
  flex-direction: column;
  border-radius: 1.078em;
  overflow: hidden;
  margin: 0 auto 20px auto;

}

#timeline-nav button, #timeline-nav #timeline-label {
  display: table-cell;
  margin: 0;
  background-color: #151515;
  border: none;
  height: 100%;
  padding: 8px 1.1em;
  color: white;
  font-size: 14px;
}

#timeline-nav #timeline-left, #timeline-nav #timeline-label {
  border-right: 1px solid white;
}

#timeline-nav button:hover {
  background-color: #919ca6;
}