body {
    background-color: dimgray;
    color: #555555;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6em;
    margin: 0;
    margin-top: 2px;
    user-select: none;
    margin: 0;
}

img {
    vertical-align: middle;
    user-select: none;
}

.container body-content {
    border: 5px #333 solid;
}

.main-header {
    text-align: center;
    font-style: italic;
    background-color: steelblue;
    color: white;
    font-weight: 700;
    padding: 6px;
    border-bottom: 1px #333 solid;
}

.container-heading {
    background-color: steelblue;
    color: white;
    margin-top: 0;
    margin-bottom: 0;
    border: solid 1px black;
    border-left: 0;
    border-right: 0;
    padding: 10px;
    text-align: center;
    font-style: italic;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-inputForm {
    border: 1px #333 solid;
    background-color: #d3d3d3;
    border-left: solid steelblue 3px;
    border-right: solid steelblue 3px;
    border-bottom: solid steelblue 3px;
}

.instructional-heading {
    padding-left: 10px;
}

.message-input {
    background-color: #d3d3d3;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

    .message-input label {
        display: inline-block;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: medium;
    }

    .message-input textarea {
        vertical-align: middle;
        resize: vertical;
        padding: 2px 4px;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
    }

.clinics {
    border: 2px #ccc solid;
    padding: 10px;
    border-radius: 15px;
    margin: 0 10px;
}

    .clinics h3 {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-align: center;
        text-decoration: underline;
        margin: 0 0;
        margin-bottom: 20px;
    }

    .clinics li {
        list-style: none;
    }

.input-form {
    padding: 20px;
    padding-bottom: 15px;
}

    .input-form input[type="text"], .input-form textarea {
        padding: 8px;
        width: 100%;
    }

.campaign-links {
    background-color: #ffffff;
    border: 2px #646464 solid;
    padding: 10px;
    padding-top: 5px;
    border-radius: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

    .campaign-links hr {
        margin-top: 6px;
        margin-bottom: 16px;
        border-top: 1px solid #646464;
    }

    .campaign-links h3 {
        color: black;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-align: center;
        text-decoration: underline;
        margin-bottom: 15px;
        margin-top: 0;
    }

.campaignName-link {
    color: rgb(20, 135, 250);
    background-color: #ffffff;
    border: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: underline;
}

.campaign-links input:hover {
    color: rgb(102, 176, 250);
}

.button-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .button-group input {
        margin-top: 10px;
        margin-bottom: 5px;
        padding: 0.2em 1.45em;
        font-weight: 500;
    }

.hyperlink {
    color: rgb(20, 135, 250);
    background-color: #d3d3d3;
    border: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: underline;
    font-weight: 500;
    padding: 1px 6px;
}

    .hyperlink:hover {
        color: rgb(102, 176, 250);
    }

    .hyperlink:disabled {
        background-color: #d3d3d3;
        border: 0px;
        color: rgb(157 167 177);
        cursor: not-allowed;
    }

.errorMsg-page h3 {
    color: red;
    font-style: italic;
    background-color: #d3d3d3;
    margin: 0;
    padding: 20px;
    border-left: solid steelblue 3px;
    border-right: solid steelblue 3px;
}

.gracehealth-header {
    background-color: #fdfdfd;
    border: steelblue 3px solid;
    /*border-bottom: 333 1px solid;*/
    padding: 5px;
    width: 100%;
    user-select: none;
}

    .gracehealth-header img {
        width: 40%;
    }

.spinner-wrapper {
    width: 100%;
    height: 100%;
    background-color: #151515;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 75%;
    position: fixed;
}

.spinner-wrapper {
    margin-top: 0;
}

.spinner {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
}

    .spinner::before,
    .spinner:after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .spinner:before {
        width: 100%;
        height: 100%;
        background-image: linear-gradient(90deg, #1581be 0%, rgb(255 255 255 / 0%) 100% );
        animation: spin .5s infinite linear;
    }

    .spinner:after {
        width: 90%;
        height: 90%;
        background-color: #151515;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.spinner-wrapper p {
    color: #4682b4;
    opacity: 100%;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.replyMessageInput-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .replyMessageInput-group textarea {
        resize: none;
        width: 100%;
        height: 100px;
        overflow-y: auto;
    }

        .replyMessageInput-group textarea:focus {
            outline: none !important;
            border-color: #2c75ff;
            box-shadow: 0 0 10px #719ECE;
        }

input[type="text"]:focus, input[type="password"]:focus {
    outline: none !important;
    border-color: #2c75ff;
    box-shadow: 0 0 10px #719ECE;
}

/* Disable numeric up/down on numeric text box elements */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.searchBy-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.radioButton-group {
    margin-right: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
}

    .radioButton-group input[type="radio"] {
        margin-right: 2.5px !important;
    }

    .radioButton-group text {
        white-space: nowrap;
    }


/* Navbar Styling */
* {
    /*padding: 0;*/
    /*margin: 0;*/
    /*box-sizing: border-box;*/
}

header * {
    padding: 0;
}

nav {
    background-color: #fdfdfd;
    border: 3px solid steelblue;
    min-height: 70px;
    padding: 0 15px;
}

.menu,
.submenu {
    list-style-type: none;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
}

.logo {
    padding: 7.5px 10px 7.5px 0;
}

    .logo button {
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

    .logo img {
        padding: 7.5px 10px 7.5px 0;
    }

.menu .menu-links {
    display: flex;
    align-items: center;
}

.item {
    padding: 10px;
    text-align: center;
    position: relative;
    display: block;
    width: auto;
    cursor: pointer;
}

.menu input {
    display: flex;
    align-items: center;
    /*padding: 15px 5px;*/
    text-align: center;
    text-decoration: none;
    color: rgb(20, 135, 250);
    background-color: transparent;
    border: none;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
    white-space: break-spaces;
}

/* Submenus */
.submenu {
    display: none;
}

.item .user-dropdown {
    padding: 0px;
    padding-right: 2px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}

.has-submenu a {
    display: flex;
    align-items: center;
    padding: 15px 5px;
    text-align: center;
    text-decoration: none;
}

/* Drop Down Icon */
.has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
    content: "\f078";
    color: rgb(20,135,250);
    padding-left: 5px;
}

/* Drop Down Menu Item Link*/
.menu li.subitem input {
    padding: 15px;
}

.submenu-active .user-dropdown {
    outline: none !important;
    border: 1px solid #2c75ff;
    box-shadow: 0 0 10px #719ECE;
}

.submenu-active .submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: -20px;
    top: 68px;
    background: #fdfdfd;
    border: 2px solid steelblue;
    box-shadow: 0 0 5px #719ECE;
}

/* Adds a border in between each drop down list item */
.submenu :not(:last-child) {
    border-bottom: 1px solid steelblue;
}

/* Color of hyperlinks & drop down arrow when hovered over */
.item a:hover,
.item input:hover,
.item a:hover::after {
    color: rgb(102, 176, 250) !important;
}

.hamburger {
    display: none; /* Hide by default */
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(20, 135, 250);
}

.hamburger:hover .bar {
    background-color: rgb(102, 176, 250);
}

/* Activated when the width of the display is 852px or less */
@media all and (max-width: 852px) {
    .menu .menu-links {
        position: absolute;
        left: -100%;
        top: 77px;
        gap: 0;
        flex-direction: column;
        background-color: #fdfdfd;
        width: 100%;
    }

    .menu-links .item {
        /*margin: 16px 0;*/
        padding-left: 0;
        padding-right: 0;
    }

    .menu-links.active {
        left: 0;
        margin: 0 15px;
        width: -webkit-fill-available;
        border: 3px solid steelblue;
        border-top: none;
        z-index: 1;
    }

    .hamburger {
        display: block;
    }

        /* Hamburger to X Animations */
        .hamburger.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg); /* Move the 1st bar up the Y axis by 8px and rotate 45 degrees */
        }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0; /* Hide the second hamburger bar */
        }

        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg); /* Move the 3rd bar down the Y axis by 8px and rotate -45 degrees */
        }
}

/* Button styling properties */
.upperButton-group {
    background-color: #d3d3d3;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: left;
    margin-bottom: 0;
    padding: 14px;
    padding-left: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6em;
}

    .upperButton-group .blue-button /*input[type="submit"], button[type="button"]*/ {
        margin-left: 8px;
        margin-bottom: 7px;
    }

.red-button {
    background-color: firebrick;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6em;
    /*padding: 0.2em 1.45em;*/
    padding: 0px 6px;
    border: 2px outset buttonborder;
}

    .red-button:hover {
        background-color: rgb(144 0 0 / 1);
    }

    .red-button:disabled {
        background-color: #dddddd;
        color: #cccccc;
        outline-style: solid;
        outline-width: thin;
        cursor: not-allowed;
        border: 2px solid #CCCCCC;
    }

.blue-button {
    background-color: steelblue;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6em;
    /*padding: 0.2em 1.45em;*/
    padding: 0px 6px;
    border: 2px outset buttonborder;
}

    .blue-button:hover {
        background-color: rgb(20 80 130 / 1);
    }

    .blue-button:disabled {
        background-color: #dddddd;
        color: #cccccc;
        outline-style: solid;
        outline-width: thin;
        cursor: not-allowed;
        border: 2px solid #CCCCCC;
    }

    .blue-button.inbox-button {
        padding: 2px 6px !important;
        text-wrap: nowrap !important;
    }

.green-button {
    background-color: green;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6em;
    padding: 0.2em 1.45em;
    border: 2px outset buttonborder;
}

    .green-button:hover {
        background-color: rgb(0 78 0 / 1);
    }

    .green-button:disabled {
        background-color: #dddddd;
        color: #cccccc;
        outline-style: solid;
        outline-width: thin;
        cursor: not-allowed;
        border: 2px solid #CCCCCC;
    }

.first-in-group {
    margin-right: 6px;
}

.searchAndFilter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background-color: #d3d3d3;
    padding-bottom: 12px;
}

    .searchAndFilter-group input[type="text"] {
        margin-left: 14px;
    }

        .searchAndFilter-group input[type="text"]:focus {
            outline: none !important;
            border-color: #2c75ff;
            box-shadow: 0 0 10px #719ECE;
        }

    .searchAndFilter-group input[type="datetime-local"]:focus {
        outline: none !important;
        border-color: #2c75ff;
        box-shadow: 0 0 10px #719ECE;
    }

    .searchAndFilter-group select:focus {
        outline: none !important;
        border-color: #2c75ff;
        box-shadow: 0 0 10px #719ECE;
    }

    .searchAndFilter-group.stretch-items {
        align-items: stretch;
    }

.filterControl-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /*padding-bottom: 4px;*/
}

    .filterControl-group b {
        white-space: nowrap;
        margin-right: 6px;
        margin-left: 14px;
    }

/* Password Requirements List */
.password-requirements-list {
    list-style-type: none;
    padding-inline-start: 20px;
}

    .password-requirements-list li {
        display: flex;
    }

        /* Default password requirements list bullet point type */
        .password-requirements-list li:before {
            font-family: "Font Awesome 5 Free";
            content: "\f111";
            font-weight: 900;
            font-size: 8px;
            padding-right: 2px;
        }

        .password-requirements-list li.error {
            color: rgb(255 0 0);
        }

            /* Error bullet list type */
            .password-requirements-list li.error:before {
                font-family: "Font Awesome 5 Free";
                font-size: inherit;
                /*font-weight: inherit;*/
                /*content: "\58";*/
                font-weight: 900;
                content: "\f057";
            }

        .password-requirements-list li.pass {
            color: rgb(0 98 0);
        }

            /* Pass bullet list type */
            .password-requirements-list li.pass:before {
                font-family: "Font Awesome 5 Free";
                /*content: "\f00c";*/
                font-size: inherit;
                content: "\f058";
            }

.error-message {
    color: red;
    margin-left: 5px;
    width: auto;
    font-weight: 800;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
