.v-carousel {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
}

.v-carousel,
.v-carousel--item {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.v-carousel--item {
  background-color: #eee;
  float: left;
  line-height: 0;
}

.v-carousel--item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.v-carousel--navigation div {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  color: #fff;
  width: 60px;
  cursor: pointer;
  user-select: none;
}

.v-carousel--navigation div svg {
  width: 40px;
  height: 40px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4%;
  right: 4%;
}

.v-carousel--navigation div:first-child {
  left: 0;
}

.v-carousel--navigation div:nth-child(2) {
  right: 0;
}

.v-carousel--counter {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 60px;
  color: #fff;
  z-index: 1;
}

/* Custom modification */
* {
  box-sizing: border-box;
}

html,
body {
  height: calc(100% - 60px);
  font-family: 'Ubuntu', sans-serif;
  margin: 0;
}

.gallery-layout header {
  background-color: #1e1e1e;
  position: fixed;
  height: 60px;
  width: 100%;
  top: 0;
  z-index: 9998;
  padding: 0 15px;
}

.gallery-layout header .header-container {
  max-width: 1050px;
  margin: auto;
}

.gallery-layout header .header-container__logo {
  display: inline-block;
}

.gallery-layout header .header-container img {
  height: 40px;
  margin-top: 10px;
}

.gallery-layout header .header-container__close {
  float: right;
  color: #ffffff;
  text-decoration: none;
  line-height: 60px;
  font-size: 16px;
}

.gallery-layout header .header-container__close:hover span {
  text-decoration: underline;
}

.gallery-layout header .header-container__close span:nth-child(1) {
  display: inline-block;
}

.gallery-layout header .header-container__close span:nth-child(2) {
  width: 30px;
  display: inline-block;
  float: right;
  margin: 9px 0px 0 20px;
}

.gallery-layout header .header-container__close span svg {
  width: 30px;
  height: 30px;
}

.gallery-layout {
  background-color: #1e1e1e;
}

.gallery-layout .v-carousel {
  max-width: 1080px;
  margin: 10px auto;
  height: 100%;
  max-height: 600px;
  position: relative;
}

@media screen and (max-width: 1000px) {
  .gallery-layout .v-carousel {
    height: calc(100vw / 1.5);
  }
}

.gallery-layout .v-carousel--stage {
  height: 100%;
}

.gallery-layout .v-carousel--item {
  height: 100%;
  background-color: #000;
  position: relative;
}

.gallery-layout .v-carousel--item img {
  max-height: 100%;
  width: auto;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.v-carousel--navigation div:nth-child(1):before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23fbb03b'%3E%3Cpath d='M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z'/%3E%3C/svg%3E");
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  background-size: contain;
}

.v-carousel--navigation div:nth-child(2):before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23fbb03b'%3E%3Cpath d='M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z'/%3E%3C/svg%3E");
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  background-size: contain;
}

.gallery-layout .site-leader-board {
  height: 215px;
  margin: 60px auto 0;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .gallery-layout .site-leader-board {
    height: 100px;
  }
}

.gallery-recipes-links {
  max-width: 1080px;
  margin: 10px auto;
  padding: 0 5px;
}

.gallery-recipes-links p {
  display: inline-block;
  color: grey;
  font-weight: 500;
  font-size: 1em;
  margin: 0 .3em 0 0;
}

.gallery-recipes-links a,
.gallery-recipes-links span {
  color: grey;
  font-size: 1em;
  margin: 0 .3em 0 0;
}

@media screen and (max-width: 767px) {
  .gallery-recipes-links p {
    display: block;
    text-align: center;
    padding: .5em 0;
  }

  .gallery-recipes-links a,
  .gallery-recipes-links span {
    display: block;
    text-align: center;
    line-height: 2em;
  }
}
