body {
    font-family: 'ExtraBold 800',sans-serif;
}

.bg-app {
	background-color: #edf0f5;
	color:#003750;
}

.bg-app-disabled{
    background-color: #edf0f5;
    color: #003750;
    text-decoration:line-through;
}

.bg-white {
    background-color: #e9a94d;
    color: #003750;
}

.bg-category {
    background-color: #9f5278;
    color: #fff;
}

.bg-category-order {
    background-color: #9f5278;
    color: #fff;
}


.bg-badge {
    background-color: #a7beba;
    color: white;
    font-size: 14px;
}

.bg-badge-step {
    background-color: #7EA19B;
    color: #fff;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
    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: #7EA19B;
    color: #ffffff;
}

.app-select-bgcolor {
    background-color: #7EA19B;
}

.app-select-color {
    color: #7EA19B;
}

.combo-box {
    background-color:#fff!important;
    border:0px!important
}

.btn-red {
    color: #a7beba;
    opacity: 1 !important;
}

.header-btn {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: 8px;
    margin-top: 12px;
    background-color: #a7beba;
}

.header-btn-order {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: 8px;
    margin-top: 12px;
    background-color: #9f5278;
}

.header-btn-right {
    position: absolute;
    left: 100%;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: -40px;
    margin-top: 12px;
    background-color: #9f5278;
}

.header-btn-right-ordernew {
    position: absolute;
    left: 100%;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: -40px;
    margin-top: 12px;
    background-color: #9f5278;
}

.header-btn-right-order {
    position: absolute;
    left: 100%;
    top: 0px;
    width: 32px;
    padding: 8px;
    margin-left: -40px;
    margin-top: 12px;
    background-color: #a98e79;
}

.header-btn-right-logo {
    position: absolute;
    right: 85%;
    top: 0px;
    width: 55px;
    padding: 8px;
    margin-left: 88px;
    margin-top: 12px;
    background-color: #d8c9a2;
}

.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;
}

.add-btn {
    width: 25px;
    padding: 8px;
    background-color: #000;
    margin-left: 100%;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.category-image {
    width: 100%;
    object-fit: cover;
    max-height:400px;
}

.footer-back-color {
    background-color: #9f5278;
    color: #fff;
    /*Davide 16/04/2020*/
    font-size: 18px;
}

.sticky-category {
    position: -webkit-sticky;
    position: sticky;
    top: 140px;
}

.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: 140px;
}

.img-touch {
    touch-action: manipulation;
    cursor: pointer;
}

/* media query tablet*/
@media (min-width: 600px) {
    .header-image {
        width: 100%;
        height: 280px;
        object-fit: cover
    }

    .product-image {
        width: 100%;
        height: 320px;
        object-fit: cover
    }

    .top-margin {
        margin-top: 280px;
    }

    .sticky-category {
        position: -webkit-sticky;
        position: sticky;
        top: 280px;
    }
}

/* media query pc*/
@media (min-width: 992px) {
    .header-image {
        width: 100%;
        height: 280px;
        object-fit: cover
    }

    .product-image {
        width: 100%;
        height: 320px;
        object-fit: contain;
        background-color: #042045;
        border-radius: 10px
    }

    .top-margin {
        margin-top: 280px;
    }

    .sticky-category {
        position: -webkit-sticky;
        position: sticky;
        top: 280px;
    }
}