
/* Remove wine and beer from nav bar */
a[href$='#beer'] , a[href$='#wine'] 
{ /*css*/ 
    visibility: hidden;
}


.order-card
{
    position: relative;
    padding: 0 0 3.5rem 0;
    
}

.card
{
    border-radius: 6px;
}

.order-card-desc
{
    margin: 0px;
    flex-direction: row-reverse;
}

.order-img
{
    align-self: flex-start;
}

.order-card-info
{
    text-align: left;
    padding: 0.7rem;
}

.order-card-img-right
{
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 0 6px 0 6px;
}

.order-card-img-div
{
    border-radius: 0 6px 0 6px;
    padding: 0px;
    padding-bottom: 1rem;
}

.card-title
{
    font-weight: bold;
}

#order-items-container
{
    padding: 0;
}

#order-items-container .section-title
{
    padding-top: 3rem;
}

.order-card-btn
{

    margin-top: auto;
    position: absolute;
    bottom: 0;
    width: calc(100% - 0.7rem);
    margin: 0;
    padding-left: 0.7rem;
}    

.order-checkbox-row
{
    padding-left: 0.8rem;
    height: 2rem;
}

.order-card-btn-left
{
    padding-left: 0;
    padding-right: 1.5rem;
   
}

.order-card-btn-right
{
    display: flex;
    align-items: center;
    padding-right: 0rem;
}

/* #container-menu
{
    margin-right: 0;
    margin-left: 0;
    padding-right: 1rem;
    padding-left:1rem;
} */


.btn-order, .btn-checkout
{
   
    width: 100%;
    background-color: #fff;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.btn-order:active, .btn-checkout:active
{
    color: #fff;
    background-color:#272727;
    
}

@media(hover: hover) and (pointer: fine) 
{

    .btn-order:hover
    {
        color: #fff;
        background-color:#272727;
       
    }

    .btn-order:active:hover
    {
        background: #474747;
        color: white;
    }

}

.btn-add-order-checked
{
    color: #fff;
    background-color:#272727;
    border-radius: 6px;
}

.btn-stepper, .btn-stepper-number, .btn-add-order, .btn-checkout
{
    height: 2.5rem;
    border: 2px solid;
    border-color: #272727;
    border-radius: 6px;
    touch-action: manipulation;
    outline: none !important;
    padding: 0;

}

.btn-stepper-number
{
    line-height: 2.5rem;
}

.btn-stepper
{
    color:#272727;
    width: 30%;
}

/* .btn-stepper-left
{
    border-radius: 6px 0px 0px 6px;

}


.btn-stepper-right
{
    border-radius: 0px 6px 6px 0px;

} */

.btn-stepper-number
{
    width: 30%;
    /* border-right: 0px;
    border-left: 0px; */
    text-align: center;
    vertical-align: middle;
    border-radius: 0px;
    border: 0px;
}

.stepper
{
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    text-align: center;
    vertical-align: middle;
}


/*View & Customize Order*/
.view-order-btn
{
    display: flex;
    justify-content: space-between;
    color:white;
    background-color: #272727;
    position: fixed;
    padding: 1rem;
    left: 50%;
    bottom: 0;
    height: 55px;
    width: 80%;
    margin-bottom: 140px;
    margin-left: -40%;
    z-index: 9999;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    
}



.view-order-btn-label
{
    text-align: left;

}

.view-order-btn-price
{
    text-align: right;
}

.cart-icon
{
    width: 1.5rem;
    margin-right: 1rem;
}

/* Checkout panel */

.checkout-item-name
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.checkout-item-left
{
    padding-right: 1rem;
}

.checkout-customize-textaera
{
    height: 7rem!important;
    outline: none !important;
}

.checkout-input
{
    width: 100%;
    height: 3rem;
    padding: 1rem;
    border: 2px solid #272727;
    box-sizing: border-box;
    border-radius: 6px;
}

.checkout-item-remove-link
{
    color: rgb(182, 0, 0);
    cursor: pointer;
}

.checkout-item-remove-link:hover
{
    color: rgb(182, 0, 0);
    cursor: pointer;
}

.btn-checkout
{
    padding: 0rem 1rem 0rem 1rem;
    width: fit-content;
}

.btn-checkout-primary
{
    background-color:  #272727;
    color: #fff;
}

.btn-checkout-primary:active
{
    background: #474747;
    color: white;
}

@media(hover: hover) and (pointer: fine) 
{

    .btn-checkout-primary:hover
    {
        background: #474747;
        color: white;
       
    }

    

}

.checkout-item-name-desc
{
    font-size: 0.9rem;
    margin-top: -0.5rem;
}

.checkout-item-middle
{
    justify-content: center;
}

.checkout-container
{
    height: 100%;
    /* border: black solid; */
    z-index: 999999;
    padding-bottom: 8rem;
}

#checkout-close-icon
{
    align-items: flex-start;
    margin-top: 1rem;
    float: left;
}

input.error 
{
    border-color: red;
    
  }

input:valid 
{
border-style: auto;
border-color: inherit;
}

input
{
    outline: none !important;
}

#container-menu
{
    margin-left: 1rem;
    margin-right: 1rem;
}

#checkout-container
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background:white;
    overflow-y: auto;
    max-height: calc(100vh - 6.5rem);

}

#checkout-container-info, #checkout-container-confirm
{
    display: none;
}

#order-form
{
    position: relative;
}

#checkout-closed-text
{
    color: rgb(182, 0, 0);
    display: none;
}

#checkout-closed-text p
{
    text-align: center;
}

.plain-text-menu
{
    width: 100%;
    text-align: center;
    padding-top: 3rem;
    color: black;
}

.plain-text-menu > a, .plain-text-menu > a:active
{
    color: black;
    font-weight: bold;
}

@media screen and (min-width: 768px) 
{
    #checkout-closed-text p
    {
        text-align: left;
    }

    .plain-text-menu
    {
        text-align: left;
    }

    .order-card-desc
    {
        display: block;
    }

    .order-card-img-right
    {
        border-radius: 6px 6px 0 0;
        max-width: 100%;
        width: 100% !important;
        height: 8rem;
    }

    .order-card-img-div
    {
        border-radius: 6px 6px 0 0;
        max-width: 100%;
        width: 100% !important;
        height: 8rem;
    }

    .order-card-info
    {
        max-width: 100%;
        width: 100% !important;

    }

    .order-card-btn-left
    {
        padding-left: 0;
        padding-right: 0.7rem;
    
    }

    .view-order-btn
    {

        left: 50%;
        width: 50%;
        margin-left: -25%;
        
    }

}

.loading-overlay
{
    display: flex;
    position: absolute;
    background: #ffffffc4;
    width: 100%;
    height: 100%;
    top: 0;
    margin: auto;
}

.spinner-loading
{
    position: absolute;
    top: 50%;
    
}

@media screen and (min-width: 1200px) 
{

    .view-order-btn
    {
        visibility: hidden;
    }

    .checkout-close
    {
        visibility: hidden;
    }
    
    #container-menu
    {
        width: 100% !important;
        margin: 0;
        
    }

    #order-items-container
    {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    #checkout-container
    {
        display:block !important;
        flex-grow: 1;
        align-self: start;
        position: sticky;
        top: 6.5rem;
        overflow-y: auto;
        max-height: calc(100vh - 6.5rem);
        box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
        border: none;
        background: white;
        border-radius: 6px;
    }
}

@media screen and (max-width: 1200px) 
{
    #checkout-container
    {
        min-width: 100%;
        max-height: 100vh;
        height: 100vh;
        z-index: 99999;
    }

    .checkout-title
    {
        padding-top: 2rem;   
    }
}