body {
  padding-top: 20px;
  padding-bottom: 20px;
  background: url(/template/img/background.jpg) no-repeat center center fixed;
  background-size: cover;
  height: 100%;
}

.navbar {
  margin-bottom: 0;
  border-radius: 0px;
  /*margin-left: 30px;*/
  margin-left: -10px;
  margin-right: -10px;
}

.navbar:before {
  content: '';
  left: -1px;
  width: 0;
  display: block;
  position: absolute;
  bottom: -11px;
  height: 0;
  border-top: 10px solid #a7a7a7;
  border-left: 10px solid transparent;
}

.navbar:after {
  content: '';
  right: -1px;
  width: 0;
  display: block;
  position: absolute;
  bottom: -11px;
  height: 0;
  border-top: 10px solid #a7a7a7;
  border-right: 10px solid transparent;
}

.navbar-brand {
  padding: 0;
  margin-left: 5px ! important;
  margin-right: 10px;
}

.page-header {
  margin: 0px 0px 20px;
  border-color: #444;
}

.text-muted {
  color: #777 ! important;
}
.text-primary {
  color: #337ab7 ! important;
}
.text-success {
  color: #3c763d ! important;
}
.text-info {
  color: #31708f ! important;
}
.text-warning {
  color: #8a6d3b ! important;
}
.text-danger {
  color: #a94442 ! important;
}

.jumbotron, .btn, .well, .alert {
  border-radius: 0px ! important;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
}

.popup {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(0,0,0,0.7);
  display: none;
}

.popup-window {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 500px;
  height: 80%;
  margin-left: -250px;
}

.popup-content {
  overflow-y: scroll;
  max-height: calc(100% - 20px);
}

.heptagon {
  -webkit-clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  width: 50px;
  height: 50px;
}

.no-link, .no-link:visited {
  text-decoration: none;
  color: #666;
}

table.inventory {
  vertical-align: middle;
  text-align: center;
  border-spacing: 5px;
  border-collapse: separate;
}

td.inventory-cell {
  width: 64px;
  height: 64px;
  border: 1px double black;
  border-radius: 10px;
  background-color: #ddd;
  margin: 5px;
}

.pixelated {
  image-rendering: pixelated;
}