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

#mainContent h2 {
	margin-top: 2em;
}


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

/*Jumbo............................................*/
#mainJumbo{
	background-size: cover;
	height: 300px;
	width: 100%;
	padding:0;
	margin: 0;
}

#mainJumbo {
	display: flex;
}

.red {
	height: 100%;
	background-color: red;
	flex-grow: 1
}

.white {
	height: 100%;
	background-color: white;
	flex-grow: 1
}

.blackScreen {
	background-color: rgba(1,1,1,.6);
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	padding: 20px;
	margin: 5px;
	border-radius: 1px 5px 50px 1px;
	min-height: 200px;
}

.blackScreen h1 {
	margin:0;
	opacity: 1;
}

.whiteOpacity {
	background-color: rgba(255,255,255,.1);
	height: 300px;
	width:100%;
	position: absolute;
	top: 2em;
	display: flex;
	flex-direction: row;
	align-items: center;
}

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

#tableofcontents{
	border: solid black 1px;
	width:22%;
	min-width: 275px;
}

#tocinner{
	margin: 10px 5px;
	padding: 5px;
	border: solid black 1px;
	box-shadow: 1px 1px 2px black;
	display: flex;
	flex-direction: column;
	position: sticky;
    top: 75px;
    font-size: 1em;
    overflow-y: auto;
    max-height: 90vh;
    transition-duration: 1s;
    line-height: 1.7em;
}

.outerul ul li {
	line-height: 2em;
}

.outerul{
	padding: 0;
	list-style-position: inside;
	list-style-type: none;
}

.innerul {
	list-style-type: none;
}

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

#tocinner button {
	padding: 0;
}

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

#mainContent{
	width: 70%;
	padding: 0 40px 0 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	margin: auto;
}

#stickyUp {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index:1;
	padding: 1px;
	font-size: 1.5em;
}

#stickyUp h2 {
	margin: 0;
}

.smallestPhotoDiv {
	float: right;
	width: 200px;
	margin-left: 20px;
}

figcaption {
	background-color: rgb(240,240,240);
	font-size: small;
	padding: 5px;
}

.smallestPhoto {
	width: 200px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

.smallerPhotoDiv {
	float: right;
	width: 350px;
	margin-left: 20px;
}

.smallerPhotoDivLeft {
	float: left;
	width: 350px;
	margin-right: 20px;
}

.smallestPhotoDivLeft {
	float: left;
	width: 200px;
	margin-right: 20px;
}

.smallerPhoto {
	width: 350px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

.mediumPhotoDivLeft {
	width: 500px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

.mediumPhoto{
	width: 500px;
}

.rectanglePhoto {
	box-shadow: none;
	border-radius: 0;
}

.floatRightIframe {
	float: right;
	padding-left: 20px;
}

.floatRightIframe iframe {
	width: 300px;
	height: 300px;
}

.floatLeftIframe {
	float: left;
	padding-right: 20px;
}

.floatLeftIframe iframe{
	width: 300px;
	height: 300px;
}

table {
	display: table;
	font-family: sans-serif;
	font-weight: normal;
	border: 1px solid black;
	border-radius: 5px;
	border-collapse: separate !important;
    box-sizing: border-box;
	font-size: .875em;
    line-height: 1.7142857;
}

td, th {
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	padding: 5px;
	margin: 0;
}

#spanishTerms {
	max-height: 60vh;
	overflow-y:scroll;
}

.floatright {
	float: right;
}

#domesticflights, #taxi, #bus {
	display: inline;
}

.parkMap {
	width:100%;
	display: flex;
	border: solid black 1px;
	box-shadow: 2px 2px 5px black;
	margin-bottom: 30px;
}

.parkMapWrapper, .parkIframeWrapper {
    width: 50%;
    position: relative;
  }

.parkMapWrapper {
	border-right: white solid 2px;
}

.parkMapWrapper::before, .parkIframeWrapper::before {
	content: "";
	display: block;
	padding-top: 100%; /* Maintain square aspect ratio */
}

/* Image Styling */
.parkMapWrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

 /* Scoped Iframe Styling */
 .parkIframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

blockquote {
  float: right;
  width: 50%;
  padding: 20px;
  margin: 10px;
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
  font-style: italic;
  font-size: .8em;
  color: #333;
}

.internal-reference {
  background-color: rgb(250,250,250);
  border-left: 4px solid red;
  padding: 1em 1.25em;
  margin: 2em 0;
  font-size: 1.05em;
  line-height: 1.6;
  color: #333;
  border-radius: 4px;
}

.internal-reference a {
  text-decoration: underline;
  font-weight: 500;
}

/*Media queries................................................*/
@media (max-width: 1043px){
	#titlediv {
		background-color: rgba(0,0,0,.4);
	}
}

@media (max-width: 990px){
	.navbar-brand {
		border-right: none;
		padding-right: 0;
	}
}

@media (max-width: 820px){

	nav li {
		margin: 10px 0;
		font-size: large;
	}

	#navbar {
		position: static;
	}

	#navbar li {
		margin: 5px 0;
		font-size: large;
	}

	main {
		flex-direction: column;
		align-items: center;
	}
}

@media (min-width: 768px) {
  .collapse.dont-collapse-sm {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  #mainContent {
  	align-items: flex-start;
  	width: 100%;
  	padding: 10px;
  }
  button {
  	text-align: left !important;
  }
  .smallerPhoto, .smallerPhotoDiv{
  	width: 100%;
  }
}

@media (max-width: 465px){
	#mainJumbo p{
		margin: 0;
	}

	h1 {
		font-size: 1.875rem;
	}

}