/* Stack custom CSS */

/* fonts */
@font-face {
    font-family: 'TT Fors'; /* Name your font family */
    src: url('../fonts/TT-Fors-Medium.ttf');/* Locate the .ttf file within your directory*/
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'TT Fors'; /* Name your font family */
    src: url('../fonts/TT-Fors-Medium.ttf');/* Locate the .ttf file within your directory*/
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'TT Fors'; /* Name your font family */
    src: url('../fonts/TT-Fors-Bold.ttf');/* Locate the .ttf file within your directory*/
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'TT Fors'; /* Name your font family */
    src: url('../fonts/TT-Fors-Bold.ttf');/* Locate the .ttf file within your directory*/
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'TT Fors'; /* Name your font family */
    src: url('../fonts/TT-Fors-DemiBold.ttf');/* Locate the .ttf file within your directory*/
    font-weight: 600;
    font-style: normal;
}

body {
    font-family: 'TT Fors', sans-serif; /* Use the font family */
}
.elementor-button {
    font-family: 'TT Fors', sans-serif !important;
    text-transform: uppercase;
}

p, h1, h2, h3, h4, h5, h6 {
    font-family: 'TT Fors', sans-serif; /* Use the font family */
}

/* global */
.elementor-sticky.elementor-sticky--active {
    background: none !important;
    margin-top: 30px !important;
}
.elementor-sticky.elementor-sticky--effects {
    background: black !important;
    margin-top: 0 !important;
}
.elementor-sticky.elementor-sticky--effects .elementor-widget-image img {
    height: 30px !important;
    transition: all 0.5s;
    content: url('http://dev2024.stackmodular.com/wp-content/uploads/2024/08/STACK_LOGO_WHITE.png');
}

.elementor-location-header {
    position: relative;
    z-index: 999;
}
.bottom-grad:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-image:linear-gradient(0deg,rgba(0, 0, 0, 0.4),transparent 50%);
}
.bottom-grad .e-con-inner {
    z-index: 99;
}
.elementor-nav-menu--main .elementor-item:hover {
    border-bottom: 1px solid #AAD268;
}
.elementor-nav-menu--main .elementor-item:hover {
    border-color: #AAD268;
}
.elementor-button {
    background-color: transparent !important;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
    border: solid 1px black !important;
    border-radius: 4px !important;
    padding: 18px 50px;
}
.white-me .elementor-button {
    background-color: transparent !important;
    border: solid 1px white !important;
}
.button-clear, .button-clear a {
    background: transparent !important;
}
.elementor-button:hover {
    background-color: #083A1F !important;
    color: white !important;
    border: solid 1px #083A1F !important;
}
.white-me .elementor-button:hover {
    background-color: #AAD268 !important;
    color: white !important;
    border: solid 1px #AAD268 !important;
}
.reverse-button .elementor-button {
    background-color: #2B7527 !important;
    box-shadow: inset 0 0 0 0 #EAD857;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
}
.reverse-button .elementor-button:hover {
    /* background-color: #EAD857 !important; */
    color: black !important;
    box-shadow: inset 200px 0 0 0 #EAD857;
}

.elementor-tabs-content-wrapper {
    position: relative;
    justify-content: space-around;
    flex-wrap: wrap;
}
.elementor-tab-content.elementor-active {
    position: relative;
    opacity: 1;
    display: block !important;
    transition: opacity 0.5s linear, left 0.8s;
    left: -0vw;
}
.elementor-tab-content {
    display: block !important;
    opacity: 0;
    position: absolute;
    left: 100vw;
    transition: opacity 0.5s linear, left 0.8s;
    top: 0;
    width: 100%;
}

.elementor-tab-content .elementor-button {
    border: 1px solid #0C6E38;
}

.elementor-sticky--active {
    background: black !important;
    transition: all 0.5s;
}
.elementor-sticky--active .elementor-widget-image img {
    height: 76px !important;
    transition: all 0.5s;
}
.elementor-sticky .elementor-widget-image img {
    transition: all 0.5s;
}
.elementor-sticky--active .e-con-inner {
    padding: 15px 0;
    transition: all 0.5s;
}
.elementor-sticky--active .elementor-nav-menu--main .elementor-nav-menu a {
    padding: 10px 20px;
    transition: all 0.5s;
}
.gal-1 {
    height: 100%;
    overflow: hidden;
}
.gal-2 {
    z-index: 7;
}
.gal-2 .elementor-widget-container {
    margin-left: -25% !important;
}
.gal-3 .elementor-widget-container {
    margin-top: -10% !important;
}
@media only screen and (max-width: 768px) {
    .gal-2 .elementor-widget-container {
        margin-left: 0 !important;
    }
    .gal-3 .elementor-widget-container {
        margin-top: 0 !important;
    }
}

.menu-item-1150 a {
    border: 1px solid white;
    border-radius: 4px;
    padding: 10px 30px !important;
    text-transform: uppercase;
}

.elementor-location-footer .elementor-icon-list-items .elementor-icon-list-item:first-child span {
    font-weight: 600 !important;
    padding-bottom: 6px;
}
/* Home */
.multiply-blend {
    mix-blend-mode: multiply;
}
.elementor-widget-tabs.elementor-tabs-view-horizontal .elementor-tab-desktop-title.elementor-active {
    border-bottom: 2px solid #2B7527 !important;
}
.elementor-widget-tabs.elementor-tabs-view-horizontal .elementor-tab-title {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 10px;
    margin: 0 25px;
}

.elementor-11 .elementor-element.elementor-element-e0f7130 .elementor-tab-title {
    padding: 0 0 8px 0;
    margin: 0 23px;
}
.elementor-widget-tabs .elementor-tab-content {
    padding: 0;
}

.elementor-widget-tabs .elementor-tabs-wrapper {
    display: flex;
    margin-bottom: 50px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.home-tabs .elementor-tabs .elementor-tabs-wrapper {
    max-width: 600px;
    margin: 0 auto 50px;
}
.tab-col {
    float: left;
    width: 50%;
}

.tab-col img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.tab-col:last-child {
    padding-left: 50px;
}
.tab-col .elementor-button {
    margin-top: 15px;
}

.quickfacts-container .elementor-widget-container {
    border-right: 1px solid #000;
    padding-right: 40px;
}
.quickfacts-container .elementor-element:last-child .elementor-widget-container {
    border-right: none;
    padding-right: 0;
}
.quickfacts-container p {
    font-family: "TT Fors", Sans-serif;
    font-size: 20px;
    font-weight: 400;
}
.quickfacts-container strong {
    font-size: 14px;
    font-family: 'TT Fors', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}
.single-projects .quickfacts-container p {
    margin: 0;
}
.single-projects .quickfacts-container .elementor-widget-container {
    border-right: none;
    padding-right: 0;
}
.single-projects .quickfacts-container .e-con {
    border-right: 1px solid #000;
    padding-right: 70px;
    width: fit-content;
}
.single-projects .quickfacts-container .e-con:last-child {
    border-right: none;
    padding-right: 0;
}
.single-projects .quickfacts-container .e-con .e-con-inner {
}

.elementor-posts--show-avatar .elementor-post__thumbnail__link {
    margin-bottom: 0;
}
.elementor-posts .elementor-post__badge {
    bottom: 0;
    left: 0;
    top: auto;
    color: white !important;
    font-size: 44px !important;
    position: absolute;
    background: none;
    padding: 90px 50px;
    margin: 0 !important;
    text-transform: capitalize !important;
    pointer-events: none;
    border: none;
}
.elementor-posts .elementor-post__text {
    position: absolute;
    bottom: 0;
    pointer-events: none;
}
.elementor-posts .elementor-post__text .elementor-post__read-more {
    color: white !important;
    font-size: 26px !important;
    font-weight: 400;
    padding: 40px 50px;
    margin: 0;
}
.elementor-posts .elementor-post__text .elementor-post__read-more:after {
    content: "»";
    font-size: 46px !important;
    font-weight: 200;
    position: relative;
    top: 2px;
}
.swiper-pagination-bullet {
    border-radius: 0 !important;
}
.elementor-posts .elementor-post__card:hover .elementor-post__text .elementor-post__read-more:after {
    color: #AAD268;
}

.elementor-post__avatar {
    display: none;
}
.elementor-posts .elementor-post__card {
    background: transparent !important;
    box-shadow: none !important;
}

/* Project page */

.elementor-post-info__terms-list-item {
    color: #000000;
    background-color: #EAD857;
    border: none;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 600;
}

.pull-quote h2:before {
    content: url(../images/pull-tl.png);
    position: absolute;
    top: -15px;
    left: -15px;
}
.pull-quote h2:after {
    content: url(../images/pull-br.png);
    position: absolute;
    bottom: 0;
    right: -15px;
}
.pull-quote h2 {
    padding: 15px;
}

.quick-stat {
    min-height: 100%;
}
.quick-stat p {
    border-bottom: 2px solid #2B7527;
    padding-bottom: 20px;

}
.quick-stat .elementor-widget-container {
    display: flex;
    align-items: center;
}


/* projects (item grid) */
.tag-filter {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    padding: 0 50px;
    flex-wrap: wrap; 
}
.tag-filter .elementor-widget-container {
    display: none;
}
.tag-item {
    font-family: "TT Fors 01";
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 150%; /* 21px */
    letter-spacing: 3px;
    padding-bottom: 10px;
    cursor: pointer;
    margin: 0 15px;
    border-bottom: 2px solid transparent;
}
.tag-active, .tag-item:hover {
    border-bottom: 2px solid #2B7527 !important;
}
.elementor-posts__hover-gradient .elementor-post__card .elementor-post__thumbnail__link:after {
    background-image:linear-gradient(0deg,rgba(0, 0, 0, 0.9),transparent 50%);
    opacity: 1
}
.elementor-post__card .elementor-post__thumbnail__link img {
    filter: grayscale(100);
    transition: filter 4s, transform 4s, rotate 4s;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: translate(0) !important;
}
.elementor-post__card .elementor-post__thumbnail__link:hover img {
    filter: grayscale(0);
    transition: filter 4s, transform 4s, rotate 4s;
    transform: scale(1.07) rotate(0.02deg) !important;
}
@media (hover: none) {
    .elementor-post__card .elementor-post__thumbnail__link img.in-view {
        filter: grayscale(0%);
        transition: filter 4s, transform 4s, rotate 4s;
        transform: scale(1.07) rotate(0.02deg) !important;
    }    
}
.bottom-grad .elementor-heading-title {
    visibility: hidden;
}
.elementor-posts__hover-gradient .elementor-post__card:hover .elementor-post__thumbnail__link::after {
    opacity: 1;
}
.elementor-post__read-more {
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
/* .elementor-post__read-more:hover {
    border-bottom: 2px solid #2B7527 !important;
} */
.elementor-widget-image-carousel .swiper-slide {
    align-self: start;
}
.elementor-element.elementor-pagination-position-outside .swiper .elementor-swiper-button {
    background-color: #ffffff86;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
    border: 1px solid black;
    border-radius: 2px !important;
    height: 10px;
    width: 10px;
    background: transparent;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: black !important;
}
.elementor-element .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image {
    aspect-ratio: 4 / 4;
    object-fit: cover;
}
.special-hero {
    height: 100%;
    width: 100%;
}
.special-hero img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.special-hero:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-image:linear-gradient(0deg,rgba(0, 0, 0, 0.4),transparent 50%);
}
#special-grad {
    z-index: 99;
}
/* Modularity Report */
.page-id-383 .elementor-element-1b5d1ac2 {
    display: none !important;
}

/* How We Work */
.slow-stat {
    min-height: 100%;
    align-self: stretch;
}
.slow-stat hr {
    border: 0;
    border-top: 2px solid #2B7527;
    padding-bottom: 20px;

}
.slow-stat .elementor-widget-container {

}
.slow-stat h3 {
    font-family: "TT Fors 01";
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 0.8;
}

/* About Us */
.circle-stat {
    height: 200px;
    width: 200px;
}
.circle-stat h2 {
    margin-left: -100%;
    margin-right: -100%;
    font-size: 80px !important;
}

/* Related Posts */
.related-posts .elementor-posts .elementor-post__badge {
    color: #006938 !important;
    font-size: 16px !important;
    position: relative !important;
    background: none !important;
    padding: 20px 0 0 0 !important;
    margin: 0 !important;
    pointer-events: all;
    text-transform: uppercase !important;
}
.related-posts .elementor-posts .elementor-post__text {
    position: relative;
    pointer-events: all;
}
.related-posts .elementor-posts .elementor-post__text .elementor-post__title a {
    color: #083A1F !important;
    font-size: 44px !important;
    font-weight: 600;
    line-height: 45px;
    pointer-events: all;
}
.related-posts .elementor-posts .elementor-post__text .elementor-post__excerpt p {
    color: #333 !important;
}
.related-posts .elementor-posts .elementor-post__text .elementor-post__read-more-wrapper a {
    pointer-events: all;
    padding: 0;
    color: #083A1F !important;
}

/* Ensure the slider displays one image at a time */
.custom-swiper {
    position: relative;
    overflow: hidden;
    width: 100%; /* Adjust as needed */
    max-width: 670px; /* Match the slide width */
    margin: 0 auto;
}

.custom-swiper .swiper-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
}

.custom-swiper .swiper-slide {
    flex: 0 0 auto;
    width: 100%; /* Match the container width */
    text-align: center;
}

/* Style the navigation buttons */
.elementor-swiper-button-prev,
.elementor-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff96;
    border: 1px solid black;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.elementor-swiper-button-prev {
    left: 10px;
}

.elementor-swiper-button-next {
    right: 10px;
}

/* Style the SVG icons inside the buttons */
.elementor-swiper-button-prev svg,
.elementor-swiper-button-next svg {
    fill: black;
    width: 24px;
    height: 24px;
}

/* Hide overflowing content */
.custom-swiper .swiper-slide img {
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 4;
    object-fit: cover;
}

/* mobile */
@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 767px) {
    .elementor-tabs .elementor-tabs-wrapper {
        display: flex !important;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
    .elementor-tabs .elementor-tab-title {
        text-align: center;
        margin: 0 15px;
    }
    .elementor-tabs .elementor-tab-mobile-title {
        display: none;
    }
    .elementor-tabs .tab-col {
        width: 100%;
    }
    .tab-col:last-child {
        padding-left: 0;
    }
    h2 {
        font-size: 35px !important;
    }
}
