* {
  box-sizing: border-box; }

img {
  display: block;
  max-width: 100%; }

body {
  padding: 0 0 20px;
  display: block;
  font: 14px Rubik, Arial, sans-serif;
  background: #fff;
  min-height: 100vh;
  position: relative; }

a {
  color: inherit; }

input, textarea, select {
  font-family: Rubik, Arial, sans-serif; }

.row {
  width: 100%;
  margin-left: auto;
  margin-right: auto; }

.clear {
  clear: both; }

.row, .clear {
  clear: both; }
  .row:before, .row:after, .clear:before, .clear:after {
    content: ' ';
    display: table; }

.inner {
  padding: 0 25px; }

header {
  background: #050705;
  color: #fff;
  padding: 25px; }

header:not(.home) {
  color: #fff;
  padding: 15px 25px;
  float: left;
  width: 100%;
  clear: both; }
  header:not(.home) a {
    text-decoration: none; }
  header:not(.home) h2 {
    float: left;
    margin: 0; }
    header:not(.home) h2 a {
      padding: 0;
      margin: 0; }
  header:not(.home) nav {
    float: left;
    margin: 2px 0 0 95px;
    vertical-align: middle; }
    header:not(.home) nav a {
      font-size: 17px;
      padding: 3px 5px;
      margin-right: 10px;
      background: #101610; }
  header:not(.home) div {
    float: right;
    margin: 0;
    font-size: 16px;
    position: relative;
    overflow: visible; }
    header:not(.home) div p {
      margin: 0;
      float: left; }
    header:not(.home) div input {
      padding: 3px;
      margin: 0 10px; }
      header:not(.home) div input[type='number'] {
        width: 40px; }
    header:not(.home) div ul {
      position: absolute;
      width: 100%;
      margin: 0;
      padding: 10px;
      top: 42px;
      border: 1px solid #050705;
      color: #050705;
      background: #fff;
      z-index: 2; }
      header:not(.home) div ul li {
        list-style: none;
        font-size: 13px;
        line-height: 1.2em; }
        header:not(.home) div ul li a {
          padding: 3px;
          display: block; }
          header:not(.home) div ul li a:hover {
            text-decoration: underline; }
          header:not(.home) div ul li a span {
            font-size: 15px;
            vertical-align: middle;
            display: inline-block;
            margin-right: 10px; }

.home header {
  text-align: center;
  background: #fff;
  color: #050705;
  position: relative;
  transition: all 0.5s; }
  .home header h1 {
    font-size: 40px;
    margin: 20px 0 10px; }
  .home header img {
    margin: 0 auto;
    transition: all 0.5s; }

.modified header h1 {
  font-size: 36px;
  text-align: left; }

.modified header h2 {
  float: left; }

.modified header img {
  width: 125px;
  height: 120px;
  position: absolute;
  top: 25px;
  right: 25px; }

#index-list > a.admin {
  display: inline-block;
  margin-bottom: 10px; }

#index-list ul {
  padding: 0;
  margin: 0; }
  #index-list ul li {
    list-style: none;
    font-size: 16px;
    line-height: 1.4em; }
    #index-list ul li a {
      padding: 5px;
      display: inline-block;
      color: #050705;
      text-decoration: none; }
      #index-list ul li a.admin {
        color: #fff; }
      #index-list ul li a:hover {
        text-decoration: underline; }
      #index-list ul li a span {
        font-size: 22px;
        font-family: 'Sedgwick Ave', cursive;
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle; }
      #index-list ul li a i {
        display: inline-block;
        content: "";
        border-radius: 50%;
        width: 10px;
        height: 10px;
        margin-left: 5px; }
        #index-list ul li a i.production {
          background-color: #c18410; }
        #index-list ul li a i.in-stock {
          background-color: #2bb500; }
        #index-list ul li a i.out-of-stock {
          background-color: #C20114; }

.pagination {
  margin: 20px 10px;
  font-weight: bold;
  font-size: 16px; }
  .pagination a {
    color: #00B7FF;
    padding: 10px; }

.centerContainer {
  width: 800px;
  max-width: 100%;
  margin: 0 auto; }

.errorContainer {
  padding: 25px;
  float: left; }
  .errorContainer a {
    font-size: 16px;
    margin-top: 25px; }

.homeSearch label {
  font-size: 18px;
  font-weight: bold; }

.homeSearch label, .homeSearch input {
  margin-bottom: 15px; }

.homeSearch p + p label, .homeSearch p + p input {
  display: block;
  width: 100%; }

.homeSearch input {
  font-size: 20px;
  line-height: 30px;
  border: 1px solid #050705;
  padding: 5px; }
  .homeSearch input[type=number] {
    display: inline-block;
    height: 48px;
    width: 48px;
    border-radius: 24px;
    margin-left: 5px; }

.homeList ul {
  padding: 0;
  margin: 0; }
  .homeList ul li {
    display: block;
    width: 100%;
    border: 1px solid #060806;
    padding: 1px;
    font-size: 14px;
    margin-bottom: 2px; }
    .homeList ul li a {
      padding: 15px;
      display: block;
      width: 100%;
      color: #050705;
      text-decoration: none; }
      .homeList ul li a span {
        font-size: 20px;
        font-family: 'Sedgwick Ave', cursive;
        display: inline-block;
        padding: 5px 10px 5px 0;
        border-right: 1px solid #000;
        margin: -10px 10px -10px 0;
        vertical-align: middle; }
      .homeList ul li a:hover {
        color: #fff;
        background-color: #304330; }
    .homeList ul li.nope {
      color: #F00;
      padding: 15px;
      font-size: 14px;
      font-style: italic; }

.item main {
  position: relative; }

.item .inner {
  margin-left: 230px;
  margin-right: 450px; }

.item h1 {
  font-size: 36px;
  margin-top: 36px; }

.item h2 span {
  font-weight: normal; }

.item .cap {
  float: left;
  width: 200px;
  height: 200px;
  margin-left: -230px;
  font-size: 90px;
  font-weight: bold;
  font-family: 'Sedgwick Ave', cursive;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  line-height: 200px;
  background: url(../images/kapsel.png) no-repeat center center; }
  .item .cap.long {
    font-size: 70px; }

.item .details {
  font-size: 18px;
  line-height: 1.6em;
  margin: 20px 0; }
  .item .details .production {
    color: #c18410; }
  .item .details .in-stock {
    color: #2bb500; }
  .item .details .out-of-stock {
    color: #C20114; }

.item .moreBeers h3 {
  margin: 20px 0 10px; }

.item .moreBeers a {
  display: inline-block;
  width: auto;
  margin: 0 10px 10px 0;
  border: 1px solid #060806;
  padding: 8px 10px;
  font-size: 15px;
  text-decoration: none; }
  .item .moreBeers a span {
    font-size: 17px;
    font-family: 'Sedgwick Ave', cursive;
    padding-right: 8px;
    vertical-align: middle; }
  .item .moreBeers a:hover {
    color: #fff;
    background-color: #1a251a; }

.item img {
  position: absolute;
  top: 25px;
  right: 25px;
  border: 3px solid #050705;
  max-width: 400px; }

footer {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px;
  font-size: 11px;
  color: #6D7275; }

@media screen and (max-device-width: 1080px) {
  .item img {
    position: static;
    margin: 25px auto; }
  .item .inner {
    margin-right: 0; } }

@media screen and (max-device-width: 960px) {
  header:not(.home) h2 {
    margin-bottom: 20px;
    text-align: center; }
  header:not(.home) h2, header:not(.home) div {
    width: 100%;
    clear: both; }
  header:not(.home) nav {
    width: 100%;
    margin: 3px;
    text-align: center; }
    header:not(.home) nav a {
      padding: 5px; }
  header:not(.home) p {
    padding: 10px 0;
    width: 100%; }
    header:not(.home) p label {
      width: 60px;
      display: inline-block; }
    header:not(.home) p input {
      margin: 0 10px;
      width: calc(100% - 80px) !important;
      line-height: 2em;
      padding: 5px; } }

@media screen and (max-device-width: 640px) {
  .item .inner {
    margin: 0 0 20px; }
  .item .cap {
    width: 100%;
    text-align: center;
    clear: both;
    margin: 0 0 20px; } }

form input, form select, form textarea {
  padding: 3px; }

form label, form input, form select {
  display: inline-block; }

form label {
  width: 160px; }

form input[type=submit] {
  padding: 10px;
  cursor: pointer; }

form input[type=number] {
  width: 50px; }

form input + button {
  margin: 0 0 0 10px; }

form button {
  cursor: pointer; }
  form button + button {
    margin: 0 10px 0 5px; }

form.beerForm textarea {
  width: 500px; }

form.beerForm label[for=description] {
  vertical-align: top; }

a.admin {
  background-color: #C20114;
  color: #fff;
  padding: 5px;
  text-decoration: none;
  vertical-align: middle;
  font-size: 16px; }
