/* Homepage Overlay Gallery */
.close-btn {
  font-size: 30px;
  width: 30px;
  height: 30px;
  position: fixed;
  top: 12px;
  right: 12px;
  color: #fff;
  z-index: 999999;
  display: none;
}
.overlay-gallery {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99;
  display: none;
  /* Custom arrows */
}
.overlay-gallery .slide {
  width: 100%;
  height: 100%;
  padding: 50px;
}
.overlay-gallery .slide .text {
  float: left;
  min-height: 1px;
  width: 33%;
  padding: 0 20px 0 75px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  font-family: inherit;
  text-transform: uppercase;
  height: 100%;
  display: table;
}
.overlay-gallery .slide .text .vertical-center {
  display: table-cell;
  vertical-align: middle;
}
.overlay-gallery .slide .text .credits {
  font-size: 12px;
  line-height: 16px;
  text-transform: capitalize;
  display: block;
  margin-top: 10px;
}
.overlay-gallery .slide .img {
  float: right;
  min-height: 1px;
  width: 66%;
  display: inline-block;
  padding: 0 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  display: table;
}
.overlay-gallery .slide .img .vertical-center {
  display: table-cell;
  vertical-align: middle;
}
.overlay-gallery .slide .img img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  vertical-align: middle;
}
.overlay-gallery button.slick-prev {
  z-index: 10000 !important;
  position: absolute;
  width: 36px;
  /*height: 26px;*/
  height: 40px;
  top: 50%;
  margin-top: -13px;
  left: 30px;
  border: none;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.overlay-gallery button.slick-prev:focus {
  outline: none;
}
.overlay-gallery button.slick-prev:before {
  content: '';
  font-size: 0;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  border-width: 13px 20px 13px 0 !important;
  border-color: transparent #ffffff transparent transparent !important;
}
.overlay-gallery button.slick-prev:before:hover {
  border-color: #bababa !important;
}
.overlay-gallery button.slick-next {
  z-index: 10000 !important;
  position: absolute;
  width: 36px;
  /*height: 26px;*/
  height: 40px;
  top: 50%;
  margin-top: -13px;
  right: 30px;
  border: none;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.overlay-gallery button.slick-next:focus {
  outline: none;
}
.overlay-gallery button.slick-next:before {
  content: '';
  font-size: 0;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  border-width: 13px 0 13px 20px !important;
  border-color: transparent transparent transparent #ffffff !important;
}
.overlay-gallery button.slick-next:before:hover {
  border-color: #bababa !important;
}
.slick-slider {
  -webkit-user-select: text !important;
  -khtml-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
.slick-list.draggable {
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}
#main_menu nav ul li {
  margin-left: 0 !important;
}
@media screen and (min-width: 768px) and (max-width: 992px) {
  .overlay-gallery {
    overflow-y: scroll !important;
  }
  .overlay-gallery .slide .text,
  .overlay-gallery .slide .img {
    width: 100%;
    float: none;
    padding: 0 34px;
  }
  .overlay-gallery .slide .text {
    margin-top: 20px;
  }
}
@media screen and (max-width: 767px) {
  .overlay-gallery {
    overflow-y: scroll !important;
  }
  .overlay-gallery .slide {
    overflow-x: auto;
  }
  .overlay-gallery .slide .text,
  .overlay-gallery .slide .img {
    width: 100%;
    float: none;
    padding: 0;
  }
  .overlay-gallery .slide .text {
    margin-top: 20px;
  }
  .overlay-gallery button.slick-arrow {
    display: none !important;
  }
}
