/*
Theme Name: Elementra Child Theme
Template: elementra
Theme URI: https://elementra.themerex.net/
Description: Elementra Child Theme
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
.green {color:#76b82a}
.darkgray {color:#3F3E3E}
.lightgray {color:#F5F5F5}
/*body, p {color:#3F3E3E}*/


#menu-top-menu {padding:0 60px 0 0;}
#menu-top-menu li a {border-right:1px solid white;}
#menu-top-menu li:last-child a {border-right:none;}

.current_page_item a{color:#76b82a !important}

body .page-header {height:300px;text-align:center;display:flex;flex-direction: column;justify-content: center;align-items: center;align-content: center;flex-wrap: nowrap;}
.prel .elementor-widget-container {position:relative !important}

.page-header {margin-top:15px; margin-bottom:15px}
.page-header h1, .page-header h2 {color:#fff}
.breadcrumbs .breadcrumbs_item {border:1px solid white;border-radius:20px; padding:2px 10px; color:#fff;}
.breadcrumbs .breadcrumbs_item.current {background-color:#3F3E3E; border-color:#3F3E3E; color:#fff}
.breadcrumbs .breadcrumbs_item.home {color:#fff; }
.titStit h2 {font-size:38px; font-weight:600;margin:0;padding:0;line-height:100%;}
.titStit .sottotitolo .elementor-heading-title{display:inline-block; width:auto;margin:0;padding:0;
    border-bottom:1px solid #76b82a; line-height:100%;
    font-size:20px}
.titStit {margin:60px 0; color:#3F3E3E !important}
.home .titStit {padding:0 60px}
.box .titStit {margin:0px 0 60px 0;padding:0}

.maxw {max-width:700px;}
.mb0 {margin-bottom:0 !important}
.frecciagiu .elementor-button-icon {rotate:90deg;}

.post-password-required.hentry {margin:30px auto !important; max-width:600px}
.post-password-form {
    background-color:#f5f5f5;
    width:auto !important;
    border-radius:20px;
    padding:20px;
    display:inline-block;
    text-align:center;
    margin:20px auto !important
}


.post-password-form input[type="password"] {margin:10px auto}



.cataloghi {display:flex;flex-direction: row;flex-wrap: wrap;align-content: flex-start;justify-content: center;}
.cataloghi > div {flex-basis:20% !important; padding:0 10px;}

.trx-addons-image-accordion-below-content {position:absolute;z-index:99;bottom:20px; left:20px;}
.trx-addons-image-accordion-item {position:relative;}
.trx-addons-image-accordion-button {padding:5px 10px; border-radius:20px !important}
.trx-addons-image-accordion-content-active .trx-addons-image-accordion-button{background-color:#76b82a !important}
.trx-addons-accordion-title-text {font-size:18px;font-weight:bold;text-align:left;}
.trx-addons-image-accordion-title {text-align:left}

.cert .trx-addons-accordion-tab-title.trx-addons-accordion-tab-active {border-bottom-left-radius:0;border-bottom-right-radius:0}



.btn1mini {display:inline-block; position:relative;background-color:#3f3e3e; border-radius:20px; padding:5px 10px 5px 40px; font-size:16px; color:#fff}
.btn1mini:hover {background-color:#76b82a;color:#fff;}
.btn1mini:before {content:'';
    background-image:url('/wp-content/uploads/2024/11/freccia.svg');background-size:contain; content:'';
    width:20px; height:20px; position:absolute; background-position: center;background-repeat:no-repeat;
    left:10px;top:4px;}

.elementor-button-link.elementor-size-sm {padding:5px 10px}
.bgTxtCta h2 span {background-color:#3F3E3E; border-radius:50px; padding:0 25px;}
.play-button {width:100px; height:100px}
.wpcf7 .row {margin-right:0}
.wpcf7 select {width:100%; display:block;border-radius:30px; border-color:#3F3E3E;}
.wpcf7 .row .col-md-6 {float:left; width:50%;padding:0 5px; }
.wpcf7 .row .col-md-12 {width:100%;padding:0 5px;}
.wpcf7 input , .wpcf7 textarea {border-radius:30px;background-color:#F5F5F5;border:none;display:block;border:1px solid white;/* max-width:100% !important; */}
.wpcf7-form-control {min-width:100%;color:#3F3E3E;}
.wpcf7-form-control.wpcf7-submit {text-transform:uppercase}
input[type="submit"][disabled].wpcf7-form-control.wpcf7-submit {color:#fff !important; opacity:0.2;border-color:#fff !important}
.trx-addons-accordion-tab-title {background-color:#f5f5f5; border-radius:40px}
.trx-addons-accordion-tab-content {background-color:#f5f5f5;}

.inviocv .wpcf7, .inviocv .wpcf7-list-item {color:#fff}
.inviocv .wpcf7-form-control.wpcf7-acceptance input[type="checkbox"]
{margin-right:10px;border:3px solid white}
.inviocv .wpcf7-form-control.wpcf7-file {padding:12px; background-color:#76b82a; border:none}
.inviocv .cvtxt p{text-align:right;font-size:18px; font-weight:700;
    line-height:45px !important;display:block;}
.wpcf7-list-item label {display:flex;flex-direction: row;align-content: flex-start;align-items: flex-start;}

.trx-addons-accordion-tab-title {background-color:#f5f5f5; border-radius:40px}
.trx-addons-accordion-tab-content {background-color:#f5f5f5;}


.upk-start-end-wrap {border:none !important;padding:0;}
.upk-image-wrapper {width:200px; border-radius:12px;
    background-size:cover;background-position:center center;
}

.upk-timeline .upk-item:nth-child(2n+1) .upk-image-and-content-wrapper {
    padding: 90px 100px 90px 0;
}
.upk-timeline .upk-item:nth-child(2n+2) .upk-image-and-content-wrapper {
    padding: 90px 0 90px 100px;
}

.upk-content-wrap .upk-text {padding:0 20px;min-height:250px;margin:0;display:flex;flex-direction: column;flex-wrap: nowrap;justify-content: center;}
.upk-content-wrap h3,.upk-content-wrap h4 {font-size:1.3rem; margin:0 0 5px 0;}
.upk-content-wrap h4 {font-size:1.1rem; color:#76b82a; margin:10px 0 5px 0}
body .upk-timeline .upk-meta {display:none !important}
body .upk-timeline .upk-date-wrapper {
    background-color: #F5F5F5 !important;
    width: auto !important; display:block; white-space: nowrap;
    min-width:60px;
    height: 60px;padding:0 30px;
    top: calc(-30px + var(--upk-border-width) / 2);
    text-align: center;
    border: none;
}


.trx-addons-nav-menu > li .trx-addons-submenu {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.trx-addons-nav-menu > li .trx-addons-submenu .trx-addons-submenu-link {
    justify-content: center !important;
}
body:not(.home) header .testata {background-color:#ffffff !important}
header .testata .toplogo {display:none}
.home.trx_addons_page_scrolled header .testata {background-color:#ffffff !important}

.home:not(.trx_addons_page_scrolled) header .testata .toplogo {display:block}
.home:not(.trx_addons_page_scrolled) header .testata .scrollogo {display:none}
.home.trx_addons_page_scrolled header .testata .scrollogo {display:block}
.home.trx_addons_page_scrolled header .testata .toplogo {display:none}
.home:not(.trx_addons_page_scrolled) header .testata li a.trx-addons-menu-link:not(.trx-addons-submenu-link)  {color:#fff !important}
.home:not(.trx_addons_page_scrolled) header .trx-addons-main-nav-menu > .trx-addons-nav-menu-item > .trx-addons-menu-link .trx-addons-dropdown-icon svg path {fill:#fff !important}



.ruota:before {position:absolute; content:'';cursor:pointer;
    background-image:url('/wp-content/uploads/2025/12/freccia-grigia.svg');
    z-index:99;width:80px; height:40px; rotate:90deg; margin-left:-40px; margin-top:-20px;
    left:50%; top:50%;
    background-repeat:no-repeat; background-position:center center; }



img.trx_addons_bg_text_item {width:80px; height:80px; margin:0 20px; -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;}

.e-text-path:before {content:''; background-color:white; position:absolute;
    top:0; left:0; width:80px; height:80px;top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);border-radius:80px;
}

.duecolonne .titStit {margin:0;padding:0}
.bordergreen {border-bottom:1px solid #76b82a; padding-bottom:5px}
.bordergreen p {margin-bottom:5px}
p, li {line-height:130%; font-size:16px}



.sett-carousel .upk-item {
    width:100%;
    display:block;
    border-radius:20px;
    padding:10px;
    background-color:#F5F5F5;

    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: space-around;
}
.sett-carousel .upk-item .upk-inner {border:none;min-height:15vw;display:flex;flex-direction: column;justify-content: space-between;}

.sett-carousel .btn1mini:before {height:30px}
.sett-carousel .btn1mini {background-color:transparent;color:#3F3E3E}
.upk-inner img {width:auto; margin:0; height:60px;text-align:left; display:block;}
.sett-carousel .upk-inner p {margin:15px 0 5px}
.upk-inner h4 {font-size:18px; font-weight:700; margin-bottom:50px}
.sett-carousel .upk-inner .btn1mini:before {background-image:url('/wp-content/uploads/2025/12/freccia-grigia.svg');}
.sett-carousel .upk-item:hover {background-color:#76b82a}
.sett-carousel .upk-item:hover .btn1mini {color:#fff;}

.sett-carousel .upk-item:hover {background-color:#76b82a; color:#fff;}
.sett-carousel .upk-item:hover h4 {color:#fff}
.sett-carousel .upk-item:hover .btn1mini:before {background-image:url('/wp-content/uploads/2024/11/freccia.svg');}
.sett-carousel .upk-item:hover img, .imgbianca {filter: brightness(100);}



.sett-carousel .upk-content {position:relative}

.settore-item {background-color:#f5f5f5; border-radius:12px; padding:15px;width:100%; margin-bottom:15px;
    display:flex;flex-direction: row;flex-wrap: nowrap;align-content: center;align-items: center;justify-content: flex-start;}
.settore-icona img{height:50px; width:auto; display:block;margin-right:30px}
.settore-icona {width:100px}
.settore-titolo {font-size:18px; font-weight:700; line-height:100%; margin:0;
    padding:0 30px}
.settore-intro {margin:0; padding:0 30px;}


.elementor-swiper-button.elementor-swiper-button-prev, .elementor-swiper-button.elementor-swiper-button-next {background-color:#3F3E3E; border-radius:50px;padding:5px}
.elementor-swiper-button.elementor-swiper-button-prev:hover, .elementor-swiper-button.elementor-swiper-button-next:hover {background-color:#76b82a;}
.elementor-swiper-button.elementor-swiper-button-prev {left:0 !important;}
.elementor-swiper-button.elementor-swiper-button-next {right:0 !important;}
.elementor-swiper-button.elementor-swiper-button-prev svg {rotate:180deg;}


body.body_style_fullwide .content_wrap {max-width:100vw}


footer #menu-menu-footer-1 li, footer #menu-menu-footer-2 li
{padding:0 0 0 20px;
    position:relative;display:block !important; }
footer #menu-menu-footer-1 li::before, footer #menu-menu-footer-2 li::before{
    background-image:url('/wp-content/uploads/2024/11/freccia.svg');background-size:contain; content:'';
    width:16px; height:20px; position:absolute; background-position: center;background-repeat:no-repeat;
    left:0;top:8px;}

.trx_addons_scroll_to_top {border-radius:100px;
    background-color:#fff;
    color:#3F3E3E;
}

.news-list > div{width:100% !important; }

.articoli .trx-addons-posts-item-term:nth-of-type(1) {display:block;}
.articoli .trx-addons-posts-item-term:nth-of-type(1) a {background-color:#76b82a; margin-bottom:5px;
    border-color:#76b82a !important;color:white}
.articoli .trx-addons-posts-item-term a {border:1px solid #3F3E3E !important; padding:5px 10px;
    border-radius:15px;margin:5px 5px 0 0; display:inline-block;}
.articoli .trx-addons-posts .elementor-button {background:none !important}
.articoli .trx-addons-posts .trx-addons-posts-item {width:100%;display:flex;flex-wrap: nowrap;align-content: flex-start;justify-content: space-between;align-items: stretch;}
.articoli .trx-addons-posts-item-thumbnail {order:10}

.articoli .trx-addons-posts-item-meta {position:absolute; top:0; right:0}

.bigdsk .attachment-full {min-width:100%}

.float-link { position: fixed;
    top: 50%;cursor:pointer;
    right: 38px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: top right;
    z-index: 9999999;
    background-color: #3F3E3E;
    padding: 5px 35px 5px 10px;
    background-image: url('/wp-content/uploads/2024/11/freccia.svg');
    background-repeat: no-repeat;
    background-size: 30px 15px;
    background-position: center right;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;}
.float-link a {color:#fff;margin:0;font-size:14px}

.upk-year {padding:15px; border-radius:12px;background-color:#F5F5F5}

@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.upk-item .upk-image-and-content-wrapper {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Odd elements → from right */
.upk-item:nth-child(odd) .upk-image-and-content-wrapper {
    transform: translateX(-100px);
}

/* Even elements → from left */
.upk-item:nth-child(even) .upk-image-and-content-wrapper {
    transform: translateX(100px);
}

.upk-item.is-visible .upk-image-and-content-wrapper {
    opacity: 1;
    transform: translateX(0);
}
body .upk-timeline .upk-date-wrapper {background-color:transparent !important}
.upk-timeline .upk-wrapper .upk-item:first-child .upk-year,
.upk-timeline .upk-wrapper .upk-item:last-child .upk-year {color:#76b82a !important}

.settore-item::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    bottom: -1px;
}

.immagic {
    position: absolute;
    top: 50%;
    opacity: 0;
    transform: rotate3d(1, 1, 1, 85deg);
    transition: all .6s ease;
}

.immagic img {max-width:20vw; height:auto}

.settore-item:hover .immagic {
    top: 50%; right:20%;
    transform: translateY(-50%) rotate3d(1, 1, 1, 5deg);
    opacity: 1; z-index:999;
}

.settore-item {position:relative;}
.settore-item .imgwrapper {flex-basis:50%; position:relative;}
.settore-item .settore-icona {flex-basis:7%; }
.settore-item .settore-titolo {flex-basis:18%; }
.settore-item .settore-intro {flex-basis:25%; }

.bignum {font-size:50px; display:block;line-height:100%}