html,
body {
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 12px;
}

/**********Select for base map***********/
#map {
	height: calc(100vh - 50px)
}

.selector_div_class {
	position: absolute;
	left: 70px;
	top: 130px;
	z-index: 10;
}

.msa_selector_div_class {
	position: absolute;
	left: 70px;
	top: 185px;
	z-index: 10;
}

#selector {
	padding: 8px;
	border-radius: 4px;
	border: 2px solid black;
	color: #000;
	font-size: 1.6em;
	background-color: #d4d4d4a3;
}

.overlayselector_div_class {
	width: 360px;
	position: absolute;
	left: 70px;
	top: 70px;
	z-index: 10;
}

.overlayselector,
.fedBeigeBookDateSelector {
	padding: 8px;
	border-radius: 4px !important;
	border: 2px solid black !important;
	color: #fff !important;
	font-size: 1.6em;
	background-color: #4dc351 !important;
}

.fedBeigeBookDateSelector {
	min-width: 220px !important;
}

.overlayselector .select2-selection__rendered,
.fedBeigeBookDateSelector .select2-selection__rendered {
	color: #fff !important;
}

.overlayselector_dropdown,
.fedBeigeBookDateSelector_dropdown {
	font-size: 1.5em;
	color: #fff !important;
	background-color: #4dc351 !important;
}

.overlayselector_dropdown ul,
.fedBeigeBookDateSelector_dropdown ul {
	background-color: #4dc351 !important;
}

.overlayselector_dropdown ul li:hover,
.fedBeigeBookDateSelector_dropdown ul li:hover {
	background-color: #4dc351;
}

.overlayselector_dropdown input,
.fedBeigeBookDateSelector_dropdown input {
	margin-left: 0px;
}

.select2-container .select2-selection--single {
	height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 7px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #fff transparent transparent transparent;
	border-width: 10px 4px 0 4px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #fff transparent;
	border-width: 0 4px 10px 4px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
	color: #818181;
}

.select2-container--default .select2-results>.select2-results__options {
	max-height: 300px;
}

/*
#overalyselector{
        position: absolute;
        left:5%;
        z-index:10;
        padding:8px;
        border-radius:4px;
        border: 2px solid gray;
        color:#666;
        top:20px;
        font-size:1.6em;
        }
*/
#layerselector {
	position: absolute;
	right: 25%;
	z-index: 10;
	padding: 5px;
	border-radius: 4px;
	color: #666;
	top: 20px;
}

#us_button {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 133px;
}

.us_button_image {
	padding: 0px;
	width: 40px;
	height: auto !important;
	filter: drop-shadow(0 0 0.35rem #87F);
}

#market_print_button,
#marketGrowthGroups_print_button {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 177px;
}

.market_print_button_image {
	padding: 0px;
	width: 49px;
	height: auto !important;
	margin: 0px 0px -9px 0px;
	filter: drop-shadow(0 0 0.35rem #87F);
}

#zipcode_show_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 170px;
}

#recovered_markets_show_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 232px;
	display: none;
}

#county_show_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 208px;
}

#city_show_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 247px;
}

#opportunity_zone_show_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 286px;
}

#en_show_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 325px;
}

#national_summary_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 177px;
	display: none;
}

#beigies_award_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	top: 235px;
	display: none;
}

#national_summary_div img,
#beigies_award_div img {
	padding: 0px;
	width: 49px;
	height: auto !important;
	margin: 0px 0px -9px 0px;
	filter: drop-shadow(0 0 0.35rem #87F);
}

#timeline_slider_wrap_div {
	position: absolute;
	left: 10px;
	z-index: 10;
	bottom: 170px;
}

.checkbox_label {
	text-shadow: 0 0 0.2em #87F, 0 0 0.2em #87F, 0 0 0.2em #87F
}

.printingNotify {
	position: absolute;
	right: 60px;
	top: 17px;
	font-size: 22px;
	color: #e8f700;
}

.printCheckbox {
	display: flex;
	align-items: center;
}

.printCheckbox input {
	width: 30%;
	top: 0px;
}

/********************leaflet**********************************/
.leaflet-bottom.leaflet-left {
	height: 40px;
}

.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 40px;
	margin-left: 15px;
	bottom: 0px;
}

.leaflet-control-attribution,
.cartodb-logo {
	display: none !important;
}

#categories {
	text-align: center;
}

/* LIST of geocoded addresses*/
#results {
	background-color: #fff;
	width: 90%;
	list-style: none;
	cursor: pointer;
	width: 75%;
	align-content: center;
	left: 5%;
	margin-left: 5%;
	border-radius: 5px;
	overflow: auto;
	box-shadow: 10px 5px 5px gray;

}

ul li:hover {
	background-color: yellow;

}

ul li input[type=image]:hover {
	background-color: yellow;
}

#drawer-content img {
	padding-right: 5px;
	padding-left: 10px;
	cursor: pointer;
}

p {
	font-size: 1.05em;
}

/********** Legend ***************/
.legend {
	position: absolute;
	bottom: 45px;
	left: 15px;
	height: auto;
	width: auto;
	z-index: 10;
	list-style-type: none;

	padding: 13px 15px 14px;
	font: 400 13px Helvetica, Arial;
	color: #858585;
	text-align: left;
	-webkit-box-shadow: rgba(0, 0, 0, .2) 0 0 4px 2px;
	-moz-box-shadow: rgba(0, 0, 0, .2) 0 0 4px 2px;
	box-shadow: rgb(0 0 0 / 20%) 0 0 4px 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #999;
	background: #fff;
}

.legend-content {
	font: 800 12px/16px 'Helvetica,Arial';
}

.legend-content>li {
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	text-transform: uppercase;

	position: relative;
	margin: 0 0 7px;
	font-size: 10px;
	color: #666;
	font-weight: 700;
	font-family: Helvetica, Arial;
	text-transform: uppercase;
	text-align: left;
	height: 10px;
	line-height: 10px;
	vertical-align: middle;
}

.legend-content>li:last-child {
	margin-bottom: 0;
}

.bullet {
	float: left;
	margin: 0 5px 0 0;
	width: 3px;
	height: 3px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	padding: 2px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .2);
	z-index: 1000;
}

.legend-content div.bullet {
	border-radius: 0px !important;
	width: 11px !important;
}

.legend-content .enLegend {
	background-image: url(/media/images/plus.png) !important;
	background-position: center;
	background-size: 66%;
	background-repeat: no-repeat;
	border-color: #ffffff;
	height: 4px;
}

.legend-content .dnLegend {
	background-image: url(/media/images/minus.png) !important;
	background-position: center;
	background-size: 66%;
	background-repeat: no-repeat;
	border-color: #ffffff;
	height: 4px;
}

.legend-content .opportunityLegend {
	background-size: cover !important;
	background-image: url(/media/images/opportunity.png) !important;
}

.legend-content .gradient_legend_container {
	display: flex;
}

.legend-content .square {
	width: 50px;
	height: 10px;
	text-align: center;
	line-height: 10px;
	font-weight: bold;
	margin: 0;
	text-shadow: -1px -1px 1px white, 1px -1px 1px white, -1px 1px 1px white, 1px 1px 1px white;
	border: 1px solid rgba(0, 0, 0, .2);
}

.legend-content .legend-title {
	margin: 0 0 10px;
	font-size: 11px;
	text-transform: uppercase;
}

.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 12px !important;
	margin-left: 15px !important;
}

/********** Point deleted window ***************/
.ui-dialog-content ui-widget-content {
	background-color: #4caf50;
}

/*************** Categories ****************/
div.catchange_child {
	background-color: #fff;
	margin-right: 75px;
}

/********** Buttons for Carto layers ***************/
.button {
	/* Green */
	background-color: #4CAF50;
	border: none;
	color: white;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1.6em;
	margin: 4px 2px;
	/* Safari */
	-webkit-transition-duration: 0.4s;
	transition-duration: 0.4s;
	cursor: pointer;
}

.button1 {
	background-color: #e0e0e0;
	color: black;
	border: 2px solid #4CAF50;
}

.button1:hover {
	background-color: #4CAF50;
	color: white;
}

.button2 {
	background-color: #e0e0e0;
	color: black;
	border: 2px solid #008CBA;
}

.button2:hover {
	background-color: #008CBA;
	color: white;
}

/*Stuff for right panel************************************/

#intro-wrap {
	position: absolute;
	z-index: 1;
	border-left: 25px solid rgba(0, 0, 0, .2);
	width: 0;
	right: 0;
}

#contentWrap {
	background: rgba(0, 0, 0, .8);
	padding: 15px 40px 25px 30px;
	width: 200px;
}

#intro-wrap h1 {
	font-family: "PT Sans Narrow";
	font-size: 25px;
	color: #fff;
	font-weight: 700;
	margin-bottom: 0px !important;
	padding-bottom: 10px;
}

#intro-wrap p {
	line-height: 19px;
	color: #999;
}

.open-intro,
.close-intro {
	position: absolute;
	right: 20px;
	cursor: pointer;
	width: 50px;
	height: 25px;
	z-index: 50;
	padding-left: 15px;
}

.open-intro {
	display: none;
	background: yellow
}

.close-intro {
	background: red;
}

input {
	font-size: 1.3em;
	width: 90%;
	margin-left: 5px;
	padding: 2px;
}

#id_colorBlind {
	width: auto;
	vertical-align: top;
}

.setting-submit-flex {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

/*Dialog box for deleting a point */
/*#dialog {
    position: absolute;
    height: auto;
    width: 300px;
    top: 126px;
    left: 139.5px;
    display: block;
    z-index: 1500;
    background: rgb(255,255,255);
}
*/
/************************Change user name************************************/
#userChange {
	margin: auto;
	max-width: 400px;
	border: 3px solid #73AD21;
	padding: 10px;
	margin-top: 25px;
}

input[type=submit] {
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	margin-top: 5px;
	width: 100px;

}

input[type=submit]:hover {
	background-color: #45a049;
}

/************************tr for folders************************************/
tr#element:hover {
	background-color: blue;
	cursor: pointer;

}

/********************Tooltip text**********************************/
.leaflet-tooltip {
	opacity: 1 !important;
	background: rgba(235, 235, 235, 0.81);
	background-clip: padding-box;
	border-color: rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	border-style: solid;
	border-width: 4px;
	color: #111;
	display: block;
	font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding: 1px 6px;
	position: absolute;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	white-space: nowrap;
	z-index: 6;
}

.leaflet-tooltip-bottom:before {
	top: -4px;
	border-bottom-color: inherit;
}

.leaflet-tooltip-left:before {
	right: -4px;
	border-left-color: inherit;
}

.leaflet-tooltip-right:before {
	left: -4px;
	border-right-color: inherit;
}

.leaflet-tooltip-pane {
	z-index: 400;
}

#propertyTable {
	font-family: Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	width: 100%;
	border: double;
	text-align: center;
	cursor: pointer;
	border: 2px solid #444444;
}

#propertyTable tr {
	height: 46px;
}

#propertyTable td,
#propertyTable th {
	border: 1px solid #ddd;
	padding: 5px;
}

#propertyTable tr:nth-child(even) {
	background-color: #f2f2f2;
}

#propertyTable tr:hover {
	background-color: #ddd;
}

#propertyTable th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: center;
	background-color: #04AA6D;
	color: white;
}

#paginationButtons {
	text-align: center;
	margin-top: 10px;
}

#paginationButtons button {
	display: inline-block;
	padding: 5px 6px;
	margin: 0 2px;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 3px;
}

#paginationButtons button:hover {
	background-color: #afafaf;
}

#paginationButtons .ellipsis {
	display: inline-block;
}

#paginationButtons .ellipsis-container {
	display: flex;
	align-items: center;
}

#paginationButtons .dot {
	width: 4px;
	height: 4px;
	background-color: #333;
	border-radius: 50%;
	margin: 0 1px;
}

#paginationButtons .active {
	background-color: #007bff;
	color: #fff;
}

#advancedFilterDiv {
	display: flex;
	flex-wrap: wrap;
}

#advancedFilterDiv input {
	width: fit-content;
	margin: 0px;
}

#advancedFilterAccordion {
	max-height: 0;
	overflow: hidden;
	/* Add a transition for smooth animation */
	transition: max-height .6s ease;
}

#advancedFilterAccordion.show {
	/* Set a maximum height to expand to */
	max-height: 500px;
}

#searchBtn,
#advancedFilterToggleButton,
#applyFilterOnMapButton {
	border: 1px solid #ccc;
	margin: 0;
	vertical-align: middle;
	background: #fff;
	box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
	cursor: pointer;
	color: #333;
	border-radius: 4px;
}

#searchBtn {
	margin-left: 10px;
	padding: 2px 10px;
}

#advancedFilterToggleButton,
#applyFilterOnMapButton {
	padding: 5px 30px;
}

#applyFilterOnMapButton {
	position: relative;
}

/* Style for the disabled button */
#applyFilterOnMapButton[disabled] {
	/* Change background color */
	background-color: #dddddd;
	/* Change text color */
	color: #999999;
	/* Change cursor */
	cursor: not-allowed;
}

#applyFilterOnMapButton #loadingIcon {
	position: absolute;
	left: -1%;
	top: 3px;
}

#applyFilterOnMapButton #loadingIcon img {
	width: 20px;
	height: 20px;
}

#advancedFilterDiv fieldset {
	margin: 4px 2px;
}

#advancedFilterDiv fieldset>div {
	display: flex;
	margin: 6px 0px;
}

#advancedFilterDiv fieldset label {
	margin-left: 3px;
}

#advancedFilterDiv input,
#advancedFilterDiv label {
	font-size: 1em;
}

#paginatedDataList input {
	margin: 0px;
}

/* Property table loading overlay styles */
#propertyTableWrapper {
	position: relative;
}

#propertyTableLoadingOverlay {
	position: absolute;
	width: 100%;
	height: 100%;
	/* Semi-transparent white background */
	background-color: rgba(255, 255, 255, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	/* Ensure the loading overlay appears above other content */
	z-index: 100;
}

#propertyTableLoadingOverlay img {
	padding: 0;
	cursor: default;
}

/* Price input container styles */
#year_calculation .price-input-container * {
	margin: 0;
	padding: 0;
}

#year_calculation .price-input-container {
	width: 100%;
}

#year_calculation .price-input .price-field {
	display: flex;
	margin-bottom: 14px;
}

#year_calculation .price-field input {
	flex: 1;
	font-size: 15px;
	font-family: "DM Sans", sans-serif;
	border-radius: 9px;
	text-align: center;
	border: none;
}

#year_calculation .price-field span {
	flex: 1;
}

#year_calculation .price-field input {
	flex: 3;
	font-size: 1.3em;
}

/* Slider container styles */
#year_calculation .slider-container {
	width: 100%;
	height: 6px;
	position: relative;
	/* Change to #e4e4e4 if needed */
	background: #fff;
	border-radius: 5px;
}

#year_calculation .slider-container .price-slider {
	height: 100%;
	left: 25%;
	right: 15%;
	position: absolute;
	border-radius: 5px;
	background: #01940b;
}

/* Range input styles */
#year_calculation .range-input {
	position: relative;
}

#year_calculation .range-input input {
	position: absolute;
	width: 100%;
	height: 5px;
	background: none;
	top: -5px;
	pointer-events: none;
	cursor: pointer;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Styles for the range thumb in WebKit browsers */
#year_calculation input[type="range"]::-webkit-slider-thumb {
	height: 18px;
	width: 18px;
	/* Changed to 50% for a perfect circle */
	border-radius: 50%;
	/* Center gradient */
	background: radial-gradient(circle, white, #007bff);
	;
	pointer-events: auto;
	-webkit-appearance: none;
}

/* Styles for the range thumb in Mozilla Firefox */
#year_calculation input[type="range"]::-moz-range-thumb {
	height: 18px;
	width: 18px;
	/* Changed to 50% for a perfect circle */
	border-radius: 50%;
	/* Center gradient */
	background: radial-gradient(circle, white, #007bff);
	;
	pointer-events: auto;
	-moz-appearance: none;
}

/* Styles for number input spin buttons */
#year_calculation input[type="number"]::-webkit-outer-spin-button,
#year_calculation input[type="number"]::-webkit-inner-spin-button {
	opacity: 1;
	display: block;
	width: 18px;
	height: 18px;
}

#year_calculation input[type="number"]::-moz-outer-spin-button,
#year_calculation input[type="number"]::-moz-inner-spin-button {
	opacity: 1;
	display: block;
	width: 18px;
	height: 18px;
}