
/* Set Color Scheme */
:root{
    --header_color:#ffffff;
    
    --top_nav_left_color:#3572A8;
    --top_nav_text_color:#ffffff;
    --top_nav_right_color:#3572A8;

    --form_header_color:#3572A8;
    --form_header_text_color:#ffffff;

    --button_color:#3572A8;
	--button_text_color:#ffffff;
    --button_border_color:#3572A8;

}


body {
    margin: 0;
    font-family: Century Gothic, sans-serif;
}

#header {
    width: 100%;
    margin: 0 auto;
    height: 160px;
    background: var(--header_color);
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--top_nav_right_color);
}

ul.topnav li {
    float: left;
}

ul.topnav li a {
    display: block;
    color: var(--top_nav_text_color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: bold;
}

ul.topnav li a:hover:not(.active) {
    background-color: #111;
}

ul.topnav li a.active {
    background-color: var(--top_nav_left_color);
}

ul.topnav li.right {
    float: right;
}

@media screen and (max-width: 600px) {

    ul.topnav li.right,
    ul.topnav li {
        float: none;
    }
}

#back {
    float: left;
    position: relative;
    left: 0px;
    top: 0px;
    visibility: hidden;
}

#print {
    float: right;
    position: relative;
    right: 0px;
    top: 0px;
    visibility: hidden;
}

#content h3 {
    text-align: center;
}

input {
    margin-top: 4px;
    margin-bottom: 4px;
}

#summary {
    margin: 20px;
}

#transactionHistory {
    text-align: center;
    margin: 6px auto;
}

#formContainer {
    margin: 10px auto;
}

#formHeader {
    margin: 0px;
    background-color: var(--form_header_color);
    text-align: center;
    padding: 8px;
    color: var(--form_header_text_color);
    font-weight: bold;
}

.center {
    text-align: center;
}

#loadingProgress {
    display: block;
    margin-left: auto;
    margin-right: auto;
    visibility: hidden;
}

#logo {
    display: block;
  /*  width: 320px; */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 18px;
}


/* 
Generic Styling, for Desktops/Laptops 
*/
table {
    width: 100%;
    border-collapse: collapse;
}

/* Zebra striping */
tr:nth-of-type(odd) {
    background: #eee;
}

th {
    background: #333;
    color: white;
    font-weight: bold;
}

td,
th {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: left;
}

.btn {
    -webkit-border-radius: 4;
    -moz-border-radius: 4;
    border-radius: 4px;
    color: var(--button_text_color);
    font-size: 20px;
    background:var(--button_color);
    padding: 10px 20px 10px 20px;
    border: solid var(--button_border_color) 2px;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.textfield {
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 10px 20px;
    border: 1px solid #b7b7b7;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font: normal 20px/normal "Times New Roman", Times, serif;
    color: rgba(0, 0, 0, 1);
    -o-text-overflow: clip;
    text-overflow: clip;
    background: rgba(252, 252, 252, 1);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.66);
    -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /*
Label the data
*/
    td:nth-of-type(1):before {
        content: "Date";
    }

    td:nth-of-type(2):before {
        content: "Transaction Details";
    }

    td:nth-of-type(3):before {
        content: "Description";
    }

    td:nth-of-type(4):before {
        content: "Amount";
    }

    td:nth-of-type(5):before {
        content: "Balance";
    }
}