/* ----------------------------------------- */
/* FONTS STACK */
/* ----------------------------------------- */
@font-face {
  font-family: "spectralM";
  src: url("Spectral-Medium.ttf");
}

:root {
  /* typography */
  --spectralSB: spectralSB, "sans-serif";
  --spectralR: spectralR, "sans-serif";
  --spectralM: spectralM, "sans-serif";
  --albertBlack: albertBlack, "sans-serif";
  --albertM: albertM, "sans-serif";
  --albertR: albertR, "sans-serif";
  --albertL: albertL, "sans-serif";
  /* colors */
  --color-primary: #01b369;
  --color-secondary: #f7c400;
  --color-white: #ffffff;
  --color-black: #000;
  --color-grey: #737373;
  --color-text: #3c4244;
  /* spacing */
  --section-spacing: 50px 55px;
  --section-spacing-unit: 50px;
  
  /* transitions */
  --transition-05: all 0.5s ease;
}
/* ----------------------------------------- */
/* GALLERY */
/* ----------------------------------------- */
#block-views-block-gallery-block-1 {
  padding-top: var(--section-spacing-unit);
  /* padding-bottom: var(--section-spacing-unit); */
}
.gallery-link {
  display: block;
  overflow: hidden;
  transition: var(--transition-05);
  position: relative;
}
.gallery-link:hover,
.gallery-link:focus {
  text-decoration: none;
}
.gallery-link:hover img,
.gallery-link:focus img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(0.8);
}

.gallery-item {
  position: relative;
}
.gallery-item::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(0deg, #020202 0%, rgba(0, 0, 0, 0) 93.94%);
}
.gallery-item > img {
  display: block;
  width: 100%;
  height: 323px;
  object-fit: cover;
  object-position: center center;
  transition: var(--transition-05);
}
.gallery-title-wrap {
  position: absolute;
  border: 0;
  left: 0;
  z-index: 5;
  transform: translateY(-100%);
  padding: 36px;
}
.gallery-item .gallery-title {
  font: 20px/24px var(--spectralM) !important;
  color: #fff !important;
  margin: 0;
  position: relative;
  padding: 0 0 18px;
}
.gallery-item .gallery-title::after {
  content: "";
  width: 100px;
  height: 6px;
  background: url("../images/gallery-title-after.svg") no-repeat center center;
  position: absolute;
  bottom: 0;
  left: 0;
}
.path-gallery .gallery-item > img{
  height: 230px;
}

/* ----------------------------------------- */
/* VIDEO SECTION */
/* ----------------------------------------- */
#block-views-block-testimonials-block-1 {
    padding: var(--section-spacing);
    display: block;
    overflow: hidden;
}
.video-title {
  font: 16px/30px var(--albertL);
  color: #000;
  margin: 0;
  text-align: center;
}
#slick-views-testimonials-block-1-2 .field--name-field-media-oembed-video iframe,
.testimonials-item .field--name-field-media-oembed-video iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 0 18px;
}
.path-testimonials .testimonials-item {
  margin: 0 0 24px;
}
#slick-views-testimonials-block-1-2 .slick__slide {
    padding: 24px;
}
.path-gallery .gallery-item{
  margin-bottom: 24px;
}


/* ----------------------------------------- */
/* POPUP */
/* ----------------------------------------- */

#block-views-block-popup-videos-block-1 {
  display: none;
}

#views_slideshow_cycle_teaser_section_popup_videos-block_1,
#views_slideshow_cycle_div_popup_videos-block_1_0,
#views_slideshow_cycle_div_popup_videos-block_1_1,
#views_slideshow_cycle_div_popup_videos-block_1_2,
#views_slideshow_cycle_div_popup_videos-block_1_3,
#views_slideshow_cycle_div_popup_videos-block_1_4 {
    width: 100% !important;
}

#block-views-block-popup-videos-block-1 .views-slideshow-controls-top {
    position: initial;
    text-align: center;
}

#views_slideshow_controls_text_pause_popup_videos-block_1 a {
    display: none;
}

#block-views-block-popup-videos-block-1 .field--name-field-media-oembed-video iframe {
    display: block;
    height: 475px !important;
    width: 100%;
    max-width: 100%;
}

#views_slideshow_controls_text_previous_popup_videos-block_1 a,
#views_slideshow_controls_text_next_popup_videos-block_1 a {
    display: inline-block;
    width: 32px;
    height: 32px;
    color: transparent;
    background: transparent;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
}

#views_slideshow_controls_text_next_popup_videos-block_1 a {
    /* right: 8px; */
    background: url(../images/right_arrow.png) no-repeat center center/cover;
}

#views_slideshow_controls_text_previous_popup_videos-block_1 a {
    /* left: 8px; */
    background: url(../images/left_arrow.png) no-repeat center center/cover;
}

.spb-popup-main-wrapper {
    width: 32% !important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
}
.view-popup-videos a > img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
    .spb-popup-main-wrapper {
        width: 100% !important;
        left: 50% !important;
        top: 20% !important;
        transform: translate(-50%, 0%) !important;
    }
}