/*
Converts a pixel value to matching rem value. *Any* value passed, regardless of unit, is assumed to be a pixel value. By default, the base pixel value used to calculate the rem value is taken from the `$global-font-size` variable.
@access private
@param {Number} $value - Pixel value to convert.
@param {Number} $base [null] - Base for pixel conversion.
@returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are passed through as is.
*/
/*
Removes the unit (e.g. px, em, rem) from a value, returning the number only.
@param {Number} $num - Number to strip unit from.
@returns {Number} The same number, sans unit.
*/
/*
Converts one or more pixel values into matching rem values.
@param {Number|List} $values - One or more values to convert. Be sure to separate them with spaces and not commas. If you need to convert a comma-separated list, wrap the list in parentheses.

@param {Number} $base [null] - The base value to use when calculating the `rem`. If you're using Foundation out of the box, this is 16px. If this parameter is `null`, the function will reference the `$base-font-size` variable as the base.

@returns {List} A list of converted values.
*/
@media only screen and (min-width: 992px) {
  .block-case-study-blocks .glide__slides {
    flex-wrap: wrap !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
  }
}

.block-case-study-blocks .glide__slide {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media only screen and (min-width: 992px) {
  .block-case-study-blocks .glide__slide {
    flex: 0 0 calc(100% / 3);
  }
}

@media only screen and (min-width: 992px) {
  .block-case-study-blocks .glide__slide--clone {
    display: none;
  }
}

.block-case-study-blocks .glide__slide--testimonial {
  display: none;
}

@media only screen and (min-width: 992px) {
  .block-case-study-blocks .glide__slide--testimonial {
    display: block;
    flex: 0 0 calc(100% / 3 * 2);
  }
}

.block-case-study-blocks__case-block {
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  display: block;
  margin-left: 0.625rem;
  margin-right: 0.625rem;
}

.block-case-study-blocks__case-block:hover {
  text-decoration: none;
}

.block-case-study-blocks__case-block:hover .block-case-study-blocks__case-animation {
  bottom: -25%;
  left: -25%;
}

.block-case-study-blocks__case-block:hover .block-case-study-blocks__case-animation:after {
  right: -2%;
  top: -2%;
  opacity: 0;
  width: 80%;
  height: 80%;
}

.block-case-study-blocks__case-block:hover .block-case-study-blocks__case-animation:before {
  right: -2%;
  top: -2%;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.block-case-study-blocks__case-block:hover .block-case-study-blocks__case-title {
  color: #06758c;
}

.block-case-study-blocks__case-block:hover .block-case-study-blocks__case-overlay {
  opacity: 1;
  transition: all 0.5s ease-out;
  transition-delay: 0.5s;
}

.block-case-study-blocks__case-block-inner {
  position: relative;
  overflow: hidden;
}

.block-case-study-blocks__case-image {
  width: 100%;
  padding-bottom: 100%;
  background-color: #1a242d;
  position: relative;
}

.block-case-study-blocks__case-title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-align: center;
  color: #1a242d;
  transition: all 0.3s ease-out;
}

@media only screen and (min-width: 1400px) {
  .block-case-study-blocks__case-title {
    font-size: 1.5rem;
  }
}

.block-case-study-blocks__case-animation {
  width: 150%;
  padding-bottom: 150%;
  background-color: #1a242d;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 50%;
  transform: translateZ(0);
  position: absolute;
  bottom: 100%;
  left: 100%;
  transition: all 0.7s ease-out;
}

.block-case-study-blocks__case-animation:after {
  content: '';
  position: absolute;
  right: -70%;
  top: -70%;
  background-image: url("../../images/wave-mask.svg");
  width: 70%;
  height: 70%;
  transition: all 2s ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}

.block-case-study-blocks__case-animation:before {
  content: '';
  position: absolute;
  right: -70%;
  top: -70%;
  background-image: url("../../images/wave-mask.svg");
  width: 70%;
  height: 70%;
  transition: all 1s ease-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

.block-case-study-blocks__case-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: transparent;
  transition: all 0.3s ease-out;
  transition-delay: 0s;
  color: #FFF;
  z-index: 9;
  opacity: 0;
}

.block-case-study-blocks__case-overlay .e-button span {
  color: #FFF;
}

.block-case-study-blocks__case-overlay-excerpt {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.875rem;
  margin-bottom: 1.875rem;
  display: none;
}

@media only screen and (min-width: 1025px) {
  .block-case-study-blocks__case-overlay-excerpt {
    display: block;
  }
}

@media only screen and (min-width: 1400px) {
  .block-case-study-blocks__case-overlay-excerpt {
    font-size: 1.125rem;
  }
}

.block-case-study-blocks__case-overlay-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 80%;
  text-align: center;
}

.block-case-study-blocks__testimonial-block {
  padding: 1.25rem;
  text-align: left;
}

@media only screen and (min-width: 992px) {
  .block-case-study-blocks__testimonial-block {
    padding: 2.5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .block-case-study-blocks__testimonial-block {
    padding: 2.5rem 7.5rem;
  }
}

.block-case-study-blocks__testimonial-block-inner {
  border-bottom: 1px solid #06758c;
  padding-bottom: 2.5rem;
}

.block-case-study-blocks__testimonial-quote {
  font-size: 1rem;
}

@media only screen and (min-width: 576px) {
  .block-case-study-blocks__testimonial-quote {
    font-size: 1.125rem;
  }
}

@media only screen and (min-width: 1400px) {
  .block-case-study-blocks__testimonial-quote {
    font-size: 1.75rem;
  }
}

.block-case-study-blocks__testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  margin-top: 1.875rem;
}

@media only screen and (min-width: 992px) {
  .block-case-study-blocks__testimonial-name {
    font-size: 1.125rem;
  }
}

/*# sourceMappingURL=block-case-study-blocks.css.map */
