.ms-theme-precognition {
	opacity: 0;
	padding-bottom: 40px;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
  
	&.ms-loaded {
	  opacity: 1;
	}
  }
  
  .metaslider.ms-theme-precognition {
	* {
	  -webkit-box-sizing: border-box;
	  box-sizing: border-box;
  
	  &::before, &::after {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	  }
	}
  
	.flexslider {
	  margin-bottom: 0;
	  width: 100%;

	  	.flex-pauseplay a {
			top: 20px;
			bottom: unset;
			left: 25px;
		}
	}
  
	.flex-control-nav {
	  width: 100%;

	  li {
		display: inherit !important;

		a {
			text-indent: 0 !important;
		}
	  }
	}
  
	.flexslider ol.flex-control-nav:not(.flex-control-thumbs), ul.rslides_tabs, div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) {
	  background: transparent;
	  bottom: 0;
	  display: flex !important;
	  flex-wrap: wrap;
	  justify-content: center;
	  line-height: 1.5;
	  margin: 0;
	  padding: 0 !important;
	  position: relative;
	  transition: top .2s;
	  width: 100%;
	  z-index: 8;
	}
  
	.flexslider ol.flex-control-nav:not(.flex-control-thumbs) li, ul.rslides_tabs li, div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) li {
	  align-items: center;
	  -webkit-box-align: center;
	  -webkit-box-flex: 1;
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -ms-flex: 1;
	  flex: 1;
	  -ms-flex-align: center;
	}
  
	.flexslider ol.flex-control-nav:not(.flex-control-thumbs) li a, ul.rslides_tabs li a, div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) li a {
	  text-decoration: none;
	}
  }
  
  .has-carousel-mode.metaslider.ms-theme-precognition .flexslider ol.flex-control-nav:not(.flex-control-thumbs), .ms-is-small.metaslider.ms-theme-precognition .flexslider ol.flex-control-nav:not(.flex-control-thumbs), .has-carousel-mode.metaslider.ms-theme-precognition ul.rslides_tabs, .ms-is-small.metaslider.ms-theme-precognition ul.rslides_tabs, .has-carousel-mode.metaslider.ms-theme-precognition div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled), .ms-is-small.metaslider.ms-theme-precognition div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) {
	margin-bottom: 10px;
	margin-top: 5px;
  }
  
  .has-carousel-mode.metaslider.ms-theme-precognition .flexslider ol.flex-control-nav:not(.flex-control-thumbs) li, 
  .ms-is-small.metaslider.ms-theme-precognition .flexslider ol.flex-control-nav:not(.flex-control-thumbs) li, 
  .has-carousel-mode.metaslider.ms-theme-precognition ul.rslides_tabs li, .ms-is-small.metaslider.ms-theme-precognition ul.rslides_tabs li, 
  .has-carousel-mode.metaslider.ms-theme-precognition div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) li, 
  .ms-is-small.metaslider.ms-theme-precognition div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) li {
	/*-webkit-box-flex: 0;
	-ms-flex: none;
	flex: none;*/
  }
  
  .metaslider.ms-theme-precognition {
	.coin-slider .cs-buttons {
	  background: transparent;
	  bottom: 0;
	  justify-content: flex-start;
	  display: flex !important;
	  flex-wrap: wrap;
	  left: 0 !important;
	  line-height: 15px;
	  margin: 0;
	  margin-left: 0 !important;
	  padding: 0 !important;
	  position: absolute;
	  -webkit-transition: top .2s;
	  transition: top .2s;
	  width: 100%;
	  z-index: 8;
  
	  li {
		align-items: center;
		display: flex !important;
		flex: 1;
  
		a {
		  text-decoration: none;
		}
	  }
	}
  
	.flexslider ol.flex-control-nav:not(.flex-control-thumbs) li a, ul.rslides_tabs li a, div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) a, .coin-slider .cs-buttons a {
	  align-items: center;
	  background: #fff;
	  border: 0;
	  border-radius: 0;
	  box-shadow: none !important;
	  color: #343536;
	  cursor: pointer;
	  display: flex !important;
	  flex: 1;
	  font-size: 14px;
	  height: 93px;
	  justify-content: center;
	  line-height: normal;
	  line-height: initial;
	  margin: 0;
	  padding: 1rem;
	  text-indent: 0;
	  transition: background .2s ease-in-out,background .2s ease-in-out;
	  width: 100%;
	  height: 100% !important;
	}
  }
  
  .has-carousel-mode.metaslider.ms-theme-precognition .flexslider ol.flex-control-nav:not(.flex-control-thumbs) li a, div:not(.has-thumb-nav).ms-is-small.metaslider.ms-theme-precognition .flexslider ol.flex-control-nav:not(.flex-control-thumbs) li a, .has-carousel-mode.metaslider.ms-theme-precognition ul.rslides_tabs li a, div:not(.has-thumb-nav).ms-is-small.metaslider.ms-theme-precognition ul.rslides_tabs li a, .has-carousel-mode.metaslider.ms-theme-precognition div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) a, div:not(.has-thumb-nav).ms-is-small.metaslider.ms-theme-precognition div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) a, .has-carousel-mode.metaslider.ms-theme-precognition .coin-slider .cs-buttons a, div:not(.has-thumb-nav).ms-is-small.metaslider.ms-theme-precognition .coin-slider .cs-buttons a {
	height: 1.5em;
	margin-bottom: 5px;
	margin-right: 10px;
	padding: 0;
	width: 1.5em;
  }
  
  .has-carousel-mode.metaslider.ms-theme-precognition {
	.flexslider ol.flex-control-nav:not(.flex-control-thumbs) li a, ul.rslides_tabs li a, div.slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) a, .coin-slider .cs-buttons a {
	  text-indent: 0;
	}
  }
  
  .metaslider.ms-theme-precognition {
	.flexslider ol.flex-control-nav:not(.flex-control-thumbs) li:last-child a, ul.rslides_tabs li:last-child a, div.slider-wrapper div.nivo-controlNav:not(.nivo-thumbs-enabled) a:last-child, .coin-slider .cs-buttons a:last-child {
	  margin-right: 0;
	}
  
	.flexslider ol.flex-control-nav {
	  li a.flex-active, &:not(.flex-control-thumbs) li a:hover {
		background: #343536;
		color: #fff;
	  }
	}
  
	ul.rslides_tabs li {
	  &.rslides_here a, a:hover {
		background: #343536;
		color: #fff;
	  }
	}
  
	div.slider-wrapper div.nivo-controlNav:not(.nivo-thumbs-enabled) a.active, .slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) a:hover {
	  background: #343536;
	  color: #fff;
	}
  
	.coin-slider .cs-buttons a {
	  &.cs-active, &:hover {
		background: #343536;
		color: #fff;
	  }
	}
  
	.flexslider ol.flex-control-nav {
	  li a.flex-active::after, &:not(.flex-control-thumbs) li a:hover::after {
		opacity: 1;
	  }
	}
  
	ul.rslides_tabs li {
	  &.rslides_here a::after, a:hover::after {
		opacity: 1;
	  }
	}
  
	div.slider-wrapper div.nivo-controlNav:not(.nivo-thumbs-enabled) a.active::after, .slider-wrapper .nivo-controlNav:not(.nivo-thumbs-enabled) a:hover::after {
	  opacity: 1;
	}
  
	.coin-slider .cs-buttons a {
	  &.cs-active::after, &:hover::after {
		opacity: 1;
	  }
	}
  
	.flexslider ul.flex-direction-nav li a, a.rslides_nav, div.nivoSlider div.nivo-directionNav a, .coin-slider .coin-slider div a {
	  background: transparent;
	  border-radius: 50%;
	  -webkit-box-shadow: none;
	  box-shadow: none;
	  color: black;
	  height: 40px;
	  margin-top: 0;
	  overflow: hidden;
	  top: 50%;
	  -webkit-transform: translateY(-50%);
	  transform: translateY(-50%);
	  -webkit-transition: all .2s ease-in-out;
	  transition: all .2s ease-in-out;
	  width: 40px;
	}
  }
  
  .ms-is-small.metaslider.ms-theme-precognition {
	.flexslider ul.flex-direction-nav li a, a.rslides_nav, div.nivoSlider div.nivo-directionNav a, .coin-slider .coin-slider div a {
	  height: 40px;
	  top: 50%;
	  -webkit-transform: translateY(-50%);
	  transform: translateY(-50%);
	  width: 40px;
	}
  }
  
  .metaslider.ms-theme-precognition {
	.flexslider ul.flex-direction-nav li a::before, a.rslides_nav::before, div.nivoSlider div.nivo-directionNav a::before, .coin-slider .coin-slider div a::before {
	  background-size: 100%;
	  content: '' !important;
	  display: block;
	  height: 30px;
	  left: 50%;
	  position: absolute;
	  top: 50%;
	  -webkit-transform: translate(-50%, -50%);
	  transform: translate(-50%, -50%);
	  width: 18px;
	}
  
	.flexslider ul.flex-direction-nav li a.flex-prev, .rslides_nav.prev, div.nivoSlider div.nivo-directionNav a.nivo-prevNav, .coin-slider .coin-slider div a.cs-prev {
	  left: 2%;
	}

	.flexslider ul.flex-direction-nav li a {
	  
		&:before {
			background: #fff !important;
			mask-image: url("images/arrow.svg");
			mask-repeat: no-repeat; 
			mask-position: center center;
			mask-size: 29px auto;
			width: 100%;
			height: 100%;
		}

		&.flex-next:before {
			transform: scaleX(-1);
			top: 0;
  			left: 0;
		}
	}
  
	.rslides_nav.prev:before, div.nivoSlider div.nivo-directionNav a.nivo-prevNav:before, .coin-slider .coin-slider div a.cs-prev:before {
	  background: url("images/arrow-left.png") no-repeat center center;
	}
  
	.flexslider ul.flex-direction-nav li a.flex-next, .rslides_nav.next, div.nivoSlider div.nivo-directionNav a.nivo-nextNav, .coin-slider .coin-slider div a.cs-next {
	  right: 2%;
	}
  
	.flexslider ul.flex-direction-nav li a.flex-next:before, .rslides_nav.next:before, div.nivoSlider div.nivo-directionNav a.nivo-nextNav:before, .coin-slider .coin-slider div a.cs-next:before {
	  background: url("images/arrow-right.png") no-repeat center center;
	}
  
	.flexslider {
	  &:hover ul.flex-direction-nav li a, &:focus-within ul.flex-direction-nav li a {
		opacity: 1 !important;
	  }
	}
  
	&:hover a.rslides_nav, div.nivoSlider:hover div.nivo-directionNav a, .coin-slider:hover .coin-slider div a {
	  opacity: 1 !important;
	}
  
	.flexslider {
	  &:hover ul.flex-direction-nav li a:hover, &:focus-within ul.flex-direction-nav li a:hover {
		color: black;
		opacity: 1 !important;
	  }
	}
  
	&:hover a.rslides_nav:hover, div.nivoSlider:hover div.nivo-directionNav a:hover {
	  color: black;
	  opacity: 1 !important;
	}
  
	.coin-slider {
	  &:hover .coin-slider div a:hover {
		color: black;
		opacity: 1 !important;
	  }
  
	  .coin-slider div {
		display: block !important;
	  }
	}
  
	.flexslider ul.slides .caption-wrap, .rslides .caption-wrap {
	  background: rgba(0, 0, 0, 0.8);
	  bottom: 0;
	  color: inherit;
	  color: #fff;
	  height: 120px;
	  margin: 0;
	  padding: 0;
	  -webkit-transition: .5s all;
	  transition: .5s all;
	  width: 100%;
	}
  
	div.nivoSlider .nivo-caption {
	  background: rgba(0, 0, 0, 0.8);
	  bottom: 0;
	  color: inherit;
	  color: #fff;
	  height: 120px;
	  margin: 0;
	  padding: 0;
	  -webkit-transition: .5s all;
	  transition: .5s all;
	  width: 100%;
	  -webkit-transform: translateY(0);
	  transform: translateY(0);
	}
  
	.cs-title {
	  margin: 10px;
	  padding: 20px;
	  width: calc(100% - 20px);
	}
  
	.flexslider ul.slides .flex-active-slide .caption-wrap, .rslides li[class*=rslides] .caption-wrap {
	  -webkit-transform: translateY(0);
	  transform: translateY(0);
	}
  
	.flexslider ul.slides .caption-wrap .caption, .rslides .caption-wrap .caption, .nivoSlider .nivo-caption {
	  bottom: 50px;
	  color: #fff;
	  font-size: .9rem;
	  left: 50%;
	  padding: 0;
	  position: absolute;
	  text-align: center;
	  -webkit-transform: translateX(-50%);
	  transform: translateX(-50%);
	}
  }
  
  .ms-is-small.metaslider.ms-theme-precognition {
	.flexslider ul.slides .caption-wrap .caption, .rslides .caption-wrap .caption, .nivoSlider .nivo-caption {
	  bottom: 45px;
	  width: 90%;
	}
  }
  
  .flexslider ul.slides .caption-wrap .caption a {
	color: #fff;
  }
  
  .metaslider.ms-theme-precognition .nivoSlider .nivo-caption {
	bottom: 0;
	font-size: 1rem;
	padding-top: 25px;
  }
  
  .ms-is-small.metaslider.ms-theme-precognition .nivoSlider .nivo-caption {
	bottom: 0;
	padding-top: 45px;
  }
  
  .metaslider.ms-theme-precognition .filmstrip {
	border-radius: 0;
	margin-top: 10px;
	width: 100%;
	z-index: 4;
  
	ul.flex-direction-nav li a {
	  &::after {
		width: 10px;
	  }
  
	  &.flex-prev, &.flex-next {
		height: 60px;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		width: 60px;
	  }
	}
  }
  
  .ms-is-small.metaslider.ms-theme-precognition .filmstrip ul.flex-direction-nav li a {
	&.flex-prev, &.flex-next {
	  height: 40px;
	  width: 40px;
	}
  }
  
  .metaslider.ms-theme-precognition .filmstrip ul.flex-direction-nav li a.flex-prev, .ms-is-small.metaslider.ms-theme-precognition .filmstrip ul.flex-direction-nav li a.flex-prev {
	left: 10px;
  }
  
  .metaslider.ms-theme-precognition .filmstrip ul.flex-direction-nav li a.flex-next, .ms-is-small.metaslider.ms-theme-precognition .filmstrip ul.flex-direction-nav li a.flex-next {
	right: 10px;
  }
  
  .metaslider.ms-theme-precognition {
	&.has-filmstrip .flexslider {
	  &:not(.filmstrip) ul.flex-direction-nav {
		width: 90px;
	  }
  
	  ul.slides .caption-wrap {
		margin-right: 110px;
	  }
	}
  
	.slider-wrapper .nivo-controlNav.nivo-thumbs-enabled a {
	  &:hover, &.active {
		border: 0 none;
	  }
	}
	&.has-onhover-arrows {
		.flex-direction-nav li {
			opacity: 0;
		}
		&:hover {
			.flex-direction-nav {
				li {
					opacity: 1;
				}
				a {
					opacity: 1;
				}
			}
		}
	}
  }
  