/* 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 */
.content-grid .grid-texture,
.content-grid .grid-texture-reverse {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  z-index: -1;
}
.content-grid .grid-texture-reverse {
  left: auto;
  right: 0;
}
.content-grid .content-grid-content {
  position: relative;
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .content-grid .content-grid-content {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 2rem;
  }
}
.content-grid .content-grid-content.one-column {
  display: block;
  text-align: center;
}
.content-grid .content-grid-content.one-column .content-grid-item {
  margin: 0 auto;
}
.content-grid .content-grid-content.three-column {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 768px) {
  .content-grid .content-grid-content.three-column {
    grid-template-columns: 1fr;
  }
}
.content-grid .content-grid-content.four-column {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 1248px) {
  .content-grid .content-grid-content.four-column {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .content-grid .content-grid-content.four-column {
    grid-template-columns: 1fr;
  }
}
.content-grid .content-grid-content .content-grid-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
@media (max-width: 768px) {
  .content-grid .content-grid-content .content-grid-item {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-image {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 0;
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content {
  position: relative;
  z-index: 1;
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content .googledirections-map {
  max-height: 500px !important;
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content .googledirections-map #cd-zoom-in {
  top: 50px;
  left: 12px;
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content .googledirections-map #cd-zoom-out {
  top: 50px;
  left: 64px;
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content h2 {
  margin: 0;
  margin-bottom: 1rem;
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content p {
  line-height: 1.75em;
}
@media (max-width: 640px) {
  .content-grid .content-grid-content .content-grid-item .content-grid-item-content p {
    line-height: 1.5em;
  }
}
.content-grid .content-grid-content .content-grid-item .content-grid-item-content p:last-of-type {
  margin-bottom: 0;
}
.content-grid .content-grid-content .content-grid-item .overlay {
  opacity: 0.5;
  -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;
}
.content-grid .content-grid-content .content-grid-item a {
  text-decoration: none;
  margin-top: 1.5rem;
}
.content-grid .content-grid-content .content-grid-item a.arrowlink {
  font-size: 1.25rem;
}
.content-grid .content-grid-content .content-grid-item a.full-item-link {
  margin: 0;
}
.content-grid .content-grid-content .content-grid-item a.full-item-link:hover .overlay {
  opacity: 0.7;
}
.content-grid .content-grid-content .content-grid-item.play-video a.full-item-link .content-grid-item-content .title-image {
  transition: transform 0.5s ease;
}
.content-grid .content-grid-content .content-grid-item.play-video a.full-item-link:hover .content-grid-item-image .overlay {
  opacity: 0.5 !important;
}
.content-grid .content-grid-content .content-grid-item.play-video a.full-item-link:hover .content-grid-item-content .title-image {
  transform: scale(1.1);
}
.content-grid .content-grid-content .content-grid-item {
  /* &.testimonial {
    &:first-child {
      .content-grid-item-content {
        display: flex;
        justify-content: right;
      }
    }
    .default-content {
      max-width: 600px;
    }
  } */
}
@media (max-width: 768px) {
  .content-grid .content-grid-content .content-grid-item.auto-height-mobile {
    align-self: start;
    height: auto;
  }
}
.content-grid .content-grid-content.mosaic {
  display: block;
  column-count: 2;
}
@media (max-width: 768px) {
  .content-grid .content-grid-content.mosaic {
    column-count: 1;
  }
}
.content-grid .content-grid-content.mosaic.three-column {
  column-count: 3;
}
@media (max-width: 768px) {
  .content-grid .content-grid-content.mosaic.three-column {
    column-count: 1;
  }
}
.content-grid .content-grid-content.mosaic.four-column {
  column-count: 4;
}
@media (max-width: 1024px) {
  .content-grid .content-grid-content.mosaic.four-column {
    column-count: 2;
  }
}
@media (max-width: 768px) {
  .content-grid .content-grid-content.mosaic.four-column {
    column-count: 1;
  }
}
.content-grid .content-grid-content.mosaic .content-grid-item {
  break-inside: avoid-column;
}

/*# sourceMappingURL=content-grid.css.map */
