::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000 !important;
  font-weight: 600;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #000 !important;
  font-weight: 600;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #000 !important;
  font-weight: 600;
}

body {
  color: #000;
  font-family: "Syne", Helvetica, Arial, sans-serif;
}

.dropdown-toggle .fa-chevron-down {
  color: #000;
  margin-left: 8px;
}

.dropdown-toggle:hover .fa-chevron-down {
  color: #b80d0d;
}

.navbar-default .navbar-nav > li > a {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 10px;
  padding-top: 10px;
}

#main-header .navbar-brand img {
  margin-left: 5px;
  margin-top: 30px;
  max-height: 22px;
}

#search-wrp {
  background-color: transparent;
  border: 0;
}

#search-wrp .search-col-dx .form-group {
  width: 100%;
}

.search-title,
.search-label {
  text-align: center;
}

.search-title p,
.search-label p,
.search-title p strong,
.search-label p strong {
  color: #fff;
}

.search-title p {
  font-size: 24px;
  margin-bottom: 30px;
}

.search-label p {
  font-size: 16px;
  margin-top: 25px;
}

.search-label p a {
  background-color: #b80d0d;
  /*border-bottom: 1px solid #fff;*/
  border-radius: 20px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 7px 20px 8px 20px;
  display: inline-block;
  margin-left: 10px;
}

.search-label p a:hover {
  text-decoration: none;
}

.search-label p span:hover {
  cursor: pointer;
}

#search-wrp .search-col-dx .btn {
  padding: 12px;
}

#ricerca {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.section-header-hp h1,
.section-header-hp h4 {
  margin-bottom: 35px;
  text-transform: none;
}

.slick-prev,
.slick-next {
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  height: 55px;
  width: 55px;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  background-color: #890a0a;
  background-position: center;
  background-repeat: no-repeat;
}

.slick-prev::before,
.slick-next::before {
  content: "";
}

.slick-prev:hover,
.slick-prev:focus,
.slick-prev {
  background-image: url("/img/common/arrow_sx.svg");
}

.slick-next:hover,
.slick-next:focus,
.slick-next {
  background-image: url("/img/common/arrow_dx.svg");
}

.section-header-hp {
  text-align: left;
}

.category-wrp {
  align-items: center;
  border: 0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  width: 100%;
}

.category-wrp:before,
.category-wrp:after {
  display: none;
}

.service-cat-list .box4-item > article .content h5 a,
.category-wrp h2 {
  font-size: 18px;
}

.location-list .box4-item > article {
  border: 0;
}

.btn,
.service-cat-list .box4-item > article > a,
.location-list .box4-item > article > a {
  border-radius: 0.25rem;
  font-weight: 600;
  overflow: hidden;
}

.location-list .box4-item > article .content .data {
  background-color: #f7f7f7;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  padding: 1.75rem;
  padding-bottom: calc(1.75rem - 5px);
}

.location-list .box4-item > article .content .data [class*="col-"] {
  padding-bottom: 8px;
}

.location-list .box4-item > article .content p.desc {
  margin: 1.25rem 0 2rem;
}

.buttons-wrp a {
  color: #b80d0d;
  background-color: transparent;
  font-family: "Syne", Helvetica, Arial, sans-serif;
  font-weight: 600;
  border-radius: 0.25rem;
  padding: 1.25rem 0.75rem;
  width: 100%;
}

.section-hp .txt-intro-hp {
  background: #eee;
  border-radius: 0.25rem;
  font-size: 16px;
  padding: 3.5rem 2.75rem;
}

.btn-success,
.btn-default {
  border-radius: 0.25rem;
  font-size: 16px;
  padding: 1.5rem 3.5rem;
}

.service-detail-list .box4-item > article,
.service-cat-list .box4-item > article,
.location-list .box4-item > article {
  /*display: flex;
  flex-direction: column;  
  justify-content: space-between;*/
  height: 100%;
}

.page-chi-siamo .service-cat-list .box4-item > article > p > img {
  border-radius: 4px;
  width: 100%;
}

#location-in-evidenza {
  box-shadow: none;
}

.service-cat-list .box4-item > article .content,
.location-list .box4-item > article .content {
  padding: 25px 10px 10px;
}

.service-cat-list .box4-item > article {
  background-color: transparent;
  border: 0;
}

.slick-track {
  display: flex !important;
}

.slick-slide {
  height: inherit !important;
}

.service-detail-list .box4-item > article .content h3 {
  margin-bottom: 15px;
  margin-top: 15pxpx;
}

.slick-slide img {
  width: 100%;
}

.slick-prev,
.slick-next {
  top: 110px;
}

.navbar-default .navbar-nav > .active > a {
  text-decoration: underline;
}

#footer-wrp {
  background-color: #000;
  padding: 50px 0;
}

#footer-wrp .row-1 ul {
  margin-bottom: 40px;
}

#footer-wrp .row-2 a.social {
  background: #fff;
  border-color: #fff;
  margin-left: 10px;
}

#footer-wrp .row-2 a.social i {
  color: #000;
}

#search-wrp .search-col-dx .form-group select {
  border-radius: 0.25rem;
  font-size: 15px;
}

.section-header h1 {
  border: 0;
}

.page-detail .section-header {
  margin-bottom: 60px;
}

.page-detail .section-header h2,
.page-detail .section-header h1 {
  color: #000;
}

.page-detail .section-header h1 {
  font-size: 32px;
}

.page-detail .section-header .btn {
  border-radius: 40px;
  display: inline-flex;
  justify-content: center;
}

.page-detail .section-header .prev-next-wrp .btn {
  width: 45px;
  height: 45px;
  padding: 8px;
}

.page-detail .section-header .prev-next-wrp .btn img {
  max-width: 25px;
}

.section-header h2 {
  font-size: 16px;
}

.page-detail p.last-update {
  font-size: 16px;
  font-style: normal;
  margin-bottom: 15px;
}

.page-detail p.last-update time {
  color: #000;
  font-weight: 600;
}

.page-detail p.tel a {
  text-decoration: underline;
}

.page-detail #gallery-wrp .slider-nav,
.page-detail #gallery-wrp .main-photo-wrp {
  margin-right: 0;
  max-height: 100%;
  max-width: 100%;
}

.page-detail #gallery-wrp .main-photo-wrp img {
  border-radius: 4px;
  width: 100%;
}

.page-detail .form-control {
  height: 45px;
}

.page-detail
  .form-group
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow,
.page-detail .form-group .select2-container--default .select2-selection--single,
.page-detail .form-group .select2-container {
  height: 45px;
}

.page-detail .form-group .select2-container {
  width: 100% !important;
}

.page-detail
  .form-group
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  font-size: 12px;
  line-height: 45px;
}

.page-detail .form-control {
  padding: 6px;
}

.page-detail .preventivo-wrp .interested-wrp label {
  color: #000 !important;
  font-weight: 400;
}

.page-detail .bottom-prev-next-wrp a.btn {
  border: 2px solid;
  border-radius: 4px;
  padding: 15px 30px;
}

.page-detail .bottom-prev-next-wrp a.btn:hover,
.page-detail .bottom-prev-next-wrp a.btn:focus {
  color: #b80e0e;
}

#section-search {
  align-items: center;
  background-size: cover;
  justify-content: center;
  padding: 25px 0;
  opacity: 0;
  transition: opacity 0.25s ease-in;
}

#section-search.collapsing {
  opacity: 0;
}

#section-search.collapse.in {
  display: flex;
  opacity: 1;
}

.service-detail-list .box4-item > article {
  border: 0;
}

.buttons-wrp a.btn-success {
  color: #008000;
}

.buttons-wrp a.btn-success:hover {
  color: #fff;
}

.form-control.btn {
  height: 50px;
}

h1,
h2,
h3,
h4,
h5,
p,
.btn,
.section-header h1,
#footer-wrp .row-1 h6,
#footer-wrp .row-1 ul li,
.service-detail-list .box4-item > article .content p.desc,
.service-detail-list .box4-item > article .content h3 a {
  font-family: "Syne", Helvetica, Arial, sans-serif;
}

.section-header-hp h1,
.section-header-hp h2,
.section-header-hp h4 {
  font-weight: 500;
}

#breadcrumb-wrp {
  background-color: transparent;
  padding: 45px 0 10px;
}

.section-header h3 {
  border: 0;
}

.service-detail-list .box4-item > article > a,
.service-cat-list .box4-item > article > a,
.location-list .box4-item > article > a {
  border-radius: 4px;
  overflow: hidden;
}

.service-detail-list .box4-item > article > a > img,
.service-cat-list .box4-item > article > a img,
.location-list .box4-item > article > a img,
.service-cat-list a img,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  width: 100%;
}

.service-detail-list .box4-item > article .content p.desc,
.service-cat-list .box4-item > article .content p.desc,
.location-list .box4-item > article .content .data,
.location-list .box4-item > article .content p.desc {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.location-list .box4-item > article .content .data {
  font-size: 14px;
}

.preventivo-wrp .form-wrp {
  background-color: #f8f8f8;
  border-radius: 4px;
  margin-bottom: 75px;
  padding: 40px;
}

.select2-container--default .select2-selection--single,
.form-control {
  border-radius: 4px;
}

.newsletter-col hr {
  margin: 50px 0;
}

.newsletter-box form {
  display: flex;
}

.newsletter-box .newsletter-box__input-group {
  margin-right: 15px;
  width: 60%;
}

#footer-wrp .newsletter-box .newsletter-box__input-group .form-group a {
  font-size: 13px;
  text-decoration: underline;
}

#footer-wrp .btn {
  padding: 9px 30px;
}

.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.container #richiedi_preventivo {
  margin: 0 -20px;
}

#footer-wrp .row-2 a.social {
  border: 0;
}

/*** TODO ***/

.megamenu .glyphicon.glyphicon-th-list {
  display: none;
}

#breadcrumb-wrp ul > li a,
.megamenu .tit-tipo-location,
.megamenu li a {
  color: #000;
}

.megamenu li a {
  font-weight: 600;
  font-size: 14px;
  text-transform: capitalize;
}

.megamenu .tit-tipo-location,
.megamenu .tit-tipo-location a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.megamenu > li > ul > li > ul > li,
.megamenu-noleggio > li,
.megamenu-servizi > li {
  margin-bottom: 4px;
}

#breadcrumb-wrp ul {
  font-size: 14px;
  font-weight: 600;
}

.page-detail .description-wrp p {
  font-weight: 600;
  line-height: 1.4;
}

.page-detail .description-wrp p a strong,
.page-detail .description-wrp p a {
  color: #b80e0e;
}

.page-detail .preventivo-wrp .section-header h3 {
  font-weight: 600;
}

.referenze_detail .link i,
.page-detail .location-map .link i {
  display: none;
}

.page-detail #gallery-wrp .slider-nav .slick-slide img {
  border-radius: 4px;
  height: 100%;
  max-height: 100%;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
}

.form-control,
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered,
.page-detail .form-control {
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.page-detail .form-control {
  font-size: 12px;
}

.form-control.btn,
.page-detail input[type="submit"].form-control {
  color: #fff;
}

#footer-wrp .form-control {
  height: 40px;
}

.tit-tipo-location a {
  text-transform: uppercase;
}

.lam-icon {
  display: inline-block !important;
  width: 20px !important;
}

.section-header h1 {
  color: #111;
  font-size: 2em;
}

.page-detail .preventivo-wrp .section-header {
  margin-bottom: 0px;
}

.referenze_detail .link a,
.page-detail .location-map .link a {
  color: #b80d0d;
}

@media screen and (max-width: 575px) {
  #rc-imageselect,
  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

@media (min-width: 480px) {
  .slick-prev,
  .slick-next {
    top: 65px;
  }
}

@media (min-width: 768px) {
  body {
    padding-top: 80px;
  }
  .megamenu {
    background-color: #fff;
    top: 80px;
  }
  .megamenu.dropdown-menu {
    -webkit-box-shadow: 0px 19px 19px -3px #777777;
    -moz-box-shadow: 0px 19px 19px -3px #777777;
    -o-box-shadow: 0px 19px 19px -3px #777777;
    box-shadow: 0px 19px 19px -3px #777777;
  }
  .megamenu > li > ul > li > ul {
    list-style: disc;
    padding-left: 20px;
  }
  .megamenu-noleggio > li,
  .megamenu-servizi > li {
    text-align: left;
  }
  #main-header .navbar-brand img {
    margin: 30px 30px 2px 5px;
  }
  #main-header .navbar-nav > li > a.language {
    padding-bottom: 15px;
    padding-top: 15px;
  }
  #ricerca {
    flex-direction: row;
    /*justify-content: space-between;*/
  }
  .search-title p {
    font-size: 32px;
  }
  #section-search.collapse {
    display: none;
    position: relative;
    top: 10px;
  }
  #section-search.collapse.in {
    display: flex;
    height: 400px !important;
  }
  #search-wrp .search-col-dx .form-group {
    width: 20%;
  }
  .section-hp .txt-intro-hp p,
  .service-detail-list .box4-item > article .content h3,
  .location-list .box4-item > article .content h3,
  .service-cat-list .box4-item > article .content h3 {
    font-size: 24px;
  }
  .section-hp .txt-intro-hp p {
    line-height: 36px;
  }
  .section-header-hp h1,
  .section-header-hp h4 {
    margin-bottom: 65px;
    text-transform: none;
  }
  .section-header h1 {
    font-size: 48px;
  }
  .location-list .box4-item > article .content h3 {
    min-height: 50px;
  }
  .box4-item > article .content p.desc {
    min-height: 75px;
  }
  .service-detail-list .box4-item > article .content p.desc,
  .service-cat-list .box4-item > article .content p.desc,
  .location-list .box4-item > article .content .data,
  .location-list .box4-item > article .content p.desc {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
  }
  .location-list .box4-item > article .content .data {
    font-size: 14px;
  }
  #footer-wrp .row-1 h6 {
    font-size: 16px;
    text-transform: uppercase;
  }
  #footer-wrp .row-1 a {
    /*font-size: 18px;*/
  }
  .modal-footer .btn {
    min-width: 150px;
  }
  .page-detail .form-col .form-control.btn {
    max-width: 250px;
  }
}

@media (min-width: 992px) {
  .page-detail .section-header {
    margin-bottom: 50px;
    margin-top: 10px;
  }
  .page-detail .section-header .prev-next-wrp .btn {
    width: 55px;
    height: 55px;
    margin-left: 20px;
    padding: 8px;
  }
  .page-detail .section-header h1 {
    font-size: 54px;
  }
  .section-header h2 {
    font-size: 20px;
  }
  .page-list .section-intro p,
  .htmltext-wrp {
    font-size: 18px;
    line-height: 1.4;
  }
  .page-detail #contacts-wrp {
    padding-left: 30px;
  }
  .page-detail .preventivo-wrp .section-header h3 {
    font-size: 35px;
  }
  .form-contacts-wrp p:first-child strong {
    color: #b80e0e;
    font-size: 24px;
  }
  .form-contacts-wrp p {
    font-weight: 600;
  }
  #richiedi_preventivo p,
  .form-col p,
  .page-detail .preventivo-wrp .interested-wrp p strong,
  .preventivo-wrp .form-wrp label,
  .page-detail .preventivo-wrp .interested-wrp label {
    font-size: 16px;
    font-weight: 600;
  }
  .page-detail .location-map #map-canvas {
    height: 600px;
  }
  .page-detail .location-map .link {
    margin-top: 25px;
    margin-bottom: 40px;
  }
  .referenze_detail .link a,
  .page-detail .location-map .link a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
  }
  .page-detail #gallery-wrp .slick-prev,
  .page-detail #gallery-wrp .slick-next {
    /*top: 30px;*/
    top: 50%;
    transform: translate(0%, -50%);
  }

  .page-detail #gallery-wrp .slider-nav .slick-slide img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .container-fluid > .navbar-header {
    width: 100%;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-collapse.collapse.in {
    display: block !important;
  }
  .navbar-toggle {
    display: block;
  }
  .location_detail a#richiedi-preventivo-btn {
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  #main-navigation {
    float: right;
  }
  #main-header .navbar-brand img {
    margin-top: 35px;
    max-height: 30px;
    max-width: 205px;
  }
  #main-header .navbar-nav > li > a.language {
    padding-bottom: 38px;
    padding-top: 38px;
  }
  #search-wrp .search-col-dx {
    padding: 10px 0;
  }

  .container:not(.search):not(.contatti) {
    padding: 0 8rem;
    width: 100%;
  }
  .contatti_form .container:not(.search) {
    /*.location_detail .container:not(.search) {*/
    padding: 0 15px;
    max-width: 1170px;
    width: 100% !important;
  }
  .container.search {
    padding: 0 20rem !important;
    width: 100%;
  }
  .service-cat-list .box4-item > article .content h5 a {
    font-size: 24px;
  }
  .category-wrp h2 {
    font-size: 32px;
  }
  .section-hp .txt-intro-hp {
    /*font-size: 18px;*/
    margin-bottom: 75px;
  }
  #section-search.collapse {
    display: flex;
    opacity: 1;
  }
  #section-search {
    height: 250px !important;
  }
  #section-search {
    background: url(/img/common/bg_search_wrp.jpg) no-repeat;
    background-size: cover;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 10;
  }
  .page-detail #contacts-wrp .block p {
    font-size: 16px;
    font-weight: 600;
  }
  .page-detail .description-wrp h4,
  .page-detail .description-wrp h6,
  .page-detail #contacts-wrp .block h4 {
    font-size: 22px;
  }
  .page-detail #contacts-wrp .block h4 {
    margin-bottom: 14px;
    /*margin-top: 0px;*/
  }
  .page-detail #contacts-wrp .block:first-child h4 {
    margin-top: 0;
  }
  .page-detail .description-wrp {
    margin-bottom: 5px;
  }
}

@media (min-width: 1200px) {
  #search-wrp .search-col-dx .form-group select {
    border-radius: 4px;
    height: 50px;
  }
  #search-wrp .search-col-dx .btn {
    height: 50px;
    width: 50px;
  }
  .container-fluid {
    padding: 0 4rem;
  }
  .slick-next {
    right: -15px;
  }
  .slick-prev {
    left: -15px;
  }
  .slick-prev,
  .slick-next {
    top: 110px;
  }
  .slick-slide,
  .service-cat-list .box4-item,
  .service-detail-list .box4-item,
  .location-list .box4-item {
    padding: 0 20px;
  }
  #gallery-wrp .slider-nav .slick-list {
    margin: 0 -10px;
  }
  #gallery-wrp .slick-slide {
    padding: 0 10px;
  }
  .service-detail-list,
  .location-list,
  .service-cat-list {
    margin: 0 -15px;
  }
  .page-detail #contacts-wrp .block p,
  .preventivo-wrp .form-contacts-wrp {
    font-size: 18px;
    line-height: 1.5;
  }
  .form-contacts-wrp p:first-child strong {
    line-height: 1;
  }
  .page-detail .form-col {
    border-right: 1px solid #000;
  }
}

@media (min-width: 1400px) {
  .container-fluid {
    padding: 0 8rem;
  }
  #main-header .navbar-brand img {
    /*max-width: 78%;*/
  }
  .navbar-default .navbar-nav > li > a {
    /*font-size: 15px;*/
  }
}

@media (min-width: 1279px) {
  .navbar-default .navbar-nav > li > a {
    font-size: 13px;
    padding: 40px 5px;
  }
}

@media (min-width: 1450px) {
  .navbar-default .navbar-nav > li > a {
    font-size: 15px;
  }
}

@media (min-width: 1500px) {
  #main-header .navbar-brand img {
    max-width: 78%;
  }
}

@media (min-width: 1650px) {
  .navbar-default .navbar-nav > li > a {
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1400px) {
  #section-search.collapse {
    padding-top: 50px;
  }
}

/*** Max width ***/

@media (max-width: 1500px) {
  #main-header .navbar-default .navbar-header .navbar-brand {
    padding: 0 15px;
  }
}

@media (max-width: 1425px) {
  .megamenu {
    /*top: 135px;*/
  }
}

@media (max-width: 1279px) {
  #main-navigation {
    float: left;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  #main-header .navbar-default .navbar-header .navbar-brand {
    padding: 0;
  }
}

/*** fix 25012023 ***/

#footer-wrp .row-1 h6,
#footer-wrp .row-1 h6 a,
.megamenu .tit-tipo-location a,
.megamenu .tit-tipo-location {
  color: #b80e0e;
}

.megamenu.dropdown-menu {
  background-color: #f6f4f4;
  padding-top: 20px;
}

#footer-wrp .row-1 li > a {
  font-size: 14px;
}

a#richiedi-preventivo-btn,
.buttons-wrp a.richiedi-preventivo-btn {
  background-color: #008000;
  border-color: #008000;
  color: #fff;
}

a#richiedi-preventivo-btn:active,
a#richiedi-preventivo-btn:hover,
a#richiedi-preventivo-btn:focus,
.buttons-wrp a.richiedi-preventivo-btn:active,
.buttons-wrp a.richiedi-preventivo-btn:hover,
.buttons-wrp a.richiedi-preventivo-btn:focus {
  background-color: transparent;
  color: #008000;
}

.loc-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  padding-top: 1rem;
}

.loc-bottom__share {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.loc-bottom__share ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.loc-bottom__share ul li svg {
  width: 30px;
}

.loc-bottom__share > span {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.section-header-hp-blog h4 {
  margin-bottom: 1rem;
}

.section-header-hp-blog p {
  font-size: 18px;
  margin-bottom: 65px;
}

@media (min-width: 1400px) {
  .location_detail .container {
    /*width: 1170px !important;*/
  }
}

@media (min-width: 1600px) {
  .location_detail .container {
    /*width: 1420px !important;*/
  }
}

/**** Location Eco ****/

:root {
  --eco-color: #008f39;
}

.eco-text,
.page-eco a {
  color: var(--eco-color) !important;
}

.location--eco .section-header h1 {
  color: var(--eco-color);
}

a.btn-eco {
  background-color: var(--eco-color);
  color: #fff !important;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 1.4rem 2.75rem;
  text-transform: uppercase;
  white-space: wrap;
}

.eco-link:hover {
  text-decoration: none;
}

.eco-icon-detail-wrapper {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.eco-icon-detail-wrapper p.last-update {
  margin-bottom: 0;
}

.box4-item-eco {
  position: relative;
}

.box-location-wrapper {
  position: relative;
}

.box-location-wrapper .photo-wrp img {
  width: 100%;
}

.box-location-eco-icon-link {
  background-color: rgba(0, 0, 0, 0.45);
  bottom: 0;
  position: absolute;
  left: 0;
  height: calc(6rem + 10px) !important;
  padding: 5px 10px;
  display: flex;
  gap: 0.5rem;
}

.box-location-eco-icon {
  max-width: 6rem !important;
}

.section-image-wrapper img {
  width: 100%;
}

.section-testo-immagine {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.section-testo-immagine h3 {
  font-weight: 700;
}

.section-testo-immagine .line-separator {
  height: 4px;
  background-color: #29235c;
  width: 80px;
}

@media (min-width: 768px) {
  .section-testo-immagine .content-wrp:not(.col-md-push-6) {
    padding-right: 3rem;
  }

  .section-testo-immagine .content-wrp.col-md-push-6 {
    padding-left: 3rem;
  }
}

.border-rad {
  border-radius: 0.7rem;
  overflow: hidden;
}

/*** Veritas ***/

.footer__veritas {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.footer__veritas img {
  width: 100%;
  max-width: 200px;
}

.footer__veritas-text p {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0;
}

.footer__veritas-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__veritas-imgs img {
  flex: 0 0 auto;
}

/**** PAge Newsletter ****/
.page-newsletter .newsletter-box {
  max-width: 96rem;
}

.page-newsletter .preventivo-wrp h2,
.page-newsletter .newsletter-box .newsletter-box__input-group {
  width: 100%;
}

.newsletter-box-outer {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  @media (min-width: 768px) {
    flex-direction: row;
  }

  .newsletter-box__left {
    flex-basis: 100%;
    @media (min-width: 768px) {
      flex-basis: 70%;
    }
  }

  .newsletter-box__right {
    flex-basis: 100%;
    @media (min-width: 768px) {
      flex-basis: 30%;
    }
  }

  .check-icon {
    padding-left: 2rem;
    position: relative;

    &::before {
      content: url("/img/common/check_LAM.svg");
      display: block;
      left: 0;
      height: 1.5rem;
      position: absolute;
      top: 0;
      width: 1.5rem;
    }
  }
}

.team-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 6rem;

  @media (min-width: 576px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  @media (min-width: 992px) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.team-members .card > a {
  display: block;
  height: 100%;
}

.team-members .card-body {
  background-color: #b80e0e;
  padding: 1rem;
  flex-grow: 1;
}

.team-members .card-body a {
  color: #fff;
  text-decoration: none;
}

.team-members .card-title {
  color: #fff;
  font-size: clamp(1.3rem, 0.5rem + 2vw, 2rem);
  font-weight: 700;
}

.team-members .card-text {
  color: #fff;
  font-size: clamp(1rem, 0.5rem + 2vw, 1.3rem);
}

.card-images {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.card-img-hover {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.card:hover .card-img-hover {
  opacity: 1;
}

.card-img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.card-img-wrp {
  position: relative;
}

.card-img-hover,
.card-img {
  aspect-ratio: 1;
}

.card-img-hover img,
.card-img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.card:hover .card-img {
  opacity: 0;
}

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

/**** Feedback ****/

.feedback-item {
  background-color: #f7f7f7;
  margin-bottom: 6rem;
  padding: 6rem 4rem;
}

.feedback-item__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 6rem;
}

@media (min-width: 576px) {
  .feedback-item__top {
    grid-template-columns: 150px 1px 1fr;
  }
}

.feedback-item__top-left {
  aspect-ratio: 1;
  max-width: 150px;
}

.feedback-item__top-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feedback-item__vertical-divider {
  background-color: #b80e0e;
  display: block;
  height: 100%;
  width: 1px;
}

.feedback-item__top-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feedback-item h5 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feedback-item p {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0;
}

.feedback-item .btn-wrp {
  margin-top: 2rem;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #b80e0e;
  color: #b80e0e;
  font-weight: 700;
  padding: 1rem 3rem;
  text-transform: uppercase;
}

.btn-outline:hover {
  background-color: #b80e0e;
  color: #fff;
}

/**** Portfolio ****/

.portfolio-filters {
  margin-bottom: 4rem;
}

.portfolio-filters__list {
  margin-bottom: 2rem;
}

.portfolio-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.portfolio-filters ul li {
  flex: 0 0 auto;
}

.portfolio-filters ul li a {
  color: #b80e0e;
  border: 1px solid #b80e0e;
  border-radius: 0.25rem;
  display: inline-block;
  font-weight: 700;
  padding: 0.75rem 2rem;
  text-decoration: none;
  text-transform: uppercase;

  transition: all 0.3s ease;
}

.portfolio-filters ul li a.active,
.portfolio-filters ul li a:hover {
  background-color: #b80e0e;
  color: #fff;
}

.portfolio-filters__search {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.portfolio-filters__search input {
  border: 1px solid #dddddd;
  border-radius: 0.25rem;
  padding: 0.75rem 2rem;
}

.portfolio-filters__search input::placeholder {
  color: #b80e0e;
}

.portfolio-filters__search button {
  background-color: #b80e0e;
  border: 1px solid #b80e0e;
  border-radius: 0.25rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
}

.portfolio-filters__search button:hover {
  background-color: transparent;
  color: #b80e0e;
}

.portfolio-items__list {
  margin-bottom: 4rem;
}

.portfolio-item__wrp {
  margin-bottom: 4rem;
}

.portfolio-item {
  aspect-ratio: 5/4;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;
  overflow: clip;
  padding: 1rem;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portfolio-item::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5)
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.portfolio-item:hover {
  text-decoration: none;
}

.portfolio-item__content {
  position: relative;
  z-index: 1;
}

.portfolio-item__content h3 {
  color: #fff;
  font-weight: 700;
}

.portfolio-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item__bottom .btn-wrp a {
  display: block;
  margin: 0 auto;
}

.portfolio-items .btn-see-more {
  background-color: #b80e0e;
  border: 1px solid #b80e0e;
  color: #fff;
  font-weight: 700;
  padding: 1rem 3rem;
  text-transform: uppercase;
}

.portfolio-items .btn-see-more:hover {
  background-color: transparent;
  color: #b80e0e;
}

/*** Portfolio Slideshow Section ***/
.location-events-portfolio {
  border-image-source: conic-gradient(#f7f7f7 0deg, #f7f7f7 0deg);
  border-image-slice: 0 fill;
  border-image-width: 1;
  border-image-outset: 0 100vw;
  border-image-repeat: stretch;
  margin-bottom: 4rem;
  padding: 4rem 0;
}

.location-events-portfolio .section-title {
  margin-bottom: 2rem;
  margin-top: 0;
}

.portfolio-slideshow {
  position: relative;

  margin: 0 -1.5rem;
}

.portfolio-slideshow-item {
  margin: 0 1.5rem;
  padding: 0;
}

.portfolio-slideshow-item__content {
  aspect-ratio: 5/4;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  max-width: 100%;
  padding: 1rem 2rem;
  position: relative;
  overflow: clip;
}

.portfolio-slideshow-item__content::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5)
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.portfolio-slideshow-item__content:hover {
  text-decoration: none;
}

.portfolio-slideshow-item__content img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.portfolio-slideshow-item__content h4 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/*** Event Detail Section ***/

.event-detail-section-header__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .event-detail-section-header__top {
    grid-template-columns: 150px 1px 1fr;
  }
}

.event-detail-section-header__top-left {
  aspect-ratio: 1;
  max-width: 150px;
}

.event-detail-section-header__top-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.event-detail-section-header__top-right p {
  font-size: 18px;
}

.event-detail-section-header__vertical-divider {
  background-color: #b80e0e;
  display: block;
  height: 100%;
  width: 1px;
}

.event-detail-section-header__bottom {
  align-items: center;
  border-radius: 0.25rem;
  border: 1px solid #b80e0e;
  display: inline-flex;
  gap: 1rem;
  padding: 1rem;
}

.event-detail-section-header__bottom-details p {
  margin-bottom: 0;
}

.event-detail-section-header__bottom-image {
  aspect-ratio: 1;
  max-width: 6rem;
  overflow: hidden;
}

.event-detail-section-header__bottom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-detail-section-header__date {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.event-detail-section-header__name {
  font-size: 1.75rem;
  font-weight: 700;
}

.event-detail-section-header__role {
  font-size: 1.25rem;
  font-weight: 400;
}

.event-detail-section-feedback {
  border-image-source: conic-gradient(#f7f7f7 0deg, #f7f7f7 0deg);
  border-image-slice: 0 fill;
  border-image-width: 1;
  border-image-outset: 0 100vw;
  border-image-repeat: stretch;
}

.event-detail-section-feedback .feedback-item {
  padding-left: 0;
  padding-right: 0;
}

.event-detail-section-feedback .feedback-item__top {
  grid-template-columns: 1fr;
}

.event-detail-section-content {
  margin-bottom: 4rem;
}

.event-detail-section-content__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .event-detail-section-content__points {
    grid-template-columns: 1fr 1fr;
  }
}

.event-detail-section-content__points-item {
  border: 1px solid #b80e0e;
  border-radius: 0.25rem;
  padding: 3rem 4rem;
}

.event-detail-section-content__points-item h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 0;
}

.event-detail-section-content__points-item p {
  font-size: 1.75rem;
}

.event-detail-section-event-stats {
  margin-bottom: 8rem;
}

.event-detail-section-event-stats__content {
  border-radius: 0.25rem;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .event-detail-section-event-stats__content {
    grid-template-columns: 1fr 3fr;
  }

  .event-detail-section-event-stats__content:has(> div:only-child) {
    grid-template-columns: 1fr;
  }

  .event-detail-section-event-stats__content > div:only-child ul {
    display: flex;
    gap: 3.5rem;
  }
}

.event-detail-section-event-stats__content-item {
  border-left: 2px solid #b80e0e;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 2rem;
}

.event-detail-section-event-stats__content-item-title {
  font-size: 2.5rem;
  font-weight: 700;
  /*max-width: 24rem;*/
}

.event-detail-section-event-stats__content-item-subtitle {
  font-size: 2rem;
  font-weight: 700;
}

.event-detail-section-event-stats__first-list li:not(:last-child) {
  margin-bottom: 1.5rem;
}

.event-detail-section-event-stats__first-list li {
  font-size: 2rem;
  font-weight: 700;
}

.event-detail-section-event-stats__first-list li span {
  color: #b80e0e;
  font-size: 2.25rem;
}

.event-detail-section-event-stats__content-item-list {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .event-detail-section-event-stats__content-item-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.event-detail-section-event-stats__content-item-list ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.event-detail-section-event-stats__content-item-list li:not(:last-child) {
  margin-bottom: 1.5rem;
}

.event-detail-section-event-stats__content-item-list li {
  color: #b80e0e;
  font-size: 2rem;
  font-weight: 700;
}

.event-detail-section-event-stats__content-item-text a {
  color: #b80e0e;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: underline;
}

.content-html-text {
  margin-bottom: 4rem;
}

.content-html-text p {
  font-size: 1.75rem;
  line-height: 1.5;
}

.content-html-text h4 {
  color: #b80e0e;
  text-transform: uppercase;
}

.content-html-text h4,
.content-html-text h5 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.content-html-text a {
  color: #b80e0e;
  text-decoration: underline;
}

.event-detail-section-gallery {
  margin: 4rem 0;
  padding-top: 8rem;
}

.event-detail-section-gallery .slick-prev,
.event-detail-section-gallery .slick-next {
  top: -7rem;
}

.event-detail-section-gallery .slick-prev {
  left: 0;
}

.event-detail-section-gallery .slick-next {
  right: auto;
  left: 7rem;
}

.event-detail-slideshow-item {
  overflow: clip;
  position: relative;
  margin: 0 1.5rem;
  padding: 0;
}

.event-detail-slideshow-item img {
  position: relative;
  max-height: 400px;
}

.page-team-detail .box4-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}

.event-detail-section-video {
  aspect-ratio: 16/9;
  max-width: 100%;
  margin: 4rem auto;
}

@media (min-width: 768px) {
  .event-detail-section-video {
    max-width: 80%;
  }
}

@media (min-width: 1279px) {
  .megamenu .clients-menu-item:not(:last-child) {
    margin-bottom: 1rem;
  }

  .megamenu:has(.clients-menu-item) {
    width: auto;
    left: auto;
    padding-bottom: 20px;
  }

  .megamenu:has(.clients-menu-item) > .container {
    padding: 0 1.5rem;
  }

  .megamenu ul:has(.clients-menu-item) {
    display: flex;
    flex-direction: column;
  }
}

.page-detail .description-wrp h6 {
  font-weight: 700;
  color: #b80e0e;
}

@media (max-width: 1023px) {
  .referenze_detail .page-detail .description-wrp h6 {
    font-size: 18px;
  }
}

.page-detail .description-wrp p ~ h6 {
  margin-top: 4rem;
}

/**** Servizio dettaglio ****/

.servizio-dettaglio {
  --section-gap: 4rem;

  --accordion-bg: #eeeeee;
  --accordion-padding: 5rem;
  --accordion-details-gap: 3rem;
}

.servizio-dettaglio .header-detail h1 {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.servizio-dettaglio .header-detail img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
}

.servizio-dettaglio section {
  margin-bottom: var(--section-gap);
}

.servizio-dettaglio .content-detail-text {
  line-height: 1.5;
}

.servizio-dettaglio .content-detail-text ul li,
.servizio-dettaglio .content-detail-text span,
.servizio-dettaglio .content-detail-text p {
  font-size: 1.8rem;
}

.servizio-dettaglio .content-detail-text h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 7rem;
}

@media (min-width: 768px) {
  .servizio-dettaglio .content-detail-text h2 {
    font-size: 3.2rem;
  }
}

.servizio-dettaglio .content-detail-text h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 5rem;
}

.servizio-dettaglio .content-detail-text h4 {
  font-size: 2rem;
  font-weight: 700;
}

.servizio-dettaglio .content-detail-text h5 {
  font-size: 1.8rem;
  font-weight: 700;
}

.servizio-dettaglio .content-detail-cta {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 7rem 0;
}

.servizio-dettaglio .content-detail-cta .btn {
  text-transform: uppercase;
}

.servizio-dettaglio .faq-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: var(--accordion-details-gap);
}

.servizio-dettaglio .faq-list details {
  background-color: var(--accordion-bg);
  margin-bottom: var(--accordion-details-gap);
  padding: clamp(
    calc(var(--accordion-padding) / 2),
    2vw + 0.5rem,
    var(--accordion-padding)
  );

  transition: all 0.3s ease-in-out;
}

.servizio-dettaglio .faq-list details:hover {
  background-color: #e0e0e0;
  cursor: pointer;
}

.servizio-dettaglio .faq-list details summary {
  align-items: center;
  color: #b80e0e;
  display: flex;
  font-size: 2.4rem;
  font-weight: 700;
  justify-content: space-between;

  transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .servizio-dettaglio .faq-list details summary {
    font-size: 3.2rem;
  }
}

.servizio-dettaglio .faq-list details summary i {
  color: #b80e0e;

  transition: all 0.3s ease-in-out;
}

.servizio-dettaglio .faq-list details[open] summary i {
  transform: rotate(180deg);
}

.servizio-dettaglio .faq-list details summary::marker {
  display: none;
}

.servizio-dettaglio .faq-list details[open] summary::marker {
  display: none;
}

.servizio-dettaglio .faq-list details p {
  font-size: 2.4rem;
}

.servizio-dettaglio .faq-item > div {
  padding-top: 2rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, opacity 0.4s;
}

.servizio-dettaglio .faq-item.open > div {
  opacity: 1;
  max-height: 500px;
}

.servizio-dettaglio .preventivo-wrp h3 {
  font-weight: 700;
}

/*** Servizio Home ***/

.section-header-service {
  text-align: left;
  margin-bottom: 4rem;
}

.section-header-service h2 {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-header-service p {
  font-size: 1.8rem;
}

@media (min-width: 768px) {
  .section-header-service p {
    font-size: 2.4rem;
  }
}

.service-list {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .service-list {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

.service-cat-list__box:not(:last-child) {
  padding-right: 1rem;
  position: relative;
}

.service-cat-list__box-img {
  aspect-ratio: 3/2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
}

.service-cat-list__box-img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.service-cat-list__box-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-cat-list__box-img-text {
  color: #fff;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.service-cat-list__box-img-text > * {
  color: inherit;
}

.service-cat-list__box-content {
  padding: 1rem;
}

.service-cat-list__box-content .btn {
  color: #b80e0e;
  background-color: transparent;
  border-color: #b80e0e;
  padding: 0.75rem 1rem;
  text-decoration: none;
  width: 100%;

  transition: all 0.3s ease-in-out;
}

.service-cat-list__box-content .btn + .btn {
  margin-top: 1rem;
}

.service-cat-list__box-content .btn:hover {
  background-color: #b80e0e;
  color: #fff;
}

/**** Footer ****/

.footer-newsletter-wrapper {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-newsletter-wrapper {
    flex-direction: row;
  }
}

.vertical-hr {
  border: none;
  border-top: 1px solid #cccccc; /* colore e spessore */
  width: auto;
  margin: 1.8rem 2rem;
  align-self: stretch;
}

@media (min-width: 768px) {
  .vertical-hr {
    border-left: 1px solid #cccccc; /* colore e spessore */
    margin: 1.8rem 2rem;
    width: 0;
  }
}

/*** Megamenu Servizi***/

@media (min-width: 1280px) {
  .megamenu-servizi {
    /*max-width: 50%;
    margin: 0 auto !important;*/
  }
}

.megamenu-servizi > li {
  padding: 0;
}

@media (min-width: 1200px) {
  .megamenu-servizi {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /*grid-template-areas: "a b c d e";*/
    gap: 2rem;
  }
  /*
  .megamenu-servizi-item:nth-child(1) {
    grid-area: a;
  }

  .megamenu-servizi-item:nth-child(2) {
    grid-area: b;
  }

  .megamenu-servizi-item:nth-child(3) {
    grid-area: c;
  }

  .megamenu-servizi-item:nth-child(4) {
    grid-area: d;
  }

  .megamenu-servizi-item:nth-child(5) {
    grid-area: e;
  }
    */
}

/*** Servizio Home ***/

.service-home__list {
  margin-bottom: 4rem;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-home__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-home__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-home__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 1rem;
  height: 100%;
}

.service-home__card-title {
  display: flex;
  flex-direction: column-reverse;
}

.service-home__card-title h3 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: left;
  color: #b80e0e;
  margin-bottom: 0;
}

.service-home__card-link-container {
  position: relative;
  aspect-ratio: 2/1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 0.25rem;
  overflow: hidden;
}

.service-home__card-link-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.service-home__card-link-list {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.service-home__card-link-list li {
  margin-bottom: 1rem;
}

.service-home__card-link-list a {
  color: #fff;
  border: 1px solid white;
  padding: 0.5rem 1.2rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
}

.service-home__card-link-list a:hover {
  background-color: #890a0a;
}

.service-home__card-content p {
  font-size: 18px;
  margin-bottom: 0;
}

.service-home__card-link-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(20 0 0 / 60%);
  z-index: 1;
}


/*** Footer Newsletter Wrapper ***/

.footer-newsletter-wrapper__title {
  font-size: 27px;
}


/*** Servizi Detail ***/

.servizio-dettaglio .content-detail-text h2:has(+ ul),
.servizio-dettaglio .content-detail-text h2:has(+ p) {
  margin-bottom: 0.5rem;
}

.servizio-dettaglio .content-detail-text h2:has(+ p) + p {
  margin-top: 0;
  margin-bottom: 2rem;
}


