.motionDatabase {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 93vh;
}
.notLoaded {
    overflow-y: hidden;
}
.pageTitle {
    width: 100%;
    display: flex;
    align-items: center;
    font-family: "Lora", serif;
    margin-top: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1rem; /*1rem*/
}
.motionFilters {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}
.motionFilters input {
    text-align: center;
}
.motionFilter {
    width: 21rem; /*19*/
    margin: 0.2rem; /*0.2*/
    font-size: 0.9rem; /*0.75*/ 
}
.motionFilter input {
    font-family: "Lora", serif;
}
.queryBox {
    border: 1.5px solid #e1e1e1;
    border-radius: 3px;
    padding: 0.5rem;
    height: 2.33rem;
    font-family: "Lora", serif;
}
/* Chrome, Safari, Edge, Opera */
.maxBox::-webkit-outer-spin-button,
.maxBox::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.maxBox[type=number] {
  -moz-appearance: textfield;
}
#searchMotionsButton {
    background-color: #282a35;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 10px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1rem; /*0.8*/
    padding: 0.6rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
#searchMotionsButton:hover {
    background-color: #000000;
}
.displayMotionDatabase {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.tableDatabase {
    display: flex;
    flex-direction: column;
    width: 80%; /*60%*/
    border-collapse: collapse;
}
.databaseHeaderRow {
    width: 100%;
    display: flex;
}
.databaseTableHeader {
    display: flex;
    justify-content: center;
    margin: 0;
    border: 1px solid black;
    font-size: 1rem; 
}
.databaseTableRow {
    display: flex;
}
.databaseTableCell {
    font-size: 0.9rem; /*0.7*/
    border: 1px solid black;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.databaseTopicCell {
    display: flex;
    flex-direction: column;
}
.databaseAlignCenter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.submitNewMotionNotification {
    height: 7vh;
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.submitNewMotionNotification a {
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    margin: 1rem;
}
.submitNewMotionNotification button {
    height: 100%;
    background-color: #282a35;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 10px;
    font-family: "Source Sans Pro", sans-serif;
    padding: 0.3rem 0.5rem 0.3rem 0.5rem;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.submitNewMotionNotification button:hover {
    background-color: #000000;
}
@media only screen and (max-width: 379px) {
    .pageTitle {
        font-size: 0.9rem;
    }
    .motionFilter {
        width: 16.8rem;
        font-size: 0.8rem;
    }
    #searchMotionsButton {
        font-size: 0.9rem;
    }
    .tableDatabase {
        width: 98%;
    }
    .databaseTableHeader {
        padding: 0.5rem;
    }
    .submitNewMotionNotification div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        font-size: 0.8rem;
    }
    .submitNewMotionNotification a {
        height: 1.8rem;
    }
    .submitNewMotionNotification button {
        font-size: 0.8rem;
        padding: 0.3rem 0.35rem 0.3rem 0.35rem;
    }
}
@media only screen and (max-width: 425px) and (min-width: 380px) {
    .pageTitle {
        font-size: 1rem;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    .tableDatabase {
        width: 90%;
        font-size: 1rem;
    }
    .databaseTableCell {
        font-size: 0.8rem;
    }
    .databaseTableHeader {
        font-size: 1rem;
        padding: 0.5rem;
    }
    #searchMotionsButton {
        font-size: 1rem;
        padding: 0.5rem;
    }
    .motionFilters {
        margin-bottom: 1rem;
    }
    .motionFilter {
        width: 20rem;
        margin: 0.2rem;
        font-size: 0.9rem;
    }
    .submitNewMotionNotification {
        font-size: 0.9rem;
    }
    .submitNewMotionNotification div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .submitNewMotionNotification a {
        height: 1.8rem;
    }
    .submitNewMotionNotification button {
        padding: 0.3rem;
    }
}
@media only screen and (max-width: 768px) and (min-width: 426px) {
    .tableDatabase {
        width: 90%;
        font-size: 1rem;
    }
    .pageTitle {
        font-size: 1.5rem;
    }
    .motionFilter {
        font-size: 1.3rem;
        width: 55vw;
        margin: 0.4rem;
    }
    #searchMotionsButton {
        font-size: 1.3rem;
        padding: 0.4rem 0.6rem 0.4rem 0.6rem;
        /* padding-left: 0.9rem;
        padding-right: 0.9rem; */
    }
    .databaseTableCell {
        font-size: 1.3rem;
    }
    .databaseTableHeader {
        font-size: 1.3rem;
    }
    .submitNewMotionNotification div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        font-size: 1.3rem;
    }
    .submitNewMotionNotification a {
        height: 1.8rem;
    }
    .submitNewMotionNotification button {
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0.4rem;
    }
}
