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;
}

#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;
}

h3 {
	margin-bottom: 0;
}

.hidden {
	display: none !important;
}

#speciesAndLodges {
	display: flex;
	flex-wrap: wrap;
}

#speciesDiv {
	width: 50%;
	border: solid black 1px;
}

#lodgesDiv {
	width: 50%;
}

#nonsubscribers {
	position: sticky;
	top: 60px;
}

.chevronright {
	width: 20px;
	height: 20px;
	border: solid black 1px;
	border-radius: 5px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	list-style-type: none;
	transition-duration: .5s;
}

.chevronright:hover {
	background-color: lightgrey;
}

.rotated {
	transform: rotate(90deg);
	background-color: yellow;
}

.btn:focus {
  box-shadow: none;
}

#speciesTitle {
	display: flex;
	justify-content: space-around;
	padding: 5px;
}

#nameType {
	display: flex;
	flex-direction: column;
	border: solid black 1px;
	align-items: flex-start;
	padding: 5px;
}

.indented1 {
	padding-left: 1em;
}

.speciesList {
	text-align: left;
}

#lodgesDiv {
	padding: 5px;
	border: solid black 1px;
	border-left: none;
}

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

#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;
}

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

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

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

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

@media (max-width: 530px){
	#speciesTitle {
		flex-direction: column;
	}
	#tabContainer {
		width: 99%;
	}
	#filteredListings li {
		display: flex;
		flex-direction: column;
		padding: 5px;
	}
	.listingThumb {
		width: 100px;
		margin-right: 0;
	}
}

@media (max-width: 465px){

	h1 {
		font-size: 1.875rem;
	}
	.indented1 {
		padding-left: 0;
	}
}

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