h1, h2, h3, h4, h5, h6 {
    text-transform: none;
}

strong {
    color: #222;
}

.bgGreen {
    background-color: green !important;
    border: 1px solid green !important;
}

.header-middle .logo {
    max-width: 180px;
    background-color: #fff;
}

.header-middle .logo::after {
    display: none;
}

.header-middle .logo::before {
    display: none;
}


.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.mean-container .mean-nav ul li a {
    color: #222;
}

.side-info {
    background-color: #fff;
}

.sidebar-contact > a {
    color: #222;
}

.sidebar-contact > a i {
    background-color: var(--clr-theme-primary);
    color: #fff;
}

.sidebar-social a {
    background-color: var(--clr-theme-primary);
    color: #fff;
}

.header-topbar a {
    transition: all 500ms;
}

.header-topbar a:hover {
    color: var(--clr-theme-primary);
}

.menu-right::before {
    background: var(--clr-theme-primary);
}

.header-area {
    z-index: 10;
}

.side-info {
    z-index: 11;
}

.single-banner::before {
    opacity: 0.1;
}

.about-img-content-2 {
    background-color: var(--clr-theme-primary);
}

.about-card-title-2 i {
    margin-right: 10px;
    color: #cacaca;
}

.portfolio-thumbs .swiper-slide .controller-icon img {
    width: 80px;
    height: auto;
}

.portfolio-thumbs .swiper-slide.swiper-slide-active .controller-icon img {
    filter: contrast(0) brightness(2);
}


.video-area .video-img .video-icon .video-content-title, .video-area .video-img .video-icon p {
    color: #fff;
}

.video-area .video-img .video-icon p strong {
    color: var(--clr-theme-primary);
}

.video-area .video-img .video-icon .play-btn {
    margin-bottom: 2rem;
}

.team-testimonial-area .section-area .section-title {
    color: #222;
    font-size: 1.6rem;
    text-transform: none;
}

.team-element {
    position: relative;
    z-index: 1;
    padding: 20px 30px;
    text-align: center;
    border: 1px solid #ddd;
}

.team-element-title {
    font-size: 22px;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.team-element-subtitle {
    font-size: 16px;
    display: block;
    color: var(--clr-theme-primary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.team-active {
    padding-bottom: 0px;
}

.testimonial-person {
    border-radius: 0;
}

.footer-left .inner-left {
    padding-top: 10px;
}

.footer-logo img {
    width: 250px;
}

.bn-breadcrumb::before {
    background-color: rgba(0, 0, 0, 0.3);
}

.service-section {
    background-color: #f3f3f3;
}

.servicePage .service-area .service-item .service-icon img {
    width: 80px;
}

.contact-content-logo {
    max-width: 250px;
    margin-bottom: 10px;
}

.waBtn {
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    padding: 0 25px;
    color: var(--clr-common-white);
    border-radius: 3px;
    background: #00bb2d;
    cursor: pointer;
    margin-bottom: 0;
    text-align: center;
    text-transform: capitalize;
    touch-action: manipulation;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    white-space: nowrap;
    border: none;
    display: inline-flex;
    position: relative;
    z-index: 5;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.waBtn:hover {
    background-color: var(--clr-theme-primary);
    color: #fff;
}

.contact-content-item .contact-content-address a:hover {
    color: var(--clr-theme-primary);
}

.contact-content-social a {
    margin-right: 30px;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.contact-content-social a:hover {
    color: var(--clr-theme-primary);
}

.form-check-input {
    --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em !important;
    height: 1em !important;
    margin-top: .25em;
    padding: 0 !important;
    vertical-align: top;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

.certification .certificationSectionTitle h2 {
    font-size: 2.5rem;
}

.hidden {
  overflow: hidden;
  display: none;
  visibility: hidden;
}

.s_portfolio-img a::before {
    background: rgba(247, 148, 29, 0.9);
}

.s_portfolio-content-title:hover a {
    color: #222;
}

.serviceHome .service-item {
    background-color: rgba(0, 0, 0, 0.3);
}

.portfolioBig img {
    height: 450px;
}



.serviceHome .service-item .service-content-title {
    color: #fff;
}

.serviceHome .service-item p {
    color: #fff;
}

.serviceHome .service-item .service-icon img {
    width: 60px;
}

.link-accettazione {
    color: var(--clr-theme-primary);
}

.service-details-main p {
    margin-bottom: 0.3rem;
}

.service-details-main ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.service-details-main ul li {
    font-size: 16px;
    margin-bottom: 5px;
}

.blog-details-area ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.blog-details-area ul li {
    font-size: 16px;
    margin-bottom: 5px;
}

.blog-details-area ul li::marker {
    color: #222;
}

.about-area .about-img {
    float: left;
}

.iconaProcesso {
    width: 50px;
    height: 50px;
}


.popup-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.popup-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.iconaListaLavori {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.feature-tab {
    padding: 20px 30px;
    background: #f3f3f3;
}


.gallery-box {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.gallery-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.gallery-box img {
  border-radius: 8px;
  margin-bottom: 10px;
  max-width: 100%;
  height: auto;
}




.tab-content .feature-item .blog-post-content {
    padding: 10px 20px;
}

.tab-content .feature-item .post-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

.popup-lavoro {
  max-width: 800px;
  margin: auto;
  color: #333;
}

.popup-lavoro h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}


.popup-gallery img:hover {
  transform: scale(1.05);
}



.blog-post-content .btn-gallery {
    background-color: var(--clr-common-black);
    color: #fff;
    border: 1px solid var(--clr-common-black);
    font-size: 0.8rem; 
    margin-top: 10px;
}

.blog-post-content .btn-gallery:hover {
    background-color: #fff;
    color: var(--clr-common-black);
}

.blog-post-content .btn-modal {
    background-color: var(--clr-theme-primary);
    color: #fff;
    border: 1px solid var(--clr-theme-primary);
    font-size: 0.8rem; 
    margin-top: 10px;
}

.blog-post-content .btn-modal:hover {
    background-color: #fff;
    color: var(--clr-theme-primary);
}

.blog-post-content .btn-video {
    background-color: none;
    color: var(--clr-theme-primary);
    border: 1px solid var(--clr-theme-primary);
    font-size: 0.8rem;
    margin-top: 10px;
}

.blog-post-content .btn-video:hover {
    background-color: #fff;
    color: var(--clr-theme-primary);
}





.contact-form form select {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    border: none;
    background-color: #f7f7f7;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--clr-body-text);
    border-radius: 4px;
}

#modal-contatto {
    max-width: 900px;
}

.teamPage .certificationSectionTitle p {
    margin-bottom: 0;
}

.widget-content ul li a {
    line-height: normal;
}

.blog-post-content .post-title {
    font-size: 1.3rem;
}


/* Wrapper */
.pagination-wrapper {
    margin-top: 40px;
}

/* UL generato da paginate_links */
.pagination-wrapper ul.page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* LINKS */
.pagination-wrapper ul.page-numbers li a,
.pagination-wrapper ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #333;
    transition: all 0.25s ease-in-out;
}

/* Hover */
.pagination-wrapper ul.page-numbers li a:hover {
    border-color: #f7941d;
    color: #f7941d;
}

/* Active */
.pagination-wrapper ul.page-numbers li span.current {
    background: #f7941d;
    color: #fff;
    border-color: #f7941d;
    font-weight: 600;
}

/* Prev / Next arrows */
.pagination-wrapper .prev,
.pagination-wrapper .next {
    font-size: 18px;
    line-height: 1;
}









@media (max-width: 768px) {
  .popup-gallery img {
    width: 80px;
    height: 80px;
  }
}



@media screen and (max-width: 991px) {
    .mean-nav {
        margin-bottom: 1rem;
    }

    .mean-container .mean-nav ul li a {
        border-top: none;
        border-bottom: 1px solid #cacaca;
    }

    .mean-container .mean-nav ul li a.mean-expand {
        border:none;
    }

    .video-img {
        min-height: 500px;
    }

    .service-details-img {
        margin-bottom: 80px;
    }

    .mapContainer {
        padding-top: 30px;
    }

     .banner-area video {
        width: 100%;
        height: auto;
    }

    .scroll-down-button {
        width: 20px !important;
    }

    .scroll-down-button .fa-angle-down {
        font-size: 30px !important;
    }

    .serviceHome {
        top: 0;
    }

    .serviceHome .service-item .service-img {
        opacity: 1;
        transform: translateX(0);
    }

    .bgMobile {
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 20px;
    }

    .about-area-2 {
        padding-top: 4rem;
    }

    .about-area-2 .about-img-wrap-2 {
        margin-bottom: 40px;
    }

    video {
        width: 100%;
        height: auto;
        display: block;
    }

}


@media screen and (min-width: 992px) {
    
    .header-area .sticky .header-middle .logo {
        max-width: 120px;
        transition: all 500ms;
    }

    .header-area .sticky .single-item .icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        transition: all 500ms;
    }

    .header-area .sticky .single-item .info > span:first-child {
        font-size: 14px;
        transition: all 500ms;
    }

    .header-area .sticky .single-item .info a {
        font-size: 14px;
        transition: all 500ms;
    }

    .header-area .sticky .middle-info {
        padding-bottom: 35px;
    }

    .header-area .sticky .header-middle .logo {
        padding-top: 5px;
        padding-bottom: 0px;
        height: auto;
    }

    .header-area .sticky .header-middle {
        height: 100px;
    }

    .banner-area video {
        width: 100%;
        height: 85vh;
        background-position: absolute;
        object-fit: cover;
    }

    .serviceHome {
        height: 50px;
        top: -200px;
    }

    .portfolio-overview-item {
        min-height: 340px;
    }

    
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .main-menu ul li {
        margin-right: 5px;
    }

    .main-menu ul li a {
        font-size: 0.9rem;
    }

    .menu-right .header-btn {
        padding: 0 20px;
    }

    .about-content-2.ml-40 {
        padding-top: 100px;
    }

    .about-single-img-2.about-single-img-22 img {
        height: auto;
    }

    .main-menu {
        padding-left: 10px;
        margin-right: 20px;
        padding-right: 20px;
        width: auto;
    }    


}
 


@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .main-menu ul li {
        margin-right: 10px;
    }

    .main-menu {
        padding-left: 10px;
        margin-right: 20px;
        padding-right: 20px;
        width: auto;
    }    
}
 



/* SCROOL BUTTON */

.scroll-down-button {
    position: absolute;
    left: 50%;
    text-align: center;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 35px;
    z-index: 50;
    cursor: pointer;
    text-align: center;
    width: 30px;
}

.scroll-down-button .down-button {
    z-index: 2;
    position: relative;
}

.scroll-down-button img {
    display: block !important;
    top: 0;
    left: 0;
}

.scroll-down-button .fa-angle-down {
    -webkit-animation: animationButto ease-in-out 0.9s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    bottom: -22px;
    position: absolute;
    display: block;
    width: 100%;
    color: #ffffff;
    font-size: 46px;
}

@-webkit-keyframes animationButtonN{
  0% {
    transform:  scaleX(1.2) scaleY(1.2) ;
    transition: all 0.5s;
  }
  25% {
    transform:  scaleX(0.90) scaleY(0.90) ;
    transition: all 0.5s;
  }
  50% {
    transform:  scaleX(1.2) scaleY(1.2) ;
    transition: all 0.5s;
  }
  75% {
    transform:  scaleX(0.90) scaleY(0.90) ;
    transition: all 0.5s;
  }
  100% {
    transform:  scaleX(1.2) scaleY(1.2) ;
    transition: all 0.5s;
  }
}

@-webkit-keyframes animationButto{
  0% {
    transform:  translateY(30%);
  }
  50% {
    transform:  translateY(0%);
  }
  100% {
    transform:  translateY(30%);
  }
}
.scroll-down-button .waves-button {
    z-index: 1;
    position: absolute;
    transition: all 0.3s;
}
.scroll-down-button .waves-button{
    -webkit-animation: animationButtonN linear 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    transition: all 0.5s;
}
.scroll-down-button:hover .waves-button{
    -webkit-animation-play-state:paused;
}
@-webkit-keyframes animationButton{
  0% {
    transform:  scaleX(1.00) scaleY(1.00) ;
  }
  25% {
    transform:  scaleX(0.8) scaleY(0.8) ;
  }
  50% {
    transform:  scaleX(1) scaleY(1) ;
  }
  100% {
    opacity:1;
    transform:  scaleX(1) scaleY(1) ;
  }
}