html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.heading-h3 {
    color: rgb(2, 58, 112);
    overflow-wrap: anywhere;
    font-size: 1.9375rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.25;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the wrapper takes at least the full height of the viewport */
}

.content {
    /*flex: 1;*/ /* Allow the content to grow and fill the available space */
}

.footer {
    flex-shrink: 0; /* Prevent the footer from shrinking */
    width: 100%;
    min-height: 415px;
    background-color: #023A70;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 32px;
    font-family: 'DM Sans', sans-serif;
}

    .footer a {
        color: white;
        text-decoration: none; /* Optional: Removes the underline */
    }

        .footer a:hover {
            color: white; /* Optional: Changes the color when the link is hovered */
        }

.circle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Adjust the size as needed */
    height: 40px; /* Adjust the size as needed */
    border-radius: 50%;
    border: 1px solid rgb(12, 114, 206); /* Adjust the border thickness and color as needed */
    color: rgb(12, 114, 206); /* Adjust the color of the icon as needed */
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for color change */
    float: right;
}

    .circle-button:hover {
        background-color: rgb(12, 114, 206); /* Change background color on hover */
        color: white; /* Change icon color to white on hover */
    }

.small-button {
    min-width: 90px;
    padding: 6px 9px;
    font-size: 0.8125rem;
    border: 1px solid white;
    box-shadow: none;
    border-radius: 100px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.75;
    text-transform: none;
    color: white;
    text-decoration: none;
}

.box-shadow-nav {
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}

.outer-container {
    max-width: 1400px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.cup-of-tea-guy {
    background: no-repeat center center;
    height: 800px;
    background-size: cover;
    background-position-x: 70%;
    background-image: url('/assets/images/cupoftea.jpg');
    padding-top: 80px;
    padding-bottom: 80px;
}

.homepage-banner {
    background: no-repeat center center;
    min-height: 500px;
    background-size: cover;
    background-position-x: 70%;
    background-image: url('/assets/images/homepage-banner.jpg');
    padding-top: 80px;
    padding-bottom: 80px;
}

.paper-elevated {
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
    border-radius: 8px;
    color: #353636;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    background-color: #fff;
    padding: 32px;
    max-width: 50%;
}

h1 {
    color: rgb(2, 58, 112);
    overflow-wrap: anywhere;
    font-size: 3.8125rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.25;
    margin: 0;
}

.menu-card {
    height: 100%;
    border-top: 10px solid #23A499;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
    border-radius: 8px;
    color: #353636;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    background-color: #fff;
    font-size: 0.875rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.43;
    padding: 24px;
    text-align: center;
}

h3 {
    color: #353636;
    font-size: 1.25rem;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: left;
}

.view-button {
    background-color: #FFFFFF;
    color: #0C72CE;
    border: 1px solid rgba(12, 114, 206, 0.5);
    box-shadow: none;
    padding: 10px 16px;
    min-width: 150px;
    border-radius: 100px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.75;
    text-transform: none;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    vertical-align: middle;
    -moz-appearance: none;
    justify-content: center;
    text-decoration: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.form-control {
    border-color: #023A70;
    border-width: 2px;
    width: 100%;
    max-width: 450px;
}

    .form-control:disabled {
        background-color: #F2F2F2;
    }

.form-select {
    border-color: #023A70;
    border-width: 2px;
    width: 100%;
    max-width: 450px;
}

.container {
    max-width: 1185px;
}

.btn-facebook {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 15px;
}

    .btn-facebook i {
        color: #023A70;
        font-size: 18px;
    }

    .btn-facebook:hover {
        background-color: transparent;
        border: 2px solid white;
    }

        .btn-facebook:hover i {
            color: white;
        }

.social-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.small-title {
    font-weight: 500;
    text-align: left;
}
    .small-title > label {
        width: 100%;
    }

    .small-title > label > div {
        margin-top: 0.35em;
    }

.standard-spacing {
    margin-top: 32px;
}

.CText {
    color: #353636;
    font-size: 1.25rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.CLargeText {
    font-size: 1.9375rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.25;
    color: rgb(2, 58, 112);
    overflow-wrap: anywhere;
}

.CSmallText {
    color: #353636;
    font-size: 0.8125rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.OutlinedInput {
    position: relative;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 15.5px 14px;
}

.Inputbase-root {
    color: #353636;
    cursor: text;
    display: inline-flex;
    position: relative;
    font-size: 1rem;
    box-sizing: border-box;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.1876em;
}


.square-bg {
    background-color: #17a2b8;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    width: 75px;
    height: 75px;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 6px;
}

.card-hover:hover {
    background-color: #f8f9fa; /* Change this to your desired hover color */
}

.card-body {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title, .card-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Wrapper for the table to apply border and radius */
.table-wrapper {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    overflow-x:auto; /* Ensures the radius is applied to the whole table */
}

/* Base styles for the table */
.table-mui {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    border-collapse: collapse;
    border: none;
}

    /* Styles for table headers */
    .table-mui th,
    .table-mui td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .table-mui th {
        background-color: #f5f5f5;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #333;
    }

    .table-mui tr:hover {
        background-color: #f5f5f5;
    }

.table-pin-users {
    table-layout: fixed;
}

    .table-pin-users th, .table-mui td {
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Alternating row styles */
.dgAltItem-black {
    background-color: #f5f5f5;
}

.dgItem-black {
    background-color: white;
}

/* Header alignment */
.thead-light {
    text-align: center;
    background-color: #e0e0e0;
}

/* Additional styling for responsive tables */
@media (max-width: 768px) {
    .table-mui th,
    .table-mui td {
        padding: 8px 12px;
    }
}

.thead-grey {
    background-color: #353636;
    color: #ffffff !important;
    text-decoration:none;
}

    .thead-grey:hover {
        background-color: #353636 !important;
        color: #ffffff !important;
        text-decoration: none;
    }

    .thead-grey a {
        background-color: #353636 !important;
        color: #ffffff !important;
        text-decoration: none;
    }

.link-button {
    display: inline-block;
    padding: 12px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.54);
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none; /* Remove underline */
    float: right;
}

    .link-button:hover {
        background-color: #efefef; /* Grey background on hover */
        color: rgba(0, 0, 0, 0.54); /* Ensure the icon color is black on hover */
    }


.client_item {
    padding: 16px;
}

.clientpaper {
    height: 100%;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
    border-radius: 8px;
    color: #353636;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    background-color: #fff;
    box-sizing: inherit;
}

.clientroot {
    height: 100%;
    display: flex;
    padding: 16px;
    flex-direction: column;
}

.clientdetails {
    color: #353636;
    font-size: 0.8125rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.clientselectbutton {
    display: inline-flex;
    margin-bottom: 16px;
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
    text-decoration: none;
}

.half-spacing {
    margin-top: 16px;
}
.input-group-text {
    background-color: transparent;
}

.input-group-prepend .input-group-text {
    background-color: transparent;
}

.input-group-prepend input {
    border-left: 0;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: #023A70;
}

.input-margin-override input {
    margin-right: 5px;
}


.carousel-inner .carousel-item {
    display: flex;
    justify-content: space-between;
}

    .carousel-inner .carousel-item > .card {
        flex: 1 0 33.33%;
        margin: 0 10px;
    }

.blue-card {
    background-color: #0C72CE;
    padding: 1.4rem;
    border: none;
    color: white;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.blue-card-dark-text {
    color: white;
    font-size: 0.8125rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.35em;
    overflow-wrap: anywhere;    
}

.blue-card-white-text {
    font-size: 1.25rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(255, 255, 255);
    overflow-wrap: anywhere;
}



.pager-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin: 0 5px;
    color: #999;
    text-decoration: none;
}
    .pager-link:hover {
        background-color: #E9F6FA;
        color: #999;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: inline-block;
        line-height: 35px;
        text-align: center;
        margin: 0 5px;
        text-decoration: none;
    }

    .pager-link.disabled {
        color: #999;
        pointer-events: none;
        border-color: #ddd;
    }

.current {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-block;
    line-height: 35px;
    text-align: center;
    margin: 0 5px;
    text-decoration: none;
}

.current:hover {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-block;
    line-height: 35px;
    text-align: center;
    margin: 0 5px;
    text-decoration: none;
}


.urgent-newsflash-panel {
    max-width: 920px;
    border-radius: 12px;
}
    .urgent-newsflash-panel .accordion-button::after {
        order: -1; 
        margin-left: 0 !important;
        margin-right: .75rem; 
    }

.urgent-newsflash-header {
    background: #ffc107;
    color: #0b274a;
    border-bottom: 1px solid #e6a800;
    padding: 10px 14px;
    overflow: hidden;
}

.urgent-newsflash-item-header {
    background: white;
    border-radius: 0 !important;
}
    .urgent-newsflash-item-header .dismiss-one-button {
        z-index: 6;
        background: transparent;
        border-radius: 40px;
    }

    .urgent-newsflash-item-header .dismiss-one-button:hover,
    .urgent-newsflash-item-header .dismiss-one-button:focus {
        border-color: #ced4da;
        box-shadow: none;
    }

    .urgent-newsflash-item-header .dismiss-one-button i {
        pointer-events: none;
    }

    .urgent-newsflash-item-header .accordion-item:first-of-type {
        border-radius: 0 !important;
    }

        .urgent-newsflash-item-header .accordion-item:first-of-type > .accordion-header {
            border-radius: 0 !important;
        }

            .urgent-newsflash-item-header .accordion-item:first-of-type > .accordion-header .accordion-button {
                border-radius: 0!important;
            }

    .urgent-newsflash-item-header .accordion-button:not(.collapsed) {
        border-radius: 0 !important;
        color: var(--bs-accordion-btn-color);
        background-color: var(--bs-accordion-btn-bg);
    }

.urgent-newsflash-footer {
    background: white;
    padding: 10px 14px;
}

    .urgent-newsflash-footer .dismiss-all-button {
        border-radius: 100px;
        background: #ffc107;
        padding: 10px 20px;        
    }

.urgent-newsflash-exclamation {
    color: #ffc107;
}
