/**************************************/
/********** TEMPLATE MODULES **********/
/**************************************/

.template-module {
  margin: 50px 0;
  position: relative;
  font-size: 0;
}

.template-module:first-child {
  margin-top: 0;
}

.template-module:last-child {
  margin-bottom: 0;
}

.template-module .row {
  margin: 40px 0px;
}

.template-module .row > div {
  padding-inline: 0;
}

.template-module a:not(.button, .search) {
  display: flex;
}

.template-module a:not(.button, .search):has(img) {
  overflow: hidden;
}

.template-module.round-corners img {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.template-module.round-corners a:has(img),
.template-module.round-corners img,
.template-module.round-corners .image-container img {
  border-radius: 50px;
}

/* .template-module.round-corners img {
  border-radius: 0px;
} */

.template-module.round-corners a:has(img) + p,
.template-module a:has(img) + p,
.template-module.round-corners img + p,
.template-module img + p,
.template-module div:has(iframe) + p {
  text-align: center;
}

.template-module div:has(iframe) + p {
  margin-top: -2.7em;
  position: relative;
  z-index: 1;
  color: var(--white);
  font-weight: 300;
}

.template-module.circle img {
  border-radius: 240px;
}

.template-module > img {
  width: 100%;
}

.template-module a[href] img {
  transition: var(--transition);
}

.template-module .button {
  padding: 27px 24px 26px;
  border-radius: 40px;
  display: block;
  width: fit-content;
  margin-top: 15px;
}

.template-module .button.button-center {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.template-module .button.button-right {
  position: relative;
  left: 100%;
  transform: translateX(-100%);
}

/* 
@media(min-width: 768px) {
	.template-module {
		margin: 80px 0;
	}
} */

@media (min-width: 992px) {
  .template-module a[href]:hover img {
    transform: scale(1.02);
  }

  .template-module {
    margin: 100px 0;
  }

  .template-module .row {
    margin: 0;
  }

  .template-module .row > div {
    padding: 0;
  }
}

/**************************************/
/********** MODULE 1: SLIDER **********/
/**************************************/

.template-module .slider-wrapper {
  position: relative;
  background-color: var(--white);
}

.template-module.round-corners .slider-wrapper {
  border-radius: 50px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.template-module .slider:not(.tns-slider) {
  display: flex;
  overflow: hidden;
}

.template-module .slider:not(.tns-slider) > .slide {
  flex-basis: 100%;
  min-width: 100%;
}

.template-module .slider:not(.tns-gallery) .slide {
  position: relative;
}

.template-module .image {
  position: relative;
  padding-top: 56.25%;
}

.article .template .template-module:first-of-type .image {
  padding-top: 62.5%;
}
.article .template .template-module:first-of-type .image img{
  width: 100% !important;
}

.template-module .image {
  background-color: #c7c5c5;
}

.template-module .image img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: unset;
  max-height: 100%;
  margin: auto;
  width: auto !important;
  height: 100%;
  background-color: var(--white);
}

.template-module .slider .legend {
  padding: 10px 40px;
  text-align: center;
  position: relative;
  background-color: white;
  pointer-events: none;
}

.template-module .slider .legend p {
  text-align: center;
  margin: 0.25em 0;
}

.slider-arrows {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  width: 100%;
  justify-content: space-between;
}

.slider-arrows > div {
  position: relative;
  width: 20px;
  height: 38px;
  pointer-events: auto;
  margin: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrows > div:hover {
  opacity: 0.6;
}

.slider-arrows > div.next {
  transform: rotate(180deg);
}

.slider-arrows > div.next {
  right: 0;
}

.slider-arrows > div::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url("/assets/img/general/slider-arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-image: url("/assets/img/general/slider-arrow.svg");
  mask-repeat: no-repeat;
  mask-size: cover;
  background-color: #ffffff;
  transition: var(--transition);
  cursor: pointer;
}

@media (max-width: 768px) {
  .slider-arrows > div {
    width: 17px;
    height: 35px;
    margin: 25px;
  }
}

@media (min-width: 992px) {
  .template-module .slider .legend {
    padding: 20px 80px;
  }
}

/***********************************************/
/********** MODULE 1: SLIDER (NO BAR) **********/
/***********************************************/

.template-module .slider-wrapper.no-bar .slider .legend {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.template-module.round-corners .slider-wrapper.no-bar .slider .legend {
  border-radius: 50px;
}

.template-module .slider-wrapper.no-bar .slider .legend p {
  color: white;
}

.template-module .slider-wrapper.no-bar .slider .video + .legend {
  background: transparent;
}

/* 

.template-module .slider-wrapper.no-bar .slider-arrows {
    padding-top: 0;
}

.template-module .slider-wrapper.no-bar .slider-arrows > div::before {
    background-image: url(/template1/assets/img/arrow-white.svg);
} */

@media (max-width: 768px) {
  .template-module .slider-wrapper.no-bar .slider .legend p {
    font-size: 14px;
  }
}

/**************************************************/
/********** MODULE 1: SLIDER THUMBNAILS  **********/
/**************************************************/

.template-module .thumbnail-wrapper {
  position: relative;
  margin-top: 20px;
  padding: 0 40px;
}

.template-module .thumbnail-slider {
  margin: 0 -10px;
}

.template-module .thumbnail-slider:not(.tns-slider) {
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
}

.template-module .thumbnail-slider:not(.tns-slider) > div {
  flex-basis: 50%;
  min-width: 50%;
}

.template-module .thumbnail-slider .slide {
  padding: 0 10px;
  cursor: pointer;
}

.template-module .thumbnail-slider .slide > div {
  padding: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.template-module .thumbnail-slider .image {
  position: relative;
  padding-top: 56.25%;
  background-position: center;
  background-size: cover;
}

.template-module .thumbnail-slider .slide.tns-nav-active > div,
.template-module .thumbnail-slider .slide:hover > div {
  border: 1px solid rgb(var(--primary));
}

.template-module .thumbnail-slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  pointer-events: none;
}

.template-module .thumbnail-slider-arrows > div {
  position: relative;
  cursor: pointer;
  margin: auto;
  width: 25px;
  height: 11px;
  font-size: 0;
  pointer-events: auto;
}

.template-module .thumbnail-slider-arrows > div[aria-disabled="true"] {
  opacity: 0.1;
  pointer-events: none;
}

.template-module .thumbnail-slider-arrows > div.prev {
  margin-left: 0;
  transform: rotate(180deg);
}

.template-module .thumbnail-slider-arrows > div.next {
  margin-right: 0;
}

.template-module .thumbnail-slider-arrows > div::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url(/assets/img/general/slider-caret.svg);
  -webkit-mask-repeat: no-repeat;
  mask-image: url(/assets/img/general/slider-caret.svg);
  mask-repeat: no-repeat;
  mask-size: cover;
  background-color: #000000;
  transition: var(--transition);
  cursor: pointer;
}

@media (min-width: 768px) {
  .template-module .thumbnail-wrapper {
    padding: 0 65px;
  }

  .template-module .thumbnail-slider:not(.tns-slider) > div {
    flex-basis: 25%;
    min-width: 25%;
  }

  .template-module .thumbnail-slider-arrows > div {
    width: 40px;
    height: 18px;
  }
}

/**************************************************/
/********** MODULE 1: FULL WIDTH GALLERY **********/
/**************************************************/

.template-module .gallery {
  position: relative;
}

.template-module .gallery-fullscreen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background: rgba(32, 32, 32, 0.9);
  padding: 100px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.template-module .gallery-fullscreen.visible {
  opacity: 1;
  pointer-events: auto;
}

.template-module .gallery-track {
  padding-top: 56.25%;
  max-height: 800px;
  position: relative;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 30px;
}

.template-module .gallery-fullscreen .gallery-track {
  height: 100%;
  padding: 0;
  max-height: none;
}

.template-module .gallery-track::-webkit-scrollbar-track {
  background-color: var(--white);
}

.template-module .gallery-track::-webkit-scrollbar {
  height: 22px;
  background-color: var(--white);
}

.template-module .gallery-fullscreen .gallery-track::-webkit-scrollbar {
  height: 0;
}

.template-module .gallery-track::-webkit-scrollbar-thumb {
  background-color: var(--black);
  border: 10px solid var(--white);
}

.template-module .gallery-track .gallery-list {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
}

.template-module .gallery-fullscreen .gallery-track .gallery-list {
  position: relative;
}

.template-module .gallery-slide {
  height: 100%;
  top: 0;
  overflow: hidden;
}

.template-module .gallery-fullscreen .gallery-slide {
  max-height: 100%;
  min-width: 100%;
  height: auto;
  display: flex;
  align-items: center;
}

.template-module .gallery-track .gallery-slide img {
  max-height: 100%;
  cursor: pointer;
  transition: var(--transition);
  will-change: transform;
}

.template-module .gallery-fullscreen .gallery-track .gallery-slide img {
  max-width: 100%;
  display: block;
  margin: auto;
  cursor: default;
}

.template-module .gallery > .gallery-track .gallery-slide img:hover {
  transform: scale(1.025);
}

/* .template-module .gallery-arrows {
	position: absolute;
	top: 0;left: 0;
	right: 0;bottom: 42px;
	pointer-events: none;
} */
/* .template-module .gallery-arrows div {
	position: absolute;
	width: 25px;
	height: 47px;
	top: 0;bottom: 0;
	right: 20px;
	margin: auto;
	background-image: url(/template1/assets/img/caret-slim-white.svg);
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: auto;
} */
/* .template-module .gallery-fullscreen .gallery-arrows div {
	pointer-events: none;
}
.template-module .gallery-fullscreen.visible .gallery-arrows div {
	pointer-events: auto;
}
.template-module .gallery-arrows div:first-of-type {
	left: 20px;
	right: auto;
	transform: rotate(180deg);
} */

/* .template-module .gallery.disabled .gallery-arrows div {
	opacity: 0;
	pointer-events :none;
} */

.template-module .gallery-fullscreen .close {
  position: absolute;
  top: 35px;
  right: 35px;
  height: 25px;
  width: 25px;
  opacity: 1;
  overflow: visible;
}

.template-module .gallery-fullscreen .close::before,
.template-module .gallery-fullscreen .close::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 35px;
  background-color: white;
  transform: rotate(45deg);
  transform-origin: left;
}

.template-module .gallery-fullscreen .close::after {
  left: auto;
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right;
}

@media (min-width: 768px) {
  .template-module .gallery-track::-webkit-scrollbar {
    height: 42px;
  }

  .template-module .gallery-track::-webkit-scrollbar-thumb {
    border: 20px solid var(--white);
  }

  /* .template-module .gallery-arrows div {
		width: 32px;
		height: 62px;
		right: 50px;
	}
	.template-module .gallery-arrows div:first-of-type {
		left: 50px;
	} */
}

@media (min-width: 992px) {
  .template-module .gallery-fullscreen {
    display: block;
  }

  .template-module .gallery-track {
    padding-top: 35.7142%;
  }
}

/**************************************************/
/********** MODULE 2 & 3: TEXT AND IMAGE **********/
/**************************************************/

/* .template-module.wrap::before,
.template-module.wrap::after {
    content: "";
    display: table;
    clear: both;
} */

.template-module.wrap img + h2,
.template-module.wrap img + h3,
.template-module.wrap img + h4,
.template-module.wrap img + p,
.template-module.wrap img + ul,
.template-module.wrap img + ol,
.template-module.wrap .image + h2,
.template-module.wrap .image + h3,
.template-module.wrap .image + h4,
.template-module.wrap .image + p,
.template-module.wrap i.imagemg + ul,
.template-module.wrap .image + ol {
  margin-top: 0;
}

.template-module.wrap ol,
.template-module.wrap ul{
  display: flow;
}

.template-module.wrap {
  display: flow-root;
}

.template-module.module2.wrap .image-container,
.template-module.module3.wrap .image-container {
  max-width: 100%;
  float: none;
  margin: 0 0 15px 0;
}

.template-module.module2 .row > div:first-child {
  padding-right: 15px;
}

.template-module.module3 .row > div:last-child {
  padding-left: 15px;
}

.template-module.module2.wrap .image.video,
.template-module.module3.wrap .image.video {
  width: 100%;
}

.template-module.module2.wrap .image.video img,
.template-module.module3.wrap .image.video img {
  position: relative;
  margin: 0;
}

@media (min-width: 768px) {
  .template-module.module2.wrap .image-container,
  .template-module.module3.wrap .image-container {
    max-width: calc(50% - 10px);
    margin-top: 5px;
  }

  .template-module.module2.wrap h2,
  .template-module.module3.wrap h2 {
    margin-top: 0px;
  }

  .template-module.module2.wrap .image.video .image-container,
  .template-module.module3.wrap .image.video .image-container {
    max-width: unset;
  }

  .template-module.module2.wrap .image.video,
  .template-module.module3.wrap .image.video {
    max-width: calc(50% - 10px);
  }

  .template-module.module2.wrap .image-container {
    margin: 8px 0 30px 43px;
    float: right;
  }

  .template-module.module3.wrap .image-container {
    margin: 8px 44px 30px 0;
    float: left;
  }

  .template-module.module2 .row > div:first-child {
    padding-right: 45px;
  }

  .template-module.module3 .row > div:last-child {
    padding-left: 45px;
  }

  .template-module.module2.wrap .image.video {
    margin-bottom: 25px;
    margin-left: 55px;
    float: right;
    padding-top: 0;
  }

  .template-module.module3.wrap .image.video {
    margin-bottom: 25px;
    margin-right: 55px;
    float: left;
    padding-top: 0;
  }

  .template-module.module2.wrap .image.video img,
  .template-module.module3.wrap .image.video img {
    padding: 0;
  }
}

/**********************************************************/
/********** MODULE 4, 5, 6 & 7: IMAGE AND LEGEND **********/
/**********************************************************/

.template-module.module4 p,
.template-module.module5 p,
.template-module.module6 p,
.template-module.module7 p {
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 0;
}

/* .template-module.module4 img+h2,
.template-module.module5 a+h2,
.template-module.module6 a+h2,
.template-module.module7 a+h2,
.template-module.module4 img+h3,
.template-module.module5 a+h3,
.template-module.module6 a+h3,
.template-module.module7 a+h3,
.template-module.module4 img+h4,
.template-module.module5 a+h4,
.template-module.module6 a+h4,
.template-module.module7 a+h5 {
   margin-top: 1em;
} */

@media (min-width: 768px) {
  .template-module.module4 p,
  .template-module.module5 p,
  .template-module.module6 p,
  .template-module.module7 p {
    width: 75%;
    padding: 0 10px 0;
  }
}


.template-module.module4.module10 .row > div:not(:has( img)) {
display: flex;
flex-direction: column;
justify-content: center;
}

/**************************************************/
/********** MODULE 10 & 11: TEXT COLUMNS **********/
/**************************************************/

/* .template-module.module10 .row,
.template-module.module11 .row {
	display: flex;
	margin: -10px -25px;
}

.template-module.module10 .row > div,
.template-module.module11 .row > div {
	float: none !important;
	padding: 10px 25px;
	flex: 0 0 100%;
	max-width: 100% !important;
}


@media(min-width: 768px) {
    .template-module.module10 .row > div {
		flex: 0 0 50%;
		max-width: 50% !important;
		width: auto !important;
	}
	.template-module.module11 .row > div {
		flex: 0 0 33.333%;
		max-width: 33.333% !important;
		width: auto !important;
	}
} */

.template-module.module11 .row {
  width: 100%;
  gap: 50px;
}

.template-module.module11 .row > div {
  width: 100%;
  --gap: 100px;
}

/***************************************************************************************/
/********** MODULE 4 + 10 FUSION & MODULE 5 + 11 FUSION: TEXT + IMAGE COLUMNS **********/
/***************************************************************************************/

.template-module.module4.module10 p,
.template-module.module5.module11 p {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  width: auto;
}

.template-module.module5.module11 .header,
.template-module.module4.module10 .header {
  margin-bottom: 25px;
}

.template-module.module5.module11 h3,
.template-module.module4.module10 h3 {
  margin: 20px 0 25px;
  line-height: 1.13;
}

.template-module.module5.module11 img + p {
  margin-top: 30px;
}

.template-module.module10 img + p,
.template-module.module11 img + p {
  margin-top: 1.5em;
}

/* .template-module.module10 img+h2,
.template-module.module11 img+h2,
.template-module.module10 img+h3,
.template-module.module11 img+h3,
.template-module.module10 img+h4,
.template-module.module11 img+h4,
.template-module.module10 img+h5,
.template-module.module11 img+h5 {
   margin-top: 1em;
} */

/* .template-module.module10 .button,
.template-module.module11 .button {
	margin: 2.625rem 0 0 0;
	color: #ffffff;
	background-color: #000000;
	font-size: 12px;
	letter-spacing: 0.1em;
	padding: 21px 29px;
	border: 1px solid #ffffff;
}

.template-module.module10 .button:hover,
.template-module.module11 .button:hover {
	color: #000000;
	background-color: #ffffff;
	border: 1px solid #000000;
} */

@media (max-width: 767px) {
  .template-module.module4.module10 .row,
  .template-module.module5.module11 .row {
    /* margin: -15px -25px; */
  }

  .template-module.module4.module10 .row > div,
  .template-module.module5.module11 .row > div {
    /* padding: 15px 20px; */
  }

  /* .template-module.module4.module10 .row > div a,
	.template-module.module5.module11 .row > div a {
		width: 100%;
	} */

  .template-module.module10 a.button,
  .template-module.module11 a.button {
    padding: 13px 20px;
  }
  .template-module.module5.module10 .row:has(.col-12.col-md-6:last-of-type > img):not(:has(.col-12.col-md-6:nth-child(1) > img)),
  .template-module.module4.module10 .row:has(.col-12.col-md-6:last-of-type > img):not(:has(.col-12.col-md-6:nth-child(1) > img)) {
      flex-direction: column-reverse;
      gap:30px;

  }

  .template-module.module5.module11 h3,
  .template-module.module4.module10 h3 {
    margin: 15px 0 20px;
  }
  .template-module.module4.module10 p, .template-module.module5.module11 p{
    margin: 10px 0 15px;
  }
}

@media (min-width: 992px) {
  .template-module.module4.module10 a.button,
  .template-module.module5.module11 a.button {
    /* margin-top: 20px; */
    position: relative;
  }
}

.template-module.module4.module10 .text-center a.button,
.template-module.module5.module11 .text-center a.button {
  margin-left: auto;
  margin-right: auto;
}

.template-module.module4.module10 .text-right a.button,
.template-module.module5.module11 .text-right a.button {
  margin-left: auto;
  margin-right: 0;
}

/******************************************************************/
/********** MODULE 12: VIDEO & MODULE 1: SLIDER w/ video **********/
/******************************************************************/

.template-module .video::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.template-module .video::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  mix-blend-mode: multiply;
  background-color: #b6b4b4;
  z-index: 1;
}


.template-module.round-corners .video,
.template-module.round-corners .video iframe,
.template-module.round-corners .video video,
.template-module.round-corners .video::before {
  border-radius: 50px;
  overflow: hidden;
}

.template-module .video.open::before {
  background-color: black;
}

.fullscreen-container iframe,
.fullscreen-container video,
.template-module .video iframe,
.template-module .video video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.template-module .video.open iframe,
.template-module .video.open video {
  opacity: 1;
  pointer-events: auto;
  /* object-fit: contain; */
}

.template-module .video.open + .legend {
  opacity: 0;
}

@supports (object-fit: cover) {
  .template-module .image.video img {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.fullscreen-container {
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.fullscreen-container.open {
  opacity: 1;
  pointer-events: all;
}

.fullscreen-container iframe,
.fullscreen-container video {
  display: none;
  opacity: 1;
  pointer-events: all;
  padding-block: 50px;
}

.fullscreen-container .close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 15px;
  z-index: 10;
  cursor: pointer;
}

.fullscreen-container .close::after,
.fullscreen-container .close::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: rotate(45deg);
  background-color: #fff;
}

.fullscreen-container .close::after {
  transform: rotate(-45deg);
}

.template-module .video a.play {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 95px;
  height: 95px;
  /* border-radius: 100%; */
  z-index: 1;
  /* border: 4px solid white; */
}

.template-module .video a.play:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  right: 0;
  z-index: 2;
  opacity: 0.9;
  max-height: 30px;
  max-width: 27px;
  margin: auto;
  -webkit-mask-image: url("/assets/img/general/play-video.svg");
  mask-image: url("/assets/img/general/play-video.svg");
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: cover;
  -webkit-mask-size: cover;
  background-color: var(--black);
  transition: var(--transition);
}

.template-module .video a.play:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 95px;
  height: 95px;
  transition: var(--transition);
  border-radius: 100%;
  z-index: 1;
  background-color: var(--white);
  opacity: 0.6;
  border: none;
}

/* 
.template-module .video a.play:hover {
	transform: scale(1.10);
} */

.template-module .video + p.text-center {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  margin: 1em auto;
  color: white;
  z-index: 1;
}

.template-module a + p.text-center,
.template-module img + p.text-center {
  margin-top: 25px;
}

.template-module.module2.wrap .image.video,
.template-module.module3.wrap .image.video {
  width: 100%;
  padding: 0;
}

@media (max-width: 768px) {
  .template-module .video + p.text-center {
    font-size: 10px;
  }

  .template-module a + p.text-center,
  .template-module img + p.text-center {
    margin-top: 10px;
  }

  .template-module .video a.play:before {
    max-height: 17px;
    max-width: 14px;
    left: 5px;
  }

  .template-module .video a.play:after {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 768px) {
  .template-module .video a {
    width: 70px;
    height: 70px;
    border-width: 4px;
  }

  .template-module .video a.play {
    width: 93px;
    height: 93px;
  }
}

@media (min-width: 992px) {
  .template-module .video a {
    width: 95px;
    height: 95px;
  }

  /* .template-module .video a:hover {
		width: 100px;
		height: 100px;
	} */

  .template-module .video a.play:hover::before {
    transform: scale(1.05);
  }

  .template-module .video a.play:hover::after {
    transform: scale(1.05);
  }
}

/*****************************************************/
/********** MODULE 19: CALL TO ACTION (CTA) **********/
/*****************************************************/

.template-module .cta {
  display: block;
  position: relative;
  width: 100%;
  padding: 30px;
  background-color: var(--secondary);
  border-radius: 50px;
  text-align: center;
}

.template-module .cta h3,
.template-module .cta .h3 {
  margin: auto;
  color: var(--white);
  font-size: 2.813rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.13px;
  text-align: center;
  color: #fefefe;
}

.template-module .cta p {
  text-align: center;
  margin: auto;
  color: var(--white);
}

.template-module .cta .h3 + p {
  margin-top: 27px;
  max-width: 700px;
}

.template-module .cta .button {
  margin-top: 33px;
  display: inline-block;
  transition: var(--transition);
  background-color: var(--primary);
  overflow: visible;
}

.template-module .cta .button::before {
  top: 0;
  bottom: 0;
  right: 0;
  border-radius: 50px;
  display: block;
  margin: auto;
  background-color: var(--primary);
}

@media (max-width: 768px) {
  .template-module .cta {
    padding: 60px 30px;
  }

  .template-module .cta h3,
  .template-module .cta .h3 {
    font-size: 30px;
    line-height: 1.13;
    letter-spacing: -0.75px;
  }

  .template-module .cta p {
    max-width: unset;
  }

  .template-module .cta .h3 + p {
    margin-top: 30px;
  }

  .template-module .cta .button {
    padding-inline: 20px;
    padding-block: 13px;
  }
}

@media (min-width: 992px) {
  .template-module .cta {
    padding: 53px 40px;
  }

  .template-module .cta .button:hover::before {
    transform: scale(1.05);
  }
}

/******************************************/
/********** MODULE 20: PHONE CTA **********/
/******************************************/

.template-module .phone-cta {
  background-color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.template-module .phone-cta .image {
  max-width: 60px;
}

.template-module .phone-cta .image + div {
  flex: 1;
  margin-left: 20px;
}

.template-module .phone-cta div span {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: rgb(var(--primary));
  line-height: 1;
  text-transform: uppercase;
}

.template-module .phone-cta div span.phone {
  font-size: 2.125rem;
  color: black;
  margin-top: 10px;
}

.template-module .phone-cta a.button {
  padding: 22px 30px;
  margin-top: 20px;
  min-width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .template-module .phone-cta a.button {
    min-width: auto;
  }

  .template-module .phone-cta {
    padding: 25px 45px;
  }

  .template-module .phone-cta .image {
    max-width: 70px;
  }

  .template-module .phone-cta .image + div {
    margin-left: 30px;
  }

  .template-module .phone-cta a.button {
    margin: 0;
  }
}

@media (min-width: 992px) {
  .template-module .phone-cta {
    padding: 35px 70px;
  }

  .template-module .phone-cta .image {
    max-width: 90px;
  }

  .template-module .phone-cta .image + div {
    margin: 0 60px;
  }

  .template-module .phone-cta a.button {
    padding: 22px 30px;
  }
}

/*****************************************************/
/********** MODULE 21: IMAGE + TITLE + TEXT **********/
/*****************************************************/

.template-module.module21 {
  background-color: white;
}

.template-module.module21:not(:first-child) {
  margin-top: 70px;
}

.template-module.module21:not(:last-child) {
  margin-bottom: 70px;
}

.template-module.module21 .container {
  padding-bottom: 50px;
}

.template-module.module21 .title {
  position: relative;
  top: -20px;
  margin: 0 15px;
  padding: 15px;
  background-color: rgb(var(--primary));
  display: inline-flex;
}

.template-module.module21 .title::before,
.template-module.module21 .title::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15px;
  background-color: inherit;
}

.template-module.module21 .title::before {
  left: -15px;
  transform: skewX(-8deg);
  transform-origin: bottom left;
}

.template-module.module21 .title::after {
  right: -15px;
  transform: skewX(-8deg);
  transform-origin: top right;
}

.template-module.module21 .title .image {
  width: 52px;
  margin-right: 20px;
}

.template-module.module21 .title h2,
.template-module.module21 .title .h2 {
  margin: 0;
  color: white;
}

@media (max-width: 767px) {
  .template-module.module21 .title h2,
  .template-module.module21 .title .h2 {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .template-module.module21:not(:first-child) {
    margin-top: 90px;
  }

  .template-module.module21:not(:last-child) {
    margin-bottom: 90px;
  }

  .template-module.module21 .container {
    padding-left: 50px;
    padding-right: 50px;
  }

  .template-module.module21 .title {
    top: -30px;
    margin: 0;
    left: -15px;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .template-module.module21:not(:first-child) {
    margin-top: 120px;
  }

  .template-module.module21:not(:last-child) {
    margin-bottom: 120px;
  }

  .template-module.module21 .container {
    padding: 80px 20px;
  }

  .template-module.module21 .title .image {
    margin-right: 30px;
  }

  .template-module.module21 .title {
    position: absolute;
    top: -40px;
    left: 0;
  }

  .template-module.module21 .title::before {
    transform: skewX(-10deg);
  }

  .template-module.module21 .title::after {
    transform: skewX(-10deg);
  }
}

/***************************************************/
/********** MODULE 22: CONTACT US BUTTONS **********/
/**************************************************/

.template-module.module22 .container > a {
  background-color: rgb(var(--primary));
  width: 100%;
}

.template-module.module22 .container > a + a {
  margin-top: 30px;
}

.template-module.module22 .container > a:last-child {
  background-color: white;
  border: 1px solid #e5e3e3;
  flex: 1;
}

.template-module.module22 .container > a.has-image .image {
  width: 100%;
}

.template-module.module22 .container > a.has-image .image img {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.template-module.module22 .container > a .description {
  position: relative;
  padding: 18px 47px 14px 20px;
}

.template-module.module22 .container > a .description {
  padding-top: 22px;
  padding-bottom: 18px;
}

.template-module.module22 .container > a p {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: white;
  margin: 0;
}

.template-module.module22 .container > a:last-child p {
  color: var(--black);
}

.template-module.module22 .container > a p + p {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 10px;
}

.template-module.module22 .container > a span {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  margin: auto;
  width: 12px;
  height: 24px;
  transition: var(--transition);
}

.template-module.module22 .container > a:hover span,
.template-module.module22 .container > a:focus span {
  transform: translateX(5px);
}

.template-module.module22 .container > a span::before,
.template-module.module22 .container > a span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 17px;
  height: 2px;
  background-color: white;
  border-right: 2px;
  transform-origin: right;
  transition: var(--transition);
}

.template-module.module22 .container > a:last-child span::before,
.template-module.module22 .container > a:last-child span::after {
  background-color: rgb(var(--primary));
}

.template-module.module22 .container > a span::before {
  transform: rotate(45deg);
}

.template-module.module22 .container > a:hover span::before {
  transform: rotate(35deg);
}

.template-module.module22 .container > a span::after {
  transform: rotate(-45deg);
}

.template-module.module22 .container > a:hover span::after {
  transform: rotate(-35deg);
}

@supports (object-fit: cover) {
  .template-module.module22 .container > a.has-image .image img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }
}

@media (min-width: 768px) {
  .template-module.module22 .container {
    display: flex;
    justify-content: flex-start;
  }

  .template-module.module22 .container > a {
    width: auto;
  }

  .template-module.module22 .container > a + a {
    margin: 0;
    margin-left: 30px;
  }

  .template-module.module22 .container > a.has-image {
    display: flex;
  }

  .template-module.module22 .container > a.has-image .image {
    width: 150px;
    margin: 0;
  }

  .template-module.module22 .container > a .description {
    padding: 23px 57px 19px 25px;
  }

  .template-module.module22 .container > a:last-child .description {
    padding-top: 22px;
    padding-bottom: 18px;
    flex: 1;
  }

  .template-module.module22 .container > a span {
    right: 20px;
  }
}

@media (min-width: 992px) {
  .template-module.module22 .container > a + a {
    margin-left: 40px;
  }

  .template-module.module22 .container > a.has-image .image {
    width: 165px;
  }

  .template-module.module22 .container > a .description {
    padding: 28px 80px 24px 30px;
  }

  .template-module.module22 .container > a:last-child .description {
    padding-top: 27px;
    padding-bottom: 23px;
  }

  .template-module.module22 .container > a span {
    right: 30px;
  }
}

/***************************************************/
/***************** MODULE TABLE ********************/
/**************************************************/

.template-module table,
.template-module table td,
.template-module table tr,
.template-module table th,
.listing .accordion table,
.listing .accordion table td,
.listing .accordion table tr,
.listing .accordion table th {
  font-size: 1.5rem;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
  padding: 21px 0 20px 21px;
  position: relative;
  border-collapse: collapse;
}

.template-module table,
.listing .accordion table {
  padding: 0;
}

.template-module table th,
.listing .accordion table th {
  color: white;
  font-weight: 600;
}

.template-module table tbody tr td:last-of-type,
.template-module table th:last-of-type,
.listing .accordion table tbody tr td:last-of-type,
.listing .accordion table th:last-of-type {
  text-align: end;
  padding: 21px 11px 20px 10px;
}

.template-module table td,
.listing .accordion table td {
  font-weight: 300;
  color: #1c1c1c;
  border: 1px solid #beddef;
}

.template-module table tr > td:first-of-type,
.listing .accordion table tr > td:first-of-type {
  padding-right: 20px;
}

.template-module table td b,
.template-module table td strong,
.listing .accordion table td strong {
  font-weight: 600;
  text-align: left;
}

@media (max-width: 768px) {
  .template-module table,
  .template-module table td,
  .template-module table tr,
  .template-module table th,
  .listing .accordion table,
  .listing .accordion table td,
  .listing .accordion table tr,
  .listing .accordion table th {
  font-size: 1rem;
  }
}

.tns-item,
.tns-item .legend,
.tns-item .container,
.tns-item .image.filter::after,
.tns-item .image.filter::before,
.tns-item .image.video::before,
.tns-item .image.video .play,
.tns-item .image.video video,
.tns-item img {
  perspective: 1000px !important;
  backface-visibility: hidden !important;
  transform: translate3d(0, 0, 0);
  -webkit-perspective: 1000px !important;
  -webkit-backface-visibility: hidden !important;
  -webkit-transform: translate3d(0, 0, 0);
}

.template-module.module2.wrap .image-container small,
.template-module.module3.wrap .image-container small,
.template .template-module p.subtitle,
.template .template-module small.subtitle,
.template-module.module5.module11 .row > div > small,
.template-module.module4.module10 .row > div > small {
  display: block;
  font-size: 14px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  text-align: left;
  color: #858585;
  margin: 15px 0 30px;
}

.template-module.module2.wrap .image-container small,
.template-module.module3.wrap .image-container small {
  margin: 15px 0;
}

.template .template-module small.text-center {
  width: 100%;
}

@media (max-width: 768px) {
  .template .template-module p.subtitle,
  .template .template-module small.subtitle {
      padding: 0 20px;
  }
  .template-module.module12 .container {
      max-width: 100%;
      padding: 0;
  }
  .template-module.module12.round-corners .video::before,
  .template-module.module12.round-corners .container .image img,
  .template-module.module12.round-corners .container .image {
        border-radius: 0;
    }
  .template-module .video + p.text-center{
      display: block;
      font-size: 14px;
      font-weight: 300;
      font-stretch: normal;
      font-style: normal;
      line-height: 1.29;
      margin: 0;
      margin-bottom: 10px;
      padding: 0 20px;
}
}


 