/* --- NEON RED: #ff5542 --- */
/* --- DARK BLU: #23313b --- */


/* --- Positioners ---*/

#deviceStatus {
    position: absolute;
    top: 45px;
    left: 0;
    height: calc(100% - 90px);
    max-height: calc(100% - 90px);
    width: 100vw;
    /*background-color: silver;*/
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
}

/*.monitor-row {
    position: absolute;
    top: 0;
    left: 0;
    height: 50vh;
    width: 100vw;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-align-items: center;
    align-items: center;
}*/

.monitor-row:last-of-type {
    top: 50vh;
}

.card-container {
    height: 50%;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}



/* --- Card --- */

.device-card-ext,
.device-card-mix {
    position: relative;
    height: 95%;
    width: 95%;
    background-color: #f4f4f4;
    border-bottom: .7vh solid #23313b;
    /*background-color: #23313b;
    border-bottom: 8px solid #ff5542;*/
    box-shadow: 0px 7px 15px 2px rgba(0,0,0,.3);
    -webkit-border-radius: 7px;
    border-radius: 7px;
}



/* --- Containers --- */

.device-status {
    height: 35%;
    width: 100%;
    background-color: teal;
    -webkit-border-top-left-radius: 7px;
    border-top-left-radius: 7px;
    -webkit-border-top-right-radius: 7px;
    border-top-right-radius: 7px;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-shadow: 0px 2px 3px 1px rgba(255,255,255,.5) inset;
    box-shadow: 0px 2px 3px 1px rgba(255,255,255,.5) inset;
}

.data-container {
    width: 100%;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.device-card-ext .data-container {
    height: 36%;
}

.device-card-mix .data-container {
    height: 50%;
}

.card-container .btn-group {
    width: 100%;
    height: 9%;
}


/* --- Elements --- */

.device-card-ext .device-status img {
    width: 80%;
    height: auto;
}

.device-card-mix .device-status img {
    width: 70%;
    height: auto;
}

.card-container .btn {
    width: 50%;
    height: 100%;
    float: left;
    background-color: #23313b;
    color: #f4f4f4;
    border: none !important;
    /*background-color: #ff5542;
    color: #23313b;*/
    box-shadow: 0px 2px 2px rgba(0,0,0,.4), 0px 2px 2px rgba(255,255,255,.4) inset;
}

.card-container p {
    width: 100%;
    color: #23313b;
    /*color: #ff5542;*/
    font-family: arial;
    font-size: 2.4vh;
    text-align: center;
    margin: .8px auto !important;
}

.data-container p:nth-of-type(2) {
    font-size: 3.2vh;
    font-weight: bold;
}

.card-container small {
    font-style: italic;
    font-size: 1.8vh;
    padding: 0 !important;
}


.device-status-0 {
    background-color: #c4c4c4;
}

.device-status-1 {
    background-color: #c40e0e;
}

.device-status-2 {
    background-color: #0eb00e;
}

.device-status-3 {
    background-color: #256b7d;
}

.device-status-4 {
    background-color: #f67828;
}

.device-status-5 {
    background-color: #ffffff;
}

.progress {
    margin-bottom: 4px;
}
