body {
    color: var(--text_color) !important;
    background-color: var(--background_color) !important;
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth;
}

.bg-white {
    background-color: var(--background_color) !important;
}

.vh-70 {
    height: 70vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: var(--text_color) !important;
}

b,
strong {
    font-weight: bold;
}

.d-inline-block.row {
    display: flex !important;
}

input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

a {
    text-decoration: none;
}

.text-gray {
    color: #777777;
}

.w-1\/1 {
  width: 100%;
}

.w-1\/2,
.w-2\/4 {
    width: 49.8%;
}

.w-1\/3 {
    width: 33%;
}

.w-2\/3 {
    width: 66%;
}

.w-1\/4 {
    width: 24.7%;
}

.w-3\/4 {
    width: 74.7%;
}

.w-1\/5 {
    width: 19.6%;
}

.w-2\/5 {
    width: 39.7%;
}

.w-3\/5 {
    width: 59.7%;
}

.w-4\/5 {
    width: 79.7%;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.container {
    white-space: wrap;
}

.cursor-pointer {
    cursor: pointer;
}

.image-quad {
    width: 100%;
}

input[readonly],
input[readonly].form-control:focus {
    background-color: #e9ecef;
    color: #495057;
    cursor: not-allowed;
    opacity: 1;
}

input[readonly].form-control {
    border-color: #ced4da;
    box-shadow: none;
}

.site-btn {
    background-color: var(--main_color);
    color: var(--main_text_color);
    padding: 10px 35px;
    border: 1px solid var(--main_color);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-transform: uppercase;
}

.site-btn:hover {
    background-color: var(--background_color);
    border-color: var(--main_color);
    color: var(--main_color);
}

.site-outline-btn {
    cursor: pointer;
    text-transform: uppercase;
    color: var(--background_color);
    border: 1px solid var(--background_color);
    background-color: var(--main_color);
    padding: 10px 35px;
    transition: all 0.3s ease-in-out;
}

.site-outline-btn:hover {
    color: var(--main_color);
    background-color: var(--background_color);
    border: 1px solid var(--main_color);
}

.btn-large {
    font-weight: 600;
    border: 2px solid var(--main_color);
    border-radius: 50px;
    font-size: 18px;
    padding: 12px 25px;
    background: var(--main_color);
    color: var(--main_text_color) !important;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}

.btn-large:hover {
    transform: scale(1.1);
}

.icon-xl {
    font-size: 35px;
}

.lb-number {
    display: none;
}

.banner_chiusura {
    background-color: #f2f2f2;
    color: #000 !important;
}

.banner_chiusura_popup {
    height: 100vh;
    width: 100vw;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none !important;
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner_chiusura_popup.show {
    display: flex !important;
}

.banner_chiusura_popup>div {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    background: white;
    padding: 20px;
    color: black;
    text-align: center;
}

.banner_chiusura_popup .onCloseBannerChiusura {
    font-size: 14px;
}

/* LIGHTBOX */
.lb-close {
    position: absolute;
    top: 0px;
    right: 60px;
}

.lightbox {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
}

.lightbox .lb-image {
    border: 0px !important;
}

/* FINE LIGHTBOX */

.product h3 {
    font-weight: 600;
}

.product .price,
.total_price {
    font-size: 25px;
}

.product img.cover {
    width: 100%;
}

.pagination__option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pagination__option a {
    border: 1px solid var(--main_color);
    color: var(--main_color);
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination__option a.active,
.pagination__option a:hover {
    color: var(--main_text_color);
    background-color: var(--main_color);
}

.pagination__option a.disabled {
    color: #fff;
    background-color: #e1e1e1;
    border-color: #e1e1e1;
    cursor: not-allowed;
}

.img-product {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}

form label:not(.form-check-label) {
    color: #000 !important;
}

.slider {
    max-height: 80vh;
    display: grid;
}

.ck-table-resized tbody,
.ck-table-resized td,
.ck-table-resized tfoot,
.ck-table-resized th,
.ck-table-resized thead,
.ck-table-resized tr {
    min-width: 100px;
    line-height: 18px;
    padding: 10px;
    border: 1px solid;
}

/* VERTICAL TIMELINE */
.main-timeline-vertical {
    position: relative;
}

.main-timeline-vertical::after {
    content: "";
    position: absolute;
    width: 3px;
    background-color: #bbb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-vertical {
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-vertical::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    right: -11px;
    background-color: #bbb;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-vertical .numeration {
    position: absolute;
    color: var(--text_color);
    font-size: 15px;
}

.timeline-vertical.right-4 .numeration {
    right: 10px;
}

.timeline-vertical.left-4 .numeration {
    left: 10px;
}

.dark-mode .main-timeline-vertical::after,
.dark-mode .timeline-vertical::after {
    background-color: var(--main_color);
}

.left-4 {
    padding: 0px 40px 20px 0px;
    left: 0;
    text-align: end;
}

.right-4 {
    padding: 0px 0px 20px 40px;
    left: 50%;
}

.left-4::before,
.right-4::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    border: medium solid #bbb;
}

.left-4::before {
    right: 30px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #bbb;
}

.right-4::before {
    left: 30px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #bbb transparent transparent;
}

.right-4::after {
    left: -14px;
}

.dark-mode .card {
    background: #393939 !important;
    box-shadow: none !important;
}

.dark-mode .lb-outerContainer {
    background: #000 !important;
}

.dark-mode .left-4::before,
.dark-mode .right-4::before {
    border-color: var(--main_color);
}

.dark-mode .left-4::before {
    border-color: transparent transparent transparent var(--main_color);
}

.dark-mode .right-4::before {
    border-color: transparent var(--main_color) transparent transparent;
}

.images img.object-fit-contain {
    aspect-ratio: initial !important;
}

footer a {
    color: var(--text_color) !important;
}

.footer_credits .crds {
    font-size: 12px;
}

.footer_credits {
    text-align: end;
}

.toggler-icon {
    color: var(--text_color) !important;
}

.scroll-fade>div {
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.6s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

/* bottom to top*/
.scroll-fade.fade-bt>div {
    transform: translateY(20vh);
}

.scroll-fade>.reached,
.desktop .scroll-fade>.reached {
    opacity: 1;
    transform: none !important;
    visibility: visible;
}

#search-popup {
    background: rgba(255, 255, 255, 0.9);
}

.dark-mode #search-popup {
    background: rgba(30, 30, 30, 0.9);
}

#search-popup {
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#search-popup.show {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#search-popup .search {
    display: flex;
    max-width: 500px;
    width: 100%;
}

#search-popup #close-popup {
    position: absolute;
    top: 100px;
    right: 100px;
}

#search-popup input {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

#search-popup .btn-submit {
    border: 0px;
    color: var(--main_text_color);
    background-color: var(--main_color);
    display: flex;
    align-items: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.z-100 {
    z-index: 100;
}

.product .images>div {
    padding: 10px;
}

.llm {
    margin-top: 50px;
    margin-bottom: 50px;
    height: 350px;
}

#back {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: -1;
}

#back {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.quantity {
    display: flex;
    align-items: center;
    padding: 10px;
}

.quantity {
    border: 2px solid var(--main_color);
    padding: 9px 10px 8px 10px !important;
}

.quantity input {
    border: 0px;
    text-align: center;
    width: 60px;
}

.quantity input:disabled {
    background-color: transparent !important;
}

.quantity .increment,
.quantity .decrement {
    color: #fff;
    background-color: var(--main_color);
    padding: 10px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    font-size: 15px;
    border: 1px solid var(--main_color);
}

.quantity .increment:hover,
.quantity .decrement:hover {
    background-color: #fff;
    border: 1px solid var(--main_color);
    color: var(--main_color);
}

.product__details__img img {
    height: 100% !important;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;
}

.accordion-button.collapsed {
    border-bottom-width: 0;
}

.accordion-button:not(.collapsed) {
    color: #1f1534;
    background-color: #f5f7fa;
}

.accordion-button:hover {
    z-index: 2;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #fff;
    outline: 0;
    -webkit-box-shadow: #e2eaed;
    box-shadow: #e2eaed;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-width: 1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion-item:last-of-type .accordion-collapse {
    border-bottom-width: 1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion-collapse {
    border: solid rgba(255, 255, 255, 0.125);
    border-width: 0 1px;
}

.accordion-body {
    padding: 1.5rem 2.6rem;
    border: 1px solid #e2eaed;
    border-top: 0px;
}

.accordion-flush .accordion-button {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

.accordion-flush .accordion-collapse {
    border-width: 0;
}

.accordion-flush .accordion-item:first-of-type .accordion-button {
    border-top-width: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.accordion-flush .accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-width: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

img.leaflet-marker-icon.custom-marker-icon {
    background: white !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.accordion-button {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 1rem 2.6rem;
    font-size: 1rem;
    color: #616368;
    text-align: left;
    background-color: #f5f7fa;
    border: 1px solid rgba(255, 255, 255, 0.125);
    border-radius: 0;
    overflow-anchor: none;
    -webkit-transition: color 0.15s ease-in-out,
        background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
        border-radius 0.15s ease, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, border-radius 0.15s ease,
        -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        border-radius 0.15s ease;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        border-radius 0.15s ease;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        border-radius 0.15s ease, -webkit-box-shadow 0.15s ease-in-out;
}

.bannerWhatsapp {
    background-color: var(--main_color);
    padding: 30px 20px;
    border: 1px solid var(--main_color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.bannerWhatsapp h5,
.bannerWhatsapp p {
    color: var(--main_text_color) !important;
}

.bannerWhatsapp a {
    margin-top: 20px;
}

.bg-full {
    margin-bottom: -5rem;
    position: relative;
    padding: 0px 50px 50px 50px;
}

.bg-full .bannerWhatsapp {
    background-color: var(--main_text_color);
    border: 1px solid var(--main_text_color);
}

.bg-full .bannerWhatsapp h5,
.bg-full .bannerWhatsapp p {
    color: var(--text_color) !important;
}

.slider_homepage {
    position: relative;
    overflow: hidden;
}

.slider_homepage .slick-slide {
    position: relative;
}

.slider_homepage .card_descrizione {
    position: absolute;
    background-color: rgba(239, 240, 244, 0.8);
    bottom: 50px;
    left: 50px;
    width: 500px;
    padding: 30px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.slick-dots {
    position: absolute;
    bottom: 50px;
    text-align: center;
    padding-right: 0px;
    width: 100%;
}

.slick-dots li.slick-active button::before {
    color: var(--main_color) !important;
}

input[type="checkbox"]:checked {
    background-color: var(--main_color) !important;
    border-color: var(--main_color) !important;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--main_color) !important;
    width: 15px;
    height: 15px;
}

input:focus-visible,
textarea:focus-visible {
    outline: 1px solid var(--main_color) !important;
}

.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    color: #000000 !important;
    transform: scale(0.85) translateY(-1.7rem) translateX(0.15rem) !important;
}

form .form-floating label {
    color: #000000 !important;
}

form .form-control {
    border-radius: 0px !important;
    margin-bottom: 20px;
    padding-left: 10px !important;
}

.form-control:focus {
    border-color: var(--main_color) !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.arrow_left,
.arrow_right {
    position: absolute;
    top: 50%;
    z-index: 100;
    background-color: var(--background_color);
    border: 1px solid var(--background_color);
    color: var(--main_color);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0px 5px #999;
}

.arrow_left {
    left: 50px;
}

.arrow_right {
    right: 50px;
}

.arrow_left:hover,
.arrow_right:hover {
    background-color: var(--main_color);
    color: var(--background_color);
    border: 1px solid var(--main_color);
}

.bg-full:before {
    content: " ";
    width: 100vw;
    height: 100%;
    position: absolute;
    top: -1px;
    left: 0px;
    background-color: var(--main_color);
    z-index: -1;
}

.btn-close {
    position: absolute;
    right: 12%;
    top: 3%;
    font-size: 20px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--main_color);
    color: var(--background_color);
}

.bg-primary {
    background-color: var(--main_color);
}

.icon-md {
    font-size: 18px !important;
}

@media (min-width: 1200px) {
    .container {
        width: 1170px !important;
    }
}

@media (max-width: 900px) {

    .w-1\/2,
    .w-2\/4,
    .w-1\/3,
    .w-2\/3,
    .w-1\/4,
    .w-3\/4,
    .w-1\/5,
    .w-2\/5,
    .w-3\/5,
    .w-4\/5 {
        width: 100%;
    }

    .slider {
        max-height: initial;
    }

    .w-auto {
        width: 100% !important;
    }

    /* VERTICAL TIMELINE */
    .main-timeline-vertical::after {
        left: 31px;
    }

    .timeline-vertical {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-vertical::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-vertical.left-4 .numeration {
        right: 10px;
        left: auto;
    }

    .left-4::after,
    .right-4::after {
        left: 18px;
    }

    .left-4::before {
        right: auto;
    }

    .right-4 {
        left: 0%;
    }

    .left-4 {
        text-align: left;
    }

    #search-popup #close-popup {
        top: 50px;
        right: 50px;
    }

    .navbar-brand {
        padding: 5px 0px;
    }

    .lb-close {
        top: -35px;
        right: 15px;
    }

    .bannerWhatsapp {
        margin-top: 30px;
        padding: 20px;
    }

    .slick-dots {
        bottom: 10px;
    }

    .arrow_left {
        left: 15px;
    }

    .arrow_right {
        right: 15px;
    }

    .arrow_left,
    .arrow_right {
        padding: 5px;
    }

    .arrow_left,
    .arrow_right {
        top: 110px;
    }

    .slider_homepage .card_descrizione {
        position: relative;
        width: 100%;
        min-height: 180px;
        height: 100%;
        left: 0;
        bottom: 0;
        border-radius: 0px;
        padding: 15px 30px;
        background-color: rgba(239, 240, 244, 1);
    }

    .slider_homepage img,
    .slider img {
        height: initial !important;
        aspect-ratio: 4/3;
    }

    .bg-full {
        padding: 0px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .accordion-button {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

/* spinner lightbox */
/* spinner lightbox */
.lb-cancel {
    border-radius: 50% !important;
    display: inline-block !important;
    border-top: 3px solid var(--main_color) !important;
    border-right: 3px solid transparent !important;
    box-sizing: border-box !important;
    animation: spinnerRotation 1s linear infinite !important;
    background: none !important;
}

@keyframes spinnerRotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}