﻿/* Application Level Rules */
@font-face {
    font-family: "FarnhamText";
    src: url("./FarnhamText-Regular.otf") format('embedded-opentype');
}

* {
    box-sizing: border-box;
    font-family: canada-type-gibson, sans-serif;
}

.gibson-regular {
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 400;
}

.gibson-semibold {
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 600;
}

.gibson-light {
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 300;
}

body {
    background-color: #f1edef;
}

button, .button {
    background-image: none;
    background-color: transparent;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-weight: normal;
    font-size: 12px;
    height: 30px;
    letter-spacing: .06em;
}

th {
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.button-affirmative {
    background-color: #00af6c;
    border-radius: 15px;
    color: white;
    width: 150px;
}

.button-negative { /*Same as field-label*/
    color: #9f9f9f;
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 300;
    letter-spacing: .04em;
}

.button-fluid {
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.button-search {
    border-radius: 15px;
    background-color: #e3e3e3;
    color: #00af6c;
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 600;
    width: 85px;
}

.button-moxey {
    width: auto;
    background-image: url("../Images/Moxey/Button_Icon.png");
    background-position: 2px center;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    padding-left: 40px;
    padding-right: 20px;
}

.input-button-search {
    border-radius: 15px;
    background-color: #e3e3e3;
    background-image: url("../Images/Moxey/SearchGreen@2x.png");
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 10px center;
    cursor: pointer;
    color: #00af6c;
    display: inline-block; /* TODO: Shouldn't be a specific rule in a secondary class*/
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 600;
    margin-left: 10px;
    padding-left: 20px;
    width: 85px;
}

.application-wrapper {
    margin: 20px auto;
    max-width: 1200px;
}

.logo-login {
    max-height: 30px;
    width: auto;
    margin-left: 30px;
    margin-top: 10px;
}

.container-login {
    margin-top: 90px;
}

.container-flush-left {
    padding-left: 0px;
}

.icon {
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: 15px;
}

.icon-medium {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 20px;
}

.icon-moxey {
    background-image: url("../Images/Moxey/Button_Icon.png");
    display: inline-block;
    vertical-align: middle;
}

.icon-labeled {
    padding-left: 25px;
    font-style: normal;
    vertical-align: middle;
}

.icon-print {
    background-image: url("../Images/Moxey/Print.png");
    cursor: pointer;
}

.icon-search {
    background-image: url("../Images/Moxey/SearchGreen@2x.png");
    cursor: pointer;
    display: inline-block; /* TODO: Shouldn't be a specific rule in a secondary class*/
    vertical-align: sub;
}

.icon-print-wrapper, .page-header-right-block /* Terrible naming*/ {
    float: right;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid black;
}

/* Generic utility (margin, padding, etc; these margin rules are a bit of a code smell, but I'm frankly leery of trying to set up SASS on this project and the existing codebase is such a hodgepodge that this is at least not making things actively worse.  */
.margin-right-5 {
    margin-right: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-20 {
    margin-left: 20px;
}

.left-indent-25 {
    padding-left: 25px;
}

.left-indent-75 {
    padding-left: 75px;
}

/* Navigation Rules */
#HeaderBar {
}

.moxey-logo {
    width: 100%;
    font-size: 20px;
}

.navigation-list {
    text-align: right;
}

.navigation-list-item {
    display: inline;
    list-style: none;
    font-size: 12px;
}

.user-navigation-list {
    margin-bottom: 10px;
    margin-top: 0;
}

.system-navigation-list {
    margin-top: 10px;
    margin-bottom: 20px;
}

.selected-navigation-list-item, .topMenu.on {
    font-weight: 600;
    letter-spacing: .04em;
}

.system-navigation-list {
    text-transform: uppercase;
}

    .system-navigation-list .navigation-list-item {
        margin-right: 20px;
        font-family: canada-type-gibson, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        letter-spacing: .07em;
    }

.user-navigation-list .navigation-list-item span {
    letter-spacing: .07em;
}

.user-navigation-list .navigation-list-item {
    font-weight: 700;
    margin-right: 15px;
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .07em;
}

.navigation-list-item:last-child {
    margin-right: 0px;
}

/* Content Rules */
.content-wrapper-my-info /* content-wrapper-my-info was probably unnecessary; inclined to deprecate */ {
    background-color: white;
    box-shadow: 4px 4px 0px 1px rgba(0,0,0,0.25);
    border-left: 1px solid rgba(0,0,0,0.25);
    margin-bottom: 40px;
    padding: 10px 10px 30px 10px;
}

.page-wrapper { /* Generic wrapper for pages (excepting the My Info tabs */
    background-color: white;
    box-shadow: 4px 4px 0px 1px rgba(0,0,0,0.25);
    border-left: 1px solid rgba(0,0,0,0.25);
    margin-bottom: 40px;
    padding: 35px 30px 30px 30px;
}


.my-info-tab-navigation {
    text-align: center;
}

    .my-info-tab-navigation:after {
        display: table;
        content: "";
        clear: both;
    }

.tab-navigation-button-wrapper {
    float: left;
    width: 33%;
    padding-right: 10px;
}

    .tab-navigation-button-wrapper:last-child {
        padding-right: 0px;
    }

.tab-navigation-button, .tab-navigation-button-selected:hover {
    background-color: #f1f1f1;
    text-transform: uppercase;
    height: 45px;
    width: 100%;
    padding: 5px;
    border-radius: 0;
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
}

    .tab-navigation-button:last-child {
        margin-right: 0;
    }



    .tab-navigation-button-selected, .tab-navigation-button:hover {
        background-color: #4c615e;
        color: white;
        font-family: canada-type-gibson, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 11px;
    }

.tab-content {
    padding: 35px 20px 0px 20px; /* This accounts for the padding already applied to the parent section.*/
}

/* Definining primary as the moxey green; secondary as the subdued gray color */
.label-primary {
    color: #00af6c;
}

.label-secondary {
    color: #9f9f9f;
}

.moxey-horizontal-rule {
    display: block;
    height: 0px;
    border: 0;
    border-top: 1px solid #f1f1f1;
    margin: 15px 0;
    padding: 0;
}

.page-header-row:after, .page-header-wrapper:after, .modal-header-wrapper:after {
    display: table;
    content: "";
    clear: both;
}

.page-header {
    font-family: FarnhamText;
    font-size: 25px;
    color: #001e19;
    float: left;
    max-width: 50%;
}

.page-header-login {
    font-family: FarnhamText;
    font-size: 48px;
    color: white;
}

.page-header-block {
    font-family: FarnhamText;
    font-size: 25px;
    color: #001e19;
}

.moxey-section-header {
    color: #00af6c;
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 600;
    padding-bottom: 10px;
}

.field-label, .field-input, .field-label-italic {
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #9f9f9f;
    letter-spacing: .04em;
}

.field-input {
    height: 25px;
    width: 200px;
    border: 1px solid #f1f1f1;
    font-size: 12px;
    padding: 5px;
    letter-spacing: .07em;
}

    .field-input::-webkit-input-placeholder, .field-input::-moz-placeholder, .field-input:-ms-input-placeholder, .field-input:-moz-placeholder { /* Chrome/Opera/Safari */
        letter-spacing: .04em;
    }

.field-input-short {
    width: 100px;
}

.field-label-italic {
    font-style: italic;
    font-size: 12px;
    padding-left: 5px;
}

.field-value {
    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #001e19;
    display: inline;
    letter-spacing: .04em;
}


.field-set-static + .field-set-static {
    margin-top: 10px;
}

.field-set-static + .field-set-input, .field-set-input + .field-set-static {
    margin-top: 20px;
}

.field-set-input + .field-set-input {
    margin-top: 15px;
}

.field-set-transaction-codes {
    margin-top: 70px;
}

select {
    background-image: url("../Images/Moxey/Arrow.png");
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 1px solid #f1f1f1;
    -webkit-appearance: none;
    color: #9f9f9f;
    padding: 5px;
    width: 200px;
}


/* Search Contact Box */

#divSearchContactBox {
    background-color: white;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
}

    #divSearchContactBox .page-header {
        padding-left: 15px;
        padding-bottom: 15px;
    }

.modal-backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: .7;
    background-color: #9f9f9f;
    z-index: 0;
    display: none;
}

.modal.fade.in {
    background-color: #9f9f9f;
}

.search-modal-field-input, .input-left-icon {
    height: 32px;
    padding-left: 30px;
}

.search-icon-wrapper, .input-icon-wrapper {
    display: inline-block;
    position: relative;
}

    .search-icon-wrapper .input-icon, .input-icon-wrapper .input-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .search-icon-wrapper .icon-search {
        background-image: url("../Images/Moxey/Search_Grey@2x.png");
    }

    .input-icon-wrapper .icon-calendar {
        background-image: url("../Images/Moxey/Calendar@2x.png");
    }

.search-contact-header-table {
    /* These rules are necessary because the structure of this js is insane. */
    margin-left: 31px;
    margin-top: 30px;
    text-transform: uppercase;
}

/* Contact Info + Table Modifications*/
.listtitle {
    text-transform: uppercase;
}

.list tr {
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.list td {
    padding-right: 40px;
}

    .list td:last-child {
        padding-right: 0px;
    }

.list-striped tr:nth-child(even) {
    background-color: #f1f1f1;
}

.sort-arrow-cell {
    position: relative;
}

    .sort-arrow-cell .arrow-up {
        position: relative;
        top: -4px;
    }

    .sort-arrow-cell .arrow-down {
        position: relative;
        top: 4px;
    }

/* This rule is very specific to avoid touching the nested table used to provide the sort functions*/
/*#divTitleTable_ContactList_PopinSystem td:nth-child(0) {
    width: 110px;
}
#divTitleTable_ContactList_PopinSystem td:nth-child(1) {
    width: 110px;
}
#divTitleTable_ContactList_PopinSystem td:nth-child(2) {
    width: 110px;
}
#divTitleTable_ContactList_PopinSystem  td:nth-child(3) {
    width: 110px;
}
#divTitleTable_ContactList_PopinSystem td:nth-child(4) {
    width: 110px;
}
#divTitleTable_ContactList_PopinSystem td:nth-child(5) {
    width: 110px;
}*/

/*#divListTable_ContactList_PopinSystem td:nth-child(1) {
    width: 110px;
}
#divListTable_ContactList_PopinSystem td:nth-child(2) {
    width: 110px;
}
#divListTable_ContactList_PopinSystem td:nth-child(3) {
    width: 110px;
}
#divListTable_ContactList_PopinSystem td:nth-child(4) {
    width: 110px;
}
#divListTable_ContactList_PopinSystem td:nth-child(5) {
    width: 110px;
}*/
/* Modify bootstrap modal */
.close-modal-button {
    float: right;
    font-size: 24px;
}

.results-table {
    margin-top: 35px;
}

#TransactionListTable {
    margin-top: 25px;
}


.div_wait_please_style {
    border: 1px solid #d3d3d3;
    background-color: white;
    border-radius: 2px;
    display: none;
    height: 60px;
    left: 0;
    margin: 0 auto;
    right: 0;
    padding: 20px;
    position: fixed;
    text-align: center;
    transform: translateY(-50%);
    top: 50%;
    width: 150px;
    z-index: 1000;
}

/* Login Page */

.bodyLogin {
    background: url("../Images/Moxey/Login_Background@2x.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


.logo-card,
.logo-card-quik {
    max-width: 75%;
    margin: 0 auto;
    display: block;
}

.logo-card-quik {
    margin-bottom: -30px;
    padding: 10px;
    position: inherit;
    z-index: 1000;
}

.login-input {
    width: 100%;
    height: 40px;
    padding: 8px;
    background-color: transparent;
    border: 1px solid #f1f1f1;
    color: #f1f1f1;
}

.login-error-message {
    color: #f1f1f1;
}

#divMiniPopin {
    background-color: white;
    border: 1px solid black;
    padding: 30px;
}

/* Transactions List Table*/
.transaction-list-table tr {
    height: 30px;
}





.expansive-text, #divTitleTable * {
    letter-spacing: .09em;
    font-size: 13px;
}


/* Print Statement - Transaction Summary Table */
.print-statement-summary-table th:nth-child(1), .print-statement-summary-table td:nth-child(1) {
    width: 150px;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.print-statement-summary-table th:nth-child(2), .print-statement-summary-table td:nth-child(2) {
    width: 260px;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.print-statement-summary-table th:nth-child(3), .print-statement-summary-table td:nth-child(3) {
    width: 260px;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.print-statement-summary-table th:nth-child(4), .print-statement-summary-table td:nth-child(4) {
    width: 100px;
    text-align: right;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.print-statement-summary-table th:nth-child(5), .print-statement-summary-table td:nth-child(5) {
    width: 100px;
    text-align: right;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.print-statement-summary-table th:nth-child(6), .print-statement-summary-table td:nth-child(6) {
    width: 100px;
    text-align: right;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}

.print-statement-summary-table th:nth-child(7), .print-statement-summary-table td:nth-child(7) {
    width: 10px;
    text-align: right;
    border-bottom: 1px solid #f1f1f1;
    height: 30px;
}


.centerAlert {
    left: 0;
    right: 0;
    width: 402px;
    margin: 0 auto;
    transform: translateY(-50%);
    top: 50%;
}

.navigation-list-item-span {
    letter-spacing: 0.07em;
}

/* I'm adding this rule to style the Delete action on Scheduled Payments. I can't seem to find a better way to modify the generated table from GetTable. */
#divListTable_SchedulePaymentList_PopinSystem tr:nth-child(n+1) td:last-child {
    color: #b82c24;
}

.mbtnoptionstablestyle {
    background-color: white;
    border: 1px solid #4c615e;
}

    .mbtnoptionstablestyle th, .mbtnoptionstablestyle td {
        padding: 5px;
        text-align: left;
        border-bottom: 1px solid #4c615e;
    }

.btnScheduledPayment {
}

.redirectUrl-vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.redirectUrl-vertical-align-center {
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.redirectUrl-content {
    width: inherit;
    max-width: inherit;
    height: inherit;
    margin: 0 auto;
    pointer-events: all;
}

.redirectUrl-title {
    font-size: 30px;
}
.redirectUrl-body {
    font-size: 20px;
}
.redirectUrl-button {
    font-size: 20px !important;
    height: 40px;
    min-width: 80px;
}