@import "constants.css";

/* HEADER AND FOOTER */
:root {
    --dt-row-selected: 200, 0, 50;
}

menu {
    display: flex;
    flex-direction: row;
    background-color: var(--red-color);
}

a.menu, p.menu {
    background-color: var(--red-color);
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 1rem 2rem 1rem 2rem;
    min-width: fit-content;
}

a.menu:hover {
    background-color: var(--t-white);
    color: var(--red-color);
}

a.logout {
    margin-left: auto;
}

p.menu {
    width: 100%;
    text-align: center;
    font-weight: lighter;
    padding: 0.9rem;
    font-size: 1.2rem;
}

footer {
    margin-top: auto;
    min-height: 0.5rem;
    background-color: var(--red-color);
}

/* INFO BOX AND SEARCH */
/* search */
div.selection {
    margin: auto;
    margin-top: 5rem;
    /* background-color: #dee2e6; */
    /* background-color: var(--red-color); */
    /* padding: 0.2rem; */
    padding: 0.5rem;
    border-radius: var(--rounding-amount);
    max-height: fit-content;
    max-width: 65rem;
    min-width: 65rem;
}

div.search {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5rem;
}

form {
    min-width: 100%;
    display: flex;
    /* margin-bottom: 0.2rem; */
}
/* 
select {
    padding: 0.3rem;
    margin: 0;
    font-size: 1.2rem;
    border: none;
    background-color: var(--red-color);
    color: white;
    font-weight: bolder;
    width: 4rem;

    border-radius: 0.2rem;
} */
/* 
input.search-bar, input.search-bar:focus, input.button {
    font-size: 1.2rem;
    width: auto;
    border: none;
    border-radius: 0.2rem;
    padding: 0.3rem;
    margin: 0.1rem 0.1rem 0 0.3rem;
    outline: none;
    max-height: 1.8rem;
    flex-grow: 1;
    border: 0.1rem var(--red-color) solid;
}

input.button {
    padding-left: 1rem;
    padding-right: 1rem;
    max-height: 100%;
    flex-grow: 0;
    margin-left: 0;
    border-radius: 0 0.2rem 0.2rem 0;
    margin-right: 0.2rem;
} */

div.info-wrapper {
    margin-top: 0.2rem;
    display: flex;
    flex-direction: column;
    min-width: fit-content;
}

div.search-results {
    max-width: 60.5rem;
    min-width: 60.5rem;
    margin-right: 0.1rem;
    margin-left: 4.5rem;
}

table.results-table {
    background-color: white;
    margin-top: 0;
    min-width: 100%;
    border-radius: 0 0 0.2rem 0.2rem;
}

a.search-link {
    padding: 0.2rem;
    background-color: white;
}

a.search-link:hover {
    color: var(--t-white);
}

/* body */
div.information {
    background-color: white;
    min-height: auto;
    border-radius: 0 0 0.2rem 0.2rem;
    display: flex;
    flex-direction: row;
}

div.dt-layout-row {
    margin: 0 !important;
}

table {
    max-width: 50rem;
    /* border-right: 0.1rem var(--red-color) solid;
    border-left: 0.1rem var(--red-color) solid; */
}

table.main-table {
    /* border-right: 0.1rem var(--red-color) solid; */
    /* border-left: 0.1rem var(--red-color) solid; */
    min-width: 49.4rem;
    max-width: 49.4rem;
}

div.right-side {
    display: flex;
    flex-direction: column;
    max-width: 15rem;
    min-width: 15rem;
    min-height: 100%;
    margin-left: 0.5rem
}

button {
    outline: none;
    border: none;
    background-color: var(--red-color);
    color: white;
    min-height: 4rem;
    min-width: auto;
    margin-top: auto;
    font-size: 1.4rem;
    font-weight: 300;
}

button:hover {
    background-color: var(--t-red);
}

a {
    text-decoration: none;
    color: var(--red-color);
}

a:hover {
    color: var(--t-red)
}

div.index-table, div.personal-table {
    /* background-color: var(--red-color); */
    max-width: 30rem;
    min-width: 30rem;
    /* margin: auto; */
    margin: 5rem;

    padding: 1rem;
}

div.index-table, div.personal-table, div.main-table, div.help {
    box-shadow: 0rem 0rem 1rem #dee2e6;
    border-radius: 0.3rem;
}

div.help {
    max-width: 40rem;
    min-width: 40rem;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1.4rem;
}

div.help ol li { 
    margin-left: 2rem;
}

div.help ol li ul li {
    margin-left: 2rem;
}

div.inner-wrapper {
    /* border-radius: 3px; */
    /* border: 3px var(--red-color) solid; */
    /* padding: 0.5rem; */
}

table#index-table {
    border: 0px;
}

button.dt-paging-button {
    padding: 0.2rem !important;
    margin-top: 0.5rem;
    max-height: 2rem;
    min-height: 2rem;
    font-size: 1rem;
}

div.index-wrapper {
    display: flex;
}

form.logout {
    max-width: auto;
    min-width: auto;
    padding: 0;
}

button.logout {
    min-width: 8rem;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem;
    max-height: 100%;
    min-height: 100%;
    margin: 0;
}

div.main-table {
    max-width: fit-content;
    padding: 1rem;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.mono {
    font-family: "Roboto Mono", monospace;
}

.row-button {
    font-size: 1rem;
    margin: 1rem;
    border-radius: 0.5rem;
    padding: 0.2rem;
    padding-left: 0.7rem;
    padding-right:0.7rem;
    max-height: fit-content;
    min-height: fit-content;
}

div.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#updates {
    color: var(--red-color);
    margin-bottom: 1rem;
}

div.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

button.export, button.remove {
    width: 48%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 0.5rem;
}

button.remove {
    background-color: #868e96;
}
button.remove:hover {
    background-color: #adb5bd;
}

div.help h4 {
    padding: 0.5rem;
    width: 39rem;
    color: white;
    background-color: var(--red-color);
    border-radius: 0.3rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.login ul {
    list-style-type: none;
}

.export-button {
    min-width: 48%;
    padding: none;
    margin: none;
}

.export-button button {
    min-width: 100%;
}

ul.contents li {
    list-style-type: none;
    font-size: 1.4rem;
}

div.help {
    padding-top: 0.5rem;
}

div.help h1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
