.header{
  padding: 0!important;
}

.header .logo img {
  max-height: 80px;
  margin-right: 6px;
  margin-bottom: 20px;
  margin-top: 20px;
}

/*--------------------------------------------------------------
# Fullscreen Hero Section
--------------------------------------------------------------*/
.hero-fullscreen {
  width: 100%;
  height: 75vh;
  background: url(https://www.delucchicostruzioni.com/sites/default/files/styles/slideshow/public/271A0685.JPG) center center;
  background-size: cover;
  position: relative;
  padding: 120px 0 60px;
}

.about .btn-get-started,
.portfolio-details .btn-get-started {
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--color-primary);
  font-family: var(--font-secondary);
}

.portfolio-details .btn-get-started {
  margin-top: 45px;
  margin-left: 85px;
}

.recent-blog-posts .post-box:hover .post-img img {
  transform: none;
}
.fixed-top{
  top: auto;
  z-index: 9;
  position: sticky;

}
/** overlayblog
**/

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(120, 120, 120, 0.6);
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.post-box {
  box-shadow: rgba(var(--color-secondary-rgb), 0.2) 0px 10px 15px -3px, rgba(var(--color-secondary-rgb), 0.2) 0px 4px 6px -2px;
  padding: 30px;
  margin: 10px;
  margin-top: 0px;
  border-radius: 10px;
  min-height: 255px;
}

.post-box .overlay {
  width: 0%;
  filter: 0;
}

.post-box:hover .overlay {
  width: 100%;
}

.recent-blog-posts .post-box .post-img {
  overflow: hidden;
  position: relative;
  border-radius: 0px;
  margin: -30px;
}

.recent-blog-posts .post-box .meta {
  margin-top: 45px;
}

.post-box .post-img img {
  filter: blur(0);
}

.post-box:hover .post-img img {
  filter: blur(10px);
  transition: .5s ease;
}

.hero-fullscreen .swiper-wrapper {
  position: absolute;
  top: 0;
}

.hero-fullscreen .swiper-slide {
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-fullscreen .swiper-slide h2, 
.hero-fullscreen-colore h1, 
.tittle_slider, .tittle_testata {
  font-size: 3.8rem!important;
  font-weight: 800;
  color: #383838!important;
  line-height: 4rem;
  text-align: center;
  /* text-shadow: 2px 2px 5px #666; */
}

.hero-fullscreen .swiper-slide h1{
  color: #fff;
}

.hero-fullscreen .swiper-slide p {
  font-size: 1.8rem;
  font-weight: 800;
  color: #383838;
  letter-spacing: 1px;
  /* text-shadow: 2px 2px 5px #666; */
  line-height: 1.4rem;
  text-align: center;
  padding: 20px 0;
}

.swiper-slide .btn.btn-banner{
  font-size: 20px!important;
}

.hero-fullscreen .btn-get-started.scrollto{
  color: #383838;
  margin-top: 20px;
}

.blog .blog-details {
  box-shadow: none;
  padding: 0 30px;
}

.header {
  background: white;
  /* border-bottom: 3px solid var(--color-primary); */
}

h1, h2, h3, h4, h5, h6,
.onfocus .content .read-more,
.pricing h4 {
  font-family: var(--font-secondary);
}

p {
  color: #333;
  line-height: 1.6;
  font-style: normal;
}

.cta {
  background: rgba(var(--color-secondary-rgb), 0.1);
  margin-bottom: 0;
}

.cta .container {
  background: none;
}

.php-email-form {
  background: var(--color-primary) !important;
}

#contact {
  background: var(--color-primary);
  color: white;
}

#contact h2, #contact p {
  color: white;
}

#contact .info {
  background: white;
}

#contact .info h3,
#contact .info-item h4,
#contact .info-item p {
  color: #333;
}

.php-email-form-button {
  background: white !important;
  color: #333 !important;
}

.post-box.inverse .post-box:hover .arrow, .post-box .inverse .post-box:hover .arrow:after {
  opacity: 1;
}

.post-box .arrow {
  position: absolute;
  z-index: 930;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  font-size: 1.5rem;
  line-height: 95px;
  padding: 0;
  border: none;
  transition: all 0.4s;
  background-color: white;
  color: #999;
  border-radius: 100%;
}

.overlay {
  text-align-last: center;
  padding: 35% 0;
}

.overlay h2 {
  color: white;
}
#faq .swiper-slide-duplicate-prev{
  opacity: 0 !important;
  transition-duration: 0ms !important;
}
#faq .swiper-slide-next{
  opacity: 0 !important;
  z-index: 0!important;
  transition-duration: 0ms !important;
}

.img-body{
  height: 300px;
  float: right;
  margin: 10px;

}
.img-body-left{
  height: 300px;
  float: left;
  margin: 10px;

}

.portfolio .portfolio-item:before {
  content: "";
  inset: 0;
  position: absolute;
  background: rgba(var(--color-primary-rgb), 0.4);
  z-index: 2;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 3;
  right: 15px;
  transition: all 0.3s;
  padding: 10px 15px;
  height: 100%;
  display: flex;
  justify-content: center;
  vertical-align: middle;

}

.descrizione{
  padding: 10px;
  text-align: center;
}
.display-none{
  display: none;
}

.carosello {
  height: 80vh;
  width: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 1rem;
}
#wellness-gallery .img-gallery-wellness:hover {
  filter: brightness(0.7);
}
.open-image {
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #485664d9;;
}
.close {
  width: 63px;
  height: 73px;
  /* color: #e2bb66; */
  opacity: 1;
  text-shadow: none;
  font-family: "Font Awesome 5 Pro";
  font-size: 28px;
  font-weight: 300;
  background: transparent;
  border: none;
  color: white;
  justify-content: end;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  animation-name: fadeOut;
}


.btn-get-started {
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--color-primary);
  font-family: var(--font-secondary);
}

#services .details p{
  display: -webkit-box;
  height: 68px;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.m-b-50{
  margin-bottom: 50px;
}

.pricing-item > ul > li> span> p{
  margin: 0;
}
.h-325{
  height: 325px !important;
}
.text-align-center{
  text-align: center !important;
}
.style-header{
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 24px;
  color: var(--color-secondary);
}

input[type=text], input[type=email], input[type=tel], input[type=password]{
  line-height: normal;
  height: 48px;
  padding: 10px 15px;
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

textarea{
  resize: vertical;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  min-height: calc(1.5em + 0.75rem + 2px);
  padding: 10px 12px;
}
#contact .btn-get-started {
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 4px;
  transition: 0.5s;
  font-family: var(--font-secondary);
  background: white !important;
  color: #333;
  border: 0;
  padding: 13px 50px;
  transition: 0.4s;
  border-radius: 0;
}

  #contact label.option {
  display: inline;
  font-weight: normal;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  transition: 0.5s;
  font-family: var(--font-secondary);
  border: 0;
  color: var(--color-white);
  transition: 0.4s;
  border-radius: 0;
}

#edit-actions{
  text-align: center;
}

#pricing .pricing-item:hover .overlay{
  width: 100%;
}

#pricing .pricing .pricing-item{
  padding: 0;
}

.btn-get-started:hover {
  background: white;
  border: 1px solid;
  color: var(--color-primary);
}

#contact .btn-get-started:hover{
  color: var(--color-primary);
}

.user-login-form{
  width: 50%;
}

.img-footer{
  height: 7rem;
  width: auto;
}

/* NEW STYLE */

.navbar{
  width: 100%;
  background-color: #707070;
  padding: 10px 0;
}

.nav-link{
  color: #fff!important;
}

/* a:hover.nav-link{
  font-size: 22px;
} */

#navbar .nav-item a{
  color: #fff!important;
  font-size: 1.3rem;
}

.social .nav-item:hover{
  background-color: #ff7f00;
}

.social .nav-item:hover i{
  color: #000;
}

.social.nav li{
  margin-left: 10px;
  background-color: #707070;
  border-radius: 50%;
  padding: 8px 4px;
}

.tipologia_dei_macchinari h3{
  color: #555!important;
  font-size: 2.3rem!important;
}

.card_tipologia{
  width:100%;
  overflow:hidden;
  box-shadow:2px 2px 8px #ccc;
}

.header_tipologia{
  background-color:#ff7f00; 
  height: 80px; 
  padding: 20px;
}

.titolo_macchinari{
  color:#383838!important;
  font-size:1.8rem;
}

.titolo_macchinari a{
  color:#383838;
  font-size:1.8rem;
}

.tipologia-card__image img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.categoria-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.categoria-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.categoria-hero__description {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.categoria-hero__description p{
  font-size: 20px;
}

.categoria-prodotti .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 30px;
}

.view-macchinari-per-tipologia .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 25rem));
  gap: 2rem;
}

.view-macchine .view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;      
  justify-content: flex-start;
}

.view-macchine .views-row {
  flex: 0 0 calc(33.333% - 24px);
  max-width: calc(33.333% - 24px);
}

.macchina-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  background: #fff;
  height: 100%;
}

.macchina-card {
  max-width: 450px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.macchina-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.macchina-card__image img {
  display: block;
  width: 100%;
  height: 340px;
  padding-top: 50px;
  object-fit: cover;
  margin-bottom: 20px;
}

.macchina-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
}

.macchina-card__title, .macchina-card__title a{
  display: inline-block;
  color: #000;
}

.macchina-card__underline {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 6px;
  background-color: #ff7f00;
}

.tipologia-card__image:hover, .macchina-card:hover, .macchina-gallery__item:hover, .social .nav-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.15s ease-out;
}

.macchina-banner {
  background: #ff7f00;
  color: #fff;
  padding: 40px 0 30px;
  text-align: center;
}

.macchina-banner__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.btn-banner {
  background: #fff;
  color: #000;
  border-radius: 0;
  padding: 10px 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.macchina-breadcrumb {
  padding: 10px 0 20px;
  font-size: 0.9rem;
}

.macchina-breadcrumb .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
  justify-content: center;
}

.macchina-body p, .col-lg-7 ul li{
  font-size: 1.2rem;
}

.macchina-gallery__item .img-fluid{
  width: 100%!important;
  height: 300px!important;
  object-fit: cover!important;
}

.catalogo{
  margin-bottom: 40px;
}

.catalogo-card{
  background-color: #707070;
  padding: 10px 20px;
}

.catalogo-card{
  margin-bottom: 15px;
}

.catalogo-card__title a{
  font-size: 1.3rem;
  color: #fff !important;
}

.catalogo .tipologia-card__image, 
.catalogo .btn.btn-custom{
  display: none;
}

.catalogo .header_tipologia{
  background-color: #707070;
  color: #fff!important;
}

.catalogo .header_tipologia:hover, .catalogo .header_tipologia:hover a{
  background-color: #ff7f00;
  color: #000;
}

.catalogo .titolo_macchinari a{
  color: #fff;
}

.ti-puo-interessare {
  padding: 40px 0 60px;
}

.ti-puo-interessare__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

.ti-puo-interessare__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 6px;
  background-color: #ff7f00;
}

.contenuto-semplice__underline, .contenuto-principale__underline {
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ff7f00;
  margin-bottom: 24px;
}

.contenuto-semplice__body p, .contenuto-principale__body p{
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 100;
}

.contenuto-principale, .contenuto-semplice__item {
  padding: 40px 0 60px;
}

.contenuto-semplice__title, .form_custom .field__label, .contenuto-principale__title {
  font-size: 2.7rem;
  font-weight: 400;
  margin: 0 0 6px;
  color: #555;
}

.contenuto-semplice__body, .contenuto-principale__body {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.info-card {
  background: #707070;
  padding: 24px 24px 26px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  height: 340px;
  display: flex;
  flex-direction: column;
}

.info-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.info-card__title-underline {
  display: block;
  width: 40px;
  height: 3px;
  background: #ff7f00;
  margin-bottom: 16px;
}

.info-card__body, .info-card__body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff;
}

.form_custom{
  background-color: #eee;
  padding: 40px;
  padding-top: 20px;
  margin-bottom: 40px;
}

.form_custom .field__label{
  display: none;
}

.form_custom form{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form_custom form .form-item{
  width: 45%;
}

.form_custom form .js-form-item.js-form-item-note.form-item-note, 
.form_custom form .captcha.captcha-type-challenge--math, 
.form_custom form .js-form-item.form-item.js-form-type-checkbox.form-type-checkbox{
  width: 100%;
}

.form_custom form .js-form-item.form-item.js-form-type-checkbox.form-type-checkbox .webform-element-description{
  padding-top: 10px;
}

.form_custom .form-actions.js-form-wrapper.form-wrapper{
  margin: 0 auto;
}

.form_custom .form-actions.js-form-wrapper.form-wrapper input{
  background-color: #ff7f00!important;
  padding: 20px 40px 40px 40px!important;
  border: 0px!important;
  color: #000!important;
}

.form_custom #edit-submit{
  font-size: 20px;
  padding-bottom: 50px!important;
  cursor: pointer;
}

.form_custom #edit-submit:hover{
  font-weight: 600;
}

.macchina-gallery__modal-image {
  max-height: 70vh;
  object-fit: contain;
}

.modal-content.bg-transparent {
  background: rgba(0,0,0,0.85);
  padding: 12px;
}

.modal-content .btn-close {
  filter: invert(1); /* X bianca */
}

.modal-content{
  background-color: #fff!important;
  padding: 20px;
}

a.contatto{
  color: #fff;
  font-weight: 700;
}

footer a.contatto::after{
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
}

footer .copyright a{
  color: #FFBC85;
}

.footer .logo{
  justify-content:center;
  margin-bottom: 60px;
}

.footer .logo img{
  width: 40%;
}

a:hover{
  font-weight: 600!important;
}

