﻿@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700);
html {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.titlediv {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 18px !important;
	margin-top: 20px;
    /*text-transform: uppercase; */
}
.titlediv1{
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 12px;
}
.infodiv {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: bold;
    display: block;
    overflow: auto;
    background-color: #bf8306;
    color: white;
    text-align: center;
    vertical-align: middle;
    height: fit-content;
    padding: 15px;
    width: 98%;
    border-radius: 15px;
    margin-bottom: 20px;
}

.authentico {
    max-width: 400px;
}


.button-product {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
    text-align: left;
}

.productname {
    font-weight: bold;
}

/*.custom-card-img {
    border-top-left-radius: calc(0.25rem - 1px);*/ /* Bootstrap 4 default radius */
    /*border-top-right-radius: calc(0.25rem - 1px);
    width: 100%;
    height: 200px;
    object-fit: cover;
}*/

.custom-card {
    border-radius: 30px; /* Aumenta questo valore per angoli ancora più arrotondati */
    overflow: hidden; /* Questo assicura che l'immagine e qualsiasi altro contenuto seguano il border-radius della card */
}

.custom-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fa-angle-right {
    color: #000; /* Cambia questo al colore desiderato per la freccia */
}


/*.button-product {
    border: solid;
    border-block-color: #cccccc;
    border-width: thin;
    background-color: white;
    width: 99%;
    height: fit-content;
    vertical-align: middle;
    border-radius: 15px;
    padding: 0px;
    border: 1px solid #BFBFBF;
    background-color: white;
    box-shadow: 10px 10px 5px #aaaaaa;
    margin-top: 30px;
}

.productname {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 80px;
    text-align: center;
    vertical-align: middle;
}*/

.fa-3x {
    vertical-align: middle;
}
.card-footer-authentico {
    padding: 0.5rem 1rem;
    background-color: rgba(255,255,255,.03);
    border-top: 1px solid rgba(0,0,0,.125);
    text-align:left;
}
/*.card {
    border: 1px solid rgba(255,255,255,.125);
} */

.card {
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    margin-bottom: 30px;
	margin-top: 10px;
	background-color: #fff; 
	/*#f6f0e2;*/
	/*#E6D4AA;*/
}
.card-img-top {
margin-left: 10px;
    margin-top: 14px;
    height: 93%;
    width: 95%;
}
.rounded-lg {
    border-radius: 30px !important;
}

.rounded-top-lg {
    border-radius: 30px 30px 0 0 !important;
}

.checked {
    color: gold;
}

.card-body
{
    margin-top: -25px;
}
.titolo{
    text-align: center;
}
.flag-top {
    align-items: self-end;
    position: absolute;
    /* align-self: auto; */
    /* align-items: end; */
    align-self: flex-end;
    width: 60px;
}
.afooter {
    font-size: small;
}
.lead {
    font-size: 1.1rem;
    font-weight: 300;
}
.gficon {
    width: 45px;
}


/*#filter {
    padding: 10px;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.fa-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
}*/


.searchbox {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: all 1s;
    width: 50px;
    height: 50px;
    background: white;
    box-sizing: border-box;
    border-radius: 25px;
    border: 4px solid #ced4da;
    padding: 5px;
}

input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 42.5px;
    line-height: 30px;
    outline: 0;
    border: 0;
    display: none;
    font-size: 1em;
    border-radius: 20px;
    padding: 0 20px;
}

.fa {
    box-sizing: border-box;
    padding: 10px;
    width: 42.5px;
    height: 42.5px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    color: #07051a;
    text-align: center;
    font-size: 1.2em;
    transition: all 1s;
}

.searchbox:hover {
    width: 200px;
    cursor: pointer;
}

.searchbox:hover input {
        display: block;
}

.searchbox:hover .fa {
        background: #07051a;
        color: white;
 }



.special-separator {
    border-bottom: 1px solid #00F;
    background-color: #DADADA;
    height: 1px;
    margin: 0.5em 0px 1.5em;
}

.special-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5em;
    letter-spacing: 0.08em;
    font-weight: 300;
    color: #1589FF;
    text-shadow: 0 1px 1px #FFFFFF;
    text-transform: uppercase;
    margin-top:40px;
}
.special-separator span {
    display: block;
    width: 50px;
    height: 1px;
    background-color: #1589FF;
}
.badge-light {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    background-color: #9a9a9a;
    margin-top: 15px;
}
.badge-empty {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.0);
    margin-top: 15px;
}
.btn-custom {
    background-color: #f9d94c; 
    color: #fff; /* White text */
    border-radius: 25px; /* Rounded borders */
    border: none; /* Remove border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add some shadow */
    transition: transform 0.2s ease-in-out; /* Smooth transition for click */
}

.btn-custom:hover, .btn-custom:focus {
        transform: scale(1.05); /* Slightly enlarge the button when hovered/focused */
        text-decoration: none; /* Ensure no underline on hover */
        color: #fff; /* Keep text color the same */
        background-color: #f00;
 }
.allergen-icon {
    cursor: pointer;
    display: inline-block;
    width: 32px; 
    height: 32px;
    background-size: cover;
}

.glutine {
    background-image: url('/img/gluten-icon.png');
}

.nuts {
    background-image: url('/img/gluten-icon.png');
}

.crostacei {
    background-image: url('/img/crostacei-icon.png');
}
.uova {
    background-image: url('/img/uova-icon.png');
}
.pesce {
    background-image: url('/img/pesce-icon.png');
}
.lupini {
    background-image: url('/img/lupini-icon.png');
}
.sedano {
    background-image: url('/img/sedano-icon.png');
}
.senape {
    background-image: url('/img/senape-icon.png');
}
.anidridesolforosa {
    background-image: url('/img/anidridesolforosa-icon.png');
}
.soia {
    background-image: url('/img/soia-icon.png');
}
.sesamo {
    background-image: url('/img/sesamo-icon.png');
}
.molluschi {
    background-image: url('/img/molluschi-icon.png');
}
.latte {
    background-image: url('/img/latte-icon.png');
}
.fruttaguscio {
    background-image: url('/img/fruttaguscio-icon.png');
}
.arachidi {
    background-image: url('/img/arachidi-icon.png');
}
/* Tooltip CSS */
[data-toggle="tooltip"]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1000;
}

.price-tag span {
    font-size: 1.5em;
    font-weight: bold;
}

.tooltipster-box {
	background: #fff !important;
}

.row {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra completamente sia l'immagine che il testo */
}
