/* Form */
.form-check-input:checked { background-color: #ad1c1e; border-color: #ad1c1e; }

/* Header */
.main-header { position: absolute; top: 0; left: 0; width: 100%; background-color: #FFF; }
.main-header.header-semi-trasp { background-color: rgba(255,255,255,.7) }

/* Trasparente */
.main-header.header-trasp { background-color: transparent; border-bottom: 1px solid #FFF; }
.header-trasp .header-top .social-links li h5,
.header-trasp .header-top .social-links li a,
.header-trasp .main-menu .navigation > li > a { color: #FFF; }

/* Header Top */
.links-lang img { width: 32px; height: auto; }

/* Header Bottom */
.logo-box img { width: 200px; height: auto; }
.btn-contact { display: inline-block; height: 44px; line-height: 44px; background-color: #ad1c1e; color: #FFF; padding: 0 15px; border-radius: 7px; }
.btn-contact > i { font-size: 20px; }
.btn-contact:hover { color: #FFF !important; background-color: #D72326; }
.main-menu .navigation > li > a,
.btn-contact { font-family: 'Noto Sans', sans-serif; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; font-size: 16px; }
.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > ul li > a { font-size: 14px; }
.main-menu .navigation > li > ul.submenu-lg { width: 340px; }

/* Header - Dark/Light mode */
.main-header .menu-right-content .option-list li a { border: 0; }
.main-header .menu-right-content .option-list li a.dark-mode { color: #B3B3B3; }
.main-header .menu-right-content .option-list li a.light-mode { color: #333; }

/* Header - Link MicroPK */
.main-menu .navigation > li > a.micropk-link:before,
.main-menu .navigation > li > a.micropk-link:after,
.main-menu .navigation > li > a.micropk-link:hover { color: #65b369 !important; }

/* Footer */
.main-footer .widget-section { padding: 40px 0 40px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { max-width: 200px; height: auto; }
.main-footer .links-widget .links-list li { margin-bottom: 3px; }
.main-footer .footer-widget h3 { font-size: 18px; line-height: 24px; }
footer li, footer p { font-size: 14px; }
.main-footer .contact-widget:before { top: 0; height: 100%; }

/* Scroll to top */
.scroll-top { width: 50px; height: 50px; line-height: 50px; }

/* Home - Banner */
.banner-carousel { height: 100vh; overflow: hidden; }
.banner-carousel .owl-stage-outer,
.banner-carousel .owl-stage,
.banner-carousel .owl-item,
.banner-carousel .slide-item,
.banner-carousel .auto-container { height: 100%; box-sizing: border-box; }
.banner-carousel .slide-item { display: flex; align-items: center; }
.banner-carousel .auto-container { display: flex; justify-content: center; align-items: center; }
.banner-carousel .content-box h2 { font-size: 54px; line-height: 72px; padding-top: 80px; }
.banner-carousel .content-box p { font-weight: 400; }
@media only screen and (max-width: 499px) {
	.banner-carousel .content-box h2 {
		font-size: 32px;
		line-height: 44px;
	}
  .banner-carousel .content-box p {
    display: none;
  }
}

/* Home - Contatori */
.funfact-section { padding: 50px 0; }
@media (min-width: 576px) {
  .funfact-block-one .inner-box .count-outer { margin-right: 30px; }
}

/* Home - Clienti */
.clients-carousel { width: 100%; overflow: hidden; position: relative; padding: 60px 0; }
.clients-carousel-container { display: flex; width: auto; }
.client-item { min-width: 200px; margin-right: 30px; }

/*
Page Title
*/
.page-title { padding: 170px 0 20px; }
.page-title h1 { font-size: 34px; line-height: 38px; font-weight: 700; }
.page-title .bread-crumb li { font-size: 14px; line-height: 20px; font-weight: 400; }
.page-title .bread-crumb li:last-child { margin-right: 0; }
@media (max-width: 1199px) {
  .page-title { padding: 120px 0 30px; }
}
@media (max-width: 575px) {
  .page-title { padding: 120px 0 30px; }
  .page-title h1 { font-size: 30px; line-height: 40px; }
}

/*
Titoli
*/
.sec-title h2 { font-size: 38px; line-height: 52px; }
.sec-title.sec-title-small h2 { font-size: 24px; line-height: 28px; }
.industry-section .sec-title { margin-bottom: 0; }
@media only screen and (max-width: 767px) {
  .case-section .sec-title, .operational-areas .sec-title { width: 50%; }
  .sec-title h2 { font-size: 26px; line-height: 38px; }
  .sec-title.sec-title-small h2 { font-size: 20px; line-height: 24px; }
}

/*
Bottoni
*/

.btn.btn-primary { background-color: #ad1c1e; border-color: #ad1c1e; }
.btn.btn-primary:hover { background-color: #D72326; border-color: #D72326; }

/*
Contenuti
*/

section a { color: #ad1c1e; }
section a:hover { color: #D72326; text-decoration: underline; }

/*
About
*/

.about-section.about-section-reverse:before {
  left: auto;
  right: 0px;
  border-right: 0;
  border-left: 1px solid #e2e2e2;
}
.about-section.about-section-reverse .image-box{
  margin-right: 0;
  margin-left: 100px;
}
.about-section.about-section-reverse .content-box{
  margin-left: 0;
  margin-right: 100px;
}
.about-section.about-section-reverse .image-box .image {
  margin-bottom: 0;
  margin-top: 23px;
}
@media only screen and (max-width: 1200px) {
  .about-section.about-section-reverse .image-box,
  .about-section.about-section-reverse .content-box {
    margin-left: 0;
    margin-right: 0;    
  }
}


/*
Frasi
*/

.simple-sentences { padding: 60px 0; }
.sentence { padding: 0 20px; height: 100%; border-right: 1px solid #DDD; }
.sentence.last-sentence { border-right: 0;  }
.sentence h3 { font-weight: 700; }
@media only screen and (max-width: 767px) {
  .sentence { padding: 20px 0; border-right: 0; border-bottom: 1px solid #DDD; }
  .sentence.last-sentence { border-bottom: 0;  }
}

/*
Singola frase
*/

.one-sentence { padding: 30px; }
.one-sentence p { text-align: center; font-size: 2rem; line-height: 1.4; }

/*
Box con immagine
*/

.simple-boxes .simple-box { height: 100%; border: 1px solid #e2e2e2; }
.simple-boxes .simple-box .inner { padding: 20px; border-top: 1px solid #e2e2e2; }
.simple-boxes .simple-box .inner h3 { font-weight: 700; margin-bottom: 20px; }

/*
Pagina Who
*/
@media only screen and (max-width: 767px) {
  .statements-section .tabs-content .content-box .inner-box h2 { font-size: 24px; line-height: 34px; }
}

/*
Carosello Settori Industriali
*/

@media only screen and (max-width: 1399px){
  .case-section .owl-nav {
    left: 20px;
  }
}

/*
Carosello Area Operative
*/

.operational-areas { padding-top: 90px; }
.operational-areas .owl-item { display: flex; align-items: stretch; height: 100%; }
.operational-areas .area-box { height: 100%; border-right: 1px solid #e2e2e2; }
.operational-areas .area-box .inner-box { position: relative; display: block; padding: 40px 40px 80px 50px; }
.operational-areas .area-box:last-child .inner-box:last-child { border: none; }
.operational-areas .area-box .inner-box .icon-box { position: relative; display: block; margin-bottom: 30px; }
.operational-areas .area-box .inner-box .icon-box img { width: 64px; height: auto; }
.operational-areas .area-box .inner-box h3 { position: relative; display: block; font-size: 18px; line-height: 24px; font-weight: 700; padding: 28px 0px; margin-bottom: 33px; }
.operational-areas .area-box .inner-box h3:before,
.operational-areas .area-box .inner-box h3:after { position: absolute; content: ''; background: #e2e2e2; left: 0px; width: calc(100% + 40px); height: 1px; }
.operational-areas .area-box .inner-box h3:before { top: 0px; }
.operational-areas .area-box .inner-box h3:after { bottom: 0px; }
.operational-areas .area-box .inner-box h3 a { position: relative; display: inline-block; color: #1c1c1c; }
.operational-areas .area-box .inner-box h3 a:hover { padding-left: 20px; }
.operational-areas .area-box .inner-box h3 a i { position: absolute; left: 0px; top: 1px; font-size: 16px; opacity: 0; transition: all 500ms ease; }
.operational-areas .area-box .inner-box h3 a:hover i { opacity: 1; }
.operational-areas .owl-nav span{ display: none; }
.operational-areas .owl-nav { position: absolute; left: -10px; top: -93px; right: 0; max-width: 1200px; width: 100%; text-align: right; margin: 0 auto; }
.operational-areas .owl-nav button { position: relative; display: inline-block; margin: 0 10px; width: 38px; height: 24px; }
.operational-areas .owl-nav button.owl-prev:before,
.operational-areas .owl-nav button.owl-next:before { position: absolute; content: ''; width: 38px; height: 24px; left: 0; top: 0; opacity: 0.6; background-repeat: no-repeat; filter: grayscale(100%); transition: all 500ms ease; }
.operational-areas .owl-nav button.owl-prev:before { background-image: url(../images/icons/icon-1.png); }
.operational-areas .owl-nav button.owl-next:before { background-image: url(../images/icons/icon-2.png); }
.operational-areas .owl-nav button.owl-prev:hover:before,
.operational-areas .owl-nav button.owl-next:hover:before { opacity: 1; filter: grayscale(0%); }

/*
Carosello
*/

.industry-section .content-counter {
  position: absolute;
  left: calc(var(--bs-gutter-x) * 0.5);
  bottom: 80px;
  font-size: 20px;
}
@media only screen and (max-width: 991px){
  .industry-section .content-counter,
  .industry-section .owl-nav {
    bottom: 30px;
  }
}

/*
Tabs
*/

.statements-section .tab-btns li { padding: 10px 0; }

/*
Lista testo piccolo
*/

ul.small-text-list, .small-text-list li { list-style:none; }
.small-text-list li { border-bottom: 1px solid #e2e2e2; font-size: 14px; }
.small-text-list li strong { font-weight: 800; color: #ad1c1e; }

/*
Contatti
*/

.iframe-google-maps > iframe { display: block; width: 100%; height: 400px; }

/*
Portfolio - Sidebar
*/

.portfolio-sidebar .sidebar-widget { background-color: #f3f1f1; }
.portfolio-sidebar .widget-title h3 { font-size: 18px; line-height: 26px; }
.portfolio-sidebar .filter-widget { padding: 10px 0; }
.portfolio-sidebar .filter-widget label { font-size: 14px; }
.portfolio-sidebar .portfolio-list li { list-style: none; border-bottom: 1px solid #e2e2e2; }
.portfolio-sidebar .portfolio-list li:last-child { border-bottom: 0; }
.portfolio-sidebar .portfolio-list li > a { display: block; padding: 4px 16px 4px 8px; font-size: 12px; color: #827e7d; }
.portfolio-sidebar .portfolio-list li > a.active, .portfolio-list li > a:hover { background-color: #ad1c1e; color: #FFF; font-weight: 700; border-radius: 7px 0 0 7px; text-decoration: none; }
@media (max-width: 767px) {
  .portfolio-side-col { margin-bottom: 40px; }
}

/*
Portfolio - Realizzazioni
*/

.portfolio-intro { padding-bottom: 40px; }
.portfolio-intro ul, .portfolio-intro ol { padding-left: 30px; }
.portfolio-intro ul li { list-style: disc; }
.portfolio-intro ol li { list-style: decimal; }
.product-card { position: relative; border: 1px solid #e2e2e2; background: transparent; border-radius: 7px; overflow: hidden; padding: 38px;}
.product-image { width: 120px; height: 120px; object-fit: cover; }
.product-card .card-body { padding: 0; font-size: 14px; }
.product-card .card-title { font-size: 1.5rem; }
.product-card .card-info { border-top: 1px solid #e2e2e2; padding-top: 5px; margin-top: 5px; }
.product-card .card-info p { padding: 0; font-size: 12px; }
.product-card a { display: inline-block; }
.product-link { position: absolute; top: 0; right: 0; width: 38px; height: 38px; line-height: 38px; border-radius: 0 0 0 7px; text-align: center; background-color: #ad1c1e; color: #FFF !important; }
.product-link:hover { background-color: #D72326; color: #FFF; width: 48px; }

/*
Porfolio - Keywords 
*/

#keyword-search { background-color: transparent; border-color: #e2e2e2; }
#keyword-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; padding-left: 0; }
#keyword-list > span, #keyword-list > a { display: inline-block; padding: 2px 8px; font-size: 12px; }
.keyword-badge { background-color: #e0e0e0; color: #333; border: 1px solid #ccc; border-radius: 7px; text-decoration: none; cursor: pointer; transition: all 0.3s ease; }
.keyword-badge:hover { background-color: #d6d6d6; border-color: #bbb; color: #000; }
.keyword-badge.active { background-color: #ad1c1e; color: #fff; border-color: #ad1c1e; font-weight: bold; }
.keyword-badge, .keyword-badge.active { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.ui-menu-item-wrapper { font-size: 12px; color: #444; }
.ui-menu-item-wrapper.ui-state-active { background-color: #ad1c1e !important; color: #FFFwhite !important; }

/*
Portfolio - Scheda
*/

@media (min-width: 576px) {
  .portfolio-details .portfolio-right-column { border-left: 1px solid #e2e2e2; padding-left: 30px; }
}
.portfolio-details article p, .portfolio-details article li { margin-bottom: 10px; }
.portfolio-details article ul, .portfolio-details article ol { padding-left: 20px; }
.portfolio-details article ul li { list-style: circle; }
.portfolio-details article ol li { list-style: decimal; }
.portfolio-details .portfolio-meta-info li { border-top: 1px solid #e2e2e2; padding: 10px 0; }
.portfolio-btn { display: block; line-height: 38px; background-color: #ad1c1e; color: #FFF !important; padding: 0 15px; border-radius: 7px; margin-bottom: 10px; }
.portfolio-btn:hover { background-color: #D72326; text-decoration: none; }
.portfolio-back { display: block; line-height: 38px; color: #333 !important; border: 1px solid #444; padding: 0 15px; border-radius: 7px; margin-bottom: 20px; }
.portfolio-back:hover { color: #D72326 !important; text-decoration: none; }

/*
Video in overlay
*/

#video_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 9999; }
#video_overlay > div { position: relative; width: 80%; max-width: 800px; }
#video_overlay iframe { width: 100%; height: 450px; border: none; }
#video_overlay .close-icon { position: absolute; top: 20px; right: 20px; font-size: 24px; color: #fff; cursor: pointer; transition: color 0.3s ease; }
#video_0verlay .close-icon:hover { color: #f00; }

/*
Offerte di lavoro
*/

.offerta-lavoro-item { box-shadow: 0px 4px 21px 0px rgba(6, 6, 6, 0.08); padding: 40px 50px; margin-bottom: 40px; }
.offerta-lavoro-titolo { font-size: 24px; margin-bottom: 20px; letter-spacing: 3px; font-weight: 500; line-height: 1.6; }
.offerta-lavoro-testo ul { margin-left: 20px; } 

/*
Partnership
*/

.partnership-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff; /* Sfondo del box */
}

.partnership {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* Spazio tra i loghi */
}

.partnership a img {
    width: 100%;
    height: auto;
    display: block;
}

/*
Pagine legali
*/

.legal h2 { font-size: 24px; }
.legal h3 { font-size: 18px; }
.legal h4 { font-size: 16px; }
.legal ul, .legal ol { padding-left: 30px; }
.legal p, .legal li { font-size: 14px; }

/*
Preloading
*/

@media (max-width: 767px) {
  .handle-preloader .animation-preloader .txt-loading .letters-loading{
    font-size: 24px;
    line-height: 30px;
  }
}

/*
Varie
*/

.bordered-list li {
  list-style: none;
  padding: 4px 0;
  border-bottom: 1px solid #DDD;
}

@media (max-width: 767px){
  figure.image-left { margin-bottom: 30px; }
  .partnership-container, figure.image-right { margin-top: 30px; }
}
@media (min-width: 768px) {
  .pad-md-right { padding-right: 80px; }
  .pad-md-left { padding-left: 80px; }
}

.text-black { color: #111; }

/*
=== === === === === === === === ===
Dark Mode
=== === === === === === === === ===
*/

body.dark-theme,
.dark-theme .main-header,
.dark-theme .sticky-header { background-color: #222; }

body.dark-theme,
.dark-theme .header-top .social-links li h5,
.dark-theme .main-menu .navigation > li > a,
.dark-theme .main-header .menu-right-content .option-list li a,
.dark-theme h1, .dark-theme h2, .dark-theme h3, .dark-theme h4, .dark-theme h5,
.dark-theme .operational-areas .area-box .inner-box h3 a,
.dark-theme .statements-section .tab-btns li.active-btn h4,
.dark-theme .info-block-one .inner-box p span,
.dark-theme p,
.dark-theme li,
.dark-theme .portfolio-sidebar .portfolio-list li > a,
.dark-theme .portfolio-sidebar .keyword-badge,
.dark-theme .portfolio-sidebar .keyword-badge:hover,
.dark-theme #keyword-search { color: #e0e0e0; }

.dark-theme .text-black,
.dark-theme .portfolio-back { color: #FFF !important; }

.dark-theme .menu-area .mobile-nav-toggler .icon-bar { background-color: #fafafa; }

.dark-theme .header-top,
.dark-theme .about-section,
.dark-theme .about-section.about-section-reverse:before,
.dark-theme .main-header .menu-left-content,
.dark-theme .main-header .menu-right-content,
.dark-theme .operational-areas .area-box,
.dark-theme .sentence,
.dark-theme .statements-section .tab-btn-box,
.dark-theme .statements-section .tab-btns li,
.dark-theme .industry-section .content-column,
.dark-theme .simple-boxes .simple-box,
.dark-theme .simple-boxes .simple-box .inner,
.dark-theme .small-text-list li,
.dark-theme .contact-info-section .info-column,
.dark-theme .portfolio-details .portfolio-right-column,
.dark-theme .product-card,
.dark-theme .product-card .card-info,
.dark-theme .portfolio-sidebar .sidebar-widget,
.dark-theme .default-sidebar .widget-title,
.dark-theme .portfolio-sidebar .portfolio-list li,
.dark-theme .border-top,
.dark-theme .bordered-list li,
.dark-theme #keyword-search,
.dark-theme .portfolio-sidebar .keyword-badge { border-color: #444 !important; }

.dark-theme .funfact-block-one .inner-box .count-outer,
.dark-theme .main-header .menu-right-content .option-list li a.light-mode { color: #999; }

.dark-theme .operational-areas .area-box .inner-box h3:before,
.dark-theme .operational-areas .area-box .inner-box h3:after,
.dark-theme .case-block-one .inner-box:before,
.dark-theme .contact-info-section .inner-container:before,
.dark-theme .portfolio-sidebar .keyword-badge:hover,
.dark-theme .nice-select .option:hover,
.dark-theme .nice-select .option.focus,
.dark-theme .nice-select .option.selected.focus { background-color: #444; }

.dark-theme .main-header .menu-right-content .option-list li a { border-color: #FFF; }

.dark-theme .case-section .owl-dots button { color: #999; }
.dark-theme .about-section:before { background-color: #333; border-right-color: #444; }

.dark-theme .portfolio-sidebar .sidebar-widget,
.dark-theme .bg-color-1,
.dark-theme .info-block-one .inner-box .icon-box,
.dark-theme .portfolio-sidebar .keyword-badge,
.dark-theme .nice-select .list,
.dark-theme .nice-select .option { background-color: #333; }

.dark-theme .main-menu .navigation > li.current > a,
.dark-theme .main-menu .navigation > li:hover > a,
.dark-theme .sec-title .sub-title,
.dark-theme .small-text-list li strong,
.dark-theme section a { color: #D72326; }

.dark-theme .sec-title .sub-title:before { background-color: #D72326; }