/* Pine Cliff photo grid (replaces Essential Grid). See pcw-grid.js.
   The eg-pcw-gallery-wcaption-* rules are the site's own grid skin, carried
   over verbatim so the tiles look exactly as before. */

.pcw-grid-wrap { position: relative; }
.pcw-grid {
  width: 100%; max-width: 100%; position: relative; box-sizing: border-box;
  font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased;
}
.pcw-grid * { -webkit-font-smoothing: antialiased; }
.pcw-grid-list { list-style: none !important; margin: 0 !important; padding: 0 !important; position: relative; width: 100%; max-width: 100%; height: 0; overflow: visible; }
.pcw-grid .pcw-tile {
  position: absolute; top: 0; left: 0; margin: 0 !important; padding: 0 !important; list-style: none !important;
  visibility: hidden; opacity: 0; overflow: hidden; box-sizing: border-box;
  border: 0 solid transparent; outline: 0 solid transparent;
}
.pcw-grid.is-ready .pcw-tile { visibility: visible; }
.pcw-grid.is-ready .pcw-tile.is-in { opacity: 1; }
.pcw-grid a, .pcw-grid a:hover, .pcw-grid a:focus { border: none; text-decoration: none; }

.pcw-tile-inner { position: relative; width: 100%; height: 100%; }
.pcw-tile-link { display: block; width: 100%; height: 100%; }
.pcw-tile-media { width: 100%; height: 100%; background-color: #fff; }
.pcw-tile-img {
  display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  object-fit: cover; object-position: center center; max-width: none !important; min-width: 0 !important;
}

/* Hover cover: the overlay fades in over 0.3s, the icon 0.1s after it. The
   cover sits over the image link, so a click outside the icon does nothing
   (as before); only the round icon opens the lightbox. */
.pcw-tile-cover {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; box-sizing: border-box;
  border: 0 solid transparent; outline: 0 solid transparent; visibility: hidden;
}
.pcw-tile.esg-hovered .pcw-tile-cover { visibility: visible; }
.pcw-tile-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0 solid transparent; outline: 0 solid transparent;
  opacity: 0; transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.pcw-tile.esg-hovered .pcw-tile-overlay { opacity: 1; }
.pcw-tile-center {
  position: absolute; top: 50%; left: 50%;
  opacity: 0; transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.pcw-tile.esg-hovered .pcw-tile-center { opacity: 1; transition-delay: 0.1s; }

/* Inline search icon drawn to the Entypo glyph metrics the icon font used. */
.pcw-icon-search { display: inline-block; width: 1em; height: 1em; margin: 0 0.2em; line-height: 1em; text-align: center; vertical-align: -0.15em; font-style: normal; }
.pcw-icon-search svg { display: block; width: 1em; height: 1em; fill: currentColor; }

/* Grid skin "PCW Gallery W/Caption" (Essential Grid skin 54). */
.eg-pcw-gallery-wcaption-element-16 {
  font-size: 16px !important; line-height: 22px !important; color: #ffffff !important; font-weight: 400 !important;
  padding: 17px 17px 17px 17px !important; border-radius: 60px 60px 60px 60px !important;
  background-color: rgba(255, 255, 255, 0.15) !important; z-index: 2 !important; display: block; font-family: "Open Sans" !important;
  border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important;
  border-color: #ffffff !important; border-style: solid !important; box-sizing: content-box; margin: 0;
}
.eg-pcw-gallery-wcaption-element-16:hover {
  font-size: 16px !important; line-height: 22px !important; color: #ffffff !important; font-weight: 400 !important;
  border-radius: 60px 60px 60px 60px !important; background-color: rgba(0, 0, 0, 0.50) !important;
  border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important;
  border-color: #ffffff !important; border-style: solid !important;
}
.eg-pcw-gallery-wcaption-element-16-a { display: inline-block !important; float: none !important; clear: none !important; margin: 0px 10px 0px 0px !important; position: relative !important; }
.pcw-grid .esg-center.eg-pcw-gallery-wcaption-element-16-a { position: absolute !important; }
.eg-pcw-gallery-wcaption-container { background-color: rgba(98, 189, 145, 0.75); }
.eg-pcw-gallery-wcaption-content { background-color: #000000; padding: 0px 0px 0px 0px; border-width: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; border-color: transparent; border-style: none; text-align: left; }
.esg-grid .mainul li.eg-pcw-gallery-wcaption-wrapper { background-color: #000000; padding: 0px 0px 0px 0px; border-width: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; border-color: transparent; border-style: none; }
