@media print {
  .noshow {
    display: none !important;
  }
  body {
    background-color: transparent;
    -webkit-print-color-adjust: exact !important;
  }
  table.stats {
    background-color: transparent;
    -webkit-print-color-adjust: exact !important;
  }
  
}
@media screen and (max-width: 600px) {
  table.summary tr td:last-child {
    display: none;
  }
  table.summary tr th:last-child {
    display: none;
  }
}

.smalltext {
  font-size: 10pt !important;
  color: #000 !important;
}

.smalltext input {
  font-size: 10pt !important;
}

.smalltext select {
  font-size: 10pt !important;
}

.smalltext textarea {
  font-size: 10pt !important;
}

.smalltext td,th {
  padding: 5px !important;
}

body {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  padding: 0px 0px 100px 0px;
  margin: 0;
  background-color: #DDD;
}

div.content {
  padding: 10px;
}

div.error {
  color: #F00;
  font-weight: bold;
  margin: 0 auto;
}

p.error {
  color: #F00;
  font-weight: bold;
}

p.notice {
  color: #00F;
  font-weight: bold;
}

input[type="radio"] {
  border: 0px;
  width: 500%;
  height: 20px;
  position: relative;
  left: -38px;
  top: -2px;
}

input[type="checkbox"] {
  width: 2em;
  height: 2em;
}

INPUT[type=text],
INPUT[type=number],
INPUT[type=password] {
  border: #787183 solid 1px;
  font-family: Tahoma;
  font-size: 14pt;
  font-weight: normal;
  background-color: #FFFFF0;
  color: #0000FF;
  padding: 2px 5px;
}

INPUT[type=text].hdr,
INPUT[type=number].hdr,
INPUT[type=password].hdr {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  background-color: #808080;
  border: none;
  vertical-align: top;
  text-align: left;
  position: relative;
  color: #FF0;
  left: -10px;
  font-weight: bold;
}

INPUT[type=text].retired {
  color: #800 !important;
}

input[type="button"] {
  cursor: pointer;
  background-color: #C0FFC0;
  border: 1px solid #008000;
  color: #444;
  font-family:Calibri, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 12pt;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
  text-align: center;
  display: table; 
  position: relative; 
  overflow: hidden;
  margin: 0px 5px 0px 0px;
  display: inline-block;
  -moz-box-shadow: 1px 1px 2px #000;
  -webkit-box-shadow: 1px 1px 2px #000;
  box-shadow: 1px 1px 2px #000;
  -ms-filter: \"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')\";
  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000');
}

input[type="button"].large {
  cursor: pointer;
  background-color: #C0FFC0;
  border: 1px solid #008000;
  color: #444;
  font-family:Calibri, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 22pt;
  padding: 10px 30px;
  text-decoration: none;
  text-align: center;
  display: table; 
  position: relative; 
  overflow: hidden;
  margin: 0px 5px 0px 0px;
  display: inline-block;
  -moz-box-shadow: 1px 1px 2px #000;
  -webkit-box-shadow: 1px 1px 2px #000;
  box-shadow: 1px 1px 2px #000;
  -ms-filter: \"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')\";
  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000');
}

textarea {
  border: #787183 solid 1px;
  font-family: Tahoma;
  font-size: 14pt;
  font-weight: normal;
  background-color: #FFFFF0;
  color: #0000FF;
  padding: 2px 5px;
}

select {
  border: #787183 solid 1px;
  font-family: Tahoma;
  font-size: 14pt;
  font-weight: normal;
  background-color: #FFFFF0;
  color: #0000FF;
  padding: 2px 5px;
}

.required {
  border-right: 3px solid #F00 !important;
}

div.editable {
  background-color: #FFFFE0;
  font-size: 12pt;
  padding: 5px;
  max-width: 575px;
  border: 1px solid #a9a9a9;
  min-height: 150px;
}
.shadows {
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
}

table.pagination {
  border: none;
  margin: 0 auto;
  width: 100%;
}

  table.pagination td {
    text-align: center;
  }
  table.pagination td:first-child {
    text-align: left;
  }
  table.pagination td:last-child {
    text-align: right;
  }
  table.pagination img {
    cursor: pointer;
  }

.hdr {
  font-weight: bold;
  color: #00F;
}

th.hdr {
  border-bottom: 2px solid #000;
  color: #FFFF00 !important;
  font-size: 1.7em;
  padding: 20px !important;
}

table {
  border: none;
  margin-bottom: 20px;
}
td {
  padding-right: 10px;
  text-align: left;
}
tr.spacer {
  height: 55px;
}
table.graph {
  border: 1px solid #000;
  border-radius: 15px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  background-color: #FFF;
}
table.graph td {
  padding: 10px;
  color: #00F;
  font-weight: bold;
  vertical-align: top;
}
table.graph td.txt div {
  width: 70px;
  display: inline-block;
  text-align: center;
}
table.graph td.ftr div {
  color: #000;
}
#sortgrid { 
  list-style-type: none; 
  margin-bottom: 25px; 
  padding: 0; 
}
#sortgrid li { 
  margin: 3px 3px 3px 0; 
  padding: 1px; 
  font-size: 1em; 
}
div.barcontainer {
  border: 1px solid #000;
  height: 30px;
  width: 400px;
  padding: 0;
}
div.bar {
  height: 30px;
  -webkit-print-color-adjust: exact;
}
table.daily {
  margin-top: 20px;
  border-spacing: 0px;
}
table.daily td {
  text-align: left;
  padding: 5px 15px 5px 5px;
  cursor: pointer;
}
table.daily th {
  text-align: left;
  text-decoration: underline;
  padding: 5px 15px 5px 5px;
}
table.daily tr:hover {
    background-color: #D0D0FF;
}
table.daily tr.glucose td:not(:first-child) {
  color: #DA831C;
  font-weight: 600;
}
table.daily tr.insulin td:not(:first-child) {
  color: #088;
  font-weight: 600;
}
table.daily tr.medication td:not(:first-child) {
  color: #00F;
  font-weight: 600;
}
table.daily a {
  text-decoration: none;
  color: #000;
}
table.daily tr.mealtag td:first-child {
  border-left: 1px solid #000;
}
table.daily tr.mealtag td:last-child {
  border-right: 1px solid #000;
}
table.daily tr.mealtag td {
  background-color: #C0C0FF;
  text-transform: capitalize;
  border-width: 1px 0px;
  border-style: solid;
  border-color: #000;
  font-weight: bold;
}
table.daily tr.corrective td {
  background-color: #ffe3e3;
}
table.daily tr.adjusted td {
  background-color: #EBEBFF;
}
table.graphdroid {
  border: 1px solid #000;
  border-radius: 5px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  background-color: #FFF;
}
table.graphdroid td {
  padding: 5px;
  color: #00F;
  font-weight: bold;
}
div.bardroidcontainer {
  border: 1px solid #000;
  height: 30px;
  width: 250px;
  padding: 0;
}
div.bardroid {
  height: 30px;
}
div.mouseover {
  padding: 5px;
  border: 1px solid #000;
  background-color: #FFF;
  color: #000;
}
table.report {
  border: 1px solid #000;
  border-spacing: 0px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  margin-top: 25px;
  background-color: #808080;
}

table.report th {
  padding: 10px;
  background-color: #808080;
  color: #FFF;
  font-weight: bold;
  vertical-align: top;
  text-align: left;
  position: relative;
  top: 4px;
}

table.report tr.header th {
  color: #FF0;
  text-transform: uppercase;
}

table.report td {
  padding: 10px;
  vertical-align: top;
  background-color: #EEE;
  text-align: left;
}

table.report tr.tally td {
  background-color: #FFF;
  height: 25px;
}

table.std {
  border: 1px solid #000;
  border-spacing: 0px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  margin-top: 25px;
  background-color: #808080;
}

table.std th {
  padding: 10px 20px 10px 10px !important;
  background-color: #808080;
  color: #FFF;
  font-weight: bold;
  vertical-align: top;
  text-align: left;
  position: relative;
  top: 4px;
  font-size: 1em !important;
}

table.std tr.header th {
  color: #FF0;
  text-transform: uppercase;
}

table.std td {
  padding: 10px;
  vertical-align: top;
  background-color: #EEE;
  text-align: left;
}

table.std tr.tally td {
  background-color: #FFF;
  height: 25px;
}

a.blendin {
  text-decoration: none;
  color: #000;
}
table.input td {
  padding-bottom: 20px;
}
table.login {
  margin: 20px auto 0px auto;
  background-color: #EEE;
  border: 1px solid #000;
  border-radius: 10px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  padding: 20px;
}
table.login td {
  padding-right: 10px;
}
table.login th {
  text-align: left;
  color: #A00;
  padding-top: 10px;
}
ul#statfield {
  margin-bottom: 25px;
}
a {
  text-decoration: none;
}
.tooltip {
    text-decoration:none;
    position:relative;
}
.tooltip-div {
    display:none;
}
.tooltip:hover div {
    display:block;
    position:fixed;
    overflow:hidden;
}
.pos {
  color: #080;
}
.neg {
  color: #800;
}
.validation {
  font-weight: bold;
  color: #00F;
}

table.dbs {
  margin-top: 25px;
}

table.android td {
  padding-top: 10px;
  padding-bottom: 10px;
}

table.grid {
  border-collapse: collapse;
  border: 1px solid #000;
}

table.grid td {
  border-collapse: collapse;
  border: 1px solid #000;
}

table.tiny td,table.tiny th {
  font-size: 8pt !important;
}

.min1200 {
  min-width: 1200px;
}

.min800 {
  min-width: 800px;
}

.chooser {
  cursor: pointer;
}

.th150 tbody th {
  width: 150px !important;
}

.timer {
  border-style: solid;
  border-radius: 50%;
  border-width: 10px;
  border-color: #00F;
  background-color: #FFF;
  width: 100px;
  height: 100px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
}

#overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

#search-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#search-box input[type="text"] {
  padding: 10px 10px 15px 10px;
}

.recipe {
  border-collapse: collapse;
}

.ingredient {
  cursor: pointer;
}

.active {
  border: 2px solid #0F0;
  background-color: #080 !important;
}
  
.inactive {
  border: 2px solid #000;
  background-color: #DDD !important;
}


