﻿.singlePaymentForm {
    background:#fff;
    max-width:400px;
    margin:40px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    position:relative;
}

    .singlePaymentForm .imgloader {
        border-radius:4px;
    }

.paymentformtitle {
    color: #71828A;
    margin: 0;
    padding: 20px 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    background: #EEF2F4;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.payment-form-contents {
    padding:30px;
}

.payment-form-icons {
    text-align:center;   
}

.singlePaymentForm .form-group {
    margin-top:15px
}

.singlePaymentForm .form-inline .labelgroup
{
    width:100%
}

.singlePaymentForm .form-inline .form-control,
.singlePaymentForm .form-inline .labelgroup .control-label
{
    width:50%;
    margin-bottom:5px;
}

.singlePaymentForm .form-inline .form-control:first-child
{
    border-right:none
}

.paymentformbtn {
    width: 100%;
    display: block;
    border-radius: 4px;
    padding: 0px 10px;
    font-weight: normal;
}

.hasError.help-block {
    font-size: 13px;
    color: #DB4F4F;
}

.card-image {
    background-repeat: no-repeat !important;
    padding-right: 50px !important;
    background-position: right 2px center !important;
    background-size: auto 90% !important;
}

.expiry-date-group {
    float: left;
    width: 50%;
}

.security-code-group {
    float: right;
    width: 50%;
}

.expiry-date-group input {
    width: calc(100% + 1px);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.security-code-group input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.visa {
    background: url(/public/frontend/payment/payment-icon/visa.png) #fff;
}

.mastercard {
    background: url(/public/frontend/payment/payment-icon/mastercard.png) #fff;
}

.discover {
    background: url(/public/frontend/payment/payment-icon/discover.png) #fff;
}

.amex {
    background: url(/public/frontend/payment/payment-icon/americanexpress.png) #fff;
}

.errorpayment {
    background: #FEF8F8;
    padding: 5px 10px;
}

.paymentformsuccess {
    padding: 40px 30px;
        text-align: center;
}

.paymenticonholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    background: #ff5b60;
    color: #FFF;
    margin-top: 100px;
    margin-bottom: 40px;
}

.paymenticonholder span{
    font-size: 46px;
    color: #FFF;
        margin-top: 28px;
   
}

.paymentsuccessamount {
    font-size: 36px;
    font-weight: 300;
}

.paymentsuccessmessage {
    margin-top:20px;
    font-size: 18px;
    margin-bottom: 100px;
}
#paymentmodal .modal-dialog{
    max-width: 550px !important;
}

.form-control{
    display: block;
    width: 100%;
    height: 34px !important;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-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;
    min-height:34px;
}

@media (max-width: 768px){
    .col-left-card{
        float: left;
        width: 50%;
    }
    .col-right-card{
        float: right;
        width: 50%;
    }
    .col-left-card .form-control{
        width: calc(100% + 1px);
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .col-right-card .form-control{
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .col-left-card .select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        height: 34px;
        user-select: none;
        -webkit-user-select: none;
        width: calc(100% + 1px);
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    #paymentmodal .modal-dialog{
        max-width: 500px !important;
    }
    
}
 @media (max-width: 575px){ 
        #paymentmodal .modal-dialog {max-width:100% !important;}
    }
    
@media (max-width: 575px){ 
    .expiry-date-group, .security-code-group, .col-left-card, .col-right-card {width:100%;}
}
