@media (max-width: 768px) {
    /* Adjust styles for screens up to 768px wide (e.g., smartphones) */

        
/* Adjust styles for screens up to 768px wide (e.g., smartphones) */
.welcome, .welcome-charts, .neighborhood-list, .crime-list,
.crime-table, .neighborhood-crime-list, .crime-type-list, .crime-type-chart {
        float: none;
        width: 100%;
        padding: 5px;
    }
.custom-navbar a {
        float: none;
        display: block;
        text-align: center;
        width: 100%;
    }
.crime-entry {
        padding: 5px;
    }
    

}



/* Default styles */
h2, h3 {
    font-size: 100%!important;
	text-transform: capitalize ;

}

.validation-icon {
    display: none;
    margin-left: 5px;
}

.valid-icon {
    color: green;
}

.invalid-icon {
    color: red;
}

body {
    font-family: Arial, sans-serif;
    padding: 0 20px; /* Add padding to the left and right sides */
    margin: 0;
}


/* Add your styling here */
.chart-container{
	height:40vh; 
	width:50vw;
	bottom: 0;
    color: #707070;
    height: 2em;
    left: 0;
    position: relative; //changed to relative from fixed also works if position is not there
    font-size: small;
    width:100%;


}

.welcome-charts {
    width: 70%;
    padding: 1em;
}

.recent-incidents {
	float: none;
    width: 25%;
    padding: 1em;
    font-size: 12px;
    font-size-adjust: .5;
}

        .neighborhood-list {
            float: left;
            width: 19%;
            padding: 1em;
            border-right: 1px solid #ccc;
        }
        .crime-table {
            width: 100%;
            padding: 10px;
        }
        .neighborhood-crime-list {
            float: left;
            width: 80%;
            padding: 10px;
        }
        .crime-type-list {
            float: left;
            width: 19%;
            padding: 10px;
        }
        .crime-type-chart {
            float: left;
            width: 80%;
            padding: 10px;
        }
        ul {
            list-style-type: none;
            padding: 0;
        }
        li {
            margin-bottom: 10px;
        }
        a {
            text-decoration: none;
        }
        
        /* Style for crime list table */
        .crime-table {
            width: 100%;
            border-collapse: collapse;
            border: 1px solid #ccc;
        }
        .crime-table th, .crime-table td {
            padding: 8px;
            border: 1px solid #ccc;
            text-align: left;
        }
        .crime-table th {
            background-color: #f2f2f2;
            font-weight: bold;
        }
        
        /* Sortable header styles */
.sortable-header {
    cursor: pointer;
}

.sortable-header:hover {
    text-decoration: underline;
}

/* Sorted column header styles */
.sorted {
    background-color: #f2f2f2;
    font-weight: bold;
}

        /* Reset margin on the body element */
        body {
            margin: 0;
        }

        /* Navigation styles */
        .custom-navbar {
            overflow: hidden;
            background-color: #333;
        }

        .custom-navbar a {
            float: left;
            display: ;
            color: white;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
        }

        .custom-navbar a:hover {
            background-color: #ddd;
            color: black;
        }

        /* Responsive styles */
        @media screen and (max-width: 600px) {
            .custom-navbar a {
                float: none;
                display: block;
                text-align: left;
            }
        }
    footer{
        float:left;
    }
    
 .image-style {
            max-width: 65%;
            height: auto;
            display: block;
            margin: 10px auto;
            border: 1px solid #ccc;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }
        .image-link {
            position: relative;
            display: inline-block;
        }
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 999;
            text-align: center;
        }
        .overlay img {
            max-height: 90%;
            max-width: 90%;
            margin-top: 5%;
        }
        .close-overlay {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }
        
        
.crime-entry {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
}

.crime-details {
    display: flex;
    flex-direction: column;
}

/* Styles for each detail */
.crime-type, .crime-time, .crime-description, .crime-location, .crime-neighborhood, .crime-source {
    margin-bottom: 5px;
}


.crime-entry {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
}

/* Styles for crime description paragraphs */
.crime-description p {
    margin: 5px 0;
    text-align: left;
}


/* Style for the disclaimer */
.disclaimer {
    background-color: #FFF9A6; /* Background color */
    padding: 10px; /* Padding around the content */
    border: 1px solid #ccc; /* Border */
    margin-top: 20px; /* Margin from the content above it */
    text-align: center; /* Center-align the text */
    font-size: 14px; /* Font size */
    color: #000000; /* Text color */
}

.disclaimer p {
    margin: 0; /* Remove margin inside the disclaimer */
}

/* Add some spacing around the disclaimer */
.disclaimer-container {
    margin: 20px;
}

.incident-count{
	font-size:.75em;
}

.cities-name-widget{
	font-size:1em;
}
