/* General */
html {
    width: 100%;
    background-color: black;
    font-family: "Lucida Console";
}
p {
    color: white;
    padding-left: 10px;
}
a {
    text-decoration: underline;
    color: #1EB300;
}
a:hover {
    text-decoration: underline;
}
h1, h2, h3 {
    color:white;
}

.linecontainer {
    position: relative;
}
.line {
    margin-top: 100px;
    width: 100%;
    border-top: 1px dashed white;
    height: 1px;
}
.text {
    padding-top: 10px;
    border-radius: 4%;
    text-align: center;
    width: 150px;
    height: 35px;
    border-left: 1px dashed white;
    border-top: 1px dashed white;
    border-right: 1px dashed white;
    border-bottom: 2px solid black;
    position: absolute;
    top: -65px;
    left: calc(50% - 70px);
}

.footer {
    text-align: center;
    padding-top: 50px;
}

/* Scroll bar */
::-webkit-scrollbar {
    width: 10px;
    background-color: black;
}
  
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: grey;
}
  
::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: black;
}

/* Nav bar */
.navbar {
    color: white;
    font-family: monospace;
    padding: 12px;
    text-align: right;
    position: relative;
}
.title {
    float: left;
}
.navbar a {
    font-size: 125%;
    color: white;
    text-decoration: none;
    padding-left: 15px;
}
.separator {
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px dashed white;
}

/* Content */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.clock {
    padding-top: 35px;
    color: gray;
    font-size: 15px;
}
.titleline {
    display: flex;
    align-items: center;
}
.status-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: gray;
    margin-right: 12px;
    margin-bottom: 5px;
}
.centerhddtext {
    font-size: 30px;
    margin-top: 20px;
}
.percent {
    padding-top: 5px;
    font-size: 40px;
    color: #1EB300;
}
.lastcheck {
    margin-top: 20px;
    color: gray;
    font-size: 15px;
}
.nextcheck {
    color: gray;
    font-size: 15px;
}
.upsince,
.requestsS {
    margin-top: 20px;
    color: white;
    font-size: 15px;
}

/* APDEX 24hr */
@media (min-width: 1670px) {
    .apdex {
        color: white;
        margin-top: 5%;
        margin-left: 7%;
        font-size: 30px;
    }
    .apdexCValue {
        text-align: right;
        color: #1EB300;
        padding-top: 10px;
        margin-right: 88%;
        font-size: 40px;
    }   
}
@media (max-width: 1669px) {
    .apdex {
        text-align: center;
        color: white;
        margin-top: 5%;
        margin-left: 7%;
        font-size: 30px;
    }
    .apdexCValue {
        text-align: center;
        color: #1EB300;
        padding-top: 10px;
        font-size: 40px;
    }
}
@media (min-width: 1670px) {
    .apdex24graphContainer {
        width: 1210px;
        height: 100px;
        position: absolute;
        top: calc(5% + 460px);
        left: calc(7% + 300px);
        border-bottom: 1px solid white;
        padding: 10px;
    }
    .apdex24bar {
        background-color: #1EB300;
        width: 50px;
        position: absolute;
        bottom: 0;
        transition: height 1.0s ease;
        border: 1px solid black;
    }
    .apdex24label {
        position: absolute;
        bottom: -25px;
        transform: translateX(-50%);
        color: white;
    }
}
.apdex24value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    color: white;
}

/* Response 24hr */ 
@media (min-width: 1670px) {
    .response {
        color: white;
        margin-top: 7%;
        margin-left: 4.2%;
        font-size: 30px;
        width: 20%;
    }
    .responseCValue {
        text-align: right;
        color: #1EB300;
        padding-top: 10px;
        margin-right: 88%;
        font-size: 40px;
    } 
}
@media (max-width: 1669px) {
    .response {
        text-align: center;
        color: white;
        margin-top: 7%;
        margin-left: 4.2%;
        font-size: 30px;
    }
    .responseCValue {
        text-align: center;
        color: #1EB300;
        padding-top: 10px;
        font-size: 40px;
        padding-bottom: 30px;
    }
}
@media (min-width: 1660px) {
    .response24graphContainer {
        color: white;
        width: 1210px;
        height: 100px;
        margin: 20px auto;
        border-bottom: 1px solid white;
        position: relative;
        display: flex;
        justify-content: space-between;
        top: -105px;
        left: calc(7% + 555px);
        transform: translateX(-50%);
    }
    .bar-container {
        width: 100%;
        position: relative;
        text-align: center;
    }
    .response24bar {
        background-color: #1EB300;
        width: 170px;
        position: absolute;
        bottom: 0;
        transition: height 1.0s ease;
        border: 1px solid black;
    }
    .response24label {
        position: absolute;
        bottom: -25px;
        width: 100%;
        text-align: center;
    }
    .response24value {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
    } 
}

/* NPM 24hr */
.npmgraphcontainer {
    color: white;
    text-align: center;
}

.horizontal-bar {
    margin: 0 auto;
    padding-top: 10px;
    display: flex;
    width: 70%;
    height: 20px;
}
.bars {
    display: flex;
    width: 100%;
    height: 20px;
}

.bar {
    flex: 1;
    margin: 0 1px;
    text-align: center;
    font-size: 12px;
    padding-top: 2px;
}
.bar:nth-child(4n+1) {
  border: 1px white dashed;
}
.bar:nth-child(4n+2) {
  border: 1px #1EB300 dashed;
}
.bar:nth-child(4n+3) {
  border: 1px #cc0003 dashed;
}
.bar:nth-child(4n+4) {
  border: 1px #0066cc dashed;
}
.location {
  width: 200px;
  text-align: left;
}

/* APDEX Monthly graph */
@media (min-width: 1670px) {
    .apdex730graphContainer {
        width: 1210px;
        height: 100px;
        position: absolute;
        top: calc(5% + 1340px);
        left: calc(7% + 300px);
        border-bottom: 1px solid white;
        padding: 10px;
    }
    .apdex730bar {
        background-color: #1EB300;
        width: 41px;
        position: absolute;
        bottom: 0;
        transition: height 1.0s ease;
        border: 1px solid black;
    }
    .apdex730label {
        position: absolute;
        bottom: -25px;
        transform: translateX(-50%);
        color: white;
    }
    .apdex730value {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        color: white;
    }
}

/* Response Monthly graph */
@media (min-width: 1669px) {
    .response730graphContainer {
        color: white;
        width: 1210px;
        height: 100px;
        margin: 20px auto;
        border-bottom: 1px solid white;
        position: relative;
        display: flex;
        justify-content: space-between;
        top: -105px;
        left: calc(7% + 555px);
        transform: translateX(-50%);
    }
    .response730bar {
        background-color: #1EB300;
        width: 170px;
        position: absolute;
        bottom: 0;
        transition: height 1.0s ease;
        border: 1px solid black;
    }
    .response730label {
        position: absolute;
        bottom: -25px;
        width: 100%;
        text-align: center;
    }
    .response730value {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
    } 
}

/* All time APDEX graph */
@media (min-width: 1670px) {
    .apdexAllTimeGraphContainer {
        width: 1210px;
        height: 100px;
        position: absolute;
        top: calc(5% + 2200px);
        left: calc(7% + 300px);
        border-bottom: 1px solid white;
        padding: 10px;
    }
    .apdexAllBar {
        background-color: #1EB300;
        width: 101px;
        position: absolute;
        bottom: 0;
        transition: height 1.0s ease;
        border: 1px solid black;
    }
    .apdexAllLabel {
        position: absolute;
        bottom: -25px;
        transform: translateX(-50%);
        color: white;
    }
    .apdexAllValue {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        color: white;
    }
}
/* All time response graph */
@media (min-width: 1669px) {
    .responseAllTimeGraphContainer {
        color: white;
        width: 1210px;
        height: 100px;
        margin: 20px auto;
        border-bottom: 1px solid white;
        position: relative;
        display: flex;
        justify-content: space-between;
        top: -105px;
        left: calc(7% + 555px);
        transform: translateX(-50%);
    }
    .responseAllTimeBar {
        background-color: #1EB300;
        width: 170px;
        position: absolute;
        bottom: 0;
        transition: height 1.0s ease;
        border: 1px solid black;
    }
    .responseAllTimeLabel {
        position: absolute;
        bottom: -25px;
        width: 100%;
        text-align: center;
    }
    .responseAllTimeValue {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
    } 
}

/* Log window */
.log {
    width: 70%;
    height: 400px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid white;
    margin: 70px auto 0 auto;
    color: white;
    padding: 10px;
}