/* #cenShopInfoStep */
#cenShopInfoStep {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem {
    position: unset;
    display: inline-block;
    vertical-align: top;
    width: 300px;
    max-width: 20%;
    margin-left: -2px;
    margin-right: -2px;
    color: black;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem::before {
    content: unset;
    display: inline-block;
    vertical-align: top;
    width: 240px;
    max-width: 33%;
    margin-left: -2px;
    margin-right: -2px;
    color: black;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem:first-child:before {
    content: unset;
    width: 0px;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge::before {
    content: " ";
    background-color: #CCCCCC;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1px;
    z-index: 1;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge {
    position: relative;
    background-color: transparent;
    height: 50px;
    line-height: 50px;
    padding: 0;
    min-width: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
    display: block;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge::after {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    border-radius: 15px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: " ";
    background-color: #CCCCCC;
    height: 30px;
    width: 30px;
    left: 50%;
    top: 50%;
    position: absolute;
    z-index: 1;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem .StepItem1 .badge::after {
    background-color: #9DAAB2;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem:first-child .badge::before {
    left: 50%;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem:last-child .badge::before {
    left: auto;
    right: 50%;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge .text {
    display: block;
    padding: 0 5px;
    z-index: 20;
    position: relative;
}

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem .txt_ {
    display: block;
    width: 100%;
    z-index: 1;
}

/* .cenShopInfoStep */
.cenShopInfoStep {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem {
    position: unset;
    display: inline-block;
    vertical-align: top;
    width: 240px;
    max-width: 23%;
    margin-left: -2px;
    margin-right: -2px;
    color: black;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem::before {
    content: unset;
    display: inline-block;
    vertical-align: top;
    width: 240px;
    max-width: 33%;
    margin-left: -2px;
    margin-right: -2px;
    color: black;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem:first-child:before {
    content: unset;
    width: 0px;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge::before {
    content: " ";
    background-color: #CCCCCC;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1px;
    z-index: 1;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge {
    position: relative;
    background-color: transparent;
    height: 50px;
    line-height: 50px;
    padding: 0;
    min-width: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
    display: block;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge::after {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    border-radius: 15px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: " ";
    background-color: #CCCCCC;
    height: 30px;
    width: 30px;
    left: 50%;
    top: 50%;
    position: absolute;
    z-index: 1;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem .StepItem1 .badge::after {
    background-color: #9DAAB2;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem:first-child .badge::before {
    left: 50%;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem:last-child .badge::before {
    left: auto;
    right: 50%;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem .badge .text {
    display: block;
    padding: 0 5px;
    z-index: 20;
    position: relative;
}

.cenShopInfoStep #ShopInfoStep .StepTable .StepItem .txt_ {
    display: block;
    width: 100%;
    z-index: 1;
}

@media (max-width: 767px){

#cenShopInfoStep #ShopInfoStep .StepTable .StepItem {
    max-width: 25%;
}

}


/* Liam 補入新前台樣式 以避免搬移時遇到問題 */ 

.phpShopCart .divDock .meMsgInfo.mePrdListBlk .AjaxCell .PrdList .PrdCell {
    width: 100%;
    display: grid;
    grid-template-areas:
        "a b e"
        "a c d";
    align-items: center;
    margin-left: 0;
}

.phpShopCart .AjaxCell .PrdList .PrdCell .PrdImgURL {
    grid-area: a;
    min-width: 40px;
    max-width: 48px;
}

.phpShopCart .divDock .meMsgInfo.mePrdListBlk .AjaxCell .PrdList .PrdCell .PrdImgURL img {
    object-fit: contain;
}

.phpShopCart .divDock .meMsgInfo.mePrdListBlk .AjaxCell .PrdImgM {
    height: unset;
}

.phpShopCart .AjaxCell .PrdList .PrdCell .PrdContent {
    grid-area: b;
}

.phpShopCart .AjaxCell .PrdList .PrdCell .PrdContent .PrdTitle {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.phpShopCart .divDock .meMsgInfo.mePrdListBlk .AjaxCell .PrdList .PrdCell .PrdPrice {
    grid-area: c;
    color: #E92C2C;
    font-size: 14px;
    white-space: break-spaces;
}

.phpShopCart .AjaxCell .PrdList .PrdCell .PrdCtrl {
    grid-area: d;
    min-width: 86px;
}

.phpShopCart .divDock .meMsgInfo.mePrdListBlk .AjaxCell .PrdList .PrdCell .PrdBtn .btnBuy {
    position: unset;
}

.phpShopCart .divDock .meMsgInfo.mePrdListBlk .AjaxCell .PrdList .PrdCell .PrdBtn {
    position: unset;
    transform: unset;
    display: block;
}

.phpShopCart #ShopCartMemo ul {
    padding-left: 20px;
}

/* Liam 補入新前台樣式 END */ 
/* syrena 調整 shopPay 跑版 */
body .phpShopCart #ns_Main, .phpShopOrder #ns_Main, .phpShopPay #ns_Main, .phpShopFinish #ns_Main{
  padding:0;
}
body #ErrMsg{
  max-width: 90%;
}
