@media (min-width: 1101px) { .pagewidth { max-width: calc(100% - 60px) !important; } }

/*Homepage*/
.rigaimpianti .module_column, .rigasettori .module_column { position: relative; display: flex !important; align-items: flex-end; overflow: hidden; isolation: isolate; }
.rigaimpianti .module_column { aspect-ratio: 3 / 4; }
.rigasettori .module_column { aspect-ratio: 4 / 3; }
.rigaimpianti .module_column::after, .rigasettori .module_column::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(39, 53, 131, .92) 0%, rgba(39, 53, 131, .35) 50%, rgba(39, 53, 131, .1) 100%); transition: background-color .3s; z-index: -1; pointer-events: none; }
.rigaimpianti .module_column:hover::after, .rigasettori .module_column:hover::after { background-color: rgba(39, 53, 131, .35); }
.titoloblocco, .titoloblocco .tb_text_wrap { position: static !important; }
.titoloblocco { width: 100%; padding: 24px; margin: 0; }
.titoloblocco h3 { margin: 0; padding-bottom: 12px; border-bottom: 3px solid #f07d00; display: inline-block; color: #fff; font-size: 1.3em; line-height: 1.2; }
.titoloblocco h3::before { display: block; color: #f07d00; font-size: .55em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.bloccoimpianto .titoloblocco h3::before { content: "Impianti"; }
.bloccosettore .titoloblocco h3::before { content: "Settori"; }
.titoloblocco a { color: #fff; text-decoration: none; }
.titoloblocco a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.rigasettori { background: #f2f4f8; padding: 60px 20px; }
.rigasettori .row_inner { gap: 20px !important; }
.rigasettori .module_column { border-bottom: 5px solid #f07d00; box-shadow: 10px 10px 20px rgba(0, 0, 0, .3); }
.rigasettori .titoloblocco h3 { border-bottom: 0; padding-bottom: 0; font-size: 1.15em; }
.rigaazienda { padding: 80px 0; }
.rigaazienda .row_inner { align-items: center !important; }
.titoloazienda p:first-child, .titolonumeri p:first-child, .notiziehome p:first-child, .titolointerlocutore p:first-child { color: #f07d00; font-size: .875em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.titoloazienda h1, .titolointerlocutore h2 { color: #273583; font-size: clamp(2em, 3.5vw, 3em); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
.titoloazienda h1::after, .titolointerlocutore h2::after { content: ""; display: block; width: 60px; height: 3px; background: #f07d00; margin-top: 24px; }
.testoazienda h4 { color: #273583; font-size: 1.2em; margin: 0 0 16px; }
.testoazienda p, .testointerlocutore p { line-height: 1.7; }
.testoazienda a, .testointerlocutore a { color: #273583; }
.testoazienda p:last-child a, .testointerlocutore p:last-child a { display: inline-block; margin-top: 10px; background: #f07d00; color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 3px; font-weight: 700; }
.testoazienda p:last-child a:hover, .testointerlocutore p:last-child a:hover { background: #d96f00; color: #fff; }
.rigatitolonumeri, .riganumeri { background: #273583; }
.rigatitolonumeri { padding-top: 70px; text-align: center; }
.titolonumeri h2 { color: #fff; margin: 0; }
.riganumeri { padding: 40px 0 70px; margin-top: -1px; margin-bottom: 0; }
.numero { text-align: center; }
.numero p:first-child { color: #f07d00; font-size: clamp(2.5em, 4vw, 3.5em); font-weight: 700; line-height: 1; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.numero p:last-child { color: #d5daf0; margin: 0 auto; max-width: 220px; line-height: 1.4; }
.rigacardnotizie.rigacardhome { padding-top: 70px; padding-bottom: 0; }
.notiziehome h2 { margin: 0 0 30px; }
.notiziehome > .tb_text_wrap > p:last-child { text-align: center; margin-top: 30px; }
.notiziehome > .tb_text_wrap > p:last-child a { display: inline-block; border: 1px solid #273583; color: #273583; text-decoration: none; padding: 12px 22px; border-radius: 3px; font-weight: 700; }
.notiziehome > .tb_text_wrap > p:last-child a:hover { background: #273583; color: #fff; }
.rigainterlocutore { background: #f2f4f8; padding: 70px 0 80px; margin-top: 70px; }
.rigainterlocutore .row_inner { align-items: flex-start !important; }
.module_row .titolointerlocutore { position: sticky; top: 120px; }
.testointerlocutore p:not(:last-child) { background: #fff; border-left: 4px solid #f07d00; padding: 20px 24px; margin: 0 0 16px; box-shadow: 0 4px 14px rgba(39, 53, 131, .08); }
.testointerlocutore strong { display: block; color: #273583; font-size: 1.1em; margin-bottom: 4px; }
@media (max-width: 680px) {
.rigaimpianti .row_inner, .rigasettori .row_inner { display: grid !important; grid-template-columns: 1fr 1fr !important; }
.rigaimpianti .module_column, .rigasettori .module_column { width: auto !important; aspect-ratio: 1 / 1; }
.rigaimpianti .module_column:last-child, .rigasettori .module_column:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.rigasettori { padding: 30px 15px; }
.rigasettori .row_inner { gap: 12px !important; }
.titoloblocco { padding: 14px; }
.titoloblocco h3, .rigasettori .titoloblocco h3 { font-size: 1em; }
.rigaazienda .row_inner, .rigainterlocutore .row_inner, .riganumeri .row_inner { grid-template-areas: none !important; }
.rigaazienda .module_column, .rigainterlocutore .module_column, .riganumeri .module_column { grid-area: auto !important; width: auto !important; }
.rigaazienda .row_inner, .rigainterlocutore .row_inner { grid-template-columns: 1fr !important; gap: 30px !important; }
.riganumeri .row_inner { grid-template-columns: 1fr 1fr !important; gap: 30px 10px !important; }
.rigaazienda, .rigainterlocutore { padding: 50px 0; }
.rigainterlocutore { margin-top: 50px; }
.testointerlocutore p:not(:last-child) { padding: 16px 18px; }
}


/*MODIFICHE*/
/*Font Lato locale*/
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/wp-content/uploads/fonts/Lato-Regular.ttf") format("truetype"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("/wp-content/uploads/fonts/Lato-Italic.ttf") format("truetype"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/wp-content/uploads/fonts/Lato-Bold.ttf") format("truetype"); }
body{font-family: "Lato", sans-serif;}

#content{padding-top:0!important;}
#fp-nav{display:none;}

a{color:#273583;}
a:hover{color:#f07d00}
.back-top{background:#273583!important; color:#f07d00!important; border:2px solid #f07d00!important; border-radius:0!important; }
.linknoncliccabile > a { cursor: default; }
.header-icons { top: 50% !important; transform: translateY(-50%) !important; }
.fixed-header-on #site-logo img { height: 30px !important; width: auto !important; }

/*Footer*/
#footerwrap { padding-top: 20px !important; padding-bottom: 20px !important; border-top: 3px solid #f07d00; box-shadow: 0 0 10px rgba(0, 0, 0, .6); position: relative; }
#footer-logo { margin-bottom: 8px; }
#footer-nav { margin-top: 0; }
#footer-nav a, #footerwrap .footer-text a { color: #273583; }
#footer-nav a:hover, #footerwrap .footer-text a:hover { color: #f07d00; }
#footerwrap .footer-text { padding-bottom: 0; }
#footerwrap .social-widget { display: block; margin-bottom: 10px!important; padding-bottom:10px!important; }
#footerwrap .social-links a, #footerwrap .social-links em { background: none !important; color: #273583 !important; }
#footerwrap .social-links a:hover, #footerwrap .social-links a:hover em { color: #f07d00 !important; }
#footerwrap .social-links svg { width: 20px; height: 20px; }



/*Menu*/
#headerwrap { border-bottom: 3px solid #273583; box-shadow: 0 3px 10px rgba(0, 0, 0, .6); }
@media (min-width: 1101px) {
#main-nav > li > a { color: #273583; font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; }
#main-nav > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: #f07d00; transform: scaleX(0); transition: transform .25s; }
#main-nav > li:hover > a, #main-nav > .current-menu-item > a, #main-nav > .current-menu-ancestor > a { color: #273583; background: none; }
#main-nav > li:hover > a::after, #main-nav > .current-menu-item > a::after, #main-nav > .current-menu-ancestor > a::after { transform: scaleX(1); }
#main-nav > .has-sub-menu > a .child-arrow { display: inline-block !important; position: static; width: 6px; height: 6px; padding: 0; margin: 0 0 3px 8px; border: 0; border-right: 2px solid #f07d00; border-bottom: 2px solid #f07d00; background: none; transform: rotate(45deg); vertical-align: middle; transition: transform .25s; }
#main-nav > .has-sub-menu > a .child-arrow::before, #main-nav > .has-sub-menu > a .child-arrow::after { display: none; }
#main-nav > .has-sub-menu:hover > a .child-arrow { transform: rotate(-135deg); margin-bottom: -1px; }
#headerwrap #main-nav li > .sub-menu { background: #273583; border-top: 3px solid #f07d00; padding: 8px 0; min-width: 270px; border-radius: 0; box-shadow: 0 14px 28px rgba(0, 0, 0, .25); }
#main-nav .sub-menu a { color: #fff; font-size: .9em; padding: 10px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); transition: color .2s, padding .2s; }
#main-nav .sub-menu li:last-child > a { border-bottom: 0; }
#main-nav .sub-menu a:hover, #main-nav .sub-menu .current-menu-item > a { color: #f07d00; background: rgba(255, 255, 255, .05); padding-left: 30px; }
#main-nav > li.menucontatti > a { background: #f07d00; color: #fff; border-radius: 3px; margin-left: 10px; padding: 10px 20px; }
#main-nav > li.menucontatti > a:hover { background: #d96f00; color: #fff; }
#main-nav > li.menucontatti > a::after { display: none; }
}
/*Menu mobile*/
.header-icons .menu-icon-inner, .header-icons .menu-icon-inner::before, .header-icons .menu-icon-inner::after { border-color: #273583 !important; }
#menu-icon:hover .menu-icon-inner, #menu-icon:hover .menu-icon-inner::before, #menu-icon:hover .menu-icon-inner::after { border-color: #f07d00 !important; }
.sidemenu-on { background: #273583 !important; border-left: 5px solid #f07d00 !important; box-shadow: -10px 0 30px rgba(0, 0, 0, .4) !important; }
.sidemenu-on #menu-icon-close::before, .sidemenu-on #menu-icon-close::after { background: #fff !important; }
.sidemenu-on .search-button svg { color: #fff !important; fill: #fff !important; }
.sidemenu-on #main-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .12) !important; }
.sidemenu-on #main-nav > li > a { color: #fff !important; font-size: .85em !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important; padding-top: 14px !important; padding-bottom: 14px !important; }
.sidemenu-on #main-nav > li > a:hover { color: #f07d00 !important; }
.sidemenu-on #main-nav .child-arrow { background: none !important; }
.sidemenu-on #main-nav .child-arrow::before { background: #f07d00 !important; }
.sidemenu-on #main-nav .sub-menu { background: rgba(0, 0, 0, .15) !important; border-left: 3px solid #f07d00 !important; border-radius: 0 !important; margin: 0 0 12px !important; padding: 4px 0 !important; }
.sidemenu-on #main-nav .sub-menu a { color: #d5daf0 !important; font-size: .9em !important; padding: 9px 16px !important; }
.sidemenu-on #main-nav .sub-menu a:hover, .sidemenu-on #main-nav .current-menu-item > a { color: #f07d00 !important; }
.sidemenu-on #main-nav > li.menucontatti { border-bottom: 0 !important; margin-top: 24px !important; }
.sidemenu-on #main-nav > li.menucontatti > a { background: #f07d00 !important; color: #fff !important; text-align: center !important; border-radius: 3px !important; padding: 14px 20px !important; }



/*Struttura Pagine*/
h2, h3, h4, h5, h6 { color: #273583; font-weight: 400; }
.rigaheaderpagina { background-color: #273583; margin-bottom: 50px; position: relative; }
.rigaheaderpagina.posizione1 { background-position: 50% 35% !important; }
.rigaheaderpagina.posizione2 { background-position: 50% 50% !important; }
.rigaheaderpagina.posizione3 { background-position: 50% 65% !important; }
.rigaheaderpagina::before { content: ""; position: absolute; inset: 0; background: rgba(39, 53, 131, .68); backdrop-filter: grayscale(1) brightness(.75); -webkit-backdrop-filter: grayscale(1) brightness(.75); z-index: 0; pointer-events: none; }
.rigaheaderpagina .row_inner { position: relative; z-index: 1; align-items: center !important; padding: 0; }
.module_column.boxheader { width: fit-content; max-width: 750px; justify-self: start; margin: 120px 0; padding: 50px; background: #273583; border-bottom: 5px solid #f07d00; box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, .4);}
.titoloheader p { margin: 0; }
.titoloheader p:first-child { color: #f07d00; font-size: .875em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.titoloheader h1 { color: #fff; font-size: clamp(2em, 4vw, 3.25em); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
.titoloheader h1 + p { color: #d5daf0; font-size: 1em; line-height: 1.5; margin-top: 14px; }
.bottonecontattaci { margin-top: 24px; }
.bottonecontattaci a.builder_button { background: #f07d00 !important; color: #fff !important; text-decoration: none !important; padding: 12px 20px; border-radius: 3px; font-weight: 700; }
.bottonecontattaci a.builder_button:hover { background: #d96f00 !important; color: #fff !important; text-decoration: none !important; }
.testopagine { margin-bottom: 50px; }
.testopagine h2 { font-size: clamp(1.5em, 2.6vw, 2em); line-height: 1.2; margin: 0 0 16px; }
.testopagine h4 { font-size: 1.125em; line-height: 1.4; margin: 0 0 20px; }
.testopagine p { margin: 0 0 16px; line-height: 1.7; }
.testopagine ul { list-style: none; padding: 0; margin: 0 0 20px; }
.testopagine ul li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.testopagine ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #f07d00; }
.testopagine strong { color: #273583; font-weight: 700; }

.rigagalleria { background: #f07d00; padding-top: 40px; padding-bottom: 40px; }
.rigagalleria h1, .rigagalleria h2, .rigagalleria h3, .rigagalleria h4, .rigagalleria h1 a, .rigagalleria h2 a, .rigagalleria h3 a, .rigagalleria h4 a { color: #fff; }
.rigagalleria h1, .rigagalleria h2, .rigagalleria h3, .rigagalleria h4 { font-size: clamp(1.5em, 2.6vw, 2em); margin: 0 0 30px; }
.galleria .ptb_galleria_gall{margin-bottom:0px!important;}
.galleriapagine { margin: 0; }
.galleriapagine img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 1024px) { .module_column.boxheader { margin: 100px 0; padding: 40px; } }
@media (max-width: 680px) { .module_column.boxheader { max-width: 100%; margin: 60px 0; padding: 24px 22px 26px; } .testopagine { margin-bottom: 40px; } .rigagalleria h1, .rigagalleria h2, .rigagalleria h3, .rigagalleria h4 { margin-bottom: 20px; } .galleriapagine .ptb_extra_gallery_item { width: 100% !important; margin-right: 0 !important; margin-bottom: 12px !important; } }



/*Certificazioni*/
.rigacertificazioni { background: #273583; padding-top: 40px; padding-bottom: 40px; margin-bottom: 50px; }
.certificazioni .ptb_list-post article { background: #fff; padding: 30px; margin-bottom: 20px; }
.certificazioni .ptb_list-post article:last-child { margin-bottom: 0; }
.certificazioni .ptb_list-post .ptb_row { display: flex; gap: 40px; align-items: flex-start; }
.certificazioni .ptb_list-post .ptb_col3-1 { flex: 0 0 220px; width: 220px; text-align: center; }
.certificazioni .ptb_list-post .ptb_col3-2 { flex: 1; width: auto; min-width: 0; }
.certificazioni .ptb_list-post img { width: 100%; height: 130px; object-fit: contain; display: block; margin-bottom: 14px; }
.certificazioni .ptb_list-post .ptb_post_title { font-size: 1.4em; margin: 0 0 12px; }
.certificazioni .ptb_list-post .ptb_post_title a { color: #273583; text-decoration: none; }
.certificazioni .ptb_list-post .ptb_textarea p { margin: 0 0 12px; line-height: 1.6; }
.certificazioni .ptb_extra_files { list-style: none; margin: 0; padding: 0; }
.certificazioni .ptb_extra_files a { display: inline-block; background: #f07d00; color: #fff; font-size: .85em; font-weight: 700; padding: 8px 14px; border-radius: 3px; text-decoration: none !important; }
.certificazioni .ptb_extra_files a:hover { background: #d96f00; color: #fff; }
@media (max-width: 680px) { .certificazioni .ptb_list-post .ptb_row { flex-direction: column; gap: 16px; } .certificazioni .ptb_list-post .ptb_col3-1 { flex: none; width: 100%; } .certificazioni .ptb_list-post article { padding: 20px; } }

/*Testo certificazioni Azienda*/
.rigatestocertificazioni { background: #273583; padding-top: 50px; padding-bottom: 50px; margin-bottom: 50px; }
.testocertificazioni { margin: 0;}
.testocertificazioni h2 { color: #fff; font-size: clamp(1.5em, 2.6vw, 2em); line-height: 1.2; margin: 0 0 16px; }
.testocertificazioni p { color: #d5daf0; line-height: 1.7; margin: 0 0 14px; }
.testocertificazioni p:last-child { margin-bottom: 0; }
.rigatestocertificazioni .bottonecontattaci { margin-top: 24px; }
@media (max-width: 680px) { .rigatestocertificazioni { padding-top: 40px; padding-bottom: 40px; } }



/*Loghi clienti*/
.rigaloghiclienti { padding-top: 50px; padding-bottom: 60px; }
.loghiclienti h2 { text-align: center; font-size: clamp(1.5em, 2.6vw, 2em); margin: 0 0 30px; }
.griglialoghi .ptb_extra_gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.griglialoghi .ptb_extra_gallery_item { width: calc((100% - 6 * 14px) / 7) !important; max-width: 150px; margin: 0 !important; float: none !important; }
.griglialoghi img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 12px; background: #fff; border: 1px solid #e3e6ee; display: block; transition: border-color .2s; }
.griglialoghi a { pointer-events: none; cursor: default; }
@media (max-width: 1024px) { .griglialoghi .ptb_extra_gallery_item { width: calc((100% - 3 * 14px) / 4) !important; } }
@media (max-width: 680px) { .griglialoghi .ptb_extra_gallery_item { width: calc((100% - 2 * 10px) / 3) !important; } .griglialoghi .ptb_extra_gallery { gap: 10px; } }



/*Amici di Simone*/
.rigatestoamicidisimone { background: #f07d00; padding-top: 50px; padding-bottom: 50px; margin-bottom: 50px; }
.rigatestoamicidisimone .row_inner { align-items: center !important; }
.testoamicidisimone { margin: 0; }
.testoamicidisimone h2 { color: #fff; font-size: clamp(1.5em, 2.6vw, 2em); line-height: 1.2; margin: 0 0 6px; }
.testoamicidisimone h4 { color: #fff; font-size: .875em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 20px; opacity: .85; }
.testoamicidisimone p { color: #fff; line-height: 1.7; margin: 0 0 14px; }
.testoamicidisimone p:last-child { margin-bottom: 0; }
.testoamicidisimone a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.testoamicidisimone a:hover { color: #273583; }
.imgamicidisimone { margin: 0; }
.imgamicidisimone img { width: 100%; height: auto; display: block; box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, .25); }
@media (max-width: 680px) { .rigatestoamicidisimone { padding-top: 40px; padding-bottom: 40px; } .imgamicidisimone { margin-top: 30px; } }



/*Storie Sociale*/
.datanotizia { color: #f07d00; font-size: .8em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: -6px 0 14px; }
.rigatestosociale { padding-top: 10px; padding-bottom: 50px; }
.testosociale { margin: 0; }
.testosociale .ptb_list-post article { border: 1px solid #cfd4e0; padding: 30px; margin-bottom: 24px; }
.testosociale .ptb_list-post article:last-child { margin-bottom: 0; }
.testosociale .ptb_list-post .ptb_row { display: flex; gap: 40px; align-items: flex-start; }
.testosociale .ptb_list-post .ptb_col3-1 { flex: 0 0 280px; width: 280px; }
.testosociale .ptb_list-post .ptb_col3-2 { flex: 1; width: auto; min-width: 0; }
.testosociale .ptb_post_image { margin: 0; }
.testosociale .ptb_post_image img { width: 100%; height: auto; display: block; }
.testosociale .ptb_post_title { font-size: 1.4em; line-height: 1.25; margin: 0 0 14px; }
.testosociale .ptb_post_title a { color: #273583; text-decoration: none; }
.testosociale .ptb_entry_content p { line-height: 1.7; margin: 0 0 12px; }
.testosociale .ptb_entry_content p:last-child { margin-bottom: 0; }
@media (max-width: 680px) { .testosociale .ptb_list-post .ptb_row { flex-direction: column; gap: 18px; } .testosociale .ptb_list-post .ptb_col3-1 { flex: none; width: 100%; } .testosociale .ptb_list-post article { padding: 20px; } }


/*LNI Academy - Guadalupi*/
.rigaguadalupi { background: #273583; padding-top: 70px; padding-bottom: 70px; margin-bottom: 50px; }
.rigaguadalupi .row_inner { align-items: center !important; }
.testoguadalupi { margin: 0; }
.testoguadalupi h2 { color: #fff; font-size: clamp(1.5em, 2.6vw, 2em); line-height: 1.2; margin: 0 0 16px; }
.testoguadalupi p { color: #d5daf0; line-height: 1.7; margin: 0 0 14px; }
.testoguadalupi p:first-of-type { color: #fff; font-size: 1.1em; }
.testoguadalupi p:last-child { margin-bottom: 0; }
.videoguadalupi { margin: 0; box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, .3); }
@media (max-width: 680px) { .rigaguadalupi { padding-top: 50px; padding-bottom: 50px; } .videoguadalupi { margin-top: 30px; } }


/*Card video*/
.cardvideo > .tb_text_wrap > h2, .cardvideo h2:not(.ptb_post_title) { font-size: clamp(1.5em, 2.6vw, 2em); margin: 0 0 30px; }
.cardvideo .ptb_loops_wrapper { gap: 24px; }
.cardvideo article { border: 1px solid #cfd4e0; margin: 0 !important; background: #fff; display: flex; flex-direction: column; }
.cardvideo .ptb_items_wrapper, .cardvideo .ptb_row, .cardvideo .ptb_col { display: flex; flex-direction: column; height: 100%; }
.cardvideo .ptb_video { order: -1; margin: 0; }
.cardvideo .ptb_video iframe, .cardvideo .ptb_video video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }
.cardvideo .ptb_title, .cardvideo .ptb_taxonomies, .cardvideo .ptb_textarea { padding: 0 18px; }
.cardvideo .ptb_post_title { font-size: 1.05em; line-height: 1.3; margin: 16px 0 6px; }
.cardvideo .ptb_taxonomies { color: #f07d00; font-size: .75em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.cardvideo .ptb_textarea { font-size: .9em; line-height: 1.6; color: #555; margin: 10px 0 18px; }
.rigavideoacademy { padding-top: 60px; padding-bottom: 60px; }
@media (max-width: 680px) { .rigavideoacademy { padding-top: 40px; padding-bottom: 40px; } }
.ptb_extra_video_overlay { z-index: 2 !important; }


/*Notizia singola*/
.single-notizie .ptb_main_query article.ptb_post { border: 1px solid #cfd4e0; padding: 40px; margin: 50px 0; background: #fff; }
.single-notizie .ptb_post_image { margin: 0 0 30px; }
.single-notizie .ptb_post_image img { width: auto; max-width: 100%; max-height: 350px; height: auto; margin: 0 auto; display: block; }
.single-notizie .datanotizia { margin: 0 0 8px; }
.single-notizie .ptb_post_title { color: #273583; font-size: clamp(1.6em, 3vw, 2.25em); font-weight: 400; line-height: 1.2; margin: 0 0 24px; text-wrap: balance; }
.single-notizie .ptb_entry_content { text-align: justify; hyphens: auto; -webkit-hyphens: auto; line-height: 1.7; }
.single-notizie .ptb_entry_content h2, .single-notizie .ptb_entry_content h3, .single-notizie .ptb_entry_content h4 { text-align: left; line-height: 1.3; margin: 30px 0 12px; }
.single-notizie .ptb_entry_content h2 { font-size: 1.5em; }
.single-notizie .ptb_entry_content h3, .single-notizie .ptb_entry_content h4 { font-size: 1.2em; }
.single-notizie .ptb_entry_content p { margin: 0 0 16px; }
.single-notizie .ptb_entry_content ul { list-style: none; padding: 0; margin: 0 0 20px; }
.single-notizie .ptb_entry_content ul li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.single-notizie .ptb_entry_content ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #f07d00; }
@media (max-width: 680px) { .single-notizie .ptb_main_query article.ptb_post { padding: 20px; margin: 30px 0; } .single-notizie .ptb_entry_content { text-align: left; } }



/*Card notizie*/
.rigacardnotizie { padding-top: 10px; padding-bottom: 60px; }
.cardnotizie .ptb_loops_wrapper { gap: 24px; }
.cardnotizie article { border: 1px solid #cfd4e0; margin: 0 !important; background: #fff; display: flex; flex-direction: column; }
.cardnotizie .ptb_items_wrapper, .cardnotizie .ptb_row, .cardnotizie .ptb_col { display: flex; flex-direction: column; height: 100%; }
.cardnotizie .ptb_post_image { order: -1; margin: 0; }
.cardnotizie .ptb_post_image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cardnotizie .ptb_title, .cardnotizie .datanotizia, .cardnotizie .ptb_excerpt { padding: 0 20px; }
.cardnotizie .datanotizia { margin: 18px 0 6px; }
.cardnotizie .ptb_post_title { font-size: 1.1em; line-height: 1.3; margin: 0 0 10px; }
.cardnotizie .ptb_post_title a { color: #273583; text-decoration: none; }
.cardnotizie .ptb_post_title a:hover { color: #f07d00; }
.cardnotizie .ptb_excerpt { font-size: .9em; line-height: 1.6; color: #555; margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }


/*Sidebar notizie*/
.single-notizie #sidebar { padding-top: 0; }
#sidebar .ptb_recent_entries { border: 1px solid #cfd4e0; padding: 20px; margin: 50px 0; background: #fff; }
#sidebar .ptb_recent_entries .widgettitle { color: #273583; font-size: 1em; font-weight: 400; border-bottom: 3px solid #f07d00; padding-bottom: 10px; margin-bottom: 16px; }
#sidebar .ptb_recent_entries article { margin: 0 0 14px !important; padding: 0 0 14px; border-bottom: 1px solid #eef0f5; }
#sidebar .ptb_recent_entries article:last-child { margin-bottom: 0 !important; padding-bottom: 0; border-bottom: 0; }
#sidebar .ptb_recent_entries .ptb_col { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; align-items: start; }
#sidebar .ptb_recent_entries .ptb_thumbnail { grid-row: 1 / span 2; margin: 0; }
#sidebar .ptb_recent_entries .ptb_thumbnail img { width: 64px; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
#sidebar .ptb_recent_entries .datanotizia { font-size: .7em; line-height: 1.2; margin: 0 0 4px; }
#sidebar .ptb_recent_entries .datanotizia time { margin: 0; }
#sidebar .ptb_recent_entries .ptb_post_title { font-size: .9em; line-height: 1.3; margin: 0; }
#sidebar .ptb_recent_entries .ptb_post_title a { color: #273583; text-decoration: none; }
#sidebar .ptb_recent_entries .ptb_post_title a:hover { color: #f07d00; }
#sidebar .ptb_recent_entries .ptb_excerpt { display: none; }
#sidebar .ptb_recent_entries .ptb_col { grid-template-rows: auto 1fr; }
#sidebar .ptb_recent_entries .ptb_post_image { margin: 0; }



/*Contatti*/
.rigacontatti { padding-bottom: 60px; }
.rigacontatti .row_inner { align-items: stretch !important; }
.rigacontatti .module_column { display: flex; flex-direction: column; }
.datacontatti, .formcontatti { flex: 1; }
.datacontatti { background: #273583; border-bottom: 5px solid #f07d00; padding: 40px; color: #d5daf0; box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, .15); }
.datacontatti h2 { color: #fff; margin: 0 0 4px; }
.datacontatti h2 + p { color: #f07d00; font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.datacontatti h4 { position: relative; color: #fff; font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 30px 0 6px; padding-left: 34px; }
.datacontatti h4::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); background: #f07d00; -webkit-mask: var(--icona) no-repeat center / contain; mask: var(--icona) no-repeat center / contain; }
.datacontatti h4:nth-of-type(1) { --icona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8'/%3E%3C/svg%3E"); }
.datacontatti h4:nth-of-type(2) { --icona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.datacontatti h4:nth-of-type(3) { --icona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.datacontatti h4:nth-of-type(4) { --icona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.datacontatti h4 ~ p { margin: 0; padding-left: 34px; line-height: 1.6; }
.datacontatti h4:nth-of-type(1) + p { color: #fff; font-size: 1.2em; }
.datacontatti a { color: #fff; font-size: 1.2em; text-decoration: none; }
.datacontatti a:hover { color: #f07d00; }
.datacontatti a[href*="maps"] { display: inline-block; margin-top: 8px; color: #f07d00; font-size: .85em; font-weight: 700; }
.datacontatti a[href*="maps"]::after { content: " →"; }
.datacontatti a[href*="maps"]:hover { color: #fff; }
.formcontatti { border: 1px solid #cfd4e0; padding: 40px; background: #fff; }
.formcontatti .wpcf7-form br { display: none; }
.formcontatti .wpcf7-form p { margin: 0 0 18px; }
.formcontatti .cf7-riga p { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formcontatti label { display: block; color: #273583; font-size: .8em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.formcontatti label + label { margin-top: 18px; }
.formcontatti .cf7-riga label + label { margin-top: 0; }
.formcontatti input[type="text"], .formcontatti input[type="email"], .formcontatti input[type="tel"], .formcontatti textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfd4e0; border-radius: 3px; background: #fff; color: #333; font-size: 1.25em; font-weight: 400; letter-spacing: 0; text-transform: none; box-shadow: none; }
.formcontatti textarea { height: 160px; resize: vertical; }
.formcontatti input:focus, .formcontatti textarea:focus { border-color: #273583; outline: none; box-shadow: 0 0 0 3px rgba(39, 53, 131, .12); }
.formcontatti .wpcf7-form-control-wrap[data-name="privacy"] { display: block; margin-top: 18px; }
.formcontatti .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.formcontatti .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; color: #555; font-size: .85em; font-weight: 400; letter-spacing: 0; text-transform: none; }
.formcontatti .wpcf7-acceptance input { margin: 3px 0 0; flex-shrink: 0; }
.formcontatti .wpcf7-acceptance a { color: #273583; }
.formcontatti .wpcf7-submit { background: #f07d00 !important; color: #fff !important; border: 0; border-radius: 3px; padding: 12px 24px; font-size: 1em; font-weight: 700; cursor: pointer; }
.formcontatti .wpcf7-submit:hover { background: #d96f00 !important; }
.formcontatti .wpcf7-not-valid-tip { font-size: .9em; font-weight: 400; letter-spacing: 0; text-transform: none; margin-top: 4px; }
.formcontatti .wpcf7-response-output { margin: 20px 0 0 !important; padding: 12px 16px !important; font-size: .9em; }
.rigamappa p { margin: 0; }
.rigamappa iframe { width: 100%; height: 450px; display: block; border: 0; }
.formcontatti .wpcf7-turnstile { margin: 18px 0; }
@media (max-width: 680px) {
.datacontatti { padding: 24px; margin-bottom: 30px; box-shadow: 0 8px 16px rgba(0, 0, 0, .2); }
.formcontatti { padding: 24px; }
.formcontatti .cf7-riga p { grid-template-columns: 1fr; }
.rigamappa iframe { height: 320px; }
}



/*Lavora con noi*/
.rigaposizioni { padding-bottom: 60px; }
.rigaposizioni .row_inner { align-items: stretch !important; }
.rigaposizioni .module_column { display: flex; flex-direction: column; }
.posizioni, .rigaposizioni .formcontatti { flex: 1; }
.posizioni { background: #273583; border-bottom: 5px solid #f07d00; padding: 40px; box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, .15); }
.posizioni h2 { color: #fff; margin: 0 0 24px; }
.posizioni h2 + p { color: #d5daf0; margin: -14px 0 24px; }
.posizioni article { border-left: 5px solid #f07d00; padding: 30px; margin: 0 0 20px !important; background: #fff; }
.posizioni article:last-child { margin-bottom: 0 !important; }
.posizioni .ptb_custom_text p { color: #f07d00; font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.posizioni .ptb_post_title { color: #273583; font-size: 1.5em; font-weight: 400; line-height: 1.25; margin: 0 0 18px; }
.posizioni .ptb_textarea h4 { color: #273583; font-size: .8em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.posizioni .ptb_textarea ul { list-style: none; margin: 0; padding: 0; }
.posizioni .ptb_textarea li { position: relative; padding-left: 18px; margin: 0 0 4px; }
.posizioni .ptb_textarea li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: #f07d00; }
.formcontatti select { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfd4e0; border-radius: 3px; background: #fff; color: #333; font-size: 1.25em; font-weight: 400; letter-spacing: 0; text-transform: none; }
.formcontatti input[type="file"] { width: 100%; margin-top: 6px; padding: 10px; border: 1px dashed #cfd4e0; border-radius: 3px; background: #f7f8fb; color: #555; font-size: 1.1em; font-weight: 400; letter-spacing: 0; text-transform: none; cursor: pointer; }
.formcontatti input[type="file"]::file-selector-button { background: #273583; color: #fff; border: 0; border-radius: 3px; padding: 8px 14px; margin-right: 12px; font-weight: 700; cursor: pointer; }
@media (max-width: 680px) {
.posizioni { padding: 24px; margin-bottom: 30px; box-shadow: 0 8px 16px rgba(0, 0, 0, .2); }
.posizioni article { padding: 20px; }
}


.cmplz-cookiebanner { border-radius: 0 !important; border-bottom: 5px solid #f07d00 !important; padding: 28px 28px 22px !important; box-shadow: 10px 10px 30px rgba(0, 0, 0, .25) !important; font-family: Lato, sans-serif !important; }
.cmplz-cookiebanner .cmplz-title { grid-column: 1 / span 2; justify-self: start; color: #273583 !important; font-size: 1.3em !important; font-weight: 400 !important; }
.cmplz-cookiebanner .cmplz-divider-header { display: none; }
.cmplz-cookiebanner .cmplz-message { font-size: .9em !important; line-height: 1.55 !important; color: #555 !important; text-align: left !important; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn { border-radius: 3px !important; font-weight: 700 !important; font-size: .9em !important; height: 42px !important; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-accept { background: #f07d00 !important; border-color: #f07d00 !important; color: #fff !important; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-accept:hover { background: #d96f00 !important; border-color: #d96f00 !important; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-deny, .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences, .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences { background: #fff !important; border: 1px solid #273583 !important; color: #273583 !important; }
.cmplz-cookiebanner .cmplz-documents { justify-content: flex-start !important; }
.cmplz-cookiebanner .cmplz-documents a { color: #273583 !important; font-size: .8em !important; }
.cmplz-cookiebanner .cmplz-category { background: #f7f8fb !important; border-radius: 0 !important; }
.cmplz-cookiebanner .cmplz-close { color: #273583 !important; outline: none !important; }
.cmplz-cookiebanner .cmplz-close svg { width: 18px !important; height: 18px !important; }
.cmplz-cookiebanner .cmplz-close:hover, .cmplz-cookiebanner .cmplz-close:focus { color: #f07d00 !important; }
.cmplz-cookiebanner .cmplz-documents li:has(a:empty) { display: none !important; }
.rigapaginalegale { padding-top: 50px; }
#cmplz-manage-consent .cmplz-manage-consent { display: none !important; }