html,
body {
    height: 90%;
    margin: 0 auto !important;
    padding: 12px;
    float: none !important;
    max-width: 1080px;
    font-family: sans-serif;
    background-color: #f6f6fb;
    /*font-size: 0.92em;*/
}

h2 {
    color: #24224a;
    margin: 0.2em 0 0.3em 0;
}

h3 {
    color: #24224a;
    margin: 0.5em 0 0.5em 0;
}

h4 {
    width: 100%;
    text-align: center;
    color: #24224a;
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

h4 span {
    background: #f6f6fb;
    padding: 0 10px;
}

.inputfield {
    line-height: 1.5em;
    height: 1.5em;
    float: left;
    width: 50%;
}

#header-image-menu img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

* {
    box-sizing: border-box;
}

input[type=text], select, textarea {
    width: auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
    font-size: 110%;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #2196f3;
    color: #000000;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.instructions {
    background-color: #393575;
    color: #ffffff;
}

.tcs {
    background-color: #c0bee1;
}

.information {
    background-color: #c0bee1;
}

.charts {
    background-color: #9f9dd2;
    color: black;

}

.income {
    background-color: #7f7bc2;
    color: black;

}

.expenses {
    background-color: #5e5ab3;
    color: #ffffff;

}

.loans {
    background-color: #494596;
    color: #ffffff;
}

.savings {
    background-color: #393575;
    color: #ffffff;
}



/* Add a background color to the accordion button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active {
    background-color: #0d47a1;
    color: #ffffff;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion:hover {
    background-color: #42a5f5;
}

.panel {
    padding: 0 5px;
    background-color: #f6f6fb;
    display: none;
    overflow: hidden;
}

div.panel.show {
    display: block !important;
}


.button1 {
    background-color: #24224a;
    color: white;
    width: 250px;
    height: 50px;
    padding: 10px 30px;
    border: 1px solid #00e3a1;
    border-radius: 12px;
    font-weight: bold;

    display: flex;
    justify-content: center;
    align-items: center;
}

.button1:hover {
    color: #24224a;
    border: 1px solid #24224a;
    background-color: #D8EBE6;
}

.button1:active {
    transform: translateY(8px);
    background-color: #141415;
    color: #141415FF;
    cursor: wait;
    border: solid;
    border-width: thin;
    border-color: red orange yellow green;
}

.button {
    background-color: #7121ea;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: auto;
    float: left;
}

.button:hover {
    background-color: lightsteelblue;
    color: black;
}

.button:active {
    transform: translateY(8px);
    background-color: #141415;
    color: #141415FF;
    cursor: wait;
    border: solid;
    border-width: thin;
    border-color: red orange yellow green;
}

.resetButton {
    background-color: rgba(241, 32, 32, 0.25);
    color: black;
    padding: 12px 20px;
    margin: 4px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    float: left;
}

.resetButton:hover {
    background-color: rgba(222, 27, 27, 0.39);
}

.resetButton:active {
    transform: translateY(8px);
    background-color: #141415;
    color: #141415FF;
    cursor: wait;
    border: solid;
    border-width: thin;
    border-color: red orange yellow green;
}

.container {
    border-radius: 10px;
    border-style: solid;
    border-color: #00e3a1;
    border-width: thin;
    background-color: white;
    padding: 10px 20px;
    margin: 15px 5px;
}

.col-25 {
    float: left;
    width: 15%;
    margin-top: 6px;
}

.col-35 {
    float: left;
    width: auto;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 55%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.form-inline label {
    margin: 5px 10px 5px 0;
}

.form-inline input {
    vertical-align: middle;
    margin: 5px 10px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.form-inline button {
    padding: 10px 20px;
    background-color: dodgerblue;
    border: 1px solid #ddd;
    color: white;
    cursor: pointer;
}

.form-inline button:hover {
    background-color: royalblue;
}


.topnav {
    overflow: hidden;
    /*background-color: white;*/
}

.topnav a {
    float: left;
    display: block;
    color: #131127;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    background-color: #b5b3dc;
}

.topnav a:hover {
    background-color: #635fb5;
    color: #f6f6fb;
}

.topnav a.active {
    background-color: #3B30D9;
    color: white;
}

.topnav a.target {
    background-color: #24224a;
    color: #f6f6fb;
    border-radius: 25px;
}

.topnav a.empty {
    background-color: #f6f6fb;
    color: #f6f6fb;
}


.topnav .icon {
    display: none;
}

/*style the sign-in button*/
/* The Sign In button itself */
pwa-auth::part(signInButton) {
    color: white;
    background-color: slateblue;
    transform: rotate3d(0, 0, 1, 02deg);
}

/* When the screen is less than 1000 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 1000px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1000px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 1024px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }

    .form-inline input {
        margin: 10px 0;
    }

    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
}

/*.responsive {*/
/*    width: auto;*/
/*    max-width: 80%;*/
/*    min-width: 30%;*/
/*    min-height: 25px;*/
/*    max-height: 100px;*/
/*    height: auto;*/
/*}*/

.bottom-three {
    margin-top: 3cm;
}

