﻿
/*****************************************
*   Document styles
*****************************************/
@font-face {
    font-family: 'fira-sans';
    src: url('../fonts/firasans-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0px;
    padding: 0px;
    border: 0px;
    outline: 0px;
    font-family: Arial;
    font-size: 14px;
    line-height: 40px;
    color: #1a1a1a;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

#serverErrors {
    margin-top: 5px;
}

#serverErrors > div {
    margin-bottom: 3px;
}

.btn {
    font-size: 14px;
}

.spinner {
    background-image: url(../Content/spinner1.gif);
    background-size: 100%;
    height: 34px;
    width: 34px;
    float: right;
    display: none;
}

/*****************************************
*   Login page styles
*****************************************/
#login form input,
#forgotPassword form input,
#signup form input {
    margin-bottom: 3px;
}

#forgotPassword,
#signup {
    display: none;
}

#showForgot {
    float: right;
}

#forgotPasswordStatus {
    display: none;
}

/*****************************************
*   Budget page styles
*****************************************/
#budgetList {
    display: inline-block;
    height: 100%;
    width: 100%;
    position: relative;
}
.navigationContainer > input,
.groupItem > input,
.addGroupRow > input,
.addItemRow > input,
.itemItem > input,
.groupTotalRow > input {
    border: 0px;
    color: #1a1a1a;
    pointer-events: none;
}
.showEnter .navigationContainer > input,
.showEnter .groupItem > input,
.showEnter .addGroupRow > input,
.showEnter .addItemRow > input,
.showEnter .itemItem > input {
    pointer-events: auto;
    border: 2px solid #cccbbc;
}

/*****************************************
*   Header area styles
*****************************************/
#budgetHeader {
    display: inline-block;
    padding: 8px 0px;
    width: 100%;
    display: block;
    font-family: arial, sans-serif;
    border-bottom: 1px solid #CCC;
    position: relative;
    font-weight: inherit;
    color: #1a1a1a;
    background-color: #FFFFFF;
    line-height: 40px;
}

#nameplate {
    font-size: 13pt;
    color: #1a1a1a;
    font-weight: bold;
    font-family: fira-sans;
    max-width: calc(100% - 70px);
    padding-left: 10px;
}

#nameplate > img {
    margin-right: 5px;
}

#editAccountBtn,
#cancelEditBtn,
#enterBtn,
#saveEnterBtn,
#cancelEnterBtn {
    float: right;
    margin: 3px;
}

#cancelEditBtn,
#saveEnterBtn,
#cancelEnterBtn,
#logoutLink {
    display: none;
}

#logoutLink {
    float: right;
    margin: 0px 5px;
}

.showEdit #logoutLink,
.showEdit #cancelEditBtn {
    display: inline-block;
}

.showEdit #editAccountBtn,
.showEdit #enterBtn,
.showEnter #editAccountBtn,
.showEnter #enterBtn {
    display: none;
}

.showEnter #saveEnterBtn,
.showEnter #cancelEnterBtn {
    display: inline-block;
}

/*****************************************
*   Edit Account Area
*****************************************/
#editAccountSection {
    height: 0px;
    overflow: hidden;
    background-color: #FFFFFF;
    padding: 0px 3px;
    border-bottom: 0px solid rgb(204, 204, 204);
    text-align: left;
}

#editAccountSection input.form-control {
    margin-bottom: 5px;
}

.addGroupSpacer {
    height: 30px;
    line-height: 20px;
    padding: 0px 3px;
}

.userManagement {
    height: 270px;
    line-height: 30px;
}


/*****************************************
*   Budget content area
*****************************************/
#currentDate {
    font-weight: bold;
    line-height: 35px;
    float: left;
    padding: 0px 6px;
    font-size: 16px;
}
.contentRow {
    background-color: #FFFFFF;
    width: 100%;
    display: inline-block;
    border-bottom: 1px solid #CCC;
    float: left;
    padding: 3px 3px 3px 10px;
}

.itemName {
    font-family: Arial;
    display: inline-block;
    position: relative;
    padding-left: 10px;
    font-size: 13px;
    text-decoration: none;
    color: #1a1a1a;
    padding-left: 40px;
    max-width: calc(100% - 70px);
}

.itemItem a.itemName {
    color: #fff;
    font-size: 36px;
    line-height: 48px;
    padding: 26px 0px;
    width: 100%;
    text-decoration: none;
}

.menuHeader {
    padding: 5px 3px;
    color: #1a1a1a;
    font-family: arial, sans-serif;
    line-height: 18px;
}

.groupNameInput {
    font-weight: bold;
    text-transform: uppercase;
}

.itemNameInput,
.groupNameInput {
    width: calc(100% - 148px);
    margin-left: 0px;
    float: left;
    height: 35px;
}
.showEnter .itemNameInput,
.showEnter .groupNameInput {
    width: calc(100% - 179px);
    margin-left: 6px;
}

.itemSpentInput {
    margin-right: 3px;
    padding-left:0px;
}
.itemBudgetedInput {
    padding-left: 0px;
}

.rightColHeader {
    float: right;
    display: inline-block;
    width: 64px;
    margin-top: 15px;
    margin-bottom: -4px;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-top: 1px solid #FFF;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    background-color: #FFF;
    color: #cccbbc;
}
.itemSpentHeader {
    margin-right: 3px;
    margin-bottom: -3px;
    height: 23px;
}
.rightColInput {
    width: 63px;
    float: right;
    text-align: right;
    height: 35px;
}

.groupTotalRow {
    background-color: #f1f1e3;
    font-weight: bold;
}
.groupTotalLabel {
    float: right;
    line-height: 35px;
    margin-right: 6px;
}

.orderBtn {
    float: left;
    width: 34px;
    padding: 6px 8px;
    height: 35px;
    line-height: 19px;
    text-align: center;
    color: #cccbbc;
    cursor:pointer;
}

#income {
    width: 132px;
    height: 35px;
    text-align: right;
    border: 2px solid #cccbbc;
}

.navigationContainer {
    background-color: #f1f1e3;
}

.navigationContainer .btn:nth-child(2) {
    margin: 0px 6px;
}

.groupItem {
    background-color: #cccbbc;
}

.addGroupRow {
    display: none;
    width: 100%;
    border: 0px;
    background-color: #cccbbc;
}
.addItemRow {
    display: none;
}

.showEnter .addGroupRow,
.showEnter .addItemRow{
    display:inline-block;
}
.addGroupInput,
.addItemInput {
    float: left;
    margin-right: 9px;
    height: 35px;
    width: calc(100% - 179px);
}
.addGroupInput {
    font-weight: bold;
    margin-left: 40px;
    text-transform: uppercase;
}
.addItemInput {
    margin-left: 6px;
}

.addGroupBtn,
.addItemBtn {
    float: left;
}

.deleteItemBtn,
.deleteGroupBtn {
    display: none;
    float:left;
}

.showEnter .deleteItemBtn,
.showEnter .deleteGroupBtn {
    display: inline-block;
}

.squareBtn {
    width: 34px;
    padding: 6px;
    text-align: center;
}

/*****************************************
*   Bottom totals area
*****************************************/
.totalAmountContainer {
    width: 130px;
    float: right;
    text-align: right;
    font-size: 16px;
}

.totalAmountLabel {
    width: 80px;
    float: right;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

#incomeTotal,
#expensesTotal,
#balanceTotal {
    float: right;
    text-align: right;
    width: 90px;
    padding-right: 40px;
}