/*home Styles*/

#site-wrapper {
  min-height: calc(100vh);
}
.header-container {
  position: relative;
  width: 100%;
  top: 0px;
  margin: 0 0 15px;
  z-index: 11;
}
.main.wrapper {
 margin-top:0;
}
/*
.ajax-slider .slick-slide:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(29, 26, 26, 0.29), rgba(255, 255, 255, 0));
    z-index: 1;
}
*/

//video player
.intrinsic-container {
  position: relative;
  height: 0;
  overflow: hidden;
}
/* 16x9 Aspect Ratio */

.intrinsic-container-16x9 {
  padding-bottom: 56.25%;
}
/* 4x3 Aspect Ratio */

.intrinsic-container-4x3 {
  padding-bottom: 75%;
}
.intrinsic-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.home-gallery {
  position: relative;
  height: calc(100vh - 140px);
}
.ajax-container {
  width: 100%;
  position: relative;
  z-index: 10;
}
.overlay-form.darken {
  opacity: 1;
  visibility: visible;
}
.overlay-form {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.43);
  opacity: 0;
  z-index: 1;
  visibility: hidden;
  -webkit-transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.ajax-slider .slick-track {}
.ajax-slider .slick-slide {
  overflow: hidden;
  height: calc(100vh - 140px);
}
/*
.ajax-slider .slick-slide img {
    display: block;
    margin: auto;
    height: calc(100vh);
    width: calc(100vw);
    object-fit: cover;
    object-position: 50% 20%;
}
*/

.ajax-slider .slick-slide img {
  display: block;
  margin: auto;
  height: calc(100vh - 140px);
  width: calc(100vw - 40px);
  object-fit: contain;
}
.ajax-slider .compat-object-fit {
  height: calc(100vh - 140px);
  width: calc(100vw);
  display: block;
  margin: auto;
  background-position: 50% 20%;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
/*loader*/

.gallery-loader {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #191414;
  z-index: 11;
}
.loading_scene {
  width: 100%;
  height: 100%;
  -webkit-perspective: 600;
  perspective: 600;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.loading_scene svg {
  width: 194px;
  height: 60px;
}
/*modal*/

.modal.fade .modal-dialog {
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  -ms-transform: scale(0.1);
  transform: scale(0.1);
  top: 300px;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.modal.fade.in .modal-dialog {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform: translate3d(0, -165px, 0);
  transform: translate3d(0, -165px, 0);
  opacity: 1;
  width: 100vw !important;
  max-width: 770px;
  margin: auto;
}
.reg_modal .modal-content {
  background-color: #fff;
}
.reg_modal .modal-dialog {
  max-width: inherit;
}
.reg_modal .modal-body {
  position: relative;
  padding: 45px;
}
.reg_modal .modal-body h3 {
  color: #241f21;
  margin: 0 0 10px;
}
.reg_modal .modal-body p {
  color: #241f21;
  font-size: 18px;
  line-height: 1;
  margin: 0 0 30px;
}
.reg_modal .modal-body .btn {
  color: #241f21;
}
.reg_modal .modal-header {
  padding: 0;
  border-bottom: none;
}
.reg_modal .modal-body .list-inline>li {
  position: relative;
  margin-right: 10px;
  padding-right: 15px;
}
.reg_modal .modal-body .list-inline>li:after {
  position: absolute;
  content: "";
  top: 5px;
  bottom: 0;
  border-right: 2px solid #241f21;
  right: -3px;
}
.reg_modal .modal-body .list-inline>li:last-child:after {
  display: none;
}
button.close {
  position: absolute;
  top: 10px;
  right: 10px;
  box-sizing: border-box;
  width: 2em;
  height: 2em;
  border-radius: 4em;
  color: transparent;
  cursor: pointer;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  -moz-transition: all .3s ease;
  z-index: 1;
  text-indent: -9999em;
  opacity: 1;
}
.close:hover {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  -moz-transform: rotate(180deg);
}
button.close:after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -moz-transform: rotate(45deg);
}
button.close:after, button.close:before {
  position: absolute;
  width: 24px;
  height: 1px;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  content: '';
  background: #241f21;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -moz-transition: all ease 1s;
}
button.close:before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
}
@media (max-width: 768px) {
  .main.wrapper {
    margin-top: 0px;
  }
  .loading_scene svg {
    width: 130px;
    height: 40px;
  }
  #site-wrapper {
    padding: 15px;
    height: 100%;
  }
  .header-container {
    border: none;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: inherit;
  }
  .ajax-slider .slick-slide:after {
    background: rgba(0, 0, 0, 0);
  }
  .home-gallery {
    min-height: 300px;
    height: 100%;
  }
  .ajax-slider .slick-slide {
    min-height: 300px;
    height: auto;
  }
  .ajax-slider .slick-slide img {
    min-height: 300px;
    height: auto;
    width: calc(100vw - 20px);
  }
  .modal.fade.in .modal-dialog {
    width: 93vw !important;
  }
  .modal-body {
    padding: 25px;
  }
}
@media (max-width: 320px) {
  button.close {
    top: -10px;
    right: -10px;
  }
}
