/*!
Theme Name: Suba
Theme URI: https://suba.pt/
Author: Suba the Grouth Agency
Author URI: https://suba.pt/
Description: Suba is a theme created by Suba Creative Agency
Template: betheme
Version: 2.0
*/
:root {	
  --main: #23324C ;
  --sec: #85816F ;
  --light: #F6F5F2 ;
  --bege: #E5E3DC ;  
  --container: 1340px ;
  
}

@media screen and (min-width: 1441px) {
    html {
        zoom: 1.05;
    }
}
@media screen and (min-width: 2000px) {
    html {
        zoom: 1.15;
    }
}
@media screen and (min-width: 2200px) {
    html {
        zoom: 1.25;
    }
}
@media screen and (min-width: 2400px) {
    html {
        zoom: 1.35;
    }
}
@media screen and (min-width: 2600px) {
    html {
        zoom: 1.45;
    }
}
@media screen and (min-width: 2800px) {
    html {
        zoom: 1.55;
    }
}
@media screen and (min-width: 3000px) {
    html {
        zoom: 1.65;
    }
}
@media screen and (min-width: 3250px) {
    html {
        zoom: 1.9;
    }
}
body { 
    --mfn-column-gap-top: 0;
    --mfn-column-gap-bottom: 0;
    --mfn-column-gap-left: 0;
    --mfn-column-gap-right: 0;
    opacity: 0;
    transition: opacity .4s ease-out;
    font-size: var(--font-size-16, 16px);
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: 24px; /* 150% */
    color: var(--main);
}
body.active {
    opacity: 1;
}
p {
    margin: 0;
}
.content_wrapper .button {
    margin: 0;
}
.column_column ul, .column_column ol, .the_content_wrapper:not(.is-elementor) ul, .the_content_wrapper:not(.is-elementor) ol {
    color: var(--main);
}

.logo-pt {
    display: none;
}
.logo-pt:lang(pt) {
    display: block !important;
}
.logo-en:lang(pt) {
    display: none !important;
}

section.mcb-section-eo2weffet {    
    margin-left: calc(84px + 16px);
    margin-right: calc(84px + 16px);
    backdrop-filter: blur(3px);
    transition: .3s ease-in-out;
}
.mfn-header-menu > .mfn-menu-li > .mfn-menu-link {
    padding: 0 !important;
}
.mfn-header-scrolled section.mcb-header-section.show-on-scroll {
    /* display: none; */
    transform: translateY(-200px);
    
    margin-top: 20px;
}
.mfn-header-scrolled section.mcb-header-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    opacity: 0;
}
.mfn-header-scrolled .safe-scrolled section.mcb-header-section:before {    
    left: -25vw;
    width: 150vw;    
    opacity: 1;
}
.mfn-header-scrolled .mfn-header-main {
    transition: .3s ease-in-out;
}
.mfn-header-scrolled .header-scrolled {
    /* backdrop-filter: blur(8px); */
    /* background: #fff; */
}
.mfn-header-scrolled .header-scrolled section.mcb-header-section.show-on-scroll {
    /* display: block; */
    transform: translateY(0px);
    margin-top: 0;
    box-shadow: none;
}

#menu-menu-lang a.mfn-menu-link {
    width: 42px;
    height: 42px;
    color: #23324C;
}
#menu-menu-lang a.mfn-menu-link:hover {    
    color: #fff;
}


img.mfp-img {
    max-height: 85vh !important;
}


.column.be_heading_offu3qyh .mcb-column-inner {
    box-shadow: 0 4px 4px 0 rgba(255, 255, 255, 0.30) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.10);
}
.column.be_heading_8mnpbdw .mcb-column-inner {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.07), 0 8px 8px 0 rgba(0, 0, 0, 0.06), 0 19px 11px 0 rgba(0, 0, 0, 0.04), 0 33px 13px 0 rgba(0, 0, 0, 0.01);
}

.gallery.equal-heights .gallery-item .gallery-icon a {
    width: 100%;
    justify-content: center;
    align-items: center;
}

.slider-testemonials {
  position: relative;
  cursor: grab;
  user-select: none;
  transition: height .4s ease;
}
.slider-testemonials:active {
  cursor: grabbing;
}
.slider-testemonials .mfn-queryloop-item-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #f7fffd;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .6s cubic-bezier(.18,.98,.45,1),
              opacity .6s cubic-bezier(.18,.98,.45,1);
}
/* STACK STATES */
.slider-testemonials .mfn-queryloop-item-wrapper[data-slide="0"] {
  transform: translate(0, 0) scale(1);
  opacity: 1;
  z-index: 5;
}
.slider-testemonials .mfn-queryloop-item-wrapper[data-slide="1"] {
  transform: translate(-18px, 12px) scale(0.985);
  opacity: .95;
  z-index: 4;
}
.slider-testemonials .mfn-queryloop-item-wrapper[data-slide="2"] {
  transform: translate(-36px, 24px) scale(0.97);
  opacity: .9;
  z-index: 3;
}
.slider-testemonials .mfn-queryloop-item-wrapper[data-slide="3"] {
  transform: translate(-54px, 36px) scale(0.955);
  opacity: .85;
  z-index: 2;
}
.slider-testemonials .mfn-queryloop-item-wrapper:not(.current-slide) {
    background-color: #ffffff80 !important;
}
/* Esconde os restantes */
.slider-testemonials .mfn-queryloop-item-wrapper[data-slide]:not([data-slide="0"]):not([data-slide="1"]):not([data-slide="2"]):not([data-slide="3"]) {
  opacity: 0;
  pointer-events: none;
}
.stack-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;  
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: .3s ease-in-out;
}
.stack-arrow:hover {
  background-color: #2A4F65;
}
.stack-arrow span {
  position: relative;
  width: 12px;
  height: 12px;
}
.stack-arrow span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid #2A4F65;
  border-right: 2px solid #2A4F65;
  transform-origin: 4px 2px;
}
.stack-arrow:hover span::before{
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
/* DIREÇÕES */
.stack-arrow--next span::before {
  transform: rotate(45deg);
}

.stack-arrow--prev span::before {
  transform: rotate(-135deg);
  transform-origin: 7px 6px;
}



.post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.full-link {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.full-link * {
    display: block;
    height: 100%;
    width: 100%;
}
.grid-posts .mfn-queryloop-item-wrapper img {
    transition: .3s ease-in-out;
    aspect-ratio: 16 / 9;
}
.grid-posts .mfn-queryloop-item-wrapper:hover img {
    transform: scale(1.07);    
}
.tag {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.07), 0 8px 8px 0 rgba(0, 0, 0, 0.06), 0 19px 11px 0 rgba(0, 0, 0, 0.04), 0 33px 13px 0 rgba(0, 0, 0, 0.01);
    background-color: #FFFFFF;
    margin-bottom: 16px;
    border-radius: 50px 50px 50px 50px;
    padding-top: 6px;
    padding-right: 12px;
    padding-bottom: 6px;
    padding-left: 12px;
    border-style: solid;
    border-color: #28AFB0;
    border-width: 1px 1px 1px 1px;
    margin-right: 12px;
    margin-bottom: 0px;
    margin-left: 0;
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
}


.grid-upcoming-events img {
    max-height: 450px;
    aspect-ratio: 16 / 9;
}



.mfn-footer-menu {
    display: block !important;
    columns: 2;    
    column-gap: 20px;
}
.mfn-footer-menu-style-vertical li a {
    padding: 0px 0px 5px 0px !important;
}
footer .gallery .gallery-item img {
    object-fit: contain !important;
    width: 100% !important;
    height: 33px !important;
    /* filter: brightness(0) invert(1); */
    max-width: 140px !important;
}
footer .gallery .gallery-item .image_frame:hover img {
    transform: unset !important;
    filter: none;
}


footer .gallery .gallery-item .client-logo-wrapper {
    position: relative;
}
footer .gallery .gallery-item .client-logo {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity .3s ease-in-out;
    opacity: 0;
}
footer .gallery .gallery-item .client-logo--white {
    position: absolute !important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1 !important;
    width: fit-content !important;
}
footer .gallery .gallery-item .client-logo-wrapper:hover .client-logo--white {
    opacity: 0 !important;
}
footer .gallery .gallery-item .client-logo-wrapper:hover .client-logo--default {
    opacity: 1 !important;
}




/*** ABOUT ***/
.wrap-grid .mcb-wrap-inner {
    gap: 10px;
}
.wrap-grid .one-second.column {
    width: calc(50% - 5px);
}
.wrap-grid .mcb-column-inner {
    min-height: 150px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.wrap-grid .mcb-column-inner .column_attr {
    display: flex;
    gap: 16px;
    flex-direction: column;
}
p.technical-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    background: linear-gradient(180deg, #B9E28C 0%, #28AFB0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
p.technical-title.s3 {
    font-size: 32px;
    line-height: 32px;
    color: #fff !important;
    background: transparent;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

.grid-photos .gallery {
    gap: 20px;
}
.grid-photos .gallery dl.gallery-item {
    width: 100% !important;
    max-width: calc(33.33% - 20px) !important;
    margin: 0;
    padding: 0;
}
.grid-photos .gallery .gallery-icon {
    padding: 8px;
    background: #fff;
    border-radius: 16px;
}
.grid-photos .gallery img {
    border-radius: 12px;
    transform: unset !important;
    height: 100%;
    object-fit: cover;
}
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 30px;
  z-index: 999;
}
.gallery-pagination .pages {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gallery-pagination .page,
.gallery-pagination .arrow {
  font-size: 16px;
  font-weight: 500;
  color: #23324cb3;
  min-width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  border: 0;
  padding: 0;
  box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.40) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.10);  
}
.gallery-pagination button.arrow i {
    color: #23324C !important;
}
.gallery-pagination button.arrow:hover i {
    color: #fff !important;
}
.gallery-pagination .page:hover, .gallery-pagination .arrow:hover, .gallery-pagination .page.is-active {
  background: var(--mfn-button-bg);
  color: #fff;
}
.gallery-pagination .arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.gallery-pagination button.arrow.prev {
    transform: rotate(180deg);
}

@media screen and (min-width: 768px) {
    .slider-team .swiper-wrapper {
        transform: unset !important;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .slider-team .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }
    .slider-team .mfn-swiper-arrow {
        display: none;
    }
}
.slider-team .swiper {
    overflow: visible;
}




.filters {
    display: flex;
    gap: 8px 16px;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.filters .filter {
    background-color: #FFFFFF;
    margin-bottom: 0;
    border-radius: 50px 50px 50px 50px;
    padding-top: 6px;
    padding-right: 12px;
    padding-bottom: 6px;
    padding-left: 12px;
    border-style: solid;
    border-color: #28AFB0;
    border-width: 1px 1px 1px 1px;
    cursor: pointer;
    font-size: 14px;
    line-height: 16px;
}
.filters .filter.is-active, .filters .filter:hover {
    background: linear-gradient(256deg, #B9E28C 0.89%, #FFF 98.85%);
}

.grid-news .mfn-queryloop-item-wrapper.is-hidden,
.grid-upcoming-events .mfn-queryloop-item-wrapper.is-hidden,
.grid-past-events .mfn-queryloop-item-wrapper.is-hidden {
    display: none !important;
}
.grid-news + .gallery-pagination {
    width: 100%;
    justify-content: flex-end;
}
.grid-news .mfn-queryloop-item-wrapper.mfn-ql-item-default {
    height: 100%;
}

.news-tags p.title {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
}

.slider-blog .swiper-slide.is-hidden {
  display: none !important;
}

.grid-past-events .post-title,
.grid-upcoming-events .post-title {
    min-height: 57px;
}


/*** SINGLE POST ***/
.post-text .gallery {
    margin-top: 70px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.post-text .gallery-item {
    margin: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}
.post-text .image_wrapper {
    overflow: hidden;
    border-radius: 8px;
}
.post-img img,
.post-text .gallery img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mfn-share-post {
    gap: 12px;
}
.mfn-share-post-button.mfn-share-post-copy-link {
    border: 0;
    pointer-events: none;
}
.mfn-share-post-button .fa-copy {
    display: none;
}
.mfn-share-post .mfn-share-post-button {
    border: 0;
    padding: 0;
}
.icon-facebook {
    display: flex;
    align-items: center;
}
.icon-facebook:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M12.3438 2.17969C10.335 2.17969 8.37143 2.77534 6.70124 3.89132C5.03106 5.00731 3.72931 6.5935 2.9606 8.44931C2.1919 10.3051 1.99077 12.3472 2.38265 14.3173C2.77454 16.2874 3.74182 18.0971 5.1622 19.5175C6.58258 20.9379 8.39225 21.9052 10.3624 22.297C12.3325 22.6889 14.3746 22.4878 16.2304 21.7191C18.0862 20.9504 19.6724 19.6486 20.7884 17.9784C21.9044 16.3083 22.5 14.3447 22.5 12.3359C22.4972 9.64321 21.4262 7.06158 19.5222 5.15753C17.6181 3.25347 15.0365 2.18253 12.3438 2.17969ZM13.125 20.8936V14.6797H15.4688C15.676 14.6797 15.8747 14.5974 16.0212 14.4509C16.1677 14.3044 16.25 14.1056 16.25 13.8984C16.25 13.6912 16.1677 13.4925 16.0212 13.346C15.8747 13.1995 15.676 13.1172 15.4688 13.1172H13.125V10.7734C13.125 10.359 13.2896 9.96161 13.5827 9.66858C13.8757 9.37556 14.2731 9.21094 14.6875 9.21094H16.25C16.4572 9.21094 16.6559 9.12863 16.8024 8.98212C16.9489 8.8356 17.0313 8.63689 17.0313 8.42969C17.0313 8.22249 16.9489 8.02377 16.8024 7.87726C16.6559 7.73075 16.4572 7.64844 16.25 7.64844H14.6875C13.8587 7.64844 13.0638 7.97768 12.4778 8.56373C11.8917 9.14978 11.5625 9.94464 11.5625 10.7734V13.1172H9.21876C9.01155 13.1172 8.81284 13.1995 8.66633 13.346C8.51981 13.4925 8.4375 13.6912 8.4375 13.8984C8.4375 14.1056 8.51981 14.3044 8.66633 14.4509C8.81284 14.5974 9.01155 14.6797 9.21876 14.6797H11.5625V20.8936C9.36016 20.6925 7.32009 19.6502 5.86664 17.9834C4.4132 16.3165 3.65828 14.1536 3.75891 11.9444C3.85953 9.73514 4.80796 7.64976 6.40692 6.12198C8.00587 4.5942 10.1322 3.74164 12.3438 3.74164C14.5553 3.74164 16.6816 4.5942 18.2806 6.12198C19.8795 7.64976 20.828 9.73514 20.9286 11.9444C21.0292 14.1536 20.2743 16.3165 18.8209 17.9834C17.3674 19.6502 15.3274 20.6925 13.125 20.8936Z' fill='%2323324C'/%3E%3C/svg%3E");
    content: '';
    width: 25px;
    height: 25px;
    background-size: 25px;
}
.icon-x-twitter {
    display: flex;
    align-items: center;
}
.icon-x-twitter:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M20.9721 20.6748L14.8588 11.0674L20.8911 4.43164C21.0275 4.27786 21.0978 4.07649 21.0868 3.87121C21.0757 3.66593 20.9842 3.47328 20.8321 3.33502C20.6799 3.19675 20.4794 3.12403 20.274 3.13261C20.0686 3.14119 19.8749 3.23039 19.7348 3.38086L13.9887 9.70117L10.0346 3.4873C9.96411 3.37632 9.86673 3.28493 9.7515 3.2216C9.63628 3.15827 9.50693 3.12504 9.37544 3.125H4.68794C4.54786 3.12493 4.41034 3.16253 4.28978 3.23385C4.16922 3.30517 4.07006 3.40759 4.00266 3.53039C3.93527 3.65319 3.90214 3.79185 3.90673 3.93186C3.91132 4.07186 3.95347 4.20805 4.02876 4.32617L10.142 13.9326L4.10982 20.5732C4.03937 20.6489 3.98465 20.7378 3.94882 20.8348C3.91298 20.9318 3.89676 21.0349 3.90107 21.1382C3.90539 21.2415 3.93016 21.3429 3.97396 21.4365C4.01776 21.5302 4.0797 21.6142 4.15621 21.6837C4.23272 21.7533 4.32227 21.8069 4.41967 21.8416C4.51707 21.8762 4.62038 21.8912 4.72361 21.8857C4.82684 21.8801 4.92795 21.8541 5.02107 21.8092C5.11418 21.7643 5.19746 21.7014 5.26607 21.624L11.0122 15.3037L14.9663 21.5176C15.0373 21.6277 15.135 21.7181 15.2502 21.7805C15.3654 21.843 15.4944 21.8755 15.6254 21.875H20.3129C20.4529 21.875 20.5902 21.8373 20.7106 21.7661C20.831 21.6948 20.9301 21.5925 20.9975 21.4698C21.0648 21.3472 21.098 21.2087 21.0936 21.0689C21.0891 20.929 21.0472 20.7929 20.9721 20.6748ZM16.0542 20.3125L6.11079 4.6875H8.94282L18.8901 20.3125H16.0542Z' fill='%2323324C'/%3E%3C/svg%3E");
    content: '';
    width: 25px;
    height: 25px;
    background-size: 25px;
}
.icon-linkedin {
    display: flex;
    align-items: center;
}
.icon-linkedin:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M21.0938 2.34375H3.90625C3.49185 2.34375 3.09442 2.50837 2.8014 2.8014C2.50837 3.09442 2.34375 3.49185 2.34375 3.90625V21.0938C2.34375 21.5082 2.50837 21.9056 2.8014 22.1986C3.09442 22.4916 3.49185 22.6562 3.90625 22.6562H21.0938C21.5082 22.6562 21.9056 22.4916 22.1986 22.1986C22.4916 21.9056 22.6562 21.5082 22.6562 21.0938V3.90625C22.6562 3.49185 22.4916 3.09442 22.1986 2.8014C21.9056 2.50837 21.5082 2.34375 21.0938 2.34375ZM21.0938 21.0938H3.90625V3.90625H21.0938V21.0938ZM9.375 10.9375V17.1875C9.375 17.3947 9.29269 17.5934 9.14618 17.7399C8.99966 17.8864 8.80095 17.9688 8.59375 17.9688C8.38655 17.9688 8.18784 17.8864 8.04132 17.7399C7.89481 17.5934 7.8125 17.3947 7.8125 17.1875V10.9375C7.8125 10.7303 7.89481 10.5316 8.04132 10.3851C8.18784 10.2386 8.38655 10.1562 8.59375 10.1562C8.80095 10.1562 8.99966 10.2386 9.14618 10.3851C9.29269 10.5316 9.375 10.7303 9.375 10.9375ZM17.9688 13.6719V17.1875C17.9688 17.3947 17.8864 17.5934 17.7399 17.7399C17.5934 17.8864 17.3947 17.9688 17.1875 17.9688C16.9803 17.9688 16.7816 17.8864 16.6351 17.7399C16.4886 17.5934 16.4062 17.3947 16.4062 17.1875V13.6719C16.4062 13.1539 16.2005 12.6571 15.8342 12.2908C15.4679 11.9245 14.9711 11.7188 14.4531 11.7188C13.9351 11.7188 13.4383 11.9245 13.0721 12.2908C12.7058 12.6571 12.5 13.1539 12.5 13.6719V17.1875C12.5 17.3947 12.4177 17.5934 12.2712 17.7399C12.1247 17.8864 11.926 17.9688 11.7188 17.9688C11.5115 17.9688 11.3128 17.8864 11.1663 17.7399C11.0198 17.5934 10.9375 17.3947 10.9375 17.1875V10.9375C10.9385 10.7461 11.0096 10.5618 11.1375 10.4194C11.2654 10.277 11.4411 10.1866 11.6312 10.1651C11.8214 10.1437 12.0128 10.1928 12.1692 10.3031C12.3255 10.4134 12.4359 10.5773 12.4795 10.7637C13.008 10.4052 13.6242 10.1974 14.2619 10.1626C14.8995 10.1279 15.5347 10.2675 16.099 10.5665C16.6633 10.8654 17.1355 11.3125 17.465 11.8596C17.7944 12.4067 17.9685 13.0332 17.9688 13.6719ZM9.76562 8.20312C9.76562 8.4349 9.6969 8.66147 9.56813 8.85418C9.43936 9.0469 9.25634 9.1971 9.04221 9.2858C8.82807 9.37449 8.59245 9.3977 8.36513 9.35248C8.13781 9.30727 7.929 9.19566 7.76511 9.03177C7.60122 8.86788 7.48961 8.65907 7.44439 8.43175C7.39918 8.20443 7.42238 7.9688 7.51108 7.75467C7.59977 7.54054 7.74998 7.35751 7.94269 7.22875C8.13541 7.09998 8.36198 7.03125 8.59375 7.03125C8.90455 7.03125 9.20262 7.15472 9.42239 7.37448C9.64216 7.59425 9.76562 7.89232 9.76562 8.20312Z' fill='%2323324C'/%3E%3C/svg%3E");
    content: '';
    width: 25px;
    height: 25px;
    background-size: 25px;
}


/*** SINGLE EVENT ***/
.event-info .column_attr.mfn-inline-editor > div {
    display: flex;
    align-items: baseline;
    gap: 40px 80px;
    flex-wrap: wrap;
}
.event-info .column_attr.mfn-inline-editor::before,
.event-info .column_attr.mfn-inline-editor::after {
    display: none;
}
.wrap.no-event-btn {
    width: 100%;
}


/*** SINGLE BLOG ***/
#respond input[type="text"], 
#respond input[type="password"], 
#respond input[type="email"], #respond select,
#respond .comment-form-comment textarea {
    background: #fff;
    border: 0 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    color: #23324C !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
}
#respond .form-submit input[type="submit"] {
    background: var(--main);
    width: 100%;
    color: #fff;
}
#respond input[type="checkbox"] ~ label {
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    padding-left: 0px !important;
}


/*** CONTACT ***/
.contact-box .icon-wrapper {
    width: fit-content;
    margin-right: 12px;
}

.wpforms-form * {
    color: #23324C !important;
}
div.wpforms-container-full {
    margin: 0 !important;
}
.wpforms-form .wpforms-field {
    padding: 0 !important;
    margin-bottom: 20px !important;
}
.wpforms-form .wpforms-field .wpforms-field:last-child {
    margin-bottom: 0 !important;
}
.wpforms-form label.wpforms-field-label {
    color: #23324C;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 162.5% */
}
.wpforms-form input, .wpforms-form textarea {
    border: 0 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    color: #23324C !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
}
span.wpforms-required-label {
    display: none;
}
.wpforms-form .wpforms-submit-container {
    padding: 0 !important;
    margin: 0 !important;
}
.wpforms-form button {
    background-color: var(--mfn-button-bg) !important;
    background-image: var(--mfn-button-bg-image) !important;
    border-color: var(--mfn-button-border-color) !important;
    color: var(--mfn-button-color) !important;
    box-shadow: var(--mfn-button-box-shadow) !important;
    padding: var(--mfn-button-padding) !important;
    border-radius: var(--mfn-button-border-radius) !important;
    width: 100% !important;
}
.wpforms-form button:hover {
    background-color: var(--mfn-button-color) !important;
    color: var(--mfn-button-bg) !important;
}
.wpforms-form .wpforms-field-checkbox label {
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    padding-left: 5px !important;
}
.wpforms-container .wpforms-form em.wpforms-error, .wpforms-container .wpforms-form .wpforms-field-sublabel {
    color: red !important;
}
.wpforms-form input::placeholder, .wpforms-form textarea::placeholder {
    color: #23324C !important;
    opacity: 1 !important;
}

.form-newsletter input[type=email] {
    width: calc(100% - 185px)!important;
    height: 42px;
}
.form-newsletter input[type=email]::placeholder {
    color: #999999ab !important;
}
.form-newsletter .wpforms-field.wpforms-field-email {
    padding-top: 0;
}
.form-newsletter .wpforms-submit-container {
    position: absolute !important;
    right: 0;
    top: 0;
    margin: 0!important;
    padding: 0!important;
}
.form-newsletter .wpforms-field-checkbox label, .form-newsletter .wpforms-field-checkbox label a {
    /* color: #fff !important; */
}
.form-newsletter .wpforms-field.wpforms-field-checkbox {
    padding: 0 !important;
}
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    padding: 12px 16px !important;
    background: var(--main) !important;
    border: 0 !important;
    border-radius: 12px !important;
    margin: 0 !important;
    width: fit-content !important;
}
div.wpforms-container-full .wpforms-confirmation-container-full p, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) p {
    color: #fff !important;
}
.form-newsletter.form-application input[type=email] {
    width: calc(100% - 200px) !important;
}


/*** START NOW ***/
.img-full-height, .img-full-height * {
    height: 100%;
}


.mcb-section .mcb-wrap .faq .question {
    background: #F7F6F7;
    border-radius: 8px 8px 8px 8px;
    margin-bottom: 12px;
}

.faq .question a {
    text-decoration: underline !important;
}

.mcb-section .mcb-wrap .faq {
    --mfn-faq-line: rgba(0,0,0,0);
}
.mcb-section .mcb-wrap .faq .question .title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    padding: 20px !important;
}
.faq span.num {
    display: none;
}
.mcb-section .mcb-wrap .faq .question .answer {
    font-size: 16px;
    line-height: 23px;
    font-weight: 400;
    color: #23324C;
    padding: 0 20px 20px !important;
}
.mcb-section .mcb-wrap .faq .question.active .title {
    color: #23324C;
}
.style-simple .mcb-section .mcb-wrap .faq .question {
    border-color: rgba(35,50,76,0);
}
.style-simple .mcb-section .mcb-wrap .faq .question.active:after {
    background-color: rgba(0,0,0,0);
}
.faq ul {
    margin-top: 12px !important;
}
.faq .question > .title > .acc-icon-plus, .faq .question .title > .acc-icon-minus {
    color: var(--main);
}
.faq img {
    margin: 12px 0 !important;
}



.gallery-slider {
  overflow: hidden;
}

/* ✅ o movimento fica aqui */
.gallery-slider .gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-marquee 40s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

/* a gallery continua só como flex container */
.gallery-slider .gallery {
  display: flex;
  width: max-content;
}

.gallery-slider .gallery.gallery.equal-heights .gallery-item {
  flex: 0 0 auto;
  width: 220px !important;
}

/* ✅ pausa ao hover/focus (recomendado) */
.gallery-slider:hover .gallery-track,
.gallery-slider:focus-within .gallery-track {
  animation-play-state: paused;
}

@keyframes gallery-marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

.gallery-slider .gallery.gallery.equal-heights .gallery-item img {
  height: auto;
  object-fit: contain;
  max-width: 175px;
  max-height: 55px;
}

/* ajuda no click-hitbox */
.gallery-slider a {
  display: inline-flex;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}


/*** R&D ***/
.slider-publications .swiper-slide.is-hidden,
.slider-projects .swiper-slide.is-hidden {
  display: none !important;
}


/*** SEARCH ***/
.search_wrapper {
    position: fixed !important;
    top: 0px !important;
    right: 0 !important;
    left: unset !important;
    width: 100% !important;
    height: 100% !important;
    transform: unset !important;
    max-width: unset !important;
    align-items: center;
    justify-content: center;
    /* background-image: url(/wp-content/uploads/2026/01/bg-search.png); */
    background-color: #ffffff;
    background-size: cover;
    border-radius: 6px !important;
    overflow: hidden !important;
    display: none;
    z-index: 9003 !important;
    padding-right: 30px;
}
.search-overlay-opened div#body_overlay {
    display: none !important;
    z-index: 2 !important;
    opacity: 0;
}
.mfn-searchbar-active .search_wrapper {
    display: flex !important;
}
.mfn-header-tmpl .column_header_icon .search_wrapper .icon_close, .mfn-sidemenu-tmpl .column_header_icon .search_wrapper .icon_close {
    position: absolute;
    top: 39px;
    right: -23px;
}
.mfn-close-icon .icon {
    color: var(--main);
    font-size: 20px;
}
.mfn-header-tmpl .column_header_icon .search_wrapper > form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;    
}
.mfn-header-tmpl .column_header_icon .search_wrapper input[type="text"] {
    width: calc(100% - 50px);
    color: var(--main) !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-transform: inherit;
    text-align: left;
    padding: 0 0 6px 10px !important;
    border-bottom: 1px solid #576A7D !important;
}
.mfn-header-tmpl .column_header_icon .search_wrapper input[type="text"]:lang(pt) {
    width: 560px;
}
.mfn-header-tmpl .column_header_icon .search_wrapper input[type="text"]::placeholder {
    color: #576A7D !important;
}
span.mfn-search-text {
    position: absolute !important;
    top: calc(50% + 60px);
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-results .search-item.is-hidden {
    display: none;
}
.search-results .search-item.page {
    display: none;
}

.search-category-filters {
    margin-bottom: 40px;
}



/*** SEARCH PAGE ***/
.search .sections_group section.section {
    display: flex;
    justify-content: center;
}
.search .section_wrapper.clearfix {
    margin-left: calc(84px + 16px);
    margin-right: calc(84px + 16px);
    padding-right: 16px;
    padding-left: 16px;
    max-width: 1150px;
}
.search #Header_wrapper {
    background: transparent !important;
    padding-top: 160px;
}
.search #Subheader {
    background: transparent;
}
.search #Subheader .title {
    color: var(--main);
    font-size: var(--item-spacing-60, 60px);
    font-style: normal;
    font-weight: var(--font-weight-500, 500);
    line-height: var(--item-spacing-60, 60px);
}

.search .post-featured-image img {
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
}
.search .post-tag {
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #FFFFFF;
    margin-bottom: 16px;
    border-radius: 50px 50px 50px 50px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-style: solid;
    border-color: #28AFB0;
    border-width: 1px 1px 1px 1px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.07), 0 8px 8px 0 rgba(0, 0, 0, 0.06), 0 19px 11px 0 rgba(0, 0, 0, 0.04), 0 33px 13px 0 rgba(0, 0, 0, 0.01);
    width: fit-content;
}
.search .post-category {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}
.search .post-title {
    margin-bottom: 16px;
}
.search .post-title h2 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    margin: 0;

}
.search-results .search-item .post-featured-image {
    width: 45%;
}
.search .pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 30px;
    margin-bottom: 81px;
}
.search .pages {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: transparent;
}
.search a.page {
    font-size: 16px;
    font-weight: 500;
    color: #23324cb3;
    min-width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    border: 0;
    padding: 0;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.40) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.10);
    width: fit-content;
}
.search .pager a.next_page, .search .pager a.prev_page {
    font-size: 16px;
    font-weight: 500;
    color: #23324cb3;
    min-width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    border: 0;
    padding: 0;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.40) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.10);
    text-decoration: none !important;
}
.search .pager a.prev_page {
    transform: rotate(180deg);
}
.search .pager a.next_page:hover, .search .pager a.prev_page:hover {
    background: var(--mfn-button-bg);
    color: #fff;
}

/*** SINGLE VANCANCY ***/
.wpforms-uploader.dz-clickable {
    border: 0 !important;
    border-radius: 8px !important;
}




.text-politica p:not(last-child) {
    margin-bottom: 12px;
}




.hide-input,
.column.hide,
section.hide,
.wrap.hide {
    display: none;
}
body.logged-in:not(.admin-bar) section.hide,
body.logged-in:not(.admin-bar) .wrap.hide {
    display: block;
    opacity: 0.5;
}


@media screen and (max-width: 1700px) {
    header#mfn-header-template {
        zoom: 0.96;
    }
    .wrap-rd {
        zoom: .9;
    }
    html {
        zoom: 0.95;
    }
}
@media screen and (max-width: 1500px) {
    header#mfn-header-template {
        zoom: 0.95;
    }
    .wrap-rd {
        zoom: .8;
    }
    html {
        zoom: 0.9;
    }
}
@media screen and (max-width: 1441px) {
    .wrap-grid .mcb-column-inner {
        min-height: 120px;    
    }    
    
}

@media screen and (max-width: 1420px) {
    html {
        zoom: 0.87;
    }
}
@media screen and (max-width: 1280px) {
    header#mfn-header-template {
        zoom: 0.9;
    }
    html {
        zoom: 0.82;
    }
    .tag {
        font-size: 13px;
        margin-right: 8px;
    }
}
@media screen and (max-width: 1239px) {
    html {
        zoom: 0.80;
    }
    header#mfn-header-template {
        zoom: .88;
    }
}
@media screen and (max-width: 1180px) {
    html {
        zoom: 0.8;
    }    
    .wrap-grid .mcb-column-inner {
        min-height: 105px;    
    }

    .grid-upcoming-events, .grid-past-events {
        zoom: .90;
    }
}

@media screen and (max-width: 992px) {
    html {
        zoom: 0.7;
    }
    header#mfn-header-template {
        zoom: 1;
    }


    .mfn-header-tmpl-menu-sidebar.mfn-header-classic-mobile-menu {
        top: 60px !important;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
    }
    .mfn-header-tmpl-menu-sidebar .mfn-header-menu {
        align-items: end;
        gap: 10px;
    }
    .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a {
        color: #23324C80 !important;        
    }
    .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a {
        color: var(--main) !important;        
    }
    .mfn-header-tmpl-burger-sidebar-opened section.mcb-section-eo2weffet {
        background: #fff;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }    
    .mfn-header-tmpl .icon-menu-fine:before {
        content: '';
        background-image: url("data:image/svg+xml,%0A%3Csvg width='44' height='45' viewBox='0 0 44 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='12' y='16' width='20' height='2' rx='1' fill='%23999999'/%3E%3Crect x='12' y='27' width='20' height='2' rx='1' fill='%23999999'/%3E%3C/svg%3E%0A");
        width: 40px;
        height: 40px;
        background-size: 60px;
        background-position: center;
    }
    .mfn-header-tmpl-burger-sidebar-opened .mfn-header-tmpl .icon-menu-fine:before {
        background-image: url("data:image/svg+xml,%0A%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='14.2227' y='28.1421' width='20' height='2' rx='1' transform='rotate(-45 14.2227 28.1421)' fill='%23999999'/%3E%3Crect x='15.6367' y='14' width='20' height='2' rx='1' transform='rotate(45 15.6367 14)' fill='%23999999'/%3E%3C/svg%3E%0A");
    }
    .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper {
        padding: 15px 22px;
    }

    .search_wrapper {
        background-position: top right;
    }
    .mfn-header-tmpl .column_header_icon .search_wrapper .icon_close, .mfn-sidemenu-tmpl .column_header_icon .search_wrapper .icon_close {
        display: block !important;
        right: 0;
    }
    .mfn-header-tmpl .column_header_icon .search_wrapper input[type="text"] {
        font-size: 32px;
    }
    span.mfn-search-text {
        font-size: 15px;
        width: 100%;
        text-align: center;
    }


    .mcb-item-lq590d9.column_image, .mcb-item-lq590d9.column_image * {
        height: 100%;
    }

    footer .gallery img {    
        height: 26px;    
    }

    .slider-team .swiper-wrapper {        
        grid-template-columns: repeat(3, 1fr);
    }


}



@media screen and (max-width: 767px) {
    html {
        zoom: 1;
    }

    section.mcb-section-eo2weffet,
    .search .section_wrapper.clearfix {
        margin-left: calc(20px + 8px);
        margin-right: calc(20px + 8px);            
    }

    .slider-testemonials .mfn-queryloop-item-wrapper {
        width: 94%;
        left: unset;
        right: 0;
    }    
    .slider-testemonials .mfn-queryloop-item-wrapper[data-slide="1"] {
        transform: translate(-13px, 9px) scale(0.985);    
    }
    .slider-testemonials .mfn-queryloop-item-wrapper[data-slide="2"] {
        transform: translate(-26px, 18px) scale(0.97);    
    }
    .slider-testemonials .mfn-queryloop-item-wrapper[data-slide="3"] {
        transform: translate(-39px, 27px) scale(0.955);    
    }
    .stack-arrow {
        top: unset !important;
        bottom: -90px !important;
        left: calc(50% - 26px) !important;
        transform: translate(-50%, -50%);
    }
    .stack-arrow.stack-arrow--next {
        left: calc(50% + 26px) !important;
    }


    .grid-upcoming-events .mfn-queryloop-item-wrapper {
        flex-direction: column-reverse;
    }

    footer .gallery {
        justify-content: flex-start;
    }
    footer .gallery .gallery-item {
        flex-grow: 0;
    }

    .mfn-footer-menu {
        columns: 1;
    }
    .wrap-policy .mcb-wrap-inner {
        flex-direction: column;
        align-items: center !important;
    }
    .wrap-policy .mcb-wrap-inner .mobile-one.column {
        width: 100% !important;
        text-align: center;
    }

    .grid-photos .gallery dl.gallery-item {        
        max-width: 100% !important;        
    }


    .slider-jobs .swiper {
        overflow: inherit;
    }   


    .slider-blog.no-arrows>div {
        margin-bottom: 0 !important;
    }


    .post-text .gallery {
        margin-top: 40px !important;        
        grid-template-columns: 1fr;        
    }


    .form-newsletter input[type=email] {
        width: 100% !important;
    }
    .form-newsletter .wpforms-submit-container {
        position: relative !important;
    }
    .form-newsletter.form-application input[type=email] {
        width: 100% !important;
    }
    
    .mcb-section .mcb-wrap .faq .question .title {
        font-size: 20px;
        line-height: 24px;    
    }

    .slider-publications.no-arrows>div,
    .slider-projects.no-arrows>div {
        margin-bottom: 0 !important;
    }


    .search #Subheader .title {
        font-size: 39px;
        line-height: 39px;
    }
    .search-results .search-item .post-featured-image {
        width: 100%;
    }

    .grid-upcoming-events, .grid-past-events {
        zoom: .95;
    }
    .grid-past-events .post-title, .grid-upcoming-events .post-title {
        min-height: auto;
    }


    .column_button.full-width-btn-m {
        width: 100% !important;
    }
    

}
@media screen and (max-width: 400px) {
    html {
        zoom: .9;
    }
}

@media screen and (max-width: 370px) {
    html {
        zoom: .8;
    }
}



@media only screen and (min-width: 1240px) {
	
}
