body:before {
    content: "";
    height: 100%;
    float: left;
    width: 0;
    margin-top: -32767px;
}

html, body {
    height: 100%;
}

#contentcontainer {
    min-height: 100%;
}

#contentcontainercontent {
    overflow: auto;
    padding-bottom: 180px;
}

h1, h2, h3, h4, h5, h6 {
  color: #666;
  font-family: "Open Sans", Arial, sans-serif;
}

body, html, p, li, label {
  color: #555;
  font-size: 13px;
}

header {
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #dede00 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #dede00));
  background: -webkit-linear-gradient(top, #ffffff 0%, #dede00 100%);
  background: -o-linear-gradient(top, #ffffff 0%, #dede00 100%);
  background: -ms-linear-gradient(top, #ffffff 0%, #dede00 100%);
  background: linear-gradient(to bottom, #ffffff 0%, #dede00 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dede00', GradientType=0);
  height: 100px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#head {
  position: relative;
}
#head #orange {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 100px;
  width: auto;
}
#head #blubber {
  position: absolute;
  top: 0;
  left: 25%;
  max-height: 100px;
  width: auto;
}
#head #afptitle {
  position: absolute;
  top: 15px;
  left: 145px;
  font-weight: bold;
  color: #ff9822;
  text-shadow: -2px -2px 0 #fff;
}

#mainnavbar {
  border-radius: 0;
  border: 0;
  background: #afffbe;
  background: -moz-linear-gradient(top, #afffbe 0%, #00e32a 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #afffbe), color-stop(100%, #00e32a));
  background: -webkit-linear-gradient(top, #afffbe 0%, #00e32a 100%);
  background: -o-linear-gradient(top, #afffbe 0%, #00e32a 100%);
  background: -ms-linear-gradient(top, #afffbe 0%, #00e32a 100%);
  background: linear-gradient(to bottom, #afffbe 0%, #00e32a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#afffbe', endColorstr='#00e32a', GradientType=0);
}
#mainnavbar .active a {
  background: #ef77eb;
  background: -moz-linear-gradient(top, #ef77eb 0%, #ef10e8 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ef77eb), color-stop(100%, #ef10e8));
  background: -webkit-linear-gradient(top, #ef77eb 0%, #ef10e8 100%);
  background: -o-linear-gradient(top, #ef77eb 0%, #ef10e8 100%);
  background: -ms-linear-gradient(top, #ef77eb 0%, #ef10e8 100%);
  background: linear-gradient(to bottom, #ef77eb 0%, #ef10e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef77eb', endColorstr='#ef10e8', GradientType=0);
  color: #fff;
}
#mainnavbar a:hover {
  background: #ffecaf;
  background: -moz-linear-gradient(top, #ffecaf 0%, #e3ae00 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffecaf), color-stop(100%, #e3ae00));
  background: -webkit-linear-gradient(top, #ffecaf 0%, #e3ae00 100%);
  background: -o-linear-gradient(top, #ffecaf 0%, #e3ae00 100%);
  background: -ms-linear-gradient(top, #ffecaf 0%, #e3ae00 100%);
  background: linear-gradient(to bottom, #ffecaf 0%, #e3ae00 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffecaf', endColorstr='#e3ae00', GradientType=0);
}

.navbar {
  margin-bottom: 0;
}

#main {
  padding-left: 15px;
  padding-right: 15px;
}
#main .imgright {
  float: right;
  max-width: 50%;
  height: auto;
  margin-left: 10px;
  margin-bottm: 10px;
}

footer {
  text-align: center;
  font-size: 0.8em;
  padding-top: 40px;
  padding-bottom: 80px;
  background-color: #5a5a5a;
    position: relative;
    margin-top: -160px;
    height: 160px;
    clear: both;
}
footer a {
  color: #fff;
}

footer a:hover {
    text-decoration: none;
    color: #ccc;
}

footer #footerspruch {
    font-size: 50px;
    color: #646464;
    position: absolute;
    text-align: center;
    overflow: hidden;
    left: 0;
    top: 30px;
    right: 0;
    bottom: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.nopadding {
  padding-left: 0;
  padding-right: 0;
}

.form-control {
  margin-bottom: 20px;
}

.btn, .nav-pills li a {
  border-radius: 0;
  margin-bottom: 2px;
}

.nav-pills > li,
.nav-pills > li + li {
  margin-left: 0;
  margin-right: 2px;
}

.btn-default, .nav-pills li a {
  /*@include gradient ($active_light, $active_dark);*/
  background-color: #ef10e8;
  color: #fff;
  border: 0;
  transition: background-color 1s;
}

.nav-pills > li.active > a {
  background-color: #00e32a;
}

.btn-default:hover,
.nav-pills li a:hover {
  /*@include gradient ($green_light, $green_dark);*/
  background-color: #00e32a;
  transition: background-color 0.3s;
  color: #fff;
}

.progress-bar-white {
  background-color: #ddd;
}

.progress-bar-dark-red {
  background-color: #600;
}

#extraoptions {
  display: none;
}

#tagesstatistik {
  background-color: #fff9f9;
  border: 1px solid #cecece;
  padding: 10px 0;
  margin-top: 20px;
  background-image: url("../images/layout/schraffur5.png");
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}
#tagesstatistik h2 {
  margin-top: 0;
}
#tagesstatistik .zusatz {
  text-align: right;
}
#tagesstatistik .zusatz img {
  vertical-align: bottom;
  cursor: pointer;
}
#tagesstatistik .zusatz .flipcontainer {
  position: relative;
  perspective: 150px;
  width: 50px;
  display: inline-block;
}
#tagesstatistik .zusatz .flipcontainer.wasser {
  height: 65px;
}
#tagesstatistik .zusatz .flipcontainer.obst {
  height: 51px;
}
#tagesstatistik .zusatz .flipcontainer.calcium {
  height: 57px;
}
#tagesstatistik .zusatz .entry {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s;
  width: 100%;
  height: 100%;
}
#tagesstatistik .zusatz .entry img {
  transform-style: preserve-3d;
  transition: transform 1s;
  position: absolute;
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
  display: block;
}
#tagesstatistik .zusatz .entry .front {
  z-index: 2;
  transform: rotatey(0deg);
}
#tagesstatistik .zusatz .entry .back {
  transform: rotateY(180deg);
}
#tagesstatistik .zusatz .entry.flipped .front {
  transform: rotateY(-180deg);
}
#tagesstatistik .zusatz .entry.flipped .back {
  transform: rotateY(0deg);
}

#main img {
  max-width: 100%;
}

#dbpage input {
  margin: 0;
}
#dbpage .row {
  padding-top: 5px;
  padding-bottom: 5px;
}
#dbpage .row:nth-of-type(2n+0) {
  /*background-color: #ccc;*/
  background-image: url("../images/layout/schraffur10.png");
}

#tagebuch span {
    overflow: hidden;
}

#tagebuch, #datenbank, #bonus {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
  margin-top: 20px;
  padding: 10px;
  background-image: url("../images/layout/schraffur10.png");
  border: 1px solid #cecece;
}
#tagebuch h2, #datenbank h2, #bonus h2 {
  margin-top: 0;
}

#tagebuchform .input-group {
  margin-bottom: 5px;
}

.section {
  background-image: url("../images/layout/schraffur10.png");
  padding: 10px;
  border: 1px solid #cecece;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
  margin-top: 20px;
}

#tagebuchcontainer {
  padding: 0 10px 0 0;
}

#datenbankcontainer {
  padding: 0 0 0 10px;
}

.red {
  color: #f00;
}

input, select, button {
  vertical-align: middle;
  min-height: 24px;
}

span.visible-xs {
  display: inline !important;
}

#statistikgrafik {
  max-width: 100%;
}

#slidercontainer {
  position: relative;
  height: 400px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
}

#slider {
  width: 1920px;
  height: 400px;
  left: 50%;
  margin-left: -960px;
  position: relative;
  /*margin: 0 auto;*/
  text-align: center;
}

#blackbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
}
#blackbox span {
  color: #fff;
  font-size: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.flash {
  padding-top: 20px;
}

@media (min-width: 993px) {
  span.visible-xs {
    display: none !important;
  }
}
@media (max-width: 992px) {
  #tagebuchcontainer,
  #datenbankcontainer {
    padding: 0;
  }
}
@media (max-width: 768px) {
  #afptitle {
    font-size: 30px;
  }

    footer #footerspruch {
        font-size: 40px;
    }
}
@media (max-width: 640px) {
  #afptitle {
    font-size: 25px;
  }

  #slidercontainer {
    display: none;
  }

    footer #footerspruch {
        font-size: 30px;
    }
}
