/* CUSOM CSS PER THEME DELTA DK */

#sp-header {
    background: transparent;
	height: 60px;
}

#sp-header .container-fluid, #sp-header .container-fluid .container-inner, #sp-header .container-fluid .container-inner .row {
    height: 60px;
}


#sp-logo.col-auto {
    height: 60px;
}

#sp-header .logo {
    height: 60px;
}

#sp-menu {
    height: 60px;
}



/*  BANDIERE LINGUA  Inizio */


.mod-languages img[alt="Italiano (IT)"] {
    content: url("../images/lang/it_it.png");
	width: 22px;
}

.mod-languages img[alt="English (United Kingdom)"] {
    content: url("../images/lang/en_gb.png");
	width: 22px;
}

div.mod-languages ul li {
    opacity: 0.5;
    scale: 0.7;
    transition-duration: 0.5s;
}

div.mod-languages ul li:hover {
    opacity: 1;
	scale: 1;
}

div.mod-languages ul li.lang-active {
    background-color: transparent !important;
	opacity: 1;
    scale: 1;
}

/*  BANDIERE LINGUA  Fine */





.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    line-height: 60px;
}


.sp-menu-item {
    text-transform: uppercase;
}

.sp-megamenu-parent>li.active>a, .sp-menu-item a {
    font-weight: 600;
}

.sp-megamenu-parent>li>a {
    color: #ffffff;
}

.imm-top-mercato .sppb-addon-single-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: -50px; /* parte fuori */
  width: 50px;
  height: 100%;

  /* effetto luminoso */
  background: linear-gradient(
    to left,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );

  animation: scan 2s linear infinite alternate;
}

/* Animazione */
/*
@keyframes scan {
  0% {
    right: -50px;
  }
  100% {
    right: 100%;
  }
  */
  
  
/* Animazione con pausa */
@keyframes scan {
  0% {
    left: -50px;
  }

/*
  10% {
    left: -50px; 
  }
  */

  70% {
    left: 100%;
  }

  100% {
    left: 100%; /* ⏸ pausa a destra */
  }
  
}

#sb-slider.sb-slider {
    border-radius: 15px;
	mask-image: radial-gradient(white, black);
}

/*
#sb-slider.sb-slider .sb-perspective .sb-side {
    border-radius: 15px;
}
*/

#sb-slider.sb-slider .sb-perspective {
    clip-path: inset(0 round 15px);
}


.dk-home-descmacc .sppb-btn {
    border: 5px double #EC430F;
    border-radius: 10px;
}

.dk-home-descmacc .sppb-btn:hover {
    border: 5px double #000000;
}



.dk-box-info-home-macc {
    /* box-shadow: 0 0 5px #ffffff !important; */
	transition: box-shadow 0.3s ease;
}

.dk-box-info-home-macc:hover {
    box-shadow: 0 0 5px #ec6728 !important;
}





/* =========================
   LINK BASE
========================= */
.scopri-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  font-weight: 600;
}

.scopri-link:hover {
  color: #ffffff;
}


.testo {
  position: relative;
  display: inline-block; /* 🔥 fondamentale */
  padding: 0 5px 0 2px;
}

/* linea */
.testo::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: #ec6728;
  transition: width 0.4s ease;
}

/* animazione */
.dk-box-info-home-macc:hover .scopri-link .testo::after {
  width: 100%;
  left: auto;
  right: 0;
}



/* =========================
   ICONA WRAP
========================= */
.icon-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   FRECCIA
========================= */
.freccia {
  width: 40%;
  height: 40%;
  fill: currentColor;
  stroke: none;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* movimento freccia 
.scopri-link:hover .freccia {
  transform: translateX(3px);
}
*/

/* =========================
   CERCHIO SVG
========================= */
.cerchio {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg); /* partenza dall’alto */
}

/* effetto compasso */
.cerchio circle {
  fill: none;
  stroke: #ec6728;
  stroke-width: 2;
  stroke-linecap: round;

  stroke-dasharray: 69;   /* lunghezza cerchio */
  stroke-dashoffset: 69;  /* nascosto */

  transition: stroke-dashoffset 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* hover → disegna cerchio */
.dk-box-info-home-macc:hover .scopri-link .cerchio circle {
  stroke-dashoffset: 0;
}






/*
.eb-1.eb-visible .eb-dialog {
    transform: translateX(0);
}
*/


/* tutte le animazioni di apertura */
/*
.fadeIn,
.bounce,
[class*="fadeIn"],
[class*="bounce"] {
    animation-name: slideInRight !important;
}
*/


/* animazione di chiusura */
/*
.fadeOut,
[class*="fadeOut"] {
    animation-name: slideOutRight !important;
}


@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 1;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 1;
    }
}
*/



.button-iscriz-newsletter-dk {
    background-color: #ec6728;
	border: 2px solid #ec6728;
    color: #FFFFFF;
    padding: 10px 50px;
    /* border-radius: 5px; */
	font-weight: 600;
	transition: background-color 300ms, color 300ms;
}


.button-iscriz-newsletter-dk:hover {
    background-color: #000000;
    color: #ec6728;
}

.titolo-iscriz-newsletetr-dk {
    padding: 20px;
}

/*
#sp-footer {
    box-shadow: 0px 0px 20px 7px rgb(48, 48, 48);
}
*/

#sp-header.full-header {
    background-color: #000000;
}


.dkhome #sp-header.full-header {
    background-color: transparent;
}


/*  Pagina MACCHINE   Inizio   */


.dk-macchine-button {
    color: #FFFFFF;
	border: 0px solid #ffffff;
}


.dk-macchine-tab ul.sppb-nav-custom {
    justify-content: center;
}


/*  Pagina MACCHINE   Fine   */



.convertforms.modulo-contatti-dk .cf-input {
    border: solid 1px var(--input-border-color) !important;
}


.convertforms.modulo-contatti-dk .cf-control-input input {
    border-radius: 0px;
}




.sp-megamenu-parent>li:hover>a {
    color: #ec6728;
}

.sp-megamenu-parent>li.active>a,.sp-megamenu-parent>li.active:hover>a {
    color: #ec6728;
}




/*  CHI SIAMO   Inizio   */


.sp-page-builder .page-content #chi-siamo-dk-sfondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../../../images/chi_siamo/gru_chi_siamo_bn_001.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 50%;

    opacity: 0.3;
}


/*  CHI SIAMO   Fine   */




/*  PRIVACY   Inizio   */

.privacydk h3 {
    color: #ec6728;
}


/*  PRIVACY   Fine   */





/*  Menu hamburger   Inizio   */

.burger-icon>span {
    background-color: #ffffff;
	}

.offcanvas-menu {
    background-color: #27272e;
}

.offcanvas-menu .offcanvas-inner ul.menu>li a, .offcanvas-menu .offcanvas-inner ul.menu>li span {
    color: #ffffff;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 24px;
    line-height: 24px;
	font-weight: 600;
	text-transform: capitalize;
}

/*  Menu hamburger   Fine   */



@media(max-width: 767px) {
	
	.dkhome #sp-header.full-header {
    background-color: #000000;
	}
	
	.burger-icon>span {
    background-color: #ffffff;
	}
}


@media(max-width: 919px) {
	
	.burger-icon>span {
    background-color: #ffffff;
	}
}

