.caixa-contexto {
    /* border: 1px solid #000; */
    text-align: center;
    display: block;
    padding: 0 20px 10px;
}

.caixa-contexto-conteudo {
    /* border: 1px solid #000; */
    margin: 10px auto;
    font-weight: bolder;
}

@media only screen and (max-width: 768px) {
    .caixa-contexto-conteudo {
        width: 90%;
    }
}

.box {
    margin-bottom: 10px;
}

.box .nome {
    /* border: 1px dotted #f0f; */
    border-bottom: 2px solid #FFF;
    padding: 10px;
    font-size: small;
    /* min-height: 60px; */
}

.box .painel {
    /* border: 1px dotted #f0f; */
    /* border-bottom: 2px solid #FFF; */
    padding: 30px;
    font-size: small;
    float: left;
    width: 100%;
    text-align: left !important;
}

.box .painel .painel-div:last-child {
    padding-left: 10px;
}

.box .painel .painel-div {
    display: block;
    float: left;
    width: 33%;
    /* border: 1px solid #000; */
}

.box .painel .painel-div .painel-div-titulo {
    display: block;
    float: left;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
    /* border: 1px solid #000; */
}

.box .imagem {
    background-color: #DDD;
    text-align: center;
    padding: 5px;
    margin: 5px;
    float: left;
    width: 55%;
}

.box .imagem .image {
    height: 100px;
    /* border: 1px solid #000; */
    /* float: left; */
    background-size: 100px 301px !important;
    width: 100px;
    margin: 0 auto;
    padding: 5px;
}

.bomba_desligada {
    background-position-y: top !important;
}

.bomba_ligada {
    background-position-y: center !important;
}

.bomba_erro {
    background-position-y: bottom !important;
}

.box .nivel {
    /* border: 1px dotted #0ff; */
    text-align: center;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 10px;
    font-size: small;
}

.box .nivel_alert {
    float: left;
    /* border: 1px dotted #ff0; */
    width: 35%;
    box-sizing: border-box;
    height: 180px;
    padding: 10px 0;
    cursor: pointer;
    background-color: #DDD;
}

.box .barra {
    /* border: 1px dotted #00f; */
    color: #FFF;
    padding-left: 10px;
    line-height: 30px;
    width: 100%;
    background-color: #0000FF;
    -webkit-border-bottom-right-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-radius-bottomright: 15px;
    -moz-border-radius-bottomleft: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.box .reservatorio {
    /* border: 1px dotted #0f0; */
    height: 95px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-top: 1px solid;
    border-bottom: 1px solid;
    width: 60%;
    margin: 0 auto;
}


/* #content_3_ {
display: flex;
flex-direction: row;
justify-content: space-between;
align-content: stretch;
} */

.container_box {
    /* border: 1px dotted #000; */
    /* We first create a flex layout context */
    display: flex;
    /* Then we define the flow direction 
    and if we allow the items to wrap 
* Remember this is the same as:
* flex-direction: row;
* flex-wrap: wrap;
*/
    flex-flow: row wrap;
    /* Then we define how is distributed the remaining space */
    justify-content: space-around;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blackbox_box {
    /* border: 1px dotted #F00; */
    background-color: #DDD;
    width: 400px;
    /* height: 240px; */
    height: 400px;
    margin: 10px;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
}

#dashboard h4 {
    font-size: 1.3;
    text-align: center;
    border: 1px solid #000;
    margin: 5px auto;
    max-width: 50%;
}

#dashboard h5 {
    font-size: 1.6;
    text-align: center;
    border: 1px solid #000;
    margin: 5px auto;
    max-width: 45%;
}

#dashboard h6 {
    font-size: 1.9;
    text-align: center;
    border: 1px solid #000;
    margin: 5px auto;
    max-width: 40%;
}

@media only screen and (max-width: 768px) {
    #dashboard h4 {
        max-width: 90%;
    }
    #dashboard h5 {
        max-width: 85%;
    }
    #dashboard h6 {
        max-width: 80%;
    }
}

.contador {
    float: right;
}

.last_update {
    line-height: 3px;
    font-weight: lighter;
    font-size: 0.7em;
}


/* ################################################################################### */

.led-box {
    height: 25x;
    width: 25%;
    margin: 5px 0;
    float: left;
}

.led-box p {
    font-size: 12px;
    text-align: center;
    margin: 1em;
}

.led-red {
    margin: 0 auto;
    width: 15px;
    height: 15px;
    background-color: #F00;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
    -webkit-animation: blinkRed 0.5s infinite;
    -moz-animation: blinkRed 0.5s infinite;
    -ms-animation: blinkRed 0.5s infinite;
    -o-animation: blinkRed 0.5s infinite;
    animation: blinkRed 0.5s infinite;
    float: left;
}

@-webkit-keyframes blinkRed {
    from {
        background-color: #F00;
    }
    50% {
        background-color: #A00;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
    }
    to {
        background-color: #F00;
    }
}

@-moz-keyframes blinkRed {
    from {
        background-color: #F00;
    }
    50% {
        background-color: #A00;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
    }
    to {
        background-color: #F00;
    }
}

@-ms-keyframes blinkRed {
    from {
        background-color: #F00;
    }
    50% {
        background-color: #A00;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
    }
    to {
        background-color: #F00;
    }
}

@-o-keyframes blinkRed {
    from {
        background-color: #F00;
    }
    50% {
        background-color: #A00;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
    }
    to {
        background-color: #F00;
    }
}

@keyframes blinkRed {
    from {
        background-color: #F00;
    }
    50% {
        background-color: #A00;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
    }
    to {
        background-color: #F00;
    }
}

.led-green {
    margin: 0 auto;
    width: 15px;
    height: 15px;
    background-color: #ABFF00;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
    -webkit-animation: blinkGreen 1s infinite;
    -moz-animation: blinkGreen 1s infinite;
    -ms-animation: blinkGreen 1s infinite;
    -o-animation: blinkGreen 1s infinite;
    animation: blinkGreen 1s infinite;
    float: left;
}

@-webkit-keyframes blinkGreen {
    from {
        background-color: #ABFF00;
    }
    50% {
        background-color: #c9ff5e;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
    }
    to {
        background-color: #ABFF00;
    }
}

@-moz-keyframes blinkGreen {
    from {
        background-color: #ABFF00;
    }
    50% {
        background-color: #c9ff5e;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
    }
    to {
        background-color: #ABFF00;
    }
}

@-ms-keyframes blinkGreen {
    from {
        background-color: #ABFF00;
    }
    50% {
        background-color: #c9ff5e;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
    }
    to {
        background-color: #ABFF00;
    }
}

@-o-keyframes blinkGreen {
    from {
        background-color: #ABFF00;
    }
    50% {
        background-color: #c9ff5e;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
    }
    to {
        background-color: #ABFF00;
    }
}

@keyframes blinkGreen {
    from {
        background-color: #ABFF00;
    }
    50% {
        background-color: #c9ff5e;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
    }
    to {
        background-color: #ABFF00;
    }
}

.led-gray {
    margin: 0 auto;
    width: 15px;
    height: 15px;
    background-color: #7e7e7e;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset rgb(44, 44, 44) 0 -1px 9px, #434242 0 2px 14px;
    float: left;
}

.textoDash {
    float: left;
    margin: 0px 0px 0px 10px;
}

.led-item {
    /* width: 32%; */
    width: 100%;
    float: left;
    /* border: 1px solid #000; */
    height: 23px;
    padding: 3px;
    font-size: .6em;
}

.led-item2 {
    width: 65%;
    float: left;
    /* border: 1px solid #000; */
    height: 23px;
    padding: 3px;
}

.div-imagem {
    display: block;
    float: left;
    width: 50%;
    /* border: 1px solid #000; */
}

.div-imagem-titulo {
    display: block;
    text-align: center;
    font-weight: bold;
    /* border: 1px solid #000; */
}

@media only screen and (max-width: 768px) {
    .box .imagem {
        width: 90%;
    }
    .nivel_alert {
        width: 100% !important;
    }
    .reservatorio {
        width: 100%;
    }
    .blackbox_box {
        height: 630px !important;
    }
}

@media only screen and (max-width: 572px) {
    .div-imagem {
        width: 50%;
    }
    .box .painel {
        padding: 10px !important;
        margin: 0 auto;
    }
    .box .painel .painel-div {
        width: 100%;
    }
    .blackbox_box {
        height: 650px !important;
    }
    .box .painel .painel-div:last-child {
        padding-left: 0px;
    }
    .caixa-contexto-conteudo {
        width: 100%;
    }
}