
.fl { float: left }
.fr { float: right }
ul { display: table }
li {
    list-style: none;
}
section#Wrapper,
ul#medicao li,
ul#monitoramento li,
#legenda {
    box-shadow: #ccc 0px 0px 5px;
    border: 1px solid #FFF;
}
section#Wrapper,
input[type="submit"],
ul#monitoramento li,
#legenda {
    background: -webkit-gradient(linear,left top,left bottom,from(#FFF),to(#CCC));
    background: -moz-linear-gradient(top, #FFF, #CCC);
}
section#Wrapper {
    height: 40px;
    min-width: 700px;
    margin: 10px 10px 0 10px;
}
iframe { min-width: 700px }
section#Wrapper a {
    text-decoration: none;
    color: #333;
    padding: 13px;
    display: inline-block;
    border-right: 1px solid #D7D7D7;
    border-left: 1px solid #F6F6F6;
    float: left;
}
section#Wrapper a:hover { background: #FFF }
/*ul#monitoramento { margin: 10px 0 0 -30px }*/
ul#medicao li {
    margin: 10px;
    padding: 10px;
}
ul#medicao li:hover {
    border: 1px solid #333;
    box-shadow: #666 0px 0px 10px;
}
ul#medicao li:hover .tag { opacity: 1 }
ul#medicao li h1,
h2 {
    text-align: center;
    margin: 10px 0 20px 0;
}
ul#medicao li h2 {
    margin-top: 130px;
    font-size: 14px;
}
input[type="submit"] {
    width: 100%;
    height: 30px;
    border: 1px solid #CCC;
    text-shadow: #FFF 0 1px 0;
    font-size: 13px;
    cursor: pointer;
}
input[type="submit"]:hover { background: #CCC }
@media screen and (min-width: 900px) {
    .tanque {
        background: #FFF;
        width: 414px;
        height: 178px;
        margin: 0px auto;
        /*position: absolute;*/
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
    }
}
@media screen and (min-width: 480px) and (max-width: 900px) {
  .tanque {
        background: #FFF;
        width: 414px;
        height: 178px;
        margin: 0px auto;
        /*position: absolute;*/
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
  }
}
@media screen and (max-width: 480px) {
    .tanque {
        background: #FFF;
        width: 230px;
        height: 94px;
        margin: 0px auto;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
    }
}
.tanque img {
    position: absolute;
    z-index: 2;
    margin: -12px 0 0 0;
}
.porcentagem {
    background: #3fb200;
}

.gasolina-comum{
    background: rgb(255, 242, 18);
}
.gasolina-aditivada{
    background: rgb(242, 135, 45);
}
.diesel-comum{
    background: rgb(2, 153, 218);
}
.diesel-aditivado{
    background: rgb(18, 99, 153);
}
.etanol{
    background: rgb(34, 115, 38);
}
.agua{
    background: rgb(6, 158, 145);   
}
.tag {
    position: absolute;
    z-index: 3;
    opacity: 0.80;
    margin: 14% 28%;
    font-size: 45px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}
.tag2 {
    position: absolute;
    z-index: 3;
    opacity: 0.80;
    margin: 5% 13%;
    font-size: 20px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}

.tag3 {
    position: absolute;
    z-index: 3;
    opacity: 0.80;
    margin: 14% 40%;
    font-size: 14px;
    font-style: bold;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}
@media screen and (max-width: 480px) {
    .tag {
        font-size: 27px;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
    }
    .tag2 {
        font-size: 14px;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
    }
}
.barra {
    background: -webkit-gradient(linear,left top,left bottom,from(#666),to(#FFF));
    background: -moz-linear-gradient(top, #666, #FFF);
    padding: 1px;
    border: 1px solid #CCC;
    width: 99%;
    height: 20px;
}
.barra div {
    background: -webkit-gradient(linear,left top,left bottom,from(#0fa200),to(#074e00));
    background: -moz-linear-gradient(top, #0fa200, #074e00);
    height: 100%;
}
.barra input {
    background: none;
    border: none;
    position: absolute;
    width: 40px;
    margin-top: -21px;
    padding: 4px;
    text-shadow: 1px 1px 1px #000;
    color: #FFF;
}
ul#monitoramento li {
    padding: 10px;
    border-radius: 10px;
}
/*ul#monitoramento li h1 { margin: 0 0 10px 0 }*/

.semalarme,
.caborompido,
.alarmado,
.inativo {
    height: 38px;
    border-radius: 40px;
}
.semalarme {
    background: -webkit-gradient(linear,left top,left bottom,from(#0fa200),to(#074e00));
    background: -moz-linear-gradient(top, #0fa200, #074e00);
    box-shadow: 0 0 20px #5ce910;
    /*border: 1px solid #5ce910;*/
}
.alarmado {
    background: -webkit-gradient(linear,left top,left bottom,from(#ff0000),to(#570000));
    background: -moz-linear-gradient(top, #ff0000, #570000);
    box-shadow: 0 0 20px #ec4747;
    /*border: 1px solid #ec4747;*/
}
.caborompido {
    background: -webkit-gradient(linear,left top,left bottom,from(#d7d400),to(#757400));
    background: -moz-linear-gradient(top, #d7d400, #757400);
    box-shadow: 0 0 20px #fffd42;
    /*border: 1px solid #fffd42;*/
}
.inativo {
    background: -webkit-gradient(linear,left top,left bottom,from(#CCC),to(#666));
    background: -moz-linear-gradient(top, #CCC, #666);
    /*border: 1px solid #666;*/
}
.inativo2 {
    background-color: #CCC;
}
#legenda {
    margin: 10px;
    padding: 10px 0 10 0;
    height: 20px;
}
#legenda>div {
    width: 18px;
    height: 18px;
    border: none;
    box-shadow: none;
    float: left;
    margin: 0 10px;
}
table td.numero,
table#historico th {
    width: 30px;
    text-align: center;
    background: #CCC;
    border: 1px solid #FFF;
}
table td.data { width: 150px }
table#historico td { text-align: center }
table#historico th {
    padding: 10px;
    font-style: italic;
    text-transform: uppercase;
}

.ligado {    
    text-shadow: 0 0 15px #0fa200;    
    color: #0fa200;   
}

.desligado {    
    text-shadow: 0 0 15px #D9534F;    
    color: #D9534F;   
}

.erro-ip {    
    text-shadow: 0 0 15px #696969;    
    color: #696969;   
}

.download {
    color: #FF3333;
}

.upload {
    color: #428bca;
}

.legenda {
    height: 15px;
    width: 15px;
    margin-right: 15px;
    margin-left: 15px;
    border-radius: 40px;
}