/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Jun 4, 2018, 7:13:45 PM
    Author     : Sirisha
*/




/*Cart*/
#cart{
	/* height: calc(100vh - 190px); */
    position: fixed;
    right: calc(-100%);

	top:160px;
	background-color: #fff;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.35)  ;
	padding: 1rem;
	margin-bottom: 0;
	width: 30%;
	z-index: 9999999;

}
.cart-open{
	right: 0 !important;
	min-width:  500px;

    /* height: calc(100vh - 190px); */
}
#cart.cart-open.cart-close{
	min-width: auto;
}
.cart-heading{
    background: #fd7a5a;
    color: #fff;
    margin-bottom: 1rem;
    padding: 0.2rem 0.5rem;
}
.cart-body{
    text-align: center;
}
.cart-summary-container{
	margin: 0.5rem 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0.7rem 0;
}
.cart-total-amount{
}
.cart-checkout{
    cursor: pointer;
    height: 6rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spacer{
    flex-grow:1;
    visibility: hidden;
}

.quantityContainer{
    display: flex;
    align-items: center;
}
.quantity{
    width: 5rem;
    height: 2rem;
    margin: 0 .5rem;
    text-align: center;
    padding: 0;
    font-weight: bold;
}
.quantity-am {
    display: flex;
    align-items: center;
    padding: 1rem;
}
.name{
    width: 80%;
    display: flex;
    align-items: center;
    text-align: left;
    line-height: 1.2;
}
.cart-each-product {
    display: flex;
    color: #2d2d2d;
    justify-content: space-between;
    margin: 0.5rem 0 0.5rem 0.65rem;
    align-items: center;
}

/*//Cart*/

/* Products */
.product-container{
    margin-top: 2rem;
}
.menu-item-container {
    padding: 1rem;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.16);
    position: relative;
    margin: 1rem;
}
.item-name {
    font-size: 1.4rem;
    color: #6b412f;
    letter-spacing: .42px;
    font-weight: 700;
    padding-bottom: .5rem;
    padding-right: 1.7rem;
}
.item-price-container {
    margin-top: .5rem;
    display: flex;
    align-items: center;
}
.nonveg{
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 9;
    color: red;
}
.veg{
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 9;
    color: #2baf2b;
}

.sc-reset-cart-warp{
	text-align: right;
}
.sc-reset-cart{
	display: inline-block;
	cursor: pointer;
	font-size: small;
	margin-left: 1rem;
	
}

.sc-remove-from-cart{
	font-size: small;
	line-height: 1;
	padding: 0.3rem;
}



#cart{
	transform: .4s;
}
#cart.cart-close{
	width: 4rem;
	border-radius: 20px 0 0 20px;
}
#cart.cart-close .close span,
#cart.cart-close .cart-contents,
#cart.cart-close .close > div .total-cart-count{
	display: none;
}



#cart .close{
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: .5rem;
	background-color: #fd7a5a;
	border-radius: 3px;
	padding:0 0.1rem;
	
}

#cart.cart-close .close{
	background:none;
	margin: 0;
}


#cart .close > div{
	display: flex;
	justify-content: center;
	align-items: center;
	gap:.5rem;
}
#cart.cart-close .close i{
	cursor: pointer;
}
#cart .close i{
	background: #fd7a5a;
	border-radius: 100%;
	width: 2.3rem;
	height: 2.3rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
#cart .close i:before{
	color: #FFF;
}
#cart .close span{
	color: #fff;
	cursor: pointer;
	margin-right: 0.5rem;
}
@media screen and (max-width:768px){
	body #cart.cart-open{
		bottom: 0;
		left: 0;
		right: auto;
		top:auto;
		width: 100vw;
		min-width: auto;
	}
	body #cart.cart-close{
		width: 5rem;
		right: 0 !important;
		bottom: 6em !important;
		left: auto!important;
	}
}

.btn-back-list{
	display: none;
}