.info-row > div {
	flex: 1;
	margin: 0 5px;
	padding: 5px;
	border: 1px solid #ccc; 
	text-align: center;
}
.info-row > div:first-child {
	margin-left: 0; // Remove the left margin for the first div in the row
}
.info-row > div:last-child {
	margin-right: 0; // Remove the right margin for the last div in the row
}
#pieWrapper {
	width: 30%;  /* Shrink width by 70% */
	height: auto; /* Keep aspect ratio */
	display: block; /* Needed to center the canvas element on the page */
	margin: 0 auto; /* Center the canvas element on the page */
}
.canvas-wrapper {
	width: 70%;     /* This sets the width of the container */
	margin: 0 auto; /* This centers the container horizontally */
}
.canvas-wrapper canvas {
	max-width: 100%;  /* This ensures that the canvas won't exceed its container's width */
	display: block;   /* This helps to remove any potential unwanted space below the canvas */
}
.summary-stats {
	background-color: #009999;
	color: #FFFFFF;
}
.universal-search {
	width: 60% !important;
}
.card-item:hover {
	cursor: pointer;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.navbar img {
	height:50px
} 

nav span {
	color: #009999;
}
.toggle-text {
	font-size: .8rem;
}
.overall-div {
	border: 5px solid #009999;
}
.overall-title {
	color: 009999;
	margin-top: 8px;
}
.dash-div {
	border: 5px solid red;
}
.dash-title {
	color: red;
	margin-top: 8px;
}
.nav-divider {
	border-right: 1px solid rgb(218, 213, 213);
}
.btn-primary, .btn-view {
	background-color: ##007bff;
	color: white;
	border: white;
}
.btn-primary:hover {
	background-color: #009999;
	border: #009999;
}
.btn-primary:active {
	background-color: #009999 !important;
	border: #009999 !important;
}
.query {
	background-color: lightgoldenrodyellow !important
}
.main {
	max-width: 1260px;
	min-width: 320px;
	margin: auto;
	padding: 0px 10px;
	}

.form-component {
	padding: 0px 3px;
}

footer a {
	color: gray;
}
footer p {
	margin-bottom: 1rem;
}
.dashcard {
	border: none;
}
.basecard {
	border: none;
}
.chart-header {
	text-decoration: underline;
}
.dg {
	width: 50%;
	display: flex;
	justify-content: center;
}
.dg2 {
	width: 80%;
	display: flex;
	justify-content: center;
}
.dg3 {
	width: 100%;
	display: flex;
	justify-content: center;
}
.chart-container {
	margin: 1rem auto;
	width:65%;
	max-width: 600px;
	padding:5px;
}
.faq-div {
	margin: auto;
}

.faq-answer {
	font-size: .9rem
}
.pop-container {
	width: 55%
}

.feedback-btn {
	position: fixed;
	right: 10px;
	bottom: -4px;
	z-index: 92
}

#graderHeader {
	text-align: center;
}
.card-info-container {
	text-align: center;
	font-family: Arial, sans-serif;
	margin: 20px auto;
	width: 75%;
	background-color: #f8f8f8;
	padding: 20px 0;
}
.card-title {
	margin-bottom: 20px;
}
.info-container {
	width: 75%;  
	margin: 0 auto; // Center the info container
}
.info-row {
	display: flex;
	justify-content: space-between; // Add even spacing between the divs
	flex-wrap: wrap;
	margin-bottom: 10px;
}

#copyLinkButton {
    padding: 5px 10px;
    border-radius: 5px;
}

#copyMessage {
    /* margin-top: 5px; */
    color: green;
}

@media all and (min-width: 768px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}

@media all and (min-width: 1300px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }

	#gradesTable {
		width: 100%;
		table-layout: fixed;
	}
}

@media only screen and (max-width: 1299px) and (min-width: 900px) {

	.responsive-table {
        width: 60%;
		margin: 0 auto;
		font-size: 0.8em;
        border-collapse: collapse;
    }
    .responsive-table th, .responsive-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }
    .responsive-table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }
    .responsive-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

}

@media only screen and (max-width: 900px) {
	.first-nav {
		margin-top: 10px;
	}
	.nav-divider {
		border-right: None;
	}
	.dash-title {
		font-size: 1.75rem;
		margin-top: 8px;
	}
	.dash-div {
		margin-top: 1rem;
	}
	.dash-div {
		margin-top: 1rem;
	}
	.dashcard {
		border: none;
		border-bottom: 2px solid #009999;
		border-radius: 0px;
	}
	.basecard {
		border: none;
	}
	.dg, .dg2, .dg3 {
		width: 100%;
	}
	.faq-div {
		margin: auto;
		width:90% !important;
	}
	.pop-par {
		margin: auto;
		width:90% !important;
	}
	.social-items {
		display: none!important;
	}
	.faq-response {
		font-size: 1rem
	}
	.chart-container {
		width:96% !important;
	}	
	.pop-container {
		width: 96% !important;
	}
	.pop-chart {
		height: 600px;
	}
	.top-cards-form {
		width:96% !important;
	}
	.top-cards-form, h2 {
		font-size: 1.1em !important;
		line-height: 2em !important;
	}
	.pop-header {
		font-size: 1em;
		margin-bottom: -15px !important;
	}
	.data-wrap {
		margin-bottom: .5rem !important;
	}
	.rates {
		margin-top: .5rem !important;
	}
	.item-description {
		font-size: 1.1rem !important;
	}
	footer p {
		margin-bottom: .5rem;
	}
	#filter-text-box {
		width: 90%;
	}
	.card-info-container {
		width: 95%;
	}
	.info-container {
		width: 95%;  
	}
	.canvas-wrapper {
		width: 95%;  
	}

	#pieWrapper {
		width: 90%; 
		height: auto; /* Keep aspect ratio */
		display: block; /* Needed to center the canvas element on the page */
		margin: 0 auto; /* Center the canvas element on the page */
	}
	.universal-search {
		width: 95% !important;
	}
	.population-key > .d-flex.flex-column.flex-md-row > span:nth-child(2) {
		text-align: center;
		display: block;
		margin-top: 5px;
	}
	/* Keep the grader badges inline on mobile */
	.population-key > .d-flex.align-items-center {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.population-details {
		display: flex; /* Use flex layout */
		justify-content: center; /* Center horizontally */
		align-items: center; /* Center vertically */
		text-align: center; /* Center text alignment */
	}
	.population-details .total-population {
		font-size: 14px; /* Adjusts font size */
		line-height: 1.2; /* Adjust line height for better readability */
		padding: 0 10px; /* Add some padding if needed */
	}
	.responsive-table {
        width: 100%;
		font-size: 0.8em;
        border-collapse: collapse;
    }
    .responsive-table th, .responsive-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }
    .responsive-table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }
    .responsive-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }
}