html,body{width:100%;margin:0;padding:0px;background:#eee;color: #333;-webkit-text-size-adjust: 100%;}

:focus {
outline: 0;
}
main,footer{clear:both}

* {
  box-sizing: border-box;
  /* Disable font boosting */
  max-height: 1000000px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

article {
  width: 100%;
  color: #ccc;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 10px;
  /*border-radius: 4px;*/
}

main{width: 100%;}
h1,h2,h3{text-align:center;}
h2,h3{font-size:17px; height:40px}
.next{clear:both;margin-top:20px}

.icons{max-width:615px;max-height:185px;margin-left:auto;margin-right:auto;text-align:center}
.icons a{float:left;display:block;height:215px}
.icons a img{width:205px;height:185px}


.row{clear:both; margin-bottom:20px}
.row2{clear:both; margin-bottom:0.5rem}
.icons select{font-size:14px;border:1px}
.icons input, .icons textarea{width:80%}
.icons #bg_value,.icons #actualBG{width:100px}
.icons #actual_reading{width:83px}
.icons #adj_value{width:80px}
.icons #final_value{width:70px}
.icons #med_value{width:75px;margin-left:5px}

.diff{color:#F00}
.diff span{color:#000}

footer{position: absolute; left: 50%;bottom:0;max-width:72rem;width:100%;background:rgba(0, 0, 0, 0.9);margin: 0 auto;
  left: 0;
  right: 0;
font-size:0.75em;color:#CCC;text-align:center;
}

@media only screen and (max-width: 640px) { /*max-width: 479px*/
.icons{max-width:310px;margin-left:auto;margin-right:auto;text-align:center}
.icons a{float:left; text-align:center; height:auto}
.icons a img{width:101px; height:auto; margin-left:auto; margin-right:auto; margin-bottom:20px}
}

.divlogs{clear:both;max-width:615px;margin-left:auto;margin-right:auto; font-size:12px}
.br{clear:both; border-bottom:1px solid #fff; overflow:auto; margin-top:5px}
.space{margin-top:20px}
.br2{clear:both; border-bottom:1px solid #000; overflow:auto; width:530px; margin-left:auto; margin-right:auto}
.dt,.value{float:left}
.hr{float:right;font-size:15px;text-align:right}
.dt{font-size:16px;width:65px/*margin-right:35px*/}
.value{margin-right:10px; margin-bottom:7px;}
.value p.bg{font-size:23px;}
.value p.bg span{font-size:18px}
.value p{margin:0; margin-bottom:-2px; padding:0}
.value p.event{clear:both; font-size:13px}
.value p.units{margin-top:7px;}
.value p.event img{vertical-align:middle; margin-right:5px}
.value p.notes{margin-top:3px;font-style:italic;width:160px;color:#2389F7}
.value p.dex{margin-top:3px;width:175px}
.dex span{color:#2389F7}
.pag{clear:both;max-width:615px;margin-left:auto;margin-right:auto; font-size:18px;text-align:center; margin-top:10px;margin-bottom:10px; font-weight:normal}
.displayev,.displaymed{clear:both;max-width:615px;margin-left:auto;margin-right:auto;font-size:16px;text-align:center;margin-top:10px;margin-bottom:10px;font-weight:normal}
.displaymed{margin-top:0px;}

.list-headers-dt-head{float:left;width:70px; border-right:1px solid #000; text-align:center; border-top:1px solid #000;}
.list-headers-head{float:left;width:115px; border-right:1px solid #000; overflow:auto;padding-left:5px; text-align:center; border-top:1px solid #000;}
.list-headers-dt{float:left;width:70px; border-right:1px solid #000;height:50px}
.list-headers{float:left;width:115px; border-right:1px solid #000; overflow:auto;height:50px;padding-left:5px}
.list-headers span{padding-left:20px}

.filters{text-align:center;}
.lgf{font-size:16px;max-width:none}
.yr{width:100%;text-align:center;background:#165599;color:#fff;padding:5px}
.tits,.rows,.cm,.cmrows,.resume,.resumerow{clear:both;width:100%}

.tits .cols{float:left;width:25%;background:#2474C9;color:#fff;text-align:center;margin-bottom:5px;padding-top:5px;padding-bottom:5px}
.rows .cols{float:left;width:25%;text-align:center;margin-bottom:5px;border-bottom:1px solid #ccc}
.cm .cols,.cm .cols1{float:left;width:45%;background:#2474C9;color:#fff;text-align:center;margin-bottom:5px;padding-top:5px;padding-bottom:5px}

.cmrows .cols,.cmrows .cols1,.resume .cols,.resume .cols1,.resumerow .cols,.resumerow .cols1{float:left;width:45%;text-align:center;margin-bottom:5px;border-bottom:1px solid #ccc}
.cm .cols1,.cmrows .cols1,.resume .cols1,.resumerow .cols1{width:10%}
.resume{text-align:center;color:#fff}
.resume .cols,.resume .cols1{background:#1A62AF;padding:5px}
.resumerow .cols1,.resumerow .cols{border:0px}

#chart_tot,#chart_avg{clear:both;margin-left:auto; margin-right:auto;padding-top:20px; margin-top:10px}
#chart_tot{width:415px;height:500px}
#chart_avg{width:415px;height:250px}


/*  
 * HTML5 Boilerplate
 *
 * 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 {
    color: #eee;
}

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

a {
    color: #34B4F7;
    text-decoration: none;
    outline: 0;
}

a:visited {
    color: #34B4F7;
}

a:hover {
    color: #2389F7/*#06e*/;
}

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

img {
    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
   ========================================================================== */



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

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * 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 helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

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

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

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}