/*
Theme Name: Rebuilto Child
Theme URI: #
Description: WTP Child Theme
Author: #
Author URI: #
Version: 1.0.0
Text Domain: rebuilto-child
Template: rebuilto
*/


/*--------------------------
*           Index          *
----------------------------
* 1. Global                *
*    1.1 Custom Properties *
*    1.2 Universal         *
*    1.3 Header            *
*    1.4 Footer            *
*    1.5 Sidebar           *
* 2. Home-page             *
* 3. Sub-page              *
* 4. Responsive            *
* 5. Keyframes             *
--------------------------*/

/*--------------------------
*        1. Global         *
--------------------------*/

/* 1.1 Custom Properties */
:root {
    /* Add color custom properties here */
    --color-brand: #DB0032;
    --color-brand-rgba: 219, 0, 50;
    --color-accent: #847770;
    --color-accent-rgba: 132, 119, 112;
    --color-black: #2A2A2A;
    --color-black-rgba: 42, 42, 42;
    --color-white: #f8f8f8;
    --color-white-rgba: 248, 248, 248;

    /* Add font custom properties here */
    --font-headings: sans-serif;
    --font-default: sans-serif;
}

/* 1.2 Universal */
/* Don't let phone number links wrap */
a[href^="tel:"],
a[href^="tel+"] {
    white-space: nowrap;
}

/* End Don't let phone number links wrap */

/* Hidden Links */
a.hide-link,
a.hide-link:hover {
    color: inherit !important;
    text-decoration: none !important;
    cursor: text !important;
}

/* End Hidden Links */

/* Defaults for Gravity Forms */
html body .gform_ajax_spinner {
    max-width: 1em;
    height: 1em;
    width: 1em;
}

html body .gform_confirmation_message {
    text-align: center;
    color: #fff;
    border-radius: 10px;
    background-color: green;
    margin: 1em;
    padding: 1em;
}

html body .gform_wrapper.gravity-theme .gform_validation_errors,
html body .gform_wrapper.gravity-theme .validation_message {
    background-color: rgb(255 0 0 / 5%);
    -webkit-box-shadow: none;
    box-shadow: none;
    border: transparent;
    border-radius: 10px;
}

html body .gform_wrapper.gravity-theme .validation_message {
    padding: .5em 1em;
}

/* Removes default appearance for iOS/Safari forms */
input:matches([type="button"],
[type="submit"],
[type="reset"]) {
    -webkit-appearance: none !important;
}

/* End Defaults for Gravity Forms */

/* Add default top margin to headings (excludes when first element in container). Alter as necessary. */
/* Note: By default this only applies to blog posts. Remove '.single' if necessary on all pages. */
html body.single h1:not(:first-child),
html body.single h2:not(:first-child),
html body.single h3:not(:first-child),
html body.single h4:not(:first-child),
html body.single h5:not(:first-child),
html body.single h6:not(:first-child) {
    margin-top: 1em;
}

/* End Add default top margin to headings */

/* Adjust default indent for lists */
html body ol,
html body ul {
    margin: 0 0 1em 1.2em;
}

/* End Adjust default indent for lists */

/* Video Banners */
html body .wtp_banner,
html body .wtp_banner > .e-con-inner .wtp-video-background {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 100vh;
    overflow: hidden;
}

html body .wtp_banner > .e-con-inner {
    padding-top: 0 !important;
}

html body .wtp_banner > .e-con-inner .wtp-video-background {
    width: 100vw;
    height: auto;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50vw);
    -ms-transform: translateX(-50vw);
    transform: translateX(-50vw);
}

html body .wtp_banner > .e-con-inner .wtp_banner-overlay {
    position: absolute;
    bottom: 100px;
    max-width: 1290px;
}

html body .wtp_banner > .e-con-inner .wtp_banner-overlay .elementor-widget-text-editor h1 {
    color: var(--color-brand);
    font-size: clamp(30px, 5vw, 96px);
    opacity: .85;
}

html body .wtp_banner > .e-con-inner .wtp_banner-overlay .elementor-widget-text-editor h1 span.highlight {
    color: var(--color-white);
}

html body .wtp_banner .wtp-video-inner:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -o-linear-gradient(bottom, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 0.01%) 25%, rgb(0 0 0 / 0.015%) 60%, rgb(0 0 0 / 0.02%) 85%, rgb(0 0 0 / 40%) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgb(0 0 0 / 60%)), color-stop(25%, rgb(0 0 0 / 0.01%)), color-stop(60%, rgb(0 0 0 / 0.015%)), color-stop(85%, rgb(0 0 0 / 0.02%)), to(rgb(0 0 0 / 40%)));
    background: linear-gradient(to top, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 0.01%) 25%, rgb(0 0 0 / 0.015%) 60%, rgb(0 0 0 / 0.02%) 85%, rgb(0 0 0 / 40%) 100%);
    pointer-events: none;
}

/* End Video Banners */

html body #content .elementor-element .elementor-button span,
html body footer#colophon .elementor-element .elementor-button span,
html body header#masthead .elementor-element .elementor-button span {
    color: inherit;
}

html body .elementor-button-type-outline .elementor-button i {
    width: 32px;
    height: 32px;
    top: -8px;
    right: -17px;
    border: 1px solid #fff;
}

html body .elementor-button-type-outline.wtp_more-btn:hover .elementor-button i {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

html body .wtp_dark .elementor-widget-text-editor p,
html body .wtp_dark .elementor-widget-text-editor ul li,
html body .wtp_dark .elementor-widget-text-editor h2,
html body .wtp_dark .elementor-widget-text-editor h3,
html body .wtp_dark .elementor-widget-text-editor h4,
html body .wtp_dark .elementor-widget-text-editor h5,
html body .wtp_dark .elementor-widget-text-editor h6,
html body .wtp_dark .elementor-widget-text-editor ol li,
html body .wtp_dark .blog-grid .entry-content p {
    color: #fff;
}

html body .wtp_dark .elementor-widget-text-editor p a,
html body .wtp_dark .elementor-widget-text-editor ul li a,
html body .wtp_dark .elementor-widget-text-editor h2 a,
html body .wtp_dark .elementor-widget-text-editor h3 a,
html body .wtp_dark .elementor-widget-text-editor h4 a,
html body .wtp_dark .elementor-widget-text-editor h5 a,
html body .wtp_dark .elementor-widget-text-editor h6 a,
html body .wtp_dark .elementor-widget-text-editor ol li a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

html body .wtp_dark .elementor-widget-text-editor p a:hover,
html body .wtp_dark .elementor-widget-text-editor ul li a:hover,
html body .wtp_dark .elementor-widget-text-editor h2 a:hover,
html body .wtp_dark .elementor-widget-text-editor h3 a:hover,
html body .wtp_dark .elementor-widget-text-editor h4 a:hover,
html body .wtp_dark .elementor-widget-text-editor h5 a:hover,
html body .wtp_dark .elementor-widget-text-editor h6 a:hover,
html body .wtp_dark .elementor-widget-text-editor ol li a:hover {
    opacity: 0.8;
}

html body .scrollup {
    background-color: rgb(0 0 0 / 80%);
    opacity: 1;
}

html body .scrollup:hover {
    background-color: rgb(0 0 0 / 100%);
    opacity: 1;
}

html body .scrollup.change {
    background-color: rgb(248 248 248 / 80%);
    opacity: 1;
}

html body .scrollup.change i {
    color: var(--color-brand);
}

html body .scrollup.change:hover {
    background-color: rgb(248 248 248 / 100%);
    opacity: 1;
}

html body .scrollup i {
    color: var(--color-white);
}

html body .content-area .elementor-widget-text-editor ul li,
html body .content-area .elementor-widget-text-editor ol li,
html body .content-area .elementor-widget-text-editor p {
    text-wrap: pretty;
}

/* 1.3 Header */
html body nav.main-navigation .sub-menu {
    /*background-color: #212121;*/
}

html body nav.main-navigation .mega-menu li.elementor-icon-list-item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-column-gap: .8em;
    -moz-column-gap: .8em;
    column-gap: .8em;
    transintion: all 0.2s;
}

html body nav.main-navigation .mega-menu li.elementor-icon-list-item:hover a {
    /*column-gap: 1.1em;*/
}

html body nav.main-navigation .mega-menu li.elementor-icon-list-item a span.elementor-icon-list-icon {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

html body nav.main-navigation .mega-menu li.elementor-icon-list-item a span.elementor-icon-list-icon i {
    color: var(--color-brand);
    font-size: 20px;
}

html body nav.main-navigation .mega-menu li.elementor-icon-list-item:hover a span.elementor-icon-list-icon {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

html body nav.main-navigation .mega-menu .wtp_nav-main a:before,
html body nav.main-navigation .mega-menu .wtp_nav-main a:after {
    display: none;
}

html body nav.main-navigation .mega-menu .wtp_nav-main a i {
    font-size: 14px;
    width: 1.25em;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    position: relative;
    top: -1px;
}

html body nav.main-navigation .mega-menu .wtp_nav-main a:hover i {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

html body header#masthead .wtp_mobile-menu-toggle > .elementor-widget-container > .elementor-canvas-menu-wrapper {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

html body .rebuilto-mobile-nav {
    left: auto;
    right: 0;
    background-color: rgb(0 0 0 / 90%);
    max-width: 100vw;
}

html body .rebuilto-mobile-nav .site-branding img {
    width: 225px;
    max-width: 66%;
    margin: 0;
    -webkit-filter: grayscale(1) brightness(100);
    filter: grayscale(1) brightness(100);
}

html body .rebuilto-mobile-nav .mobile-navigation ul > li.menu-item > a,
html body .rebuilto-mobile-nav .mobile-navigation .dropdown-toggle {
    color: #fff;
    line-height: 1.4;
}

html body .rebuilto-mobile-nav {
    -webkit-transform: translate3d(330px, 0, 0);
    transform: translate3d(330px, 0, 0);
}

html body .rebuilto-mobile-nav .menu-scroll-mobile .site-branding {
    margin-bottom: 0;
}

html body .rebuilto-mobile-nav .site-branding a.custom-logo-link {
    display: block;
    min-height: 48px;
}

html body .rebuilto-mobile-nav .menu-scroll-mobile .mobile-nav-close {
    width: 48px;
    height: 48px;
    right: 9px;
}

html body header#masthead .wtp_header-phone.elementor-widget-button a,
html body header#masthead .wtp_header-phone.elementor-widget-html a {
    font-size: 16px;
    color: #fff;
}

html body header#masthead .wtp_header-phone.elementor-widget-html a:hover {
    background-color: var(--e-global-color-primary_hover);
}

html body header#masthead .wtp_header-phone.elementor-widget-html a .elementor-button-icon {
    line-height: 1;
}

/* 1.4 Footer */
html body .wtp_copyright p {
    color: #f2f2f2;
}

html body .wtp_copyright p a {
    color: #ff0c43;
}


/* 1.5 Sidebar */


/*------------------------
*      2. Home-page      *
-------------------------*/
html body .wtp_services h4.project-title,
html body .wtp_services h3.project-title {
    font-size: 32px;
}

/*html body .wtp_services .elementor-element.elementor-widget.elementor-widget-rebuilto-projects.e-widget-swiper .elementor-widget-container .elementor-project-wrapper.rebuilto-swiper.swiper .swiper-wrapper {*/
/*    transform: translate3d(0, 0, 0) !important;*/
/*}*/

/*html body .wtp_services .elementor-element.elementor-widget.elementor-widget-rebuilto-projects.e-widget-swiper .elementor-widget-container .elementor-project-wrapper.rebuilto-swiper.swiper .swiper-wrapper > .grid-item {*/
/*    display: inline-block;*/
/*    flex-shrink: 0;*/
/*}*/

html body .wtp_services .project-categories {
    display: none;
}

html body .wtp_services .project-item .project-content {
    padding-bottom: 20px;
}

html body .wtp_services .project-item .project-post-thumbnail:before {
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

html body .wtp_services .project-item .project-post-thumbnail:hover:before {
    background-color: rgba(0, 0, 0, 0.1);
}

html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-prev,
html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-next {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #f2f2f2;
    padding: 12px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    position: absolute;
    top: auto;
    right: auto;
    bottom: -72px;
    -webkit-transition: background-color .2s, -webkit-transform .2s;
    transition: background-color .2s, -webkit-transform .2s;
    -o-transition: background-color .2s, transform .2s;
    transition: background-color .2s, transform .2s;
    transition: background-color .2s, transform .2s, -webkit-transform .2s;
}

html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-prev:hover,
html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-next:hover {
    background-color: var(--e-global-color-accent);
}

html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-prev:active,
html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-next:active {
    -webkit-transform: scale(.9);
    -ms-transform: scale(.9);
    transform: scale(.9);
}

html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-prev {
    left: 0;
}

html body #page .wtp_services .elementor-swiper-button.elementor-swiper-button-next {
    left: 64px;
}

html body .wtp_markets .wtp_markets-grid > .e-con {
    width: calc(25% - 24px);
    max-width: 450px;
}

html body .wtp_markets .wtp_markets-grid > .e-con .elementor-widget-image a {
    display: block;
    position: relative;
    aspect-ratio: 3/2;
}

html body .wtp_markets .wtp_markets-grid > .e-con .elementor-widget-image a img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

html body .wtp_markets .wtp_markets-grid h2 {
    /*white-space: nowrap;*/
}

html body .wtp_markets .wtp_markets-grid h2 a {
    display: block;
}

html body .wtp_markets .wtp_markets-grid h2 a span {
    white-space: nowrap;
}

html body .wtp_markets .wtp_markets-grid h2 a i {
    font-size: 16px;
    position: relative;
    top: -3.5px;
    right: 0;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background-color: transparent;
    border-radius: 999px;
    color: var(--color-black);
    padding: .25em;
    border: 1px solid var(--color-black);
    width: 26px;
    height: 26px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

html body .wtp_markets .wtp_markets-grid h2 a:hover i {
    /*right: -5px;*/
    color: var(--color-white);
    background-color: var(--color-black);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

html body .wtp_locations .service-item .service-inner .service-content h3.service-title {
    font-size: 36px;
}

html body .wtp_locations .service-item .service-inner:hover .service-content h3.service-title {
    font-size: 48px;
}

html body .service-item.service-style-1 .service-content .service-content-inner {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

html body .service-item.service-style-1 .service-content .service-content-inner h3.service-title {
    margin: 0;
}

html body .service-item.service-style-1 .service-content .service-content-inner .service-excerpt {
    color: #fff;
    font-size: 18px;
    padding-top: .5em;
    margin-top: .75em;
    position: relative;
    text-align: center;
}

html body .service-item.service-style-1 .service-content .service-content-inner .service-excerpt:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgb(255 255 255 / 50%);
}

html body:not(.home) .service-item.service-style-1 .service-content .service-content-inner .service-excerpt .home {
    display: none;
}

html body:not(.home) .service-item.service-style-1 .service-content .service-content-inner .service-excerpt .not-home {
    display: block;
}

html body.home .service-item.service-style-1 .service-content .service-content-inner .service-excerpt .home {
    display: block;
}

html body.home .service-item.service-style-1 .service-content .service-content-inner .service-excerpt .not-home {
    display: none;
}

html body:not(.home) .service-item.service-style-1 a.overlay-link {
    pointer-events: none;
}

html body:not(.home) .service-item.service-style-1 .service-content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

html body:not(.home) .service-item.service-style-1 .service-content .service-content-inner {
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: rgb(0 0 0 / 0%);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

html body:not(.home) .service-item.service-style-1:hover .service-content .service-content-inner {
    background-color: rgb(0 0 0 / 70%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

html body:not(.home) .service-item.service-style-1 .service-content .service-more-link {
    display: none;
}

html body:not(.home) .elementor-style-effect-yes.elementor-service-style-1 .d-grid .grid-item {
    /*transition: none !important;*/
}

html body:not(.home) .elementor-style-effect-yes.elementor-service-style-1 .d-grid .grid-item:hover {
    /*width: calc(100% / 3);*/
}

html body .blog-grid {
    position: relative;
}

html body .blog-grid .entry-title {
    overflow: visible;
    -o-text-overflow: unset;
    text-overflow: unset;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    margin-top: .75em;
}

html body .wtp_blog .post-inner.blog-grid .more-link-wrap a.more-link {
    font-size: 16px;
    color: #544c48;
}

html body.blog .wtp_blog .post-inner.blog-grid .more-link-wrap a.more-link {
    color: #fff;
}

html body .wtp_blog .post-content .entry-excerpt {
    /*-webkit-line-clamp: unset;*/
}

html body .wtp_blog .post-content .entry-excerpt,
html body .wtp_blog .post-content .entry-excerpt p {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/*------------------------
*      3. Sub-page       *
------------------------*/
html body:not(.home) #content h2 {
    font-size: 48px;
    line-height: 1.2;
}

html body:not(.home):not(.blog) #content h3 {
    font-size: 42px;
    line-height: 1.2;
}

html body:not(.home) #content h4 {
    font-size: 36px;
    line-height: 1.2;
}

html body:not(.home) #content h5 {
    font-size: 30px;
    line-height: 1.4;
}

html body:not(.home) #content h6 {
    font-size: 24px;
    line-height: 1.4;
}

html body:not(.home) .wtp_subpage-banner {
    aspect-ratio: 2.75/1;
    max-width: 100vw;
    height: auto;
}

html body:not(.home) .wtp_subpage-banner:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -o-linear-gradient(bottom, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 0.01%) 40%, rgb(0 0 0 / 0.015%) 60%, rgb(0 0 0 / 0.02%) 80%, rgb(0 0 0 / 60%) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgb(0 0 0 / 80%)), color-stop(40%, rgb(0 0 0 / 0.01%)), color-stop(60%, rgb(0 0 0 / 0.015%)), color-stop(80%, rgb(0 0 0 / 0.02%)), to(rgb(0 0 0 / 60%)));
    background: linear-gradient(to top, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 0.01%) 40%, rgb(0 0 0 / 0.015%) 60%, rgb(0 0 0 / 0.02%) 80%, rgb(0 0 0 / 60%) 100%);
    pointer-events: none;
    z-index: 0;
}

html body:not(.home) .wtp_subpage-banner * {
    z-index: 1;
}

html body:not(.home) #content .wtp_subpage-banner .elementor-widget-heading h1 {
    -webkit-filter: drop-shadow(0 0 45px rgba(0, 0, 0, 1));
    filter: drop-shadow(0 0 45px rgba(0, 0, 0, 1));
    text-wrap: balance;
}

html body:not(.home) .wtp_subpage-banner .elementor-widget-heading h1:has(span.subheading) {
    line-height: 1;
}

html body:not(.home) .wtp_subpage-banner .elementor-widget-heading h1 span.subheading {
    font-size: .66em;
}

html:not(.home) .wtp_subpage-banner .elementor-button-link .elementor-button-content-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

html:not(.home) .wtp_subpage-banner .elementor-button-link .elementor-button-content-wrapper .elementor-button-icon {
    font-size: 12px;
    top: 0;
    left: 2px;
    position: relative;
}

html body #content .elementor-widget-rebuilto-timeline-slider .main-swiper .timeline-title {
    font-size: 16px;
}

html body #content .elementor-widget-rebuilto-timeline-slider .main-swiper .timeline-title:hover {
    color: var(--color-brand);
}

html body #content .elementor-widget-rebuilto-timeline-slider .content-swiper > .swiper-wrapper {
    -webkit-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transition-duration: 0.3s !important;
    -o-transition-duration: 0.3s !important;
    transition-duration: 0.3s !important;
}

html body #content .wtp_img-fit .elementor-widget-image,
html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container,
html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container a,
html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container img {
    width: 100%;
    height: 100%;
}

html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
}

html body #content .wtp_img-fit.right .elementor-widget-image .elementor-widget-container img {
    -o-object-position: center right;
    object-position: center right;
}

html body #content .wtp_img-fit .elementor-widget-image,
html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container a {
    overflow: hidden;
}

html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container a img {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

html body #content .wtp_img-fit .elementor-widget-image .elementor-widget-container a:hover img,
html body #content .wtp_img-fit:hover .elementor-icon {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

html body #content .wtp_img-fit .elementor-widget-image.yt--popper .elementor-icon {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

html body #content .wtp_image-play-text,
html body #content .wtp_image-play-icon,
html body #content .wtp_image-play-text a,
html body #content .wtp_image-play-icon a {
    pointer-events: none;
}

html body #content .wtp_image-play-text a {
    color: #fff !important;
}

html body #content .wtp_img-fit:has(.wtp_image-play-icon):after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -o-linear-gradient(297deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 0%) 50%, rgb(0 0 0 / 50%) 100%);
    background: linear-gradient(153deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 0%) 50%, rgb(0 0 0 / 50%) 100%);
    pointer-events: none;
}

html body:not(.home) #content .elementor-widget-text-editor h2:not(:only-child),
html body:not(.home) #content .elementor-widget-text-editor h3:not(:only-child),
html body:not(.home) #content .elementor-widget-text-editor h4:not(:only-child),
html body:not(.home) #content .elementor-widget-text-editor h5:not(:only-child),
html body:not(.home) #content .elementor-widget-text-editor h6:not(:only-child) {
    margin-top: .5em;
    margin-bottom: .2em;
}

html body:not(.home) #content .elementor-widget-text-editor h2:first-child,
html body:not(.home) #content .elementor-widget-text-editor h3:first-child,
html body:not(.home) #content .elementor-widget-text-editor h4:first-child,
html body:not(.home) #content .elementor-widget-text-editor h5:first-child,
html body:not(.home) #content .elementor-widget-text-editor h6:first-child {
    margin-top: 0;
}

html body:not(.home) #content .elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-subheading {
    color: var(--color-brand);
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-heading {
    color: #121212;
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-item {
    position: relative;
}

html body #content .elementor-widget .elementor-icon-list-item .elementor-icon-list-text a {
    display: inline;
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-image {
    height: 100%;
    top: 0;
    left: calc(-100% - 45px);
    width: calc(100% - 40px);
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-image * {
    opacity: initial;
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-image img {
    width: 100%;
    -o-object-position: center center;
    object-position: center center;
    opacity: 0.5 !important;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    padding: 5px;
}

html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-item.timeline-active .scroll-timeline-image img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1 !important;
}

html body #content .elementor-widget-rebuilto-scroll-timeline .timeline-number {
    font-size: 18px;
}

/* blog posts */
html body.single #page .site-content {
    margin: 0;
}

html body.single #page #content .col-full {
    max-width: 100dvw;
    margin: 0;
    padding: 0;
}

/* End blog posts */

html body fieldset legend,
html body fieldset label,
html body .gfield label,
html body .gform_heading .gform_required_legend,
html body .gform_wrapper.gravity-theme .gfield_error legend,
html body .gform_wrapper.gravity-theme .gfield_error label {
    color: #fff;
    color: var(--color-black);
}

html body fieldset legend,
html body fieldset label,
html body .gfield label,
html body .gform_wrapper.gravity-theme .gfield_label {
    font-size: 20px;
}

html body .gform_wrapper.gravity-theme input[type=color],
html body .gform_wrapper.gravity-theme input[type=date],
html body .gform_wrapper.gravity-theme input[type=datetime-local],
html body .gform_wrapper.gravity-theme input[type=datetime],
html body .gform_wrapper.gravity-theme input[type=email],
html body .gform_wrapper.gravity-theme input[type=month],
html body .gform_wrapper.gravity-theme input[type=number],
html body .gform_wrapper.gravity-theme input[type=password],
html body .gform_wrapper.gravity-theme input[type=search],
html body .gform_wrapper.gravity-theme input[type=tel],
html body .gform_wrapper.gravity-theme input[type=text],
html body .gform_wrapper.gravity-theme input[type=time],
html body .gform_wrapper.gravity-theme input[type=url],
html body .gform_wrapper.gravity-theme input[type=week],
html body .gform_wrapper.gravity-theme select,
html body .gform_wrapper.gravity-theme textarea {
    border: 1px solid rgb(255 255 255 / 50%);
    border: 1px solid rgba(var(--color-black-rgba), 50%);
    color: #fff;
    color: var(--color-black);
    font-size: 18px;
    border-radius: 3px;
    padding: 8px 12px;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

html body .gform_wrapper.gravity-theme input[type=color]:focus,
html body .gform_wrapper.gravity-theme input[type=date]:focus,
html body .gform_wrapper.gravity-theme input[type=datetime-local]:focus,
html body .gform_wrapper.gravity-theme input[type=datetime]:focus,
html body .gform_wrapper.gravity-theme input[type=email]:focus,
html body .gform_wrapper.gravity-theme input[type=month]:focus,
html body .gform_wrapper.gravity-theme input[type=number]:focus,
html body .gform_wrapper.gravity-theme input[type=password]:focus,
html body .gform_wrapper.gravity-theme input[type=search]:focus,
html body .gform_wrapper.gravity-theme input[type=tel]:focus,
html body .gform_wrapper.gravity-theme input[type=text]:focus,
html body .gform_wrapper.gravity-theme input[type=time]:focus,
html body .gform_wrapper.gravity-theme input[type=url]:focus,
html body .gform_wrapper.gravity-theme input[type=week]:focus,
html body .gform_wrapper.gravity-theme select:focus,
html body .gform_wrapper.gravity-theme textarea:focus {
    border-color: #fff;
    border-color: var(--color-black);
}

html body .gform_wrapper.gravity-theme .gfield_required {
    color: #f03f18;
}

html body .gform_wrapper.gravity-theme .gform_footer {
    position: relative;
}

html body .gform_wrapper.gravity-theme .gform_footer input[type=submit] {
    padding: 11px 30px;
    font-size: 16px;
    color: #fff;
    background-color: var(--color-brand);
    border: transparent;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

html body .gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover {
    color: #fff;
    background-color: rgba(var(--color-brand-rgba), 80%);
}

html body .gform_wrapper.gravity-theme .gform_footer img.gform_ajax_spinner {
    position: absolute;
    top: 0;
    left: -14px;
    height: 36px;
    width: 140px;
    max-width: none;
    padding: 22px 0;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    background-color: #121212ad;
    background-color: #f6f6f6ad;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

html body .gform_wrapper.gravity-theme .gform_validation_errors,
html body .gform_wrapper.gravity-theme .validation_message {
    background-color: #ffffffba;
    /*background-color: #121212;*/
    border: 1px solid #d52c07;
}

html body #content .gform_wrapper.gravity-theme .gform_validation_errors .gform_submission_error,
html body #content .gform_wrapper.gravity-theme .validation_message .gform_submission_error {
    font-size: 20px;
    text-transform: none;
    color: #d52c07;
}

html body .gfield_description.validation_message.gfield_validation_message {
    display: none;
}

html body.contact header#masthead > .header-absolute {
    -webkit-backdrop-filter: invert(1);
    backdrop-filter: invert(1);
}

html body #content .elementor-widget-container:has(table) {
    overflow: auto;
}

html body table {
    min-width: 580px;
    max-width: none;
}

html body table tr:first-child {
    background-color: rgba(var(--color-black-rgba), 10%);
}

html body table tr:first-child td {
    font-size: 18px;
    line-height: 1.4;
}

html body table tr td {
    border: 1px solid var(--color-black);
    padding: 16px;
    font-size: 16px;
    line-height: 1.4;
    word-break: normal;
}

html body #content .wtp_img-fit.wtp_intro-img-col {
    overflow: hidden;
}

html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: calc(50% - 12px);
}

html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button a.elementor-button-link {
    width: 100%;
    text-align: center;
}

html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button a.elementor-button-link .elementor-button-content-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button a.elementor-button-link .elementor-button-content-wrapper > .elementor-button-text {
    position: relative;
}

html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button a.elementor-button-link .elementor-button-content-wrapper > .elementor-button-text:before {
    max-width: 100%;
    display: block;
}

html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button a.elementor-button-link .elementor-button-content-wrapper > .elementor-button-icon {
    line-height: 1;
}

html body .wtp_global-headquarters {
    position: absolute;
    bottom: 24px;
    left: 0;
    padding: 12px;
    background-color: rgb(248 248 248 / 66%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    width: 100%;
}

html body .wtp_services-boxes .wtp_dark .elementor-widget-text-editor h3 a {
    text-decoration: none;
}

html body .child-pages-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 60px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

html body #content .elementor-element .child-pages-grid .child-page-image {
    aspect-ratio: 16 / 9;
    position: relative;
}

html body #content .elementor-element .child-pages-grid .child-page-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

html body #content .elementor-element .child-pages-grid .child-page-title {
    font-size: 28px;
    margin: .5em 20px;
    text-wrap: pretty;
}

html body #content .elementor-element .child-pages-grid a.elementor-button {
    border: 1px solid var(--e-global-color-primary);
    display: block;
    margin: 0 20px 20px 20px;
}

html body #content .elementor-element .child-pages-grid a.elementor-button:hover {
    background-color: transparent;
}

html body #content .elementor-element .child-pages-grid a.elementor-button .elementor-button-text {
    color: #fff;
}

html body #content .elementor-element .child-pages-grid a.elementor-button:hover .elementor-button-text {
    color: var(--e-global-color-primary);
}

html body #content .elementor-element .child-pages-grid .child-page-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    background-color: #fff;
    -webkit-box-shadow: 0 0 20px #0000000f;
    box-shadow: 0 0 20px #0000000f;
}

html body #content .elementor-element .child-pages-grid .child-page-item > a:first-child {
    width: 100%;
}

html body #content .wtp_watch-video-holder iframe {
    aspect-ratio: 16 / 8;
    height: auto;
}


/*------------------------
*      4. Responsive     *
------------------------*/
@media (max-width: 1499px) {
    html body #content .wtp_markets .wtp_markets-grid h2 {
        font-size: 24px;
    }
}

@media (max-width: 1439px) {
    html body header#masthead .wtp_header-phone.elementor-widget-button a,
    html body header#masthead .wtp_header-phone.elementor-widget-html a {
        font-size: 14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    @media (min-width: 1025px) {
        html body header#masthead .main-navigation ul.menu > li.menu-item > a {
            padding-right: .4em;
            padding-left: .4em;
        }
    }

    @media (min-width: 1367px) {
        html body header#masthead .hfe-site-logo .hfe-site-logo-container img {
            width: 225px;
        }
    }
}

@media (max-width: 1357px) {
    html body .wtp_banner > .e-con-inner .wtp_banner-overlay {
        max-width: 95vw;
        padding-left: 22px;
    }
}

@media (max-width: 1320px) {
    html body #content .elementor-widget-rebuilto-scroll-timeline .scroll-timeline-image {
        left: calc(-100% + 50px);
        width: calc(100% - 90px);
    }
}

@media (max-width: 1310px) {
    html body nav.main-navigation .mega-menu .e-con-inner {
        padding-right: 20px;
        padding-left: 20px;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    html body:not(.home) .wtp_subpage-banner {
        aspect-ratio: 21/9;
    }
}

@media (max-width: 1199px) {
    html body .wtp_markets .wtp_markets-grid > .e-con {
        width: calc(calc(100% / 3) - 24px);
    }

    @media (min-width: 1025px) {
        html body #content .wtp_markets .wtp_markets-grid h2 {
            font-size: 21px;
        }
    }
}

@media (max-width: 1024px) {
    html body .wtp_banner > .e-con-inner .wtp_banner-overlay {
        bottom: 40px;
    }

    html body:not(.home) .wtp_subpage-banner {
        aspect-ratio: 2/1;
    }

    html body .wtp_timline-container {
        background: #fff !important;
        background-color: #fff !important;
    }

    html body .wtp_markets .wtp_markets-grid > .e-con {
        width: calc(50% - 12px);
    }

    @media (min-width: 881px) {
        html body .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper.content-swiper {
            margin-top: 80px;
        }
    }
}

@media (max-width: 880px) {
    html body #content .wtp_img-fit.wtp_intro-img-col {
        aspect-ratio: 16/9;
        max-height: 55vw;
    }

    html body:not(.home) .wtp_subpage-banner {
        aspect-ratio: 16/9;
        min-height: 350px;
    }

    html body.deep-draw-metal-stamping #content .elementor-element:has(.wtp_intro-img-col):nth-child(2) .wtp_img-fit.wtp_intro-img-col img {
        -o-object-position: right top;
        object-position: right top;
    }

    html body #content .wtp_certs {
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button {
        -ms-flex-item-align: stretch;
        -ms-grid-row-align: stretch;
        align-self: stretch;
    }

    html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button .elementor-button-wrapper {
        height: 100%;
    }

    html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button a.elementor-button-link {
        padding-right: 12px;
        padding-left: 12px;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    html body .wtp_banner > .e-con-inner .wtp_banner-overlay {
        padding-left: 0;
        padding-right: 12px;
    }

    html body .wtp_locations .service-item .service-inner:hover .service-content h3.service-title {
        font-size: 36px;
    }

    html body:not(.home) #content h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    html body:not(.home) #content h3 {
        font-size: 27px;
        line-height: 1.2;
    }

    html body:not(.home) #content h4 {
        font-size: 24px;
        line-height: 1.2;
    }

    html body:not(.home) #content h5 {
        font-size: 21px;
        line-height: 1.4;
    }

    html body:not(.home) #content h6 {
        font-size: 18px;
        line-height: 1.4;
    }

    html body .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper.content-swiper {
        padding-bottom: 60px;
    }

    html body #content .wtp_certs .elementor-element.elementor-widget-rebuilto-button {
        width: 100%;
    }
}

@media (max-width: 649px) {
    html body #content .wtp_img-fit.wtp_intro-img-col {
        aspect-ratio: 5/4;
        max-height: none;
    }

    html body .elementor-widget-text-editor .table {
        max-width: 100%;
        overflow: scroll;
    }

    html body .wtp_markets .wtp_markets-grid > .e-con {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    html body #content .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper-thumbs {
        padding-bottom: 18px;
        margin-bottom: 0;
    }

    html body .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper-thumbs:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: var(--border);
        top: 37.5px;
    }

    html body .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper-thumbs .swiper-wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 10px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    html body .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper-thumbs .swiper-wrapper .swiper-slide {
        min-width: 42px;
    }

    html body .elementor-widget-rebuilto-timeline-slider .rebuilto-swiper.swiper-thumbs .swiper-wrapper .swiper-slide:after {
        content: "";
        position: absolute;
        width: calc(100% + 10px);
        height: 1px;
        background-color: var(--border);
        top: 37.5px;
        left: -5px;
        z-index: -1;
    }

    @media (min-width: 450px) {
        html body header#masthead .wtp_header-phone.elementor-widget-button a .elementor-button-icon,
        html body header#masthead .wtp_header-phone.elementor-widget-html a .elementor-button-icon {
            display: none;
        }
    }
}

@media (max-width: 449px) {
    html body header#masthead .hfe-site-logo .hfe-site-logo-container img {
        width: 50vw;
        min-width: 75px;
    }

    html body header#masthead .elementor-element.e-con.wtp_header-right {
        width: calc(100% - 50vw);
    }

    html body header#masthead .wtp_header-phone.elementor-widget-button a .elementor-button-text,
    html body header#masthead .wtp_header-phone.elementor-widget-html a .elementor-button-text {
        display: none;
    }

    html body header#masthead .wtp_header-phone.elementor-widget-html a {
        background-color: transparent;
    }

    html body header#masthead .wtp_header-phone.elementor-widget-html a .elementor-button-icon {
        position: relative;
        top: .5px;
    }

    html body header#masthead .wtp_mobile-menu-toggle {
        width: 36px;
    }

    html body .wtp_markets .wtp_markets-grid h2 {
        white-space: normal;
        font-size: 21px;
    }

    html body #content .elementor-widget-rebuilto-timeline-slider .content-swiper > .swiper-wrapper h3 {
        font-size: 32px;
    }

    html body #content .elementor-widget-rebuilto-timeline-slider .content-swiper > .swiper-wrapper h3 span[style*="white-space"] {
        white-space: normal !important;
    }
}

@media (min-width: 410px) {
    html body .rebuilto-mobile-nav {
        -webkit-transform: translate3d(410px, 0, 0);
        transform: translate3d(410px, 0, 0);
    }
}

@media (min-width: 768px) {
    html body .blog-grid .post-inner.blog-grid {
        height: 100%;
    }

    html body .wtp_blog .post-inner.blog-grid .more-link-wrap {
        position: absolute;
        bottom: 0;
    }

    html body .wtp_blog .post-inner.blog-grid .post-content {
        padding-bottom: 24px;
    }
}

@media (min-width: 881px) {
    html body:not(.home):not(.single) #content .wtp_subpage-banner:has(.yt--popper) .elementor-widget-heading {
        max-width: calc(100% - 275px);
    }
}

@media (min-width: 1024px) {
    html body #content .wtp_two-col ul,
    html body #content ul.wtp_two-col,
    html body #content .wtp_three-col ul,
    html body #content ul.wtp_three-col,
    html body #content .wtp_four-col ul,
    html body #content ul.wtp_four-col {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    html body #content .wtp_two-col ul li:not(:first-of-type) {
        padding-right: 1em;
    }
}

@media (min-width: 1025px) {
    .main-navigation ul li.wtp_contact {
        display: none;
    }
}

@media (min-width: 1440px) {
    html body #content .wtp_three-col ul,
    html body #content ul.wtp_three-col,
    html body #content .wtp_four-col ul,
    html body #content ul.wtp_four-col {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 1680px) {
    html body #content .wtp_four-col ul {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (min-width: 2000px) {
    html body #content .elementor-widget-rebuilto-timeline-slider .main-swiper.swiper-thumbs {
        position: relative;
        top: 40px;
    }

    html body #content .elementor-widget-rebuilto-timeline-slider .elementor-widget-image img {
        width: 100%;
        max-width: none;
    }
}


/*------------------------
*      5. Keyframes      *
-------------------------*/