/*CUSTOM STYLES*/
#blockStyle5837Main42 {
    background-repeat: no-repeat;
}

#blockStyle5837Main42 {
    background-repeat: no-repeat;
}

.ccm-layout-col-spacing {
    margin: 0px 15px
}

#ccm-layout-content-70-2 .ccm-layout-col-spacing {
    margin: 0px 25px
}

#ccm-layout-content-72-4 .ccm-layout-col-spacing {
    margin: 0px 15px
}

#ccm-layout-content-74-6 .ccm-layout-col-spacing {
    margin: 0px 15px
}

#ccm-layout-content-79-7 .ccm-layout-col-spacing {
    margin: 0px 10px
}

#ccm-layout-content-80-8 .ccm-layout-col-spacing {
    margin: 0px 10px
}

#ccm-layout-content-70-2 .texts.bigger div {
    font-size: x-large;
}

/* TODO: customize bootstrap accordion - for some reason, those styles are not applied when put in sucafina.css */
.accordion-button h1,
.accordion-button h2,
.accordion-button h3 {
    margin: 0 !important;
    color: inherit !important;
}

.accordion-button:not(.collapsed) {
    background: none;
    color: #51534A;
}

.accordion-button.collapsed {
    color: #007680;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

.accordion-button:focus {
    border-color: currentColor;
    box-shadow: none;
}
/* TODO: test style on page */

.block-2-sections-text .hide-embedded-images .embed-image {
    display: none !important;
}

img.owl-carousel-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.me-4 {
    margin-right: 1.5rem !important;
}

/* .texts.bigger h3 div {
    font-size: 32px;
}
.texts.bigger h3 span {
    font-size: 32px;
} */

.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-content-center {
    -ms-flex-line-pack: center !important;
    align-content: center !important;
}

.center {
    text-align: center !important;
}

.h-100 {
    height: 100% !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

@media (min-width: 992px) {
    .mt-lg-0 {
        margin-top: 0 !important;
    }
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.mb-8 {
    margin-bottom: 6rem !important;
}

.mb-9 {
    margin-bottom: 7rem !important;
}

.mb-10 {
    margin-bottom: 10rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.font-size-2 {
    font-size: 2rem;
}

.font-size-6 {
    font-size: 6rem;
}

.font-weight-medium {
    font-weight: 400 !important;
}

.st-custom-button {
    display: inline-block;
    cursor: pointer;
    position: relative;
    width: 4em;
    height: 4rem;
    border: 1px solid #007680;
    background-color: #007680;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.st-custom-button:hover {
    background-color: white;
    border: 1px solid #007680;
    color: #007680;
}

.btn-icon__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.texts:not(.news) img {
    width: 100%;
    height: auto;
}
.texts p:not(.quote p) {
    color: #231F20;
    font-family: "TradeGothicLTStd-Regular",Arial,Helvetica,sans-serif;
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 22px 0
}

.texts.bigger p:not(.quote p) {
    font-size: 18px;
    line-height: 26px;
}

.texts.bigger.lead p:not(.quote p) {
    font-size: 24px;
    line-height: 36px
}

.process .line-container p:not(.quote p),.process .line-container .btn {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    z-index: 2;
    margin-bottom: 0
}

@media (max-width: 767px) {
    .process .line-container p:not(.quote p),.process .line-container .btn {
        font-size:17px;
        letter-spacing: 0
    }
}

.texts.bigger.lead h3 {
    font-size: 32px;    
    line-height: 32px;
}

@media (max-width: 767px) {
    .texts.bigger.lead p:not(.quote p) {
        font-size:20px;
        line-height: 24px;
    }
}

.ccm-layout .first .ccm-layout-col-spacing {
    padding-left: 15px;
}

.ccm-layout .last .ccm-layout-col-spacing {
    padding-right: 15px;
}

.texts.bigger.lead p a, .texts.bigger.lead p strong {
    font-weight: normal;
    color: #007680
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

blockquote.quote p {
    line-height: 26px;
}

.icon-with-text-and-link-content {
    display: flex;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.icon-with-text-and-link-content img.icon {
    width: auto; 
    max-height: 40px; 
    flex-shrink: 0; 
    margin-right: 25px;
}

@media (max-width: 767px) {
    .two-sections-row {
        display: flex;
        flex-direction: column;
    }

    .two-sections-row.mobile-right-first {
        flex-direction: column-reverse;
    }

    .two-sections-row > .ccm-layout-col {
        float: none;
        width: 100% !important;
    }

    .two-sections-row > .ccm-spacer {
        display: none;
    }
}
/* Animated styles */

.sucastainability-list .animated {
    margin: 0;
    padding: 0
}

.sucastainability-list .animated .animated-item {
    -webkit-transition: all 2s ease;
    -khtml-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    -o-transition: all 2s ease;
    transition: all 2s ease;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-opacity: 0;
    -khtml-opacity: 0;
    -moz-opacity: 0;
    -ms-opacity: 0;
    -o-opacity: 0;
    opacity: 0;
    list-style: none
}

.sucastainability-list .animated .animated-item img {
    -webkit-transition: all 2s ease;
    -khtml-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    -o-transition: all 2s ease;
    transition: all 2s ease;
    -webkit-transform: rotate(45deg);
    -khtml-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    filter: progid:DXImageTransform.Microsoft.Matrix( M11=0, M12=0, M21=0, M22=0, sizingMethod='auto expand');
    zoom:1}

.sucastainability-list .animated .animated-item * {
    margin-bottom: 30px
}

.sucastainability-list .animated .animated-item *:last-child {
    margin-bottom: 0
}

.sucastainability-list .animated .animated-item p {
    max-height: 156px;
    overflow: hidden
}

@media (max-width: 1199px) {
    .sucastainability-list .animated .animated-item p {
        max-height:none
    }
}

.sucastainability-list .animated .animated-item p a {
    display: inline;
    font-size: 18px;
    line-height: 26px;
    color: #007680
}

.sucastainability-list .animated .animated-item p br {
    margin: 0
}

.sucastainability-list .animated .animated-item a {
    display: inline-block;
    font-family: "Lato-Medium",Arial,Helvetica,sans-serif;
    font-size: 24px;
    line-height: 26px;
    color: #51534A
}

.sucastainability-list .animated .animated-item a:focus {
    text-decoration: none
}

.sucastainability-list .animated .animated-item a:hover {
    text-decoration: none
}

.sucastainability-list .animated .animated-item a.more:hover {
    color: #007680
}

@media (max-width: 1199px) {
    .sucastainability-list .animated .animated-item a {
        display:none
    }
}

.sucastainability-list .animated .animated-item.open p {
    max-height: 400px
}

.sucastainability-list .animated .animated-item.active {
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -webkit-opacity: 1;
    -khtml-opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    opacity: 1
}

.sucastainability-list .animated .animated-item.active img {
    -webkit-transform: rotate(0deg);
    -khtml-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    filter: progid:DXImageTransform.Microsoft.Matrix( M11=0, M12=0, M21=0, M22=0, sizingMethod='auto expand');
    zoom:1
}

/* TODO: They had hardcode, dont want to change it */
@media (min-width: 1200px) {
    .owl-carousel:not(.ourorigins-slider) .owl-wrapper-outer {
        padding-left: 178px;
    }
}

.counters p strong .countto-inline {
    display: inline-flex;
    align-items: center
}

.counters p strong .countto-sign {
    display: inline-block;
    line-height: 1;
    position: relative;
    top: -3px;
}

.counters p strong .countto-sign-prefix {
    margin-right: 3px;
}

.counters p strong .countto-sign-suffix {
    margin-left: 3px;
}

.news-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid #ccc;
    border-top-color: #007680;
    border-radius: 50%;
    animation: news-spin 0.7s linear infinite;
}
@keyframes news-spin { to { transform: rotate(360deg); } }

/* Fluid .container between 1200px and 1370px viewport (overrides sucafina.css width:1370px). */
@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: 1370px;
    }
}

/* Collapsed mobile nav must clip; new_style sets .header { overflow: visible }. */
@media (max-width: 1199px) {
    .header {
        overflow: hidden !important;
    }

    html.open-menu .header {
        overflow: visible !important;
    }

    .header .main-menu {
        overflow: hidden;
    }

    html.open-menu .header .main-menu {
        overflow: visible;
    }
}

.header .main-menu ul li.has-submenu {
    margin-top: 1px;      
}

/* Tighter main nav 1199–1240px (narrow desktop + wide mobile bar). */
@media (min-width: 1199px) and (max-width: 1240px) {
    .header .main-menu ul li {
        margin-left: 8px;
        margin-right: 8px;        
    }

    .header .main-menu ul li a {
        letter-spacing: 1px;
        font-size: 14px;
    }

    .main-menu ul .has-submenu .link_submenu {
        gap: 6px;
    }

    .header .main-menu ul li .btn {
        font-size: 14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        letter-spacing: 1px !important;
    }
}

@media (max-width: 1199px) {
    .subpage .texts.our-origins .sidebar-ourorigins {
        position: absolute;
        width: 250px;
        top: 0;
        z-index: 2;
        -webkit-transform: translateX(-250px);
        -khtml-transform: translateX(-250px);
        -moz-transform: translateX(-250px);
        -ms-transform: translateX(-250px);
        -o-transform: translateX(-250px);
        transform: translateX(-250px)
    }

    .subpage .texts.our-origins .sidebar-open-close {
        display: block !important;
        z-index: 3;
        pointer-events: all
    }

    .subpage .texts.our-origins .sidebar-ourorigins ul,
    .subpage .texts.our-origins .sidebar-ourorigins a {
        filter: alpha(opacity=0);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        -webkit-opacity: 0;
        -khtml-opacity: 0;
        -moz-opacity: 0;
        -ms-opacity: 0;
        -o-opacity: 0;
        opacity: 0;
        pointer-events: none
    }

    .open-sidebar-menu .subpage .texts.our-origins .sidebar-ourorigins {
        -webkit-transform: translateX(0);
        -khtml-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0)
    }

    .open-sidebar-menu .subpage .texts.our-origins .sidebar-ourorigins ul,
    .open-sidebar-menu .subpage .texts.our-origins .sidebar-ourorigins a {
        filter: alpha(opacity=100);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        -webkit-opacity: 1;
        -khtml-opacity: 1;
        -moz-opacity: 1;
        -ms-opacity: 1;
        -o-opacity: 1;
        opacity: 1;
        pointer-events: all
    }

    .subpage .texts.our-origins .ourorigins-title,
    .subpage .texts.our-origins article.content.our-origins {
        width: 100%;
        margin-left: 0
    }
}

/* Match original home block icons (64×64); override .texts:not(.news) img { width:100% } */
.sucastainability-list .texts img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px;
    max-width: 64px;
    min-height: 64px;
    max-height: 64px;
    display: inline-block;
}
