*{
    border:none;
}
img {
    border: none;
}



/* This is a more specific rule for selects inside your modal */
#dynamicModal .select2-container {
    width: 100% !important;
}



:root {
    --s-blue-color: #31649f; /* Approximate color from your logo's 'S' */
    --ring-base-color: #e0e0e0; /* Light base for the 3D ring */
    --ring-shadow-dark: rgba(0, 0, 0, 0.4);
    --ring-highlight-light: rgba(255, 255, 255, 0.6);
}

/* This is the CSS for the new 80% container and the loader overlay */
#loader-overlay {
    display: none; /* Initially hidden on page load */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc; /* Optional: for visualization */
}

.static-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.static-logo-wrapper img {
    width: 70%;
    height: auto;
    display: block;
    z-index: 3;
}

.static-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 10px solid var(--ring-base-color);
    background-color: var(--ring-base-color);
    z-index: 1;

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.7),
        0 0 0 2px rgba(0,0,0,0.1),
        inset 0 0 0 1px rgba(0,0,0,0.2),
        inset 0 0 0 2px rgba(255,255,255,0.8),
        inset 0 0 10px rgba(0,0,0,0.5);
}

.spinning-arch {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 10px solid transparent;
    border-top-color: var(--s-blue-color);
    animation: spin 1.5s linear infinite;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}





#map {
    /* Use a fluid width to fill the container */
    width: 100%;
    /* Set a max-width to prevent it from getting too large on desktops */
    max-width: 600px;
    /* Use a flexible height to ensure it is visible on mobile devices */
    height: 450px;
    min-height: 250px; /* A minimum height to ensure it's not too small on desktop */
    border: 1px solid #ccc;
    margin: 20px auto; /* Use auto margins to center the map */

    /* Add a media query to adjust the height for smaller screens */
    @media (max-width: 768px) {
        height: 50vh; /* Use viewport height for a better fit on mobile */
        min-height: 300px; /* A minimum height to ensure it's always visible */
    }
}

.pin-entry-container {
    width: 100%;
    margin: auto;
    font-family: Arial, sans-serif;
    text-align: center;
}

.pin-display {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pin-digit {
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #eee;
}

.pin-digit.filled {
    background-color: #333;
}

.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pin-key {
    width: 80px;
    height: 80px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

.pin-key:hover {
    background-color: #e0e0e0;
}

.pin-key:active {
    background-color: #ccc;
}

.pin-key.clear-key {
    font-size: 16px;
    color: #555;
}


.button.color{
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
    background-image: linear-gradient(top, rgba(255,255,255,.3),
        rgba(255,255,255,0)),
        url(data:image/png;base64,iVBORw0KGg[...]QmCC);
}

/* Smaller buttons styles */
.button.small{
    padding: 4px 12px;
}

/* Larger buttons styles */
.button.large{
    padding: 12px 30px;
    text-transform: uppercase;
}

.button.large:active{
    top: 2px;
}

/* */

.button.green{
    background-color: #57a957;
    border-color: #57a957;
}

.button.green:hover{
    background-color: #62c462;
}

.button.green:active{
    background: #57a957;
}

/* */

.button.red{
    background-color: #c43c35;
    border-color: #c43c35;
}

.button.red:hover{
    background-color: #ee5f5b;
}

.button.red:active{
    background: #c43c35;
}

/* */

.button.blue{
    background-color: #269CE9;
    border-color: #269CE9;
}

.button.blue:hover{
    background-color: #70B9E8;
}

.button.blue:active{
    background: #269CE9;
}

/* */
/* */
/* */
/* */
/* */

body, html, #loggedInContainer {
    height: 100%; /* Use 100% */
    margin:0px 0px 0px 0px; /*( top right bottom left)  */
    padding:0px 0px 0px 0px; /*( top right bottom left)  */
    display: flex; /* Use flexbox for body */
    flex-direction: column; /* Stack items vertically */
}

.container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin:0px 0px 0px 0px; /*( top right bottom left)  */
    padding:0px 0px 0px 0px; /*( top right bottom left)  */
    background-color: #eee;
    overflow:  hidden;

}


.container-header {
    background-color: #eee;
    text-align: center;
    min-width: 100%;
    padding:10px;

    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    border: 1px solid #C9D1DC;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    text-align: center;

}

.footer-container{
    position: relative;
    width: calc(100% + 15px);

    background-color: #eee;
    text-align: center;
    min-width: 100%;
    padding:10px;

    align-items: center; /* Center vertically */
    border: 1px solid #C9D1DC;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    text-align: center;

}


.module-footer {
    position: absolute;
    height:100%;
    width: 100%;
    background-color: #eee;
}

.container-header {
    background-color: #eee;
    text-align: center;
    position: sticky; /* Use sticky positioning */
    top: 0; /* Stick to the top */
    z-index: 10; /* Ensure header is on top */
}



.middle-container {
    display: flex;
    flex-grow: 1;
    left:0;
    width: calc(100vw - 0px);

}

.menu-container{
    width: 250px;
    height:100%;
    position: relative;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid #C9D1DC;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
}


/* On screens that are 992px wide or less, the background color is blue */
@media screen and (max-width: 992px) {
    .menu-container{
        width: 250px;
        box-sizing: border-box;
        position: relative;
    }

}

/* On screens that are 600px wide or less, the background color is olive */
@media screen and (max-width: 600px) {
    .menu-container{
        position: absolute;
        z-index: 1000;
        display: none;
    }
}



.drop-zone-active, .selected-row {
    outline: 2px dashed #007BFF;
}
.lists{
    border: 1px solid #C9D1DC;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
    overflow: auto;
    width: 100%;
    height: 250px;
}


.module-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    padding-right:10px;
    background-color: #fff;
    padding-left:20px;
}
.module-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    justify-content: center;
}



.body-container {
    flex-grow: 1;
    position: relative;
}



.submodule-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    background-color: #fff;
}



.dropbtn {
    padding: 16px;
    font-size: 16px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    border: 1px solid #CCC;
    border-radius: 3px;
    text-align: left;
}
.dropdown-content div {
    padding:10px;
}

.dropdown-content img {
    width:20px;
}
.dropdown-content div:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

/* This is the class that will be toggled by the JavaScript */
.dropdown-content.show {
    display: block;
}

.dropup {
    position: absolute;
    left: 5px;
    z-index: 10000;
    border: none !important;
    box-shadow: none !important;

}

.dropup-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border-radius: 5px;
    border: 1px solid #ccc;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropup-content::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.dropup-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropup-content a:hover {
    background-color: #f0f0f0;
}

.dropup:hover .dropup-content {
    display: block;
}

.dropup:hover .dropbtn {
    /* Optional: Change button appearance on hover */
}




.table-wrapper {
    height: 100%;
    width: 33%;
    border: 1px solid #C9D1DC;
    overflow: auto;
}




table {
    border-spacing: 0;
}

thead {
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

tbody {
    font-size: 14px;
}

th, td {
    padding: 14px 10px;
    white-space: nowrap;
    border-top: 1px solid #ccc;
    text-align: left;
}

tr:last-child td {
    border-bottom: none;
}



.resultsTable{
    width:100%;

}
/*
STICKY ROW
Normal css box-shadow works for the header as it is a single html element
*/

tr.sticky {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f5f5f5;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
}


/*
STICKY COLUMN
Avoid undesirable overlapping shadows by creating a faux shadow on the ::after psudo-element instead of using the css box-shadow property.
*/

th.sticky,
td.sticky {
    position: sticky;
    left: 0;
    background: #f5f5f5;
    width:20px;

}

th.sticky::after,
td.sticky::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 0;
    bottom: -1px;
    width: 5px;
    border-left: 1px solid #C9D1DC;
    background: linear-gradient(90deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 100%);
}

th.sticky::before,
td.sticky::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    bottom: -1px;
    width: 5px;
    border-right: 1px solid #C9D1DC;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);
}

table tr:nth-child(odd) td{

}
table tr:nth-child(even) td{
    background-color: #f0efef;
}



.red-circle-container {
    width: 150px; /* Adjust the size as needed */
    height: 150px; /* Adjust the size as needed */
    border-radius: 50%;
    background-color: red;
    display: flex; /* Enable flexbox for centering text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
}
.green-circle-container {
    width: 150px; /* Adjust the size as needed */
    height: 150px; /* Adjust the size as needed */
    border-radius: 50%;
    background-color: green;
    display: flex; /* Enable flexbox for centering text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
}
.container-div {
    width: 100%; /* Adjust the size of the container as needed */
    height: 100%; /* Adjust the size of the container as needed */
    display: flex; /* Ensure container can hold the centered circle */
    justify-content: center; /* Center the circle container horizontally */
    align-items: center; /* Center the circle container vertically */
}
.circle-text {
    color: white; /* Make the text white for better contrast */
    font-weight: bold; /* Make the text bold */
    /* You can add more text styling here if needed */
    text-align: center;

}



.card-header {
    overflow: hidden;
}

.col {
    flex: 1;
    min-width: 0;
}
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-header-left {
    flex-grow: 1;
    text-align: left;
    display: inline-block;
}

.flex-header-right {
    text-align: right;
    display: inline-block;
    float:right;
}


