﻿body {
    font-family: "Open Sans", sans-serif;
    padding-top: 100px;
    padding-bottom: 20px;
}

body.no-nav {
    padding-top: 30px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    /* padding-left: 15px; */
    /* padding-right: 15px; */
    /* padding-top: 50px; */
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Not Found page styles
*/
.not-found-page {
    min-height: 600px;
}

/* Registration Expired page styles
*/
.registration-expired-page {
    min-height: 600px;
}

/* P21 Dunning home page styles
*/
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    padding-top: 5px;
}

@media (min-width: 768px) {
    .navbar-nav {
        float: right;
        font-size: 1.2em;
        padding-top: 15px;
    }
}

.nav > li > a {
    text-decoration: none;
    color: #888;
}

    .nav > li > a:hover, .nav > li > a:focus {
        text-decoration: none;
        color: #00B386;
        background-color: #fff;
    }

.navbar-header .logo-image {
    height: 80px;
    margin-left: -20px;
}

.navbar-toggle {
    font-size: 32px;
}

.home-content {
    color: #333;
    padding-right: 80px;
}

@media (max-width: 991px) {
    .home-content {
        padding-bottom: 30px;
    }
}

.home-content h1 {
    font-size: 43px;
    line-height: 56px;
    margin-bottom: 30px;
    margin-top: 0;
}

.home-content p {
    font-size: 20px;
    line-height: 32px;
}

.home-main-image {
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 0px 8px #ccc;
    transform: scale(1);
    transition: all 0.2s;
}

    .home-main-image:hover {
        cursor: pointer;
        border: 1px solid #aaa;
        box-shadow: 0px 0px 8px #ccc;
        transform: scale(1.02);
    }

    .home-main-image img {
        margin: auto;
        width: 90%;
        display: block;
        padding-top: 30px;
        padding-bottom: 30px;
    }

.modal-full {
    width: auto;
    max-width: 1080px;
}

.modal-header {
    background-color: #eee;
    border-radius: 5px 5px 0 0;
}

.modal-body {
    overflow-x: scroll;
}

.modal-footer {
    background-color: #eee;
    border-radius: 0 0 5px 5px;
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.section-title {
    font-size: 40px;
}

.section-subtitle, .section-body {
    font-size: 18px;
}

.section-subtitle {
    width: 70%;
    margin: auto;
}

.section-body {
    padding-top: 50px;
}

.home-two {
    min-height: 600px;
    background-color: #00b386; /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, #00b386, #006d4c);
    color: #fff;
    text-align: center;
}

.card-container {
    margin-top: 50px;
}

.card-thing {
    text-align: left;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    padding: 15px;
    margin-bottom: 15px;
}

    .card-thing h3 {
        margin: 0 0 10px 0;
    }

    .card-thing ul {
        line-height: 30px;
    }

.home-three {
    min-height: 500px;
    text-align: center;
}

.well-container {
    margin-top: 50px;
    color: #333;
    text-align: left;
}

.well {
    min-height: 230px;
    padding-top: 10px;
}

    .well .well-heading {
        font-style: italic;
        font-size: 32px;
        margin-left: 10px;
    }

    .well p {
        margin-top: 20px;
        font-size: 16px;
    }

    .well .glyphicon {
        font-size: 25px;
    }

.home-four {
    padding-top: 0;
    min-height: 600px;
}

    .home-four .section-title {
        margin-bottom: 30px;
    }

    .home-four .section-subtitle {
        width: 100%;
        margin: 0;
        font-size: 18px;
        margin-bottom: 10px;
    }

.home-blank {
    min-height: 200px;
}

@media (max-width: 1110px) {
    .modal-dialog {
        margin: 30px 15px;
    }
}

footer {
    background-color: #006d4c;
    color: #fff;
}

footer.no-nav {
    background-color: #fff;
    color: #333;
}

footer .container {
    padding: 15px 15px 50px 15px
}

footer .container p {
    margin: 0;
}

footer .footer-links {
    float: right;
}
footer  .footer-links ul {
    list-style-type: none;
}
footer .footer-links li {
    display: inline;
}
footer .footer-links a {
    color: #fff;
}

/* end P21 Dunning home page styles */


/* pdf spinner page styles */
.loading-page {
    padding-bottom: 300px;
}

.loading-message-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -100px;
    margin-top: 100px;
}

.loading-message-wrapper .spinner-image {
    width: 300px;
}

.loading-message-wrapper h2 {
    margin-left: -100px;
}

.error-wrapper {
    width: 60%;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.error-wrapper h3 {
    margin-top: 0;
}

.error-wrapper a {
    margin-top: 50px
}

/* Verify Customer Information page styles*/
.customer-info-instructions {
    padding-top: 50px;
}
.customer-info-instructions .info-issues-note {
    font-size: 13px;
    font-weight: bold;
}
.verify-customer-info-page {
    margin-bottom: 30px;
}
.verify-customer-info-page .validation-summary-errors {
    margin-top: 15px;
    color: red;
    background-color: #ffeeee;
    border: 1px solid red;
    border-radius: 5px;
    padding: 15px 10px 10px 10px;
    width: 80%
}
.verify-customer-info-page .field-validation-error {
    color: red;
}
.verify-customer-info-page .input-validation-error {
    border: 1px solid red;
}
.verify-customer-info-page input.valid {
    border: 1px solid #28a745;
    background-color: #eafaee;
}
.verify-customer-info-page .popover {
    max-width: 500px;
}
.customer-info-inputs {
    margin-top: 20px;
}
.customer-info-inputs h2 {
    margin-bottom: 15px;
}
.customer-info-inputs input[readonly],
.customer-info-inputs select[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}
.customer-info-inputs select[disabled] {
    background-color: #f5f5f5;
}
.account-inputs .account-passwords-wrapper {
    position: relative;
}
.account-inputs .account-passwords-wrapper #toggleShowPasswords {
    width: 65px;
    position: absolute;
    top: 12px;
    right: 26%;
    display: flex;
    justify-content: flex-start;
    text-decoration: none;
}
.account-inputs .account-passwords-wrapper #toggleShowPasswords .glyphicon {
    margin-top: 1px;
    margin-right: 5px;
}
.account-inputs .account-passwords-wrapper #toggleShowPasswords .show-password-text {
    font-weight: bold;
}
.account-inputs input {
    margin-top: 10px;
}
.account-inputs .password-validation {
    white-space: nowrap;
    padding-top: 15px;
}

/* P21 Integration Config and Payment page styles*/
#p21-config-and-payment-page {
    margin-bottom: 50px;
}
#p21-config-and-payment-page h2.page-heading {
    margin-bottom: 30px
}
.p21-info-row {
    min-height: 250px;
}
.p21-info-row h3 {
    margin-bottom: 30px;
}
.p21-info-row input[readonly] {
    cursor: not-allowed;
}
.payment-row {
    min-height: 200px;
}
.payment-row h3 {
    margin-top: 50px;
    margin-bottom: 20px;
}
.payment-row hr {
    margin-bottom: 30px;
}
#p21-config-and-payment-page .payment-row .paypal-buttons {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.agreement-checkbox-form-group {
    margin-top: 10px;
    margin-bottom: 10px;
}
.agreement-checkbox-form-group label {
    margin-left: 5px;
}
#p21-config-and-payment-page .validation-summary-errors {
    color: red;
}
.terms-and-conditions-row {
    margin-top: 30px;
}


/* P21 Pay Invoice page styles*/

.pay-invoice-page .inputError {
    color: red;
}

.pay-invoice-page .inputError input {
    border: 1px solid red;
}

.pay-invoice-page .allRequiredCCInputsGood input,
.pay-invoice-page .allRequiredBankInputsGood input,
.pay-invoice-page .allRequiredBankInputsGood select {
    background-color: rgba(0, 110, 77, 0.1);
}

.pay-invoice-page img.client-logo {
    max-width: 300px;
    height: auto;
}

.pay-invoice-page header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 30px;
}

.pay-invoice-page section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pay-invoice-page .section-heading {
    margin-bottom: 0;
    font-weight: 500;
}

.pay-invoice-page .payment-selections,
.pay-invoice-page .apply-payment {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
}

.pay-invoice-page .savedPaymentMethods {
    padding: 15px;
    overflow-y: scroll;
}

.pay-invoice-page .selected-row {
    background-color: rgba(0,110,77,0.1)
}

.pay-invoice-page .edit-payment,
.pay-invoice-page .delete-payment {
    cursor: pointer;
    margin-left: 10px;
}

.pay-invoice-page .edit-payment:hover,
.pay-invoice-page .delete-payment:hover {
    text-decoration: underline;
    color: #00b185;
}

.pay-invoice-page .new-payment-method-heading {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.pay-invoice-page .savedPaymentMethods .editPayment,
.pay-invoice-page .savedPaymentMethods .deletePayment {
    cursor: pointer;
}

.pay-invoice-page button#other-payment-method {
    margin: 0 0 15px 15px;
}

.pay-invoice-page .newPaymentMethod {
    padding: 15px;
}

.pay-invoice-page .newPaymentMethod input[type="text"],
.pay-invoice-page .customer-information input[type="text"],
.pay-invoice-page .customer-information input[type="email"] {
    width: 100%;
    max-width: none;
}

.pay-invoice-page .newPaymentMethod .new-payment-method-tabs-wrapper {
    display: flex;
    justify-content: space-between;

}

.pay-invoice-page .newPaymentMethod .new-cc-billing-addr-wrapper,
.pay-invoice-page .newPaymentMethod .new-ach-billing-addr-wrapper {
    display: flex;
    justify-content: space-between;
}

.pay-invoice-page .newPaymentMethod .new-cc-billing-addr-heading,
.pay-invoice-page .newPaymentMethod .new-cc-details-heading,
.pay-invoice-page .newPaymentMethod .new-ach-billing-addr-heading,
.pay-invoice-page .newPaymentMethod .new-ach-details-heading {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

.pay-invoice-page .newPaymentMethod .new-cc-billing-addr-wrapper + hr,
.pay-invoice-page .newPaymentMethod .new-cc-details-heading + hr,
.pay-invoice-page .newPaymentMethod .new-ach-billing-addr-wrapper + hr,
.pay-invoice-page .newPaymentMethod .new-ach-details-heading + hr {
    margin: 5px 0 20px 0;
}

.pay-invoice-page .newPaymentMethod .newCreditCardForm label,
.pay-invoice-page .newPaymentMethod .newBankForm label {
    font-weight: 500;
}

.pay-invoice-page .newPaymentMethod .new-cc-use-customer-info input[type='checkbox'] {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    margin-right: 5px;
}

.pay-invoice-page .newPaymentMethod .useCustomerInfoBillingAddress {
    display: none;
    font-size: 16px;
}

.pay-invoice-page .newPaymentMethod .save-payment-wrapper input[type='checkbox'] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.pay-invoice-page .newPaymentMethod .save-payment-wrapper {
    margin-top: 90px;
}

.pay-invoice-page .newPaymentMethod .save-payment-label {
    font-size: 18px;
    font-weight: normal;
}

.pay-invoice-page .newPaymentMethod .save-payment-label > * {
    vertical-align: text-bottom;
    margin: 0;
}

.pay-invoice-page .nav-tabs {
    border-bottom: none;
}

.pay-invoice-page .nav-tabs > li {
    cursor: pointer;
}

.pay-invoice-page .nav-tabs > li.active {
    border-bottom: 1px solid #f9f9f9;
}

.pay-invoice-page .nav-tabs > li.active a {
    background-color: rgba(0,110,77,0.1)
}

.pay-invoice-page .newPaymentMethod .newCreditCardForm,
.pay-invoice-page .newPaymentMethod .newBankForm {
    border: 1px solid #ccc;
    border-radius: 0px 8px 8px 8px;
    padding: 15px;
}

.pay-invoice-page .newPaymentMethod .save-card-row,
.pay-invoice-page .newPaymentMethod .save-bank-row {
    margin-top: 15px;
}

.pay-invoice-page .newBankForm .accountTypeOptionList label {
    margin-right: 20px;
}

a.payments-security-info {
    cursor: pointer;
    text-decoration: none;
}

.pay-invoice-page button#cancel-other-payment-method {
    margin-top: 15px;
}

.customer-information {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
}

.summary-outstanding-invoices {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 20px;
    padding: 15px;
    height: 120px;
}

.summary-outstanding-invoices table {
    width: 100%;
    margin-bottom: 15px;
}

.summary-outstanding-invoices table th,
.summary-outstanding-invoices table td {
    text-align: center;
    width: 16.66%;
}

.summary-outstanding-invoices table th.days-past-due-header {
    width: 66.66%;
    padding-bottom: 5px;
    border-bottom: 2px solid #ccc;
}

.pay-invoice-page .apply-payment-subheading {
    font-weight: bold;
    margin-bottom: 30px;
}

.pay-invoice-page .chooseInvoices,
.pay-invoice-page .lumpSum {
    border: 1px solid #ccc;
    border-radius: 0px 8px 8px 8px;
    padding: 15px;
}

.pay-invoice-page .lumpSum .lump-sum-note {
    margin: 15px 0 15px 0;
}

.pay-invoice-page .chooseInvoices .select-all-invoices-wrapper {
    padding: 0 0 10px 7px;
}

.pay-invoice-page .chooseInvoices .select-all-invoices-wrapper input {
    margin-right: 10px;
}

.pay-invoice-page .chooseInvoices .table-wrapper {
    max-height: 500px;
    overflow-y: scroll;
}

.pay-invoice-page .chooseInvoices table {
    margin-bottom: 0;
}

.pay-invoice-page .lumpSum {
    min-height: 200px;
}

.pay-invoice-page .lump-sum-payment-form {
    margin-top: 30px;
}

section.process-payment {
    text-align: center;
    margin-bottom: 50px;
}

section.process-payment input[type='checkbox'] {
    width: 20px;
    height: 20px;
}

section.process-payment .summary-of-payment {
    margin-top: 30px;
}

section.process-payment .summary-of-payment hr {
    width: 50%
}

section.process-payment .summary-of-payment .summary-text-rows {
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: bold;
}

section.process-payment .summary-of-payment .summary-text-rows .summary-label {
    text-align: right;
}

section.process-payment .summary-of-payment .summary-text-rows .summary-value {
    text-align: left;
}

section.process-payment #total-charge-amount.error,
section.process-payment #summary-payment-method.error {
    color: red;
}

section.process-payment .send-email-wrapper {
    margin-top: 20px
}

section.process-payment .send-email {
    font-size: 18px;
    font-weight: normal;
}

section.process-payment .send-email > *{
    vertical-align: text-bottom;
    margin: 0;
}

section.process-payment .submit-payment-button {
    min-width: 280px;
    max-width: 400px;
    background-color: dodgerblue;
    border: none;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 8px;
    margin-top: 30px;
    cursor: pointer;
}

section.process-payment .submit-payment-button[disabled] {
    background-color: #eee;
    color: #aaa;
    cursor: default;
}


