/**************************************/
/********** TEMPLATE MODULES **********/
/**************************************/

.template-module {
	margin: 70px 0;
	position: relative;
}
.template-module.row {
	margin: 60px -10px;
}
.template-module:first-child {
	margin-top: 0;
}
.template-module.row:first-child {
	margin-top: -10px;
}
.template-module:last-child {
	margin-bottom: 0;
}
.template-module.row:last-child {
	margin-bottom: -10px;
}

.template-module.row > div {
	padding: 10px;
}

.template-module img {
	display: block;
	margin: 0 auto;
}


@media(max-width: 991px) {
	.template-module {
		margin: 50px 0;
	}
	.template-module.row {
		margin: 40px -15px;
	}
}


/**************************************/
/********** MODULE 1: SLIDER **********/
/**************************************/

.template-module .slider:not(.slick-slider) {
    display: flex;
    overflow: hidden;
}
.template-module .slider:not(.slick-slider) > .slide {
    flex-basis: 100%;
    min-width: 100%;
}

.template-module .slider .slide {
	position:relative;
}

.template-module .slider .image, .template-module .slider .video {
	position:relative;
	padding-top:56.94%;
	background-color:black;
}
.template-module .slider .image img, .template-module .slider .video img {
	position:absolute;
	top:0;bottom:0;
	left:0;right:0;
	max-width:100%;
	max-height:100%;
	margin:auto !important;
}

.template-module .slider .legend {
	padding:20px 80px;
	display:flex;
	align-items:flex-end;
	justify-content:center;
	position:absolute;
	top:0;bottom:0;
	width:100%;
	background:linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 100%);
	pointer-events:none;
}
.template-module .slider .legend p {
	font-size:15px;
	text-align:center;
	color:white;
	text-transform:uppercase;
}

.template-module .slider-arrows {
	position:absolute;
	top:0;
	padding-top:56.94%;
	width:100%;
	pointer-events:none;
}
.template-module .slider-arrows > div {
	cursor:pointer;
	position:absolute;
	top:0;bottom:0;
	margin:auto;
	width:29px;
	height:18px;
	font-size:0;
	pointer-events:auto;
	background-image:url(/assets/img/arrow-sm-white.svg);
	background-repeat:no-repeat;
}
.template-module .slider-arrows > div.prev, .template-module .thumbnail-slider-arrows > div.prev {
	left:20px;
	transform:rotate(180deg);
}
.template-module .slider-arrows > div.next, .template-module .thumbnail-slider-arrows > div.next {
	right:20px;
}

/********** MODULE 1: SLIDER THUMBANILS **********/

.template-module .thumbnail-wrapper {
	position:relative;
	margin-top:20px;
	padding:0 65px;
}

.template-module .thumbnail-slider {
	margin:0 -10px;
}
.template-module .thumbnail-slider:not(.slick-slider) {
	display:flex;
	justify-content:flex-start;
	overflow:hidden;
}
.template-module .thumbnail-slider:not(.slick-slider) > div {
	flex-basis: 25%;
	min-width:25%;
}

.template-module .thumbnail-slider .slide {
	padding:0 10px;
	cursor:pointer;
}

.template-module .thumbnail-slider .slide > div {
	padding:6px;
	border:1px solid transparent;
	transition:all .2s ease-in-out;
}
.template-module .thumbnail-slider .image {
	position:relative;
    padding-top:56.94%;
	background-position:center;
	background-size:cover;
}
.template-module .thumbnail-slider .slide.active > div, .template-module .thumbnail-slider .slide:hover > div {
	border:1px solid var(--green);
}


.template-module .thumbnail-slider-arrows {
	width:100%;	
}
.template-module .thumbnail-slider-arrows > div {
	cursor:pointer;
	position:absolute;
	margin:auto;
	width:40px;
	height:18px;
	font-size:0;
	top: 50%;
    transform: translateY(-50%);
	background-image:url(/assets/img/arrow-sm-green.svg);
	background-repeat:no-repeat;
}
.template-module .thumbnail-slider-arrows > div.slick-disabled {
	opacity:.1;
	pointer-events:none;
}

.template-module .thumbnail-slider-arrows > div.prev {
	left:0;
	transform: translateY(-50%) rotate(180deg);
}
.template-module .thumbnail-slider-arrows > div.next {
	right:0;
}


@media(max-width:767px) {
	.template-module .slider .legend {
		padding:10px 40px;
	}
	.template-module .slider .legend p {
		font-size:12px;
	}
	
	.template-module .slider-arrows > div, .template-module .thumbnail-slider-arrows > div {
		width:25px;
		height:14px;
	}
	.template-module .slider-arrows > div.prev {
		left:10px;
	}
	.template-module .slider-arrows > div.next {
		right:10px;
	}
	
	.template-module .thumbnail-wrapper {
		padding: 0 40px;	
	}
	
	.template-module .thumbnail-slider-arrows > div.prev {
		left: 0;	
	}
	.template-module .thumbnail-slider-arrows > div.next {
		right:0;
	}
}


/**************************************************/
/********** MODULE 2 & 3: TEXT AND IMAGE **********/
/**************************************************/

.template-module.module2 > div:first-child {
	padding-right: 45px;
}

.template-module.module3 > div:last-child {
    padding-left: 45px;
}

@media(max-width: 767px) {
	.template-module.module2 > div:first-child {
		padding-right: 15px;
	}
	
	.template-module.module3 > div:last-child {
		padding-left: 15px;
	}
}


/**************************************************/
/********** MODULE 10 & 11: TEXT COLUMNS **********/
/**************************************************/

.template-module.module10, .template-module.module11 {
	display: flex;
	margin-left: -25px;
	margin-right: -25px;
}

.template-module.module10 > div, .template-module.module11 > div {
	float: none !important;
	padding: 10px 25px;
}
.template-module.module10 > div {
	flex: 0 0 50%;
	max-width: 50% !important;
	width: auto !important;
}
.template-module.module11 > div {
	flex: 0 0 33.333%;
	max-width: 33.333% !important;
	width: auto !important;
}

.template-module.module10 > div > div, .template-module.module11 > div > div {
	margin: 0 !important;
}


@media(max-width: 767px) {
	.template-module.module10 > div, .template-module.module11 > div {
		flex: 0 0 100%;
		max-width: 100% !important;
	}
}


/******************************************************************/
/********** MODULE 11: VIDEO & MODULE 1: SLIDER w/ video **********/
/******************************************************************/

.template-module .video {
	position: relative;
}
.template-module .video::before {
    content: "";
    position: absolute;
    top: 0;bottom: 0;
    left: 0;right: 0;
    background-color: rgba(1, 1, 1, .4) /* rgba(0, 0, 0, .75) */;
	z-index:1;
}

.template-module .video iframe {
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	width: 100%;
	height: 100%;
    border: 0;
    opacity: 0;
    pointer-events: none;
	z-index:1;
}

.template-module .video a {
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	width: 90px;
	height: 90px;
	border: 4px solid white;
	border-radius: 100%;
	opacity: .75;
	z-index:1;
}
.template-module .video a:hover {
	opacity: 1;
}
.template-module .video a:before {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	background-image: url(/assets/img/play-white.svg)
}


@media(max-width: 991px) {
	.template-module .video a {
		width: 70px;
		height: 70px;
	}
	.template-module .video a img {
		width: 62px;
		height: 62px;
	}	
}

@media(max-width: 767px) {
	.template-module .video a {
		width: 50px;
		height: 50px;
		border-width: 2px
	}
	.template-module .video a img {
		width: 46px;
		height: 46px;
	}	
}