* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
}

:root {
    --DARK-COLOR: #333;
    --LIGHT-COLOR: #fff;
    --FS: clamp(.85rem, 2vw, 1rem);
    --MEDIUM-FS: clamp(.75rem, 2.5vw, 1em);
    --GREATER-FS: clamp(1rem, 3.5vw, 1rem);
}

header {
    top: 0;
    background-color: var(--DARK-COLOR);
    color: var(--LIGHT-COLOR);
    position: sticky;
    text-align: center;
}

body {
    font: var(--FS);
    min-height: 100vh;
    display: flex;
    flex-flow: column nowrap;
    background-color: var(--LIGHT-COLOR);
    color: var(--DARK-COLOR);
}

.headTable {
    border: none;
    width: 100%;
    height: 48px;
    border-collapse: collapse;
    padding: 0px;
    margin: 0px;
}

td {
    border: none;
    width: 25%;
}

.callDoc {
    background-color: #ab0000;
    box-sizing: border-box;
    overflow: hidden;
}

main{
    min-height: 80%;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    border-radius: 35px;
    background-color: #fefefe;
    margin: 15% auto;
    font-size: var(--FS);
    /* 15% from the top and centered */
    padding: 20px;
    border: 5px solid #888;
    width: 80%;
    height: 70%;
    /* Could be more or less, depending on screen size */
}

.modalHeader{
    text-align: center;
}

.form{
    /* border: 5px solid red; */
    margin-top: 2rem;
    min-height: 80%;
    min-width: 20%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-flow: column nowrap;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.medicationList{
    min-height: 70%;
    border: 5px solid red;
}

.deleteButton{
    float:right;
    border: none;
    background-color: #ab0000;
    border-radius: 5px;
    height: 1.5rem;
    margin: .2rem;
}

.deleteButton:hover{
    cursor: pointer;
}
.medListItems{
    border: 3px solid #333;
    border-radius: .3rem;
    padding: 0.4rem;
    font-size: var(--FS);
    background-color: white;
    margin: 0 .8rem .8rem .8rem;
    height: 100px;
}

.medListDosage{
    float:right;
}

.medListScientific{
    margin-bottom: 1rem;
}

.medicationHeader{
    text-align: center;
    margin-bottom: .5rem;
}

.myBtn{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;    
    align-items: center;
}


.dropdown{
    font-size: .7rem;
    max-width: 80%;
    font-style: 'Montserrat';
}

.medListName{
    font-weight: bold;
}

.form .inLine input {
    width: 10%;
}