/* BASE */
/*
       _ _                     _   _
 _ __ / / | ___ _ __ ___  __ _| |_(_)_   _____
| '_ \| | |/ __| '__/ _ \/ _` | __| \ \ / / _ \
| |_) | | | (__| | |  __/ (_| | |_| |\ V /  __/
| .__/|_|_|\___|_|  \___|\__,_|\__|_| \_/ \___|
|_|

/*
|--------------------------------------------------------------------------
| Variables
| Author: P11
| Visit us: @ p11.com
|--------------------------------------------------------------------------
/* GLOBAL*/
/* FONTS*/
/* COLORS */
/* BREAKPOINTS */
/* Extra small mobile */
/* Mobile */
/* Tablet */
/* Middle Sized Devices */
/* Small Laptop */
/* Large Laptop / Desktop */
/* Large Desktop */
/*
       _ _                     _   _
 _ __ / / | ___ _ __ ___  __ _| |_(_)_   _____
| '_ \| | |/ __| '__/ _ \/ _` | __| \ \ / / _ \
| |_) | | | (__| | |  __/ (_| | |_| |\ V /  __/
| .__/|_|_|\___|_|  \___|\__,_|\__|_| \_/ \___|
|_|

/*
|--------------------------------------------------------------------------
| Mixins
| Author: P11 Interactive Team
| Visit us: @ p11.com
|--------------------------------------------------------------------------
| 1. Resets
| 2. Positioning
|
| Notes: Define patterns of property value pairs, which can then be reused in other rule sets
|
*/
/*
| Font Smoothing
| --------------------------------------------------
|
| Aligns most of the browsers with the same font antialiasing.
|
*/
/*
| Strict Button Style
| --------------------------------------------------
|
| Sets the button style appearance to none for various
| mobile browsers and OS's that will auto change the styling
|
*/
/*
| Positioning
| --------------------------------------------------
|
| The following mixins are used for positioning elements
| via the absolute rule
|
*/
/*
| Transition
| --------------------------------------------------
|
| Used to apply all browser prefixes for the css3
| transition property
|
*/
/*
| Box Shadow
| --------------------------------------------------
|
| Used to apply all browser prefixes for the css3
| box-shadow property
|
*/
/*
| Text Shadow
| --------------------------------------------------
|
| Used to apply all browser prefixes for the css3
| text-shadow property
|
*/
/*
| SVG Shadow
| --------------------------------------------------
|
| Used to apply all browser prefixes for the css3
| filter property
|
*/
/*
| Responsive Media Query Mixins
| --------------------------------------------------
|
| The following mixins are used for applying various
| media queries and specified breakpoints
|
*/
/*
| Transparent Colors
| --------------------------------------------------
|
| Function for creating transparent colors.
|
*/
/*
| Gradient Backgrounds
| --------------------------------------------------
|
| Mixin for creating gradient backgrounds
| @include bg-gradient(fn-transparent-color($color-black, 1), fn-transparent-color($color-black, 0), top, bottom, 0%, 100%);
|
*/
/*
| Rotation
| --------------------------------------------------
|
| Mixin for applying the correct browser prefixes for the
| transform: rotate property
|
*/
/*
| Keyframe animations
| --------------------------------------------------
| Mixin for applying animations to elements
|
*/
/* BLOCKS */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  GRID GALLERY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.grid-gallery ul.gallery-list {
  position: relative;
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .grid-gallery ul.gallery-list {
    grid-template-columns: 1fr;
  }
}
.grid-gallery ul.gallery-list li {
  position: relative;
  display: block;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 50%;
  overflow: hidden;
}
@media (max-width: 768px) {
  .grid-gallery ul.gallery-list li {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}
.grid-gallery ul.gallery-list li a {
  color: #ffffff;
  display: block;
  height: 30vw;
  min-height: 350px;
  cursor: zoom-in;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
@media (max-width: 768px) {
  .grid-gallery ul.gallery-list li a {
    height: 350px !important;
  }
}
@media (max-width: 640px) {
  .grid-gallery ul.gallery-list li a.is-image {
    pointer-events: none;
  }
}
.grid-gallery ul.gallery-list li a .bgimg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  -webkit-transition: transform 0.5s ease-out;
  -moz-transition: transform 0.5s ease-out;
  -ms-transition: transform 0.5s ease-out;
  -o-transition: transform 0.5s ease-out;
  transition: transform 0.5s ease-out;
}
@media (max-width: 640px) {
  .grid-gallery ul.gallery-list li a .bgimg {
    transform: scale(1) !important;
  }
}
.grid-gallery ul.gallery-list li a:hover > .overlay, .grid-gallery ul.gallery-list li a:hover > .caption {
  opacity: 0.8;
}
.grid-gallery ul.gallery-list li a:hover {
  display: block;
}
.grid-gallery ul.gallery-list li a:hover .bgimg {
  transform: scale(1.07);
}
.grid-gallery ul.gallery-list li .overlay {
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.3s opacity ease-in-out;
}
@media (max-width: 640px) {
  .grid-gallery ul.gallery-list li .overlay {
    display: none !important;
  }
}
.grid-gallery ul.gallery-list li.with-icon a .vr-icon,
.grid-gallery ul.gallery-list li.with-icon a .video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 9;
  width: 100%;
  height: auto;
  font-size: 9em; /*3em;*/
  display: block;
  text-align: center;
  line-height: 1em;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -ms-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  -webkit-filter: drop-shadow(3px 3px 2px transparentify(#000000, 0.3));
  -moz-filter: drop-shadow(3px 3px 2px transparentify(#000000, 0.3));
  -o-filter: drop-shadow(3px 3px 2px transparentify(#000000, 0.3));
  filter: drop-shadow(3px 3px 2px transparentify(#000000, 0.3));
}
.grid-gallery ul.gallery-list li.with-icon a .video-icon {
  font-size: 4em;
}
.grid-gallery ul.gallery-list li.with-icon a:hover .vr-icon,
.grid-gallery ul.gallery-list li.with-icon a:hover .video-icon {
  opacity: 0.5;
}
.grid-gallery ul.gallery-list img {
  height: auto;
  width: 100%;
}
@media (min-width: 768px) {
  .grid-gallery ul.gallery-list img {
    height: auto;
  }
}
.grid-gallery ul.gallery-list.three-column {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid-gallery ul.gallery-list.three-column li a {
  height: 20vw;
  cursor: zoom-in;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
@media (max-width: 1248px) {
  .grid-gallery ul.gallery-list.three-column {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .grid-gallery ul.gallery-list.three-column {
    grid-template-columns: 1fr;
  }
}
.grid-gallery ul.gallery-list.four-column {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.grid-gallery ul.gallery-list.four-column li a {
  height: 15vw;
  min-height: 250px;
  cursor: zoom-in;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
@media (max-width: 1024px) {
  .grid-gallery ul.gallery-list.four-column li a {
    min-height: 300px;
  }
}
@media (max-width: 768px) {
  .grid-gallery ul.gallery-list.four-column li a {
    min-height: 400px;
  }
}
@media (max-width: 1248px) {
  .grid-gallery ul.gallery-list.four-column {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 1024px) {
  .grid-gallery ul.gallery-list.four-column {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .grid-gallery ul.gallery-list.four-column {
    grid-template-columns: 1fr;
  }
}
.grid-gallery .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 20;
  opacity: 0;
  text-align: center;
  transition: 0.3s opacity ease-in-out;
  font-size: 1.125rem;
  width: 100%;
  padding: 2em;
  line-height: 1.125em;
}
@media (max-width: 640px) {
  .grid-gallery .caption {
    padding: 0.5em;
    font-size: 1.25em;
    opacity: 1 !important;
    background-color: rgba(var(--secondary-color-rgb), 0.85);
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    transform: translate(0);
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
  }
}

.title {
  width: 33.3333333%;
  text-align: center;
  padding: 0.75rem 0;
  color: #ffffff;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .title {
    font-size: 0.7rem;
  }
}

.logo {
  width: 33.33333%;
}

#gallery-video-vr {
  position: relative;
  width: 95%;
  height: 50vw;
  max-height: calc(100vh - 4em);
  margin: 2em auto 2em;
  max-width: 1200px;
}
@media (max-width: 768px) {
  #gallery-video-vr {
    height: 65vw;
  }
}
@media (max-width: 640px) {
  #gallery-video-vr {
    height: 100vw;
  }
}
#gallery-video-vr iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
