html {
	scroll-behavior: smooth;
}

main {
  font-family: "Barlow", sans-serif;
  font-style: normal;
  font-size: 1.1em;
}

main p {
	line-height: 2rem;
}

h2, h3, h4, h5, h6 {
	font-weight: bold;
}

h2 {
	margin-top: 20px;
}

.navbar-nav {
	flex-wrap: wrap;
}

/*Jumbo............................................*/
#Jumbo{
	background-image: url("https://econaturalist-assets.s3.us-east-2.amazonaws.com/images/ecolodges/crarc/costa-rican-amphibian-research-center-hero.webp");
	background-size: cover;
}

#Jumbo div {
	color:black;
	background: rgba(256,256,256,.7);
	max-width: max-content;
	border-radius: 2px;
	text-align: center;
}

.card {
	margin: 20px 0;
	min-height: 100px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	border-radius: 10px;
	box-shadow: 2px 2px 5px black;
}

.card-header {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.nav-item a:hover{
	color:purple;
}

.card h2 {
	margin: 0;
}

#topDiv {
	display: flex;
	width: 100%;
	height: 50vh;
}

#topWords {
	width: 50%;
}

#map {
	border: solid black 1px;
	border-radius: 5px;
}

#topMap {
  position: relative;
  width: 50%;
  padding-top: 20%; /* 16:9 Aspect Ratio (Adjust as needed) */
  overflow: hidden;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#tabContainer {
	width: 90%;
	margin: auto;
}

#mainShell {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	width: 100%;
}

#mainContent {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}

#intro {
	margin: 0 10px;
	text-align: justify;
}

#filters {
	min-width:30%;
}

#something {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
}

#filtersInner {
	padding: 10px;
	margin: 10px;
	border: solid 1px black;
	border-radius: 2%;
}

#filterSelects {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.filterCategory {
	display: flex;
	justify-content: space-between;
	margin: 10px 0;
}

.filterCategory select {
	min-width: 70%;
}

#filteredBy {
	margin:20px;
}

#nonsubscribers {
	margin-top: 20px;
}

#limited {
	border: dotted black 1px;
	padding: 0 5px;
	margin-left: 5px;
}

#updateSearch {
	padding: 5px !important;
}

#nonsubscribers ul {
	margin-top: 20px;
}

#filteredListings ul {
	margin: 10px 0;
	list-style-type: none;
}

#filteredListings li {
	text-align: left;
	display: flex;
	width: 100%;
	height: 100%;
	margin-bottom: 20px;
	border: black solid 1px;
	padding: 2px;
	padding-right: 20px;
}

#filteredListings p{
	line-height: 1rem;
	margin-bottom: 0;
}

#filteredListings a {
	color: black;
}

#acreInner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 10px;
	max-width: 300px;
}

.acreData {
	width: 40%;
	display: flex;
	flex-direction: row;
	margin-bottom: 10px;
}

.acreBox {
	width: 10px;
	height: 10px;
	background-color: lightblue;
	flex-shrink: 0;
}

.acreValue {
	padding-left: 5px;
	font-size: small;
}

.acreValue div {
	text-align: left;
}

#acreOuter h2 {
	font-size: small;
}

#areaVisualOuter {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: center;
}

h3 {
	margin-bottom: 0;
}

.listingDescription {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.listingThumb {
	min-width: 100px;
	height: 100px;
	margin-right: 20px;
}

.hidden {
	display: none !important;
}

.color0{
	color: darkred;
}

.color1{
	color: green;
}

/*Media queries................................................*/
@media (max-width: 990px){
	#tabContainer {
		width: 95%;
	}
}

@media (max-width: 820px){
	main {
		flex-direction: column;
		align-items: center;
	}

	#topDiv {
		flex-direction: column;
		height: auto;
	}

	#topWords {
		width: 100%;
	}

	#topMap {
		position: relative;
		width: 100%;
		padding-top: 56.25%; /* 16:9 Aspect Ratio (Adjust as needed) */
	}

	#map {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 50vh;
	}

	#something {
		flex-direction: column;
	}

	#filters {
		max-width: 500px;
	}

	#acreInner {
		width: 100%;
		max-width: 100%;
	}

	#nonsubscribers, #filteredBy {
		margin-top: 0;
	}
}

@media (max-width: 465px){
	h1 {
		font-size: 1.875rem;
	}

	#tabContainer {
		width: 99%;
	}

	#filteredListings ul {
		padding: 5px;
	}
}

@media (hover: none) {
  a:hover {
    background-color: transparent;
  }
}