/**************************************/
/********** TEMPLATE MODULES **********/
/**************************************/
:root {
    --transition: all 0.3s ease-in-out;
}
.template-module {
	margin: 0;
    position: relative;
}

.template-module.gallery-container {
	margin: 70px 0;
    position: relative;
}

.template-module.module10{
	margin: 40px 0;
    position: relative;
}

.template-module.row {
	margin: 60px -10px;
}
.template-module:first-child {
	margin-top: 0;
	margin-bottom:0
}
.template-module.row:first-child {
	margin-top: -10px;
}
.template-module.row.module2 .template {
    margin: 0;
}
.template-module.row:last-child {
	margin-bottom: -10px;
}


.template-module td {
    padding-left: 15px;
}
.template-module table {
    border: #8f8f8f;
}
.template-module.module5 img {
    height: 100%;
}
.template-module.row > div {
	padding: 10px;
}

.template-module img {
	display: block;
    width: 100%;
}

.template-module .slider img {
	display: block;
    width: auto;
}

.template-module .video img {
	height: 100%;
    object-fit: cover;
}
.template-module.module2 > div:first-of-type {
    order: 1;
}
.template-module.module2 > div:nth-of-type(2) {
    order: -1;
}

.template{
	width:100%
}
@media(max-width: 991px) {
	.template-module {
		margin: 50px 0;
	}
	.template-module.row {
		margin: 40px -15px;
	}
}
.module10 > div > div > div,
.module11 > div > div > div {
    width: 100% !important;
}
.module10 > div > div > div > div,
.module11 > div > div > div > div {
    margin: 0 !important;
}

@media(min-width: 760px) {
    .module10 > div,
    .module11 > div {
        padding: 10px 25px;
    }
    .module10 > div > div > div {
        max-width: 50% !important;
    }
    .module10 > div > div > div,
    .module11 > div > div > div {
        padding: 0 20px;
    }
    .module11 > div > div > div {
        max-width: 33% !important;
    }
    .template-module.module2 > div:first-of-type {
        order: unset;
    }
    .template-module.module2 > div:nth-of-type(2) {
        order: unset;
    }
}
/**************************************/
/********** 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 .image {
	position: relative;
	padding-top: 61.42%;
	background-color: white;
}
.template-module .slider .image img {
	position: absolute;
	top: 0;bottom:0;
	left: 0;right: 0;
	max-width: 100%;
	max-height: 100%;
}

.template-module .slider .legend {
	padding: 20px 80px;
	text-align: center;
	position: relative;
	background-color: white;
}
.template-module .slider .legend p {
    text-align: center;
    margin: .25em 0;
}

.template-module .slider-arrows {
	position: absolute;
    top: 0;bottom: 0;
    left: 0;right: 0;
    padding-top: 61.42%;
    display: flex;
	align-items: center;
	pointer-events: none;
}

.template-module .slider-arrows > div {
	cursor: pointer;
	position: relative;
	width: 40px;
	height: 18px;
	font-size: 0;
	pointer-events: auto;
}
.template-module .slider-arrows > div::before {
	opacity: 0;
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url(/img/right_arrow.svg);
}

.template-module .slider-arrows > div.prev {
	margin-right: auto;
	margin-left: 20px;
    transform: rotate(180deg);
}
.template-module .slider-arrows > div.next {
	margin-left: auto;
	margin-right: 20px;
}


@media(max-width: 991px) {
	.template-module .slider .legend {
		padding: 10px 40px;
	}
	
	.template-module .slider-arrows > div {
		width: 25px;
		height: 14px;
	}
	.template-module .slider-arrows > div.prev {
		margin-left: 10px;
	}
	.template-module .slider-arrows > div.next {
		margin-right: 10px;
	}
}


/**************************************************/
/********** 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 > 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(0, 0, 0, .35);
}

.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;
}

.template-module .video a {
    position: absolute;
    cursor: pointer;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	border-radius: 100%;
    opacity: .75;
    transition: all 0.3s ease-in-out;
}
.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;
    opacity: 0.6;
    background-image: url(/img/play.svg);
    background-repeat: no-repeat;
}
@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;
	}	
}
@media(min-width:1190px) {
    .template-module .video a:before {
        width: 90px;
        height: 90px;
    }
}
/******************************************************************/
/**********                   TABS                       **********/
/******************************************************************/
.accordion {
    background-color: #09a8d7;
    cursor: pointer;
    transition: var(--transition);
    padding: 0px;
    margin-bottom: 5px;
}
.accordion:hover {
    /*background-color: #f0efef;*/
}
.template .listing .accordion h3 {
    text-transform: uppercase;
	margin-bottom: 0!important;
	padding-bottom:15px!important;
	color:#FFFFFF!important
}
.accordion>div {
    position: relative;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}
.template .text .accordion > div,
.template .text .listing a {
}
.template .text .accordion > div{
	padding-left:30px;
	padding-right:30px
}
.template .text .accordion > .description {
    color: black;
	background:#adecff;
	padding-left:30px;
	padding-right:30px;
} 

.template .text .accordion > .description p:first-of-type{
	padding-top:20px;
}
.accordion>div:first-of-type:hover,
.accordion>div:first-of-type:focus {
   /* background-color: #f8fafa*/
}

.accordion .toggle {
    height: 26px;
    width: 26px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto
}

.accordion .toggle:hover,
.accordion .toggle:focus {
    transform: scale(1.1)
}

/*.accordion .toggle::before,
.accordion .toggle::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 2px;
    width: 100%;
    background: #746cab;
    transition: var(--transition)
}

.accordion .toggle::after {
    transform: rotate(90deg)
}

.accordion.open .toggle::after,
.accordion.active .toggle::after {
    transform: rotate(0deg)
}*/



.accordion .toggle::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
	right:20px;
    margin: auto;
    height: 30px;
    width: 40px;
    background: url(../img/right_arrow_wh.svg) center no-repeat;
    transition: var(--transition);
}

.accordion .toggle::after {
    transform: rotate(90deg)
}

.accordion.open .toggle::after,
.accordion.active .toggle::after {
    transform: rotate(-90deg)
}

.accordion .description {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
    color: #555859;
    font-size: 16px;
    font-weight: 300;
}

.accordion.active .description {
    max-height: none
}

.accordion .description>*:first-child {
    margin-top: 30px
}

.accordion .description>*:last-child {
    margin-bottom: 65px
}

.accordion .description .button {
    padding: 10px 25px;
    margin-top: 35px
}
.accordion>div {
    padding: 25px 0
}
.accordion .toggle {
    right: 0
}
.accordion>div:first-of-type:hover,
.accordion>div:first-of-type:focus {
    /*background-color: transparent*/
}
.accordion .description {
    padding: 0
}
.accordion .description>*:first-child {
    margin-top: 15px
}
.accordion .description>*:last-child {
    margin-bottom: 50px
}
.template .content .accordion {
    font-size: 16.9px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
}

/*****************************************************/
/********** HOMEPAGE SCROLL GALLERY SECTION **********/
/*****************************************************/

.hp-gallery {
	position:relative;
}
.hp-gallery.hp-gallery-fullscreen {
	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);
}
.hp-gallery.hp-gallery-fullscreen.visible {
	opacity:1;
	pointer-events:auto;
}

.hp-gallery .gallery-track {
	position:relative;
	height:auto;
    overflow-x:auto;
    height: 520px;
	overflow-y:hidden;
}
.hp-gallery.hp-gallery-fullscreen .gallery-track {
	height:100%;
	padding:0;
	max-height:none;
}
.hp-gallery .gallery-track::-webkit-scrollbar-track {
	background-color:#ffffff;
}
.hp-gallery .gallery-track::-webkit-scrollbar {
	height:17px;
	background-color:#ffffff;
}
.hp-gallery.hp-gallery-fullscreen .gallery-track::-webkit-scrollbar {
	height:0;
}
.hp-gallery .gallery-track::-webkit-scrollbar-thumb {
	background: linear-gradient(to right, #52c0e8, #746cab 84%);
	border-left:22px solid #fff;
	border-right:22px solid #fff;
    border-top:5px solid #fff;
    border-radius: 100px;
	border-bottom:5px solid #fff;
}

.hp-gallery .gallery-track .gallery-list {
	position:absolute;
	top:0;left:0;
	display:flex;
	flex-wrap:nowrap;
    height: 100%;
}
.hp-gallery.hp-gallery-fullscreen .gallery-track .gallery-list {
	position:relative;
}

.hp-gallery .gallery-slide {
	height:100%;
	top:0;
    overflow:hidden;
    height: 500px;
    overflow: hidden;
}
.hp-gallery.hp-gallery-fullscreen .gallery-slide {
	max-height:100%;
	min-width:100%;
    height:auto;
    position: relative;
}

.hp-gallery .gallery-track .gallery-slide img {
	max-height:100%;
	cursor:pointer;
	transition:var(--transition);
	will-change:transform;
}
.hp-gallery.hp-gallery-fullscreen .gallery-track .gallery-slide img {
    max-width: 100%;
    display: block;
    margin: auto;
    cursor: default;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
}
.hp-gallery:not(.hp-gallery-fullscreen) .gallery-track .gallery-slide img:hover {
	transform:scale(1.025);
}

.hp-gallery .gallery-arrows {
	position:absolute;
	top:0;left:0;
	right:0;bottom:17px;
	pointer-events:none;
}
.hp-gallery .gallery-arrows a {
    cursor: pointer;
	position:absolute;
	width:32px;
	height:62px;
	top:0;bottom:0;
	right:50px;
	margin:auto;
	background-image:url(/assets/images/chevron.svg);
	pointer-events:auto;
}
.hp-gallery .gallery-arrows a:first-of-type {
	left:50px;
	right:auto;
	transform:rotate(180deg);
}

.hp-gallery.disabled .gallery-arrows a {
	opacity:0;
	pointer-events:none;
}

.hp-gallery.hp-gallery-fullscreen .close {
    position: absolute;
    top: 35px;
    right: 35px;
    height: 25px;
    width: 25px;
    opacity: 1;
}
.hp-gallery.hp-gallery-fullscreen 
.close::before, 
.hp-gallery.hp-gallery-fullscreen .close::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 35px;
    background-color: white;
    transform: rotate(45deg);
    transform-origin: left;
}
.hp-gallery.hp-gallery-fullscreen .close::before, 
.hp-gallery.hp-gallery-fullscreen .close::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 35px;
    background-color: white;
    transform: rotate(45deg);
    transform-origin: left;
}
.hp-gallery.hp-gallery-fullscreen .close::after {
    left: auto;
    right: 0;
    transform: rotate(-45deg);
    transform-origin: right;
}
@media(max-width: 991px) {
	.hp-gallery.hp-gallery-fullscreen {
		display:none;
    }
    .hp-gallery .gallery-track {
		padding-top:68%;
	}
}
@media(min-width: 760px) {
    .template-module .video {
        height: 398px;
    }
}
@media(min-width: 1024px) {
    .template-module .video {
        height: 450px;
    }
    hr {
        width: 100%;
    }
    .template-module .video a:before {
        width: 70px;
        height: 70px;
    }
}
@media(max-width: 767px) {
    hr {
        width: 90%;
    }
    section.hp-gallery {
        padding-left: 0 !important;
        text-align: unset;
    }
	.hp-gallery .gallery-track {
		padding-top:100%;
	}
	
	.hp-gallery .gallery-track::-webkit-scrollbar-thumb {
		border:5px solid #f8f7f7;
	}
	
	.hp-gallery .gallery-arrows a {
		width:25px;
		height:47px;
		right:20px
	}
	.hp-gallery .gallery-arrows a:first-of-type {
		left:20px;
	}
}



/**************************************/
/********** MODULE 1: SLIDER **********/
/**************************************/

.template-module .slider .slide {
	position:relative;
}
.template-module .slider .slide .legend-filter::after {
    height: 100%;
    content: '';
    width: 100%;
    top: 0;
    position: absolute;
    background: linear-gradient(#ffffff00,#2b2b2b8f); 
}
.template-module .slider .image {
	position:relative;
	padding-top:61.42%;
	background-color:black;
}
.template-module .slider .image 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;
    text-transform: uppercase;
	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;
    font-size: 14px;
}
#template .template-module .slider .legend p {
	font-size:16px;
	text-align:center;
	color:white;
}

.template-module .slider-arrows {
	position:absolute;
	top:0;
	padding-top:0;
	width:100%;
	pointer-events:none;
}
.template-module .slider-arrows > div:nth-of-type(1) {
    transform: rotate(90deg);
}
.template-module .slider-arrows > div:nth-of-type(2) {
    transform: rotate(-90deg);
}
.template-module .slider-arrows > div {
	cursor:pointer;
	position:absolute;
	width:17px;
	height:18px;
	font-size:0;
    pointer-events:auto;
    transition: all 0.5s ease-in-out;
}
.template-module .slider-arrows > div.prev, .template-module .thumbnail-slider-arrows > div.prev {
	left:20px;
}
.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:61.4%;
	background-position:center;
	background-size:cover;
}
.template-module .thumbnail-slider .active > div, 
.template-module .thumbnail-slider .slide:hover > div {
	border:1px solid #1d1d1b;
}
.template-module .thumbnail-slider-arrows {
	position:absolute;
	top:50%;left:0;
	transform:translateY(-50%);
	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%);
    transition: all 0.5s ease-in-out;
}
.template-module .thumbnail-slider-arrows > div.slick-disabled {
	opacity:.1;
	pointer-events:none;
}

.template-module .thumbnail-slider-arrows > div svg path {
	fill:#4f4f4e;
	stroke:#4f4f4e;
	stroke-width:2px;
	width: 29px
}
.template-module .thumbnail-slider-arrows > div svg{height:29px}
.template-module .thumbnail-slider-arrows > div.prev {
	left:5px;
}
.template-module .thumbnail-slider-arrows > div.next {
	right:-15px;
}

.template-module .thumbnail-slider-arrows > div.next svg{
	transform:rotate(270deg)
}
.template-module .thumbnail-slider-arrows > div.prev svg{
	transform:rotate(90deg)
}


@media(max-width:767px) {
	.template-module .slider .legend {
		padding:10px 40px;
	}
	#template .template-module .slider .legend p {
		font-size:12px;
	}
	
	.template-module .slider-arrows > div, .template-module .thumbnail-slider-arrows > div {
		width:15px;
		height:19px;
    }
    .template-module .slider-arrows  {
        top: 0;
    }
	.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;
    }
    .template-module .slider-arrows > div svg path {
        fill:rgb(255, 255, 255);
        stroke:rgba(255, 255, 255, 0);
    }
}
@media(min-width:767px) {
    .template-module .slider-arrows > div svg path {
        fill:white;
        stroke:white;
        stroke-width:2px;
    }
    .gallery-container {
        overflow: hidden;
    }
}
@media(min-width:1190px) {
    .template-module .slider-arrows > div {
        top:248px;
    }
}



.listing .file .image {
    width: 40px;
}
.listing .item,
.listing .file {
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#template .listing h3, #template .listing .h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--darkblue);
    text-transform: none;
    padding-right: 26px;
    line-height: unset;
}
#template .listing .item h3,
#template .listing .file h3, #template .listing .file .h3 {
    flex: 1;
    padding-left: 20px;
}
.link::after {
    content: "";
    width: 16px;
    height: 9px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background-image: url(/img/right_arrow.svg);
    background-size: cover;
    background-position: center;
    transition: all .4s ease-in-out;
	background-repeat: no-repeat
}
.link {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    padding-right: 30px;
}
.link:hover::after {
    background-position: 18px;
}
.link.blue {
    color: linear-gradient(to left bottom, #746cab 20%, #56c1e8 100%);;
}