﻿.shop-pay-box{
    width: 100%;
    position: relative;
    display: block;
    min-height: calc(100vh - 84px);
}
.shop-pay-all-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 70px 0;
}
.shop-pay-process-box{
    width: 200px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    box-sizing: border-box;
    padding-left: 28px;
}
.shop-pay-process-title{
    font-size: 16px;
    font-weight: bold;
    color: #000;
    position: relative;
    letter-spacing: 1px;
    margin-bottom: 60px;
}
.shop-pay-process-title:after{
    content: '\f13a';
    color: #000;
    display: block;
    font-size: 20px;
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: -30px;
    top: calc(50% - 15px);
    border-radius: 50%;
    z-index: 2;
}
.shop-pay-process-name{
    font-size: 14px;
    display: block;
    font-weight: bold;
    color: #555;
    position: relative;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transition: all .3s linear;
}
.shop-pay-process-name.active{
    color: #162148;
}
.shop-pay-process-name a{
    position: relative;
    transition: all .3s linear; 
}
.shop-pay-process-name a:after{
    content: '';
    width: 15px;
    height: 15px;
    background-color: #555;
    display: block;
    position: absolute;
    left: -28px;
    top: calc(50% - 7px);
    border-radius: 50%;
    z-index: 2;
    transition: all .3s linear; 
}
.shop-pay-process-line{
    width: 1px;
    height: calc(100% - 49px);
    position: absolute;
    top: 22px;
    left: 7px;
    background-color: #000;
    z-index: 1
}
.shop-pay-info-box{
    width: calc(100% - 200px);
    display: inline-block;
    vertical-align: top;
}
.shop-pay-info{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 20px 30px;
    background-color: #fff;
    margin-bottom: 15px;
}
.shop-pay-info-invoice-box{
    display: none;
}
.shop-pay-info:first-child .shop-pay-info-title-box{
    padding-bottom: 10px;
}
.shop-pay-info-title-box{
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    padding-bottom: 15px;
}
.shop-pay-info-title{
    font-size: 14px;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: middle;
}
.shop-pay-info-title-login{
    width: 50px;
    display: inline-block;
    vertical-align: middle;
}
.shop-pay-info-title-login{
    width: 70px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    float: right;
    background-color: #eee;
    font-size: 14px;
    letter-spacing: 1px;
    color: #888;
    border: 1px solid #ddd;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s linear;
}
.shop-pay-info-title-no{
    width: 70px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    float: right;
    background-color: #eee;
    font-size: 14px;
    letter-spacing: 1px;
    color: #888;
    border: 1px solid #ddd;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s linear;
}
.shop-pay-info-product-box{
    box-sizing: border-box;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
}
.shop-pay-info-product-img{
    width: 80px;
    height: 80px;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: 20px;
}
.shop-pay-info-product{
    width: 70%;
    display: inline-block;
    vertical-align: middle;
}
.shop-pay-info-product-text-title,
.shop-pay-info-product-text{
    font-size: 14px;
    font-weight: lighter;
    color: #555;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 1px;
}
.shop-pay-info-product-text-box:first-child .shop-pay-info-product-text-title,
.shop-pay-info-product-text-box:first-child .shop-pay-info-product-text{
    font-weight: inherit;
    color: #000;
}
.gold{
    color: #ae8c4f;
}
.shop-pay-info-product-price{
    width: calc(30% - 100px);
    font-size: 16px;
    font-family: "Roboto";
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 1px;
    color: #ae8c4f;
    text-align: right;
}
.shop-pay-info-product-del{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    color: #888;
    font-weight: lighter;
    font-family: "Roboto";
    cursor: pointer;
    transition: all .3s linear;
}
.shop-pay-info-price-box{
    text-align: right;
    margin-top: 25px;
}
.shop-pay-info-price-name{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    color: #162148;
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: 10px;
}
.shop-pay-info-price{
    display: inline-block;
    vertical-align: middle;
    font-size: 24px;
    font-family: "Roboto";
    letter-spacing: 1px;
    font-weight: 600;
    color: #ae8c4f;
}
.shop-pay-form-list{
    box-sizing: border-box;
    padding: 5px 5px;
    border-bottom: 1px solid #ddd;
}
.shop-pay-radio-lable{
    display: block; 
    margin-bottom: 15px;
}
.shop-pay-radio-lable:last-child{
    margin-bottom: 0;
}
.shop-pay-radio-lable input{
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.shop-pay-radio-lable span{
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    padding-left: 25px;
    font-size: 14px;
    color: #888;
}

.shop-pay-radio-lable span:before{
    content: 'none';
    font-size: 0;
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    left: 0;
    top: 4px;
    vertical-align: middle;
    box-sizing: border-box;
    border: 2px solid #aaa;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
}
.shop-pay-radio-lable input:checked + span{
    color: #162148;
}
.shop-pay-radio-lable input:checked + span:before{
    background-color: #162148;
    border-color: #162148;
}
.shop-pay-info-invoice{
    margin-top: 20px;
}
.shop-pay-info-invoice-input-name{
    font-size: 14px;
    color: #162148;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.shop-pay-info-invoice-input-box{
    margin-right: 20px;
    display: inline-block;
    vertical-align: bottom;
}
.shop-pay-info-invoice-input{
    border: 1px solid #ddd;
    height: 36px;
    width: 200px;
    background-color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    padding: 0 10px;
    color: #888;
    letter-spacing: 1px;
}
.adress-input{
    width: 420px;
}
.shop-pay-info-invoice-btn{
    width: 120px;
    line-height: 36px;
    display: inline-block;
    vertical-align: bottom;
    background-color: #162148;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    font-weight: lighter;
    margin-right: 10px;
    cursor: pointer;
    transition: all .3s linear;
}
.shop-pay-info-invoice-ok-box{
    margin-top: 20px;
}
.shop-pay-info-invoice-ok{
    display: block;
    color: #888;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.shop-pay-info-contact-box{
    width: 100%;
    margin-bottom: 15px;
}
.shop-pay-contact-member,
.shop-pay-contact-get{
    width: calc(50% - 7.5px);
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
    box-sizing: border-box;
    padding: 20px 30px;
    background-color: #fff;
}
.shop-pay-contact-get{
    margin-right: 0;
}
.shop-pay-info-contact{
    margin-top: 20px;
}
.shop-pay-info-contact-text{
    font-size: 14px;
    color: #162148;
    letter-spacing: 1px;
}
.shop-pay-info-contact-input-box{
    width: 100%;
    display: block;
    margin-top: 20px;
}
.shop-pay-info-contact-input-name{
    font-size: 14px;
    color: #162148;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.shop-pay-info-contact-input-name span{
    color: #d0011b;
}
.shop-pay-info-contact-input{
    border: 1px solid #ddd;
    height: 36px;
    width: 100%;
    background-color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    padding: 0 10px;
    color: #888;
    letter-spacing: 1px;
}
.shop-pay-info-contact-input-name span.contact-remind{
    font-size: 12px;
    color: #888;
    vertical-align: middle;
}
.shop-pay-info-contact-twzipcode{
    margin-top: 5px;
    margin-bottom: 10px;
}
.shop-pay-info-contact-twzipcode select,
.shop-pay-info-contact-twzipcode input{
    width: calc(33.33% - 10px);
    display: inline-block;
    vertical-align: middle;
    height: 36px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    padding: 0 5px;
    font-size: 14px;
    color: #888;
}
.shop-pay-info-contact-twzipcode select:nth-child(2){
    margin: 0 15px;
}
.shop-pay-info-contact-get-text{
    display: inline-block;
    cursor: pointer;
}
.shop-pay-info-contact-get-text input{
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.shop-pay-info-contact-get-text span{
    font-size: 14px;
    color: #162148;
    letter-spacing: 1px;
    position: relative;
    padding-left: 20px;
    display: block;
}
.shop-pay-info-contact-get-text span:before{
    content: 'none';
    font-size: 0;
    width: 13px;
    height: 13px;
    display: block;
    position: absolute;
    left: 0;
    top: 4px;
    vertical-align: middle;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
}
.shop-pay-info-contact-get-text input:checked + span:before{
    background-image: url(../img/front/checked.png);
    background-size: 70%;
}
.shop-pay-info-contact-input-radio-list .shop-pay-radio-lable{
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 0;
    line-height: 32px;
}
.shop-pay-info-contact-input-radio-list .shop-pay-radio-lable span:before{
    top: 9px;
}
.shop-pay-info-contact-textarea{
    border: 1px solid #ddd;
    height: 118px;
    width: 100%;
    background-color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    padding: 5px 10px;
    color: #888;
    letter-spacing: 1px;
    resize: none;
    outline: none;
}
.shop-pay-info-button{
    font-size: 20px;
    color: #fff;
    width: 100%;
    background-color: #162148;
    text-align: center;
    line-height: 60px;
    letter-spacing: 1px;
    border: none;
    outline: none;
    transition: all .3s linear;
    cursor: pointer;
}

.shop-pay-info-contact-twzipcode input::-webkit-input-placeholder{
    font-family: "微軟正黑體";
    color: #888;
    font-weight: lighter;
}
.shop-pay-info-contact-twzipcode input:-moz-placeholder{
    font-family: "微軟正黑體";
    color: #888;
    font-weight: lighter;
}
.shop-pay-info-contact-twzipcode input::-moz-placeholder{
    font-family: "微軟正黑體";
    color: #888;
    font-weight: lighter;
}
#shop-pay .member-login-info-box{
    width: 500px;
    margin: 0 auto;
}

/*------------hover-----------*/
.shop-pay-info-invoice-btn:hover,
.shop-pay-info-button:hover{
    background-color: #ae8c4f;
}
.shop-pay-info-title-no:hover,
.shop-pay-info-title-login:hover{
    background-color: #162148;
    color: #fff;
}
.shop-pay-info-product-del:hover{
    color: #d0011b;
}
.shop-pay-process-name a:hover,
.shop-pay-process-name a.active{
    color: #ae8c4f;
}
.shop-pay-process-name a:hover:after{
    background-color: #ae8c4f;
}


@media only screen and (max-width: 1200px){
    .shop-pay-all-box{
        width: 1000px;
    }
    .shop-pay-info-contact-text{
        font-size: 12px;
    }
}
@media only screen and (max-width: 1000px){
    .shop-pay-all-box{
        width: 750px;
    }
    #shop-pay .shop-pay-process-box{
        display: none;
    }
    .shop-pay-info-box{
        width: 100%;
    }
    .shop-pay-info-invoice:nth-child(2) .shop-pay-info-invoice-input-box{
        width: 420px;
        display: block;
        margin-bottom: 20px;
    }
    .shop-pay-contact-member, .shop-pay-contact-get{
        width: 100%;
        margin-right: 0;
    }
    .shop-pay-contact-get{
        margin-top: 15px;
    }
}
@media only screen and (max-width: 750px){
    .shop-pay-all-box{
        width: 550px;
    }
    .shop-pay-info-product-img{
        display: none;
    }
    .shop-pay-info-product-price{
        width: 30%;
    }
}
@media only screen and (max-width: 550px){
    .shop-pay-all-box{
        width: 400px;
    }
    .shop-pay-info,
    .shop-pay-contact-member, 
    .shop-pay-contact-get{
        padding: 10px 20px;
    }
    .shop-pay-info-price-name{
        font-size: 14px;
    }
    .shop-pay-info-price{
        font-size: 20px;
    }
    .shop-pay-info-invoice:nth-child(2) .shop-pay-info-invoice-input-box{
        width: 100%;
    }
    .adress-input{
        width: 100%;
    }
    .shop-pay-info-contact-input-box{
        margin-top: 10px;
    }
    .shop-pay-info-button{
        line-height: 50px;
        font-size: 18px;
    }
    #shop-pay .member-login-info-box{
        width: 300px;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 400px){
    .shop-pay-all-box{
        width: 300px;
    }
    .shop-pay-info-price-name{
        font-size: 12px;
    }
    .shop-pay-info-price{
        font-size: 18px;
    }
    .shop-pay-info-button{
        line-height: 40px;
        font-size: 16px;
    }
}


/*animation*/
@keyframes shop-pay_path_line {
    0%{
        height: 0;
    }
    to {
        height: calc(100% - 49px);
    }
}
@media only screen and (min-width: 1001px){
    .shop-pay-process-title,
    .shop-pay-info,
    .shop-pay-info-button,
    .shop-pay-info-contact-box{
        opacity: 0;
    }
    .shop-pay-process-title.active{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .shop-pay-process-line{
        animation: shop-pay_path_line 1s ease 0s 1 both;
    }
    .shop-pay-process-name,
    .shop-pay-info-button.active{
        animation: fadeInUp 1s ease 0s 1 both;
        z-index: 2;
    }
    .shop-pay-info.active,
    .shop-pay-info-contact-box.active{
        animation: fade 1s ease 0s 1 both;
    }
}
