/* CSS variables are not supported in IE, so let's not
   use them for now. Keep this block for reference. */
/*:root {
    --backgroundGray: #F7F9FA;
    --carPayBlue: #0772BA;
    --slate: #60606B;
    --darkBlue: #043F66;
    --darkGreen: #3FBA60;
    --goldenYellow: #F3BB0B;
    --darkRed: #BF431D;
}*/

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
    line-height: 26px;
}

/* navigation bar */

.topnav {
    border:0;
    border-radius:0;
    margin-bottom: 0px !important;
}

.topnav ul.nav {
    border-right:1px solid #0772BA;
}

.topnav ul.nav li a {
    border-left:1px solid #0772BA;
    color: #0772BA;
}

.topnav .navbar-nav>li>a,
.topnav .navbar-nav>li>a:focus,
.topnav navbar-nav>li>a:hover {
    color: #0772BA;
}

.topnav .navbar-brand {
    margin-left: auto !important;
}

.topnav .navbar-brand>img { /* carpay logo */
    height: 22px;
}

.topnav .navbar-toggle span.icon-bar {
    background-color: #60606B !important; /* mobile hamburger */
}

#menu li a span { /* menu text color */
    color: #0772BA;
}

/* end navigation bar */

/* Header Bar */

#carpayHeaderBar {
    background-color: #2A5AA7;
    color: #FFF;
    height: 60px;
    padding-top: 18px;
    /*margin-bottom: 25px; */
    padding-left: 32px;
}

/* end Header Bar */

#flash-messages-container {
    margin-bottom: 25px; /* the margin above main-content */
}

/* footer */
#carpayFooter {
    color: #60606B;
    margin-top: 20px;
    background-color: #f8f8f8;
    height:150px;
    text-align: center;
}

#carpayFooter a {
    color: #60606B !important;
}
/* end footer */

.carpayBlue {
    background-color: #2A5AA7 !important;
    color: #FFFFFF !important;
    border: 0;
}

div.bulletPoints {
    margin-top: 26px;
    padding-bottom: 26px;
}

div.bulletPoints span.glyphicons {
    font-size: 24px;
    background-color: gray;
    color: #FFF;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 7px;
    margin-top: 25px;
    margin-left: 12px;
}

a {
    color: #0772BA !important;
}

h1 {
    font-size: 2.625em;
    line-height: 1.238em;
    margin-top: 0.619em;
    margin-bottom: 0.619em;
}

h2 {
    /*color: #000;*/
    font-size: 1.625em;
    font-weight: bold;
    line-height: 1em;
    /*margin-top: 1em;*/
    margin-top: 0;
    margin-bottom: 0em;
}

h3 {
    font-size: 1em;
    line-height: 1.625em;
    margin-top: 1.625em;
    margin-bottom: 0em;
}

body {
    color: #60606B;
    background-color: #F7F9FA;
    font-family: Roboto-Regular, sans-serif !important;
    line-height: 1.625em;
    margin: auto;
    position: relative;
}

#main-content {
    min-height: calc(100vh - 307px);
}

/* Override some Bootstrap settings */
.form-control {
    border-radius: 0;
}

/* Convenient margin & padding classes; based on Bootstrap 4 */
.mb-0 {
    margin-bottom: 0;
}
.mb-5 {
    margin-bottom: 5px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mt-0 {
    margin-top: 0;
}
.mt-5 {
    margin-top: 5px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.pl-0 {
    padding-left: 0;
}
.pr-0 {
    padding-right: 0;
}

/* Top margin for small+ screens) */
@media (min-width: 768px) {
    .mt-sm-100 {
        margin-top: 100px;
    }
}

.new-payment-button {
    color: #60606B !important;
    background-color: #FFFFFF;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .05);
}

.new-payment-button-green {
    color: #FFFFFF !important;
    background-color: #3FBA60;
}

.new-payment-button-blue {
    color: #FFFFFF !important;
    background-color: #0A7DC1;
}

.button-smalltext {
    font: Roboto Bold;
    font-size: 14px;
}

.login-type-tabs .tab-content {
    padding-top: 15px;
}

.login-type-tabs .checkbox-custom {
    padding-left: 20px;
}

.vin-submit {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: none;
    color: #0772BA;
    border-bottom: 1px solid transparent;
}

.vin-submit:hover {
    border-bottom: 1px solid #0772BA;
}

.green-button,
.make-payment-button {
    color: #FFFFFF !important;
    background-color: #3FBA60;
}

.make-payment-button {
    margin-bottom: 10px;
}

.navy-button,
.view-payments-button {
    color: #FFFFFF !important;
    background-color: #2A5AA7;
    margin-bottom:10px;
}

.build-schedule-button {
    color: #FFF !important;
    background-color: #343A40 !important;
}

.autopay-settings-button {
    color: #FFF !important;
    background-color: #3FBA60 !important;
    margin-bottom: 10px;
}

.autopay-settings-button.bg-gray {
    background-color: #708090 !important;
}

.btn-primary {
    background-color: #2A5AA7 !important;
}

.summary-box  {
    background-color: #FFFFFF;
    /*padding: 30px 15px;*/
    padding: 15px;
}

.summary-box h1 {
    padding: 0;
    margin: 0;
}

.summary-box .summary-title {
    font-weight: bold;
}

.summary-box .row {
    margin: 15px 0;
}

.summary-actions {
    /*padding-top: 30px;*/
}

.welcome-or-row {
    padding: 10px 0;
    text-align: center;
}

.welcome-or-text
{
    display: inline-block;
}

.welcome-or-text::before,
.welcome-or-text::after {
    content: ' ';
    display: inline-block;
    width: 10px;
    border-top: 1px solid #60606B;
    vertical-align: middle;
    margin: 0 5px;
}

.btn-block {
    text-transform: uppercase;
}

.modal-content {
    border-radius: 0;
}

.clearspan
{
    display: inline-block;
    clear: both;
}

#changePaymentAmountModal .modal-body
{
    padding-top: 0;
    padding-bottom: 0;
}

.txtChangePaymentAmount {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    color: #0772BA;
    border: 1px solid #e5e5e5;
}

.cpValue
{
    font-weight: bold;
}

.cpValue > span {
    display: inline-block;
    padding-right: 11px;
}

.pbUnapproved {
    display:none; /* Not showing for now. */
    background-color:#0772BA;
    position: absolute;
    height: 1.2em;
    margin-top: .2em;
    opacity: .75;
}

.pbPayment {
    background-color: green;
}

.pbPastDue {
    background-color: yellow;
}

.pbLateFee {
    background-color: red;
}

.pbPickup {
    background-color: blue;
}
.pbRecurringFee {
    background-color: orange;
}

.pbSpecialFee {
    background-color: orange;
}

.pbPickupPayment {
    background-color: #696969;
}

.pbOtherReceivablesDue {
    background-color: #8B4513;
}

.pbFees {
    background-color: orange;
}

.pbChargebacks {
    background-color: #f05b4f;
}

.pbOtherReceivables {
    background-color: lightblue;
}

.pbRegular {
    background-color: #94acd3;
}

.pbPrincipal {
    background-color: #0088cc;
}

.pbRepairs {
    background-color: #d70206;
}

.pbSideNote {
    background-color: #707070;
}

.pbPickUpNoteBalance {
    background-color: #ababab;
}

.pbOtherReceivablesBalance {
    background-color: #8B4513;
}

.pdFeesPayment {
    background-color: yellow;
}

.pdExtraFees {
    background-color: orange;
}

.barRegular {
    background-color: #3FBA60;
}

.barPickups {
    background-color: blue;
}

.barPastDue {
    background-color: #d4d347;
}

.barLateFees {
    background-color: red;
}

.barRecurringFees {
    background-color: orange;
}

.barFeesOwed {
    background-color: gray;
}

.barExtraFee-0 {
    background-color: orange;
}

.barExtraFee-1 {
    background-color: orange;
}

.barExtraFee-2 {
    background-color: orange;
}

.barExtraFee-3 {
    background-color: orange;
}

.barExtraFee-4 {
    background-color: orange;
}

#modalLatePaymentRow {
    color: #bf431d;
}

/* This is for automatic form validation errors. */
.error-message {
    color: red;
}

/* Common class for form input site-wide. */
.text-form-input {
    float:right;
    clear:right;
    margin-bottom:5px;
}

/* Common class for one-form pages. */
.standalone-form {
    background-color: #ffffff;
    padding: 15px;
}

/* Common class for red warning messages. */
.warning-font {
    /* This is distinct from form validation errrors. */
    color:darkred;
}

/* Common class for green indication messages */
.indication-font {
    color:darkgreen;
}

/* Datepicker - Input Group Addon */
.input-daterange .input-group-addon {
    min-width: 36px;
}

/* Datepicker - Base */
.datepicker {
    padding: 10px;
    margin: 0 auto;
    line-height: 1.1em;
}

.datepicker.datepicker-inline {
    line-height: 1.7em;
    width: 100%;
}

.datepicker table {
    width: 100%;
}

.datepicker table tr td {
    border-radius: 0;
}

.datepicker table thead tr th {
    cursor: pointer;
    font-size: 1.3rem;
    text-align: center;
    font-weight: normal;
}

.datepicker table thead tr th.prev {
    content: '\f0d9';
    font-family: FontAwesome;
}

.datepicker table thead tr th.next {
    content: '\f0da';
    font-family: FontAwesome;
}

.datepicker table td {
    text-align: center;
    font-size: 1.2rem;
}

.datepicker table td.day {
    -webkit-transition: background-color 0.1s ease-in 0.1s, color 0.1s ease-in 0.1s;
    -moz-transition: background-color 0.1s ease-in 0.1s, color 0.1s ease-in 0.1s;
    transition: background-color 0.1s ease-in 0.1s, color 0.1s ease-in 0.1s;
    cursor: pointer;
}

/* Datepicker - Skin Default */
.datepicker thead tr:first-child th:hover,
.datepicker tfoot tr th:hover,
.datepicker table tr td span:hover {
    background: #CCC;
    color: #FFF;
}

.datepicker table tbody tr td span.old,
.datepicker table tbody tr td span.new {
    color: #CCC;
}

.datepicker table tbody tr td span.old:hover,
.datepicker table tbody tr td span.new:hover {
    color: #FFF;
}

.datepicker table tbody tr td.day:hover {
    background: #CCC;
    color: #FFF;
}

.datepicker table tbody tr td.day.active {
    background: #b3b3b3;
    color: #FFF;
}

.datepicker table tbody tr td.day.new {
    color: #777;
}

.datepicker table tbody tr td.day.new:hover {
    color: #FFF;
}

/* Datepicker - Skin Dark */
html:not(.sidebar-light) .datepicker.datepicker-dark {
    background: transparent;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table thead tr th.datepicker-switch {
    color: #FFF;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table thead tr th.dow {
    color: #777;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td span.old,
html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td span.new {
    color: #444;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td span.old:hover,
html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td span.new:hover {
    color: #FFF;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td.day {
    color: #FFF;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td.day:hover {
    background: #CCC;
    color: #FFF;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td.day.active {
    background: #b3b3b3;
    color: #FFF;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td.day.new {
    color: #777;
}

html:not(.sidebar-light) .datepicker.datepicker-dark table tbody tr td.day.new:hover {
    color: #FFF;
}

/* Datepicker - Skin Primary */
.datepicker.datepicker-primary {
    min-width: 255px;
}

.datepicker.datepicker-primary.datepicker-inline {
    background: #fff;
    border: 1px solid #eee;
}

.datepicker.datepicker-primary table thead tr:first-child {
    background-color: #CCC;
    color: #FFF;
}

.datepicker.datepicker-primary table thead tr:first-child th:hover {
    background-color: #b3b3b3;
}

.datepicker.datepicker-primary table thead tr:first-child th:first-child {
    border-radius: 4px 0 0 0;
}

.datepicker.datepicker-primary table thead tr:first-child th:last-child {
    border-radius: 0 4px 0 0;
}

.datepicker.datepicker-primary table thead tr:last-child {
    background-color: #d9d9d9;
    color: #FFF;
}

.datepicker.datepicker-primary table thead tr:last-child th:hover {
    background-color: #CCC;
}

.datepicker.datepicker-primary table thead tr th {
    border-radius: 0;
}

html.dark .input-daterange .input-group-addon {
    text-shadow: none;
}

html.dark .datepicker-dropdown {
    color: #EEE;
    background-color: #282d36;
}

html.dark .datepicker-dropdown:after {
    border-bottom-color: #282d36;
}

html.dark .datepicker-dropdown.datepicker-orient-bottom:before {
    border-top-color: rgba(0, 0, 0, 0.2);
}

html.dark .datepicker-dropdown.datepicker-orient-bottom:after {
    border-top-color: #282d36;
}

html.dark .datepicker.datepicker-primary {
    border-color: #282d36;
    background: #282d36;
}

html.dark .select2-container--bootstrap .select2-selection,
html.dark .select2-container--bootstrap .select2-dropdown,
html.dark .select2-container--bootstrap .select2-choices .select2-search-field input,
html.dark .select2-container--bootstrap .select2-choice,
html.dark .select2-container--bootstrap .select2-choices {
    color: #EEE;
    background-color: #282d36;
    border-color: #282d36;
}

html.dark .select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    color: #EEE;
}

html.dark .select2-container--bootstrap .select2-results__option[aria-selected="true"],
html.dark .select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    color: #EEE;
    background-color: #2e353e;
    border-color: #2e353e;
}

.link-alert {
    color: #ff0000 !important;
}

.complement-card {
    position: relative;
    height: auto;
    clear: left;
    float: none;
    padding: 20px;
    margin: -20px -20px 10px;
    background-color: #ebf1fa;
}

#confettiCanvas {
    pointer-events: none;
}

/* Form - Custom Checkbox */
.checkbox-custom {
    position: relative;
    padding: 0 0 0 25px;
    margin-bottom: 7px;
    margin-top: 0;
}

.checkbox-custom.checkbox-inline {
    display: inline-block;
    vertical-align: middle;
}

.form-group .checkbox-custom.checkbox-inline {
    margin-top: 7px;
    padding-top: 0;
}

.checkbox-custom:last-child, .checkbox-custom:last-of-type {
    margin-bottom: 0;
}

.checkbox-custom input[type="checkbox"] {
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 3px;
    margin: -6px 0 0 0;
    z-index: 2;
    cursor: pointer;
}

.checkbox-custom input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.checkbox-custom input[type="checkbox"]:disabled:checked + label:after {
    color: #999;
}

.checkbox-custom input[type="checkbox"]:disabled + label {
    cursor: not-allowed;
}

.checkbox-custom input[type="checkbox"]:disabled + label:before {
    background-color: #eee;
}

.checkbox-custom label {
    cursor: pointer;
    margin-bottom: 0;
    text-align: left;
    line-height: 24px;
    font-weight: 400;
}

#modal-dupe-confirmation {
    font-size: 11px;
    font-family: "Open Sans", Arial, sans-serif;
}

/* Spacing for toggle switch container */
.auto-pay-select {
    margin-bottom: 15px;
}

/* Vertical alignment improvements */
.row.align-items-center {
    display: flex;
    align-items: center;
}

.row.align-items-center .col-sm-8,
.row.align-items-center .col-sm-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row.align-items-center .col-sm-8 h6 {
    margin-bottom: 5px;
}

.row.align-items-center .col-sm-8 p {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .row.align-items-center {
        flex-direction: column;
        align-items: stretch;
    }

    .row.align-items-center .col-sm-4 {
        margin-top: 15px;
        text-align: center !important;
    }
}
