#mol_pm_payment_form {
    margin-bottom: 20px;
}

#mol_pm_payment_form form {
    text-align: center;
    margin: 50px 0;
}

.mol_pm_payment_formline {
    width: 100%;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mol_pm_payment_formline label {
    width: 36.75%;
    margin:0;
    padding: 0;
    display: inline-block;
    border-right: solid 10px transparent;
}

.mol_pm_payment_formline label {
    text-align: right;
}

.mol_pm_payment_formline input {
    width: 20.5%;
}

.mol_pm_payment_formline span {
    padding: 0;
    width: 36.75%;
    display: inline-block;
    text-align: left;
    border-left: solid 10px transparent;
}

.mol_pm_payment_formline input[type=text],
.mol_pm_payment_formline input[type=text] {
    border: solid 1px #027dca;
    padding: 7px 1%;
    font-size: 16px;
    margin: 10px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.mol_payment_caption {
    text-align: center;
    font-size: 26px;
    line-height: 32px;
    font-weight: bold;
}

.mol_payment_sub_caption {
    text-align: center;
    color: #999999;
    font-size: 15px;
    line-height: 20px;
}

.error.error-mol-pmPayment-price,
.error.error-mol-pmPayment-form,
.error.error-mol-pmPayment-name,
.error.error-mol-pmPayment-city,
.error.error-mol-pmPayment-street,
.error.error-mol-pmPayment-email{
    clear: both;
    display: block;
    width: 99%;
    text-align: center;
    color: red;
    font-size: 12px;
    line-height: 15px;
    padding: 5px 0;
    margin: 0;
    border: none;
}

#mol_pm_payment_form input[type="submit"] {
    background: #017cca;
    color: #fff;
    border: solid 1px #017cca;
    padding: 10px 0;
    margin: 50px 0 20px 0;
    text-align: center;
    width: 22.5%;
    font-size: 100%;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#mol_pm_payment_form input[type="submit"]:hover {
    opacity: 0.6;
}
#mol-pmPayment-address-fields {
    margin: 50px 0 0 0;
}

#mol-pmPayment-address-fields .mol_payment_sub_caption {
    margin: 0 0 50px 0;
}

.mol_payment_success {
    margin: 50px 0;
    text-align: center;
    font-size: 50px;
    color: green;
}

.mol_payment_error {
    margin: 50px 0;
    text-align: center;
    font-size: 50px;
    color: red;
}


@media only screen and (max-width: 1300px) and (min-width: 767px) {
    #mol_pm_payment_form input[type="submit"] {
        width: 32.5%
    }

    .mol_pm_payment_formline input {
        width: 30.5%;
    }

    .mol_pm_payment_formline label {
        width: 31%;
    }

    .mol_pm_payment_formline span {
        width: 31%;
    }
}

@media only screen and (max-width: 767px) {
    #mol_pm_payment_form input[type="submit"] {
        width: 99%
    }

    .mol_pm_payment_formline input {
        width: 99%;
    }

    .mol_pm_payment_formline label {
        width: 99%;
        text-align: left;
        border: none;
    }

    .mol_pm_payment_formline span {
        width: 99%;
        border: none;
    }

    .mol_pm_payment_formline {
        margin-bottom: 20px;
    }
}
