@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css");
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;1,300;1,400&family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
  --main-font: 'Karla', sans-serif;
  --text-font: 'Roboto', sans-serif;
  --lightred: #EA1720;
  --darkred: #C01E2D;
  --lightgrey: #DEDEDE;
  --darkgrey: #919296;
  --darkergrey: #3D3D3F;
  --darkblue: #007cbc;
  --lightblue: #548FD3;
  --bs-body-color: var(--darkergrey);
  --bs-body-font-family: var(--text-font);
  --shadow: 0 .15rem .2rem rgba(0, 0, 0, 0.2);
  --grid-col-breakpoint: 10rem;
}

body {
  margin: 0;
  font-family: var(--text-font);
  scroll-behavior: smooth;
}

:is(h1, h2, h3, h4, h5) {
  font-family: var(--main-font);
  font-weight: 700;
}

a {
  display: inline-block;
  text-decoration-line: none;
  color: var(--darkergrey);
}

a:hover {
  color: var(--darkred);
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/*GENERAL THEME*/
:is(.internalpage, .ws-product-category, #home-header, #about-header, #service-header, #support-header, #AllNews) {
  padding-top: 2.5rem;
}

.nav-item {
  font-size: large;
  font-weight: 600;
}

.dropdown-menu {
  width: max-content;
  padding: 1rem;
  border-radius: unset;
}

.redlist>ul>li {
  position: relative;
  padding-left: 20px;
}

.redlist>ul>li::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 5.5px;
  background: var(--darkred);
  border: 2px solid var(--darkred);
  width: 10px;
  height: 10px;
}

.ws-catalog-menu li:hover {
  background-color: white;
}

.ws-catalog-menu li a {
  color: var(--bs-nav-link-color);
}

.ws-catalog-menu li a:hover {
  color: var(--darkred);
}

.custom-breadcrumb ol,
.ws-breadcrumbs ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.custom-breadcrumb ol li:not(:last-child)::after,
.ws-breadcrumbs ol li:not(:last-child)::after {
  content: '>';
  margin: 0 .25rem;
}

.custom-breadcrumb ol li a,
.ws-breadcrumbs ol li a {
  font-family: var(--main-font);
  font-weight: 600;
}

#homepage,
#custom-page,
#catalog-product-category,
#catalog-product {
  background-repeat: no-repeat;
  background-position-y: 20%;
  background-size: 65%;
}

/*START FOOTER*/
#to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.2rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: var(--lightred);
  color: #fff;
  cursor: pointer;
  transition: .3s ease-in;
  opacity: 90;
  z-index: 100;
}

#to-top:hover {
  background-color: var(--darkred);
}

/*END FOOTER*/
/*END GENERAL THEME*/
/*end angelo 04082023*/
.input-file {
  position: relative;
}

.ws-contact-form-file-info-valid-types,
.ws-contact-form-file-info-max-size {
  display: none;
}

.ws-contact-form-input.result-file {
  visibility: hidden;
  width: 0px;
}

.ws-images-list {
  list-style-type: none;
}

.combination-image img {
    height: auto;
    width: 100%;
}

.ws-product-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ws-product-attributes-group {
  width: 100%;
  max-width: 583.664px;
  flex: 49%;
}

.ws-product-attribute {
  padding: 20px 1.5rem;
  display: none;
}

.ws-product-attribute.ws-selected,
.ws-product-attribute.visible {
  display: block;
}

.ws-product-attributes-list {
  width: 100%;
  border: 1px solid #707070;
  cursor: pointer;
  min-height: 64px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 16px 12px;
  background-position: right .75rem top 1.5rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
}

.submit {
  text-align: right;
}

/*start devstage2*/
/*START NAVBAR */
.current-page {
  color: var(--darkred);
}

.flex {
  --gap: 1.5rem;
  display: flex;
  gap: var(--gap, 1rem);
}

.main-navigation {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar {
  padding: 1.75rem 3rem;
  box-shadow: 0 .1rem .1rem rgba(0, 0, 0, 0.1);
}

.primary-header {
  padding: 0;
}

.primary-navigation {
  list-style: none;
  margin: 0;
}

.primary-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-right: .5em;
}

.mobile-nav-toggle {
  display: none;
}

.dropdown-menu[data-dropdown="true"] {
  left: 50%;
  transform: translate(-50%)
}

.ws-language-menu {
  display: flex;
  width: 24px;
  overflow: hidden;
  transition: width 350ms ease-in-out;
  justify-content: space-around;
}

.ws-language-menu .selected {
  order: -1;
}

.ws-language-menu li img {
  width: 24px;
}

.ws-language-menu span {
  display: none;
}

.language-nav-toggle {
  border: none;
  background-color: inherit;
}

.ws-nav-item {
  font-family: var(--main-font);
}

.ws-nav-item:hover {
  color: var(--darkred);
}

.divisore {
  border-left: 2px solid var(--darkgrey);
  height: 80%;
  align-self: center;
  margin-right: .5rem;
}

.language-menu[data-expanded="true"] .ws-language-menu {
  width: 150px;
}

.navbar .dropdown-toggle::after {
  display: inline-block !important;
}

/*END NAVBAR*/
/*INIZIO CATEGORIA PRODOTTO*/
.catalogo-prodotti {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.container-prodotto {
  display: flex;
  flex-direction: row;
  flex: 1 1 45%;
  width: 100%;
  height: 100%;
  max-width: 636px;
}

.container-img-prodotto {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-basis: 50%;
  border: 1px solid var(--darkgrey);
  aspect-ratio: 1;
  overflow: hidden;
}

.container-img-prodotto img {
  width: 100%;
  transition: transform .5s ease-in-out;
}

.container-img-prodotto img:hover {
  transform: scale(1.050);
}

.container-descrizione-prodotto {
  display: flex;
  align-items: end;
  flex-basis: 50%;
  border: 2px solid var(--darkergrey);
  font-weight: 600;
  background-color: white;
  color: var(--darkergrey);
  text-transform: uppercase;
  aspect-ratio: 1;
}

.descrizione-prodotto-link {
  display: flex;
  align-items: end;
  padding: 1rem;
  font-weight: 600;
  color: var(--darkergrey);
  height: 100%;
}

.img-prodotto {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1;
}

.container-prodotto:hover .container-descrizione-prodotto {
  background-color: var(--darkred);
  border-color: var(--darkred);
}

.container-prodotto:hover .descrizione-prodotto-link {
  color: white;
}
/*FINE CATEGORIA PRODOTTO*/

    /***********Cookie**********/
#cookietop {
    position: fixed;
    background-color: #fff;
    display: flex;
    font-size: .8em;
    padding: 0.5em 1em;
    justify-content: space-between;
    line-height: 1;
    width: 50%;
    min-width: 300px;
    z-index: 2000;
    align-items: center;
    color: #808080;
    bottom: 1rem;
    right: 5rem;
    border: 1px solid #808080;
}

#cookietop p {
    margin-bottom: 0;
    margin-right: 1em;
    font-size: large;
}

#cookietop input {
    text-transform: uppercase;
    background-color: var(--lightred);
    color: #fff;
    padding: .5em 1em;
    border: none;
}

/*START PRODOTTO */
.ws-product {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

#chevron-gray {
  position: relative;
  top: 30%;
  text-align: center;
  padding: 12px;
  margin-bottom: 6px;
  height: 60px;
  width: 200px;
  transform: rotate(-90deg);
  opacity: .5;
}

#chevron-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--darkgrey);
  transform: skew(0deg, 40deg);
}

#chevron-gray::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: var(--darkgrey);
  transform: skew(0deg, -40deg);
}

#chevron-red {
  position: relative;
  top: 30%;
  text-align: center;
  padding: 12px;
  margin-bottom: 6px;
  height: 60px;
  width: 200px;
  transform: rotate(-90deg);
}

#chevron-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--darkred);
  transform: skew(0deg, 40deg);
}

#chevron-red::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: var(--darkred);
  transform: skew(0deg, -40deg);
}

/*fine chevrons*/
/*inizio prodotti suggeriti*/
.ws-suggested-products {
  display: flex;
}

.ws-suggested-product {
  position: relative;
  width: 375px;
  aspect-ratio: 1;
  overflow: hidden;
}

.ws-suggested-product .ws-image {
  width: 100%;
}

.ws-suggested-product:hover .ws-product-name {
  transform: translateY(0);
}

.ws-product-name {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: .25rem;
  color: white;
  text-align: center;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, .7);
  backdrop-filter: blur(10px);
  font-weight: 600;
  transform: translateY(100%);
  transition: 300ms ease-in-out;
}

.ws-product-reference {
  display: none;
}

/*fine prodotti suggeriti*/
.contenitore-settori-applicazione {
  border-left: 2px solid var(--darkergrey);
}

.btn-preventivo {
  background-color: var(--darkred);
  color: white;
  padding: .5em 2.5em;
  text-align: center;
  transition: transform .2s;
}

.btn-consulenza {
  background-color: var(--darkergrey);
  color: white;
  padding: .5em 2.5em;
  text-align: center;
  transition: transform .2s;
}

.btn-preventivo:hover,
.btn-consulenza:hover {
  color: white;
}

.btn-preventivo:active,
.btn-consulenza:active {
  transform: scale(0.95);
}

.product-section {
  padding: 5rem 0;
}

.ws-product-uses picture {
  display: none;
}

.link-applicazione {
  color: black;
  font-family: var(--text-font);
}

.ws-product-upc { 
  display: none;
}

.ws-product-upc[data-lang-active] { 
  display: inline-block;
  background-color: var(--darkblue);
  color: #fff;
  padding: .5rem;
  margin: .5rem 0;
  width: fit-content;
}

.container-btns-configurazione {
  display: flex;
  justify-content: end;
  padding-top: 3rem;
}

.ws-file {
  display: inline-flex;
}

.ws-file::before {
  content: url(/content/media/files/img/icone/download-file-small.png);
}

.ws-file-link {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  color: var(--darkergrey);
  font-weight: 600;
  padding-left: 1.25rem;
}

#popupgallery-2 {
  gap: 0;
  justify-content: center;
}

/*END PRODOTTO IN VENDITA*/
.list-item {
  margin-bottom: .25rem;
}

.list-item a {
  display: flex;
  justify-items: center;
}

.spacer {
  width: 100%;
  height: 200px;
}

.scroll-box {
  scroll-behavior: smooth !important;
  position: relative;
}

.gray-square {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: -200px;
  width: 400px;
  aspect-ratio: 1;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: -100;
  transform: rotate(45deg);
}

.red-square {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  aspect-ratio: 1;
  background-color: var(--darkred);
  z-index: -10;
}

.white-square {
  position: relative;
  width: 120px;
  aspect-ratio: 1;
  background-color: white;
  z-index: -1;
}

/*05-07*/
.catalogo-applicazioni {
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: repeat(auto-fill, 283px);
  justify-content: center;
}

.container-applicazione {
  position: relative;
  aspect-ratio: 1;
  border: 2px solid black;
  transition: border .1s ease-in-out;
}

.container-applicazione:hover {
  border: 4px solid var(--darkred);
}

.container-applicazione:hover .container-applicazione-nome {
  background-position: left;
  color: white;
}

.container-applicazione-nome {
  position: absolute;
  width: 245px;
  height: 60px;
  bottom: -30px;
  border: 2px solid var(--darkred);
  padding: .5rem;
  text-align: center;
  left: 15px;
  background: linear-gradient(to left, white 50%, var(--darkred) 50%) right;
  background-size: 200% 100%;
  transition: all .5s ease-in-out;
  color: black;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
}

.applicazione-nome {
  font-weight: 600;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-paragrafo-applicazioni {
  margin: 5rem 0;
}

.ws-related-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.ws-related-item {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 4px var(--darkgrey);
  border-radius: 1rem;
  padding: 1rem;
}

.container-news-img {
  display: flex;
  width: 250px;
  height: 150px;
  border: 1px solid var(--darkergrey);
  padding: .25rem;
}

.container-news-img img {
  width: 100%;
}

.container-news-title {
  padding-top: .5rem;
  width: 245px;
}

.news-title {
  font-weight: 600;
}

.news-date {
  margin: 0;
}

.titolo-related-items {
  color: var(--darkergrey);
  font-weight: 600;
}

.container-dettaglio-applicazione {
  border-radius: 1rem;
}

.attesa-conferma {
  border: 1px solid var(--darkred);
  padding: .5rem;
}

.testi-conferma {
  color: var(--darkred);
}

/*START STILI FORM*/
.ws-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-input-style {
  border: 0;
  border-bottom: 2px solid var(--darkergrey);
  color: var(--darkergrey);
}

.form-input-style::placeholder {
  font-style: italic;
  color: black;
  font-weight: 500;
}

.ws-contact-form-label {
  color: black;
  font-weight: 500;
}

.form-btn-style {
  border: 0;
  background-color: var(--darkred);
  padding: .5em 2.5em;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.2s ease-in-out;
  width: 100%;
}

.form-btn-style:active {
  transform: scale(0.95);
}

.product-summary-form {
  resize: none;
  background-color: transparent;
}

/*END STILI FORM*/
/*BS5*/
.dropdown-toggle::after {
  display: none;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.footer-link {
  color: var(--darkergrey);
  text-decoration: underline;
}

.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: black;
  background-color: white;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C01E2D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:focus {
  z-index: 3;
  border-color: var(--lightred);
  outline: 0;
  box-shadow: var(--lightred);
}

.accordion-body {
  padding: 3rem var(--bs-accordion-body-padding-x);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C01E2D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.modal {
  --bs-modal-width: 900px;
}

/* BS5*/
.link-contatti {
  color: var(--darkergrey);
  text-decoration: underline;
}

.checkbox-label {
  color: var(--darkgrey);
  font-size: .8rem;
}

#diametro,
#lunghezza {
  display: none;
}

#catalog-product[data-ws-item-id="14"] #diametro,
#catalog-product[data-ws-item-id="14"] #lunghezza {
  display: block;
}

#ws-contact-form-input-59 {
  cursor: not-allowed;
}

.ws-product-attribute.visible:not(.ws-product-attribute.visible:first-child):hover {
  background-color: #f9f9fb;
}

.custom-breadcrumb-piece:last-child,
.ws-breadcrumb-piece:last-child {
  font-weight: bold;
}

.triangle-applications-gray {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 12.5rem solid transparent;
  border-left: 12.5rem solid rgba(0, 0, 0, 0.1);
  border-bottom: 12.5rem solid transparent;
  z-index: -1;
}

.triangle-applications-red {
  position: absolute;
  left: 0;
  top: 120px;
  width: 0;
  height: 0;
  border-top: 5rem solid transparent;
  border-left: 5rem solid var(--darkred);
  border-bottom: 5rem solid transparent;
  z-index: -1;
}

.triangle-applications-white {
  position: absolute;
  left: -1px;
  top: 150px;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-left: 50px solid white;
  border-bottom: 50px solid transparent;
  z-index: -1;
}

/*classe main pagine*/
.ws-custom-page,
.ws-product-category,
.ws-product,
.ws-applications-sectors,
.ws-application-sector,
.ws-all-news {
  display: flex;
  justify-content: center;
}

.ws-all-news {
  margin-top: 2rem;
}

/*fine*/
.allnews-container {
  /*
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    */
  /*05-07*/
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fill, 298px);
  justify-content: center;
}

.news-box {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 4px var(--darkgrey);
  border-radius: 1rem;
  padding: 1.5rem;
}

.ws-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ws-tag {
  border: 1px solid var(--darkgrey);
  border-radius: 1rem;
  padding: .25rem .5rem;
}

.ws-tag-count {
  display: none;
}

.ws-pagination {
  display: flex;
  justify-content: end;
  margin-top: 5rem;
  border-bottom: 1px solid var(--darkergrey);
  padding: .5rem 0;
  gap: .5rem;
}

.ws-pagination span {
  display: none;
}

.filter-container {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

/*inizio chevrons applicazioni*/
.container-chevron-app {
  position: absolute;
  left: 0;
  top: 180px;
  display: flex;
  z-index: -1;
}

.chevron-grigio {
  position: relative;
  top: 30%;
  text-align: center;
  padding: 12px;
  margin-bottom: 6px;
  height: 10x;
  width: 48px;
  transform: rotate(-90deg);
  opacity: .5;
}

.chevron-grigio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--darkgrey);
  transform: skew(0deg, 40deg);
}

.chevron-grigio::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: var(--darkgrey);
  transform: skew(0deg, -40deg);
}

.chevron-rosso {
  position: relative;
  top: 30%;
  text-align: center;
  padding: 12px;
  margin-bottom: 6px;
  height: 10px;
  width: 48px;
  transform: rotate(-90deg);
}

.chevron-rosso::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--darkred);
  transform: skew(0deg, 40deg);
}

.chevron-rosso::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: var(--darkred);
  transform: skew(0deg, -40deg);
}

/*fine chevrons app*/
.custom-prd-catalogue {

  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, 292px);
  justify-content: start;
  margin-bottom: 6rem;
}

.custom-prd-card {
  outline: 2px solid black;
  padding: 0 1rem;
  transition: all .2s ease-in-out;
}

.custom-prd-card:hover {
  outline: 3px solid var(--darkred);
}

.custom-prd-card:hover .custom-title-container {
  font-weight: 600;
}

.custom-title-container {
  border-top: 1px solid;
  width: 260px;
  text-align: center;
  text-transform: uppercase;
  padding: 1rem;
  transition: font-weight .2s ease-in-out;
  letter-spacing: 1px;
}

.btn-preventivo-custom {
  color: white;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--darkergrey);
  padding: .5rem 0;
}

.btn-consulenza-custom {
  color: white;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--darkgrey);
  padding: .5rem 0;
}

.input-group-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.input-container {
  width: 420px;
  display: flex;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.input-container-textArea {
  width: 100%;
  display: flex;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.input-text {
  margin: 0;
  padding: .5rem 1rem;
}

.form-radio-custom {
  display: none;
}

.form-radio-custom+label {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-transform: uppercase;
}

.form-radio-custom:checked+label {
  background-color: var(--lightgrey);
}

.radio-container {
  width: 420px;
  height: 72px;
  box-shadow: var(--shadow);
}

.radio-container label {
  transition: box-shadow 0.3s ease-in-out;
}

.radio-container label:hover {
  box-shadow: 0 .3rem .4rem rgba(0, 0, 0, 0.2);
}

.container-custom-btns {
  margin-top: 1.5rem;
  display: flex;
  width: 100%;
}

.btn-preventivo-custom {
  color: white;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--darkergrey);
  padding: .5rem 0;
  display: flex;
  flex: 50%;
  justify-content: center;
}

.btn-consulenza-custom {
  color: white;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--darkgrey);
  padding: .5rem 0;
  display: flex;
  flex-basis: 50%;
  justify-content: center;
}

.input-container-text-area {
  width: 860px;
  display: flex;
  box-shadow: var(--shadow);
  padding: 1rem;
}

#if-case-1,
#if-case-2,
#if-case-text-1,
#if-case-text-2 {
  display: none;
}

.missing-fields {
  display: none;
  color: red;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

.form-input-file {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.form-input-file+label {
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  cursor: pointer;
}

.custom-button {
  display: flex;
  justify-content: center;
  padding: 1rem;
  width: 100%;
  height: 100%;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  height: 72px;
  align-items: center;
  transition: transform .3s ease-in-out;
}

.custom-button:hover {
  color: white;
  transform: scale(1.010);
}

.dark-grey {
  background-color: var(--darkergrey);
}

.light-grey {
  background-color: var(--darkgrey);
}

div[data-optional-field="true"] {
  display: none;
}

.valore-temperatura {
  width: fit-content;
  border: none;
  background-color: transparent;
}

/*NAVBAR PAGINA PRODOTTO SCROLL-SPY*/
.list-group {
  border: none;
  gap: .2rem;
}

.list-group-item {
  border: none;
}

.list-group-item.active {
  border: none;
}

.list-group-item.active {
  z-index: 2;
  color: var(--bs-list-group-active-color);
  background-color: transparent;
  border: none;
}

.product-nav-link {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.product-nav-link i {
  width: 24px;
}

/*CLIP PATHS DI BACKGROUND*/
.contenitore-settori-applicazione {
  position: relative;
  padding: 0 1.5rem;
}

.clip-container-grey {
  position: absolute;
  top: -20%;
  right: 0;
  width: 140%;
  height: 140%;
  background-color: rgba(222, 222, 222, .5);
  clip-path: polygon(25% 50%, 100% 100%, 100% 0);
  z-index: -2;
}

.clip-container-white {
  position: absolute;
  top: 30%;
  right: 0;
  width: 40%;
  height: 40%;
  background-color: white;
  clip-path: polygon(25% 50%, 100% 100%, 100% 0);
  z-index: -1;
}

/*END CLIP PATHS*/
.label-upload {
  padding: 2rem;
  border: 2px dashed var(--darkgrey);
  border-radius: .4rem;
  font-weight: normal !important;
  font-size: 1.25em;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
  width: 80px;
}

.ws-pagination .current {
  color: var(--darkred);
}

#ws-contact-form-input-85 {
  cursor: pointer;
}

.lista-categorie-prodotti {
  --bs-border-width: 2px;
  --bs-border-color: var(--darkgrey);
}

.lista-categorie-prodotti .wrapper-img {
  overflow: hidden;
}

.lista-categorie-prodotti .wrapper-img img {
  transition: .5s ease-in-out;
  width: 100%;

  &:hover {
    transform: scale(1.050);
  }
}

.lista-categorie-prodotti .wrapper-text {
  position: relative;
  max-width: 975px;
}

.wrapper-text h2 {
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--darkred);
}

.wrapper-text p {
  margin-bottom: 4rem;
}

.button {
  padding: .5rem 2.5rem;
  text-transform: uppercase;
  font-weight: 600;
  text-transform: uppercase;
}

.button--red {
  color: #fff;
  background-color: var(--darkred);

  &:hover {
    color: #fff;
  }
}

.position-absolute--bottom-right {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.custom-breadcrumb {
  margin: 3.75rem 0;
}

.responsive-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(var(--grid-col-breakpoint), 1fr));
  grid-gap: 1rem;
}

.img-slide {
  width: 100%;
}

.lista-punti-forza {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, 275px);
  justify-content: center;
}

.oggetto-lista-forza {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  align-items: center;
  max-width: 275px;
}

.icona-lista-punti-forza {
  width: 48px;
}

.carousel-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  text-align: start;
  color: black;
  transform: translate(-50%, -50%);
  width: 80%;
}

.carousel-item {
  transition: none;
}

.slider-caption-text,
.slider-caption-img {
  padding: 1.5rem;
}

.carousel-item.active .slider-caption-text {
  position: relative;
  top: 0;
  opacity: 1;
  transition: .8s ease-in-out;
}

.carousel-item .slider-caption-text {
  top: 90vh;
  opacity: 0;
}

.carousel-item.active .slider-caption-img {
  position: relative;
  right: 0;
  opacity: 1;
  transition: 1s ease-in-out;
}

.carousel-item .slider-caption-img {
  right: -90vh;
  opacity: 0;
}

#ws-contact-form-input-59,
#ws-contact-form-input-68,
#ws-contact-form-input-84 {
  user-select: none;
  cursor: default;
  padding: .75rem;
  text-transform: uppercase;
  border: none;
  font-weight: bold;
}

.container-applicazione .ws-image {
  width: 275px;
  aspect-ratio: 1;
}

.container-product-nav {
  top: 0;
  left: -5%;
}

.icon {
  --icon: '';
  --size: 1.5rem;
  background-image: var(--icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: var(--size);
  height: var(--size);
  user-select: none;
}

.icon-arrowUp {
  --icon: url('/content/media/files/img/svg/arrow-up.svg');
  filter: invert(100%);
  width: 50px;
  height: 50px;
  background-size: 50%;
}

.icon-chevronRight {
  --icon: url('/content/media/files/img/svg/chevron-compact-right.svg')
}

.icon-chevronLeft {
  --icon: url('/content/media/files/img/svg/chevron-compact-left.svg');
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 150ms ease-out;

}

.language-nav-toggle {
  position: relative;
}

.rotate-180 {
  transform: rotate(180deg) translate(50%, 50%);
  transform-origin: center;
}

/* PRODOTTI */
.list-group {
  --bs-list-group-item-padding-x: 0;
  --bs-list-group-item-padding-y: 0;
}

.navList-wrapper {
  position: sticky;
  top: 5rem;
  left: 0;
}

#product-nav {
  position: fixed;
  top: calc(100% - 60%);
}

.icon-info {
  --icon: url('/content/media/files/img/icone/info-solid.png');
  --icon: url('/content/media/files/img/icone/info-regular.png');
  background-size: contain;
}

.icon-dataSheet {
  --icon: url('/content/media/files/img/icone/file-solid.png');
  --icon: url('/content/media/files/img/icone/file-regular.png');
  background-size: contain;
}

.icon-configuration {
  --icon: url('/content/media/files/img/icone/cog-solid.png');
  --icon: url('/content/media/files/img/icone/cog-regular.png');
  background-size: contain;
}

.icon-suggested {
  --icon: url('/content/media/files/img/icone/lightbulb-solid.png');
  --icon: url('/content/media/files/img/icone/lightbulb-regular.png');
  background-size: contain;
}

.icon-customRequest {
  --icon: url('/content/media/files/img/icone/wrench-solid.png');
  --icon: url('/content/media/files/img/icone/wrench-regular.png');
  background-size: contain;
}


.list-group-item.active .icon-info {
  --icon: url('/content/media/files/img/icone/info-solid.png');
  background-size: contain;
}

.list-group-item.active .icon-dataSheet {
  --icon: url('/content/media/files/img/icone/file-solid.png');
  background-size: contain;
}

.list-group-item.active .icon-configuration {
  --icon: url('/content/media/files/img/icone/cog-solid.png');
  background-size: contain;
}

.list-group-item.active .icon-suggested {
  --icon: url('/content/media/files/img/icone/lightbulb-solid.png');
  background-size: contain;
}

.list-group-item.active .icon-customRequest {
  --icon: url('/content/media/files/img/icone/wrench-solid.png');
  background-size: contain;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C01E2D'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-size: 2.5rem;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C01E2D'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  background-size: 2.5rem;
}

/* PRODOTTI */
.azienda img{
   max-width: 400px;
}

/*START MOBILE LAYOUT */
@media (max-width:768px) {

  /*START NAVBAR*/
  .navbar {
    padding: .75rem 1.5rem;
    color: white;
  }

  body:has(.primary-navigation[data-visible="true"]) {
    overflow-y: hidden;
  }

  .primary-navigation {
    position: fixed;
    z-index: 10;
    inset: 0 0 0 0%;
    flex-direction: column;
    justify-content: space-between;
    padding: 2em;
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    background-color: var(--darkblue);
    overflow-y: scroll;
  }

  .primary-navigation[data-visible="true"] {
    transform: translateX(0%);
  }

  .primary-nav {
    --gap: 2em;
    flex-direction: column;
    padding: 5em 0 min(20vh, 1rem);
    border: 0;
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    z-index: 100;
    width: auto;
    border: 0;
    right: 1.5rem;
  }

  .icon-bar {
    background-color: black;
    transform: rotate(0deg) translate(0px, 0px);
    transition: ease all .2s;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin: 4px auto;
    transition: ease all .2s;
  }

  .mobile-nav-toggle[aria-expanded="true"] .icon-bar {
    background-color: white;
  }

  .navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }

  .navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    color: white;
  }

  .dropdown-menu {
    display: none;
    position: static;
    background-color: var(--darkblue);
    transition: transform 350ms ease-in;
    box-shadow: none;
    border: 0;
  }

  .dropdown-menu[data-visible="true"] {
    display: block;
    box-shadow: none;
  }

  .dropdown-menu[data-dropdown="true"] {
    width: auto;
    text-align: left;
  }

  .dropdown-menu[data-dropdown-prd="true"] {
    width: auto;
    box-shadow: none;
  }

  .dropdown-menu ul {
    padding: 1em;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: none;
    color: var(--lightgrey);
  }

  .dropdown-menu p {
    color: white;
  }

  .navbar a {
    color: white;
  }

  .prodotti-standard {
    text-align: left;
    border-right: 0;
  }

  .prodotti-custom {
    text-align: left;
  }

  .language-nav-toggle {
    display: none;
  }

  .ws-language-menu {
    width: 120px!important;
  }

#cookietop input {
    margin-top: 1rem;
}

  /*END NAVBAR*/

  /*Cookie*/
#cookietop{
    flex-direction: column;
}

  /*START PRODOTTO IN VENDITA*/
  .product-quick-menu {
    display: none;
  }

  .contenitore-settori-applicazione {
    border: 0;
    margin-top: 3rem;
    padding: 0 .75rem;
  }

  .btn-consulenza,
  .btn-preventivo {
    width: 100%;
    height: fit-content;
    width: fit-content;
    margin: .25rem 0;
  }

  .slider-wrapper.theme-default {
    width: 100%;
  }

  .container-custom-request {
    width: 100%;
  }

  .combination-image img {
    width: 100%;
    height: auto;
  }

  .container-scroll {
    overflow-x: auto;
  }

  .container-btns-configurazione {
    flex-direction: column;
  }

  #chevron-applicazioni,
  #chevron-gray,
  #chevron-red {
    display: none;
  }

  /*END PRODOTTO IN VENDITA*/
  /*INIZIO CATEGORIA PRODOTTO*/
  .catalogo-prodotti {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5rem;
  }

  .container-prodotto {
    flex: 1;
  }

  .img-prodotto img {
    width: 100%;
  }

  /*FINE CATEGORIA PRODOTTO*/
  .row-form {
    gap: 1rem;
  }

  .categoria-prodotti-custom {
    flex-direction: column;
  }

  .carousel,
  .carousel-item img {
    height: 70vh;
  }

  .carousel-caption {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .carousel-item.active .slider-caption-text {
    position: relative;
    top: 0;
    opacity: 1;
    transition: .8s;
  }

  .carousel-item .slider-caption-text {
    top: -90vh;
    opacity: 0;
    transition: .8s;
  }

  .dropdown-menu[data-dropdown="true"] {
    left: 0;
    transform: none;
  }

  .ws-product {
    margin-top: 0;
  }

  .responsive-columns {
    display: flex;
    flex-direction: column;
  }

  .clip-container-grey {
    top: -50%;
    width: 50%;
    height: 200%;
    clip-path: polygon(0 50%, 100% 100%, 100% 0);
  }

  .clip-container-white {
    top: 50%;
    width: 12.5%;
    height: 50%;
    transform: translateY(-50%);
    clip-path: polygon(0 50%, 100% 100%, 100% 0);
  }

  .container-chevron-app {
    display: none;
  }

  .allnews-container,
  .ws-related-items {
    justify-content: center;
  }

  .triangle-applications-gray,
  .triangle-applications-red,
  .triangle-applications-white {
    display: none;
  }

  .gray-square-prd {
    display: none;
  }

/* PRODOTTI */
.azienda p, .azienda h2{
   text-align: center;
}

  .vertical-carousel-wrapper .vcard {
    width: 12rem!important;
    height: 12rem!important;
  }
}

iframe {
  width: 100%;
  border: none;
}

/*NIVO*/
.slider-wrapper.theme-default {
  position: relative;
}

.theme-default .nivo-controlNav {
  position: absolute;
  bottom: 0;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.custom-img-thumbs {
  max-width: 260px;
  max-height: 260px;
}

.background-style-news {
  display: inline-flex;
  width: 100%;
  overflow: none;
}

/*04-06*/
section h2 {
  scroll-margin-top: 40px;
}

section h2:target {
  color: var(--darkred);
}

.wrapper-img-news img {
  max-width: 500px;
  max-height: 300px;
}

.ws-product-category {
  background-image: url("/content/media/files/img/svg/bg-chevron-left.svg")
  background-repeat: no-repeat;
  background-size: 350px,
    700px;
  background-position: top -150px left -135px,
    top 10px right -300px;
}

.ws-applications-sectors {
  background-image: url("/content/media/files/img/svg/bg-chevron-left.svg");
  background-repeat: no-repeat;
  background-size: 350px;
  background-position: top -150px left -135px;
}

@media (max-width:992px) {
  .ws-product-category {
    background-image: url("/content/media/files/img/svg/bg-chevron-left.svg");
    background-repeat: no-repeat;
    background-size: 350px;
    background-position-x: -135px;
    background-position-y: -150px;
  }

}

.ws-all-news {
  background-image: url("/content/media/files/img/svg/bg-chevron-news.svg");
  background-repeat: no-repeat;
  background-size: 15%;
  background-position: top 30px left 0px;
}

.wrapper-img-utilizzo {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fill, 270px);
  justify-content: center;
  margin-top: 3rem;
}

.wrapper-img-utilizzo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/*Griglia bootstrap 5 ridotta*/
@media (min-width:1400px) {
  .container-sm {
    max-width: 1140px;
  }
}

@media (min-width:1921px) {
  .container-sm {
    max-width: 1320px;
  }
}

.ws-images-list {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, 292px);
}

.ws-images-list .ws-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

#news[data-ws-item-id="29"] .wrapper-img-news img {
  transform: rotate(-45deg);
}
























/* ---- Freccia decorativa ---- */
.freccia-rimatek::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(/content/media/files/img/home/rimatek-freccia.png) no-repeat center/contain;
}

:root {
  --bg-grad: linear-gradient(120deg, #dcdcdc -214%, #ececec 40%, #fff 100%);
  --text: #111;
  --red: #b31217;
  --lightgrey: #e6e6e6;
  --white: #fff;
  --scrim: rgba(0, 0, 0, .5);
  --size-s: 10rem;
  --size-m: 15rem;
  --size-l: 20rem;
  --dur: .8s;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

/*SEZIONE ROMBI*/
.section-rombi {
  height: 75vh;
  position: relative;
  overflow: hidden;
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  grid-template-areas: "title medium large small triangles";
  align-items: center;
  justify-items: center;
  gap: 2rem;
  background-image: url(/content/media/files/img/home/carousel-slides/sfondo-banner-rombi.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom
}

.title-left-wrapper {
  grid-area: title;
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.highlighted-letter {
    color: var(--darkergrey);
}

/*ROMBI*/
.section-rombi .diamond-anim-wrapper,
.section-rombi .diamond-container {
  display: none;
}

.section-rombi.pre-on .diamond-anim-wrapper {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}

.section-rombi.pre-on .diamond-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.section-rombi.anim-in.is-on .diamond-anim-wrapper {
  opacity: 1;
  transform: translateX(0);
}

.section-rombi.anim-out .diamond-anim-wrapper {
  opacity: 0;
  transform: translateX(100px);
}

.section-rombi.pre-on.is-on .area-medium {
  transition-delay: .1s;
}

.section-rombi.pre-on.is-on .area-large {
  transition-delay: .2s;
}

.section-rombi.pre-on.is-on .diamond-container .diamond-anim-wrapper:nth-child(1) {
  transition-delay: .3s;
}

.section-rombi.pre-on.is-on .diamond-container .diamond-anim-wrapper:nth-child(2) {
  transition-delay: .4s;
}

.diamond {
  display: inline-grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transform: rotate(45deg);
  text-decoration: none;
  transform-origin: center center;
  transition: transform .4s ease, box-shadow .4s ease;
  will-change: transform;
  isolation: isolate; 
}

.diamond--small {
  width: var(--size-s);
  height: var(--size-s);
}

.diamond--medium {
  width: var(--size-m);
  height: var(--size-m);
}

.diamond--large {
  width: var(--size-l);
  height: var(--size-l);
}

.diamond__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.diamond img {
  position: absolute;
  inset: 0;
  width: 145%;
  height: 145%;
  object-fit: cover;
  top: -20%;
  left: -20%;
  transform: rotate(-45deg);
  transition: filter .3s var(--ease);
}

.diamond__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  margin: -5rem;
  color: var(--white);
  background: var(--scrim);
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity .3s var(--ease);
  backdrop-filter: saturate(120%) blur(2px);
}

.diamond:hover img,
.diamond:focus-visible img {
  filter: brightness(.55);
}

.diamond:hover .diamond__overlay,
.diamond:focus-visible .diamond__overlay {
  opacity: 1;
}

.diamond:hover,
.diamond:focus-visible {
  transform: rotate(45deg) scale(1.10);   
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,0,0,.25);
}

/* ====== TRIANGOLI ====== */
.triangle-inline {
  grid-area: triangles;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 12rem;
  background: none;
  border: 0;
  cursor: pointer;
  margin-right: -4rem;
}

.triangle-gray,
.triangle-red,
.triangle-white {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  transition: transform .4s var(--ease);
  width: 0;
  height: 0;
}

.triangle-gray {
  border-top: 18rem solid transparent;
  border-left: 18rem solid #c4c4c4;
  border-bottom: 18rem solid transparent;
}

.triangle-red {
  border-top: 12rem solid transparent;
  border-left: 12rem solid var(--red);
  border-bottom: 12rem solid transparent;
}

.triangle-white {
  border-top: 9rem solid transparent;
  border-left: 9rem solid var(--white);
  border-bottom: 9rem solid transparent;
}

.triangle-inline:hover .triangle-gray {
  transform: translateY(-50%) translateX(-5px) rotate(180deg);
}

.triangle-inline:hover .triangle-red {
  transform: translateY(-50%) translateX(-10px) rotate(180deg);
}

.triangle-inline:hover .triangle-white {
  transform: translateY(-50%) translateX(-15px) rotate(180deg);
}

/* HOME CAROUSEL */
.home-carousel {
  padding: 3rem 0;
}

.vertical-carousel-wrapper {
  position: relative;
  width: 200px;
  height: 440px;
  perspective: 1000px;
  outline: none;
  margin: auto;
}

.vertical-carousel-wrapper .vcard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20rem;
  height: 20rem;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s ease, opacity .5s ease;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.vertical-carousel-wrapper .vcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vertical-carousel-wrapper .vcard--center {
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
  opacity: 1;
}

.vertical-carousel-wrapper .vcard--top {
  transform: translate(-100%, -100%) scale(.8);
  z-index: 2;
  opacity: .6;
}

.vertical-carousel-wrapper .vcard--bottom {
  transform: translate(-100%, 0%) scale(.8);
  z-index: 1;
  opacity: .6;
}

.vertical-carousel-wrapper-2 .vcard--top {
  transform: translate(0%, -100%) scale(.8);
}

.vertical-carousel-wrapper-2 .vcard--bottom {
  transform: translate(0%, 0%) scale(.8);
}

.home-carousel-text {
  padding-left: 6rem;
}

.carousel-extra-img {
  width: 5rem;
  background: #000;
  object-fit: cover;
  padding: .2rem;
  border-radius: .2rem;
}

.home-carousel-section {
  padding: 5rem 0;
}

  .carousel,
  .carousel-item img {
    height: auto;
  }

  .home-carousel {
    padding: 6rem 0 3rem;
  }

  .home-carousel-text {
    padding: 2rem;
  }

  .vertical-carousel-wrapper {
    margin: 0;
  }

  .vertical-carousel-wrapper .vcard {
    width: 20rem;
    height: 20rem;
  }

  .home-section-text {
    padding: 1.5rem;
    text-align: center;
  }

/* ---- SEZIONE-CTA ---- */
.home-cta {
  background-color: var(--darkred);
}

.home-carousel-2 .home-carousel-text {
  padding-right: 6rem;
}

.home-cta .text-white {
  padding: 1.5rem;
}

.home-section-text {
  padding: 0 0 0 6rem;
}

/* ---- FOOTER ---- */
.footer {
  box-shadow: 0 -0.1rem 0.1rem rgba(0, 0, 0, .1);
  color: var(--darkergrey);
  font-family: 'Arial', sans-serif;
  font-size: .9rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}

.footer a.footer-link {
  text-decoration: none;
  font-weight: 500;
  transition: color .3s ease, text-decoration .3s ease;
  margin: 0 .5rem;
}

.footer a.footer-link:hover {
  color: #d32f2f;
}

.footer .footer-address {
  margin: .2rem 0 1rem;
  color: var(--darkergrey);
}

.flex {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  display: inline-block;
}

.footer-social a {
  color: var(--darkergrey);
  font-size: 1.2rem;
  transition: color .3s ease, transform .3s ease;
  margin: 0 .5rem;
}

.footer-social a:hover {
  color: #f24040;
  transform: translateY(-2px);
}

.contact-labels p,
.contact-values p {
  margin: .2rem 0;
  font-weight: 500;
}

.divisore {
  border-left: 2px solid var(--darkgrey);
  height: 80%;
  display: inline-block;
  vertical-align: middle;
  margin: 0 1rem;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all .3s ease;
}

.footer-social-icons a svg {
  width: 24px;
  height: 24px;
  stroke: var(--darkgrey);
  transition: stroke .3s ease, transform .3s ease;
}

.footer-social-icons a:hover svg {
  stroke: #f24040;
  transform: scale(1.2);
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width:1500px) {
  :root {
    --size-s: 6rem;
    --size-m: 12rem;
    --size-l: 15rem;
  }

  .triangle-gray {
    border-top: 12rem solid transparent;
    border-left: 12rem solid var(--lightgrey);
    border-bottom: 12rem solid transparent;
  }

  .triangle-red {
    border-top: 8rem solid transparent;
    border-left: 8rem solid var(--red);
    border-bottom: 8rem solid transparent;
  }

  .triangle-white {
    border-top: 6rem solid transparent;
    border-left: 6rem solid var(--white);
    border-bottom: 6rem solid transparent;
  }

  .section-rombi {
    height: 40vh;
  }

  .triangle-inline {
    margin-right: -5rem;
  }
}

@media (max-width:1024px) {
  .section-rombi {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "title medium large smallcol triangles";
  }

  .diamond-large {
    width: 12rem;
    height: 12rem;
    margin-right: 1rem;
    padding: 0;
  }

  .diamond-left {
    width: 8rem;
    height: 8rem;
    margin-right: 0;
  }

  .diamond-small {
    width: 5rem;
    height: 5rem;
  }

/* PRODOTTI */
.azienda img{
   max-width: inherit;
}
}

@media (max-width:992px) {
  .carousel-caption {
    background: rgba(0, 0, 0, .5);
    color: #fff;
    height: fit-content;
  }

  .carousel-extra {
    flex-direction: column;
    gap: 1rem;
  }

  .vertical-carousel-wrapper {
    rotate: 90deg;
    height: 250px;
  }

  .vcard img {
    rotate: -90deg;
  }

  .home-carousel-2 .vertical-carousel-wrapper {
    rotate: -90deg;
  }

  .home-carousel-2 .vcard img {
    rotate: 90deg;
  }

  .home-carousel-text {
    padding: 1.5rem;
    text-align: center;
  }

  .home-carousel-2 .row {
    flex-direction: column-reverse;
  }

  .home-carousel-2 .home-carousel-text {
    text-align: center !important;
    padding: 1.5rem;
  }

  .home-section-text {
    padding: 0 0 0 3rem;
  }
}














