.template-module {
	margin: 50px 0;
    position: relative;
    font-size: 0;
}

.template-module .row {
    margin: -10px;
}
.template-module .row > div {
    padding: 10px;
}

.template-module:first-child {
	margin-top: 0;
}
.template-module:last-child {
	margin-bottom: 0;
}

.template-module a {
    display: inline-block;
    overflow: hidden;
}
.template-module img {
	display: block;
	margin: 0 auto;
}
.template-module a img {
	transition: inherit;
}
.template-module a:hover img {
	transform: scale(1.05);
}


@media(min-width: 992px) {
	.template-module {
		margin: 70px 0;
    }
}

/**************************************************/
/********** MODULE 2 & 3: TEXT AND IMAGE **********/
/**************************************************/

.template-module.module2.wrap > *:nth-child(2),
.template-module.module3.wrap > *:nth-child(2) {
	margin-top: 0;
}

.template-module.module2.wrap img,
.template-module.module3.wrap img {
    max-width: 100%;
    padding: 0 0 15px 0;
}


@media(min-width: 768px) {
    .template-module.module2.wrap img,
    .template-module.module3.wrap img {
        max-width: calc(50% + 45px);
    }

	.template-module.module2.wrap img {
        padding: 0 0 45px 55px;
        float: right;
    }
    .template-module.module3.wrap img {
        padding: 0 55px 45px 0;
        float: left;
    }
}


.template-module.module2 .row > div:first-child {
    padding-right: 15px;
}
.template-module.module3 .row > div:last-child {
    padding-left: 15px;
}


@media(min-width: 768px) {
	.template-module.module2 .row > div:first-child {
        padding-right: 45px;
    }
    .template-module.module3 .row > div:last-child {
        padding-left: 45px;
    }
}

/**************************************************/
/********** MODULE 1: FULL WIDTH GALLERY **********/
/**************************************************/

:root{
    --white: #fff;
	--black: #000;
	--green: #73893b;
	--green-hover: #a7be6f;
	--font-family2: Lato, sans-serif;
}

.template-module .gallery {
	position: relative;
}
.template-module .gallery-fullscreen {
    display: none;
	position: fixed;
    top: 0;bottom: 0;
    left: 0;right: 0;
    z-index: 10;
    background: rgba(32, 32, 32, .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: 61.42%;
	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(--green);
    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-arrows {
	position: absolute;
	top: 0;left: 0;
	right: 0;bottom: 42px;
	pointer-events: none;
}
.template-module .gallery-arrows a {
    position: absolute;
    width: 25px;
	height: 47px;
	top: 0;bottom: 0;
	right: 20px;
	margin: auto;
	/* background-image: url(/img/caret-slim-white.svg); */
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: auto;
}
.template-module .gallery-arrows a:first-of-type {
	left: 20px;
	right: auto;
	transform: rotate(180deg);
}

.template-module .gallery.disabled .gallery-arrows a {
	opacity: 0;
	pointer-events :none;
}

.template-module .gallery-fullscreen .close {
	position: absolute;
	top: 35px;
	right: 35px;
	height: 25px;
	width: 25px;
	opacity: 1;
}
.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(max-width: 767px) {
    .template-module .gallery-track::-webkit-scrollbar {
        height: 42px;
    }
	.template-module .gallery-track::-webkit-scrollbar-thumb {
		border-width: 20px;
	}
	
	.template-module .gallery-arrows a {
		width: 32px;
	    height: 62px;
	}


/* @media(min-width: 992px) {
	.template-module .gallery-fullscreen {
		display: block;
	}
	
	.template-module .gallery-track {
		padding-top: 35.7142%;
	}
} */

/***************************************************/
/********** END OF MODULE SECTION GALLERY***********/
/***************************************************/

/***************************************/
/********** ACCORDION LISTING **********/
/***************************************/

.listing {
	counter-reset: accordion;
}

.listing .accordion.numbered {
	counter-increment: accordion;
}

.listing .accordion > div {
	position: relative;
	padding: 20px 0;
	padding-right: 45px;
	cursor: pointer;
	transition: var(--transition);
    -webkit-transition: var(--transition);
}
.listing .accordion.numbered > div {
	padding-left: 30px;
}
.listing .accordion.numbered > div:first-child::before {
	content: counter(accordion) ".";
	font-size: 16px;
	font-weight: bold;
	color: rgb(var(--primary));
	line-height: 1em;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	height: 1em;
	width: 1em;
	margin: auto;
}

.template .listing .accordion h3,
.template .listing .accordion .h3,
.template .listing .accordion h2,
.template .listing .accordion .h2 {
    padding-right: 35px;
}

.listing .accordion > div:first-child:hover h2, .listing .accordion > div:first-child:focus h2, .listing .accordion.open > div:first-child h2,
.listing .accordion > div:first-child:hover .h2, .listing .accordion > div:first-child:focus .h2, .listing .accordion.open > div:first-child .h2,
.listing .accordion > div:first-child:hover h3, .listing .accordion > div:first-child:focus h3, .listing .accordion.open > div:first-child h3,
.listing .accordion > div:first-child:hover .h3, .listing .accordion > div:first-child:focus .h3, .listing .accordion.open > div:first-child .h3 {
	color: rgb(var(--primary));
}

.listing .accordion .toggle {
	height: 26px;
	width: 26px;
	position: absolute;
	top: 0;bottom: 0;
	right: 0;
	margin: auto;
	transition: var(--transition);
    -webkit-transition: var(--transition);
}
.listing .accordion .toggle:hover,
.listing .accordion .toggle:focus {
	transform:scale(1.1);
}
.listing .accordion .toggle::before,
.listing .accordion .toggle::after {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	margin: auto;
	height: 2px;
	width: 100%;
	background-color: rgb(var(--primary));
	transition: var(--transition);
    -webkit-transition: var(--transition);
}
.listing .accordion .toggle::after {
	transform: rotate(90deg);
}
.listing .accordion.open .toggle::after,
.listing .accordion.active .toggle::after {
	transform: rotate(0deg);
}

.listing .accordion .description {
    padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: var(--transition);
	cursor: default;
}
.listing .accordion.numbered .description {
    padding-left: 0;
}
.listing .accordion.active .description {
	max-height: none;
}
.listing .accordion .description p,
.listing .accordion .description ul,
.listing .accordion .description ol {
	font-size: 16px;
}

.listing .accordion .description > *:first-child {
	margin-top: 5px;
}
.listing .accordion .description > *:last-child {
	margin-bottom: 30px;
}

.listing .accordion .description .button {
	padding: 10px 25px;
	margin-top: 35px;
}


@media(min-width: 768px) {	
	.listing .accordion > div {
        padding: 25px 0;
    }
    .listing .accordion.numbered > div,
    .listing .accordion.numbered .description {
        padding-left: 40px;
    }
	
	.listing .accordion .description {
		padding-right: 65px;
    }
    
	.listing .accordion .description > *:first-child {
		margin-top: 15px;
	}
	.listing .accordion .description > *:last-child {
		margin-bottom: 40px;
	}
}


/******************************************/
/********** MINI ARTICLE LISTING **********/
/******************************************/

.listing.listing-mini-article .items.row,
.listing.listing-mini-article .container.container-sm .items.row {
    margin: -15px
}
.listing .article.mini-article,
.listing .container.container-sm .article.mini-article {
    padding: 15px
}

.listing .article.mini-article img {
	margin: 0;
}
.listing .article.mini-article h2,
.listing .article.mini-article .h2 {
    font-size: 1.875rem;
    margin-top: 15px;
}

.listing .article.mini-article .video {
    position:relative;
    display: block;
}
.listing .article.mini-article .video::before {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	background-color: rgba(1,1,1,.4);
}
.listing .article.mini-article .video::after {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	height: 60px;
	width: 60px;
	background-image: url(/img/play-white.svg);
	border: 2px solid white;
	border-radius: 100%;
	opacity: .7;
    transition: var(--transition);
}
.listing .article.mini-article .video:hover::after {
	opacity: 1;
}

.listing .article.mini-article .lower {
    display: block;
    margin-top: 20px;
    margin-bottom: 15px;
}
.listing .article.mini-article .lower span {
    padding-bottom: 0;
    padding-top: 0;
}
.listing .article.mini-article .lower span:not(:first-child) {
    padding-top: 12px;
}


@media(min-width: 768px) {
    .listing .article.mini-article h2,
    .listing .article.mini-article .h2 {
        font-size: 1.375rem;
    }
}

@media(min-width: 992px) {
    .listing.listing-mini-article .items.row {
        margin: -34px
    }
    .listing.listing-mini-article .container.container-sm .items.row {
        margin: -25px
    }
    .listing .article.mini-article {
        padding: 34px
    }
    .listing .container.container-sm .article.mini-article {
        padding: 25px
    }
}