/*!
 * Egen styling för kostbevakningen
 *
 */
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.table-nutrients tfoot tr:first-child th,
.table-nutrients tfoot tr:first-child td {
  border-top: 3px double #dddddd;
  padding: 3px 5px 0px;
}
.table-nutrients tfoot tr th,
.table-nutrients tfoot tr td {
  border-top: 0px;
  padding: 0px 5px 1px;
}
.table-nutrients tbody a {
  color: #000000;
}
.table-nutrients tbody tr:nth-child(odd) td,
.table-nutrients tbody tr:nth-child(odd) th {
  background-color: #f9f9f9;
}
.table-nutrients tbody tr.missing-ingredient td,
.table-nutrients tbody tr.missing-ingredient th {
  background-color: #f5e5e5;
}
.table-nutrients tbody .missing-ingredient a {
  color: #b94a48;
}
.table-nutrients tbody tr.missing-unit td,
.table-nutrients tbody tr.missing-unit th {
  background-color: #fcf8e3;
}
.table-nutrients tbody .missing-unit a {
  color: #c09853;
}
.table-nutrients tbody tr.failed-parsing td,
.table-nutrients tbody tr.failed-parsing th {
  background-color: #eeeeee;
}
.progress {
  margin-bottom: 0px;
}
/* Okänd mat ska bli rödmarkerad. */
.unknown,
.unknown a {
  color: red;
}
.comment {
  font-style: italic;
}
section {
  padding-top: 60px;
}
/* Chat-status. */
#chatStatus {
  border: 0px;
  margin-right: 0px;
  margin-left: 6px;
}
/* Så här behöver man göra när man har navbar. */
#wrapper {
  padding-top: 40px;
}
/* Flyttar ner sökikonen lite så den alignar bättre, samt skapar extrautrymme till vänster. Finns troligen snyggare lösning för utrymmet */
#navbar-search i {
  margin-top: 2px;
  margin-left: 10px;
}
/* "Reklambilden" i botten. */
.adImage {
  border-top: 2px solid black;
}
/* Länkar i footern m.m ska vara gråa. */
.grey {
  color: #555;
}
.light-grey {
  color: #777;
}
@media (max-width: 768px) {
  /* Remove any padding from the body */
  #wrapper {
    padding-top: 20px;
  }
}
@media (max-width: 768px) {
  /* Remove any padding from the body */
  #wrapper {
    padding-top: 0px;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  /* Remove any padding from the body */
  #wrapper {
    padding-top: 0;
  }
}
/* TEST TEST TEST */
/* Popovers */
.input-example {
  padding-bottom: 24px;
}
.input-example .popover {
  position: relative;
  display: block;
  float: left;
}
/* TEST TEST TEST */
/* Subnav */
.subnav {
  width: 100%;
  height: 36px;
  background-color: #eeeeee;
  /* Old browsers */

  background-repeat: repeat-x;
  /* Repeat the gradient */

  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
  /* FF3.6+ */

  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f5f5), color-stop(100%, #eeeeee));
  /* Chrome,Safari4+ */

  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
  /* Chrome 10+,Safari 5.1+ */

  background-image: -ms-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
  /* IE10+ */

  background-image: -o-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
  /* Opera 11.10+ */

  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0);
  /* IE6-9 */

  background-image: linear-gradient(top, #f5f5f5 0%, #eeeeee 100%);
  /* W3C */

  border: 1px solid #e5e5e5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.subnav .nav {
  margin-bottom: 0;
}
.subnav .nav > li > a {
  margin: 0;
  padding-top: 11px;
  padding-bottom: 11px;
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #e5e5e5;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
  padding-left: 13px;
  color: #777;
  background-color: #e9e9e9;
  border-right-color: #ddd;
  border-left: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.05);
}
.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
  border-top-color: #777;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
  border-left: 0;
  padding-left: 12px;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}
.subnav .nav > li:last-child > a {
  border-right: 0;
}
.subnav .dropdown-menu {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
@media (min-width: 980px) {
  .subnav-fixed {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1020;
    /* 10 less than .navbar-fixed to prevent any overlap */
  
    border-color: #d5d5d5;
    border-width: 0 0 1px;
    /* drop the border on the fixed edges */
  
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 0 #ffffff, 0 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 0 #ffffff, 0 1px 5px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 #ffffff, 0 1px 5px rgba(0, 0, 0, 0.1);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    /* IE6-9 */
  
  }
  .subnav-fixed .nav {
    width: 938px;
    margin: 0 auto;
    padding: 0 1px;
  }
  .subnav .nav > li:first-child > a,
  .subnav .nav > li:first-child > a:hover {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
}
