/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

body {
    max-width: 298px;
    position:relative;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.texto-azul-escuro {
    color: #1C304E;
}

.texto-cinza-escuro {
    color: #515151;
}

.titulo {
    font-family: 'OgloboCondensedMedium', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 20px;
    color: #000;
    margin: 0;
    border-top: 3px solid #1C304E;
    padding: 10px 8px 0;
    font-weight: normal;
    line-height: 21px;
    margin-bottom:5px;
}

.ultima-atualizacao {
    font-family: 'OgloboCondensedRegular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 13px;
    color: #777;
    margin: 5px 0 10px;
    padding: 0 8px;
    font-weight: normal;
    line-height: 16px;
    position:absolute;
    top:12px;
    right:0;
}

.ultima-atualizacao strong {
    font-family: 'OgloboCondensedMedium', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: normal;
}

.legendas {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
    margin: 0;
    padding: 0 8px;
    font-weight: normal;
    line-height: 15px;
}

.legendas > span {
    /*float:left;*/
}

.legenda-1 {
    margin-left: 20px;
}

.legenda-va {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #1b8cea;
    margin-right: 5px;
    border:1px solid #1b8cea;
}

.legenda-ct {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #fff;
    margin-right: 5px;
    border:1px solid #000;
}

.reservatorios {
    clear: both;
    text-align: justify;
    font-family: 'OgloboCondensedMedium', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    color: #515151;
    margin: 0 15px 25px;
    padding: 0;
    font-weight: normal;
    line-height: 18px;
}

.reservatorios:after {
    content: "";
    display: inline-block;
    width: 100%;    
}

.reservatorio-nome {
    margin: 0;
    text-align: center;
    font-weight: normal;
    font-family: 'OgloboCondensedSemibold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 14px;
    /*color: #00283b;*/
    color: #000;
    font-weight: normal;
    line-height: 12px;
    width: 100%;
    position: absolute;
    top: -24px;
}

.reservatorio-nome.sta-branca-nome {
    margin-top: -3px;
}

.reservatorio-nome.uma-linha {
    padding-top: 10px;
}

.extra-info {
    font-family: 'OgloboCondensedMedium', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 12px;
    color: white;
    background: #231F20;
    padding: 6px;
    position: absolute;
    top: -45px;
    left: 20%;
    letter-spacing: 0.2px;
}

.extra-info:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(35, 31, 32, 0);
    border-top-color: #231F20;
    border-width: 7px;
    margin-left: -7px;
}

.reservatorios h3 {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    text-align: center;
    color: #515151;
    font-weight: normal;
}

.grafico {
    width:290px;
    /*height: 190px;*/
    height: 230px;
    padding: 40px 0 0 8px;
    position: relative;
    margin-bottom: 16px;
    padding-left:85px;
    text-rendering: optimizeLegibility;
}

.grafico .leg_graf {
    font:normal 11px/11px arial;
    color:#c1272d;
    position:absolute;
    top: 122px;
    left:8px;
}

.nivel-morto {
    position: absolute;
    bottom: 0;
    width: 210px;
    margin-left: -5px;
    height: 1px;
    background: transparent;
    border-bottom: 2px dotted #ed1c24;
}

.reservatorio {
    width: 25%;
    margin: 0;
    float: left;
    height: 100%;
    position: relative;
    /*margin-right: 15px;*/
}

.reservatorio.funil {
    /*width: 33px;*/
}

.reservatorio.paraibuna {
    /*width: 47px;*/
    /*margin-right: 8px;
    margin-left:20px;*/
}

.reservatorio.jaguari {
    /*width: 30px;*/
    /*margin-right: 18px;*/
}

.reservatorio.sta-branca {
    /*width:41px;*/
    /*margin-right: 8px;*/
}

.nivel-maximo {
    position: relative;
    width: 40px;
    height: 100%;
    margin: 0 auto;
    border:1px solid #000;
    padding: 1px;
}


.nivel-atual {
    width: 36px;
    height: 0%;
    margin: 0 auto;
    background: #1B8CEA;
    position: absolute;
    bottom: 1px;
    left: 1px;
    transition: height 0.45s ease-in-out;
}

.nivel-atual .rotulo {
    font: normal 17px/1.5 Oglobox-condensed-Medium;
    color: #066EBC;
    margin: 0;
    text-align: center;
    position: absolute;
    top: -22px;
    width: 100%;
}

.nivel-atual .rotulo span {
    background: #fff;
    padding: 0 2px;
}

.media-mensal {    
    position: absolute;
    left: 0;
    bottom: 32%; 

    font-family: 'Oglobox-condensed-Medium', Oglobox-condensed-Medium;
    font-size: 16px;
    line-height: 0.5;
    color: #BF1B3E;
    font-weight: normal;   
    margin-bottom: -12px;
    padding-left: 38px;
    z-index: 1;
}

.media-mensal:before {
    content: "";
    height: 1px;
    width: 27px;
    background: #BF1B3E;
    position: absolute;
    top: 5px;
    left: 0;
}

.media-mensal:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4.5px 5px 4.5px 0;
    border-color: transparent #bf1b3f transparent transparent;
    display: inline-block;
    position: absolute;
    top: 1px;
    left: 30px;
}

.separador {
    margin: 0 8px;
}

.entenda {
    margin: 0;
    padding: 0 8px 4px;
}

.leg_reservatorio {
    font:normal 11px/11px arial, Times New Roman, times, serif;
    color:#000;
    padding: 5px 5px 5px 8px;
    display:block;
}

.entenda a,
.entenda a:link,
.entenda a:visited,
.entenda a:hover,
.entenda a:active {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'OgloboCondensedBold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 15px;
    line-height: 16px;
    color: #1E96C8;
    font-weight: normal;
}

#vol_util {
    height:auto;
    overflow:hidden;
    padding:10px 5px 5px 8px;
}

#vol_util .cell {
    width:59px;
    font:normal 16px Oglobox-condensed-Medium, OgloboCondensedMedium;
    color:#000;
    float:left;
}

#vol_util .cell.maior {
    width:86px;
    font:normal 12px arial;
}

#vol_util #cell-paraibuna {
    width:58px;
}

#vol_util #cell-funil {
    width:50px;
}

#vol_util #cell-santa-branca {
    width:30px;
}

#vol_util #cell-jaguari {
    width:59px;
}

.chaves {
    position:absolute;
    font:normal 11px arial, tahoma;
    color:#B3B3B3;
    top: 28px;
    margin-top: 12px;
    margin-left: -5px;
}

.chaves .traco {
    width: 11px;
    height: 1px;
    background-color: #B3B3B3;
    position: absolute;
    display: block;
    left: -11px;
    top: 50%;
    margin-top: -1px;
}

.chaves .chave {
    border:1px solid #B3B3B3;
    border-right:none;
    height:101px;
    width:5px;
}

.chaves em {
    position:absolute;
    left:-70px;
    line-height:99px;
    font-style: normal;
}

#vol-morto {
    top: 140px;
}

#vol-morto .chave {
    height: 78px;
}

#vol-morto em {
    line-height: 83px;
}

#fonte-reservatorio {
    font:normal 11px arial, tahoma;
    color:#808080;
    position:absolute;
    right:8px;
    bottom:-7px;
}

/* ==========================================================================
   Para navegadores que suportam bordas arredondadas
   ========================================================================== */
/*
.borderradius .grafico {
    padding-bottom: 20px;
}

.borderradius .extra-info {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.borderradius .nivel-maximo {
    width: 26px;
}

.borderradius .nivel-maximo:before {
    content: "";
    width: 26px;
    height: 12px;
    border: 1px dashed #C1C1C1;
    background: transparent;
    position: absolute;
    top: -7px;
    left: -1px;
    z-index: 2;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.borderradius .nivel-maximo:after {
    content: "";
    width: 26px;
    height: 12px;
    border-bottom: 1px dashed #C1C1C1;
    background: transparent;
    position: absolute;
    bottom: -8px;
    left: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.borderradius .nivel-atual {
    background: rgb(37,135,216);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI1ODdkOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzI2OWZlZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNTg3ZDgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left,  rgba(37,135,216,1) 0%, rgba(38,159,239,1) 10%, rgba(37,135,216,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(37,135,216,1)), color-stop(10%,rgba(38,159,239,1)), color-stop(100%,rgba(37,135,216,1)));
    background: -webkit-linear-gradient(left,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%); 
    background: -o-linear-gradient(left,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    background: -ms-linear-gradient(left,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    background: linear-gradient(to right,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2587d8', endColorstr='#2587d8',GradientType=1 );
}


.borderradius .nivel-atual:after {
    content: "";
    width: 22px;
    height: 12px;
    background: #19BAF9;
    position: absolute;
    top: -7px;
    left: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.borderradius .nivel-atual:before {
    content: "";
    width: 22px;
    height: 12px;
    position: absolute;
    bottom: -5px;
    left: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: rgb(37,135,216);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI1ODdkOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzI2OWZlZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNTg3ZDgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left,  rgba(37,135,216,1) 0%, rgba(38,159,239,1) 10%, rgba(37,135,216,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(37,135,216,1)), color-stop(10%,rgba(38,159,239,1)), color-stop(100%,rgba(37,135,216,1)));
    background: -webkit-linear-gradient(left,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    background: -o-linear-gradient(left,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    background: -ms-linear-gradient(left,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    background: linear-gradient(to right,  rgba(37,135,216,1) 0%,rgba(38,159,239,1) 10%,rgba(37,135,216,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2587d8', endColorstr='#2587d8',GradientType=1 );
}

.borderradius .nivel-atual .rotulo {
    top: -27px;
}

.borderradius .media-mensal {
    left: 0;
    padding-left: 38px;
    line-height: normal;
}

.borderradius .media-mensal:before {
    left: 0;
    width: 26px;
}

.borderradius .media-mensal:after {
    left: 28px;
}

.borderradius .titulo {
    font-size: 29px;
}

.borderradius .reservatorio-nome {
    font-size: 16px;
}

.borderradius .entenda a,
.borderradius .entenda a:link,
.borderradius .entenda a:visited,
.borderradius .entenda a:hover,
.borderradius .entenda a:active {
    font-size: 16px;
}

.vazio:before,
.vazio:after,
.borderradius .vazio:before,
.borderradius .vazio:after {
    background: #C1C1C1;
}
*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
