* {
box-sizing: border-box;
}

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

/* $text-color:            lightgrey !default;
$text-color-light:      silver !default;
$background-color:      #292b2f !default;
$code-background-color: #49483e !default; */


body {
background-color: #f5f6f8;
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;
}

.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: 96px auto;
}

.headline {
display: flex;
align-items: center;
justify-content: center;
}

.headline span {
background-color: #f5f6f8;
border-radius: 5px;
padding: 6px;
margin-left: 12px;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
}

.reportContainer {
margin: 30px auto;
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;
}

.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;
margin-bottom: 2px;
}

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

.statusHeadline {
color: #eee;
padding: 4px 8px;
border-radius: 15px;
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 {
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;
}

@media screen and (max-width: 800px) {
.pageContainer {
padding: 30px 20px;
margin: 0 auto 40px auto;
}

.statusHeader,
.statusSubtitle {
display: block;
}

.statusHeadline,
.sectionUrl,
.statusUptime {
margin-left: 0;
margin-top: 8px;
text-align: left;
}

.statusTitle,
.statusHeadline {
display: inline-block;
}

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

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

@media (prefers-color-scheme: dark) {
  body {
    background-color: #292b2f;
    color: lightgrey;
  }

  h1, h2, h3, h4, h5, h6 {
    color: lightgrey;
  }

  a {
    color: #5b9eff;
  }

  .pageContainer {
    background-color: #1e1f23;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.2);
  }

  .headline span {
    background-color: #292b2f;
  }

  .statusContainer {
    border-color: #363636;
  }

  .statusContainer + .statusContainer {
    border-top-color: #363636;
  }

  .nodata {
    background-color: #363636;
  }

  .tooltip {
    background-color: #1e1f23;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.3);
    color: lightgrey;
  }

  .tooltip .tooltipArrow {
    border-bottom-color: #1e1f23;
  }

  .tooltip .tooltipDescription {
    color: #e0e0e0;
  }

  .tooltip hr {
    border-top-color: #363636;
  }

  .uptimeContainer hr {
    border-top-color: #363636;
  }
}