﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #5c87b2;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu > li {
    display: inline;
    list-style: none;
}

ul#menu > li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu > li > a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu > li > a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu > li > a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu > li.selected > a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}
/*----------------------------------------------------------*/

.ajax-link {
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.delete-icon {
    background-image: url(./themes/base/images/ui-icons_cd0a0a_256x240.png);
    background-position: -16px -192px;
    height: 16px;
    width: 16px;
    display:block;
}

.add-icon {
    background-image: url(./themes/base/images/ui-icons_454545_256x240.png);
    background-position: 0px -192px;
    height: 16px;
    width: 16px;
    display:block;
}

.add-icon-disabled {
    background-image: url(./themes/base/images/ui-icons_454545_256x240.png);
    background-position: 0px -192px;
    height: 16px;
    width: 16px;
    display:block;
    opacity:0.2;
}

.verified-txn {
    background-color: #e5f0ff;
}

.verify-icon {
    background-image: url(./themes/base/images/ui-icons_454545_256x240.png);
    background-position: -208px -192px;
    height: 16px;
    width: 16px;
    display:block;
    opacity:0.2;
}

.verify-icon.verified {
    background-image: url(./themes/base/images/ui-icons_2e83ff_256x240.png);
    background-position: -208px -192px;
    height: 16px;
    width: 16px;
    display:block;
    opacity:1;
}

.plus-icon {
    background-image: url(./themes/base/images/ui-icons_454545_256x240.png);
    background-position: -16px -128px;
    height: 16px;
    width: 16px;
    display:block;
}

.tblPlaidItems {
    border:none;
    margin-top: 20px;
}

.tblPlaidItems td {
    border: none;
}

.tblPlaidItems td.institutionName {
    font-size: 1.3em;
}

.tblPlaidItems td.itemLastUpdated {
    padding-left: 30px;
    color: #bbbbbb;
}

#tblLedgerData_Summary {
    border: none;
}

#tblLedgerData_Summary td {
    border: none;
}

#tblTransactions tr.credit {
    display:none;
}

/* Credit Account Tabs */
:root {
  --background-color: #bbdefb;
  --blue-50: #e3f2fd;
  --blue-100: #bbdefb;
  --blue-A700: #2962ff;
  --green-50: #e8f5e9;
  --green-100: #c8e6c9;
  --green-A700: #00c853;
  --purple-50: #f3e5f5;
  --purple-100: #e1bee7;
  --purple-A700: #aa00ff;
  --orange-50: #fff3e0;
  --orange-100: #ffe0b2;
  --orange-A700: #ff6d00;
  --orange-700: #f57c00;
  --grey-900: #212121;
  --white: #ffffff;
  --round-button-active-color: #212121;
  --translate-main-slider: 100%;
  --main-slider-color: #e3f2fd;
  --translate-filters-slider: 0;
  --filters-container-height: 3.8rem;
  --filters-wrapper-opacity: 1;
}

div.creditAcctContainer button {
    border: none;
    cursor: pointer;
    background-color: transparent;
    outline: none;
}

div.creditAcctContainer {
    background-color: var(--white);
    border-radius: 2.5rem;
    user-select: none;
    padding-top: 1rem;

    overflow: hidden;
    padding: 0 5px 0 160px;
    transition: max-height 0.4s ease-in-out;
}

div.creditAcctWrapper {
    position: relative;
    transition: opacity 0.2s ease-in-out;
    opacity: var(--filters-wrapper-opacity);
}

ul.creditAcctTabs {

    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;

    border-radius: 0.3rem;
    padding: 0.3rem;
    overflow: hidden;
    background-color: #f0f0f0;
}

ul.creditAcctTabs li {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 0 10em;
}

button.creditAcctButton {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    flex-grow: 1;
    height: 3rem;
    padding: 0 1.5rem;
    color: #333333;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
}

button.creditAcctButton.active, button.creditAcctButton:hover {
    transition: color 0.4s ease-in-out;
    color: var(--grey-900);
    background-color: #cccccc;
}

/* End (Credit Account Tabs) */

.collapsible.closed {
    background-image: url(./themes/base/images/ui-icons_454545_256x240.png);
    background-position: -40px 0px;
    background-size: 320px 300px;
    height: 20px;
    width:16px;
    display: inline-block;
    cursor: pointer;
}

.collapsible.open {
    background-image: url(./themes/base/images/ui-icons_454545_256x240.png);
    background-position: -80px 0px;
    background-size: 320px 300px;
    height: 20px;
    width:16px;
    display: inline-block;
    cursor: pointer;
}

.calcError {
    background-image: url(./themes/base/images/ui-icons_cd0a0a_256x240.png);
    background-position: -40px -180px;
    background-size: 320px 300px;
    height: 20px;
    width: 16px;
    display: inline-block;
}

/* for popup subnav on hover */
.overlay-container {
    position: relative; /* Essential for positioning child overlays */
}

.overlay-list {
    position: absolute; /* Takes the element out of normal document flow */
    top: 22px; /* Position at the top of the container */
    left: 0; /* Position at the left of the container */
    width: 175px; /* Spans the full width of the container */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white; /* Text color for the list items */
    display: flex; /* Use flexbox for centering list items */
    flex-direction: column; /* Stack list items vertically */
    justify-content: flex-start; /* Center list items vertically */
    align-items: flex-start; /* Center list items horizontally */
    z-index: 1000; /* Ensure it appears above other content */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
    padding-inline-start: 0px;
    padding: 10px 10px 0;
}

.overlay-container:hover .overlay-list {
    opacity: 1; /* Make visible when active */
    visibility: visible; /* Make visible when active */
}

.overlay-list li {
    height: 35px;
    list-style: none;
}

.overlay-list li a {
    color: #ffffff;
    text-decoration: none;
}

.overlay-list li a:hover {
    text-decoration: underline;
}
/* end (popup subnav) */