/*
Theme Name: Scarmobil
Theme URI: https://scarmobil.scar.it
Author: Scar
Author URI: https://scarmobil.scar.it
Description: Theme for Scar Mobil
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scarmobil
Template: twentytwentyfive

*/

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/poppins-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/poppins-v21-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/*------------------------------------------------------------------------------------------------------------------GLOBAL*/
body{
    background-color: #f4f4f6;
	max-width:100vw !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin: 0;
    width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px) / 2); /*Una sola colonna di immagini su mobile*/
}

p{
	font-family: 'Poppins';
	font-weight: 400;
	font-size:16px;
}


/*LINK
 * a1 => Link animazione linea sottolineatura
*/
a:focus{
	text-decoration:none;
}

:where(.wp-site-blocks *:focus) {
    outline-width: 0;
    outline-style: none;
}

.a1 {
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
	line-height:1;
    color: #FFF;
}

.a1:hover::after,
.a1:focus::after{
    width: 100%;
    transition: width .3s;
}

.a1::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #D40075;
    transition: width .4s;
}

.shadow{
	box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.shadow2{
	box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

@media (max-width: 768px) {
	.rv{
		display: flex !important;
		flex-direction: column-reverse !important
	}
}


.but{
	background-color: #d40075;
    font-family: 'poppins';
    font-weight: 900;
    cursor: pointer;
    height: auto;
}

.but a{
	color:white;
	transition: all .5s !important;
}

.but:hover{
	background: #c4c4c4 !important;
    color: rgb(106.75, 106.75, 106.75) !important;
}

/*-----------------------------------------------------------------------------------------------------------------------FAST VALUES*/

.mb{
	margin-bottom:64px !important;
}

.z1{
	z-index: 10 !important;
}

.z{
	z-index: 100 !important;
}


@media only screen and (max-width: 768px) {
    .reverse{
        display: flex;
        flex-direction: column;
    }
}

/*---------------------------------------------------------------------------------------------------------------------------HEADER*/
header{
    background-color: white;
    position: sticky !important;
    top: 0;
    z-index: 200 !important;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container{
    left: 0;
    right: auto;
}

.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
    height: auto;
    min-width: 300px;
    opacity: 1;
    overflow: visible;
    visibility: visible;
    width: auto
}

header nav ul li ul{
    z-index: 201 !important;
}

header nav ul li a span,
header nav ul li button{
    font-weight: 900 !important;
    text-decoration: none;
    display: inline-block;
	line-height:1;
    color: #333333 !important;
    font-family: 'poppins';
}

header nav ul li a span:hover{
    color: #5e5e5e !important;
}

header nav ul li a span:hover::after,
header nav ul li button:hover::after
{
    width: 100%;
    transition: width .3s;
}

header nav ul li a span::after{
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #D40075;
    transition: width .4s;
}

header nav ul li ul li a{
    height: 46px;
    color:#333333;
    border-bottom: 1px solid #dcdcdc;
}

header nav ul li ul li a:hover{
    background-color: #dcdcdc;
}

header nav ul li ul li{
    
}

header nav ul li ul li:hover a span{
   color: #5e5e5e !important;
}

header nav ul li ul li a span{
    margin-top: auto;
    margin-bottom: auto;
}

header nav ul li ul li a{
    text-decoration: none !important;
}

header nav ul li ul li a span:focus::after{
}

header nav ul li ul li a span::after{
    display: none;
}

.has-global-padding {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

.has-global-padding > .alignfull {
    margin-right: 0;
    margin-left: 0;
}

header .hdr-gr .hdr-rg{
    min-width: 90vw !important;
    display: flex;
    padding: 0 24px !important;
    margin-right: 0 !important;
    margin-left: auto;
}

header .hdr-gr .hdr-rg .logo{
    height: 100%;
    width: auto;
    max-width: 75vw; 
    flex: 1 1 auto;
    margin: 12px auto;
}

header .hdr-gr .hdr-rg .menu{
    flex: 1 0 auto;
}

header .hdr-gr .hdr-rg .menu .consul{
    background-color: #d40075 !important;
    text-transform: uppercase;
    margin-right: -24px;
    cursor: pointer;
}

header .hdr-gr .hdr-rg .menu .consul a{
    padding: 24px 36px;
}

header .hdr-gr .hdr-rg .menu .consul a span{
    color:#fff !important;
    font-size: 900 !important;
    text-decoration: none !important;
}

#modal-1-content > ul > li.wp-block-navigation-item.consul.wp-block-navigation-link > a:hover{
    background-color: #dcdcdc !important;
}

#modal-1-content > ul > li.wp-block-navigation-item.consul.wp-block-navigation-link > a:hover span{
    color: #5e5e5e !important;
}

header .hdr-gr .hdr-rg .menu .consul a span::after {
    display: none;
}



@media only screen and (max-width: 768px) {
    header .hdr-gr .hdr-rg .menu .wp-block-navigation-submenu li a{
        padding: 0 24px !important;
        max-width: auto;
        width: 200px;
        text-align: end;
        display: flex;
        justify-content: flex-end;
    }

    header .hdr-gr .hdr-rg .menu .wp-block-navigation-submenu li a span{
        line-height: 1.2;
    }
    
    header .hdr-gr .hdr-rg .menu .consul{
        width: 100vw;
        
    }
    
    header .hdr-gr .hdr-rg .menu .consul a{
        font-size: 20px;
        padding: 12px 24px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    header .hdr-gr .hdr-rg .menu .consul{
        font-size: 12px;
    }
    
    header .hdr-gr .hdr-rg .menu .consul a{
        padding: 16px 24px;
    }
    
    header nav ul li a span,
    header nav ul li button{
        font-size: 12px;
    }
}

/*-----------------------------------------------------------------------------------------------------FORM*/

.form{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 80vh;
    background-color: white;
    padding: 64px 32px !important;
}

.nf-form-content{
    max-width: 500px;
}

.nf-form-content input:not([type=button]), textarea{
	background-color: white;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    box-shadow: none;
    color: #333333;
    transition: all 1.5s;
	font-family:'poppins';
}

textarea{
    max-width: 500px;
    min-width: 300px;
}

.nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
    height: 30px;
}

.nf-form-content .ninja-forms-field {
    padding: 6px 12px;
}

.nf-field-container {
    clear: both;
    position: relative;
    margin-bottom: 12px;
}

#nf-field-23-container .field-wrap>div input[type=checkbox]{
	height: 16px;
}

#nf-field-5-container{
	margin-top:12px;
}

.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea::placeholder,
#nf-field-5{
	font-family:'poppins';
	font-size:12px;
}

#nf-field-5 option{
	font-size:14px;
	cursor:pointer;
	border-radius:0;
}

.nf-form-content label {
    font-size: 14px;
    line-height: 10px;
}

.label-above .nf-field-label {
    margin-bottom: 0px;
}

.nf-field-label label {
    font-weight: 900;
    margin-bottom: 0 !important;
    text-transform: uppercase;
    padding: 0;
    color: #333333;
}

.nf-error.field-wrap .nf-field-element:after {
	background: #d40075;
}

.nf-error .ninja-forms-field {
    border-color: #d40075 !important;
}

.nf-error-msg, .ninja-forms-req-symbol {
    color: #d40075;
}

.nf-error .nf-error-msg {
    color: #d40075;
    font-family: 'Poppins';
    font-size: 12px;
}


:root :where(.wp-block-post-content a:where(:not(.wp-element-button))) {
    color: #d40075;
    font-family: 'poppins';
    text-transform: capitalize;
    font-weight: 800;
    font-size: 13px;
}

.nf-form-content input[type=submit]{
    background-color: #d40075;
    color: white;
    font-family: 'poppins';
    font-weight: 900;
    font-size: 18px;
    padding: 15px 64px !important;
    cursor: pointer;
    height: auto;}

.nf-form-content input[type=submit]:hover{
    background-color: #dcdcdc;
    color: #5e5e5e;
}


.nf-before-form-content{
	display:none;
}

.nf-field-label label, #nf-field-205-wrap p  {
    font-family: 'poppins';
    color: #333333;
}

.nf-field-label label{
    font-size: 14px;
}

.ninja-forms-req-symbol {
    color: #d40075;
}

.label-above .nf-field-label{
    margin-bottom: 0px !important;
}

.nf-form-content .list-select-wrap>div select{
    font-family: 'poppins';
    color: #5e5e5e;
    font-size: 13px;
}

.nf-pass.field-wrap .nf-field-element:after {
    display: none;
}

#nf-label-field-23, #nf-label-field-23 a{
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    font-size: 14px;
}

#nf-label-field-23 a:hover{
    color: #5e5e5e;
}

#nf-form-errors-2{
    font-family: 'poppins';
    opacity: 0.7;
    font-style: italic;
    font-size: 14px;
}


/*PAGINA CONTATTI*/

.frm{
    gap:0 !important;
}

.cont-im-box{
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
}

.cont-im-box .ts{
    margin: 48px 24px !important;
}

.cont-im-box .im
{
    flex: 1 0 auto;
    overflow: hidden;
    width: 100%;
}

.cont-im-box .im img{
    width: 100%;
	height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .frm{
        display: flex;
        flex-direction: column;
    
}
}




.has-global-padding {
    padding-top: 32px;
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
    padding-bottom: 32px;
}

h3 {
    font-size: var(--wp--preset--font-size--x-large);
    margin-bottom: 0px;
    font-family: 'poppins';
    font-weight: 300;
    font-size: 24px;
}

.nf-pass.field-wrap .nf-field-element:after {
    color: green;
    font-family: FontAwesome;
    font-size: 24px;
    content: "\f058";
    position: absolute;
    top: 0;
    right: 16px;
    height: 36px;
    line-height: 38px;
    transition: all .5s;
}
.nf-label-span{
    font-family: 'poppins';
    font-size:14px;
}


h1{
	text-transform:uppercase;
	font-family:'poppins';
	font-weight:600;
	font-size:34px;
	color:#333333;
	margin-top:64px;
	margin-bottom:32px;
	text-align:center;
}

#button-2 {
  display: inline-flex;
  height: 80px;
  width: auto;
  border: 2px solid #333;
  margin: 0px;
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .8em;
  letter-spacing: 1.5px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#button-2 a {
  font-family: "poppins";
  color: #333;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  transition: all .35s ease-Out;
	font-size:14px;
	text-align:center;
}

#slide {
  width: 100%;
  height: 100%;
  left: -100%;
  background: #d40075;
  position: absolute;
  transition: all .35s ease-Out;
  bottom: 0;
}

#button-2:hover #slide {
  left: 0;
}

#button-2:hover a {
  color: white;
}

#button-2 a:active, #button-2 a:focus{
  border: 0 !important;
  outline-style: none;
}

#button-2:hover{
    border: 2px solid white;
}

.posizione {
    font-family: 'poppins';
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.minit{
	font-family:'poppins';
	font-weight: 900;
	color:#d40075;
}

.nm{
	margin-top:0;
}


/*_________________________SLIDER______________________*/
#uuid-11102ab2-fec0-4cc3-9aee-4abd498f216c{
	width:360px !important;
	max-width:80vw !important;
	height:auto;
	margin-top:16% !important;
}

.uuid{
	margin-top:12px !important;
	word-wrap: nowrap;
}

.bg-all{
	background-repeat: repeat-x;
	background-size: contain !important;
	margin-top: -64px;
    z-index: -10;
}

.bg-bl{
	background-color:#333333;
	color:white;
}

.bg-wh{
	background-color:white;
}

@media only screen and (max-width: 600px) {
	.bg-all{
	background-repeat: repeat-x;
	background-size: cover !important;
	margin-top: 0px;
    z-index: -10;
	}
}


/*---------------------------------------------------------------------------------BLOCCHI PERSONALIZZATI*/
/*TESTO + IMMAGINE
 * ti1 => Usato per il primo blocco delle pagine
 * ti3 => Usato per blocco iniziale pagina allestimento
 * ti4 => Usato per blocco testo e pagina corpo
 * ti2 => Usato per blocco mosaico con img estese oltre il body di 1280px
 * cat => Usato per il blocco catalogo e chi siamo
 */
.block-ti1{
	background-color:#fff;
	min-height: 620px;
}

.block-ti1 .wp-block-column{
	margin-left:auto;
	margin-right:auto;	
}

.block-ti1 .wp-block-column .wp-block-media-text__content{
	margin-top:0 !important;
	margin-bottom:auto;
	min-height: 620px;
}

.block-ti1 .wp-block-column .wp-block-media-text__content h1{
	font-weight:900;
	margin-top: 24px;
	margin-bottom: 16px;
	    font-size: 40px !important;
}

.block-ti1 .wp-block-column .wp-block-media-text__content h1 strong{
	color:#d40075 !important;
	font-weight:900 !important;
}


.block-ti1 .wp-block-column .wp-block-media-text__content p{
	margin-bottom:64px;
}

.block-ti1 .g-t{
	color: #8D888A !important;
    font-size: 12px !important;
    font-weight: 600;
    font-family: 'poppins';
}

.block-ti1 .pag-sli{
    position: relative;
}

.gr{
    position: absolute;
    bottom: 0 !important;
    padding: 24px 32px 12px 24px !important;
    background-color: #f4f4f6;
}

.gr .ancor{
    text-decoration: none;
    font-size: 14px;
    color: #5e5e5e;
    font-weight: 900;
}

.hp h1{
    font-weight: 300 !important;
    text-transform: none;
    font-size: 3rem !important;
    line-height: 1;
	margin-top:6px;
}

#uuid-11102ab2-fec0-4cc3-9aee-4abd498f216c{
    max-width: 400px;
}

#uuid-11102ab2-fec0-4cc3-9aee-4abd498f216c .mac {
  transform: translateX(-300px);
}

.block-ti1:hover .mac {
  animation: fase1 0.5s ease-in forwards,
             fase2 1s ease-out 0.5s forwards,
             oscillazione 1.5s ease-in-out 1.5s infinite alternate;
}

@keyframes fase1 {
  from {
    transform: translateX(-300px);
  }
  to {
    transform: translateX(-350px);
  }
}

@keyframes fase2 {
  from {
    transform: translateX(-350px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes oscillazione {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-300px);
  }
}


   

@media only screen and (max-width: 768px){
    .hp h1, .block-ti1 .wp-block-column .wp-block-media-text__content h1{
        font-size: 2rem !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hp h1, .block-ti1 .wp-block-column .wp-block-media-text__content h1{
        font-size: 1.6rem !important;
    }
}






.block-ti2{
	display:flex;
	gap:0 !important;
	margin-top:0;
	max-width:100vw !important;
}

.block-ti2 .ctextr{
	flex:1;
	display: flex;
    justify-content: flex-end;
}

.block-ti2 .ctextl{
	flex:1;
	display: flex;
    justify-content: flex-start;
}

.block-ti2 .ctextr h3, .block-ti2 .ctextr p, .block-ti2 .ctextl h3, .block-ti2 .ctextl p{
	padding-left:46px;
	padding-right:46px;
}

.block-ti2 .ctextr h3, .block-ti2 .ctextl h3{
	padding-top:46px;
	margin-bottom:12px;
}

.block-ti2 .ctextr p, .block-ti2 .ctextl p{
	text-justify:auto;
	margin:32px auto 42px auto;
}

@media (max-width: 768px) {
    .block-ti2 .ctextr {
        order: 1; /* Imposta l'ordine per ultimo */
    }
	.block-ti2 .cim{
		order: 0; /* Imposta l'ordine per ultimo */
	}
}

.block-ti2 .ctext .g{
	max-width: 640px;
}

.block-ti2 .wp-block-button{
	background-color: #d40075;
    font-family: 'poppins';
    font-weight: 900;
    cursor: pointer;
    height: auto;
}

.block-ti2 .wp-block-button a{
	color:white;
	transition: all .5s !important;
}

:root :where(.wp-element-button:hover, .wp-block-button__link:hover){
	background: #c4c4c4 !important;
    color: rgb(106.75, 106.75, 106.75) !important;
}

.block-ti2 .cim{
	flex:1;
	position: relative;
	background-color:green !important;
	overflow: hidden;
	padding:0;
	height:420px;
}

.block-ti2 .cim img{
	position:absolute;
    height: 100%;
    width: 100%;
	left:0;
    top: 50% !important;
    transform: translateY(-50%);
    bottom:auto;
	object-fit: cover;
}

.block-ti2 .cimm img{
	top: -6px;
	bottom:auto;
}



@media (max-width: 768px) {
	.block-ti3{
		padding: 24px;
	}
}

.block-ti3 .wp-block-column{
	padding-top: 0px;
    padding-right: 0;
    padding-bottom: 128px !important;
	max-width: 580px;
} 

.block-ti3 a{
	color:#d40075; 
	font-size:12px; 
	font-weight:900;
	align-content:center;
}

.block-ti3 p a{
	font-family:'open sans';
	color:#d40075; 
	text-decoration:none;
	font-size:16px; 
	font-weight:900;
	text-transform:none;
}

.block-ti3 p a:hover{
	color:#333333;
}

.block-ti3 span{
	color:#8D888A !important; 
	font-size:12px !important; 
	font-weight:600; 
	font-family:'poppins';
}

.block-ti3 h1{
	font-family:'poppins';
	font-size:28px; 
	font-weight:900; 
	color:#333333;
	text-align:left;
	margin-bottom:12px;
}

.block-ti3 img{
	float:right;
	height:auto;
	width:500px;
}

.block-ti4{
	background-color:white;
	padding:64px 42px;
	border-bottom:solid lightgray 1px;
	margin: 0 auto 0 auto;
	margin-bottom:0 !important;
}

.block-ti4 h2{
	font-family:'poppins';
	font-size:2.2rem; 
	font-weight:500; 
	color:#333333;
	margin-top: 0px;
	line-height: 1;
}

.block-ti4 h4{
	font-family:'poppins';
	font-size:1.1rem; 
	font-weight:900; 
	text-transform:uppercase;
	color:#d40075;
}

.block-ti4 p{
	margin: 16px auto 32px auto;
}

.block-ti4 p a{
	font-family:'open sans';
	color:#d40075; 
	text-decoration:none;
	font-size:16px; 
	font-weight:900;
}

.block-ti4 p a:hover{
	color:#333333;
}

.bg-bl p a{
	font-family:'open sans';
	color:#f4f4f9; 
	text-decoration:underline;
	font-size:16px; 
	font-weight:900;
	text-transform:none;
}

.bg-bl p a:hover{
	color:#ffffff;
}

.bg-wh p a{
	font-family:'open sans';
	color:#d40075; 
	text-decoration:underline;
	font-size:16px; 
	font-weight:900;
	text-transform:none;
}

.bg-wh p a:hover{
	color:#333333;
}

@media (max-width: 768px) {
	.all-body{
		margin: 24px;
	}
}

.naviga{
	background-color:#d40075;
	padding-top: 24px !important;
	padding-bottom: 20px !important;
}

.naviga .wp-block-column{
	display: flex;
	justify-content: center;
}

.naviga .nav-p a{
	margin-right: 0;
    margin-left: auto;
	text-transform: uppercase;
}

.naviga .nav-c{
	margin-right: auto !important;
	margin-left: auto !important;
}

.naviga .nav-n a{
	margin-right: auto;
    margin-left: 0;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.naviga .nav-p a, .naviga .nav-n a{
		margin-right: auto;
		margin-left: auto;
	}
}

.naviga .nav-p a, .naviga .nav-n a,
.naviga .nav-p span, .naviga .nav-n span
{
	font-size:18px;
	color:#f4f4f6;
	font-weight:900;
	font-family:'poppins';
}

.naviga .nav-p a:hover, .naviga .nav-n a:hover{
	color:#333333;
}

.uuid-95c459fd-5d66-4fe8-9a9f-c993af7ad7a3, .uuid-59e4efca-035f-4494-b464-22833f8f8124 {
	fill:#f4f4f6;
}

.uuid-95c459fd-5d66-4fe8-9a9f-c993af7ad7a3:hover{
	fill:#333333;
}

.uuid-59e4efca-035f-4494-b464-22833f8f8124:hover{
	fill:#d40075;
}





.cats:where(.wp-block-columns.has-background){
    padding: 0;
}

.cat .cat1{
    display: flex;
}

.cat .cat1 .cat-l{
    padding: 0 !important;
    max-width: 100%;
    flex: 1 1 auto;
    background-color: white;
    margin-top: auto;
    margin-bottom: 64px;
}

.cat .cat1 .cat-l h5,
.cat .cat2 .cat-r h5
{
    font-family: 'poppins';
    font-weight: 900;
    padding-top: 32px !important;
}

.cat .cat1 .cat-l h5,
.cat .cat1 .cat-l h2,
.cat .cat1 .cat-l p{
    padding: 0 32px;
}

.cat .cat1 .cat-l a,
.cat .cat2 .cat-r a{
    color: white;
    transition: all .5s !important;
    font-family: 'poppins';
    font-weight: 900;
    font-size: 16px;
    margin-top: 24px;
}

.cat .cat1 .cat-r{
    flex: 1 0 auto;
    max-width: 50%;
	padding-top: 0 !important;
}

.cat .cat1 .cat-r img{
    width: 100% !important;
    height: auto;
}

.cat .cat2{
    display: flex;
}

.cat .cat2 .cat-r{
     padding: 0 !important;
    flex: 1 1 auto;
    background-color: white;
    margin-top: auto;
    margin-bottom: 64px;
}

.cat .cat2 .cat-r h5,
.cat .cat2 .cat-r h2,
.cat .cat2 .cat-r p{
    padding: 0 32px;
}

.cat .cat2 .cat-l{
    flex: 1 0 auto;
    max-width: 50%;
}

.cat .cat2 .cat-l img{
    width: 100% !important;
    height: auto;
}


@media only screen and (max-width: 768px) {
    .cat .cat2 .cat-l,
    .cat .cat1 .cat-r{
        max-width: 100%;
    }
    
    .cat .cat1{
        flex-direction: column-reverse;
        gap:0;
    }
    
    .cat .cat2{
        gap:0;
    }
}




.cat-1 p,
.cat-2 p{
    min-height: 140px;
}

.cat-1 h5,
.cat-1 h2,
.cat-1 p{
    padding: 0 42px 0 42px !important;
}

.cat-2 h5,
.cat-2 h2,
.cat-2 p{
    padding: 0 32px 0 0 !important;
}

.cat-1 .wp-block-buttons-is-layout-flex{
    padding: 0 42px 0 42px !important;
}

.cat-2 .wp-block-buttons-is-layout-flex{
    padding-left: 0 !important;
}

.cat1.wp-container-core-columns-is-layout-7d874bf9 {
    gap:0;
}

.cat .cat1 .cat-l {
    margin-top:24px;
    margin-bottom: 32px;
}


@media only screen and (max-width: 768px) {
    .cat-2 h5,
    .cat-2 h2,
    .cat-2 p,
    .cat-2 .wp-block-buttons-is-layout-flex{
        padding: 0 42px 0 42px !important;
    }
    
    .cat .cat1 .cat-l {
        margin-top:0px;;
    }
    
    .cat .cat1 .cat-l {
        margin-bottom: 24px;;
    }
    
    .wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
        width: 100%;
    }
}










/*------------------------------------------------------------------------------------------------------BLOCCHI SLIDER
 * .prd-swiper => Piccolo slider di mezza colonna che mostra uno slider (1 proddotto alla volta) con descrizione prodotto
 * .all-gall => Slider di immagini (4 prodotti per riga su desktop e 1 per phone) zoomabili che mostra gli allestimenti nel dettaglio
 * */

.prd-swiper .prd-slide .wp-swiper__slide-content{
	max-width:80% !important;
	margin-left:0;
	margin-right:auto;
	padding:24px;
}

.prd-swiper .prd-slide .wp-swiper__slide-content .prd-img a, .prd-swiper .prd-slide .wp-swiper__slide-content .prd-img{
	font-family:'open sans';
	font-size:15px;
}

.prd-swiper .prd-slide .wp-swiper__slide-content .prd-img a, .prd-swiper .prd-slide .wp-swiper__slide-content .prd-img strong{
	    font-size: 18px;
	    font-weight: 900;
	font-family:'poppins';
}


.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: #d44075 !important;
}

.swiper-button-next, .swiper-button-prev {
	color: #d44075 !important;
}

.swiper-button-next:focus, .swiper-button-prev:focus {
    outline-width: 0px !important; 
    outline-style: none !important; 
}





.all-gall{
    background-color: #ffffff;
}

.all-gall .gall-info{
    margin-bottom: 32px;
    padding: 32px 24px;
}

.all-gall .gall-info img{
    margin: -148px auto auto 0px;
}

.all-gall .gall-info h4{
    font-size: 18px;
    font-family: 'poppins';
    font-weight:900 !important;
    color: #d40075;
}

.all-gall .gall-info h2{
	margin-top:0;
    font-size: 24px;
    font-weight:300;
    font-family: 'poppins';
    color: #333333;
}

.all-gall .gall-info h2 b{
    font-weight:900;
}

.all-gall .gall-info p{
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.all-gall .gall-info a{
    margin-top: 0px !important;
	font-size: 16px;
}

.all-gall .gall-sw .swiper-button-prev,
.all-gall .gall-sw .swiper-button-next{
    background-color: #ffffff;
    padding: 14px;
    margin-right: -10px;
    margin-bottom: -14px;
}

.all-gall .gall-sw .swiper-button-prev:hover,
.all-gall .gall-sw .swiper-button-prev:active,
.all-gall .gall-sw .swiper-button-next:hover,
.all-gall .gall-sw .swiper-button-next:active{
    color: #5e5e5e !important;
    background-color: #dcdcdc;
}


/*_________________________BLOCCO GRIGLIA ALLESTIMENTI______________________*/

:root :where(.is-layout-constrained) > *{
    margin-block-start: 0 !important;
}

.all-gall-row{
    gap:0 !important;
    overflow: hidden;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    content: "";
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    max-height: 0;
}

.all-gall-row.has-nested-images figure.wp-block-image figcaption{
    padding: 0;
    margin-left: 24px;
    margin-right: auto;
    margin-bottom: 12px;
    width: 70%;
    background: none;
    display: flex;
    overflow: hidden;
} 

.all-gall-row.has-nested-images figure.wp-block-image figcaption a{
    margin-bottom: : 1rem !important;
    font-size: 24px;
    font-family: 'poppins';
    font-weight: 700;
    text-decoration: none;
    text-align: left;
    line-height: 1;
}

.all-gall-row .zoom{
    overflow: hidden;
    position: relative;
    background: linear-gradient(0deg, #011, #0000);
}

.all-gall-row .zoom img {
    display: block; /* Rimuove lo spazio extra sotto l'immagine */
    width: 100%; /* Assicura che l'immagine occupi lo spazio disponibile */
    height: auto; /* Mantiene le proporzioni */
    transition: transform 1s linear, filter 1s linear; /* Transizione per l'immagine */
}

.all-gall-row .zoom figcaption a {
    transition: text-shadow 0.6s linear; /* Transizione per l'ombra del testo */
    color: inherit; /* Assicura che il colore del testo sia lo stesso del genitore, se non specificato altrove */
    text-decoration: none; /* Rimuove la sottolineatura di default dei link, se desiderato */
    text-shadow: 2px 2px 0px #333333, 4px 4px 0px rgba(0,0,0,0.4); /* Ombra testuale bianca */
}

.all-gall-row .zoom:hover img {
    transform: scale(1.2) translate(10px, -10px); /* Ingrandisce e sposta l'immagine */
    filter: blur(3px); /* Applica il blur all'immagine */
}

.all-gall-row .zoom:hover figcaption a {
    text-shadow: 1px 1px 0px #333333, 2px 2px 0px rgba(0,0,0,0.25); /* Ombra testuale bianca */
}


/*---------------------SLIDE EFFECT-----------------------*/

section {
display: flex;
flex-flow: column;
align-items: center;
padding:0 !important;
	margin-top: -164px;
	z-index:10;
}

section div.container {
transition: all .3s ease;
}

@media (max-width: 992px) {
section {
padding: 0 0px 0 20px;
}
}

.sl-h{
	margin-top:-120px !important;
}

section.slide-option {
margin: 0;
}

section.slide-option .no-marg {
margin: -90px 0 0 0 !important;
}

div.highway-slider {
display: flex;
justify-content: center;
width: 100%;
height: 300px;
}

div.highway-slider div.highway-barrier {
overflow: hidden;
position: relative;
}

div.highway-slider ul.highway-lane {
display: flex;
height: 100%;
margin: 0;
}

div.highway-slider ul.highway-lane li.highway-car {
flex: 1;
display: flex;
justify-content: center;
align-items: flex-end;
background: #fff;
color: #343434;
}

div.highway-slider ul.highway-lane li.highway-car img {
height: 99.4% !important;
}

@keyframes translatestf {
0% { transform: translateX(100%); }
100% { transform: translateX(-500%); }
}

#stffull div.highway-barrier ul.highway-lane {
width: 100%;
}

#stffull div.highway-barrier ul.highway-lane li.highway-car {
animation: translatestf 30s linear infinite;
}

#stffull div.highway-barrier ul.highway-lane li.highway-car img{
	    margin-right: 12px !important;
    margin-left: 12px !important;
}


#stffull div.highway-barrier ul.highway-lane li.highway-car h4 {
font-size: 28px;
}

@keyframes translateinfinite {
100% { transform: translateX(calc(-180px * 12)); }
}

#infinite div.highway-barrier {
background: #f4f4f6;
	box-shadow: 0 4px 6px -6px gray;
}

#infinite div.highway-barrier::before,
#infinite div.highway-barrier::after {
content: " ";
position: absolute;
z-index: 9;
width: 180px;
height: 100%;
}

#infinite div.highway-barrier::before {
top: 0;
left: 0;
background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

#infinite div.highway-barrier::after {
top: 0;
right: 0;
background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

#infinite div.highway-barrier ul.highway-lane {
width: calc(180px * 26.85);
}

#infinite div.highway-barrier ul.highway-lane li.highway-car {
width: 180px;
animation: translateinfinite 45s linear infinite;
}

/*_________________________BLOCCO SLIDER VANTAGGI______________________*/

.van{
    width: 900px !important;
    max-width: 96vw !important;
    background-color: #d40075;
    padding: 24px 24px 12px 24px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 6px;
}

.van1{
    width: 100% !important;
    max-width: 100vw !important;
    background-color: #333333;
    padding: 24px 48px 12px 48px;
    margin-left:24px;
	margin-right:24px;
    margin-top: 0px;
    margin-bottom: 0px;
    z-index: -10;
}

.van p{
    color: #f4f4f6;
    font-family: 'poppins';
    font-size: 24px;
    font-weight: 500;
}

.van1 p{
    color: #dcdcdc;
    font-family: 'poppins';
    font-size: 24px;
    font-weight: 500;
	line-height:1;
}

.dk-sl .dek{
    height: auto;
    width: 800px;
    max-width: 70vw;
    background-color: white;
    padding: 24px 48px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 64px;
    cursor: pointer;
}

.dk-sl .dek h4{
    margin-bottom: 0;
    margin-top: 16px;
    font-family: 'poppins';
    font-size: 22px;
    font-weight: 900;
    color: #d40075;
}

.dk-sl .dek p{
    margin-top: 0;
}



/*FOOTER*/
footer{
	margin-top:0;
}

footer .ft{
    margin: 24px auto;
    padding-top: 32px;
}

footer .ft h4,footer .ft p{
    font-family: 'poppins';
    color:#333333;
}

footer .ft .link-simple{
    font-family: 'poppins';
    color:#d40075;
    font-weight: 700;
	font-size:14px;
	text-decoration:none;
	color#d40075;
}

footer .ft .link-simple:hover{
    color: #5e5e5e;
}

footer .u-ft{ 
    padding: 12px auto !important;
}
