/*----------------------
##TEAM profiles
------------------------*/
.team-section {
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 0;
}

.team-section .team-wrapper {
  position: relative;
  height: auto;
  width: 100%;
  z-index: 3;
}

.team-section .team-cards .acf-block-slider .team-content {
  background-color: var(--main-bg);
  width: auto;
  height: auto;
  border-radius: 4px;
  position: relative;
  margin: 0 auto;
  transition: all 0.4s ease;
}

.team-section .team-cards .acf-block-slider .slick-dots {
  position: relative;
  bottom: -1rem;
}

.team-section .team-cards .acf-block-slider .team-content:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0px 20px 40px -20px #EAEAEA;
  top: 0px;
  z-index: -1;
  transition: all 0.4s ease;
}
.team-section .team-cards .acf-block-slider .team-content .card {
  width: 280px;
  height: 320px;
  background-color: var(--alt-bg);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}
.team-section .team-cards .acf-block-slider .team-content .card .bg {
  position: absolute;
  width: 100%;
  height: 100px;
  top: 0;
  border-radius: 4px 4px 0px 0px;
  transition: all 0.4s ease;
  background: linear-gradient(140deg, #D45B7A, #FDA576);
  z-index: 1;
}
.team-section .team-cards .acf-block-slider .team-content .card .team-show-desc {
  width: 24px;
  height: 24px;
  position: absolute;
  z-index: 2;
  right: 20px;
  top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transform: rotate(0deg);
  transition: all 0.4s ease;
  z-index: 10;
  border-radius: 100%;
}
.team-section .team-cards .acf-block-slider .team-content .card .team-show-desc:before, .team-section .team-cards .acf-block-slider .team-content .card .team-show-desc:after {
  width: 16px;
  height: 2px;
  background-color: white;
  content: "";
  position: absolute;
  border-radius: 4px;
  transition: all 0.4s ease;
}
.team-section .team-cards .acf-block-slider .team-content .card .team-show-desc:after {
  transform: rotate(90deg);
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content .card .team-show-desc {
    padding: 10px;
    top: 10px;
    right: 10px;
  }
}
.team-section .team-cards .acf-block-slider .team-content .card .team-show-desc:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content .card .team-show-desc:hover {
    transform: scale(1);
    background-color: transparent;
  }
}

@media screen and (max-width: 576px) {
	.team-section .team-wrapper {width: 95%; margin: 0 auto;}
}

.team-section .team-cards .acf-block-slider .team-content .card .photo {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  overflow: hidden;
  z-index: 1;
  position: absolute;
  top: 40px;
  border: 3px solid #FFFFFF;
  transition: all 0.4s ease;
  box-shadow: 0px 4px 10px rgba(111, 112, 115, 0.3);
}
.team-section .team-cards .acf-block-slider .team-content .card .photo:before, .team-section .team-cards .acf-block-slider .team-content .card .photo:after {
  width: 100%;
  height: 100px;
  border-radius: 4px;
  content: "";
  position: absolute;
  transition: all 0.4s ease;
  opacity: 0;
  left: 0;
  top: 0;
}
.team-section .team-cards .acf-block-slider .team-content .card .photo:before {
  background: #403E3E;
  z-index: 1;
}
.team-section .team-cards .acf-block-slider .team-content .card .photo:after {
  background: linear-gradient(140deg, #6CAC59, #2897D5);
  z-index: 2;
}
.team-section .team-cards .acf-block-slider .team-content .card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-section .team-cards .acf-block-slider .team-content .card .text {
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  transform: translateY(50px);
  background: transparent;
  transition: all 0.3s ease;
}
.team-section .team-cards .acf-block-slider .team-content .card .text .name {
  font-size: 20px;
  color: #6F7073;
  font-weight: 300;
}
.team-section .team-cards .acf-block-slider .team-content .card .text .role {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-txt-color);
  letter-spacing: 0.8px;
  margin-top: 5px;
}
.team-section .team-cards .acf-block-slider .team-content .card .text .desc {
  color: var(--light-txt-color);
  display: none;
  margin-top: 12px;
  font-size: 1rem;
  letter-spacing: 0.6px;
  text-align: left;
  padding: 0 12px;
  font-weight: 400;
  line-height: 22px;
}

.team-section .team-cards .acf-block-slider .team-content .card .social {
  z-index: 1;
  display: flex;
  align-items: center;
  background-color: rgba(234, 234, 234, 0.5);
  box-shadow: inset 0px 11px 13px -20px #6F7073;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 50px;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 0px 0px 4px 4px;
  transition: all 0.4s ease;
}
.team-section .team-cards .acf-block-slider .team-content .card .social .pointer {
  display: block;
  width: 10px;
  height: 10px;
  z-index: 2;
  bottom: 50px;
  position: absolute;
  transform: translateX(25px);
  transition: all 0.4s ease;
  opacity: 0;
}
.team-section .team-cards .acf-block-slider .team-content .card .social .pointer:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: white;
  transform: rotate(45deg);
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content .card .social .pointer {
    display: none;
  }
}
.team-section .team-cards .acf-block-slider .team-content .card .social .icons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.team-section .team-cards .acf-block-slider .team-content .card .social .icons .icon-footer-team {
  width: 25%;
  height: 24px;
  opacity: 0.3;
  transition: all 0.4s ease;
}

.team-section .team-cards .acf-block-slider .team-content .card .social .icons .icon-footer-team i {
	color: #939393;
	font-size: 1.25rem;
	padding: 4px 1.25rem;
}

.team-section .team-cards .acf-block-slider .team-content .card .social .icons .icon-footer-team:hover {
  opacity: 0.6;
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content .card .social .icons .icon-footer-team:hover {
    opacity: 0.3;
  }
}
.team-section .team-cards .acf-block-slider .team-content .card .social .icons .icon-footer-team img {
  width: 100%;
  height: 100%;
}
.team-section .team-cards .acf-block-slider .team-content .card .social:hover .pointer {
  opacity: 1;
  bottom: 45px;
}
.team-section .team-cards .acf-block-slider .team-content:hover {
  transform: translateY(3px);
}
.team-section .team-cards .acf-block-slider .team-content:hover:before {
  box-shadow: 0px 10px 10px -10px #EAEAEA;
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content:hover {
    transform: translateY(0px);
  }
  .team-section .team-cards .acf-block-slider .team-content:hover:before {
    box-shadow: 0px 20px 40px -20px #EAEAEA;
  }
}
.team-section .team-cards .acf-block-slider .team-content:hover .card .photo {
  transform: translateY(-5px);
  box-shadow: 0px 6px 20px rgba(111, 112, 115, 0.3);
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content:hover .card .photo {
    transform: translateY(0px);
    box-shadow: 0px 4px 10px rgba(111, 112, 115, 0.3);
  }
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more {
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.65);
  width: 310px;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .team-show-desc {
  transform: rotate(45deg) scale(1);
  top: 8px;
  right: 18px;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .team-show-desc:hover {
  transform: rotate(45deg) scale(1.1);
}
@media screen and (max-width: 799px) {
  .team-section .team-cards .acf-block-slider .team-content .card.show-more .team-show-desc:hover {
    transform: rotate(45deg) scale(1);
  }
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .text {
  min-height: 100%;
  color: var(--light-txt-color);
  padding: 12px 0;
  top: 0px;
  background-color: rgba(108, 172, 89, 0.65);
  transform: translateY(0px);
  transition: all 0.6s ease;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .text .name,
.team-section .team-cards .acf-block-slider .team-content .card.show-more .text .role {
  color: var(--light-txt-color);
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .text .desc {
  display: block;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .photo {
  width: 100%;
  height: 100%;
  top: 0px;
  border: solid 0px transparent;
  border-radius: 4px;
  box-shadow: 0px 4px 10px rgba(111, 112, 115, 0);
  transform: translateY(0px);
  transition: all 0.4s ease;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .photo:before {
  height: 100%;
  opacity: 0.5;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .photo:after {
  height: 100%;
  border-radius: 4px;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .photo img {
  filter: grayscale(100%);
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .photo:hover {
  transform: translateY(0px);
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .bg {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .bg:before {
  opacity: 0.5;
}
.team-section .team-cards .acf-block-slider .team-content .card.show-more .bg:after {
  opacity: 0.8;
}

/*----------------------
  Media Gallery
------------------------*/
.gallery-section .media-item {position: relative;}

.gallery-section .media-item.portrait {height: 66.667%;}
.gallery-section .media-item.portrait.fullh {height: 100%;}
.gallery-section .media-item.landscape {height: 340px;}

.gallery-section .media-item figure {width: 100%; height: 100%;}
.gallery-section .media-item figure i.gallery-show-actions {position: absolute; top: 6px; right: 6px; z-index: 2;}

.gallery-section .media-item figure div.media-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: var(--secondary-bg);
	opacity: 0;
	border-radius: 12px;
	z-index: 1;
	transition: 500ms all ease-in-out;
}
.gallery-section .media-item figure:hover div.media-overlay,
.gallery-section .media-item figure.active div.media-overlay {
	opacity: 0.75;
}

.gallery-section .media-item figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: 12px;
	z-index: 0;
}

.gallery-section .media-item figure figcaption {
	position: absolute;
	padding: 12px;
	z-index: 2;
	border-radius: 12px;
}

.gallery-section .media-item figure figcaption h3 {color: var(--light-txt-color);}

.gallery-section .media-item figure figcaption .gallery-front-actions {position: relative; display: flex; justify-content: center;}
.gallery-section .media-item figure figcaption .gallery-front-actions > a {display: block; opacity: 0; transition: 400ms all ease-in-out;}
.gallery-section .media-item figure figcaption .gallery-front-actions > a > i {padding: 0 1rem; }

.gallery-section .media-item figure:hover figcaption .gallery-front-actions > a,
.gallery-section .media-item figure.active figcaption .gallery-front-actions > a {opacity: 1;}

.gallery-section .metro-gallery-fullscreen {background-color: transparent; width: 90%; height: 90vh; max-height: 90vh; top: 5% !important;}
.gallery-section .metro-gallery-fullscreen i.gallery-modal-close {position: absolute; top: 1rem; right: -1rem; color: var(--dark-txt-color); z-index: 10;}
.gallery-section .metro-gallery-fullscreen .modal-content {height: 95%;}
.gallery-section .metro-gallery-fullscreen .modal-content .medias-slider {height: 100%;}
.gallery-section .metro-gallery-fullscreen .modal-content .medias-slider .slick-list,
.gallery-section .metro-gallery-fullscreen .modal-content .medias-slider .slick-list .slick-track,
.gallery-section .metro-gallery-fullscreen .modal-content .medias-slider .slick-list .slick-track .slick-slide {height: 100%;}

.gallery-section .metro-gallery-fullscreen .modal-content .medias-slider figure {width: 100%; height: 100%;}
.gallery-section .metro-gallery-fullscreen .modal-content .medias-slider figure img {object-fit: cover; width: 100%; height: 100%;}

/*---------------------
  FullH Slider
----------------------*/
.fullh-slider-section {height: auto; margin: 2.5rem auto 12px auto;}
section.acf-widget-container div.theme-widget.fullh-slider-section > div.widget-sub-container {height: 100% !important;}
.fullh-slider-section .fullh-slider-wrapper {height: 100%;}

.fullh-slider-section .fullh-slider-wrapper .titles {align-self: baseline; margin-left: 2rem;}
.fullh-slider-section .fullh-slider-wrapper .titles .surtitre {text-align: left; color: #b2b2b2;}
.fullh-slider-section .fullh-slider-wrapper .titles .main-title {text-align: left; font-size: 3rem;}

.fullh-slider-section .fullh-slider {width: 100%; z-index: 1;}
.fullh-slider-section .fullh-slider .main-content {margin-left: 1.25rem;}
.fullh-slider-section .fullh-slider .slick-dots {position: relative; bottom: initial;}

.fullh-slider-section .fullh-slider-controls {height: auto; max-width: 440px; margin: 0 auto;}
.fullh-slider-section .fullh-slider-controls .visual-control {height: auto; width: max-content;}
.fullh-slider-section .fullh-slider-controls .visual-control figure {height: auto; width: max-content;}
/*Control indicator V2 - JS enhanced*/
.fullh-slider-section .fullh-slider-controls .control-indicator {
	position: absolute;
	top: 150px;
	width: 96px;
	height: 50px;
}
.fullh-slider-section .fullh-slider-controls .control-indicator::before {
	position: absolute;
	content: "";
	width: 50px;
	height: 50px;
	background-color: var(--featured-color-50);
	border-radius: 50%;
}
.fullh-slider-section .fullh-slider-controls .control-indicator::after {
	position: absolute;
	content: "";
	width: 30px;
	height: 30px;
	background-color: var(--featured-color-50);
	border-radius: 50%;
}

.elementor-shortcode .fullh-slider-section .fullh-slider-controls .visual-control figure img,
.fullh-slider-section .fullh-slider-controls .visual-control figure img {
	position: relative;
	padding: 0px;
	border: 3px solid var(--featured-color-50);
	box-shadow: 0px 0px 4px;
	cursor: pointer;
	transform: scale(1);
	opacity: 0.75;
	transition: 400ms all ease-in-out;
}
.fullh-slider-section .fullh-slider-controls .visual-control figure img:hover {border-color: var(--featured-color);}
.fullh-slider-section .fullh-slider-controls .visual-control figure img.active {border-color: var(--featured-color); opacity: 1; transform: scale(1.40);}
.fullh-slider-section .fullh-slider-controls .visual-control:nth-of-type(2) figure img,
.fullh-slider-section .fullh-slider-controls .visual-control:nth-of-type(4) figure img {
	margin-left: calc(136px + 2rem);
}

/*Elementor adaptation*/
.elementor img.fullh-slider-ctrl-img {height: 136px; border-radius: 50%;}

@media screen and (max-width: 576px) {
	.fullh-slider-section .fullh-slider-wrapper .titles {margin-left: 0;}

	.fullh-slider-section .fullh-slider-controls {display: none;}
}

/*-----------------------------
  ##ACF Section - Video
-------------------------------*/
.theme-widget.video-block {
  max-height: 50vh;
}

section.acf-widget-container div.theme-widget.video-block > div.widget-sub-container:not(.timeline-section) {
  height: 100%;
}

.theme-widget.video-block video {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: var(--secondary-bg);
}

.video-block .video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
  opacity: 1;
  transition: 400ms all ease-in-out;
}

/* WP media */
.video-block video {
  position: relative;
  height: 100%;
}

.video-block video.above {
  z-index: 2;
}

.video-block video.layered {
  z-index: 0;
}

/* Youtube iframe - Doesn't work with other streaming services */
.video-block .iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-block .iframe-container iframe,
.video-block .iframe-container object,
.video-block .iframe-container embed {
  position: relative;
  display: block;
  margin: 0 auto;
  height: auto;
  z-index: 0;
  width: 90%;
  height: 100%;
  transition: 400ms z-index ease-in-out;
}

.video-block .iframe-container.layered {
  z-index: 0;
}

.video-block iframe.above {
  z-index: 2;
}

/* Caption styling */
.video-block figcaption {
  position: absolute;
  width: 100%;
  height: 33%;
  color: var(--light-txt-color);
  background: var(--featured-color-50);
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
  transition: 400ms all ease-in-out;
}

.video-block .video-overlay:hover + figcaption {
  background: var(--featured-color);
}

.video-block figcaption:hover {
  background: var(--featured-color);
}

.video-block figcaption p {
  padding: 12px 2rem;
  margin: 0;
  height: auto;
}

.video-block figcaption.center {
  top: 33%;
  bottom: 33%;
  border-radius: 33%;
  max-width: 80%;
}

.video-block figcaption.left {
  width: 33%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0 55% 25% 0;
}

.video-block figcaption.right {
  width: 33%;
  height: 100%;
  right: 0;
  top: 0;
  border-radius: 25% 0 0 55%;
}

.video-block figcaption.top {
  top: 0;
  border-radius: 0 0 25% 25%;
}

.video-block figcaption.bottom {
  bottom: 0;
  border-radius: 25% 25% 0 0;
}

.video-block figcaption.layered {
  z-index: 2;
}

.video-block figcaption.hidden {
  opacity: 0;
  visibility: hidden;
}

.video-block .custom-play-icon {
  font-size: 3.5rem;
  position: absolute;
  top: calc(50% - 1.75rem);
  left: calc(50% - 1.75rem);
  padding: 0px;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transition: 400ms all ease-in-out;
}

.video-block .custom-play-icon.hidden {
  opacity: 0;
  visibility: hidden;
}

/*Controls*/
.theme-widget.video-block .video-controls {
  visibility: hidden;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  opacity: 0.5;
  padding: 10px;
  transition: all 0.2s ease;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.theme-widget.video-block .video-controls:hover,
.theme-widget.video-block .video-controls:focus-within {
  opacity: 1;
}

.theme-widget.video-block .video-controls.hide {
  opacity: 0;
  pointer-events: none;
}

.theme-widget.video-block .video-progress {
  position: relative;
  height: 8.4px;
  margin-bottom: 10px;
}

.theme-widget.video-block progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 8.4px;
  pointer-events: none;
  position: absolute;
  top: 0;
}

.theme-widget.video-block progress::-webkit-progress-bar {
  background-color: #474545;
  border-radius: 2px;
}

.theme-widget.video-block progress::-webkit-progress-value {
  background: var(--featured-color);
  border-radius: 2px;
}

.theme-widget.video-block progress::-moz-progress-bar {
  border: 1px solid var(--featured-color);
  background: var(--featured-color);
}

.theme-widget.video-block .seek {
  position: absolute;
  top: 0;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.theme-widget.video-block .seek:hover + .seek-tooltip {
  display: block;
}

.theme-widget.video-block .seek-tooltip {
  display: none;
  position: absolute;
  top: -50px;
  margin-left: -20px;
  font-size: 12px;
  padding: 3px;
  content: attr(data-title);
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
}

.theme-widget.video-block .bottom-controls {
  position: relative;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 24px;
  visibility: visible;
  opacity: 1;
  transition: 400ms all ease-in-out;
}

.theme-widget.video-block .bottom-controls.hidden {
  height: 0px;
  padding: 0px;
  visibility: hidden;
  opacity: 0;
}

.theme-widget.video-block .left-controls {
  display: flex;
  align-items: center;
  color: #fff;
}

.theme-widget.video-block .volume-controls {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.theme-widget.video-block .volume-controls input {
  width: 100px;
  opacity: 1;
  transition: all 0.4s ease;
}

.theme-widget.video-block .volume-controls:hover input, .volume-controls input:focus {
  width: 100px;
  opacity: 1;
}

.theme-widget.video-block button {
  cursor: pointer;
  position: relative;
  margin-right: 7px;
  font-size: 12px;
  padding: 3px;
  border: none;
  outline: none;
  background-color: transparent;
}

.theme-widget.video-block button * {
  pointer-events: none;
}

.theme-widget.video-block button::before {
  content: attr(data-title);
  position: absolute;
  display: none;
  right: 0;
  top: -50px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  padding: 4px 6px;
  word-break: keep-all;
  white-space: pre;
}

.theme-widget.video-block button:hover::before {
  display: inline-block;
}

.theme-widget.video-block .fullscreen-button {
  margin-right: 0;
}

.theme-widget.video-block .pip-button svg {
  width: 26px;
  height: 26px;
}

.theme-widget.video-block .playback-animation {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.theme-widget.video-block input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 8.4px;
  background: transparent;
  cursor: pointer;
}

.theme-widget.video-block input[type=range]:focus {
  outline: none;
}

.theme-widget.video-block input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  cursor: pointer;
  border-radius: 1.3px;
  -webkit-appearance: none;
  transition: all 0.4s ease;
}

.theme-widget.video-block input[type=range]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: var(--featured-color);
  cursor: pointer;
  -webkit-appearance: none;
  margin-left: -1px;
}

.theme-widget.video-block input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
}

.theme-widget.video-block input[type=range].volume {
  height: 5px;
  background-color: #fff;
}

.theme-widget.video-block input[type=range].volume::-webkit-slider-runnable-track {
  background-color: transparent;
}

.theme-widget.video-block input[type=range].volume::-webkit-slider-thumb {
  margin-left: 0;
  height: 14px;
  width: 14px;
  background: #fff;
}

.theme-widget.video-block input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 1.3px;
}

.theme-widget.video-block input[type=range]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50px;
  border: 1px solid var(--featured-color);
  background: var(--featured-color);
  cursor: pointer;
  margin-top: 5px;
}

.theme-widget.video-block input[type=range]:focus::-moz-range-track {
  outline: none;
}

.theme-widget.video-block input[type=range].volume::-moz-range-thumb {
  border: 1px solid #fff;
  background: #fff;
}

.theme-widget.video-block svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  stroke: #fff;
  cursor: pointer;
}

/*-----------------------------------
	## ACF Section - Slider
-------------------------------------*/
.slider-section {
  height: 100%;
  max-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 0;
}

.slider-section .slider-wrapper {
  position: relative;
  height: 340px;
  margin: 1.5rem auto;
  width: 100%;
  z-index: 3;
}

.slider-section .slider-wrapper.autoh {
  height: auto;
}

.slider-section .slider-wrapper .slider-global-content {
  position: absolute;
  width: 70%;
  left: 15%;
  z-index: 1;
}
.slider-section .slider-wrapper .slider-global-content h1,
.slider-section .slider-wrapper .slider-global-content h2,
.slider-section .slider-wrapper .slider-global-content h3,
.slider-section .slider-wrapper .slider-global-content h4,
.slider-section .slider-wrapper .slider-global-content p {
  color: var(--light-txt-color);
}

.slider-section .slider-wrapper .slider-global-content h1 {font-size: 4rem;}

.slider-section .slider-wrapper .slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/*FIX - Convert layout to flex if slider is NOT init from JS*/
.slider-section .slider-wrapper .slider-container:not(.slick-initialized) {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  height: auto !important;
}
.slider-section .slider-wrapper .slider-container:not(.slick-initialized) > .slider-content {
  flex-basis: 33%;
  height: 290px;
}

.slider-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 -200px 125px -125px rgba(0, 0, 0, 0.5) inset, 0 200px 125px -125px rgba(0, 0, 0, 0.25) inset;
  transition: 400ms all linear;
}

.slider-section .slider-wrapper .slider-container .slider-content {
  position: relative;
  height: 100%;
}

.slider-section .slider-wrapper.autoh .slider-container .slider-content {
  height: auto;
}

.slider-section .slider-wrapper .slider-container .slider-content .main-txt {
  position: absolute;
  width: 60%;
  height: 100%;
  top: 0;
  left: 20%;
  margin: 0 auto;
  text-align: center;
  color: var(--light-txt-color);
  padding-right: 12px;
  z-index: 3;
  transition: 400ms color linear;
}

.slider-section .slider-wrapper .slider-container .slider-content i.fas {
  font-size: 1rem;
  color: var(--light-txt-color);
}

.slider-section .slider-wrapper .slider-container .slider-content .customer-name {
  position: relative;
  display: inline-block;
  padding-top: 6px;
  width: 100%;
  text-align: center;
  font-style: italic;
  z-index: 3;
}

.slider-section .slider-wrapper .slider-container .slider-content .slider-context {
  position: relative;
  display: inline-block;
  padding-top: 4px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  z-index: 3;
}

.slider-section .slider-ctas {
  position: absolute;
  z-index: 3;
  width: 50%;
  height: 20%;
  top: 75%;
  left: 25%;
}

.slider-section .slider-ctas a.material-cta {
  width: max-content;
  margin: 0 auto;
}

/*Carrousel style*/
.slider-section.carrousel .slick-list .slick-track .slider-content img {
  max-width: 205px;
  height: auto;
}

@media all and (max-width: 768px) {
  .slider-section .slider-wrapper {
    height: 390px;
  }
  .slider-section .slider-wrapper .slider-container .slider-content {
    height: 390px;
  }
}
@media all and (max-width: 580px) {
  .slider-section .slider-wrapper {
    height: 305px;
  }
  .slider-section .slider-wrapper .slider-container {
    width: 90%;
    left: 5%;
    right: 5%;
    top: 2.5%;
  }
  .slider-section .slider-wrapper .slider-container .slider-content {
    height: 305px;
  }
  .slider-section .slider-wrapper .slider-container .slider-content p {
    font-size: 1.15rem;
    letter-spacing: 1.35px;
    margin-bottom: 0;
  }
  .slider-section .slider-wrapper .slider-container .slider-content i.fas {
    font-size: 0.75rem;
  }
  .slider-section.carrousel .slick-list .slick-track .slider-content {
    display: flex;
  }
  .slider-section:not(.carrousel) .slider-wrapper .slider-container .slider-content .main-txt {
    position: relative;
    height: 85%;
    width: 75%;
    top: 5%;
    left: 12.5%;
    overflow-x: auto;
    padding: 8px 4px;
    border-radius: 6px;
  }
  .slider-section.carrousel .slider-wrapper .slider-container .slider-content .main-txt {
    position: relative;
    height: auto;
    top: initial;
    left: initial;
  }
}

/*-----------------------------
  ##ACF Section - FlipBox
-------------------------------*/
.flip-box-section .flipbox {
  display: block;
  padding: 12px 6px;
  position: relative;
}

.flip-box-section .flipbox .front {
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 10;
  text-align: center;
  color: #fff;
  width: 100%;
}

.flip-box-section .flipbox .front .flipbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.flip-box-section .flipbox .back {
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 9;
  width: 100%;
}

.flip-box-section .flipbox .flipped-boxed-service {
  text-align: center;
  background: var(--featured-color);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100%;
  transition: 150ms all ease-in-out;
}

.flip-box-section .flipbox .flipped-boxed-service i {
  font-size: 2.25rem;
  color: var(--light-txt-color);
  margin: auto;
  z-index: 2;
}

.flip-box-section .flipbox .flipped-boxed-service h1,
.flip-box-section .flipbox .flipped-boxed-service h2,
.flip-box-section .flipbox .flipped-boxed-service h3,
.flip-box-section .flipbox .flipped-boxed-service h4 {
  text-align: center;
  color: var(--light-txt-color);
  padding-top: 20px;
}

.flip-box-section .flipbox .flipped-boxed-service p {
  font-size: 1.25rem;
  padding: 6px 12px;
  z-index: 2;
}

.flip-box-section .back .flipped-boxed-service {
  background: var(--alt-featured-color);
  font-size: 1.25rem;
  color: #fff;
}

.flipbox .bordered-content {
  position: absolute;
  width: 90%;
  left: 5%;
  height: 80%;
  top: 10%;
  border: 1px solid #fff;
  z-index: 1;
}

/*Specific style*/
/*Rotate*/
.flip-box-section .flipbox.rotate {
  perspective: 1000px;
}

.flip-box-section .flipbox.rotate .front {
  -webkit-transform: rotateX(0deg) rotateY(0deg);
  -moz-transform: rotateX(0deg) rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transition: all 600ms ease-in-out;
  -moz-transition: all 600ms ease-in-out;
  -ms-transition: all 600ms ease-in-out;
  -o-transition: all 600ms ease-in-out;
  transition: all 600ms ease-in-out;
}

.flip-box-section .flipbox.rotate .back {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transition: all 600ms ease-in-out;
  -moz-transition: all 600ms ease-in-out;
  -ms-transition: all 600ms ease-in-out;
  -o-transition: all 600ms ease-in-out;
  transition: all 600ms ease-in-out;
}

/*Fading*/
.flip-box-section .flipbox.fading-scale .back {
  opacity: 0;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transition: all 600ms ease-in-out;
  -moz-transition: all 600ms ease-in-out;
  -ms-transition: all 600ms ease-in-out;
  -o-transition: all 600ms ease-in-out;
  transition: all 600ms ease-in-out;
}

/*SlideUp*/
.flip-box-section .flipbox.slideUp .back {
  top: initial;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  -webkit-transform: translate(0, 100%);
  -moz-transform: translate(0, 100%);
  -webkit-transition: opacity 600ms ease-in-out, -moz-transform 600ms ease-in-out, z-index 600ms 600ms;
  -moz-transition: opacity 600ms ease-in-out, -moz-transform 600ms ease-in-out, z-index 600ms 600ms;
  -ms-transition: opacity 600ms ease-in-out, -moz-transform 600ms ease-in-out, z-index 600ms 600ms;
  -o-transition: opacity 600ms ease-in-out, -moz-transform 600ms ease-in-out, z-index 600ms 600ms;
  transition: opacity 600ms ease-in-out, -moz-transform 600ms ease-in-out, z-index 600ms 600ms;
}

/*Call to action*/
.flip-box-section .flipbox .back a.material-cta, .flip-box-section .flipbox .back a.js-cta {
  margin: 12px auto;
  opacity: 0;
}

.flip-box-section .flipbox.revealed .back a.material-cta, .flip-box-section .flipbox.revealed .back a.js-cta {
  opacity: 1;
}

/*Animation classes - Added by JS code*/
/*Rotate*/
.flip-box-section .flipbox.rotate.revealed .front {
  z-index: 9;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
}

.flip-box-section .flipbox.rotate.revealed .back {
  z-index: 10;
  -webkit-transform: rotateX(0deg) rotateY(0deg);
  -moz-transform: rotateX(0deg) rotateY(0deg);
}

/*Scale and fade*/
.flip-box-section .flipbox.fading-scale.revealed .front {
  z-index: 9;
}

.flip-box-section .flipbox.fading-scale.revealed .back {
  z-index: 10;
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
}

/*Slide Up*/
.flip-box-section .flipbox.slideUp.revealed .front {
  z-index: 9;
}

.flip-box-section .flipbox.slideUp.revealed .back {
  z-index: 10;
  opacity: 1;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -webkit-transition: opacity 600ms, -moz-transform 600ms;
  -moz-transition: opacity 600ms, -moz-transform 600ms;
  -ms-transition: opacity 600ms, -moz-transform 600ms;
  -o-transition: opacity 600ms, -moz-transform 600ms;
  transition: opacity 600ms, -moz-transform 600ms;
}

/*-------------------------------------
##ACF Section - Static info block
--------------------------------------*/
.cta-bloc-section {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.cta-bloc-panel {
  position: relative;
  height: auto;
}

.cta-bloc-panel figure {
  background: transparent;
  color: var(--light-txt-color);
  height: auto;
  border-radius: 6px;
  top: 0;
  left: 0;
  text-align: center;
}

.cta-bloc-panel figure.front {
  z-index: 2;
}

.cta-bloc-panel figure img {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100%;
  max-height: 50vh;
  filter: blur(0px);
  transition: 400ms filter ease-in-out;
}

.cta-bloc-panel:hover figure img {
  filter: blur(3px);
}

.cta-bloc-panel .panel-front a.boxed-cta {
  font-weight: 700;
  font-size: 1.5rem;
  position: relative;
  height: 195px;
  width: 195px;
  margin: 0 auto;
  bottom: 125px;
  background: var(--dark-bg-featured-color);
  filter: contrast(100%);
  color: var(--light-txt-color);
  z-index: 10; /*Ensure a clickable link*/
  box-shadow: none;
  transition: 400ms all ease-in-out;
}

.cta-bloc-panel .panel-front.no-bg a.boxed-cta {
  bottom: 85px;
  box-shadow: none;
  transition: 400ms all ease-in-out;
}

.cta-bloc-panel:hover .panel-front a.boxed-cta {
  transform: scale(1.1);
}

.cta-bloc-panel:hover .panel-front.no-bg a.boxed-cta {
  transform: scale(1.1);
}

.cta-bloc-panel .panel-front a.boxed-cta.unlink {
  cursor: default;
}

.cta-bloc-panel .panel-front.no-bg a.boxed-cta.unlink {
  cursor: default;
}

.cta-bloc-panel .panel-front a.boxed-cta:after {
  position: absolute;
  content: "";
  bottom: 0;
  width: 50%;
  border-bottom: 2px solid transparent;
  transition: 400ms all ease-in-out;
}

.cta-bloc-panel .panel-front a.boxed-cta:hover {
  filter: contrast(200%);
}

.cta-bloc-panel .panel-front a.boxed-cta:hover:after {
  bottom: 25%;
  border-bottom: 2px solid var(--main-bg);
}

.cta-bloc-panel .panel-front a.boxed-cta.unlink:hover:after {
  display: none;
}

.cta-bloc-panel .caption {
  position: relative;
  border: 2px solid;
  width: auto;
  height: 100%;
  min-height: 275px;
  padding: 8px 24px;
  margin-top: 24px;
  bottom: 185px;
  box-shadow: none;
  transition: 400ms box-shadow ease-in-out;
}

.cta-bloc-panel .caption p {
  text-shadow: none;
  transition: 400ms text-shadow ease-in-out;
}

.cta-bloc-panel:hover .caption p {
  text-shadow: 0px 0px 0px #3c3c3c;
}

.cta-bloc-panel:hover .caption {
  box-shadow: 0px 0px 4px 2px var(--title-color);
}

@media all and (max-width: 768px) {
  .cta-bloc-panel figure img {
    max-height: 340px;
  }
}
@media all and (max-width: 580px) {
  .cta-bloc-panel {
    max-height: initial !important;
  }
  .cta-bloc-panel figure img {
    display: none;
  }
  .cta-bloc-panel .panel-front a.boxed-cta {
    bottom: initial;
    width: 100%;
    height: 125px;
    align-items: center;
  }
  .cta-bloc-panel .caption {
    bottom: initial;
    min-height: initial;
    border-color: transparent !important;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 24px;
  }
}

/*-----------------------------
  ##ACF Section - Timeline
-------------------------------*/
.timeline-section {
  background-color: rgba(0, 0, 0, 0) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 0 24px !important;
}

.timeline-section:before, .timeline-section:after {
  content: "";
  background: var(--main-bg);
  height: 30px;
  width: 30px;
  border: 5px solid;
  border-radius: 50%;
  position: absolute;
  right: calc(50% - 15px);
  z-index: 1;
}

.timeline-section:before {
  top: -15px;
  border-color: var(--secondary-bg);
}

.timeline-section:after {
  bottom: -12.5px;
  border-color: var(--secondary-bg);
}

.timeline-section .timeline-content {
  overflow: hidden;
  padding: 25px;
  background-repeat: no-repeat;
  background-size: 51% 100%;
}

.timeline-section .timeline-content:nth-of-type(2n+1) {
  border-radius: 110px 0 0 110px;
}

.timeline-section .timeline-content:nth-of-type(2n) {
  border-radius: 0 110px 110px 0;
}

.timeline-section .timeline-content:not(first-child) {
  margin-top: -5px;
}

.timeline-section .timeline-content:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  width: 0;
}

.timeline-section .timeline-content.timeline-left:before, .timeline-section .timeline-content.timeline-right:before {
  content: "";
  background: var(--main-bg);
  height: calc(100% - 10px);
  width: calc(100% - 5px);
  position: absolute;
  top: 5px;
}

.timeline-section .timeline-content.timeline-left:before {
  left: 5px;
  border-radius: 105px 0 0 105px;
}

.timeline-section .timeline-content.timeline-right:before {
  right: 5px;
  border-radius: 0 105px 105px 0;
}

.timeline-section .timeline-content div.padded-left {
  padding-left: 36px;
}

.timeline-section .timeline-content .timeline-step-title {
  font-size: 3rem;
  font-weight: 700;
}

.timeline-section .timeline-content .timeline-icon {
  padding-right: 8px;
  font-size: 2rem;
}

.timeline-section .timeline-content h4 {
  font-size: 1.75rem;
  font-weight: 700;
}

@media all and (max-width: 576px) {
  .timeline-section .timeline-content h4 {
    font-size: 1.5rem;
  }
}
