:root {
    --main: rgb(185, 0, 40);
    --alternate: rgb(219, 88, 88);
    --tableColor: rgb(212, 155, 155);
}

body,
*,
html {
    scroll-behavior: smooth;
    font-size: 1em;
}

h1 {
    font-size: 2.7em;
    font-family: monospace;
    letter-spacing: 4px;
    color: white;
}
h3 {
    font-size: 2em;
    font-family: monospace;
    letter-spacing: 4px;
    color: white;
}
.main-body {
    margin-top: 80px;
}

/*Buttons*/
.allBtns {
    color: var(--alternate);
    border: 1px solid var(--main);
    border-radius: 4px;
    padding: 0.7em;
    margin-top: 3em;
}

.allBtns:hover {
    color: white !important;
    background-color: var(--main);
    border: 1px solid var(--main);
    transition: 0.3s;
}

.btnGrps {
    color: var(--alternate);
    border: 1px solid var(--main);
    padding: 0.2em 0.2em 0.2em 0.2em;
    margin-bottom: 1em;
    margin-top: 1em;
    font-size: small;
}
.btnGrps:hover {
    color: white !important;
    background-color: var(--main);
    border: 1px solid var(--main);
    transition: 0.3s;
}

.btnSmall {
    background-color: white;
    width: auto;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.btn-group button {
    background-color: white;
    border: 1px solid var(--main);
    color: var(--alternate); /* White text */
    padding: 10px 24px; /* Some padding */
    cursor: pointer; /* Pointer/hand icon */
    float: left; /* Float the buttons side by side */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
    content: "";
    clear: both;
    display: table;
}

.btn-group button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}
.btn-group button:not(:first-child) {
    border-left: none; /* Prevent double borders */
}

/* Add a background color on hover */
.btn-group button:hover {
    background-color: var(--main);
    color: white;
}

/*-------Search bar-------*/

.search {
    width: 100%;
    position: relative;
    display: flex;
}

.searchTerm {
    width: 100%;
    border: 3px solid var(--main);
    border-right: none;
    padding: 5px;
    height: 2.2em;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #9dbfaf;
}

.searchTerm:focus {
    color: var(--main);
}

.searchButton {
    width: 40px;
    height: 1.75em;
    border: 1px solid var(--main);
    background: var(--main);
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/

.wrap {
    width: 34%;
    position: relative;
    right: 0em;
    float: right;
}
@media (max-width: 1112px) {
    .wrap {
        width: 40%;
    }
}
@media (max-width: 768px) {
    .wrap {
        width: 100%;
        margin-left: 2em;
    }
}
/*-------Table--------*/

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin-top: 6em;
}

th {
    border: 1px solid black !important;
    text-align: left;
}

td {
    border: 1px solid black;
    text-align: left;
}

th {
    padding: 0.75rem;
}

.main-color {
    color: var(--main);
}

.alternate-color {
    color: var(--alternate);
}

.btnWhite {
    background-color: white;
    width: 200px;
    margin: 0.25em;
    margin-top: 2em;
}

.logo-bank {
    float: left;
    height: 70px;
    width: 70px;
    margin-left: 1em;
}
.heading {
    font-size: larger;
    margin-top: 1.8em;
    margin-left: 1.8em;
}

.container {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: white;
    border: 1px solid var(--alternate);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: white;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: var(--main);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.add {
    border: 1px solid var(--alternate);
}
.edit {
    border: none;
    background-color: transparent;
    padding: 0px;
    width: 100%;
}

.editSelect {
    border: none;
    background-color: transparent;
    padding: 3px;
    width: 100%;
}

.editPrice {
    border: none;
    background-color: transparent;
    padding: 0px;
    width: 50%;
}

.editBox {
    background-color: transparent;
    padding: 1px;
    width: 100%;
}

.edit2 {
    border: none;
    background-color: transparent;
    padding: 2px;
    width: 100%;
}

.editDate {
    border: none;
    background-color: transparent;
    padding: 0px;
    width: 100%;
    font-size: small;
}

.padding {
    margin-top: 1.2em;
}
.padding-more {
    margin-top: 2.6em;
}

.select-css {
    display: block;
    font-family: sans-serif;
    color: rgba(0, 0, 0, 0.37);
    line-height: 1.3;
    padding: 0.2em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.123);
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0px;
    background-color: #fff;
}
.select-css::-ms-expand {
    display: none;
}
.select-css:hover {
    border-color: #888;
}
.select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}
.select-css option {
    font-weight: normal;
}

.sidebar-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
    border-top: 1px solid #242424a9;
    background-color: var(--main);
}

.sidebar-footer > span {
    flex-grow: 1;
    text-align: left;
    height: 30px;
    line-height: 30px;
    position: relative;
    margin-left: 20px;
    color: white;
}
.active > i {
    color: var(--alternate) !important;
}
.active > span {
    color: var(--main);
}
.imgClm {
    position: relative;
    width: 4em;
    height: 4em;
    padding: 0px !important;
}
.p0 {
    padding: 0px !important;
}

.wrapBtns {
    display: inline-block;
    position: relative;
    width: 64%;
}

@media (max-width: 774px) {
    .wrapBtns {
        margin-top: 20px;
        width: 100% !important;
    }
}
@media (max-width: 1112px) {
    .wrapBtns {
        width: 59%;
    }
}

.upperBtns {
    display: grid;
    grid-template-areas: "header header header";
    position: relative;
}

.upperBtns input[type="button"] {
    padding: 0em;
    height: 2.2em;
    width: auto;
    margin-top: 0px;
}
.chartContainer {
    width: 700px;
    height: 700px;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 20px;
}

.table table tr {
    border: 1px solid;
    border-color: black;
}

.table table tr td {
    border: 1px solid;
    border-color: black;
    padding: 5px;
}

.table table tr:first-child {
    background-color: var(--alternate);
}

.table table tr:nth-child(odd):not(:first-child) {
    background-color: var(--tableColor);
}

a {
    color: black !important;
    text-decoration: none !important;
}
a:hover {
    color: black !important;
    text-decoration: none !important;
}
