/*
Theme Name:  Salient
Description: Styles for the "Highlighted Text" page builder element.
*/

.nectar-highlighted-text em {
  position: relative;
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: 1em;
  padding: 0 3px;
}

.nectar-highlighted-text[class*="font_size_"] em {
	line-height: inherit;
}
.nectar-highlighted-text em:before,
.nectar-highlighted-text[data-style="regular_underline"] a em:after,
.nectar-highlighted-text[data-style="regular_underline"] em a:after {
  -webkit-transition: -webkit-transform 1.2s cubic-bezier(.15,.75,.4,1), opacity 0.25s ease;
  transition: transform 1.2s cubic-bezier(.15,.75,.4,1), opacity 0.25s ease;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
	backface-visibility: hidden;
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
}

.nectar-highlighted-text[data-style="regular_underline"] a em:after,
.nectar-highlighted-text[data-style="regular_underline"] em a:after {
	-webkit-transition: -webkit-transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.nectar-highlighted-text[data-style="regular_underline"] em a,
.nectar-highlighted-text[data-style="regular_underline"] a em {
	-webkit-transition: color 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
	transition: color 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.nectar-highlighted-text[data-style="regular_underline"] a:hover em,
.nectar-highlighted-text[data-style="regular_underline"] em:hover a {
	color: #fff;
}
.nectar-highlighted-text[data-style="regular_underline"][data-color="#ffffff"] a:hover em,
.nectar-highlighted-text[data-style="regular_underline"][data-color="#ffffff"] em:hover a {
	color: #000;
}

.nectar-highlighted-text[data-style="half_text"] em:before {
  height: 28%;
  top: auto;
  bottom: 0;
}
.nectar-highlighted-text[data-style="regular_underline"] em:before {
	height: 3px;
	top: auto;
	bottom: -1px;
	padding: 0;
}
.nectar-highlighted-text[data-style="regular_underline"][data-underline-thickness="1px"] em:before {
	height: 1px;
}
.nectar-highlighted-text[data-style="regular_underline"][data-underline-thickness="2px"] em:before {
	height: 2px;
}
.nectar-highlighted-text[data-style="regular_underline"][data-underline-thickness="4px"] em:before {
	height: 4px;
}

.nectar-highlighted-text[data-style="regular_underline"] em {
	padding: 0;
}

.nectar-highlighted-text[data-style="regular_underline"] a em:after {
	height: 100%;
}

.nectar-highlighted-text em.animated:before,
.nectar-highlighted-text[data-style="regular_underline"] a:hover em:after,
.nectar-highlighted-text[data-style="regular_underline"] em:hover a:after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.nectar-highlighted-text[data-using-custom-color="false"] em:before {
  opacity: 0.3;
}
@media only screen and (max-width: 999px) {
  body:not([data-m-animate="1"]) .nectar-highlighted-text em.animated:before {
    -webkit-transition: none;
    transition: none;
  }
}
.nectar-highlighted-text a {
  color: inherit;
}
.nectar-highlighted-text[data-style="half_text"] a:hover em.animated:before {
  -webkit-transform: scaleX(1) scaleY(0.5);
  transform: scaleX(1) scaleY(0.5);
}
.nectar-highlighted-text[data-style="full_text"] a:hover em.animated:before {
  opacity: 0.65;
}

.nectar-highlighted-text[data-style="text_outline"] em:before {
	display: none;
}
.nectar-highlighted-text[data-style="text_outline"] em,
.nectar-scrolling-text[data-style="text_outline"] em,
.nectar-scrolling-text[data-style="text_outline"] i {
	-webkit-text-stroke-color: inherit;
  -webkit-text-fill-color: rgba(0,0,0,0);
}
.nectar-highlighted-text[data-style="text_outline"] a em {
	transition: transform 0.3s ease;
	transform-origin: left bottom;
}
.nectar-highlighted-text[data-style="text_outline"] a:hover em {
	-webkit-text-fill-color: initial;
	-webkit-text-stroke-color: rgba(0,0,0,0);
	transform: skewX(-10deg);
}

.nectar-highlighted-text[data-style][data-user-color="true"] * {
	color: inherit;
}
.nectar-highlighted-text[data-style="text_outline"] em {
	display: inline;
	padding: 0;
}
.nectar-highlighted-text[data-style="text_outline"][data-outline-thickness="thin"] em,
.nectar-scrolling-text[data-style="text_outline"][data-outline-thickness="thin"] em,
.nectar-scrolling-text[data-style="text_outline"][data-outline-thickness="thin"] i {
	-webkit-text-stroke-width: 0.015em;
}
.nectar-highlighted-text[data-style="text_outline"][data-outline-thickness="regular"] em,
.nectar-scrolling-text[data-style="text_outline"][data-outline-thickness="regular"] em,
.nectar-scrolling-text[data-style="text_outline"][data-outline-thickness="regular"] i {
	-webkit-text-stroke-width: 0.02em;
}
.nectar-highlighted-text[data-style="text_outline"][data-outline-thickness="thick"] em,
.nectar-scrolling-text[data-style="text_outline"][data-outline-thickness="thick"] em {
	-webkit-text-stroke-width: 0.03em;
}
.nectar-highlighted-text[data-style="text_outline"][data-outline-thickness="extra_thick"] em,
.nectar-scrolling-text[data-style="text_outline"][data-outline-thickness="extra_thick"] em {
	-webkit-text-stroke-width: 0.04em;
}
