html, body {
    overflow-x: hidden;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

h1{
    font-family: Tahoma;
    color: #2C3635;
    text-align: center;
}

h2 {
    color: #1A535C;
    text-align: center;
}

h3 {
    color: #2c3635;
    text-align: center;
}

h6 {
    color: white;
    text-align: center;
    margin: 0;
}

.container {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
}

#menu {
    cursor: pointer;
    margin-top: 10px;
    font-size: 1.5em;
    text-align: center;
    color: #C8A138;
}

.dashContent, .content {
    margin-left: auto;
    margin-right: auto;
}

#loginForm {
    width: 100%;
}

#create {
    width: 100%;
}

#alpha {
    font-size: .4em;
}

#headerLinks {
    display:none;
    width: 90%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

#headerLinks ul {
    list-style-type: none;
    list-style-position: outside;
    padding: 0;
    text-align: center;
}

#headerLinks ul li {
    font-size: 1.3em;
    padding: 5px 0;
}

#headerLinks a {
    color: #C8A138;
    text-decoration: none;
}

#headerLinks a:hover {
    color: #CCB5A5;
    text-decoration: underline;
}

#headerLinks:after {
    content: '';
    width: 100%;
    display: inline-block;
}

.indexForms ul {
    list-style-type: none;
    list-style-position: outside;
    padding: 0;
    text-align: center;
}

.indexForms li {
    padding: 2%;
    font-size: 1.2em;
}

.indexForms input {
    margin-bottom: 2%;
    width: 80%;
    font-size: 1.2em;
}

.indexForms label {
    padding: 2%;
}

.sidebar {
    display: none;
    text-align: center;
    padding-top: 170px;
    padding-bottom: 20px;
    background: #2c3635;
    border-radius: 25px;
}

.sidebar h1 {
    color: #b8d3c0;
    display: none;
}
    
.sidebar ul {
    list-style-type: none;
    list-style-position: outside;
    padding: 0;
}

.sidebar ul li {
    font-size: 1.3em;
    padding: 5px 0;
}
    
.sidebar ul li a {
    color: #C8A138;
    text-decoration: none;
}

.sidebar ul li a:hover {
    color: #CCB5A5;
    text-decoration: underline;
}

.accountsBar {
    display: block;
    clear: both;
}

.accountsBar table {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.accountsBar table td {
    font-size: 1.1em;
    padding: 0 20px;
}

.dashTables {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    text-align: left;
    word-wrap: break-word;
    width: 100%;
}

.dashTables th {
    background-color: #b8d3c0;
    border: none;
    padding: 2px 10px;
}

.dashTables tr {
    border: none;
    border-color: #666;
}

.dashTables td {
    border: none;
    padding: 2px 10px;
}

#totalTable {
    border: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

#totalTable td {
    padding: 5px 20px;
}

.totalRow {
    font-size: 1em;
    text-align: right;
}

#budgetTotals {
    font-weight: bold;
}

#dashIncome {
    font-size: 1.5em;
    color: green;
}

#dashExpense {
    font-size: 1.5em;
    color: red;
}

#dashBal {
    font-size: 1.5em;
}

.previous-button {
    margin: 10px 0 0 30px;
    float: left;
}

.next-button {
    margin: 10px 20px 0 0;
    float: right;
}

@media all and (min-width: 500px){
    
    #headerLinks {
        float: left;
        clear: left;
        width: 100%;
    }
    
    #headerLinks ul {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
    
    .headerActions {
        display: block;
    }
    
    .sidebar {
        display: none;
    }
    
    #loginForm {
        width: 40%;
        display: inline-block;
        float: left;
    }
    
    #create {
        width: 40%;
        display: inline-block;
        float: right;
    }
    
    .indexForms ul {
        list-style: none;
        list-style-position: outside;
        padding: 0;
        width: 100%;
    }
    
    .indexForms li {
        text-align: center;
        padding: 2%;
    }
    
    .indexForms input {
        width: auto;
        float: right;
        font-size: .75em;
    }
    
    .indexForms label {
        padding: 2%;
        float: left;
    }
}

@media all and (min-width:900px){
    .container {
        max-width: 100%;
    }
    
    .accountsBar {
        width: 60%;
        float: right;
        clear: right;
    }
    
    .dashContent {
        width: 60%;
        float: right;
    }
    
    #menu {
        display: none;
    }
    
    #headerLinks {
        display: inline;
    }
    
    .headerActions {
        display: none;
    }
    
    #topBar {
        width: 100%;
    }
    
    #topBar ul {
        columns: 5;
        -webkit-columns: 5;
        -moz-columns: 5;
        text-align: justify;
        margin-bottom: 0;
    }
    
    #topBar ul li {
        text-align: center;
    }
    
    .sidebar {
        display: block;
        float: left;
        padding: 0;
        margin: 20px 0 0 20px;
        max-width: 35%;
    }
    
    .sidebar h1 {
        display: inline;
    }
    
    .sidebar ul li {
        padding: 5px;
    }
}

@media all and (min-width:1220px){
    .container{
        width: 100%;
        max-width: 1300px; 
    }
    
    .headerActions {
        display: none;
    }
    
    .content {
        float: right;
        width: 80%;
    }
    
    .accountsBar {
        padding: 20px;
        width: 30%;
        float: left;
    }
    
    .accountsBar table {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .dashContent {
        float: left;
        width: 40%;
        padding: 20px;
    }
    
}
/* dashboard.php */
.dashContent form {
    text-align: center;
}

#topBar {
    float: left;
    background: #2C3635;
    min-width: 100% !important;
    padding-bottom: 15px;
    border-radius: 0 0 25px 25px;
}

#topBar h1, h1 a {
    color: #B8D3C0;
    margin: 5px;
    text-decoration: none;
}

#topBar h6 a {
    color: #FFF;
    text-decoration: none;
}

.viewForm {
    text-align: center;
}

.viewForm select, input {
    padding: 5px 20px;
    width: auto;
}

#budForm {
    text-align: center;
}

#budForm select {
    width: auto;
}

.actionForm ul {
    list-style: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
    text-align: center;
}

.actionForm li {
    padding: 12px;
    position: relative;
}

.actionForm input, select {
    width: 175px;
    display: inline-block;
    padding: 5px 8px;
}

.actionForm label {
    width: 150px;
    margin-top: 3px;
    display: inline-block;
    text-align: left;
}

.entryTable {
    font-size: .8em;
}

.entryTable td {
    width: auto;
}

.entryTable input[type="submit"] {
    cursor: pointer;
    background: #a01010;
    color: #FFF;
    border: 1px solid #666;
    border-radius: 7px;
    box-shadow: 0 0 2px rgba(0,0,0,.75);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.75);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.75);
    font-weight: bold;
    margin: 5px 0 -5px 0;
}

.entryTable input[type="submit"]:hover {
    background: #c92626;
    box-shadow: 0 0 4px rgba(0,0,0,.75);
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,.75);
    -moz-box-shadow: 0 0 4px rgba(0,0,0,.75);
}

/* budgets.php */
.editForm {
    text-align: center;
}

.editForm table {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.editForm table tr td {
    padding: 1px 10px;
}

.footer {
    text-align: center;
    clear: both;
    bottom: 0px;
}