body {
margin: 0px 0px 0px 0px;
font-family: Verdana, sans-serif;
background-color: #AFD2E9;
}

*{
  box-sizing: border-box;
}

/* Style the header */
.header {
  background-color: #FCD0A1;
  padding: 20px;
  text-align: center;
float: none;
}

/* Navigation bar */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #5E4B56;
}

ul.topnav li {float: left;}

ul.topnav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav a:hover:not(.active) {background-color: #362B31;}

ul.topnav li slot a.active {background-color: #A690A4;}
nav-bar div a.active {
  display: block;
  color: #030303;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
background-color: #A690A4;}


/* Create section for main content */
.mainContent {
 
}

.mainContent::after {
  content: "";
  clear: both;
  display: table;
}


.homePageContent{
float: left;
}

/* Create two unequal columns that floats next to each other */
/* Wide screen column */
.wideScreenColumn {
float: left;
width: 20%;
}

/* Blog feed */
.blogFeed {   
  float: left;
}

/* Blog menu */
.blogMenu {
  float: left;
   background-color: white;
padding: 5px 10px 5px;
  margin-top: 20px;
margin-right: 10px;
margin-left: 10px;
}

.aboutPic{
  float: left;
}

.aboutBio{
  float: left;
}

.slideShow{
  float: left;
}

/* blog style */
.post {
margin-top: 20px;
margin-right: 15px;
margin-left: 15px;
margin-bottom: 20px;
padding: 5px 10px 5px;
background-color: #e7f1f8;
}

.title{
  font-size: 20px;
  font-weight: bold;
  color: black;
}

.title a{
  color: black;
}

.title a:hover{
  color:blue;
}

.date {
  font-size: 15px;
  font-weight: bold;
}


#blog .tags {
  padding:0;
  margin:0;
  margin-top: 1em;
  list-style-type: none;
  max-width: 100%;
}

#blog footer .tags {
  margin-bottom: .5em;
  margin-top: 0;
}

#blog .tag {
  display: inline-block;
  font-size: .8333em;
  margin: .25em;
}

#blog .tag a {
  display: block;
  padding: 0 .125em;
  border-radius: .125em;
  text-decoration: none;
}

#blog .tag a:before {
  content: '# ';
}


#blog #tag-form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: .25em;
  width: 100%;
}

#blog #tag-search {
  flex: 8;
}
#blog #tag-form button {
  flex: 1;
}

#blog img {
  max-width: 50%;
  object-fit: contain;
}

#blog .show-more[disabled] {
  position: absolute;
  left: -200vh;
  width: 0;
  height:0;
}

#blog .show-more[disabled]:focus {
  position: static;
}

#blog .show-more:visited,
#blog .show-more {
  display: block;
  position: absolute;
  bottom: 0;
  left:0;
  right:0;
  border:0;
  font: inherit;
  text-align: center;
  padding: 2em 0 1em 0;
  line-height: 1;
  background: transparent;
  background-size:1px 200%;
  background-position: 0 0;
  color: inherit;
  transition: 1s background-position;
}


/* Add a card effect for articles */
.blogMenu a {
color: #362B31;
text-decoration: none;
}

blog-menu div a.active {
color: #362B31;
text-decoration: none;
font-weight: bold;
}

.blogMenu a:hover:not(.active) {text-decoration: underline;}

/* .card for old template */
.card {
 background-color: white;
padding: 5px 10px 5px;
  margin-top: 20px;
margin-right: 10px;
margin-left: 10px;
}

.card p blogTitle {
}

.card p blogTitle.active{color: #5E4B56;}

/* Format images */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
margin-top: auto;
margin-bottom: auto;
padding: 15px;
}

/* Button */
button {
  background-color: white;
display: block;
  margin-left: auto;
  margin-right: auto;
margin-top: 20px;
margin-bottom: 20px;
}

/* Format slideshow */
/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  /* margin-top: -50px; */
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Responsive layout */
@media only screen and (max-width:600px) {
ul.topnav li.right, 
  ul.topnav li {float: none;}
.wideScreenColumn {width: 0%;}
.blogFeed, .blogMenu, .homePageContent, .aboutPic, .aboutBio, .slideShow {width: 100%;}
}

@media only screen and (min-width:600px) {
.wideScreenColumn {width: 0%;}
.blogFeed {width: 75%;}
.blogMenu {width: 25%;}
.homePageContent, .slideShow {width: 100%;}
.aboutPic, .aboutBio {width: 50%}
}

@media only screen and (min-width:900px) {
.wideScreenColumn {width: 10%;}
.blogFeed {width: 60%;}
.blogMenu {width: 20%;}
.homePageContent, .slideShow {width: 80%;}
.aboutPic, .aboutBio {width: 40%}
}

@media only screen and (min-width:1100px) {
.wideScreenColumn {width: 20%;}
.blogFeed {width: 45%;}
.blogMenu {width: 15%;}
.homePageContent, .slideShow {width: 60%;}
.aboutPic, .aboutBio {width: 30%}
}
