@import url('https://fonts.googleapis.com/css?family=Lato:300,400,500,600,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,800&display=swap');

body {
    background-color: #f7f7f7;
    overflow: hidden !important;
    height: 100%;
    font-family: Montserrat;
    /* scroll-behavior: smooth; */
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    /* font-size: 16px; */
    height: 100%;
    position: fixed;
    width: 100%;
}

@media only screen and (-webkit-min-device-pixel-ratio: 3),
only screen and (min--moz-device-pixel-ratio: 3),
only screen and (-o-min-device-pixel-ratio: 3/1),
only screen and (min-device-pixel-ratio: 3) {
    html {
        font-size: .9rem;
    }
}

hr {
    margin: 4rem 0;
    background-image: linear-gradient(to right, transparent, #ccc, transparent);
    border: 0;
    height: 1px;
}

.v-font {
    font-family: Montserrat;
    font-weight: 600;
}

.fs-inherit {
    font-size: inherit !important;
}

:focus-visible {
    outline-width: 0 !important;
    box-shadow: none !important;
}

/* width */
::-webkit-scrollbar {
    width: 0;
    height: .2rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #fff;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

@media (min-width: 1920px) {
    .row-cols-xxxl-6>* {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }
}

#offcanvasPagine:not(.show) img {
    display: none;
}

#offcanvasPiu:not(.show) img {
    display: none;
}

.btn-check:active+.btn:focus,
.btn-check:checked+.btn:focus,
.btn.active:focus,
.btn.show:focus,
.btn:active:focus {
    box-shadow: none !important;
}

a {
    transition: all .3s;
    text-decoration: none;
}

.form-control:focus {
    border-color: #ccc !important;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #aaa !important;
    opacity: 1;
    /* Firefox */
}

.opacity-0 {
    opacity: 0;
}

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

.bg-grey {
    background-color: #d1d2d7 !important;
    border-color: #d1d2d7 !important;
}

.border-lighter {
    border-color: #eee !important;
}

.form-control:focus {
    box-shadow: inherit;
}

.form-control {
    border: 1px solid #e6e6e6;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all .5s ease-in-out;
    background: #fff;
    opacity: 1;
    visibility: visible;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-overlay.loaded {
    opacity: 0;
    visibility: hidden;
}

.btn-success {
    --bs-btn-bg: #28a745;
    --bs-btn-border-color: #28a745;
    --bs-btn-disabled-bg: #28a745;
    --bs-btn-disabled-border-color: #28a745;
}

.main {
    flex: 1 1 auto;
}

.tooltip-inner {
    background-color: #fff !important;
    border-radius: .5rem;
    max-width: 270px;
    padding: .5rem 1rem;
    color: #777;
    text-align: left;
    /* font-size: .7rem; */
    border: 1px solid #ddd;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fill-screen {
    position: relative;
}

img {
    image-rendering: -moz-crisp-edges;
    /* Firefox */
    image-rendering: -o-crisp-edges;
    /* Opera */
    image-rendering: -webkit-optimize-contrast;
    /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    /* IE (non-standard property) */
}

a:hover,
a:focus,
a {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.fs-7 {
    font-size: .7rem !important;
}

.lh-2 {
    line-height: 2rem !important;
}

.mh-50 {
    max-height: 50vh;
}

.mh-50 {
    max-height: 40vh;
}

.align_center {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.w-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 5% !important;
    flex: 0 0 5% !important;
    width: 5%;
}

.w-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 10% !important;
    flex: 0 0 10% !important;
    width: 10%;
}

.w-15 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 15% !important;
    flex: 0 0 15% !important;
    width: 15%;
}

.w-20 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20% !important;
    flex: 0 0 20% !important;
    width: 20%;
}

.w-30 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30% !important;
    flex: 0 0 30% !important;
    width: 30%;
}

.w-35 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 35% !important;
    flex: 0 0 35% !important;
    width: 35%;
}

.w-40 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40% !important;
    flex: 0 0 40% !important;
    width: 40%;
}

.w-60 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60% !important;
    flex: 0 0 60% !important;
    width: 60%;
}

.w-70 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60% !important;
    flex: 0 0 60% !important;
    max-width: 60%;
}

.w-90 {
    -webkit-box-flex: 90;
    -ms-flex: 0 0 90% !important;
    flex: 0 0 90% !important;
    width: 90%;
}

.overflow_y {
    overflow-y: auto;
    overflow-x: hidden;
}

.overflow_x {
    overflow-y: hidden;
    overflow-x: auto;
}

.list-group-item {
    border: 0;
}

.list-group-item h6 {
    font-size: .9rem;
}

.list-group-item p {
    font-size: .8rem;
}

.accordion-button:focus {
    z-index: 3;
    border-color: inherit;
    box-shadow: none;
}

.flex-1 {
    flex: 1;
}

/* ====================== */

.bg-lighter {
    background-color: #f3f2f1 !important;
}

.pointer {
    cursor: pointer;
}

.card>figure>a {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.card-body .btn-success,
.card-body .btn-danger {
    font-size: .9rem;
    padding: .5rem;
}

@keyframes fadeinout {
    from {
        background-color: #fff;
        /* border: 3px solid red; */
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }

    to {
        opacity: 0.6;
    }
}

@keyframes fadeinout2 {
    from {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeinout2;
    animation-duration: 2s;
}

.img_fade {
    animation: fadeinout;
    animation-duration: 3s;
}

.figure-background {
    background-size: 100%;
    background-position: center;
    transition: 0.5s;
}

.flyicon {
    animation-name: flyicon;
    -vendor-animation-duration: 2s;
    animation-duration: 2s;
}

.img_vol>div img.plus_icon {
    opacity: 0;
    animation: fadeOut ease 2s;
}

.lista_spesa>span {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-weight: bold;
    font-size: .7rem;
    width: 1.2rem;
    height: 1.2rem;
    z-index: 123456789;
    background-color: rgb(237, 0, 29);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-label {
    padding: 2px 5px;
    margin-right: 10px;
    align-self: center;
    user-select: none;
    background-color: black;
    color: white;
    border-radius: 3px;
    box-shadow: 10px 10px 5px #aaaaaa;
}

.bg-mail {
    background-color: #1a95fe;
}

.bg-whatsapp {
    background-color: #1fbf2c;
}

.bg-pdf {
    background-color: #fa0700;
}

.popupPv>img {
    max-width: 100% !important;
    max-height: 100px;
    margin: auto;
}

.offcanvas-lista .footer {
    background-color: #d1d2d7;
}

.offcanvas .offcanvas-body {
    display: none;
}

.offcanvas.show .offcanvas-body {
    display: block;
}

.aggiungi_custom>input,
.div-search>input {
    height: 3rem;
}

.aggiungi_custom .btn-input-end,
.div-search .btn-input-end {
    height: 3rem;
    width: 3rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #000;
}

.carousel-indicators {
    bottom: -1rem;
}

.nav-link.disabled {
    opacity: .1;
}

.nav-popup .nav-link.active {
    border-top: 2px solid red;
}

.btn-share {
    width: 2.2rem !important;
    height: 2.2rem !important;
    box-shadow: inherit !important;
    cursor: pointer;
}

#contenuto_esplosione .meccanica>img {
    max-height: 2.8rem;
    /* border-radius: .3rem; */
}

.nav-popup img {
    max-width: 2.2rem;
}

.info {
    z-index: 9;
}

.video_pagine {
    width: 100%;
    height: auto;
    background-color: #fff;
    position: absolute;
    z-index: 99;
    max-height: 100%;
    transition: all 1s;
    object-fit: cover;
}

.video_pagine.animate__fadeOut {
    z-index: 0 !important;
}

/*
============== extra ==============
*/

/* fab container */
.iconbutton {
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    box-shadow: .2rem .2rem 1rem #aaa;
    border: .1rem solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iconbutton svg {
    /*     display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; */
    color: white;
}

.fab-container.bottom,
.fab-container.bottom li {
    bottom: 0;
}

.fab-container {
    position: absolute;
    padding: 0;
    left: 50%;
    right: 50%;
    display: flex;
    justify-content: center;
    color: #fff;
}

.fab-container.top,
.fab-container.top li {
    top: 0;
}

.fab-container.bottom.active li:nth-child(1) {
    bottom: 3rem;
}

.fab-container.bottom.active li:nth-child(2) {
    bottom: 6.5rem;
}

.fab-container.bottom.active li:nth-child(3) {
    bottom: 10rem;
}

.fab-container.top.active li:nth-child(1) {
    top: 3rem;
}

.fab-container.top.active li:nth-child(2) {
    top: 6.5rem;
}

.fab-container.top.active li:nth-child(3) {
    top: 10rem;
}

.fab-container li {
    position: absolute;
    justify-content: flex-end;
    padding: 5px;
    display: flex;
    opacity: 0;
    transition: .5s;
    z-index: 0;
    width: max-content;
}

.fab-container.active li {
    transition: all .5s;
    opacity: 1;
}

.fab-container li div {
    display: none;
}

.fab-container.active li div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-container .btn-label {
    display: none;
    width: 0;
}

.fab-container.active .btn-label {
    display: block;
    width: auto;
}

/* input spinner */
.input-counter {
    max-width: 13rem;
    text-align: center;
    position: relative;
    margin: auto;
}

.contenuto_lista .input-counter {
    max-width: 10rem;
    margin: inherit;
}

.input-counter span {
    top: 0;
    width: 35px;
    height: 100%;
    font-size: 15px;
    cursor: pointer;
    line-height: 2.7rem;
    position: absolute;
    color: #000;
    background-color: transparent;
    -webkit-transition: var(--transition);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-counter span.minus-btn {
    left: 0;
}

.input-counter span.plus-btn {
    right: 0;
}

.input-counter span.um {
    left: 2rem;
    font-size: .8rem;
    display: flex;
    align-items: center;
}

.input-counter span:hover {
    color: var(--primaryColor);
}

.input-counter input {
    outline: 0;
    width: 100%;
    height: 2.4rem;
    display: block;
    text-align: center;
    color: var(--blackColor);
    border: 0;
    background-color: var(--whiteColor);
    font-size: 17px;
    font-weight: 600;
}

.contenuto_lista .input-counter input {
    height: 1.9rem;
    padding-left: 0.7rem;
}

.input-counter input::placeholder {
    color: var(--blackColor);
}

/*
============== extra fine ==============
*/

.form_content input {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-bottom: 0.1vh solid #eee;
    margin-bottom: 1vh;
}

.btn-send {
    width: 7rem;
    border: 0;
    background-color: transparent !important;
}

.disabled {
    opacity: .5;
    pointer-events: none;
    cursor: default;
}

.shadow-bottom {
    box-shadow: 0 0.3rem 0.2rem #ccc;
}

.col.space {
    /* border: .05rem solid #f3f2f1; */
}

.rounded-pill {
    border-radius: 0.375rem !important;
}

#CookiebotWidget {
    display: none;
}

.introjs-helperLayer {
    box-shadow: rgb(33 33 33 / 80%) 0px 0px 1px 0, rgb(33 33 33 / 80%) 0px 0px 0px 5000px !important;
}

.introjs-tooltip {
    font-size: 1.2rem;
    min-width: 270px;
}

.introjs-tooltip-header,
.introjs-tooltiptext {
    padding-left: 1rem;
    padding-right: 1rem;
}

.introjs-tooltiptext ul {
    margin: 0.25rem 0 0 0;
    font-size: 1rem;
    font-style: italic;
    list-style: none;
    padding-left: 0;
}

.introjs-tooltiptext ul img {
    width: 1.8rem;
    margin-right: .2rem;
}

h1.introjs-tooltip-title {
    font-size: 1.4rem;
}

.introjs-arrow.bottom-middle {
    bottom: -18px;
}

.introjs-arrow {
    border: 10px solid transparent;
}

.introjs-arrow.top-right,
.introjs-arrow.top-middle,
.introjs-arrow.top {
    top: -18px;
}

.introjs-dontShowAgain {
    display: flex;
    align-items: center;
}

.introjs-dontShowAgain input {
    margin-bottom: 0;
    width: 13px;
    height: 13px;
}

.introjs-tooltipbuttons a:focus {
    color: #fff !important;
}

.introjs-dontShowAgain {
    display: none;
}

.introjs-bullets {
    padding-top: 0;
}

.card-body .meccanica>span {
    /* max-width: 50%; */
}

.card-body .meccanica>span>img {
    max-height: 2.5rem;
    width: auto;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.list-group-item.active {
    color: inherit;
    background-color: #eee;
    font-weight: 600;
}

.card_figure {
    background-size: 100%;
}

.select_attributi {
    font-size: .8rem;
    padding: 0.3rem;
    font-weight: 600;
}

.video_autorun {
    background-color: transparent;
    object-fit: cover;
}

.tipo_icona {
    position: absolute;
    z-index: 10;
}

.gopage {
    z-index: 99;
}

.data_scadenza {
    font-style: italic;
    font-weight: 500;
    font-size: 80%;
}

#categorie-tab .data_scadenza {
    font-size: .6rem;
    max-width:  100%;
}