html {
    font-size: 14px;
    font-family: 'Segoe UI', Helvetica, sans-serif;
}

#CrimeDXWrapper {
    display: flex;
}

#projectTable tr.table-row:hover
{
    cursor: pointer;
}

* {
    opacity: 1;
}

#dashboardlogo {
    margin-top: 5px;
    margin-left: 10%;
}

.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%;
}



td {
    padding: 2px;
}

tr > td.evenrow {
    background-color: #eeeded;
}

.zoom {
    display: inline-block;
    position: relative;
}

/*#CrimeDXTable tr.evenrow td {
    background-color: #eeeded;
}

#CrimeDXDemographicTable tr.evenrow td {
    background-color: #eeeded;
}

.evenrow {
    background-color: #eeeded;
}*/

.button {
    background-color: #164d7c; /* MM Blue */
    border: none;
    color: white;
    padding: 15px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.blackbutton {
    background-color: #000000;
    border: none;
    color: white;
    padding: 15px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.summarybackground {
/*    background-color: #cfe8ff;
*/    border: 1px solid #000000;
    width: 300px;
}

.alignright {
    text-align: right;
}

tr td:last-of-type {
    padding-right: 5px;
}

tr th:last-of-type {
    padding-right: 5px;
}

.blackbackground {
    background-color: #000000;
}

.text-center {
    text-align: center;
    margin: auto;
}


#shortrange, #longrange {
    font-size: 12px;
}

#CrimeDXWrapper {
    display: flex;
    align-items: stretch; /* Ensures all children stretch to the same height */
}

#CrimeDXSummaryContainer, #CrimeDXTableContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures top and bottom alignment */
    /*height: 500px;*/ /* Match the height of CrimeDXMapContainer */
    margin-left: 10px;
    padding: 0;
    margin: 0;
}

#CrimeDXSummary, #CrimeDXTable {
    flex-grow: 1;
    padding: 0;
    margin: 0;
}

#CrimeDXMapContainer {
    margin-left: 10px;
    min-height: 500px;
    position:relative;
}

.percentage {
    display: flex;
/*    justify-content: flex-end;*/
    /*width: 50px;*/ /* Adjust width as needed */
}

    .percentage span {
        display: inline-block;
        text-align: right;
    }





/*Rounded buttons*/

.btn {
    border-radius: 1rem;
    outline: 1px solid #635D58;
    color: white;
    background-color: black;
}

/** Dashboard Text/Logo on Dashboard */
#dashboardtxt {
    font-size: larger;
    line-height:inherit;
}

#dashboardlogo {
    width: 150px;
    height: auto;
}

.DXText {
    color: #E14942
}
/**Location Pop-up*/
/*#exampleModal {
    border: 1px solid #6D7477;
}*/

#logoutTag:hover {
    cursor: pointer;
}

.modal {
    top: 10%;
}
/**Member Dropdown (on portal layout)*/
#namediv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

#profilePic:hover {
    cursor: pointer;
}

#idtag {
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#memberName {
    color: var(--Midnight, #191C1F);
    /* Bold mid-size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#profileInformation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: var(--Midnight, #191C1F);
    /* Small text */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#memberTag {
    display: flex;
    padding: 2px 6px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
    background: var(--Soft-Sky, #8ECAF3);
    color: var(--Midnight, #191C1F);
    /* small caps */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

#logoutTag {
    display: flex;
    width: 125.999px;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
    background: var(--Grey-1, #C5C5C5);
    color: var(--Dusk, #00419E);
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 15%;
}

.logoutIcon {
    width: 22.999px;
    height: 19.35px;
    fill: var(--Dusk, #00419E);
}

#userdropdown-content {
    transform: translateY(0);
    transition: all .3s ease-out;
    position: absolute;
    right: 0;
    width: 562px;
    height: 318px;
    flex-shrink: 0;
    border-top: 4px solid var(--Soft-Sky, #8ECAF3);
    background: var(--Softest-Grey, #EDEBEB);
    z-index: 100;
    align-items:center;
}

#bigProfilePic {
    width: 133px;
    height: 133px;
    border-radius: 133px;
}

#mainProfile {
    display: inline-flex;
    margin-top: 35px;
    gap: 42px;
    flex-shrink: 0;
}

/**Styling Boxes on Portal*/
.leftBoxes {
    flex: 0 0 33.3333%;
    /* Add margin-bottom for spacing between boxes */
    margin-bottom: 20px;
}

/**Responsive portal*/

/*.responsive-div {

    box-sizing: border-box;
    width: 100vw
}

@media (max-width: 600px) {
    .portalBar {
        width:50%;
    }

}

@media (min-width: 601px) and (max-width: 900px) {
    .portalBar {
        width:80%;
    }
   
}

@media (min-width: 901px) and (max-width: 1200px) {
    .portalBar {
        width:90%;
    }
}

@media (min-width: 1201px) {
    .portalBar {
        width:100%;
    }
}*/

.portalWrapper {
/*    min-height: 1000px;*/
    position: absolute;
    /*    left: 10%;
*/ max-width: 100%;
    top: 0px;
}




/**Styling Location Box */


.modal-body > table td input {
    box-sizing: border-box;
    width: 310px;
    padding: 0 12px;
}

#downloadModal .modal-backdrop {
    position: fixed;
    z-index: 1040; /* Ensure the backdrop is behind the modal */
}

#downloadModal .modal {
    position: fixed;
    z-index: 10000050; /* Ensure the modal is on top of the backdrop */
}
.remainingSessions {
    display: inline-flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px 20px 0px 20px;
    background: #F4E19D;
}
/*Confirm popup*/
#openconfirm, #openconfirmALT {
    display: none; /* Hide both spans initially */
}
/*    Styling DBOptions Popup*/
.popup {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
}

.popupcontent {
    display: flex;
    flex-direction: column;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    height:475px;
    width:498px;
/*    width: 500px;
*/    border: 1px solid #888;
    border-radius: 20px;
    background: var(--White, #FFF);
    position: relative;
}


#MapOptions {
    color: var(--Midnight, #191C1F);
    /* Smaller bold */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#dboptions {
    color: var(--Midnight, #191C1F);
    /* Standard bold */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.dboptionsHeadings {
    align-self: flex-start;
}

.dboptionsSubHeadings {
    color: var(--Midnight, #191C1F);
    /* Smaller bold */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    align-self: flex-start;
}

#rangeSelectionRow {
    align-items: center;
    gap: 40px;
    align-self: stretch;
    font-size: 18px;
}

#projectTitle {
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Charcoal, #888787);
}
/*dynamic dashboard title*/
#projectTitleSub {
    color: var(--Charcoal, #888787);
    /* Small text */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    display: flex;
    width: 139px;
    height: 21px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

#sessionDetails, #initialSessionDetails {
    color: #000;
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: flex-start;
}

#closeDBOptions {
    position: absolute;
    top: 0;
    padding-top: 10px;
    left: 95%;
    fill: var(--Charcoal, #888787);
    padding-left: 10px;
}

    #closeDBOptions > svg {
        width: 16px;
        height: 18px;
    }

#savedProjects {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1001;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    width: 784px;
    padding: 20px;
    align-items: flex-start;
}

.highlight {
    background: var(--Soft-Sky-Highlight, rgba(142, 202, 243, 0.45));
}

#savedprojtitle {
    color: var(--Midnight, #191C1F);
    /* Standard bold */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    align-self: stretch;
}

#closesaved {
    align-self: center;
}

#selectingProject {
    color: #000;
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: stretch;
}

#projectTable > thead {
    color: #000;
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background: var(--Soft-Grey, #CECECE);
}

#projectTable thead th {
    position: sticky;
    top: 0; /* Ensure the header sticks to the top */
    background-color: var(--Soft-Grey, #CECECE); /* Ensure the header has a background */
    z-index: 1003; /* Ensure the header is above the body rows */
}

    #loadprojButton {
    display: none;
    width: 181px;
    padding: 10px;
    border-radius: 20px;
    background: var(--Soft-Sky, #8ECAF3);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    align-self: flex-end;
}

loadprojButton:hover {
    cursor: pointer;
}

#loadbuttonTxt {
    word-wrap: break-word;
    color: var(--Dusk, #00419E);
    font-family: Arial;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-variant: all-small-caps;
}

#confirmationPopup {
    display: none; /* Initially hidden */
    position: fixed;
    width: 498px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1002;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#returnToSaved {
    color: var(--Error, #FF6058);
    text-align: center;
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    align-self: flex-end;
    line-height: normal;
}

    #returnToSaved:hover {
        cursor: pointer;
        text-decoration: underline;
    }

#confirmSelection {
    width: 116px;
    height: 41px;
    padding: 10px;
    border-radius: 20px;
    background: var(--Soft-Sky, #8ECAF3);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

    #confirmSelection:hover {
        cursor: pointer;
    }

#confirmSelectTxt {
    color: var(--Dusk, #00419E);
    text-align: center;
    font-family: Arial;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-variant: all-small-caps;
}

#retrieveAnother {
    color: var(--Twilight, #4776B9);
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: flex-start;
    margin-top: -20px;
}

.newProjectLink {
    color: var(--Twilight, #4776B9);
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: flex-start;
    margin-top: -20px;
}

.newProjectLink:hover{
    text-decoration: underline;
    cursor: pointer;
}

#user-projTitle {
    display: flex;
    padding: 10px;
    width: 418px;
    height: 24px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Charcoal, #888787);
    border-radius: 8px;
    border: 1px solid var(--Charcoal, #888787);
}
#dbProjManagement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}
#user-projTitle {
width:418px;
height:24px;
}
/**Styling Placeholder Text*/
    #user-projTitle::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: var(--Charcoal, #888787);
        /* Standard Size */
        font-family: "Segoe UI", "Helvetica";
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    #user-projTitle::-moz-placeholder { /* Firefox 19+ */
        color: var(--Charcoal, #888787);
        /* Standard Size */
        font-family: "Segoe UI", "Helvetica";
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    #user-projTitle:-ms-input-placeholder { /* IE 10+ */
        color: var(--Charcoal, #888787);
        /* Standard Size */
        font-family: "Segoe UI", "Helvetica";
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    #user-projTitle:-moz-placeholder { /* Firefox 18- */
        color: var(--Charcoal, #888787);
        /* Standard Size */
        font-family: "Segoe UI", "Helvetica";
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }



    #confirmBtn:hover {
        cursor: pointer;
    }

#savebtn-txt {
    color: var(--Dusk, #00419E);
    font-family: Arial;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-variant: all-small-caps;
}

#clear-selection {
    color: var(--Error, #FF6058);
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

    #clear-selection:hover {
        cursor: pointer;
        text-decoration: underline;
    }

#retrieveAnother:hover {
    cursor: pointer;
    text-decoration: underline;
}

.close-btn:hover {
    cursor: pointer;
}

#loadprojButton:hover {
    cursor: pointer;
}

#projectContent {
    height: calc(5 * 46px);
    border-bottom: 1px solid var(--Soft-Grey, #CECECE);
    overflow-y: auto;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}
/* Style for the toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-right: 10px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 4px; 
        bottom: 4px; 
        background-color: white;
        transition: .4s;
        border-radius: 50%; 
    }

input:checked + .slider {
    background-color: #2196F3;
}

    input:checked + .slider:before {
        transform: translateX(16px);
    }

/* Ensure the switch and label are vertically aligned */
#togglingLegend {
    display: flex;
    align-items: center;
    display: flex;
    width: 192px;
    height: 20px;
    padding-right: 4px;
    align-items: center;
    gap: 6px;
}

    #togglingLegend label {
        white-space: nowrap;
        display: flex;
        align-items: center;
        margin: 0;
        height: 20px;
        font-size: 18px;
        line-height: 20px;
    }

/**Styling Legend Image*/

#legendPopup {
    position: absolute;
    top: 331px;
    bottom: 0px;
    right: 0px;
}
#legendImg {
    position: relative;
}

#crimedxLegend {
    position: absolute;
    z-index: 1000;
    width: 166px;
    height: 233px;
    border:1px solid grey;
    top: 0;
    right: 0;
}
/**Landing Pg Styling Work
    Started 09/03/24 TM
*/
.landingpgHeader {
    width: 100%;
    max-height: 400px;
    height: 400px; /* Ensure the container has a height */
    overflow: hidden;
}

.header-image {
    background-image: url('/Images/aboutus/aboutus-header.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.landingpgContent {
    display: flex;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    align-self: stretch;
}

#teamspan {
    color: var(--Midnight, #191C1F);
    text-align: center;
    /* Section Header */
    font-family: "Segoe UI", "Helvetica";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#descriptiveContent {
    color: var(--Midnight, #191C1F);
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
}

#foundingStory {
    display: flex;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    background: var(--Soft-Sky, #8ECAF3);
}

#nametile {
    display: flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 8px;
    background: var(--Dusk, #00419E);
}

#NameTileText {
    color: var(--White, #FFF);
    font-family: Arial;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-variant: small-caps;
}

#nametileposition {
    color: var(--Dusk, #00419E);
    /* Standard Size */
    font-family: "Segoe UI", "Helvetica";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#foundingHeader {
    align-self: stretch;
    color: var(--Dusk, #00419E);
    text-align: center;
    /* Section Header */
    font-family: "Segoe UI", "Helvetica";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#aboutusFooter div {
    display: flex;
    width: 232px;
    height: 139px;
    justify-content: space-between;
    align-items: center;
}

#aboutusFooter {
    display: flex;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    align-self: stretch;
}

.aboutusIcons {
    width: 24px;
    height: 24px;
    fill: var(--Twilight, #4776B9);
}

.aboutusContact {
    width: 355px;
    color: var(--Twilight, #4776B9);
    /* Smaller bold */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#danImg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
/**Styles for DB Options Project table back button*/

#backtodb:hover {
    cursor:pointer;
}

/*@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-100%)
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* Apply the fade-in animation to your popup */
/*#dbpopup {
    animation: fadeIn 0.5s ease-in-out;
     
}*/
#retrieveAnother {
    pointer-events: auto !important;
    opacity: 1 !important;
  
}
.userTitleDisplay {
    color: var(--Charcoal, #888787);
    /* Small text */
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    position: relative;
    top: -12px;
    align-self: flex-start;
}