@import url("reset.css");

@media (min-width: 768px) {
    .credit-grid{
        display: grid;
        grid-template-columns: repeat(10, 1fr);
    }

    .creditcard-left{
        grid-column: span 7;
    }

    .creditcard-right{
        grid-column: span 3;
    }
    .order-info{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .money{
        grid-column: span 2;
    }
    .info{
        grid-column: span 3;
    }
    .creditcard-right{
        width:80%;
    }
    .banner{
        padding:0 60px 120px 60px;
    }

    .btn-submit{
        margin:0 ;
    }

}

html,body{
    background-color: #656565;
    font-family: 'Noto Sans TC', sans-serif;
}

.wrap{
    max-width:750px;
    margin:0 auto;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.3);
}

.logo{
    width:80px;
    display:block;
    margin:auto;
}

.header{
    display: grid;
    grid-template-columns: 100px auto;
    background-color: #000;
    padding:10px;
    border-radius: 4px 4px 0 0 ;
}
.title{
    display:flex;
    align-items:center;
    padding-left:10px;
}

h1{
    font-size:26px;
    color:#FFF;
    font-weight:200;
}

.order-info{
    background-color: #7e47bd;
    padding:30px;
}

.info{
    display:flex;
    align-items:center;
}

.order-info li{
    font-family: 'Noto Sans TC', sans-serif;
    color:#FFF;
    line-height: 32px;
    font-size:18px;
    font-weight:200;
    list-style:none;
}

.order-info span{
    color:#ffff00;
}

.money{
    display:block;
    background-color: rgba(0,0,0,0.3);
    width:200px;
    height:200px;
    border-radius:100px;
    margin:0 auto;
    margin-top:5px;
    margin-bottom:5px;
}

.money::before{
    display:block;
    content:'交易金額 (元)';
    color:#FFF;
    font-size:16px;
    font-weight:200;
    text-align: center;
    padding-top:65px;
}

.money::after{
    display:block;
    content:'999,999';
    color:#ffff00;
    font-size:36px;
    font-weight:500;
    text-align: center;
    margin-top:10px;
}

.credit-card{
    background-color: #fff;
    border-bottom:3px solid #e0e0e0;
    line-height:60px;
    text-align:center;
    font-weight:200;
}

.credit-card img{
    width:40px;
    padding-right:5px;
}



.btn-submit {
    width: 100%;
    font-size: 20px;
    padding: 10px 0;
    border-radius: 5px;
    background-color: #D0021B;
    color: #FFF;
    cursor: pointer;
    margin:10px 20px 40px 20px ;
}

.btn-submit:hover {
    background-color: #e9032b;
}

.credit-grid{
    margin:0 auto;
}

.creditcard-left{
    margin:0 auto;
}

.creditcard-right{
    display:flex;
    align-items:center;
}


.creditly-wrapper.blue-theme {
    min-height: 200px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    line-height: 1.428571429;
    color: #000;
    font-weight: 300;
}

.creditly-wrapper.blue-theme .credit-card-wrapper .controls {
    padding-left: 7px;
    padding-right: 7px;
}

.creditly-wrapper input.form-control.has-error {

    outline: none;
    border-color: #ff7076;
    border-top-color: #ff5c61;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0), 0 0 4px 0 rgba(255, 0, 0, 0.5);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0), 0 0 4px 0 rgba(255, 0, 0, 0.5);
    -ms-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0), 0 0 4px 0 rgba(255, 0, 0, 0.5);
    -o-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0), 0 0 4px 0 rgba(255, 0, 0, 0.5);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0), 0 0 4px 0 rgba(255, 0, 0, 0.5);
}

.creditly-wrapper .form-control {
    display: block;
    width: 90%;
    height: 34px;
    padding: 6px;
    font-size: 15px;
    /*裡面文字*/
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #ebebeb;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.creditly-wrapper .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.creditly-wrapper label {
    display: inline-block;
    margin-bottom: 5px;
    /* font-weight: bold; */
}

.creditly-wrapper input:focus::-webkit-input-placeholder {
    color: #ccc;
}

.creditly-wrapper input:focus:-moz-placeholder {
    color: #ccc;
}

.creditly-wrapper input:focus::-moz-placeholder {
    color: #ccc;
}

.creditly-wrapper input:focus:-ms-input-placeholder {
    color: #ccc;
}

.creditly-wrapper .col-sm-8 {
    width: 66.6666666666666%;
}

.creditly-wrapper .col-sm-4 {
    width: 33.3333333333333%;
}

.creditly-wrapper .col-sm-8,
.creditly-wrapper .col-sm-4 {
    float: left;
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.first-row, .second-row{
     padding:0 20px;
 }

.first-row{
     margin-bottom:20px;
 }

.controls{
     margin-bottom:20px;
 }

.creditly-wrapper .card-type {
    margin-top: 10px;
    float: right;
}

.banner{
    display:block;
    padding:10px 0;

}
