﻿input[type=text], input[type=password] {
    color: black;
    background-color: white;
    border: 1px solid black;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: yellowgreen;
    box-shadow: 0 0 0 2px #dddddd;
}

select {
    color: black !important;
    background-color: white !important;
    border: 1px solid black;
}


/*TABELLA ROW*/
table {
    color: black;
}

    table tbody tr {
        background-color: #e8e8e8 !important;
        color: black;
    }

        table tbody tr:nth-child(2n + 1) {
            background-color: white !important;
            color: black;
        }

table, th, td {
    border: 1px solid lightgrey;
}


.dettagli_articolo {
    max-width: 50%;
    margin: auto;
}

    .dettagli_articolo td {
        padding: 0px;
    }

@media screen and (max-width: 1024px) {
    .dettagli_articolo {
        max-width: 80%;
    }
}

a {
    color: darkblue;
}

.regp {
    text-align: center;
    min-width: 250px;
    max-width: 300px;
    min-height: 500px;
    width: 80%;
    margin: auto;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    padding: 5px;
    background-color: lightgray;
    border-radius: 5px;
    border: 1px solid black;
    line-height: normal;
}

regp a {
    color: cornflowerblue !important;
}

.copertina {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: url(../../images/banner.jpg);
    background-repeat: no-repeat;
    text-align: left;
    font-size: 2em;
    font-weight: bold;
    padding: 0.8em;
    color: white;
}

.sp {
    color: black;
    text-align: center;
    margin: auto;
    margin-top: 80px;
    margin-bottom: 70px;
    margin-left: 5%;
    display: inline-block;
    width: 90%;
    background-color: rgba(255,255,255,1);
    border-radius: 5px;
    border: 1px solid black;
}

@media screen and (max-width: 1024px) {
    .regp {
        min-height: 0px;
    }

    .sp {
        margin: 0px;
        margin-top: 60px;
        width: 100% !important;
    }

    .copertina {
        height: auto;
        padding: 3px;
        text-align: center;
    }
}


.msg_box {
    background: rgba(255, 255, 255,0.95);
    text-align: center;
    box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.63);
}

.card {
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    overflow: hidden;
    width: 250px;
    display: inline-block;
    margin: 10px;
    transition: all 1s;
    user-select: none;
}

    .card:hover {
        width: 300px;
        box-shadow: 0px 0px 10px 5px rgba(20,199,10,1);
        border-color: yellowgreen;
    }

        .card:hover h3 {
            color: yellowgreen;
        }

.card_select {
    opacity: 0;
}



.notifiche {
    background: rgba(0,0,0,0.95);
}

    .notifiche b {
        color: white;
    }


.notificaclosebnt {
}

    .notificaclosebnt:hover {
        color: red;
    }




.box {
    background: rgba(0,0,0,0.9);
    box-shadow: 0 2px 0 0 #232323;
}





body.landing #page-wrapper {
    /*background: rgba(0, 0, 0, 0.90);*/
    color: lightgray;
}

body.landing {
    background-color: rgba(0, 0, 0, 0.90);
    padding-top: 0;
    background-image: url('../../images/sfondo.jpg');
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}


.bntsearch {
    display: inline-block;
    cursor: pointer;
    color: #e1c100;
    border-radius: 5px;
    border: solid 1px #3866a3;
    background: background: rgb(255,10,10);
    background: linear-gradient(0deg, rgba(255,10,10,1) 0%, rgba(0,0,0,1) 100%);
    text-shadow: 1px 1px 0px #528ecc;
    margin: 15px;
}

    .bntsearch:hover {
        background: rgb(255,10,10);
        background: linear-gradient(0deg, rgba(255,10,10,1) 81%, rgba(0,0,0,1) 100%);
    }

    .bntsearch:active {
        position: relative;
        top: 1px;
    }

.bntsearch-text {
    padding: 10px 30px;
    float: left;
}

.bntsearch-icon {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: rgba(0, 0, 0, 0.14) -1px 0px 0px inset;
    border-radius: 5px 0 0 5px;
    padding: 10px 10px;
    float: left;
}

.search_box {
    display: inline-block;
    border-radius: 5px;
    border-color: darkgray;
    padding: 15px;
    margin: auto;
}

search_box a {
    color: black !important;
    text-decoration: none !important;
}

.result_box {
    display: inline-block;
    background: rgba(255,255,255,1);
    text-align: center;
}

    .result_box a {
        color: black !important;
        text-decoration: none !important;
    }


.hs {
    border-bottom: 1px solid black;
    margin-bottom: 5px;
}





/* BLOCCO*/

.blocco {
    vertical-align: top !important;
    display: inline-block;
    width: 200px;
    margin: 5px;
}

    .blocco select {
        display: inline-block;
    }



.prodotto {
    color: white;
    border: 1px solid;
    border-radius: 5px;
    border-color: #484848;
    width: 250px;
    height: 300px;
    margin: 1px;
    display: inline-block;
    height: auto;
    vertical-align: top;
    white-space: nowrap;
    overflow: hidden;
}

    .prodotto a {
        border: none;
        overflow: hidden;
    }

    .prodotto label[name="titolo"] {
        margin-bottom: 0;
        overflow: hidden;
        margin: auto;
        font-weight: bold;
    }

    .prodotto label[name="prezzo"] {
        color: #3e9fe8;
        margin: auto;
        font-weight: bold;
        font-size: 1em;
    }

    .prodotto img[name="icona"] {
        margin: auto;
        height: 256px;
        transition: transform 0.5s ease;
        display: block;
    }

        .prodotto img[name="icona"]:hover {
            transform: scale(1.3);
        }

    .prodotto div[name="contenitore"] {
        /* Rimuoviamo il background dal contenitore principale */
        /* background: linear-gradient(0deg,rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%); <-- RIMOSSO/COMMENTATO */
        overflow: hidden;
        /* Necessario per posizionare l'overlay in modo assoluto rispetto ad esso */
        position: relative;
        /* Assicurati che il contenitore abbia l'altezza necessaria per l'immagine */
        height: 256px; /* O usa un'altezza dinamica se preferisci */
        width: fit-content; /* Se necessario per avvolgere solo l'immagine */
    }

        /* 🚀 Creazione dell'Overlay */
        .prodotto div[name="contenitore"]::after {
            content: ""; /* Obbligatorio per gli pseudoelementi */
            position: absolute; /* Posizionamento sopra l'immagine */
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(0deg,rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0) 20%);
            pointer-events: none; /* Per non interferire con il puntatore */
        }

    .prodotto div[name="toolbox"] {
        overflow: hidden;
    }

        .prodotto div[name="toolbox"] img {
            width: 48px;
            margin-right: 5px;
            transition: transform 0.5s ease;
        }

            .prodotto div[name="toolbox"] img:hover {
                transform: scale(1.1);
            }

@media screen and (max-width: 900px) {

    bntsearch-text {
        font-size: small;
    }
}

@media screen and (max-width: 600px) {


    .prodotto {
        display: inline-block;
        margin: auto;
        margin-bottom: 10px;
        vertical-align: top;
    }
}

@media screen and (max-width: 400px) {
    .prodotto label[name="titolo"] {
        font-size: 1.3em;
    }

    .prodotto label[name="prezzo"] {
        color: red;
        margin: auto;
        font-weight: bold;
        font-size: 1em;
    }
}








#more_link {
    color: blue;
}

.esell_search {
    background-color: rgba(255, 255, 255, 1);
}

#navPanel {
    position: relative;
}

.logo_mobile {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo_mobile_menu {
    width: 50%;
    position: relative;
    left: 50%;
    transform: translate(-50%,10%);
}

#menu_mobile {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0px;
    left: 0px;
    text-align: center;
    z-index:1000;
    transition: transform 0.5s ease;
}

.cart_num {
    z-index: 1000;
    position: absolute;
    right: 8px;
    top: 20px;
    background-color: rgba(255, 0, 0,0.80);
    border-radius: 20px;
    width: 40px;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: medium;
}

.cart {
    position: absolute;
    right: 5px;
    top: 3px;
    width: 55px;
}

.tema_color, #menu_mobile, #navPanel {
    background-color: rgba(1, 1, 1,0.8);
}

    .tema_color label {
        color: rgba(0, 51, 39,1);
    }

.tema_color_panel {
    background-color: rgba(255, 255, 255,.5);
}


/*
    IMG BUTTON

*/

#video_background {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: auto;
    width: 100%
}

.tema_img_bnt {
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    width: 160px;
    display: inline-block;
    transition: all 1s;
    margin: 5px;
}

@media screen and (max-width: 800px) {
    .tema_img_bnt {
        margin: 1px;
    }

    #video_background {
        object-fit: cover;
        object-position: center;
        height: 100% !important;
    }
}

.tema_img_bnt:hover {
    background: linear-gradient(0deg, rgba(255,10,10,1) 0%, rgba(0,0,0,1) 100%);
}

    .tema_img_bnt:hover > span {
        color: white;
    }

.tema_img_bnt span {
    user-select: none;
    color: black;
}

.tema_img_bnt img {
    position: relative;
    width: 150px;
    margin: 5px;
}

/*
    COLORI MENU SUPERIORE

*/
#nav > ul > li a:not(.button) {
    color: rgb(237, 226, 226);
    display: inline-block;
    text-decoration: none;
    border: 0;
}

    #nav > ul > li a:not(.button).icon:before {
        margin-right: 0.5em;
        font-weight: bold;
    }

    #nav > ul > li a:not(.button):hover {
        color: yellowgreen;
        transition: all 1s;
    }

.dropotron.level-0 > li {
    width: 80%;
    border-bottom: 1px solid #313131;
    margin: auto;
    text-align: left;
}

    .dropotron.level-0 > li a {
        color: black !important;
    }

    .dropotron.level-0 > li:last-child {
        border-bottom: none;
    }

    .dropotron.level-0 > li > a > img {
        margin-right: 5px;
    }
