@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700;800;900&display=swap');

*,body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    letter-spacing: 0.5px;
}

.titolo-1 {
    font-weight: 300;
    font-size: 56px;
    color: rgb(30,30,30);
}

.titolo-2 {
    font-weight: 300;
    font-size: 21px;
    color: rgb(10,10,10);
    text-transform: uppercase;
}

.titolo-3 {
    font-weight: 700;
    font-size: 20px;
    color: rgb(10,10,10);
    text-transform: uppercase;
}

.text {
    font-size: 15px;
    color: rgb(30,30,30);
    line-height: 1.6;
    font-weight: 400;
}

.dida {
    font-weight: 500;
    font-size: 11px;
    color: rgb(30,30,30);
    line-height: 1.2;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: unset;
}

.cta {
    font-size: 18px;
    color: rgb(10,10,10);
    text-transform: uppercase;
    border-bottom: 1px solid rgb(10,10,10);
    display: inline-block;
    text-underline-offset: 1.5px;
    font-weight: 300;
}


/* editmode */
.invisible-card-editmode::before{
    content: "";
    background: #dddddd7d;
    width: 100%;
    height: 100%;
    z-index: 999;
    position: absolute;
}

.x-autocontainer-outerCt {
    height: unset!important;
}

.container-brick {
    display: flex!important;
}

.container-mega-menu.editmode {
    height: 585px!important;
}

.container-span-change.mobile {
    display: none;
    justify-content: center;
    margin-top: 40px;
}

span.span-change {
    border: 1px solid #545454;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 2px;
    cursor: pointer;
    background: transparent;
}

span.span-change.active {
    background: #545454;
}

.show-more-text,.show-less-text {
    display: none;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 13px;
    border-top: 1px solid #333;
    width: 100%;
    cursor: pointer;
    text-align: center;
    padding-top: 10px;
}

.slick-list {
    touch-action: auto;
    -ms-touch-action: auto;
}

.slick-dots li {
    border: 1px solid #545454;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 2px;
    cursor: pointer;
    background: transparent;
}

.slick-dots li.slick-active {
    background: #545454;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    border: 1px solid #333;
    position: relative;
}

form input[type="checkbox"]:checked:before,
.container-filters input[type="checkbox"]:checked:before,
.container-filters-layer input[type="checkbox"]:checked:before{
    font-family: "FontAwesome";
    content: "\f00c";
    /* background: #ddd; */
    position: absolute;
    left: 4px;
    top: 3px;
}

.arrow-up-page {
    background-color: #151515;
    bottom: 100px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: .0625rem;
    line-height: 1;
    opacity: 0;
    padding: 12px;
    position: fixed;
    right: 16px;
    text-transform: uppercase;
    transition: opacity .2s ease;
    color: #fff;
    z-index: 9;
}

.arrow-up-page.show {
    opacity: 1;
}

.chevron-right,.chevron-left {
    position: relative;
    width: 40px;
    height: 54px;
    cursor: pointer;
}

.chevron-right::before {
    content: '';
    background: rgb(30,30,30);
    width: 1.5px;
    height: 24px;
    position: absolute;
    transform: rotate(41deg);
    top: 17.6px;
    right: 50%;
}

.chevron-right::after {
    content: '';
    background:  rgb(30,30,30);
    width: 1.5px;
    height: 24px;
    position: absolute;
    transform: rotate(-41deg);
    right: 50%;
}

.chevron-left::before {
    content: '';
    background: rgb(30,30,30);
    width: 1.5px;
    height: 24px;
    position: absolute;
    transform: rotate(-41deg);
    top: 17.6px;
    right: 50%;
}

.chevron-left::after {
    content: '';
    background:  rgb(30,30,30);
    width: 1.5px;
    height: 24px;
    position: absolute;
    transform: rotate(41deg);
    right: 50%;
}

.slick-dots li button:before,.slick-dots li.slick-active button:before {
    color: unset;
    opacity: unset;
}

/* Stile generale dei tooltip*/

[tooltip] {
    position: relative;
}

[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    font-size: 11px;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent;
    z-index: 1001;
}

[tooltip]::after {
    content: attr(tooltip);
    font-family: Raleway, sans-serif;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 10px;
    box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
    background: #393c3f;
    color: #fff;
    z-index: 99;
    font-size: 11px;
    border-radius: 10px;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}


/* Non mostra tooltip vuoto */

[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}


/* FLOW: UP */

[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}


/* FLOW: DOWN */

[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}


/* FLOW: LEFT */

[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}


/* FLOW: RIGHT */

[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #393c3f;
    right: calc(0em - 3px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 1px);
    transform: translate(.5em, -50%);
}


/* KEYFRAMES */

@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}


/* Animazione per tutti */

[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

/* Loader */

.loader.hidden {
    display: none;
}

.loader {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 0 auto 50px auto;
}

.loader .circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
    animation-name: loading;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    background-color: #545252;
}

.loader .circle:first-child {
    animation-delay: 0s;
}

.loader .circle:nth-child(2) {
    animation-delay: 0.2s;
}

.loader .circle:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0px;
}

.modale-login {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000052;
}

.modale-login.hidden {
    display: none;
}

.modale-login {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 60px;
    background: #00000052;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modale-login .internal-div{
    width: 450px;
    min-height: 150px;
    background: #fff;
    padding: 30px;
    z-index: 99;
}

.circle-error-icon {
    display: flex;
    justify-content: center;
}

.circle-error-icon img {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.container-text-alert-login {
    margin-top: 35px;
    font-size: 18px;
    text-align: center;
}

.container-text-alert-login a{
    text-decoration: underline;
}

@keyframes loading {
    from {
        transform: translateY(15px);
    }
    to {
        transform: translateY(0px);
    }
}

.popup,.popup-language {
    position: absolute;
    background: #00000052;
    width: 100%;
    height: 100%;
    top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-language .internal-popup {
    width: 500px;
    align-items: center;
    gap: 30px;
    max-width: 90%;
    position: relative;
}

.close-popup {
    position: absolute;
    right: 0;
    top: -21px;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.internal-popup {
    width: 400px;
    padding: 30px;
    background: #fff;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup.hidden,
.popup-language.hidden{
    display: none;
}

.internal-popup .testo-popup {
    font-weight: 300;
    font-size: 16px;
    max-height: 90%;
    overflow: auto;
}

.internal-popup .title-popup {
    font-size: 20px;
    font-weight: 500;
    color: rgb(30,30,30);
    text-transform: uppercase;
    text-align: center;
}

.popup-language .container-button {
    margin-top: unset;
}

.container-button {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    height: 10%;
    align-items: center;
}

.internal-popup .button-popup,
.button-popup-language {
    padding: 10px 25px;
    border: 1px solid #403f3f;
    color: #333;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    height: fit-content;
}

.button-popup-language {
    text-transform: uppercase;
}

.internal-popup .button-popup:hover,
.button-popup-language:hover {
    border: 1px solid #403f3f;
    background: #403f3f;
    color: #fff;
}

.container-span-change {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

img {
    position: relative;
}

img.lazyload {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.field-form-popup {
    -webkit-appearance: none;
    background-image: url("/Riflessi/img/chevron-down.png");
    background-repeat: no-repeat;
    background-position: 98%;
    height: 56px;
    border: 1px solid #ccc;
    padding: 0 16px;
    min-width: 200px;
    font-size: 16px;
    text-transform: uppercase;
    background-color: #f6f6f6;
}

@media (min-width: 1280px) {
    section:not(.full-screen) {
        width: 100%;
        max-width: 1326px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 800px) {
    .testo-ridotto {
        display: -webkit-box!important;
        -webkit-line-clamp: 10;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .testo-ridotto .container-buttons-aggiuntivi {
        display: none;
    }

    .popup-language {
        top: 48px;
    }
}

@media (min-width: 742px) {
    .zoom-image {
        overflow: hidden;
    }

    .zoom-image img {
        transition: all .5s ease-in-out;
    }

    .zoom-image img:hover {
        transform: scale(1.03);
    }
}

@media (max-width: 472px) {
    .slick-dots li {
        width: 8px;
        height: 8px;
    }

    .titolo-2 {
        font-size: 18px;
    }

    .modale-login .internal-div,
    .popup .internal-popup,
    .popup-language .internal-popup{
        width: 360px;
    }
}