.flex-and-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-and-center-top {
    display: flex;
    flex-direction: row wrap;
    justify-content: center;
}

.jumbotron {
    padding: 4rem 2rem;
}


.element-item-default:focus {
    border: 3px solid #303030;
}
html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }


/* Search Table Styles */

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.tc-header-row {
    border: solid;
}

.tc-header-row th {
    padding: 0.75%
}

.arrow-button {
    border: aqua 2px solid;display: flex;
    height: 30px;
    gap: 5px;
    background-color: aqua;
    border-radius: 5px;

}

.arrow-button:disabled {
    border-color:#999999;
    background-color: #999999;
}

/* allow page divs to keep content accessible with the nav bar */


@media (max-width:641px) {
    .buffer-bar {
        height: 55px;
    }

    .bottom-bar {
        display:block;
        height: 50px;
        width: 100%;
    }
}

@media (min-width: 641px) {
    .buffer-bar {
        height: 55px;
    }

    .bottom-bar {
        display: none;
    }
}


.element-item {
    padding: 5px;
}

.tag-bubble {
    border-radius: 10px;
    height: 25px;
    /* background-color: darkturquoise; */
    display: flex;
    flex-direction: row;
    width: min-content;
}

.tag-bubble > p {
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
}

input:disabled+label {
  color: #ccc;
}

.brand-option {
    max-height: 100px;
    display: flex;
    flex-wrap: row wrap;
}

.brand-img-holder {
    margin: 5px;
}

.brand-img-holder img {
    width: 50px;
    height: 50px;
}

.brand-name-holder {
    height: 100%;
    flex-grow: 1;
    padding-left: 5px
}

.brand-name {
    /* position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%); */
}

.brand-option:hover {
    background-color: aliceblue;
}

.exit-div {
    width: 24px;
    height: 24px;
    border: solid aliceblue;
    display: flex;
    align-content: center;
    justify-content: center;
}

.exit-div:hover {
    background-color: red;
}

.resource-cur-sel {
    display: flex;
    gap: 10px;
    width: fit-content;
}

#rs-type-holder {
    display: flex;
    flex-flow: row wrap;
}

#rs-image {
    width: 100%;
}

.rs-table-holder {
    min-width: 320px;
    flex-grow: 1;
    padding: 5px;
    position: relative;

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

/* To-Do: Add Formatting for Tables in both Matadata and Markdown */

.rs-table-holder table {
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #eee;
    width: 95%;

    /* position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%); */


}

.rs-table-holder td, .rs-table-holder th {
    border: solid 1px #aaa;
    padding: 5px;
}

.rs-table-holder tr:nth-child(even){
    background-color: #eee;
}

.rs-table-holder tr:hover {
    background-color: #aaa;
}

.rs-table-holder th {
    padding: 10px;
    background-color: #ccc;
}

/* Modern interactive table styles for falsehood count table */
#falsehood-count-table {
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    width: 95%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 6px;
    overflow: hidden;
}

#falsehood-count-table thead tr:first-child th {
    background-color: #4a6fa5;
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

#falsehood-count-table thead tr:last-child th {
    background-color: #6b8cba;
    color: #fff;
    font-size: 0.88rem;
}

#falsehood-count-table thead th[id]:hover {
    background-color: #3a5a8a;
    transition: background-color 0.2s;
}

#falsehood-count-table tbody tr:nth-child(even) {
    background-color: #f0f4fa;
}

#falsehood-count-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

#falsehood-count-table tbody tr:hover {
    background-color: #dce8f5;
    transition: background-color 0.15s;
}

#falsehood-count-table .severity-cell {
    font-weight: 500;
    color: #2c3e50;
}

#falsehood-count-table .severity-cell:hover {
    background-color: #b8d0ed;
    transition: background-color 0.15s;
}

#falsehood-count-table .count-cell {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#falsehood-count-table .count-cell:hover {
    background-color: #a8c8e8;
    transition: background-color 0.15s;
}

#falsehood-count-table td,
#falsehood-count-table th {
    border: 1px solid #b0bec5;
    padding: 8px 12px;
}