.bg-app {
	background-color: #edf0f5;
	color:#003750;
}

.bg-app-disabled{
    background-color: #edf0f5;
    color: #003750;
    text-decoration:line-through;
}

.bg-white {
    background-color: #ffffff;
    color: #003750;
}

.bg-category {
    background-color: #003368;
    color: #fff;
    text-align: center;
}

.bg-category-home {
    background-color: #026338;
    color: #ff8711;
}

.bg-category_product {
    background-color: #ff8811;
    color: #fff;
}

.bg-badge {
    background-color: #003751;
    color: #fff;
    font-size: 14px;
}

.bg-badge-step {
    background-color: #000;
    color: #ffbc00;
    margin-right: 5px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 13px;
    font-weight:bold;
}

.bg-home-background {
    background-image: url("../img/app_home.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*opacity: 0.2;*/
}

.bg-varianti {
    background-color: #edf0f5;
    color: #003750;
}

.app-text-color {
    color: #758682!important;
}

.app-footer-color {
    background-color: #3365b9;
    color: #ffffff;
}

.app-select-bgcolor {
    background-color: #e9d275;
}

.app-select-color {
    color: #ff0202;
}

.combo-box {
    background-color:#fff!important;
    border:0px!important
}

.btn-red {
    color: #3365b9;
    opacity: 1 !important;
}

.header-btn {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: 8px;
    margin-top: 12px;
    background-color: #023668;
}

.header-btn-right {
    position: absolute;
    left: 100%;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: -40px;
    margin-top: 12px;
    background-color: #003368;
}

.header-btn-order {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: 8px;
    margin-top: 12px;
    background-color: #fff;
}

.header-btn-right-order {
    position: absolute;
    left: 100%;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: -40px;
    margin-top: 12px;
    background-color: #fff;
}

.header-btn-welcome {
    position: absolute;
    right: 10px;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-top: 7px;
    background-color: #322111;
}

.header-btn-allergeni {
    position: absolute;
    right: 5px;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: 0px;
    margin-top: 7px;
    background-color: #322111;
}


.header-btn-search-right {
    position: absolute;
    left: 100%;
    top: 0px;
    width: 300px;
    padding: 8px;
    margin-left: -350px;
    margin-right: 50px;
    margin-top: 10px
}

.header-group {
    position: absolute;
    top: 90px;
    width: 94%;
    padding: 8px;
    margin-left : 3%;
    margin-right: 3%;
    text-align: center;
    background-color: #000;
    color:#fff;
    opacity: 0.6;
}

.header-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.header-image-home
{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.add-btn {
    width: 28px;
    padding: 8px;
    background-color: #88283e;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-image {
    width: 100%;
    object-fit: cover;
    max-height:400px;
}

.footer-back-color {
    background-color: #003368;
    color: #fff;
    font-size: 12px;
    border-radius: 16px;
}

.sticky-category
{
    position: -webkit-sticky;
    position: sticky;
    top: 188px;
}

.sticky-product
{
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1
}

.sidenav {
	height: 100%;
	width: 160px;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	overflow-x: hidden;
	background-color: #003750;	  	  
}

.sidenav a {
	padding-top: 14px;
	padding-bottom: 14px;  
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	color: #edf0f5;
	display: block;
	border-bottom: 2px solid white;
}

.sidenav-active {
	background-color: #ffc107; 
	color: #000!important;
}

.sidenav a:hover {
	color: #f1f1f1;
}

.main {
	margin-top: 70px;
	margin-left: 0px; /* Same as the width of the sidenav */
	font-size: 28px; /* Increased text to enable scrolling */
	padding: 0px 10px;
}

.card-footer {
	background-color: #003750;	
	color: #fff;  
}

.nav-header {
    height: 80px;
    background-color: #9fbdb5;
    color: #fff;
}

.nav-footer {
    height: 60px;
    background-color: #9fbdb5;
    color: #fff;
}

.btn-footer {
    width: 200px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
	color: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
}

.btn:hover
{
    color: #fff;
}

.cursorwaiting {
    cursor: wait !important;
}

/* categorie-scrolling */
.scrolling-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;

}
.scrolling-wrapper .card-cat {
  display: inline-block;
  margin: 10px;
}

.scrolling-wrapper-flexbox {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.scrolling-wrapper-flexbox .card-cat {
  flex: 0 0 auto;
  margin-right: 6px;
}

.card-cat {
  border: 2px solid #a6192d;
  width: 240px;
  height: 160px;
  background: yellow;
  text-align: center;
}

.card-cat-active{
  background: red!important;
}

.scrolling-wrapper, .scrolling-wrapper-flexbox {
  height: 200px;
  margin-bottom: 20px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.scrolling-wrapper::-webkit-scrollbar, .scrolling-wrapper-flexbox::-webkit-scrollbar {
  display: none;
}

/* div snackbar per messaggi */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 0%;
    bottom: 60px;
    font-size: 16px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 60px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 60px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 60px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 60px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
/* div snackbar per messaggi */

/* div strype payment */
.StripeElement {
    box-sizing: border-box;
    padding: 10px;
    margin: 0px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: lightyellow;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #c80c0c;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}
/* div strype payment */

.img-product-format {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.img-disabled {
    display: none;
}

.top-margin {
    margin-top: 0px;
}

.top-margin-checkout {
    margin-top: 60px;
}

.img-touch {
    touch-action: manipulation;
    cursor: pointer;
}

/* media query tablet*/
@media (min-width: 600px) {
    .header-image {
        width: 100%;
        height: 140px;
        object-fit: cover
    }

    .header-image-home
    {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

    .product-image {
        width: 100%;
        height: 320px;
        object-fit: cover
    }

    .top-margin {
        margin-top: 300px;
    }

    .sticky-category
    {
        position: -webkit-sticky;
        position: sticky;
        top: 188px;
    }

    .sticky-product
    {
        position: -webkit-sticky;
        position: sticky;
        top: 0px;
        z-index: 1
    }
}

/* media query pc*/
@media (min-width: 992px) {
    .header-image {
        width: 100%;
        height: 140px;
        object-fit: cover
    }

    .header-image-home
    {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

    .product-image {
        width: 100%;
        height: 320px;
        object-fit: cover
    }

    .top-margin {
        margin-top: 0px;
    }

    .sticky-category
    {
        position: -webkit-sticky;
        position: sticky;
        top: 188px;
    }

    .sticky-product
    {
        position: -webkit-sticky;
        position: sticky;
        top: 0px;
        z-index:1
    }
}

.rounded-div
{
    display: flex;
    align-items: flex-start; /* Allinea il contenuto (immagine e testo) al top */
    border-radius: 15px;
    padding: 0px 10px 0px 0px;
    background-color: #ffffff;
    box-shadow: 1px 4px 8px 7px rgba(0, 0, 0, 0.1);
    margin: 6px 15px 10px 15px;
    position: relative; /* Necessario per il posizionamento assoluto del div interno */
}

.rounded-div-varianti
{
    display: flex;
    align-items: flex-start; /* Allinea il contenuto (immagine e testo) al top */
    border-radius: 15px;
    padding: 0px 10px 0px 0px;
    background-color: #ffffff;
    box-shadow: 1px 4px 8px 7px rgba(0, 0, 0, 0.1);
    margin: 6px 2px 10px 2px;
    position: relative; /* Necessario per il posizionamento assoluto del div interno */
}

.image
{
    border-radius: 10% 65% 23% 0%;
    width: 105px;
    height: 120px;
    margin-right: 12px;
    object-fit: cover;
}

.text-content
{
    flex: 1; /* Permette al testo di occupare tutto lo spazio rimanente */
    color: #333; /* Colore del testo */
    font-size: 16px; /* Dimensione del testo */
    line-height: 1.2; /* Altezza della linea per il testo */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Allinea il testo all'inizio (top) */
}

.bottom-right-div
{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0px 3px;
}

.bottom-button-add {
    width: 20px;
    padding: 6px;
    background-color: #322111;
    margin-left: 7px;
    border-radius: 6px;
    margin-right: 1px;
    margin-top: -5px;
    margin-bottom: 6px;
}

.index-z {
    z-index:1;
}

.app-select-border-color {
    border-top: 6px solid #f80000;
}

.footer-div
{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color: #fdfdfd;
    opacity: 0.9;
    z-index: 2;
}

.column
{
    flex: 1;
    padding: 10px;
    text-align: center;
}

.badge-cart-order
{
    background-color: #f89933;
    color: #fff;
    font-size: 12px;
    border-radius: 26px;
    padding: 6px 9px 6px 9px;
}

.total-order
{
    background-color: transparent;
    color: #000;
    font-size: 16px;
}

.img-label-width {
    width:100%;
}

.img-label-full
{
    width: 100%;
    min-height: 35px;
    padding: 10px;
}

.rounded-div-cart
{
    display: flex;
    align-items: flex-start;
    border-radius: 15px;
    padding: 0px 10px 0px 10px;
    background-color: #ffffff;
    box-shadow: 1px 4px 8px 7px rgba(0, 0, 0, 0.1);
    margin: 6px 15px 10px 15px;
    position: relative;
}

.bottom-right-div-checkout
{
    position: absolute;
    bottom: 4px;
    right: 0;
    padding: 0px 3px;
}

.art-no-foto
{
    min-height: 120px;
    padding-left: 9px;
    text-transform: capitalize;
}

.bottom-button-add-order {
    width: 20px;
    padding: 6px;
    background-color: #251105;
    margin-left: 7px;
    border-radius: 6px;
    margin-right: 1px;
    margin-top: 0px;
    margin-bottom: 6px;
}

.div-min-height
{
    min-height: 36px;
}

.bg-number-order
{
    background-color: transparent;
    color: #000;
    font-size: 20px;
    padding: 2px;
}

