﻿/*購物車 Step */

#M_Base2 .Order .Order-Step .col {
    display: flex;
    justify-content: space-between;
    height: 100px;
    background-color: #F5F5F5;
    border-radius: 4px 4px 0 0;
}

#M_Base2 .Order .Order-Step .Order-Step-List {
    /*width: 25%;*/
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#M_Base2 .Order .Order-Step .Order-Step-Icon {
    position: relative;
    width: 100%;
    height: 25px;
    margin-bottom: 8px;
}

#M_Base2 .Order .Order-Step .Order-Step-List-Ball {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: white;
    background-color: #E1E1E1;
    text-align: center;
}

    #M_Base2 .Order .Order-Step .Order-Step-List-Ball.Active {
        background-color: #F18E0F;
    }

#M_Base2 .Order .Order-Step .Order-Step-List-Line {
    position: absolute;
    z-index: 10;
    top: 12px;
    width: 100%;
    height: 2px;
    background-color: #E1E1E1;
}

/* 購物車 Footer */

#M_Base2 .Order .Order-Footer {
    padding: 24px 16px;
}

    #M_Base2 .Order .Order-Footer .FooterBtn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
        background-color: #323232;
        color: white;
        border-radius: 8px;
    }


#M_Base2 .Order .Section-3 a {
    display: flex;
}

#M_Base2 .Order .Section-Item {
    padding: 0 16px;
}

@media (min-width: 992px) {
    #M_Base2 .Order .Section-Item {
        position: relative;
        padding: 0 24px;
    }
}

#M_Base2 .Order .Section-4 .Section-Item, #M_Base2 .Order .Section-6 .Section-Item {
    display: flex;
    justify-content: space-between;
}

    #M_Base2 .Order .Section-6 .Section-Item:nth-child(odd) {
        background-color: #F5F5F5;
    }


    #M_Base2 .Order .Section-5 .Section-Item p, #M_Base2 .Order .Section-6 .Section-Item p {
        padding-right: 50px;
    }

#M_Base2 .Order .Section-5 {
    position: relative;
}


#M_Base2 .Order .Section-Item h5, #M_Base2 .Order .Section-Item h6 {
    padding: 8px 0 4px 0;
    margin: 0;
}

#M_Base2 .Order .Section-Item p {
    padding: 4px 0;
    margin: 0;
}

#M_Base2 .Order .Section-Item a.d-block {
    color: #323232;
    padding: 16px 0;
    margin: -16px 0;
}

#M_Base2 .Order .position-absolute {
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}


#M_Base2 .Order .Section-Item .Section-Item-Btn {
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 176px;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    height: 50px;
    border-radius: 25px;
    font-size: 18px;
    color: #fff;
    background-color: #F18E0F;
}


/* OrderList 訂單列表 */

/*#M_Base2 .OrderList .SelectContent-Name {
    display: none;
}*/


#M_Base2 .OrderList .SelectContent {
    padding-top: 16px;
    margin-bottom: 16px;
}

#M_Base2 .OrderList .SelectContent-Name {
    font-size: 18px;
    font-weight: 500;
}

/*#M_Base2 .OrderList .OrderList-Test {
    display: block;
    width: 360px;
    height: 270px;
    margin: 0 auto 12px auto;
    border-radius: 4px;
    background-color: #F18E0F;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.1);
}

#M_Base2 .OrderList-Test .OrderList-Test-Title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 16px;
    border-radius: 4px 4px 0 0;
    color: white;
}*/

#M_Base2 .OrderList-Card .OrderList-Card-Link {
    display: inline-block;
    width: 100%;
}

#M_Base2 .OrderList-Card .Delete {
    position: absolute;
    text-align: center;
    width: 24px;
    top: 8px;
    right: 8px;
}

#M_Base2 .Order .OrderList-Card, #M_Base2 .OrderList-Card {
    position: relative;
    width: 100%;
/*    height: 270px;*/
    margin: 0 auto 12px auto;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.1);
}

@media (min-width: 996px) {

    #M_Base2 .OrderList-Card {
        width: calc(50% - 10px);
        float: left;
        margin: 0 5px 12px 5px;
    }
}

@media (min-width: 1200px) {
    #M_Base2 .OrderList-Card {
        width: 360px;
    }

        #M_Base2 .OrderList-Card .OrderList-Card-Link {
            width: 360px;
        }
}



#M_Base2 .OrderList-Card .OrderList-Card-Title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 40px 0 16px;
    border-radius: 4px 4px 0 0;
    color: white;
}

#M_Base2 .OrderList-Card .TitleBg1 {
    background-color: #F1C40F;
}

#M_Base2 .OrderList-Card .TitleBg2 {
    background-color: #3498DB;
}

#M_Base2 .OrderList-Card .TitleBg3 {
    background-color: #1ABC9C;
}

#M_Base2 .OrderList-Card .TitleBg4 {
    background-color: #969696;
}

#M_Base2 .OrderList-Card .TitleBg5 {
    background-color: #ff6482;
}

#M_Base2 .OrderList-Card .OrderList-Card-Title-Time span + span {
    margin-left: 8px;
}

#M_Base2 .OrderList-Card .OrderList-Card-Title-Time .fa-times {
    margin-left: 16px;
}

#M_Base2 .OrderList-Card .OrderList-Card-Title span {
}

#M_Base2 .OrderList-Card .OrderList-Card-Main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
/*    height: 180px;*/
    padding: 0 16px;
}

#M_Base2 .OrderList-Card .OrderList-Card-Footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    border-radius: 0 0 4px 4px;
    padding: 0 16px;
}


/*Oder3_付款方式_Pay*/
#M_Base2 .Pay {
    background-image: url('/Ordering/Visitor/_Image/M_Order/PayBlock.svg');
    width: 16px;
    height: 16px;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block;
}

#M_Base2 .btn-outline-orange:hover .Pay {
    background-image: url('/Ordering/Visitor/_Image/M_Order/PayWhite.svg');
}

#M_Base2 .btn-outline-orange.Selected .Pay {
    background-image: url('/Ordering/Visitor/_Image/M_Order/PayWhite.svg');
}

#M_Base2 .OrderStep2 .Delete {
    padding: 30px;
}
/*FancyBox*/
.fancybox-slide--iframe .fancybox-content {
    max-width: 600px;
    width: 600px;
}
