* {
    padding: 0;
    margin: 0;
    font-family: 'Quicksand','Segoe UI', sans-serif;
    /*font-weight: 100;*/
    transition-property: width, position, left, right, top, bottom;
    transition-duration: 100ms;
    border-collapse: collapse;
    scrollbar-width: thin;
}

html {
    font-size: 14px;
    font-family: 'Quicksand','Segoe UI', sans-serif;
}

.mobileHide {
    display:block;
}

th.sortable {
    cursor: pointer;
}

th.sorted-asc::after {
    content: "  \2191";
}

th.sorted-desc::after {
    content: "  \2193";
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .desktopHide {
        display:none !important;
    }
}

@media (max-width: 768px) {

    .dashboardItemFull {
        margin-left:0 !important;
        padding-left:0 !important;
        width:100% !important;

    }

    .desktopHide {
        display:block;
    }

    .expanded {
        
    }

    .contactLinkBox {

    }

    #docsTable {
        overflow:hidden;

    }

    .mobileHide {
        display:none;
    }

    .sideBySide {
        display:flex;
        flex-direction:row;
    }

    .brs {
        display:none !important;
    }

    .buttons {
        padding-top:10px;
        padding-bottom:5px;
    }

    .ccExpanded {
        width:calc(100% - 1px) !important;
        left:0px !important;
    }

    .ccExpandedMobile {
        width: calc(100% - 1px) !important;
        left: 0px !important;
    }
    .main {
        display:flex;
        flex-direction:column;
    }
    /* Make sidebar span full width */
    .sidebarMobile {
        width:100% !important;
        position: relative; /* Remove fixed positioning */
       /* height:100% !important;     */  
       /* margin-top:0 !important;*/
        margin-left:0%;
        height:min-content !important;
      /* // padding-top:0 !important;*/
        padding-left:0%;
       /* Remove extra top padding */
        box-shadow: none; /* Optional: Remove shadow for a cleaner look on mobile */
    }

    .sidebar {
        height: unset !important;
        max-height:calc(35vh - 50px);

    }

    .contactLinks {
        display:flex;
        flex-direction:row;
        justify-content:space-between;

    }

    .contentContainer {
        width: 100% !important;
        top: 225px !important;
        margin-left:0;
        padding-left:0;

    }

    .filter {
        margin-left:0% !important;
    }

    .contactLinkBox{
        display:block;
        width:50% !important;
    }

    /* Adjust layout for filter container */
    .filterContainerMobile {
        width: 100%; /* Full width of the container */
        height:min-content !important;
        max-height:calc(100vh-60px);
        overflow-y:auto;
       
        flex-grow: 1;
        overflow: auto;
        /* padding-top: 50px !important;
        margin-top: 50px !important;*/
        background-color: #f9f9f9; /* Background for better visibility */
        justify-items: center; /* Center items horizontally */
        align-items: center; /* Center items vertically */
        position: relative;
        -webkit-overflow-scrolling: touch;
       
    }

    .contactLinksDesktop {
        display:none !important;
    }

    .footer {
        display:block;
        background-color:#f9f9f9;
        height:10%;
        width:100%;
        position:relative;
        bottom:0;

    }

   

    .filterBox {
       
        width:100% !important;
        height:33%;
       display:flex;
       flex-direction:column;
        justify-content:space-between;
        vertical-align:central;
        align-content:center;
        align-items:center;
    }

  /*  .contactLinksDesktop {
        height:33% !important;
    }*/

    .buttons{
        height:33%;
    }

        /* Titles span full width */
        .filterContainerMobile strong {
            grid-column: span 2; /* Span both columns */
            text-align: center;
            margin-bottom: 8px;
        }

        /* Inputs span their respective columns */
        .filterContainerMobile select,
        .filterContainerMobile input[type="text"] {
            width: 90%; /* Ensure consistent width */
            max-width: 180px; /* Limit width for better alignment */
            text-align: left;
        }

        /* Button group on a single row */
        .filterContainerMobile .buttons {
            grid-column: span 2; /* Span both columns */
            display: flex;
            justify-content: center;
            gap: 16px; /* Space between buttons */
        }

        /* Links span both columns */
        .filterContainerMobile a {
            grid-column: span 2; /* Span across the full row */
            text-align: center;
            margin-top: 8px;
        }
}

/* General sidebar adjustments */
.sidebar {
    text-align: center;
    background-color: #f2f2f2;
    width: 260px; /* Default width for desktop */
    padding-top: 50px;
    height: auto; /* Adjust height to fit content */
    overflow: visible;
    position: fixed; /* Retain fixed positioning on desktop */
    top: 0;
    left: 0;
    z-index: 9;
    display:flex;
    flex-direction:column;
    justify-content:space-around;
}

.footer {
    display:none;
}

.filterContainerDesktop {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    padding: 20px;
    gap: 16px; /* Adds space between items */
    max-width: 600px; /* Optional: Control width on desktop for better centering */
    margin: 0 auto; /* Center the entire container horizontally */
}

    .filterContainerDesktop select,
    .filterContainerDesktop input[type="text"] {
        width: 100%; /* Ensure inputs span the container width */
        max-width: 400px; /* Optional: Limit width for better aesthetics */
        margin: 0 auto; /* Center the inputs within their container */
        text-align: left; /* Align text input to the left */
    }

    .filterContainerDesktop .buttons {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-top: 20px;
    }

    .filterContainerDesktop .links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .filterContainerDesktop strong {
        margin-top: 20px;
    }

    .filterContainerDesktop a {
        text-decoration: none;
        color: #d27429;
        font-weight: bold;
    }

        .filterContainerDesktop a:hover {
            text-decoration: underline;
        }
.brs {
    display:block;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    font-family: 'Quicksand','Segoe UI', sans-serif;
}

body {
    margin-bottom: 60px;
}

.strong {
    font-weight:bold;
}

.filterContainerMobile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    vertical-align: central;
    align-content: center;
    align-items: center;
}

.topbarShadow {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100px;
    margin: 0px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.37);
    z-index: 8;
}

.siteTitle {
    font-size:26px;
    font-weight:bold;
    color:#d27429; 
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f2f2f2;
    width: 100%;
    height: 60px;
    margin: 0;
    z-index: 10;
    text-align: center;
    display: flex;
    align-items: center; /* Ensures vertical alignment */
    justify-content: center;
}

.mainLogo {
    height: 50px; /* Adjusted for better scaling on mobile */
    position: absolute;
    left: 10px; /* Align logo snugly to the left */
    top: 5px; /* Adjust vertically for better centering */
}

.siteTitle {
    font-size: 20px; /* Default font size for desktop */
    font-weight: bold;
    margin-left: 10px;
    padding-top: 0; /* Reset unnecessary padding */
    max-width: calc(100% - 70px); /* Ensure the text doesn’t overlap the logo */
    overflow: hidden; /* Handle overflow gracefully */
    white-space: nowrap;
    text-overflow: ellipsis;
}

.brandLogo {
    max-height: 120px;
    max-width: 460px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .topbar {
        height: 50px; /* Shrink the height for mobile screens */
    }

    .mainLogo {
        height: 40px; /* Smaller logo for mobile */
        left: 5px; /* Align closer to the edge */
        top: 5px;
    }

    .siteTitle {
        font-size: 16px; /* Reduce font size for smaller screens */
        margin-left: 5px;
        max-width: calc(100% - 50px); /* Adjust to fit next to the smaller logo */
    }

}


.sidebar {
    text-align:center;
    
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #f2f2f2;
    height: 100%;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.37); 
    z-index:9;
    padding-top: 50px;
    box-sizing: border-box;
}



.expanded {
    width: 260px;
}

.filter {
    margin-left:10%;
    width:80%;
}

.contentContainer {
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    /*border: 1px solid red;*/
    height: calc(100% - 60px);
    position: absolute;
    top: 60px;
    overflow-y: hidden;
    overflow-x: hidden;
}

.ccExpanded {
    width: calc(100% - 260px);
    left: 260px;
}

.dashboardItemFull {
    display: inline-block;
    margin-right: 20px;
    margin-left:20px;
    margin-bottom: 20px;
    margin-top:10px;
    min-width: 250px;
    min-height: 150px;
    width: calc(100% - 30px);
    height: 70%;
    border: 3px solid #d27429;
    border-radius: 2px;
    box-shadow: 3px 4px 3px 1px rgba(0, 0, 0, 0.2);
    background-color: white;
    vertical-align: top;

}

.dashboardContainer {
    box-sizing: border-box;
    padding-top: 0px;
    padding-left: 0px;
    border-collapse: collapse;
}

.filterBar {
    color: black;
    font-size: 20px;
}

.dashboardHeader {
    background-color: #d27429;
    color: white;
    font-size: 20px;
    height: 30px;
    line-height: 25px;
    box-sizing: border-box;
    padding-left: 4px;
}

#docsTable {
    width: 100%;
    border-collapse: collapse;
    max-height:auto;
}

    #docsTable th {
        background-color: #d27429;
        color: white;
        padding: 10px;
    }



    #docsTable td {
        padding: 10px;
    }

    #docsTable tr:nth-child(even) {
        background-color: #EFEFEF;
    }

    #docsTable tr:nth-child(odd) {
        background-color: white;
    }

    #docsTable tr:hover {
        background: rgba(0, 0, 0, 0.2);
    }

.faq-question {
    cursor: pointer;
    margin: 0;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
}

.faq-answer {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-top: none;
}

.NAPchatContainer {
    position: fixed;
    bottom: 0px;
    right: 0px;
    background-color: #f2f2f2;
    width: 20%;
    height: 100%;
    z-index: 6000;   
    display: flex;
    flex-direction: column;
    display: flex;
    flex-direction: column;
  box-shadow: -8px 0 8px -4px rgba(0, 0, 0, 0.3);
   
}
.NAPchatButtonBox {

}
.NAPchatButton{

}
.chatBox {
    scroll-behavior: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    flex:1 1 auto;
    padding-bottom:3px;
    margin-bottom:3px;
    
}
.chatInput {
    width: 300px;
    overflow-y: auto;
    resize: none;
    border: none;
    outline: none;
    font-size: 14px;
    line-height: 1.4;
   
    box-sizing: border-box;
  
}
.sendChatButton {
    margin:3px 3px 3px 3px;
    padding: 3px 3px 3px 3px;
    background-color:#d27429;
    border-radius: 3px;
    border:#d27429;
    color:white;
    font-weight:bold;
}
.message {
    /*width:60%;*/
    margin-top:10px;
    
}
.user {
    align-self:end;
    margin-left:20%;   
    text-align:left;
    background-color: #d27429;
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px; 
    padding-left:6px;
 padding-right:15px;
 color:white;

}
.bot {
    padding-left:10px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 4px;
    padding-top:4px;
    padding-bottom:4px;
    width:80%;
}
.closeBar {
    text-align:right;
}
.chatForm {  
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.typing-indicator {
    width:min-content;
    padding-right:10px;
}
.lazyClose {
    color:#d27429;
    font-weight:bolder;
    margin-right:3px;
    padding-right:3px;
}
.chatDisclaimer {
    color:#413a3a;
    font-style:italic;
  /*  font-weight:bold*/;
    text-align:center;
}