/*SLIDER*/

.carusel-img{
    animation: scroll 40s linear infinite;
}

.slide-track {
    width: 100%;
    display: flex;
    gap: 3em;
    overflow: hidden;
}

.slider {
    background-color: white;
    padding: 2em 1em;
}

@keyframes scroll {
    0% {transform: translateX(0);}
    100% {transform: translatex(-1000%)}
}

/*CAROSELLO STORIA*/

.img-carosello{
    height: 100%;
}
.carousel-control-next {
    left: 40% !important;
}

.privacy-pills:hover{
    color: white !important;
}

.card {
    text-align: center;
    width: 350px;
    height: 450px;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 1px 0.5px rgba(0, 0, 0, 0.1);
    border-radius: 80px;
}

.card img{
    width: 150px;
}

.company-logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 15px;
}

.action-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.action-icons i {
    font-size: 1.5rem;
    color: #333;
}

.company-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.company-region {
    color: #5b5a5a;
    margin-bottom: 10px;
    font-weight: 300;
}

.letter-active:active{
    background-color: rgba(38, 136, 56, 0.22);
    font-weight: bold;
    color: #268838 !important;
    border-radius: 50%;
    width: fit-content();
    text-align: center;
    padding-right: 10px;
    padding-left: 10px;
}

.btn-circle {
    width: 50px;
    height: 50px;
    padding: 6px 0px;
    border-radius: 50px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}
/* STILE */

.brown-bg-color{
    background-color: #67300F;
}
.primary-text-color{
    color: #268838;
}
.secondary-text-color{
    color: #FDA27E;
}

.bg-lightgreen{
    background-color: rgba(38, 136, 56, 0.2);
}

.bg-image-azienda{
    background-image: url("..img/images/Hero-Gieffe.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.badge-esaurito{
    background-color: #67300F;
    border-radius: 0px;
}

.font-button-account{
    font-size: 14px;
}

.lighter-bg-color{
    background-color: rgba(222, 209, 195, 0.35);
    color: #67300F;
}

.bg-olivegreen{
    background-color: #81A164;
}

.bg-pills-green{
    background-color: #edf2ea;
}

.text-olivegreen{
    color:#81A164;
}
footer{
    background-color: #464646;
    color: white;
}

a:hover{
    color: #268838 !important;
}

.manina{
    cursor:pointer !important;
}

.offcanvas{
    width: 35% !important;
}

.img-offcanvas{
    width: 130px;
}

h1{ line-height: 100px;}

.category-text{
    font-size: 15px !important;
}

.special-font{
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
}

.italic-font{
    font-family: "Cardo", serif;
    font-weight: 300;
    font-style: italic;
}

.lil-text{
    font-size: 18px;
}

.pills-text{
    font-size: 14px;
}

.width-recupera{
    width: 500px;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: lightgrey !important;
}

.btn-primary{
    background-color: #268838;
    color: #FFF !important;
    border: solid 2px #268838;
    text-transform: uppercase;
    border-radius: 50px;

}

.btn-primary:hover{
    background-color: #1a6228;
    border: solid 2px #1a6228;
}

.btn-primary:active{
    background-color: #1a6228;
    border: solid 2px #1a6228;
}

.bgk-primary{
    background-color: #268838;
}

.btn-outline{
    background-color: transparent;
    color: #268838;
    border: solid 2px #268838;
    text-transform: uppercase;
    border-radius: 50px;
}

.btn-outline:hover{
    background-color: #268838;
    color: #FFF !important;
    border: solid 2px #268838;
    text-transform: uppercase;
    border-radius: 50px;
}

.btn-outline:active{
    background-color: transparent;
    color: #67300F;
    border: solid 2px #67300F;
    text-transform: uppercase;
    border-radius: 0;
}

.btn-whatsapp{
    background-color: #25d366 !important;
    border-radius: 25px;
}

.btn-whatsapp:hover{
    background-color: #188d44;
    border-radius: 25px;
    color: white !important;
}


.border-row{
    border-top: dashed 2px #bdbdbd;
}

.border-col-left{
    border-left: dashed 2px #bdbdbd;
}

.border-col-right{
    border-right: dashed 2px #bdbdbd;
}

body{
    width: 100%;
    font-family: "Raleway", sans-serif;
    overflow-y: auto;
}
html, body{
    min-height: 100vh;
    overflow-x: hidden;
}

/*CUSTOM*/

.logo-width{
    width: 150px;
    max-height: 180px;
}

.logo-width-forn{
    width: 80%;
}

.logo-effe{
    width: 70px;
}

.dropdown-menu{
    border-radius: 0 !important;
    border-width: 0;
    z-index: 99999;
}

.menu-mobile{
    margin: 0 auto !important;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-height{
    height: 78vh;
}

.bkg-norepeat{
    background-repeat: no-repeat;
    background-size: cover;
}

.boxed{
    margin-left: 350px;
    margin-right: 350px;
}

.header{
    position: absolute;
    top: 25%;
}

.bg-image{
    background-image: url("../img/images/Hero-Gieffe-2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;

    /*MDF*/
    padding-top: 42.55%;
    overflow: hidden;
    position: relative;
}

.bg-image-gruppo{
    background-image: url("../img/images/Chisiamo-Gieffe.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.bg-image-contatti{
    background-image: url("../img/images/Contatti-Gieffe.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.width-hero-text{
    width: 50%;
}

.margin-login{
    margin-top: 100px;
}

.more-margin-top{
    margin-top: 140px;
}

.navbar-toggler{
    border: 0px;
    box-shadow: 0px !important;
}

.navbar-toggler:focus{
    box-shadow: 0px !important;
}

a{
    font-size:14px;
}
.superNav {
    font-size:13px;
}
.form-control {
    outline:none !important;
    box-shadow: none !important;
}

.icona-width{
    width: 80px;
}

.border-number{
    border-style: dashed !important;
}
.icona-footer{
    width: 25px;
}

.nav-link{
    font-size: 20px;
    color: #151515;
    font-weight: 500;
}

.nav-link:hover{
    font-size: 20px;
    font-weight: bold;
    color: #268838;
}

.nav-link:active{
    font-size: 20px;
    font-weight: bold;
    color: #268838;
}

.nav-link-footer{
    font-size: 16px;
    color: #FFF;
}


/* ICONA CERCA*/

* {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    font-size: calc(16px + (24 - 16)*(100vw - 320px)/(1920 - 320));
}
 input {
    font: 1em Raleway, sans-serif;
    line-height: 1.5em;
    color: #67300F;
}

::-webkit-input-placeholder { color: #767a7e; font-size: 16px;}
::-moz-input-placeholder { color: #767a7e; font-size: 16px;}
::-ms-input-placeholder { color: #767a7e; font-size: 16px;}


.button {
    display: inline-block;
    margin: 4px 2px;
    background-color: #fff;
    font-size: 14px;
    padding-left: 32px;
    padding-right: 32px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #67300F;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button:hover {
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    background-color: white;
    color: black;
}

.search-container {
    position: relative;
    display: inline-block;
    margin: 4px 2px;
    height: 50px;
    width: 50px;
    vertical-align: bottom;
}

.mglass {
    display: inline-block;
    pointer-events: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

.searchbutton {
    position: absolute;
    font-size: 35px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.search:focus + .searchbutton {
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    background-color: white;
    color: black;
}

.search {
    position: absolute;
    left: 49px; /* Button width-1px (Not 50px/100% because that will sometimes show a 1px line between the search box and button) */
    background-color: white;
    outline: none;
    border: none;
    padding: 0;
    width: 0;
    height: 100%;
    z-index: 10;
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
}

.search:focus {
    width: 363px; /* Bar width+1px */
    padding: 0 16px 0 0;
}

.expandright {
    left: auto;
    right: 49px; /* Button width-1px */
}

.expandright:focus {
    padding: 0 0 0 16px;
}

/*
.search-bar {
    display: flex;
}

.search-bar input,
.search-btn,
.search-btn:before,
.search-btn:after {
    transition: all 0.25s ease-out;
}
.search-bar input,
.search-btn {
    width: 3em;
    height: 3em;
}
.search-bar input:invalid:not(:focus),
.search-btn {
    cursor: pointer;
}
.search-bar,
.search-bar input:focus,
.search-bar input:valid  {
    width: 100%;
}
.search-bar input:focus,
.search-bar input:not(:focus) + .search-btn:focus {
    outline: transparent;
}
.search-bar {
    margin: auto;
    padding: 1.5em;
    justify-content: center;
    max-width: 30em;
}
.search-bar input {
    background: transparent;
    border-radius: 1.5em;
    box-shadow: 0 0 0 0.3em #67300F inset;
    padding: 0.75em;
    transform: translate(0.5em,0.5em) scale(0.5);
    transform-origin: 100% 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.search-bar input::-webkit-search-decoration {
    -webkit-appearance: none;
}
.search-bar input:focus,
.search-bar input:valid {
    background: #fff;
    border-radius: 0.375em 0 0 0.375em;
    box-shadow: 0 0 0 0.1em #d9d9d9 inset;
    transform: scale(1);
}
.search-btn {
    background: #67300F;
    border-radius: 0 0.75em 0.75em 0 / 0 1.5em 1.5em 0;
    padding: 0.75em;
    position: relative;
    transform: translate(0.25em,0.25em) rotate(45deg) scale(0.25,0.125);
    transform-origin: 0 50%;
}
.search-btn:before,
.search-btn:after {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
}
.search-btn:before {
    border-radius: 50%;
    box-shadow: 0 0 0 0.2em #f1f1f1 inset;
    top: 0.75em;
    left: 0.75em;
    width: 1.2em;
    height: 1.2em;
}
.search-btn:after {
    background: #f1f1f1;
    border-radius: 0 0.25em 0.25em 0;
    top: 51%;
    left: 51%;
    width: 0.75em;
    height: 0.25em;
    transform: translate(0.2em,0) rotate(45deg);
    transform-origin: 0 50%;
}
.search-btn span {
    display: inline-block;
    overflow: hidden;
    width: 1px;
    height: 1px;
}

 */
/* Active state */ /*
.search-bar input:focus + .search-btn,
.search-bar input:valid + .search-btn {
    background: #67300F;
    border-radius: 0 0.375em 0.375em 0;
    transform: scale(1);
}
.search-bar input:focus + .search-btn:before,
.search-bar input:focus + .search-btn:after,
.search-bar input:valid + .search-btn:before,
.search-bar input:valid + .search-btn:after {
    opacity: 1;
}
.search-bar input:focus + .search-btn:hover,
.search-bar input:valid + .search-btn:hover,
.search-bar input:valid:not(:focus) + .search-btn:focus {
    background: #67300F;
}
.search-bar input:focus + .search-btn:active,
.search-bar input:valid + .search-btn:active {
    transform: translateY(1px);
}*/


.desktop-height{
    height: 550px;
}

.height-desktop-cat{
    height: 750px;
}

.border-right{
    border-right: solid;
}

.form-label{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
}

.form-check-label{
    font-size: 18px;
    font-weight: 400;
}

.form-control{
    background-color: white;
    border: solid 1px dimgrey;
    border-radius: 6px;
}


.circle {
    width: 23px;
    height: 23px;
    background-color: #FDA27E;
    border-radius: 50%;
    position: relative;
}
.cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
}
.cross:before, .cross:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}
.cross:before {
    transform: rotate(45deg);
}
.cross:after {
    transform: rotate(-45deg);
}

.barrato{
    text-decoration:line-through;
}

/* MDF */
.bg-white{
   background-color: white;!important
}
.map-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.map-containerS {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.map-img {
    display: block;
    width: 100%;
    height: auto;
}

.text-block {
    position: absolute;
    top: 0; left: 0;
    width: 50%;
    height: 100%;
    box-sizing: border-box;
    z-index: 2;
}
#map-tooltip {
    position: absolute;
    display: none;
    pointer-events: auto;
    z-index: 9999;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-align: center;
    white-space: nowrap;
    width: 140px;   /* 50 + padding */
    height: 140px;  /* 50 + padding */
    /* nuovo: centro tutto con flex-box */
   /display:flex;
    align-items:center;      /* verticale  */
    justify-content:center;  /* orizzontale*/
    flex-direction:column;   /* logo sopra, eventuale testo sotto */
}

/* la freccia “a triangolo” in coda */
#map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;            /* parte dal fondo del tooltip */
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;  /* punta verso il basso */
}

#map-tooltip img {
    display: block;
    width: 120px;!important;
    height: 120px;!important;
  /*  margin: 0 auto 6px;*/
   /* object-fit: contain;*/
}
#map-tooltip a {
    display: block;
    width: 120px;!important;
    height: 120px;!important;
  /*  font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;*/
}
#map-tooltip a:hover {
    text-decoration: underline;
}

#map-tooltipSmall {
    position: absolute !important;
    display: none;
    pointer-events: auto;
    z-index: 10000;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
}
#map-tooltipSmall::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}
#map-tooltipSmall img {
    width: 40px;
    display: block;
    margin: 0 auto;
}


/* FINE MDF */

@media screen and (max-width: 1550px){
    .bg-image{
        background-position: right;
    }
}

@media screen and (max-width: 1200px){
    .offcanvas{
        width: 50% !important;
    }

    .card {
        width: 300px;
        height: 500px;
    }

    .logo-width {
        width: 150px;
    }
}

@media screen and (max-width:1024px){

    .card {
        width: 300px;
        height: 495px;
    }

    .desktop-height{
        height: unset;
    }

    .height-desktop-cat{
        height: unset;
    }

    .cart-height{
        height: 65vh !important;
    }

    .border-row{
        border-top: none;
    }

    .border-col-left{
        border-left: none;
    }

    .border-col-right{
        border-right: none;
    }

    .carousel-control-next {
        left: 85% !important;
    }

}

@media screen and (max-width:768px){

    /*
    .img-carosello{
        height: 50%;
    }

     */

    .bg-image-gruppo{
        background-position: left;
    }

    .img-hero-mobile{
        width: -webkit-fill-available;
    }
    .centerOnMobile {
        text-align:center
    }

    .more-margin-top{
        margin-top: 0px;
    }

    .logo-width{
        width: 130px;
    }

    .width-hero-text{
        width: 70%;
    }

    h1{line-height: 50px;}

    .lil-text{
        font-size: 14px;
    }

    .margin-login{
        margin-top: 50px;
    }

    .width-recupera{
        width: 300px;
    }

    .border-right{
        border-right: unset;
    }
    .offcanvas{
        width: 100% !important;
    }
    .img-offcanvas{
        width: 100px;
    }
    .card {
        width: 350px;
        height: 350px;
    }
}