@font-face {
    font-family: 'Digital-7';
    src: url("../fonts/Digital-7.otf");
}

@font-face {
    font-family: 'MicroExtendFLF';
    src: url("../fonts/MicroExtendFLF.ttf");
}

:root {
    --green: #00ff00;
    --lightgreen: #36ae40;
    --red: #ff2000;
    --darkred: #990000;
    --lightblue: #007fff;
    --blue: #000066;
    --darkblue: #000033;
    --flowenergiblue: #007fff;
    --headerheight: auto;
    --marginedwidth: 82%;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: #000000;
}

header {
    position: relative;
    display: flex;
    flex-direction: column;
    float: left;
    top: 0;
    clear: both;
    width: 100vw;
    height: var(--headerheight);
    background-color: #000;
    margin: 0 0 8px 0;
}

#headerinner {
    position: relative;
    float: left;
    margin: 0 auto;
    width: 100%;
}

h1 {
    font-family: MicroExtendFLF;
    color: #ffffff;
    font-size: 3em;
}

h2 {
    font-family: MicroExtendFLF;
    font-size: 2em;
    color: #ffffff;
}

h3 {
    font-family: MicroExtendFLF;
    font-size: 1em;
    color: #ffffff;
}

.centered {
    position: relative;
    float: left;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Login */
#login {
    position: absolute;
    float: right;
    right: 0;
    top: 1vh;
    height: auto;
    text-align: right;
    z-index: 10;
}

#cartsm {
    position: absolute;
    float: right;
    right: 0;
    width: 100%;
    height: auto;
    text-align: right;
    z-index: 10;
}

.linktop {
    color: #fff;
    font-weight: bold;
    font-size: 0.75em;
    font-family: 'Electro Shackle';
}

a.linktop {
    color: #fff;
    font-weight: bold;
    font-size: 0.75em;
    font-family: 'Electro Shackle';
}

    a.linktop:hover {
        color: #fff;
        text-decoration: underline;
    }


#iconcontrolpanel {
    float: left;
}

a.linklogin {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    font-family: 'Electro Shackle';
}

    a.linklogin:hover {
        text-decoration: underline;
    }

/* End Login*/
#main {   
    flex:1;
   
}

#logoivamp {
    position: relative;
    float: left;
    width: 100%;
}

p {
    font-family: MicroExtendFLF;
    color: #ffffff;
}

.margined {
    margin: 0 auto;
    width: var(--marginedwidth);
}

#ivampbg {
    position: relative;
    display: flex;
    align-items: center;
    height: 50vh;
    width: 100%;
    justify-content: center;
    clear: both;
    margin: 4vh 0;
    text-align: center;
}

#ivamplist {
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#metrics {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

#metricstitle {
    clear: both;
    font-family: MicroExtendFLF;
    font-size: 1.8em;
    color: var(--lightblue);
}

#metricvalue {
    font-family: MicroExtendFLF;
    font-size: 1.0em;
    color: var(--lightblue);
}

/* Metrics */

#metricvalue {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

    #metricvalue:empty {
        border: none;
    }

.metric-header .metric-cell {
    font-weight: bold;
}

.metric-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 0;
    margin: 0;
}

.metric-cell {
    padding: 6px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.status-2xx {
    color: green;
    font-weight: bold;
}

.status-4xx {
    color: orange;
    font-weight: bold;
}

.status-5xx {
    color: red;
    font-weight: bold;
}

.status-unknown {
    color: inherit;
}

.flash-green {
    animation: flashGreen 1.2s ease-in-out infinite;
}

@keyframes flashGreen {
    0%, 100% {
        background-color: transparent;
    }

    50% {
        background-color: #2ecc71;
    }
}
/* Metrics */

#db {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

ul {
    font-family: MicroExtendFLF;
    list-style: none;
    padding: 0;
}

li {
    font-size: 1em;
    margin: 5vh 0;
    color: #ffffff;
    text-shadow: 1px 1px 1px #007fff;
}

#deviceList {
    position: relative;
    width: 100%;
    float: left;
    height: 30vh;
    align-items: center;
}

#deviceHeader {
    position: relative;
    top: 0;
    float: left;
    width: 100%;
    height: 30%;
    align-content: center;
    clear: both;
}

#deviceImages {
    position: relative;
    clear: both;
    float: left;
    height: auto;
    width: 100%;
    vertical-align: central;
}

#logoshelly {
    width: 8%;
}

.imgDevice {
    margin: 0 2%;
}

.logostore {
}

.logomicrosoftstore {
    height: 100px;
}

.metricstitle {
    font-family: MicroExtendFLF;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--lightblue);
}

.metricvalue {
    font-family: MicroExtendFLF;
    font-size: 0.8em;
    color: #ffffff;
}
