* {
  box-sizing: border-box;
}

html {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  padding: 0;
  background-color: #091334;
  color: #3b3b3b;
  font-size: 14px;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", "Ubuntu", sans-serif;
  justify-content: center;
  line-height: 22px;
  margin: 0;
  padding: 0;
  text-align: center;
  transition: opacity 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
footer,
input,
textarea,
.copyright,
.button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", "Ubuntu", sans-serif;
  line-height: 125%;
}

h1 {
  color: #3b3b3b;
  font-size: 32px;
  font-weight: bold;
  margin: 0px;
}

h2 {
  color: #3b3b3b;
  font-size: 28px;
  font-weight: bold;
  margin: 16px 0 8px 0;
}

h3 {
  color: #3b3b3b;
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 4px 0;
}

h4 {
  color: #3b3b3b;
  font-size: 18px;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 4px;
}

h5 {
  color: #3b3b3b;
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 4px;
}

h6 {
  color: #3b3b3b;
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 4px;
}

a {
  color: #194b7d;
  text-decoration: none;
}

.outlineButton,
.button,
button {
  background-color: #194b7d;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
}

footer {
  color: #9c9c9c;
  margin: 40px;
}

footer a {
  font-weight: bold;
}

.tab {
  overflow: hidden;
  border-bottom: 1px solid #091334;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 14px;
  color: black;
  border-radius: 0;
}

.tab button.active {
  background-color: #091334;
  color: white;
  border-bottom: 1px solid #091334;
}

.pageContainer {
  padding: 30px 50px;
  background-color: #fff;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  min-height: 100vh;
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.headline h2 {
  color: #393ea5;
  border-radius: 5px;
  padding: 8px 0;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
}

.sectionContainer {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  border-bottom: 1px solid lightgrey;
  margin-bottom: 30px;
}

.sectionContainer h2 {
  font-size: 16px;
}

.incidentContainer {
  text-align: left;
}

.incidentContainer h2 {
  font-size: 20px;
}

.incidentBorder {
  display: inline-block;
  border-bottom: 1px solid lightgray;
}

.reportContainer {
  margin: 30px auto 0;
  width: 100%;
}

.statusContainer {
  border: 1px solid #ededed;
  border-radius: 5px;
  padding-top: 20px;
  text-align: left;
  padding: 24px;
}

.statusContainer+.statusContainer {
  border-top: 1px solid #eee;
  margin-top: 30px;
}

.statusMethod {
  color: #000;
  font-weight: bold;
}

.statusTitleContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.statusTitleIcon {
  display: none;
  width: 20px;
  margin-left: 10px;
}

.statusStreamContainer {
  display: flex;
  justify-content: space-between;
}

.statusSquare {
  border-radius: 3px;
  height: 30px;
  min-width: 8px;
  width: 100%;
}

.statusSquare+.statusSquare {
  margin-left: 6px;
}

.sectionUrl {
  font-size: 14px;
}

.statusTitle {
  text-transform: uppercase;
}

.statusHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 25px;
  justify-content: space-between;
}

.statusSubtitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
}

.statusHeadline {
  color: #eee;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 12px;
}

.statusUptime {
  flex: 1;
  text-align: right;
  color: #7c7c7c;
  font-size: 12px;
}

.uptimeContainer {
  color: #999;
  display: flex;
  margin-top: 8px;
  font-size: 12px;
}

.uptimeContainer hr {
  border: none;
  border-top: 1px dashed #eee;
  width: 100%;
  margin: 10px;
}

.success {
  background-color: #4cae50;
  color: #fff;
}

.failure {
  background-color: #f44336;
  color: #fff;
}

.nodata {
  background-color: #f8f8f8;
  color: #ccc;
}

.partial {
  background-color: #ff9800;
  color: #fff;
}

.tooltip {
  display: none;
  background-color: #fff;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  color: #3b3b3b;
  font-size: 12px;
  line-height: 18px;
  padding: 16px;
  position: absolute;
  text-align: left;
  z-index: 100;
  width: 240px;
  transition: opacity 0.2s;
}

.tooltip .tooltipArrow {
  position: absolute;
  bottom: 100%;
  width: 4px;
  text-align: center;
  border: 4px solid transparent;
  border-bottom-color: #fff;
  left: 50%;
  margin-left: -2px;
}

.tooltip .tooltipDateTime {
  font-size: 12px;
  color: #7c7c7c;
  text-transform: uppercase;
  font-weight: 600;
}

.tooltip .tooltipKey {
  color: #ccc;
  font-size: 10px;
}

.tooltip .tooltipDescription {
  margin-top: 12px;
  font-size: 14px;
  color: #181818;
}

.tooltip #tooltipStatus {
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 6px;
  display: inline-block;
}

.tooltip hr {
  border: none;
  border-top: 1px solid #ededed;
  margin-top: 16px;
}

#loaderContainer {
  z-index: 2;
  position: absolute;
  height: 100%;
  width: 100%;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 70px;
  height: 4em;
  margin: 10px auto;
  background-image: linear-gradient(#393ea5, #393ea5), linear-gradient(#393ea5, #393ea5),
    linear-gradient(#393ea5, #393ea5), linear-gradient(#393ea5, #393ea5),
    linear-gradient(#393ea5, #393ea5);
  background-size: 10px 100%;
  background-position: 0 50%, 15px 50%, 30px 50%, 45px 50%, 60px 50%;
  background-repeat: no-repeat;
  animation: load 2s infinite linear;
}

@keyframes load {
  0% {
    background-size: 10px 100%, 10px 100%, 10px 100%, 10px 100%, 10px 100%;
  }

  15% {
    background-size: 10px 50%, 10px 100%, 10px 100%, 10px 100%, 10px 100%;
  }

  30% {
    background-size: 10px 80%, 10px 50%, 10px 100%, 10px 100%, 10px 100%;
  }

  45% {
    background-size: 10px 100%, 10px 80%, 10px 50%, 10px 100%, 10px 100%;
  }

  60% {
    background-size: 10px 100%, 10px 100%, 10px 80%, 10px 50%, 10px 100%;
  }

  75% {
    background-size: 10px 100%, 10px 100%, 10px 100%, 10px 80%, 10px 50%;
  }

  90% {
    background-size: 10px 100%, 10px 100%, 10px 100%, 10px 100%, 10px 80%;
  }

  100% {
    background-size: 10px 100%, 10px 100%, 10px 100%, 10px 100%, 10px 100%;
  }
}

.incidentsHeadline {
  text-align: left;
  font-size: 18px;
}

.incidentsText {
  text-align: left;
}

@media screen and (max-width: 915px) {
  .pageContainer {
    border-radius: 0;
    padding: 30px 10px;
    margin: 0;
    position: relative;
    /* margin: 0 auto 40px auto; */
  }

  .headline {
    padding: 0;
    width: 100%;
  }

  .headline span {
    font-size: 12px;
    padding: 8px 15px;
  }

  .headline img {
    width: 40%;
    max-width: 160px;
  }

  .statusHeadline,
  .sectionUrl,
  .statusUptime {
    margin-left: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .statusHeadline {
    width: 45%;
    text-align: center;
    margin-bottom: 10px;
    max-width: 150px;
  }

  .statusContainer {
    padding: 15px;
  }

  .statusSubtitle {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .sectionUrl a {
    font-size: 12px;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    display: block;
  }

  .sectionSubtitle div {
    font-size: 10px;
  }

  .statusHeader {
    padding-bottom: 10px;
  }

  .statusTitle {
    font-size: 12px;
    flex: 2;
  }

  .statusMethod {
    flex: 1;
    font-size: 12px;
  }

  .statusSquare+.statusSquare {
    margin-left: 1px;
    font-size: 10px;
  }

  .statusSquare {
    min-width: 4px;
    width: 100%;
  }

  .statusTitleContainer {
    flex: 1;
  }
}