/* ==========================================================================
   
   
   NU IMAGE REVEALER
   LAST PUBLISHED: DECEMBER 05, 2020
   
   
   ========================================================================== */
/* ==========================================================================
	IMAGE CONTAINER & LABELS
	========================================================================== */
.cd-image-container {
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.cd-image-container .right-label, .cd-image-container .left-label {
  display: inline-block;
  position: absolute;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 600;
  z-index: 2;
}

@media (min-width: 767px) {
  .cd-image-container .right-label, .cd-image-container .left-label {
    padding: 1em;
    bottom: -3em;
  }
}

.cd-image-container .right-label {
  left: 52%;
  right: 0;
  text-align: center;
}

.cd-image-container .left-label {
  left: 0;
  right: 52%;
  text-align: center;
}

.nu-image-revealer.hide-labels .left-label,
.nu-image-revealer.hide-labels .right-label {
  display: none;
}

.cd-image-container img {
  display: block;
  position: relative;
}

/* ==========================================================================
	LABELS BELOW IMAGES
	========================================================================== */
.cd-image-label {
  font-size: 14px;
  margin-top: 57%;
}

@media (min-width: 767px) {
  .cd-image-label {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 600;
    opacity: 0;
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0.3s 0.7s;
    -moz-transition: -moz-transform 0.3s 0.7s, opacity 0.3s 0.7s;
    transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
    display: block;
    font-size: inherit;
  }
}

.cd-image-label.bg-light {
  color: inherit;
}

.nu-image-revealer.bg-dark {
  color: #fff;
}

.cd-image-label.is-hidden {
  visibility: hidden;
}

.is-visible .cd-image-label {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

/* ==========================================================================
	OVERLAY IMAGE (LEFT IMAGE)
	========================================================================== */
.cd-resize-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cd-resize-img img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.cd-resize-img .cd-image-label {
  right: auto;
  left: 0;
}

.is-visible .cd-resize-img {
  width: 50%;
  /* bounce in animation of the modified image */
  -webkit-animation: cd-bounce-in 0.7s;
  -moz-animation: cd-bounce-in 0.7s;
  animation: cd-bounce-in 0.7s;
}

/* ==========================================================================
	EXTRA PADDING FOR DESKTOP
	========================================================================== */
.xtra-padding-desktop {
  display: none;
}

@media (min-width: 767px) {
  .xtra-padding-desktop {
    display: block;
  }
}

/* ==========================================================================
	EXTRA PADDING FOR MOBILE
	========================================================================== */
.xtra-padding-mobile {
  display: block;
}

@media (min-width: 767px) {
  .xtra-padding-mobile {
    display: none;
  }
}

/* ==========================================================================
	ANIMATE ON LOAD
	========================================================================== */
@-webkit-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}

@-moz-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}

@keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}

/* ==========================================================================
	DRAGGER HANDLE THINGEE
	========================================================================== */
.cd-handle {
  position: absolute;
  height: 30px;
  width: 30px;
  /* center the element */
  left: 50%;
  top: 50%;
  margin-left: -15px;
  margin-top: -15px;
  border-radius: 100%;
  opacity: .8;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: move;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);
  -webkit-transform: translate3d(0, 0, 0) scale(0);
  -moz-transform: translate3d(0, 0, 0) scale(0);
  -ms-transform: translate3d(0, 0, 0) scale(0);
  -o-transform: translate3d(0, 0, 0) scale(0);
  transform: translate3d(0, 0, 0) scale(0);
}

@media (min-width: 767px) {
  .cd-handle {
    height: 44px;
    width: 44px;
    margin-left: -22px;
    margin-top: -22px;
  }
}

/* 	==========================================================================
	ADDED CUSTOM COLOUR OPTION JAN 2020
	========================================================================== */
.cd-handle.black-arrows {
  background-image: url("https://www.nureva.com/hubfs/brand-and-core-assets/module-images/cd-arrows-black.svg");
}

.cd-handle.white-arrows {
  background-image: url("https://www.nureva.com/hubfs/brand-and-core-assets/module-images/cd-arrows.svg");
}

.cd-handle.draggable {
  /* change background color when element is active */
  filter: brightness(90%);
}

.is-visible .cd-handle {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s;
}