/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

:root {
    --sfondo-grigio-arianna: #F2F2F2;
    --dark-arianna: #464454;
    --viola-arianna: #5b3854;
    --rosso-arianna: #F7172A;
    --gradiente-arianna: linear-gradient(90deg,rgb(70 68 84) 0%, rgb(91 56 84) 50%, rgba(247, 23, 42, 1) 100%);
    --gradiente-45-arianna: linear-gradient(45deg,rgb(70 68 84) 0%, rgb(91 56 84) 50%, rgba(247, 23, 42, 1)100%);
    --rounded-arianna: 12px;
}

/* Generali ------------------------------------------ */

.style-gradiente-45-arianna-bg {
    background: linear-gradient(45deg,rgb(70 68 84) 0%, rgb(91 56 84) 50%, rgba(247, 23, 42, 1) 100%);
}

.carosello-verticale.carosello-settori .owl-item {
    max-width: 85px;
}

.carosello-verticale.carosello-settori > .row:before {
    display: none;
}

.carosello-verticale.carosello-settori {
    translate: unset;
    display: flex;
}

.carosello-verticale.carosello-settori p {
    white-space: nowrap;
    font-size: 85px;
}

.carosello-verticale.carosello-settori:not(:has(.owl-carousel-wrapper)) .owl-stage-outer {
    translate: 0 -35vh;
}

.column_parent.col-lg-8:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #FFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.98) 80%, rgba(255, 255, 255, 1) 100%);
}


.row_settori .column_parent.col-lg-8 {
    overflow: hidden;
}

.carosello-settori .style-gradiente-45-arianna-bg {
    background: linear-gradient(45deg,rgb(70 68 84) 0%, rgb(91 56 84) 50%, rgba(247, 23, 42, 1) 100%);
}

.carosello-verticale.carosello-settori  .owl-item.center p {
    color:transparent;
}

.carosello-verticale.carosello-settori  .owl-item.center p:after {
    content: attr(data-hover);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #ff0000;   
    background-image: var(--gradiente-arianna);
    color: transparent;
    background-clip: text;
    min-width: 1000px;
    font-weight: 700;
}

.carosello-settori .owl-stage {
    translate: -170px;
}


.under-969-v {
    display: none;
}

p {
    font-weight: 300;
}

strong {
    font-weight: 700;
}

/* strong, b {
    display: inline !important; 
    white-space: normal !important; 
    word-break: break-word; 
} */

/* pittogramma orizzotale center */
.pittogramma .t-entry-visual {
    width: clamp(100px, 20vw, 300px);
    margin-inline: auto;
}

/* titoli e testi ---------------------- */
.vc_custom_heading_wrap .heading-text .h1 {
    font-size: clamp(2.25rem, 1rem + 4vw, 4.3125rem);
}

.vc_custom_heading_wrap .heading-text h3 {
    font-size: clamp(1.4rem, 0.7rem + 1vw, 1.9375rem);
}

.uncode_text_column p {
    font-size: clamp(1rem, 1rem + 0.7vw, 1.375rem);
}

/* gradiente sullo strong */
.style-light .heading-text h2 strong, .style-light .heading-text h1 strong {
    display: inline-block;
    background-image: var(--gradiente-arianna);
    color: transparent;
    background-clip: text;
}

.heading-text h2, .heading-text h1 {
    line-height: 1em;
}

.heading-text h3 {
    line-height: 1.4em;

}

.uncode_text_column p {
    line-height: 1.6em;
}

/* effetto dissolvenza */
.dissolvenza-bottom .tmb .t-entry-visual .uncode-single-media-wrapper:before {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50%;
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg,rgb(255 255 255) 0%, rgba(255, 255, 255, 0) 25%);
  z-index: 1;
}

.dissolvenza-bottom .tmb .t-entry-visual .uncode-single-media-wrapper img {
  z-index: 0;
}

/* button standard */
.btn-container > .btn.btn-default, input.btn-default {
    background-color: #464252 !important;
    color: white;
    font-weight: 700;
    border-radius: 50px!important;
    padding: 5px 27px!important;
    height: fit-content;
    font-size: 15px;
    line-height: normal;
}


/* box sezione rounded */
.row-sez-container {
    margin-inline: 36px;
    border-radius: var(--rounded-arianna);
    overflow: hidden;
}

/* off grid responsive */
body:not(.vc-safe-mode) .shift_x_quad {
    left: clamp(0px, (100vw - 1600px), 144px) !important;
}

/* ---- */
.row-title-subtitle-text .uncode_text_column, .row-title-subtitle-text .vc_custom_heading_wrap, .row-title-subtitle-text-right .uncode_text_column, .row-title-subtitle-text-right .vc_custom_heading_wrap   {
    margin-top: 0px!important;
}

/* blocco titolo-h2 sottotitolo-h3 testo-p -------- center*/
.row-title-subtitle-text .uncode-single-media {
    padding-bottom: 54px;
}

.row-title-subtitle-text h2 span strong, .row-title-subtitle-text h1 span strong  {
    padding-bottom: 7px;
}

.row-title-subtitle-text .vc_custom_heading_wrap:has(h3) {
    margin-top: 30px!important;
}

.row-title-subtitle-text h3 {
    padding-bottom: 36px;
}

/* blocco titolo-h2 sottotitolo-h3 testo-p -------- right*/
.row-title-subtitle-text-right .uncode_text_column, .row-title-subtitle-text-right .vc_custom_heading_wrap  {
    margin-top: 0px!important;
}

.row-title-subtitle-text-right h3 {
    padding-top: 36px;
    padding-bottom: 18px;
}

/* CARD PRINCIPALE -------------------------- CARD PRINCIPALE !!! -------------------------!---------------------------------- */
/* ------------------------------------------------------------------------------------ */
.carosello .owl-item {
    width: 433px!important;
    max-width: 80vw;
}

.owl-item .wpb_column, .carosello-destra .owl-carousel.owl-theme .owl-stage-outer {
   padding: 0!important; 
}

.carosello .owl-nav, .carosello .owl-dots {
    display: none;
}

.owl-stage {
    display: flex;
}

.t-inside, .tmb-carousel, .owl-carousel .item, .owl-carousel .row.row-child, .carosello-style .owl-carousel .uncol  {
    height: 100%;
}

.carosello-style .owl-carousel .item .uncode-single-media {
    position: absolute;
    top: 0%;
    right: 0%;
}

.owl-carousel-wrapper .tmb-carousel .t-entry-visual, .carosello-style .owl-carousel .t-entry-visual  {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    translate: 50% -40%;
    height: 74px;
    width: 74px;
    border-radius: 5px;
    background-color: var(--sfondo-grigio-arianna);
    box-sizing: content-box;
    overflow: visible;
    z-index: 0;
}

.carosello-style .owl-carousel .t-entry-visual {
    translate: 50% -50%;
}

.owl-carousel-wrapper .tmb-carousel img, .carosello-style .owl-carousel .tmb .t-entry-visual img {
    height: 60px;
    width: 60px;
    margin-inline: auto;
}

.owl-carousel-wrapper .tmb-carousel .t-entry-visual::after, .carosello-style .owl-carousel .t-entry-visual::after  {
    content: "";
    position: absolute;
    translate: -50% -50%;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: 10px solid white;
    box-sizing: content-box;
    z-index: -1;
}

/* BASE */
.owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside, .carosello-style .owl-carousel .owl-item .uncol {
    background: var(--gradiente-arianna);
    border-radius: var(--rounded-arianna);
    position: relative;
}

.owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside::before, .carosello-style .owl-carousel .item .uncol:before {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background: white;
    border-radius: calc(var(--rounded-arianna) - 1px);
    z-index: 0;
}


.owl-carousel-wrapper .tmb-carousel .t-entry-text, .carosello-style .owl-carousel .item .uncont {
    padding: 90px 21px 63px 21px;
}

.carosello-style .owl-carousel .uncode_text_column {
    margin: 0!important;
    padding-top: 18px;
}

.owl-item h5 {
    line-height: 1.3em;
    padding-bottom: 18px;
}

.owl-carousel-wrapper .tmb-carousel .t-entry-text p {
    font-weight: 300;
    line-height: 1.6em;
}

/* CAROSELLO DESTRA ------------------------------------- CAROSELLO DESTRA !!! -------------------------!---------------------------------- */
/* ------------------------------------------------------------------------------------ */
.carosello-style.carosello-destra .owl-item {
    width: 402px!important; 
}

.carosello-styl.carosello-destra .owl-carousel-wrapper, .carosello-destra .owl-carousel.owl-theme {
    padding-top: 99px;
    clip-path: polygon(0 0, 200% 0, 200% 200%, 0 200%);
}
 
.carosello-destra .owl-carousel-wrapper .tmb-carousel .t-entry-text,  .carosello-style.carosello-destra  .owl-carousel .item .uncont {
    padding: 71px 43px 48px 43px;
}

.carosello-style.carosello-destra  .owl-carousel .item .uncont .vc_custom_heading_wrap {
    margin-top: 9px!important;
}

.carosello-style.carosello-destra .owl-carousel-wrapper .tmb-carousel .t-entry-text .t-entry-text-tc.single-block-padding {
    padding: 0px;
}

/* CARD PRINCIPALI DARK version -------------------------- CARD PRINCIPALI DARK version !!! -------------------------!---------------------------------- */
/* ------------------------------------------------------------------------------------ */
.style-dark .owl-carousel-wrapper .tmb-carousel .t-entry-text, .style-dark .carosello-style .owl-carousel .item .uncont  {
    padding: 72px 36px 41px 36px;
}

.style-dark .carosello-style .owl-carousel .item .uncont .vc_custom_heading_wrap {
    margin-top: 0px!important;
}

.style-dark .owl-carousel-wrapper img, .style-dark .carosello-style .t-inside .t-entry-visual img {
    filter: brightness(0) invert(1);
    height: 50px;
    width: 50px;
}

.style-dark .owl-carousel-wrapper .tmb-carousel .t-entry-visual::after, .style-dark .carosello-style .owl-carousel .t-entry-visual::after  {
    display: none;
}

/* icon */
.style-dark .owl-carousel-wrapper .tmb-carousel .t-entry-visual, .style-dark .carosello-style .owl-carousel .t-entry-visual  {
    border: 1px solid white;
    border-radius: 5px;
    background-color: transparent;
    height: 60px;
    width: 60px;
}

.style-dark  .owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside, .style-dark  .carosello-style .owl-carousel .item .uncol  {
    background: transparent;
    border-radius: var(--rounded-arianna);
    position: relative;
}

.style-dark  .owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside:after, .style-dark  .carosello-style .owl-carousel .item .uncol:after {
    content: "";
    border: 1px solid white;
    position: absolute;
    translate: -50% -50%;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    border-radius: var(--rounded-arianna);
    clip-path: polygon(5.5% 0, 5.5% 6%, 25% 6%, 25% 0, 100% 0, 100% 100%, 0 100%, 0 0);
}

.style-dark  .owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside::before, .style-dark  .carosello-style .owl-carousel .item .uncol:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);*/
    border-radius: calc(var(--rounded-arianna) - 1px);
    z-index: 0;
    /*backdrop-filter: blur(2px);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgb(48 49 51) 100%);*/
	background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgb(148, 148, 148) 100%);
    backdrop-filter: blur(15px);
    opacity: 0.5;
}


/* testo */
.style-dark  .owl-carousel-wrapper .t-entry-text-tc {
    padding: 0;
}

.style-dark .owl-stage .tmb-light.tmb .t-entry-text h5 a, .style-dark .owl-stage .tmb-light.tmb .t-entry-text p {
    color: white;
}

.style-dark .owl-stage h5 {
    font-size: 20px;
    padding-bottom: 22px;
}

.style-dark .owl-stage .t-entry-text p, .style-dark .owl-stage p {
    font-weight: 300;
    line-height: 1.5em;
    letter-spacing: 0.03em;
}

.style-dark .owl-item:not(.item.owl-item):before {
    content: "";
    background-image: url(/wp-content/uploads/2025/12/point-card.svg);
    height: 35px;
    width: 35px;
    position: absolute;
    left: 30px;
    top: -90px;
}

.style-dark .owl-carousel-wrapper:before, .style-dark .carosello-style:before, .carosello-verticale > .row:before {
    content: "";
    height: 6px;
    width: 100vw;
    position: absolute;
    top: -76px;
    background: radial-gradient(circle,rgba(247, 23, 42, 1) 17%, rgba(46, 44, 54, 1) 85%);
    right: calc(((100vw - 100%) / 2 ) * -1);
}

.style-dark.uncol .uncoltable .uncell .uncont .vc_row.carosello.carosello-style {
    margin-top: 108px;
}

/* CARD NEWS ------------------------------ CARD NEWS !!! -------------------------!---------------------------------- */
/* ------------------------------------------------------------------------------------ */
.carousel-news .owl-item {
    width: 427px!important;
    max-width: 80vw;
}

.carousel-news .owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside::before  {
    left: 1px;
    top: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

.carousel-news .owl-carousel-wrapper .tmb-carousel .t-entry-text, .carousel-news .owl-carousel-wrapper .tmb-carousel .t-entry-text-tc  {
    height: -webkit-fill-available;
}

.carousel-news .owl-carousel-wrapper .tmb-carousel .t-entry-text-tc .t-entry {
    display: flex;
    flex-direction:column;
    height: 100%;
    justify-content: space-between;
}

.carousel-news .owl-carousel-wrapper .tmb-carousel .t-entry-text {
    padding: 9px 27px 63px 27px;
}

.carousel-news .owl-carousel-wrapper .tmb-carousel .t-entry-text .t-entry h5.t-entry-title {
    margin-top: 41px;
}

.carousel-news .tmb-carousel .t-entry-meta > .t-entry-category.t-entry-date {
    display: none;
}

.carousel-news .tmb-carousel .t-entry-meta, .carousel-news .tmb-carousel .t-entry-meta span.small-spacer {
    display: contents;
}

.carousel-news .tmb-carousel .t-entry-meta > .t-entry-tax.t-entry-category {
    position: absolute;
    left: 27px;
    top: 27px;
}


.carousel-news .tmb-carousel .t-entry-meta > .t-entry-tax.t-entry-category a {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
}


.carousel-news .tmb-carousel .t-entry-text .t-entry-date {
    position: absolute;
    left: 27px;
    bottom: 63px;
    font-size: 16px;
    font-weight: 200;
    text-transform: uppercase;
}

.carousel-news .tmb-carousel .t-entry-text .btn-container {
    text-align: right;
}

/* Carosello verticale !!! -------------------------!---------------------------------- */
/* ------------------------------------------------------------------------------------ */
.row-perche:has(.carosello) .uncont:first-child:not(.row-internal .uncont) {
    display: flex;
}

.row-sez-container:has(.carosello-verticale) {
    overflow: hidden;
}

.carosello-verticale {
    padding-left: 36px;
}

.carosello-verticale .owl-item {
    width: 300px!important;
}

.carosello-verticale .owl-carousel-wrapper, .carosello-verticale > .row {
    rotate: -90deg;
    translate: 0 50%;
}

.carosello-verticale .owl-item:not(.item) {
    rotate: 90deg;
}

.carosello-verticale {
    translate: clamp(45px, (100vw - 1400px), 125px);
}

.carosello-verticale:not(:has(.owl-carousel-wrapper)) .owl-stage-outer {
    translate: -104px;
}

.carosello-verticale .owl-carousel-wrapper .owl-stage-outer {
    translate: -81px;
}



/* linea */
.carosello-verticale .owl-carousel-wrapper:before, .carosello-verticale > .row:before {
    width: 125vh;
    right: -50%;
    top: -123px;
    background: white;
    height: 2px;
}

.carosello-verticale > .row:before {
   top: -104px; 
}

/* point */
.carosello-verticale .owl-item:not(.item.owl-item):before{
    left: -74px;
    top: -18px;
}

.carosello-verticale .owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside:after, .carosello-verticale .owl-carousel-wrapper .tmb-no-bg.tmb > .t-inside:before {
    display: none;
}

/* testo */
.carosello-verticale .owl-item h5 {
    font-size: 22px;
}

.carosello-verticale .owl-stage .t-inside .t-entry-text, .carosello-verticale .owl-stage .vc_custom_heading_wrap  {
    padding-inline: 0;
    padding-bottom: 0;
    translate: 36px;
}

.carosello-verticale .owl-carousel-wrapper .tmb .t-inside .t-entry-text-tc {
    margin-top: 18px;
}

.carosello-verticale .heading-text {
    padding-top: 54px;
}

.carosello-verticale .owl-carousel-wrapper .tmb .t-inside .t-entry-text a{
    color: white;
}

.carosello-verticale .owl-stage  .t-inside .t-entry-visual  {
    display: flex;
    position: absolute;
    translate: 50% -50%;
    height: 70px;
    width: 70px;
    border-radius: 5px;
    background-color: var(--sfondo-grigio-arianna);
    box-sizing: content-box;
    z-index: 0;
    justify-content: center;
    align-items: center;
}

.carosello-verticale .owl-stage .t-inside img, .carosello-verticale .owl-stage .t-inside span, .carosello-verticale .owl-stage  .t-inside .t-entry-visual-tc {
    height: 60px;
    width: 60px!important;
}

.carosello-verticale  .owl-carousel-wrapper img {
    filter: none;
}

/* form trasparente dark ---------------------------------------------------------- */
.wpcf7-form {
    border: 1px solid;
    border-radius: var(--rounded-arianna);
    padding: 36px 45px;
    position: relative;
}

.wpcf7-form::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.8) 140%);
    border-radius: calc(var(--rounded-arianna) - 1px);
}

.wpcf7-form p:not(:has([type="checkbox"])) {
    margin-top: 13px;
}

.wpcf7-form span.wpcf7-not-valid-tip {
    color: #560600!important;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-block: 9px;
}

.wpcf7-form label {
    font-weight: 200;
    text-transform: uppercase;
    font-size: 16px;
}

.wpcf7-form br {
    display: none;
}

.wpcf7-form .wpcf7-form-control:not(:has([type="checkbox"])) {
    border: none;
    border-bottom: 1px solid;
    border-radius: 0;
    width: 100%;
    margin-top: 0;
}

.wpcf7-form textarea.wpcf7-form-control {
   max-height: 104px;
}

.wpcf7-form .informativa {
    margin-block: 36px;
}

.wpcf7-form .informativa p {
    font-size: 16px;
    font-weight: 100;
    line-height: 1.3;
    display: flex;
}

.wpcf7-form .informativa input  {
    border-radius: 0;
    border: 1px solid;
}

.wpcf7-form .button-send p {
    text-align: center;
}

.wpcf7-form .wpcf7-form-control.btn-default {
    width: unset;
    border: 1px solid;
    position: relative;
    padding-block: 4px!important;
    letter-spacing: 0.01em!important;
}

.wpcf7-not-valid-tip {
    position: absolute;
    bottom: -30%;
    translate: 0 50%;
}

/* Loghi inline ------------------------------------------------------------ */
.loghi-inline .t-entry-visual img {
    height: 40px;
}

.loghi-inline .tmb:first-child .t-entry-visual img {
    max-width: max-content;
}

.loghi-inline .tmb:last-child .t-entry-visual img {
    max-width: max-content;
    margin-left: auto;
}

.loghi-inline .linear-wrapper[data-animation="marquee"] .t-entry-visual   {
    max-height: 40px;
    padding-inline: 27px;
}

.loghi-inline .linear-wrapper[data-animation="marquee"]  img  {
    max-height: 40px;
    max-width: 150px;
}


/* navbar ------------------------------------------------------------------ */
#menu-menu-cta-arianna li.menu-item a {
    background-color: #464252;
    color: white!important;
    font-weight: 600;
    border-radius: 50px;
    padding-inline: 36px!important;
    padding-block: 7px;
    height: fit-content;
    font-size: 15px;
}

.menu-primary-inner .menu-item {
    padding-inline: clamp(0px, calc(0px + (22 - 0) * ((100vw - 1100px) / (1400 - 1100))), 22px);
}

.row-menu {
    padding-block: 18px;
}

/* navbar */
.nav .menu-item {
    text-align: center;
}

.nav .menu-item .fa-angle-right {
    display: none;
}

/* footer ---------------------------------------------------------------------- */
footer .uncont:has(.row-internal) {
   display: flex;
   gap: clamp(27px, calc(100vw - 959px) ,72px);
}

footer .row-sez-container {
   margin-top: 36px;
   position: relative;
}

footer .row-sez-container:before {
    content: "";
    width: 100%;
    height: 100%;
    background: radial-gradient(25vw 15vh, rgb(246 24 43) 0%, rgb(246 24 43 / 35%) 65%, rgba(255, 255, 255, 0) 150%);
    background-repeat: no-repeat;
    position: absolute;
    bottom: -50%;
    z-index: -1;
    overflow: visible;
    opacity: 0.1;
}


footer .vc_custom_heading_wrap {
   min-width: 25vw;
   padding-top: 36px;
   position: relative;
    margin-right: 27px;
}

footer .vc_custom_heading_wrap:before {
   background-image: url(/wp-content/uploads/2025/12/PITTOGRAMMA-ORIZZONTALE.png);
   content: "";
   position: absolute;
   left: 40%;
   bottom: 40%;
   translate: -50% 50%;
   width: 125%;
   height: 125%;
   z-index: -1;
   background-size: contain;
   background-repeat: no-repeat;
   filter: brightness(0) invert(0.95);
}

footer .vc_custom_heading_wrap h3 {
   line-height: 1.4em;
}

footer .tmb .t-entry-visual img {
   width: 135px;
}

footer .uncode-single-media {
   height: 33px;
   display: flex;
   align-items:center;
}

footer .uncode-list {
   margin-top: 18px!important;
}

footer .row-internal .uncode-list li {
    font-weight: 400;
    padding-block: 9px;
    font-size: 16px;
    line-height: 1.2;
}

footer .row-internal:not(:last-child) .uncode-list li {
   text-transform: uppercase;
}

footer .row-internal:last-child .uncode-list {
   padding-top: 51px;
}

/* under footer */
.row div.site-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-block: 9px;
    border-top: 1px solid #d1d1d1;
}

.row div.site-info p {
    margin-block: 0;
    font-weight: 600;
    font-size: 14px;
}

/* Home ----------------------------------------------------------------- */

/* sez testo hero */
.img-arianna-ricca .icon-media {
    width: auto!important;
}

.img-arianna-ricca img {
    height: 32px;
}

.text-hero .uncode_text_column {
    max-width: 1280px;
    margin-inline: auto;
}

/* sezione perche ------- Carosello-Verticale */
.row-perche:before {
    mask-image:  linear-gradient(0deg,rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 80%, rgba(255, 0, 0, 1) 100%);
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradiente-45-arianna);
    z-index: 5;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}


/* sezione Dati ------  Carosello-Destra */
.img-scale .t-entry-visual {
    height: 800px;
    width: 600px;
}

/* sezione background-video ----- Carosello-Dark */
.wpb_row.row-inner .wpb_column.pos-top .style-dark .uncell.no-block-padding .owl-carousel-wrapper {
    margin-top: 15%;
}

.row-background-video .owl-carousel .owl-item {
    width: 410px!important; 
}

.row-background-video .owl-stage-outer {
    translate: 12vw;
}

.row-background-video h2 {
    max-width: 630px;
}

.row-background-video .style-dark.uncol .uncoltable .uncell .uncont .vc_row.carosello.carosello-style {
    margin-top: 288px;
}

/* sez marqueee */
.marquee .linear-system .linear-wrapper .linear-container .tmb .t-inside {
    justify-content: center;
    background: transparent;
    border-radius: var(--rounded-arianna);
    border: 1px solid #ddd;
    display: flex; 
    align-items: center;
    width: clamp(200px, calc(200px + (274 - 200) * ((100vw - 960px) / (1300 - 960))), 274px);
    height: clamp(140px, calc(140px + (187 - 140) * ((100vw - 960px) / (1300 - 960))), 187px);
    padding: clamp(15px, calc(15px + (27 - 15) * ((100vw - 960px) / (1300 - 960))), 27px);
}

.marquee .linear-system .linear-wrapper .linear-container .tmb .t-inside img {
    width: 100%;
    max-height: clamp(60px, calc(60px + (85 - 60) * ((100vw - 960px) / (1300 - 960))), 85px);
    object-fit: contain;
}

/* sez partner */
.loghi-partner {
    padding-top: 45px;
}

.row-partner {
    background-image: url(/wp-content/uploads/2025/12/ARIANNA-IBM.png);
    background-size: clamp(500px, 40vw, 750px);
    background-repeat: no-repeat;
    background-position: bottom right clamp(-150px, calc((-150px + (36 - -150) * ((100vw - 960px) / (1300 - 960))) - 18px), 36px);
}

.row-partner .row div.column_child.pos-center > .uncol > .uncoltable > .uncell > .uncont {
    max-width: 660px;
    margin-left: 0;
}

.row-partner .wpb_column:last-child .uncol .background-inner  {
   background-size: contain!important;
}

.vc_row:has(.row-partner) {
    overflow: hidden;
}

/* sez news */
.loghi-news {
    padding-top: 63px;
}

.loghi-news.loghi-inline .tmb:nth-child(2) .t-entry-visual img {
    max-width: max-content;
}

.loghi-news.loghi-inline .tmb:nth-last-child(2) .t-entry-visual img {
    max-width: max-content;
    margin-left: auto;
}

/* animazioni */

.row_security .wpb_raw_html {
    transform: scale(1.2);
    transform-origin: center;
}

.row_big-arianna .uncode-single-media-wrapper {
    max-width: 550px;
    margin: 0 auto;
    display: block;
    margin-bottom: 108px;
}

.row_big-arianna .uncode-single-media-wrapper:after {
    content: "";
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 100px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9;
}

.row_big-arianna .vc_custom_heading_wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -125%);
    z-index: 9;
    width: 100%;
}

.row_big-arianna .heading-text {
    padding-inline: 18px;
}

.row_big-arianna:before {
    content: "";
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.row_big-arianna {
    padding-top: 54px;
}

.row_big-arianna .background-inner {
    background-size: 3500px !important;
	animation: arrow-wave 100s linear 0s infinite;
}

@keyframes arrow-wave {
  from { background-position: 0 bottom; }
  to   { background-position: -10000px bottom; }
}

.row_big-arianna .row-background {
    bottom: var(--py);
}

#intro_home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    display: flex;
    align-items: center;
	animation: bg-opacity 5s linear 0s forwards, opacity 0.25s linear 4s forwards;
    transform: translateY(-100%);
}

#intro_home p {
    font-size: 40px;
	opacity: 0;
	animation: opacity-in 3s linear 0.8s forwards;
}

.menu-container {
	transform: translateY(-100%);
	animation: translate-in 1.5s linear 7s forwards;
}

.uncode-single-media {
    pointer-events: none;
}

.row_settori .col-lg-4 .uncode-single-media {
    transform: scale(-1,1);
    transform-origin: center;
}

.row_settori .col-lg-4 .uncode-single-media:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    background: #FFF;
    background: linear-gradient(40deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 15%, rgba(255, 255, 255, 0) 30%);
}

.mejs-mediaelement:after, .row_security .wpb_raw_html:after, .row_touch-arianna mediaelementwrapper:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px #fff; /* 1px interno */
  pointer-events: none;
  z-index: 99;
}

.row_touch-arianna > .row > .row-inner {
    min-height: 100vh;
}

.row_touch-arianna mediaelementwrapper:before {
    content: "";
    width: 100%;
    height: 200px;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.97) 20%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
	opacity: 0;
    z-index: 9;
	animation: opacity-in 0.5s ease-in-out 11s forwards
}

@keyframes bg-opacity {
  from { background-color: rgb(70 66 82 / 100%); }
  to   { background-color: rgb(70 66 82 / 90%); }
}

@keyframes bg-opacity-in {
  from { background: transparent; }
  to   { background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.97) 20%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); }
}

@keyframes opacity {
  from { opacity: 1; }
  to   { opacity: 0; display: none; }
}

@keyframes opacity-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes translate-in {
  from { transform: translateY(-100%); }
  to   {transform: translateY(0); }
}

/* responsive */
@media (min-width: 960px) {
    .vc_custom_heading_wrap .heading-text .h1 {
        font-size: clamp(50px, 4vw, 69px);
    }
}

@media screen and (max-width: 1440px) {

    /* Row Security */
    .row_security video {
        margin-left: 104px;
        max-width: 550px;
    }

    /* settori */
    .carosello-settori .owl-stage {
        translate: -100px;
    }

    .carosello-verticale.carosello-settori p {
        font-size: 75px;
    }

    .carosello-verticale.carosello-settori .owl-item {
        max-width: 75px;
    }

    /* Footer */
    footer .vc_custom_heading_wrap:before {
        left: 50%;
    }
}

@media screen and (max-width: 1200px) {
    body.hmenu-position-center .logo-container {
        min-width: unset;
    }

    /* Sezione video background */
    .row-background-video .owl-stage-outer {
        translate: 0;
    }

    .row-marquee > .row.triple-top-padding {
        padding-top: 18px;
    }

    .text-hero > .row.triple-top-padding {
        padding-bottom: 18px;
    }

    .carosello-styl.carosello-destra .owl-carousel-wrapper, .carosello-destra .owl-carousel.owl-theme {
        padding-top: 27px;
    }

    .loghi-news {
        padding-block: 27px;
    }

    .carosello-verticale.carosello-settori p {
        font-size: 70px;
    }

    .carosello-verticale.carosello-settori .owl-item {
        max-width: 70px;
    }
}

@media screen and (max-width: 1024px) {
    /* loghi */
    .loghi-inline .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }

    /* settori */
    .carosello-settori .owl-stage {
        translate: -45px;
    }
}

@media screen and (max-width: 959px) {
    .under-969-v {
        display: block;
    }

    .over-970-v {
        display: none;
    }

    /* navbar */
    .menu-container .logo-container {
        padding-block: 18px!important;
    }
    
    .row-background-video .vc_custom_heading_wrap, .row-background-video .uncode_text_column  {
        text-align: center;
    }

    /* sez perche ---------------------- */
    .row-perche:has(.carosello) .uncont:first-child:not(.row-internal .uncont) {
        flex-direction: column;
    }

    /* carosello verticale */
    .carosello-verticale:not(.carosello-settori) {
        padding-top: 144px;
    }

    .carosello-verticale .owl-carousel-wrapper, .carosello-verticale:not(.carosello-settori) > .row {
        rotate: 0deg;
        translate: 0;
    }
    
    .carosello-verticale:not(.carosello-settori) .owl-item:not(.item) {
        rotate: 0deg;
    }

    /* linea */
    .carosello-verticale .owl-carousel-wrapper:before, .carosello-verticale > .row:before {
        width: 125vh;
        right: 0%;
        top: -123px;
        background: white;
        height: 2px;
    }
    
    .carosello-verticale > .row:before {
       top: -104px; 
    }

    /* point */
    .carosello-verticale .owl-item:not(.item.owl-item):before{
        left: 36px;
        top: -120px;
    }

    /* before effetto dissolvenza */
    .row-perche:before {
        mask-image:  linear-gradient(90deg,rgb(255 0 0 / 0%) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 80%, rgba(255, 0, 0, 1) 100%);
        clip-path: polygon(75% 50%, 100% 50%, 100% 100%, 75% 100%);
    }
    /* --------------------------------------------------------------------- */

    /* Row Security */
    .row_security video {
        translate: 0px;
        transform: scale(1);
        margin-inline: auto;
        margin-bottom: 36px;
    }

    .carosello-styl.carosello-destra .owl-carousel-wrapper, .carosello-destra .owl-carousel.owl-theme {
        clip-path: none;
    }

    /* Row Partner ----------------- */
    .row-partner .row-inner .column_child.col-lg-4 {
        min-height: 80vw;
    }

    .row-partner {
        background-size: 80vw;
        background-position: bottom right 18px;
    }

    /* LOGHI inline */
    .loghi-inline .linear-wrapper[data-animation="marquee"] .linear-container .tmb .t-inside {
        justify-content: flex-end;
    }

    /* row form */
    .row-form .row-child .wpb_column:first-child {
        padding-bottom: 36px;
    }

    /* row settori */
    .carosello-settori {
        min-height: 400px;
        padding-block: 104px;
        padding-left: 72px;
    }
    
    .carosello-verticale.carosello-settori:not(:has(.owl-carousel-wrapper)) .owl-stage-outer {
        translate: 0 0;
    }

    .carosello-settori .row {
        translate: -45% 0%;
    }

    .carosello-settori .owl-stage {
        translate: 0px;
    }

    .carosello-verticale.carosello-settori p {
        font-size: 65px;
    }

    .carosello-verticale.carosello-settori .owl-item {
        max-width: 65px;
    }

    /* settori */
    .row_settori .t-entry-visual {
        max-width: 400px;
    }

    .vc_row.row_settori.row-container .wpb_column:has(video) {
        padding-top: 0px;
    }

    .row_settori {
        max-height: 800px;
    }

    .row_settori .wpb_column:has(video) {
        translate: 0 -126px;
        mix-blend-mode: darken;
    }

    /* footer */
    footer .footer-last {
        padding-block: 0px;
        padding-inline: 18px;
    }

    footer .uncont:has(.row-internal) {
        flex-direction: column;
        align-items: center;
    }


    footer .icon-media {
        width: fit-content!important;
    }

    footer .row-internal:last-child .uncode-list {
        padding-top: 0;
    }

    footer .vc_custom_heading_wrap {
        position: relative;
        margin-right: 0px;
        text-align: center;
    }
    
    footer .vc_custom_heading_wrap:before {
       left: 50%;
       bottom: 40%;
       translate: -50% 50%;
       width: 300px;
       height: 150%;
       z-index: -1;
       background-size: contain;
       background-repeat: no-repeat;
    }
}

@media screen and (max-width: 768px) {
    /* logo hero */
    .img-arianna-ricca img {
        max-height: 25px;
    }

    /* row security */
     .row_security video {
        max-width: 350px;
        margin-inline: auto;
    }

    /* row parallax */
    .row_big-arianna .t-entry-visual img {
        max-width: 320px;
        margin-inline: auto;
    }

    /* row settori */
    .carosello-verticale.carosello-settori p {
        font-size: 45px;
    }

    .carosello-verticale.carosello-settori .owl-item {
        max-width: 35px;
    }
}

@media screen and (max-width: 575px) {

    /* margini inline Generale -----------------*/
    .row-sez-container {
        margin-inline: 18px;
    }

    .main-container .row-container .single-h-padding{
        padding-inline: 18px;
    }
    /* ---------------------------------------- */

    .owl-carousel-wrapper .tmb-carousel .t-entry-text, .carosello-style .owl-carousel .item .uncont {
        padding: 71px 43px 48px 43px;
    }

    .carosello-style .owl-carousel .item .vc_custom_heading_wrap  {
        margin-top: 0!important;
    }

    /* padding caroselli back */
    .main-container .row.row-parent:not(.no-h-padding):has(.owl-item) .column_child > .uncol > .uncoltable > .uncell > .uncont:not(.col-custom-width) {
        padding-inline: 21px!important;
    }


    /* sezione news */
    .carousel-news .tmb-carousel .t-entry-text .t-entry-date {
        position: relative;
        left: 0;
        bottom: 0;
    }

    .carousel-news .tmb-carousel .t-entry-text .t-entry-meta, .carousel-news .tmb-carousel .t-entry-text .btn-container {
        text-align: center;
    }

    /* form trasparente dark ---------------------------------------------------------- */
    .wpcf7-form {
        padding: 18px;
    }

    /* settori */
    .carosello-settori {
        min-height: 340px;
        padding-block: 72px;
        padding-left: 45px;
    }

    .row_settori .t-entry-visual {
        max-width: 300px;
    }   

    .carosello-verticale.carosello-settori p {
        font-size: 35px;
    }

    .carosello-verticale.carosello-settori .owl-item {
        max-width: 25px;
    }

    /* settori */
    .row_settori {
        max-height: 600px;
    }

    .row_settori .wpb_column:has(video) {
        translate: 0 -104px;
    }

    /* footer */
    .site-info {
        flex-direction: column;
    }
	
	#intro_home p {
        line-height: 1.2;
    }
	/*
	.row_touch-arianna .background-video-shortcode {
        max-width: 275vw;
        max-height: 150vw;
        left: 50% !important;
        transform: translateX(-50%) translateY(25%);
    }
	*/
	.row_touch-arianna .background-wrapper {
		max-height: 60vh;
        top: 50%;
        translate: 0 -50%;
	}
	
	.row_touch-arianna mediaelementwrapper:before {
        opacity: 1 !important;
		height: 100px;
    }
	
	#intro .row.triple-top-padding {
        padding-top: 9px;
    }
	
	.row-background-video .style-dark.uncol .uncoltable .uncell .uncont .vc_row.carosello.carosello-style {
        margin-top: 150px;
    }
}

@media screen and (max-width: 425px) {
}
