.clickable-row {
    cursor: pointer;
}

.feedback-box {
    width: 560px;
}

/*
We set the element we are applying our loading mask to relative  
*/
.loading-mask {
    z-index: 99999;
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

/*
Because we set .loading-mask relative, we can span our ::before
element over the whole parent element
*/
.loading-mask::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
}

/*
Spin animation for .loading-mask::after
*/
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

/*
The loading throbber is a single spinning element with three
visible borders and a border-radius of 50%.
Instead of a border we could also use a font-icon or any
image using the content attribute.
*/
.loading-mask::after {
    content: "";
    position: fixed;
    border-width: 3px;
    border-style: solid;
    border-color: transparent rgb(255, 255, 255) rgb(255, 255, 255);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    animation: 2s linear 0s normal none infinite running spin;
    filter: drop-shadow(0 0 2 rgba(0, 0, 0, 0.33));
}


.strip_list {
    padding: 10px;
    min-height: 0px;
}

i.ok {
    color: #6C3;
}

a.disabled {
    color: #575757;
}

a.info_menu {
    color: #333cc3;
}

.dropdown-menu img.intolleranza {
    width: 65px;
}


.form-title {
    padding: 15px;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 22px;
    margin-bottom: 15px;
}

.elenco_intolleranze img.intolleranza {
    width: 100%;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    cursor: pointer;
}

.elenco_intolleranze img.intolleranza_active {
    width: 100%;
    cursor: pointer;
}


.prod-menu .product-info {
    margin-left: 0px;
}

/* .dropdown-menu{
  transform: translate3d(5px, 35px, 0px)!important;
} */


a.is_intollerante {
    color: red !important;
}

img.logo_main {
    max-width: 360px;
}


section.main_banner, div#subheader {
    background: #1d1d1b !important;
}

div.footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
}

/* Stile per lo switch */
.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 30px;
}

.switch input {
    display: none; /* Nasconde il checkbox originale */
}

/* Contenitore dello sfondo */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 25px;
    transition: background-color 0.4s;
}

/* Pallino animato */
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.4s;
}

/* Testo al centro */
.slider .switch-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    pointer-events: none; /* Non cliccabile */
    z-index: 1; /* Posiziona il testo sopra il pallino */
}

/* Stato attivo dello switch */
input:checked + .slider {
    background-color: #5cb85c;
}

input:checked + .slider:before {
    transform: translateX(50px); /* Sposta il pallino a destra */
}

/* Testo dinamico */
input:checked + .slider .switch-text {
    content: "SI";
}

/* ADMIN : Menu > Override */
.todo-list>li .label{
    margin-left: 0 !important;
    margin-bottom: 0.5rem;
}
.todo-list>li .text{
    margin-bottom: 0.5rem;
}
.tools{
    margin-top: 0.5rem;
    display: flex !important;
    float: none !important;
    justify-content: space-between !important;
}

.todo-list li:hover .tools{
    visibility: visible;
}

.todo-list>li .allergeni img{
    width: 32px;
    clip-path: inset(0 0 7px);
}