:root {
    --colorCopy: #575b58;
    --colorLightBlue: #e5f4fb;
    --colorBlue: #0093d5;
    --colorLightGreen: #d1ecea;
    --colorGreen: #4cad3b;
    --colorLightGray: #919792;
    --colorVeryLightGray: #e7e7e7;
    --gradientBlueGreen: linear-gradient(90deg, rgba(0, 147, 213, 1) 10%, rgba(76, 173, 59, 1) 90%);

    --fontSizeXXS: 0.66em;
    /* 14 */
    --fontSizeXS: 0.76em;
    /* 16 */
    --fontSizeS: 0.857em;
    /* 18 */
    --fontSizeM: 1.428em;
    /* 30 */
    --fontSizeMM: 1.9em;
    /* 40 */
    --fontSizeL: 2.38em;
    /* 50 */

    --fontFamily: "IBM Plex Sans", sans-serif;
    --fontFamilyCondensed: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;

    --layoutColumnWidth: calc(100vw / 24 * 1);
}

html {
    box-sizing: border-box;
    font-size: 21px;
    line-height: 1.476em;
}

body {
    font-family: var(--fontFamily);
    padding: 0;
    margin: 0;
    color: var(--colorCopy);
    background: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.vh100 {
    min-height: 100vh;
}

.gWideContent {
    max-width: calc(100vw / 24 * 22);
    margin: 0 auto;
    width: 100%;
}

.gContent {
    max-width: calc(100vw / 24 * 20);
    margin: 0 auto;
    width: 100%;
}

.gSmallContent {
    max-width: calc(100vw / 24 * 16);
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: calc(var(--layoutColumnWidth) * 1) var(--layoutColumnWidth);
}

.clipped {
    clip-path: url(#clipPath);
    aspect-ratio: 940/660;
}

.flexSpaceBetween {
    display: flex;
    gap: 1em;
    justify-content: space-between;
}

/* TEXT */

.title1 {
    font-size: var(--fontSizeL);
    line-height: 1.2em;
    font-weight: bold;
}

.title2 {
    font-family: var(--fontFamilyCondensed);
    font-size: var(--fontSizeM);
    line-height: 1.2em;
    font-weight: bold;
}

.title3 {
    font-family: var(--fontFamilyCondensed);
    font-size: var(--fontSizeM);
    line-height: 1.2em;
}

.title4 {
    font-size: var(--fontSizeM);
    line-height: 1.2em;
    font-weight: 500;
}

/* HEADER */

.topHeader {
    background-color: var(--colorCopy);
    color: #fff;
    padding: 0 var(--layoutColumnWidth);
}

.topHeader .gWideContent {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    height: 2.38em;
    align-items: center;
}

.topHeader span {
    font-size: var(--fontSizeXXS);
    line-height: 1em;
    font-weight: bold;
}

.topHeader .headerNav {
    display: flex;
    gap: 3.8em;
    font-size: var(--fontSizeXXS);
}

.topHeader .headerNavItem {
    font-size: var(--fontSizeXS);
    line-height: 2em;
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 2.5em;
}

.topHeader .headerNavItem[href*='trova-punto-vendita'] {
    background-image: url(../../images/icons/get.php?i=trova-punto-vendita&c=fff);
}

.topHeader .headerNavItem[href*='assistenza'] {
    background-image: url(../../images/icons/get.php?i=chiedi-assistenza&c=fff);
}

.topHeader .headerNavItem[href*='lavora-con-noi'] {
    background-image: url(../../images/icons/get.php?i=lavora-con-noi&c=fff);
}

.header {
    padding: 0 var(--layoutColumnWidth);
}

.headerLogo {
    display: block;
    background-image: url(../../images/logo.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 2.66em;
    aspect-ratio: 170/55;
}

.headerButton {
    display: none;
}

.header .gWideContent {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
    padding: 1em 0;
}

.header .headerNav {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
    font-weight: bold;
}

.header .headerNavItem.selected {
    color: var(--colorBlue);
}

/* FOOTER */

.footer {
    background-color: var(--colorCopy);
    color: #fff;
    padding: var(--layoutColumnWidth);
    padding-bottom: 1em;
}

.footerGrid {
    display: grid;
    grid-template-columns: 5fr 16fr;
    gap: var(--layoutColumnWidth);
}

.footerTitle {
    font-weight: bold;
}

.footerTitle:not(:first-child) {
    margin-top: 1em;
}

.footerText {
    font-size: var(--fontSizeXS);
}

.footerNavTitle {
    font-size: var(--fontSizeM);
    font-weight: bold;
    margin-bottom: 0.5em;
    display: block;
}

.footerNavTitle:not(:first-child) {
    margin-top: 1em;
}

.footerNavItem {
    display: block;
    width: fit-content;
}

.footerOther {
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: var(--fontSizeXS);
    border-top: 1px solid;
}
.footerOtherNav{
    display: flex;
    gap: 1em;
}
.footer .grid4x {
    margin: 3em auto;
}

.socialNav {
    display: flex;
    gap: 0.5em;
}

.socialNav a {
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 2em;
    aspect-ratio: 1;
}

.socialNav .fb {
    background-image: url(../../images/icons/get.php?i=FB&c=fff);
}

.socialNav .ig {
    background-image: url(../../images/icons/get.php?i=IG&c=fff);
}

.socialNav .li {
    background-image: url(../../images/icons/get.php?i=IN&c=fff);
}

/* BUTTONS FORMS */

.defaultButton {
    display: block;
    width: fit-content;
    font-family: var(--fontFamilyCondensed);
    font-size: var(--fontSizeS);
    font-weight: bold;
    line-height: 1em;
    padding: 1em 2em;
    border-radius: 4em;
    background: transparent;
    border: 0.15em solid;
}

.blueButton {
    background-color: var(--colorBlue);
    border-color: var(--colorBlue);
    color: #fff;
}

.greenButton {
    background-color: var(--colorGreen);
    border-color: var(--colorGreen);
    color: #fff;
}

.gradientButton {
    background: var(--gradientBlueGreen);
    border: none;
    color: #fff;
}


.defaultInput {
    font-family: var(--fontFamilyCondensed);
    background-color: #fff;
    border-radius: 4em;
    padding: 1em 1.5em;
    font-size: 1rem;
    line-height: normal;
    border: none;
    display: block;
    color: #737874;
}

/* HOME */

.introSlide {
    display: grid;
    grid-template-columns: 8fr 12fr;
    gap: 1em;
    align-items: center;
}

.introSlideImage {
    background-size: cover;
    background-position: center;
}

.introSlideText {
    margin-top: 2em;
}

.introSlideLink {
    margin-top: 4rem;
}

.smallIntro {
    overflow: hidden;
}

.smallIntro .introSlideImage {
    background-size: cover;
    background-position: center;
    height: 20em;
    width: 100%;
    margin: -4em auto;
}

.servicesGrid {
    margin: 3em auto;
}

.servicesGridItemImage {
    background-color: #fff;
    background-position: center;
    background-size: 10em;
    background-repeat: no-repeat;
    aspect-ratio: 380 / 320;
}

.servicesGridItemText {
    font-family: var(--fontFamilyCondensed);
    font-size: var(--fontSizeM);
    line-height: 1em;
    margin-top: 1em;
    font-weight: bold;
    color: var(--colorBlue);
}

.servicesGridItem:nth-child(even) .servicesGridItemText {
    color: var(--colorGreen);
}

.grid3x {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--layoutColumnWidth);
}

.grid4x {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--layoutColumnWidth);
}

.cols2_smallLeft,
.cols2_smallRight,
.cols2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--layoutColumnWidth);
    align-items: center;
}

.cols3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--layoutColumnWidth);
    align-items: center;
}

.cols2withLateralColumn {
    display: grid;
    grid-template-columns: 12fr 6fr;
    gap: calc(var(--layoutColumnWidth)*2);
    align-items: start;
}

.cols2_smallLeft {
    grid-template-columns: 9fr 10fr;
}

.cols2_smallRight {
    grid-template-columns: 10fr 9fr;
}

.spacer {
    height: var(--layoutColumnWidth);
}

.defaultMargin {
    margin: var(--layoutColumnWidth) auto;
}

.offersSlider {
    margin: 3em auto;
}

.offerItem {
    background-color: #fff;
    height: 100%;
    display: grid;
    grid-template-rows: min-content 1fr min-content;
}

.offerItemImage {
    aspect-ratio: 480/570;
    position: relative;
    background-position: center;
    background-size: cover;
}

.offerItemContent {
    padding: 1.42em;
}

.offerItemTitle {
    font-size: var(--fontSizeM);
    line-height: normal;
    font-weight: bold;
    font-family: var(--fontFamilyCondensed);
    color: var(--colorBlue);
}

.offerItemText {
    color: var(--colorLightGray);
    margin-top: 1.5em;
}

.offerItemText>div:before {
    content: "✓";
    font-weight: bold;
    color: var(--colorGreen);
    margin-right: 0.5em;
}

.offerItemDiscount {
    color: #fff;
    font-size: var(--fontSizeMM);
    line-height: 1em;
    font-weight: bold;
    font-family: var(--fontFamilyCondensed);
    position: absolute;
    top: 1.42rem;
    right: 0;
    background: var(--gradientBlueGreen);
    padding: 0.3em 1em;
    border-radius: 0.5em 0 0 0.5em;
}

.offerItemLink {
    display: block;
    padding: 1.5em;
    text-align: center;
    color: #fff;
    font-size: var(--fontSizeS);
    line-height: 1em;
    font-family: var(--fontFamilyCondensed);
    background-color: var(--colorBlue);
    font-weight: bold;
}

.servicesSlider {
    margin: 3em auto;
}

.serviceItem {
    background-color: #fff;
    border-radius: var(--layoutColumnWidth);
    display: block;
    overflow: hidden;
}

.serviceItemImage {
    aspect-ratio: 480/390;
    background-position: center;
    background-size: cover;
}

.serviceItemContent {
    padding: 1.66em;
    padding-top: 1em;
}

.partnersSlider {
    margin: 3em auto;
}

.partnersItemImage {
    height: 5em;
}

.whiteBox {
    background-color: #fff;
    border-radius: var(--layoutColumnWidth);
    overflow: hidden;
}

.whiteBox.withImage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 28em;
}

.whiteBoxContent {
    padding: var(--layoutColumnWidth);
}

.whiteBoxImage {
    background-position: center;
    background-size: cover;
    height: 100%;
}

.whiteBox .subtitle {
    margin-top: 1em;
}

.whiteBox .defaultButton {
    margin-top: 4em;
}

.roundBoxShadow {
    border-radius: 4em;
    overflow: hidden;
    box-shadow: 0em 0.5em 0.5em rgba(0, 0, 0, 0.1);
    padding-bottom: 2em;
}

.newsGrid {
    margin: 3em auto;
}

.newsItemImage {
    aspect-ratio: 430/270;
    border-radius: var(--layoutColumnWidth);
    width: 90%;
    height: auto;
    background-position: center;
    background-size: cover;
    margin-left: auto;
    margin-top: 10%;
    position: relative;
}

.newsItemImage:before {
    content: " ";
    background-image: url(../../images/outline.svg);
    aspect-ratio: 430 / 270;
    width: 100%;
    /* height: 80%; */
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -10%;
    top: -5%;
}

.newsItemTitle {
    margin-top: 1em;
}

.tagCloud {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.tagCloud div {
    /* clip-path: url(#clipPath); */
    background: #fff;
    color: var(--colorBlue);
    padding: 0.75em;
    padding-right: 1.25em;
    padding-left: 1.5em;
    display: block;
    width: fit-content;
    font-weight: bold;
    font-size: var(--fontSizeL);
    border-radius: 4em;
    position: relative;
}

.tagCloud div:nth-child(odd) {
    border-bottom-left-radius: 0;
}

.tagCloud div:nth-child(odd):before {
    content: "";
    position: absolute;
    background-color: transparent;
    left: -2em;
    bottom: 0em;
    height: 1em;
    width: 2em;
    border-bottom-right-radius: 0.5em;
    box-shadow: 1em 0 0 0 #fff;
}

.tagCloud div:nth-child(even) {
    color: green;
    margin-left: auto;
    border-bottom-right-radius: 0;
}

.tagCloud div:nth-child(even):before {
    content: "";
    position: absolute;
    background-color: transparent;
    right: -2em;
    bottom: 0em;
    height: 1em;
    width: 2em;
    border-bottom-left-radius: 0.5em;
    box-shadow: -1em 0 0 0 #fff;
}

.accordionGroup .title4 {
    padding: 1rem;
}

.accordionTrigger {
    cursor: pointer;
}

.accordion {
    border-bottom: 1px solid var(--colorVeryLightGray);
}

.accordionTitle {
    padding: 1em;
    padding-right: 3em;
    background-image: url(../../images/icons/get.php?i=small-arrow-down&c=0093d5);
    background-repeat: no-repeat;
    background-size: 2em;
    background-position: right center;
    /* background-origin: content-box; */
}

.open .accordionTitle {
    background-image: url(../../images/icons/get.php?i=small-arrow-up&c=0093d5);
}

.accordionContent {
    padding: 1em;
}

.accordionGroup:not(:first-child) {
    margin-top: 3em;
}


.article .title4 {
    margin-top: 3em;
}

.lateralColumn {
    display: flex;
    flex-direction: column;
    gap: var(--layoutColumnWidth);
}

.storeLocatorFilters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: var(--layoutColumnWidth);
    margin: var(--layoutColumnWidth) auto;
}

.storeLocatorList {
    display: flex;
    flex-direction: column;
    gap: 1em;
    overflow-y: scroll;
    height: 100%;
    max-height: 80vh;
    padding-right: 0.5em;
}

.storeLocatorItem {
    background-color: #fff;
    border-radius: 1em;
    padding: 1em;
}

.storeLocatorItemTitle {
    font-weight: bold;
    font-size: 1rem;
}

.storeLocatorItemSubtitle {
    font-size: var(--fontSizeS);
}

.storeLocatorItem div {
    font-size: var(--fontSizeXS);
    line-height: 1rem;
}

.storeLocatorItem .defaultButton {
    margin-left: auto;
}

.storeLocatorFilters .defaultButton {
    width: auto;
    text-align: center;
    line-height: inherit;
}

.myLocationButton {
    cursor: pointer;
    background-image: url(../../images/icons/my-location.svg);
    background-repeat: no-repeat;
    background-position: right 2em center;
    text-align: left;
    padding-left: 2.5em;
    background-size: 2em;
}
input[name='store_search'] {
    background-image: url(../../images/icons/search.svg);
    background-repeat: no-repeat;
    background-position: right 1em center;
    padding-left: 3em;
    background-size: 2em;
}

.storeLocatorMap {
    background-color: var(--colorVeryLightGray);
    height: 100%;
    width: 100%;
}

#storeLocatorMap {
    height: 100%;
    max-height: 80vh;
}

.storeLocatorCols {
    display: grid;
    grid-template-columns: 13fr 6fr;
    gap: var(--layoutColumnWidth);
}

.commonMargin {
    margin-top: 3em;
}

.custom-marker-STORE,
.custom-marker-POINT,
.custom-marker-PARTNER {
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.custom-marker-STORE {
    background-image: url(../../images/icons/location-pin-gradient.svg);
}

.custom-marker-POINT {
    background-image: url(../../images/icons/location-pin-point.svg);
}

.custom-marker-PARTNER {
    background-image: url(../../images/icons/location-pin-partner.svg);
}

/* COLORS */

.colorBlue {
    color: var(--colorBlue);
}

.colorGreen {
    color: var(--colorGreen);
}

.colorWhite {
    color: #fff;
}

.bgLightBlue {
    background-color: var(--colorLightBlue);
}

.bgLightGreen {
    background-color: var(--colorLightGreen);
}

.bgGreen {
    background-color: var(--colorGreen);
}

.bgBlue {
    background-color: var(--colorBlue);
}

.bgGray {
    background-color: #f1f1f1;
}

.gradientBg {
    background: var(--colorBlue);
    background: var(--gradientBlueGreen);
    color: #fff;
}


/* SPLIDE */

.splide {
    margin-top: 3em;
}

ul.splide__pagination {
    position: static;
    margin-top: 1em;
}

button.splide__pagination__page {
    border-radius: 0 !important;
    background: #fff;
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: width .5s;
}

button.splide__pagination__page.is-active {
    width: 3em !important;
}