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

.template-module {
    margin: 40px 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.contacts .row {
    margin: 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: visible;
}

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

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

.template-module.round-corner-left .image,
.template-module.round-corner-left .img,
.template-module.round-corner-left a:has(img),
.template-module.round-corner-left img {
    border-top-left-radius: 100px;
    overflow: hidden;   
}

.template-module.round-corner-right .image,
.template-module.round-corner-right .img,
.template-module.round-corner-right a:has(img),
.template-module.round-corner-right img {
    border-top-right-radius: 100px;
    overflow: hidden;
}


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

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

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

.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]:has(img):hover img {
        transform: scale(1.02);
    }

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

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

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

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

.template-module .slider-wrapper {
    position: relative;
    background-color: transparent;
}

.template-module .map-gallery {
    display: flex;
    gap: 80px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

.template-module .map-gallery .img-fullscreen img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 800px;
    object-fit: contain;
}

.template-module .map-gallery .slider-wrapper {
    width: 64%;
    height: auto;
}

.featured .slider-wrapper {
    width: 100%;
    height: auto;
    max-width: 1260px;
    margin-inline: auto;
}

.featured .slider {
    display: inline-flex;
}

.featured .slider .slide {
    flex: 1;
    display: inline-flex;
}

.featured .slider .slide .card {
    height: 100%;
}

.template-module .map-gallery .map {
    width: calc(32.8%);
}

.template-module .map-gallery .map img {
    width: 100%;
    height: auto;
    min-width: 100%;
}

.template-module .slider-wrapper .tns-outer {
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

.template-module.round-corners .slider-wrapper {
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    min-width: calc(64% - 40px);
}

.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 .slider .slide .image::before {
    border-radius: 0;
}

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

.template-module .container.place .image {
    padding-top: 56.25%;
    aspect-ratio: 740 / 545;
}

.template-module .slide:not(:has(.legend)) .image.video::after,
.template-module .slide:not(:has(.legend)) .image::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #c7c5c5;
    z-index: -1;
    pointer-events: none;

}

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

.template-module .slider .image img {
    object-fit: contain;
    min-height: initial;
    min-width: initial;
    border-radius: 0;
    height: 100%;
}

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

.template-module .slider .legend p {
    font-size: 1rem;
}


.template-module .slider .legend small {
    text-align: center;
    margin: 0;
    color: white;
    font-size: 1rem;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.45;
}

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

.featured .slider-arrows {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    width: calc(1440px - 40px);
    justify-content: space-between;
    margin-inline: auto;
}

.featured .tns-ovh {
    padding-bottom: 40px;
    margin-right: -47px;
}

.featured .slider-arrows {
    max-width: 1440px;
    margin-inline: auto;
}

.slider-arrows>div {
    position: relative;
    width: 25px;
    height: 49px;
    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/template/caret_slide.svg");
    -webkit-mask-repeat: no-repeat;
    mask-image: url("/assets/img/template/caret_slide.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #ffffff;
    transition: var(--transition);
    cursor: pointer;
}

.featured .slider-arrows>div::before {
    background-color: var(--primary);
}

.colunas.image .tns-inner .slider {
    padding-bottom: 2px;
}

.colunas:not(:has(.tns-inner)) .slider-arrows {
    display: none;
}

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

.colunas .slider-arrows>div.prev {
    left: -55px;
}

.colunas .slider-arrows>div.next {
    right: -55px;
    transform: rotate(0);
}

.colunas .slider-arrows>div::before {
    -webkit-mask-image: url(/assets/img/template/caret.svg);
    mask-image: url(/assets/img/template/caret.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #dedddd;
    ;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


.template .template-module.colunas small.text-center {
    color: #858585;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 300;
    line-height: 1.29;
    letter-spacing: normal;
    text-align: center;
}

.template .template-module.colunas small.text-center:has(+ *) {
    margin-bottom: 21px;
}

@media(max-width: 1192px) {
    .template-module .map-gallery .img-fullscreen img {
        max-height: 600px;
    }
}

@media(max-width: 1024px) {
    .template-module .map-gallery .img-fullscreen img {
        max-height: 800px;
    }
}

@media (max-width: 768px) {

    .slider-arrows>div {
        width: 17px;
        height: 35px;
        margin: 25px;
    }

    .template-module .map-gallery .img-fullscreen img {
        max-height: 500px;
    }

    .template-module .slider .legend small {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .template-module .container:has(.slider-wrapper) {
        padding-inline: 0;
        max-width: 100%;
    }

    .template-module .slider-wrapper.no-bar .slider-arrows>div {
        width: 17px;
        height: 32px;
    }

    .template-module .map-gallery .slider-wrapper.no-bar .slider-arrows>div {
        width: 10px;
        height: 20px;
    }

    .template-module .slider-wrapper.no-bar .slider-arrows>div:first-of-type {
        margin-left: 15px;
    }

    .template-module .slider-wrapper.no-bar .slider-arrows>div:last-of-type {
        margin-right: 15px;
    }

    .template-module .slider-wrapper.no-bar .slider .legend {
        background: none !important;
        position: relative !important;
    }

    .template-module .slider .legend small {
        color: #858585;
    }

    .template-module.round-corners .slider-wrapper {
        border-radius: 30px;
    }
}

@media(max-width: 1440px) {

    .featured>div {
        max-width: 1150px;
    }

    .featured .slider-arrows {
        left: 0;
        width: 100%;
        top: 11px;
    }

    .featured .slider-wrapper {
        height: auto;
        max-width: calc(100% - 80px);
    }

    .featured>div {
        max-width: calc(100%);
    }

    .featured .tns-outer {
        margin-left: 0;
    }
}

@media (max-width: 1192px) {
    .featured .slider-wrapper {
        max-width: 820px;
    }

    .template-module .map-gallery {
        gap: 40px;
        width: 100%;
        margin-inline: auto;
    }
}

@media(max-width: 1024px) {
    .featured .slider-wrapper {
        max-width: calc(100% - 80px);
    }
}

@media(max-width: 768px) {
    .featured .slider-wrapper {
        max-width: calc(100% - 112px);
    }

    .template-module .map-gallery {
        gap: 20px;
    }

    .featured .slider-arrows {
        width: 100%;
    }
}

@media(max-width: 650px) {
    .featured .slider-wrapper {
        margin-left: 55px;
    }
}

@media(min-width: 992px) {
    .template-module .slider .legend {
        padding: 18px 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: linear-gradient(to top, rgba(1, 1, 1, 0.5) 0%, rgba(1, 1, 1, 0) 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
}

.rounded .template-module:not(.fullwidth) .slider-wrapper.no-bar .slider .legend {
    border-radius: 30px;
}

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

.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: 1.077rem;
        color: #858585;
        line-height: 1.43;
        font-weighT: 300;
        margin-top: 0;
        text-align: center;
    }
}

/**************************************************/
/********** 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 .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: .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, .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,
.template-module.wrap {
    display: flow-root;
}

.template-module.module2.wrap img,
.template-module.module3.wrap img {
    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,
.template-module.module3.wrap .image {
    width: 100%;
}

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

.template-module.module2.wrap .image small,
.template-module.module3.wrap .image small,
.template .template-module small.text-center {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.29;
    letter-spacing: normal;
    text-align: center;
    color: #858585;
    margin: 15px 0 0;
}

.template .template-module small.text-center {
    width: 100%;
    /* margin-bottom: 0; */
}

.rounded .template-module.module2 .video>div,
.rounded .template-module.module3 .video>div {
    border-radius: 30px;
}

.template-module.module2 .video>div,
.template-module.module3 .video>div {
    position: relative;
    overflow: hidden;
}

@media(min-width: 768px) {

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

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

    .template-module.module2,
    .template-module.module3 {
        margin-top: -7px;
    }

    .template > section + .template-module.module2,
    .template > section + .template-module.module3 {
        margin-top: inherit;
    }

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

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

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

    .template-module.module3.wrap .image {
        margin: 8px 50px 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 {
        margin-bottom: 19px;
        margin-left: 43px;
        float: right;
        padding-top: 0;
    }

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

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

    .template-module.module2.wrap .image small,
    .template-module.module3.wrap .image small,
    .template .template-module small.text-center {
        font-size: 1.077rem;
        line-height: 1.25;
        margin: 19px 0 0;
    }

}

@media(max-width:767px) {

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

    .template-module.module2.wrap .image+*:not(p):first-of-type,
    .template-module.module3.wrap .image+*:not(p):first-of-type {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .listing .accordion .description .template-module.module2.wrap .image+p:first-of-type,
    .listing .accordion .description .template-module.module3.wrap .image+p:first-of-type,
    .template-module.module2.wrap .image+p:first-of-type,
    .template-module.module3.wrap .image+p:first-of-type {
        margin-top: 20px;
    }

    .template .template-module small.text-center {
        padding-inline: 20px;
    }

    .template .template-module.colunas small.text-center,
    .template-module.module2.wrap .image small,
    .template-module.module3.wrap .image small,
    .template .template-module small.text-center {
        font-size: 1.077rem;
        line-height: 1.43;
    }
}

/**********************************************************/
/********** 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;
    }
}



/***************************************************************************************/
/********** MODULE 4 + 10 FUSION & MODULE 5 + 11 FUSION: TEXT + IMAGE COLUMNS **********/
/***************************************************************************************/
.template-module.module4.module10 .row,
.template-module.module5.module11 .row {
    --gap-h: 50px;
}

/* .template-module.module11 .row>div {
    --gap-h: 100px;
} */

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

.template-module.module4.module10 .row h2,
.template-module.module5.module11 .row h2,
.template-module.module4.module10 .row h3,
.template-module.module5.module11 .row h3,
.template-module.module4.module10 .row h4,
.template-module.module5.module11 .row h4 {
    margin-top: 33px;
    margin-bottom: 20px;
}

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

.template-module.module4.module10 .row>div:not(:has(img))>p {
    margin-top: 0;
}


.template-module.module25 .header {
    margin-bottom: 30px;
}

.template-module .header p {
    margin: 0;
    flex: 1;
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
}

.template-module.module5.module11 .row>div> :first-child,
.template-module.module4.module10 .row>div> :first-child {
    margin-top: 0;
}

.template-module.module25 .itens .img+h4,
.template-module.module25 .itens .img+h3,
.template-module.module25 .itens .img+h2,
.template-module.module25 a:has(img)+h4,
.template-module.module25 a:has(img)+h3,
.template-module.module25 a:has(img)+h2,
.template-module.module25 h2,
.template-module.module25 h3,
.template-module.module25 h4 {
    margin: 0.4em 0;
}

/* 
.template-module.module25 small+h4,
.template-module.module25 small+h3,
.template-module.module25 small+h2 {
    margin-top: 0;
} */


.template .template-module small.subtitle,
.template-module.module5.module11 .row>div>small,
.template-module.module4.module10 .row>div>small {
    display: block;
    font-size: 16px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: center;
    color: #858585;
    margin: 15px 0 0;
}

/* 
.template-module.module25 h2:has(+p),
.template-module.module25 h3:has(+p),
.template-module.module25 h4:has(+p){
	margin-bottom: 0 !important;
} */
.template-module.module25 h2+p,
.template-module.module25 h3+p,
.template-module.module25 h4+p {
    margin-top: 17px !important;
}

.template-module.module25 small+p {
    margin-top: 10px !important;
}

.template-module a[href]:has(img) {
    overflow: hidden;
}

.template-module .header {
    margin-bottom: 21px;
    position: relative;
}

.template-module .header.text-center {
    justify-content: center;
}

.template-module .header.text-right {
    justify-content: right;
}

@media(max-width: 767px) {

    .template-module .header p {
        font-size: 2rem;
        font-weight: 900;
        line-height: 1.36;
        letter-spacing: -0.22px;
        text-align: left;
    }

    .template-module.module4.module10 .row,
    .template-module.module5.module11 .row {
        --gap-h: 20px;
        --gap-v: 50px;
    }


    .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;
    }
}

/* @media(min-width: 992px) {
	.template-module.module25 a.button {
		margin-top: 31px;
        position: relative;
    }
} */

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

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


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

.template-module.module2 .video::before,
.template-module.module3 .video::before {
    content: none;
    display: none;
}

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

.template-module.circle .video iframe,
.template-module.circle .video video,
.template-module.circle .video::before {
    border-radius: 500px;
}

.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; */
}


.fullscreen-container {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, .9);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    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.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;
    }
}

.template-module .video a.play {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 94px;
    height: 94px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-module .video a.play:before {
    content: "";
    position: absolute;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 25px;
    height: 25px;
    margin: auto;
    -webkit-mask-image: url("/assets/img/template/play_icon.svg");
    mask-image: url("/assets/img/template/play_icon.svg");
    mask-position: right;
    -webkit-mask-position: right;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: white;
    transition: var(--transition);
    z-index: 2;
}

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

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

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

.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: 0.769rem;
    }

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

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

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

    .template-module .video a.play:after {
        border: 2px solid white;
        width: calc(100% - 4px);
        height: calc(100% - 4px);
    }

}

.template .template-module .image.video+small {
    z-index: 1;
    font-size: 1rem;
    font-weight: 300;

}

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

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

    /* .template-module.module2.wrap .image.video,
	.template-module.module3.wrap .image.video {
		max-width: 50%;
	} */

    .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;
    }

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

    .fullscreen-container iframe,
    .fullscreen-container video {
        padding: 50px;
    }

    .template .template-module .image.video+small {
        color: #ffffff;
        position: absolute;
        margin-bottom: 23px;
        bottom: 0;
        z-index: 1;
        left: 0;
        right: 0;
        text-align: center;
    }
}

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


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

.template-module .cta {
    display: block;
    position: relative;
    width: 100%;
    padding: 30px;
    background-color: #001463;
    border-top-right-radius: 200px;
    padding: 60px 40px 70px;
}

.template-module .cta h2,
.template-module .cta h3,
.template-module .cta h4,
.template-module .cta h5,
.template-module .cta .h3 {
    font-family: var(--font-family-title);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-align: left;
    margin-bottom: 0;
}

.template-module .cta p {
    text-align: left;
    max-width: 760px;
    color: #fff;
    margin-bottom: 0;
}


.template-module .cta .h2+p,
.template-module .cta .h3+p,
.template-module .cta .h4+p,
.template-module .cta .h5+p {
    margin-top: 35px;
}

.template-module .cta .button {
    margin-top: 0;
    display: inline-block;
    position: absolute;
    right: 50px;
    bottom: 75px;
}

.template-module .cta .button:before {
    content: "";
    width: 44px;
    height: 33px;
    -webkit-mask-image: url(/assets/img/template/bullet.svg);
    mask-image: url(/assets/img/template/bullet.svg);
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: var(--white);
    opacity: 1;
    background-image: none;
    mask-repeat: no-repeat;
    transition: var(--transition);
}

.template-module .cta .button:hover:before {
    transform: translateX(10px);
}




@media(max-width: 768px) {
    .template-module a.cta {
        padding: 52px 22px 61px;
        display: block;
        border-top-right-radius: 100px;
    }


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

    }

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

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

    .template-module .cta .button {
        /* padding: 14px 20px;
        display: block;
        font-size: 0.885rem; */
        display: none;
    }
}

@media(min-width: 768px) {


    .template-module .cta h3,
    .template-module .cta .h3 {
        font-size: 3.125rem;
        margin-top: 0;
    }

}

@media(min-width: 992px) {
    .template-module a.cta {
        padding: 75px 230px 70px 60px;
        display: block;
    }
}



/******************************************/
/********** 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: 2.154rem;
    }
}

@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 {
    font-size: 1.25rem;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    padding: 21px 0 20px 21px;
    position: relative;
}

.template-module table {
    padding: 0;
}

.template-module table th {
    font-weight: 600;
}

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

.template-module table td {
    font-weight: 300;
    color: #1a1819;
    background: #ffffff;
}

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

.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.round-corners,
.template-module.round-corners .image,
.template-module.round-corners img,
.template-module.round-corners a:has(img),
.template-module .round-corners,
.template-module .round-corners .image,
.template-module .round-corners a:has(img),
.template-module .round-corners img {
    border-radius: 30px;
    background-color: transparent;
}

.listing.round-corners img {
    border-radius: 25px;
}

.template-module.circle .image,
.template-module.circle img,
.template-module .circle .image,
.template-module .circle img {
    border-radius: 300px;
    background-color: transparent;
}

.template-module .circle a {
    overflow: unset;
}

.listing.circle img {
    border-radius: 70px;
}

.listing.module25 .container {
    max-width: 1350px;
    padding: 0 85px;
}

/* .listing.module25 .card-wrapper{
    padding: 40px;
}  */


.listing.module25 .card-wrapper {
    gap: 0;
    padding-bottom: 40px;
    flex-wrap: nowrap;
}

.listing.module25 .card-wrapper>div {
    display: flex;
}


.listing.module25 .card-wrapper .card {
    max-width: unset;
    display: flex;
    flex-direction: column;
    /* flex: 1; */
    transition: var(--transition);
    box-shadow: unset;
}

.listing.module25 #tns1-iw {
    margin: 0px -40px 0px 0px;
    padding: 0 20px;
}

.listing.module25 .card-wrapper .card img {
    margin: 0;
}

.listing.module25 .card-wrapper .tns-slide-active .card {
    box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.07);
}

.listing.module25 .card-wrapper .card .tag-wrapper .tag {
    background-color: var(--primary);
    pointer-events: all;
}

.listing.module25 .card-wrapper .card .card-content>div>a:last-of-type {
    font-family: var(--font-family);
    color: #1a1819;
    font-size: 1.281rem;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.24;
}

/* .listing.module25 .card-wrapper .card{
	box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.02);
} */


.listing.module25 .card-wrapper .card .note:has(span) {
    background-color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: var(--white);
    padding: 15px 0;
    text-transform: uppercase;
}

.listing.module25 .arrow-container {
    display: flex;
    gap: 10px;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    justify-content: space-between;
    padding: 100px 15px 0;
    pointer-events: none;

}

.listing.module25 .arrow-container .arrow {
    pointer-events: auto;
}

.listing.module25 .card-slider-header {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 50px;
}

.listing.module25 .arrow-container.mobile {
    display: none;
}

.listing.module25 .header {
    margin-bottom: 0px;
}


@media (max-width: 768px) {

    .listing.module25 .container {
        padding: 0;
    }

    .listing.module25 .card-wrapper {
        gap: 0;
    }

    .listing.module25 .arrow-container {
        display: none;
    }

    .listing.module25 .arrow-container.mobile {
        position: relative;
        justify-content: center;
        display: flex;
        padding: 0;
    }

    .listing.module25 .card-wrapper .card {
        max-width: calc(100% - 20px);
    }

    .template-module.round-corners .image.video img {
        border-radius: 0;
    }

}

.listing.module25 .arrow-container .arrow::before {
    left: -4px;
    right: 0px;
}

.listing.module25 .arrow-container .arrow::after {
    left: -4px;
    right: 0px;
}

.listing.module25 .card-wrapper .card .tag span {
    color: var(--white);
}


.template-module:not(.module3, .module2) .image {
    position: relative;
    aspect-ratio: 16 / 8.99;
    background-color: unset;
}

/*******************************/
/****DESTNATIONS FAKE MODULE****/
/*******************************/

.horizontal-slideshow {
    max-width: 100%;
    padding: 0;
    background-color: #f6f1e8;
    padding-bottom: 100px;
}

.horizontal-slideshow .container {
    max-width: 100%;
    padding: 0;
}

.horizontal-slideshow .container h2 {
    font-size: 1.75rem;
    font-weight: normal;
}


@media(min-width: 768px) {
    /* .hp-horizontal-slideshow {
		margin: 140px 0;
	} */
}

@media(min-width: 992px) {
    .horizontal-slideshow .container {
        padding: 0;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        overflow: hidden;
        gap: 0px;
        justify-content: center;
        padding-left: 224px;
        padding-right: 0;
        max-width: 100%;
    }
}

/********** SLIDER **********/

.horizontal-slideshow .brand-slider {
    margin-right: auto;
}

.horizontal-slideshow .slider {
    cursor: grab;
    display: inline-flex;
}

.horizontal-slideshow .slider.grabbing {
    cursor: grabbing;
}

.horizontal-slideshow .slider:not(.tns-slider) {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
}

.horizontal-slideshow .slider:not(.tns-slider) .slide {
    max-width: 260px;
    min-width: 260px;
}

.horizontal-slideshow .slider .slide {
    position: relative;
    overflow: hidden;
}

.horizontal-slideshow .slider .slide a div:first-of-type {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.horizontal-slideshow .slider .slide a div:first-of-type:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    mix-blend-mode: multiply;
    will-change: transform;
    background-image: linear-gradient(to top, rgba(55, 62, 55, .4) 30%, rgba(55, 62, 55, 0) 100%);
    pointer-events: none;
    inset: 0;
    transition: var(--transition);
    z-index: 1;
    opacity: 1;
}

.horizontal-slideshow .slider .slide a:hover div:first-of-type:before {
    opacity: 0;
}

.horizontal-slideshow .slider .slide a div:first-of-type:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    mix-blend-mode: multiply;
    will-change: transform;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .75));
    pointer-events: none;
    inset: 0;
    transition: var(--transition);
    z-index: 2;
    opacity: 0;

}

.horizontal-slideshow .slider .slide a:hover div:first-of-type:after {
    opacity: 1;
}

.horizontal-slideshow .slider .slide .img_wrapper img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.horizontal-slideshow .slider .slide a:hover img {
    transform: scale(1.03);
}

.horizontal-slideshow .slider .slide>div {
    position: absolute;
    top: auto;
    bottom: 29px;
    left: 30px;
    transition: var(--transition);
    z-index: 10;
    pointer-events: none;
}

.horizontal-slideshow .slider .slide a:hover+div {
    bottom: 50px;
}

.horizontal-slideshow .slider .slide>div>div {
    transition: var(--transition);
}

.horizontal-slideshow .slider .slide>div img {
    width: 65px;
    height: 135px;
}

.horizontal-slideshow .slider .slide>div h3 {
    font-size: 2.188rem;
    font-weight: normal;
    line-height: 1.14;
    letter-spacing: -0.35px;
    text-align: left;
    color: #ebe2d3;
    margin: 0;
}

.horizontal-slideshow .slider .slide>div .button {
    transition: var(--transition);
    opacity: 0;
    padding: 0;
    will-change: transform;


}

.horizontal-slideshow .slider .slide:hover>div .button {
    opacity: 1;
    padding-top: 21px;
}

.horizontal-slideshow .slider .slide>div .button::before {
    content: none;
    display: none;
}

.horizontal-slideshow .slider-wrapper .tns-liveregion {
    display: none;
}


@media (min-width: 768px) {


    .horizontal-slideshow .slider:not(.tns-slider) .slide {
        max-width: 340px;
        min-width: 340px;
    }


}

@media (min-width: 992px) {

    .horizontal-slideshow .slider-wrapper,
    .horizontal-slideshow .slider:not(.tns-slider) {
        max-width: calc(100vw);
        min-width: calc(100vw);
        overflow: hidden;
    }

    .horizontal-slideshow .slider:not(.tns-slider) .slide {
        max-width: 450px;
        min-width: 450px;
    }
}

.horizontal-slideshow .container:first-of-type {
    max-width: 100%;
    padding-inline: 110px;
    margin-bottom: 35px;
    padding-top: 68px;

}

.horizontal-slideshow .header {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.horizontal-slideshow .header h2 {
    flex: 1;
}

.horizontal-slideshow .slider-arrows {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
    gap: 20px;
}

.horizontal-slideshow .tns-inner {
    display: flex;
}

.horizontal-slideshow .slider-arrows>div {
    position: relative;
    width: 42px;
    height: 30px;
    pointer-events: auto;
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
}


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

.horizontal-slideshow .slider-arrows>div[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.5;
}

.horizontal-slideshow .slider-arrows>div.next {
    right: 0;
    transform: rotate(0deg);
}

.horizontal-slideshow .slider-arrows>div::before {
    content: "";
    position: absolute;
    -webkit-mask-image: url("/assets/img/svg/arrow-gallery.svg");
    -webkit-mask-repeat: no-repeat;
    mask-image: url("/assets/img/svg/arrow-gallery.svg");
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: var(--primary);
    transition: var(--transition);
    cursor: pointer;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


@media (max-width: 768px) {
    .horizontal-slideshow .container:first-of-type {
        max-width: 100%;
        padding-inline: 20px;
        margin-bottom: 30px;
    }

    .horizontal-slideshow .slider-arrows,
    .horizontal-slideshow .slider .slide .button {
        display: none;
    }

    .horizontal-slideshow .slider .slide>div {
        left: 16px;
        bottom: 18px;
    }

    .horizontal-slideshow .slider .slide>div img {
        width: 34px;
        height: 71px;
    }

    .horizontal-slideshow .slider .slide>div h3 {
        font-size: 1.692rem;
        line-height: 1.36;
        letter-spacing: -0.22px;
    }
}

/******************************/
/****DESTNATION FAKE MODULE****/
/******************************/

.template .featured {
    background-color: #f6f1e8;
    padding: 76px 65px 105px;
    position: relative;
}

.template .featured .mobile-btn {
    display: none;
}

.featured>div {
    margin-inline: auto;
    padding-inline: 0;
    overflow: visible;
}

.featured>div h2 {
    font-size: 1.75rem;
    font-weight: normal;
    margin-bottom: 0;
}

.template .featured .description p {
    font-size: 1rem;
    margin-top: 12px;
    line-height: 20px;
}

.featured>div {
    width: 100%;
    max-width: 1234px;
}

.featured .card-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 43px;
    padding-left: 0;
}

.featured .card-wrapper .slider {
    padding-bottom: 50px;
}

.featured .card-wrapper .slide {
    background-color: var(--transparent);
    border-radius: 30px;
}

/* .featured .tns-outer {
    margin-left: -20px;
} */

.featured .card-wrapper .slide .card {
    padding-right: 20px;
}

/* @media(max-width: 1192px) {
    .featured .tns-outer {
        margin-left: 0px;
    }
} */

@media(max-width: 1440px) {
    .featured .card-header {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 43px;
        padding-left: 0;
        /* max-width: calc(100% - 90px); */
        margin-inline: auto;
    }

    /* .featured .card-header {
        max-width: calc(100% - 80px);
    } */
}

@media(max-widtH: 767px) {

    .template .featured {
        padding-top: 50px;
        padding-inline: 0;
        padding-bottom: 35px;
    }

    .featured .card-header {
        margin: 0 0 20px;
        justify-content: center;
        padding-left: 0;
    }

    .featured .card-header>div {
        display: none;
    }

    .template .featured .description p {
        font-size: 0.923rem;
        margin-top: 9px;
        line-height: 1.21;
    }

    .template .featured .mobile-btn {
        display: block;
        text-align: center;
    }

    .template .featured .card-content .bot-wrapper {
        padding-top: 15px;
        align-items: flex-end;
    }

    .template .featured .mobile-btn .button {
        justify-content: center;
        font-size: .885rem;
        line-height: 1.43;
        letter-spacing: 0.58px;
        margin-inline: auto;
    }

    .template .featured .mobile-btn .button::after {
        margin-inline: inherit;
        width: 15px;
        height: 11px;
    }
}


/*****************************/
/******** MAP MODULE *******/
/*****************************/


.map-module {
    padding: 40px;
    padding-right: 20px;
    background-color: rgba(236, 243, 251, 0.45);
    border-radius: 20px;
    margin: 0 20px;
    position: relative;
    overflow: visible;
}

.map-module > .container {
    padding: 0;
}

.map-module .map-module-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.map-module .locations-list {
    min-width: 332px;
    position: relative;
}

.map-module h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.58;
    color: var(--primary);
    margin: 20px 0 0 0;
}

.map-module h3.section-title {
    font-family: var(--font-family-title);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.14;
    color: var(--black);
    margin: 7px 0 0 0;
}

.map-module .locations {
    max-height: 530px;
    overflow: auto;
    gap: 10px;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    scrollbar-width: thin;
    scrollbar-color: #cfd8e2 transparent;
    position: relative;
    padding-bottom: 30px;
}

.map-module .locations-list::before {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #ECF3FB;
    background: linear-gradient(180deg, rgba(236, 243, 251, 0) 0%, rgba(236, 243, 251, 0.3) 41%, rgb(247, 247, 247) 100%);
    z-index: 1;
}

.map-module .locations .location {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 17px 29px 0 rgba(0, 0, 0, 0.04);
    background-color: var(--white);
    transition: var(--transition);
}

.map-module .locations .location:hover,
.map-module .locations .location:focus-within {
  box-shadow: 0px 17px 29px 0  rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}


.map-module .locations::-webkit-scrollbar {
    width: 2px;
}

.map-module .locations::-webkit-scrollbar-track {
    background: transparent;
}

.map-module .locations::-webkit-scrollbar-thumb {
    background-color: rgba(73, 114, 160,.16);
    border-radius: 2px;
}

.map-module .locations::-webkit-scrollbar-thumb:hover {
    background-color: rgba(73, 114, 160,.16);
}

.map-module .locations .location .info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.map-module .locations .location img {
    max-width: 96px;
    border-radius: 10px;
}

.map-module .locations .location .location-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: left;
    color: var(--black);
    margin: 0;
    flex: 1;
}

.map-module .locations .location .button-wrapper {
    display: flex;
    gap: 5px;
}

.map-module .locations .location .button-wrapper .button {
    font-size: 12px;
    line-height: 1.33;
    padding: 7px 10px 7px;
}


.map-module .map-wrapper {
    max-width: 805px;
    display: flex;
    position: relative;
}

.map-module .map-wrapper>div {
    position: relative;
    margin: auto;
}

.map-module #map {
    display: block;
    object-fit: contain;
}

.map-module .map-wrapper:has( .is-open) a.map-pin.active,
.map-module a.map-pin {
    background-image: url("/assets/img/homepage/map-pin.png");
    width: 22px;
    height: 25px;
    /* width: 4%;
    height: 6%; */
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    background-size: contain;
    transition: var(--transition);
}

.map-module a.map-pin.active,
.map-module a.map-pin.selected,
.map-module a.map-pin:hover {
    background-image: url("/assets/img/homepage/map-pin-hover.png");
    z-index: 1;
}
.map-module a.map-pin.active,
.map-module a.map-pin.selected,
.map-module a.map-pin:hover {
    transform: scale(1.25);
}

.map-module .map-wrapper:has( .is-open) a.map-pin.active{
    transform: scale(1);
}


.map-module .locations .location .button-wrapper .button {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.map-module .locations .location .button.map-button.mobile {
    display: none;
}

.button.map-button::after {
    content: "";
    position: relative;
    transition: var(--transition);
    -webkit-mask-image: url("/assets/img/homepage/map-pin.svg");
    -webkit-mask-repeat: no-repeat;
    mask-image: url("/assets/img/homepage/map-pin.svg");
    mask-repeat: no-repeat;
    background-color: var(--primary);
    width: 11px;
    height: 13px;
    display: inline-flex;
}

.button.map-button.selected::after,
.button.map-button:hover::after {
    background-color: white;
}

.map-module a.map-pin[data-target="#telhal"] {
    top: 15%;
    left: 23%;
}

.map-module a.map-pin[data-target="#lisboa"] {
    top: 19%;
    left: 28%;
}

.map-module a.map-pin[data-target="#carnaxide"] {
    top: 18%;
    left: 32%;
}

.map-module a.map-pin[data-target="#funchal"] {
    top: 84%;
    left: 27%;
}

.map-module a.map-pin[data-target="#angra"] {
    top: 45%;
    left: 17%;
}

.map-module a.map-pin[data-target="#barcelos"] {
    top: 9%;
    left: 57%;
}

.map-module a.map-pin[data-target="#delgada"] {
    top: 54%;
    left: 25%;
}

.map-module a.map-pin[data-target="#montemor"] {
    top: 63%;
    left: 61%;
}

.map-module a.map-pin[data-target="#areias"] {
    top: 11%;
    left: 61%;
}

.map-module a.map-pin[data-target="#gelfa"] {
    top: 1%;
    left: 51.5%;
}

.map-module a.map-pin[data-target="#melgaco"] {
    top: -3%;
    left: 60%;
}



.map-module .map-pin-dialog {
  position: absolute !important;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);

  max-width: 266px;
  pointer-events: none;
}

.map-module .map-pin-dialog.is-open {
  display: flex;
}

.map-module .map-pin-dialog__img {
  width: 96px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.map-module .map-pin-dialog__title {
  margin: 0;
  font-size: 14px;  
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.43;
  letter-spacing: normal;
  text-align: left;
  color: #1a1819;
}


@media(max-width: 767px) {

    .map-module {
        padding: 35px 0 40px;
    }

    .map-module h2 {
        font-size: 16px;
        line-height: 1.42;
        margin: 0;
    }

    .map-module h3.section-title {
        font-size: 25px;
        line-height: 1.16;
        margin: 7px 0 0 0;
    }

    .map-module .locations {
        max-height: unset;
        overflow: auto;
        gap: 10px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-right: 0;
        scrollbar-width: thin;
        scrollbar-color: #cfd8e2 transparent;
        margin-top: 25px;
        position: relative;
        padding-bottom: 0;
    }

    .map-module .map-module-wrapper {
        flex-direction: column-reverse;
        margin-top: 45px;
    }

    .map-module .map-wrapper {
        transform: none;
    }

    .map-module a.map-pin {
        width: 5.6%;
        height: 6%;
    }

    .map-module .locations-list {
        min-width: unset;
        margin: 0 -20px;
    }

    .map-module .locations-list::before {
        display: none;
    }


    .map-module .locations .location .button.map-button {
        display: none;
    }

    .map-module .locations .location .button-wrapper .button {
        width: unset;
    }

    .map-module .locations .location .button.map-button.mobile {
        display: flex;
        border-radius: 100%;
        padding: 7px 9.5px 7px;
    }

}




.cards-module .container{
	max-width: 1330px;
}

.cards-module .tag-container {
    margin: 75px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 9px;
    padding: 0 20px;
    justify-content: center;
}

.tag-container .tag {
    padding: 15px 20px 14px;
	font-size: 16px;
	font-weight: 400;
	font-stretch: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-align: left;
	color: var(--secondary);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
	border-radius: 0px;
	background: transparent;
    border-radius: 25px;
}

.cards-module .tag-container .tag.selected {
    background-color: var(--primary);
	color: #ffffff;
    pointer-events: none;
}

.cards-module .tag-container .tag::before {
    content: "";
    position: absolute;
    border: 2px solid var(--primary);
    opacity: .5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
	overflow: hidden;
	border-radius: 0px;
    transition: var(--transition);
        border-radius: 25px;
}

.rounded .cards-module .tag-container .tag::before,
.rounded .tag-container .tag{
	border-radius: 50px;

}

.cards-module .tag-container .tag:not(.selected):hover::before {
    opacity: 1;
}


.cards-module .listing .container .items {
	justify-content: center;
}
.card-item {
	overflow: hidden;
}

.card-item > div  {
	padding: 17px 0px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* height: 100%; */
}

.rounded .card-item .img{
	overflow: hidden;
	border-radius: 30px;
}

.card-item a:has(.img){
	border-top-left-radius: 100px;
}

.card-item a:not([href]){
	pointer-events: none;
    overflow: hidden !important;
}

.card-item .img{
	width: 100%;
}

.rounded .card-item a:not([href]){
	pointer-events: none;
	cursor: default;
}

.card-item > div > div {
	display: flex;
	gap: 5px;
}


.template .template-module .card-item > div > p {
    display: inline-flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.template .template-module .card-item > div > p.role  > a {
	font-size: 16px;
    font-weight: 300;
    line-height: 1.66;
    letter-spacing: normal;
    text-align: center;
    color: #003535;
}

.template .template-module .card-item > div > p.role > span:hover,
.template .template-module .card-item > div > p.role  > a:hover {
	border-bottom: 1px solid transparent;
}

.card-item > div > p > a {
    border-bottom: 1px solid transparent;
}


.card-item > div > p > a span {
	transition: var(--transition);
}

.card-item > div > p > a span:hover {
	opacity: 0.6;
}


.card-item .category {
	font-size: 14px;
	font-weight: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.43;
	letter-spacing: normal;
	text-align: center;
	color: var(--primary);
}

.card-item .category:hover {
	opacity: .7;
}

.card-item p {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.66;
	letter-spacing: normal;
	text-align: center;
	color: #003535;
	margin-top: 10px;
}

.card-item h3 + p,
.card-item p + p {
	margin-top: 0;
}

.card-item h3.title,
.card-item h3.title > a,
.card-item p.title,
.card-item p.title > a {
	font-size: 20px;
	font-weight: 500;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.18;
	letter-spacing: normal;
	text-align: center;
	color: var(--secondary);
}

.card-item h3.title,
.card-item p.title{
	margin-top: 10px;
}
.card-item h3.title{
	margin-bottom: .9rem;
}
.card-item h3.title > a,
.card-item p.title > a{
	border: none !important;
}

.card-item h3.title > a:hover,
.card-item p.title > a:hover {
	opacity: .5;
}

.card-item .button-wrapper {
    display: flex;
    justify-content: center;
}

.card-item a.button {
    font-size: 0.875rem;
	padding: 10px 19px 12px;
}

.card-item div > p {
	font-size: 16px;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.56;
	letter-spacing: normal;
	text-align: center;
	color: var(--third);
}


.content .listing .items .card-item .img.img_horizontal img,
.content .listing .items .card-item .img.img_vertical img,
.content .listing .items .card-item .img.img_quadrada img{
	max-height: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}



 @media (min-width: 768px) {
		
	.cards-module .row {
		--gap-h: 60px;
		--gap-v: 50px;
	}
} 

 @media (max-width: 768px) {
	.cards-module .container{
		padding-inline: 20px;
	}

	.cards-module .tag-container {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow: auto;
        margin: 0 0 30px 0;
        gap: 10px;
        padding-bottom: 7px;
		scrollbar-width: none
		
	}

	.cards-module .tag-container::-webkit-scrollbar {
		display: none;
	}

	.cards-module .tag-container .tag {
		white-space: nowrap;
		font-size: 14px;
		font-weight: 300;
		line-height: .14;
		letter-spacing: normal;
		padding: 19px 20px;
	}


	.cards-module .row {
		--gap-h: 10px;
		--gap-v: 10px;
	}

	/* .card-item {
		border-radius: 10px;
	} */

	.card-item > div > div > span {
		width: 39px;
		height: 30px;
	}

	.card-item > div {
		padding: 20px 15px;
	}

	.card-item .category {
		font-size: 13px;
		line-height: 1.38;
		letter-spacing: normal;
	}

	.card-item  div > a > p {
		font-size: 20px;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: normal;
		text-align: center;
		color: var(--secondary);
		
	}
	.card-item div > p  {
		font-size: 16px;
		font-weight: 300;
		line-height: 1.38;
		letter-spacing: normal;
		margin-top: 10px;
		color: var(--third);
	}

	.card-item > div > div {
		gap: 0;
	}
} 
