.flex-row {
  display: flex;
}
.w-50 {
  width: 58%;
}

.img-wrapper a {
  display: block;
  height: 100%;
  width: 100%;
}

.img-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid #fff;
}
.img-wrapper,
.img-wrapper img {
  height: 100%;
}
.gallery-wrapper {
  display: flow-root;
  overflow: hidden;
}
.flex-row.items .img-wrapper,
.gallery-map {
  height: 225px;
}
.gallery-wrapper,
.swiper-slide > .img-wrapper {
  height: 450px;
}
.gallery-map {
  width: 300px;
}
.static-map {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  z-index: 1;
}
body .modal-backdrop {
  z-index: 1040;
}
body .modal-backdrop.fade {
  background-color: #000;
}
body .modal-backdrop.in {
  opacity: 0.9;
}
body .modal-backdrop:nth-child(2n-1) {
  opacity: 0;
}
.gallery .modal:before {
  height: auto;
}
.gallery .modal {
  overflow: hidden;
}
.gallery nav.navbar {
  position: static;
}
.gallery .navbar a.navbar-brand {
  color: #ff8d1b;
  padding: 15px 0;
  border-bottom: 2px solid;
}
.gallery .navbar {
  border-bottom: 1px solid #444;
}
a.btn.btn-main {
  background-color: #ff8d1b;
  border-radius: 3px;
  height: 35px;
  font-size: larger;
  margin-top: 8px;
  font-weight: 500;
  padding-top: 8px;
  color: #fff;
}
a.btn.btn-main:focus,
a.btn.btn-main:hover {
  border: 2px solid #ff8d1b;
  color: #ff8d1b;
  background: 0 0;
}
.gallery .navbar li {
  padding: 0 15px;
}
.gallery li a.part {
  font-size: 17px;
  vertical-align: middle;
  padding: 16px 0;
  font-weight: 100;
  color: #fff;
}
a.part .glyphicon {
  margin-right: 12px;
  font-size: 21px;
  line-height: 1;
  vertical-align: sub;
}
.gallery button.close {
  color: #fff;
  font-size: 5rem;
  font-weight: 100;
  opacity: 0.8;
}
.gallery a.part:focus,
.gallery a.part:hover {
  background: 0 0;
}
button.close:focus {
  outline: 0;
}
.gallery .modal:before {
  content: none;
}
.gallery .navbar-header {
  padding-left: 25px;
}
.gallery-slider .img-wrapper,
.gallery-slider .img-wrapper img {
  border: none;
  height: calc(100vh - 150px);
}
.gallery-slider .img-wrapper {
  display: inline-block;
  position: relative;
}
.gallery-slider .swiper-button-next {
  right: 5vw;
  padding: 8px;
  border: 1px solid #fff7;
  width: 44px;
  height: 60px;
}
.gallery-slider .swiper-button-prev {
  left: 5vw;
  padding: 8px;
  border: 1px solid #fff7;
  width: 44px;
  height: 60px;
}
.gallery-slider {
  margin-top: 5vh;
}
.gallery .info-label {
  margin-top: 20px;
  font-size: 16px;
  color: #fff;
}
.gallery .info-label label {
  font-weight: 100;
}
.gallery .info-label.text-left label {
  font-weight: 500;
  font-size: 15px;
  max-width: 250px;
}
.gallery-slider .swiper-pagination.swiper-pagination-fraction {
  background: #444;
  width: auto;
  right: 10px;
  left: auto;
  color: #fff;
  top: 10px;
  bottom: auto;
  padding: 5px 12px;
  border-radius: 3px;
}
.gallery-map-content .map-container {
  margin-top: 8vh;
  padding: 0 5vw;
}
.gallery-map-content .map-wrapper {
  display: flow-root;
  padding: 0 5vw;
}
.gallery-map-content .frame-map {
  width: 100%;
  height: calc(100vh - 220px);
}
@media only screen and (max-width: 992px) {
  .flex-row.items .img-wrapper,
  .gallery-map {
    height: 200px;
  }
  .gallery-wrapper,
  .swiper-slide > .img-wrapper {
    height: 400px;
  }
  .gallery-slider .img-wrapper,
  .gallery-slider .img-wrapper img {
    height: auto;
  }
  .gallery-map-content .map-container {
    margin-top: 5vh;
    padding: 0 2vw;
  }
  .adj-img {
    width: 100%;
  }
  .modal-open .modal {
    overflow-y: auto;
  }
}
@media only screen and (max-width: 576px) {
  .flex-row.items .img-wrapper,
  .gallery-map {
    height: 175px;
  }
  .gallery-wrapper,
  .swiper-slide > .img-wrapper {
    height: 350px;
  }
  .gallery-slider .img-wrapper,
  .gallery-slider .img-wrapper img {
    height: auto;
  }
  .gallery .navbar-header:before {
    content: none;
  }
  .gallery .navbar-header {
    float: left;
  }
  .gallery .nav > li {
    float: left;
  }
  .gallery-slider .swiper-pagination.swiper-pagination-fraction {
    right: auto;
    left: 10px;
  }
  #mapGalleryModal .navbar li {
    padding: 0 10px;
  }
  .adj-img {
    width: 100%;
  }
  .modal-open .modal {
    overflow-y: auto;
  }
}
