html {
	position: relative;
	min-height: 100%;
	overflow-y: scroll; /* Fix shifting content due to scrollbar */
  scroll-behavior: smooth; /* For goto Top Button */
}

body {
	background-color: #d3d3d3;
	margin-bottom: 60px; /* Margin bottom by footer height */
}

img {
	max-width: 100%;
}

a {
	color:dimgrey;
}

a:hover,
a:focus
	{
	color:black;
  text-decoration: none;
}

h1 {
	font-size: 1.5em;
	color: black;
}

h2 {
	font-size: 1.2em;
	color: black;
}

	.container {
		max-width: {{ .Site.Params.containerMaxWidth | default "700px" | safeCSS }};
	}

	#main {
		margin-top: 1em;
		margin-bottom: 4em;
	}

	#header {
		display: flex; /* or inline-flex */
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-around;
	}

	#header a {
		color:black;
		font-size: 3em;
	}

	.taxonomy_title {
		font-size:1.2em;
	}

	.pagination > li > a
		{
		background-color: white;
		color: black;
	}

	.pagination > li > a:focus,
	.pagination > li > a:hover,
	.pagination > li > span:focus,
	.pagination > li > span:hover
		{
		color: #5a5a5a;
		background-color: #eee;
		border-color: #ddd;
	}

	.pagination > .active > a
		{
		color: white;
		background-color: grey !Important;
		border: solid 1px grey !Important;
	}

	.pagination > .active > a:hover {
		background-color: grey !Important;
		border: solid 1px grey;
	}

	.ellipse .page-link {
		z-index: 3;
		color: black;
		background-color: white;
		pointer-events: none;
	}

	.tag-btn {
		margin-bottom: 0.9em;
	}

	.badge {
		z-index: -1; /* Fix menu/tag badges overlapping */
		position: relative;
	}

	.btn:hover {
		background: gray;
		color: white;
		z-index: 3;
		position: relative;
	}

	#image-frame {
		padding-top: 1em;
		border-color: black;
		background-color: #C0C0C0;
		display: block;
	}

	#featured-image {
		margin-bottom: 1em;
	}

	#caption {
		margin-top: 1em;
		margin-bottom: 1em;
		font-size: 0.7em;
		color: black
	}

	#caption a {
		color: black
	}

	#nextprev {
		font-size: 0.7em;
		margin-bottom: 1em;
	}

	#nextprev a {
		color: dimgrey;
	}

	#nextprev a:hover {
		color: black;
	}

  #btn_top {
  	display: flex; /* or inline-flex */
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-around;
  }

  #btn_top a {
    font-size: 2em;
  }

 
	#breadcrumb-border {
		border-top: 1px solid #212529;
	}

	#breadcrumb {
		display: flex; /* or inline-flex */
		flex-direction: row;
		flex-wrap: nowrap;
		font-size: 0.7em
	}
	#breadcrumb a {
		color: dimgrey;
	}

	#breadcrumb a:hover {
		color: black;
	}

	<!--
	-#breadcrumb > .active > a {
		-	 color: black;
		-}
-->

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px; /* Set the fixed height of the footer here */
	line-height: 60px; /* Vertically center the text there */
	background-color: lightgray;
}

	.footer p{
		font-size: 0.7em;
	}

	#footer {
		margin-top: 2em;
	}

	#footer-items {
		display: flex; /* or inline-flex */
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-around;

	}
	#footer-items a {
		color: black;
	}

	/* Main menu https://codingnconcepts.com/hugo/nested-menu-hugo/*/
	.no-js .menu__btn {
		display: none;
	}

	.menu__btn {
		display: block;
		width: 100%;
		padding: 0;
		font: inherit;
		color: #fff;
		background: #2a2a2a;
		border: 0;
		outline: 0;
	}

	<!--
	-.menu__btn-title {
		-  position: relative;
		-  display: block;
		-  padding: 10px 15px;
		-  padding: 0.625rem 0.9375rem;
		-  font-weight: 700;
		-  text-align: right;
		-  text-transform: uppercase;
		-  cursor: pointer;
		-  -webkit-user-select: none;
		-  -moz-user-select: none;
		-  -ms-user-select: none;
		-  -o-user-select: none;
		-  user-select: none;
		-}
-->

:focus > .menu__btn-title {
	box-shadow: inset 0 0 1px 3px #e22d30;
}

	button:not(:-moz-focusring):focus > .menu__btn-title {
		box-shadow: none;
	}

	.menu__btn:focus,
	.menu__btn-title:focus {
		outline: 0;
	}

	.js .menu__btn--active {
		color: #000000;
	}

	.menu__list,
	.submenu__list {
		list-style: none;
		<!--
	-background: #cccccc;
	-->
	}

	.menu__item:hover > a {
		color: #000000;
		background: #cccccc;
	}

	.menu__item:first-child {
		border: 0;
	}

	.menu__item--active {
		<!--
	-background: #bfbfbf;
	-->
	<!--
-pointer-events: none;
-->
	}

	.menu__text--active {
		color: #000000;
	}

	.menu__link {
		display: block;
		padding: 10px 15px;
		padding: 0.625rem 0.9375rem;
		font-weight: 700;
		color: dimgrey;
		<!--
	-text-transform: uppercase;
	-->
	}

	.menu__list .menu__item .submenu__list {
		background: #cccccc;
		visibility: hidden;
		opacity: 0;
		position: absolute;
		max-width: 15rem;
		transition: all 0.5s ease;
		border: 0;
		display: none;
	}

	.menu__item.menu__dropdown input[type="checkbox"] {
		display: none;
	}

	.menu__list .menu__item:hover > .submenu__list,
	.menu__list .menu__item:focus-within > .submenu__list,
	.menu__list .menu__item .submenu__list:hover,
	.menu__list .menu__item .submenu__list:focus {
		visibility: visible;
		opacity: 1;
		display: block;
	}

	.menu__link:hover {
		color: #fff;
	}

	.js .menu__list {
		position: absolute;
		z-index: 1;
		width: 100%;
		visibility: hidden;
		-webkit-transform: scaleY(0);
		transform: scaleY(0);
		-webkit-transform-origin: top left;
		transform-origin: top left;
	}

	.js .menu__list--active {
		visibility: visible;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		-webkit-transform: scaleY(1);
		transform: scaleY(1);
	}

	.menu__list--transition {
		transition: visibility 0.15s ease, transform 0.15s ease,
		-webkit-transform 0.15s ease;
	}

	@media screen and (min-width: 767px) {
		.menu {
			border-bottom: 1px solid #000000;
		}

		.menu__btn {
			display: none;
		}

		.menu__list,
		.js .menu__list {
			position: relative;
			display: -webkit-flex;
			display: flex;
			-webkit-flex-wrap: wrap;
			flex-wrap: wrap;
			visibility: visible;
			border: 0;
			-webkit-transform: none;
			transform: none;
		}

		.menu__item {
			border-left: 1px solid rgba(255, 255, 255, 0.1);
		}
	}

	@media screen and (max-width: 767px) {
		.menu {
			border-bottom: 1px solid #000000;
		}

		.menu__item.menu__dropdown .drop-icon {
			position: absolute;
			right: 1rem;
			top: auto;
		}

		.menu__item.menu__dropdown input[type="checkbox"] + .submenu__list {
			display: none;
		}

		.menu__item.menu__dropdown input[type="checkbox"]:checked + .submenu__list {
			border: none;
			padding-left: 20px;
			visibility: visible;
			opacity: 1;
			display: block;
			position: relative;
			max-width: 100%;
		}

		.btn {
			text-align: left; /* fix weird wrapping text on mobile */
		}
	}

	@media screen and (max-width: 620px) {
		.menu__item.menu__dropdown .drop-icon {
			position: absolute;
			right: 1rem;
			top: auto;
		}

		.menu__item.menu__dropdown input[type="checkbox"] + .submenu__list {
			display: none;
		}

		.menu__item.menu__dropdown input[type="checkbox"]:checked + .submenu__list {
			border: none;
			padding-left: 20px;
			visibility: visible;
			opacity: 1;
			display: block;
			position: relative;
			max-width: 100%;
		}
	}
