/* Possible Color Combos
  #9c9f84 Body background
  #f2f2eb Section background
  #094F96 Text color

  #F0F0F0 Body background
  #f2f2eb Section background
  #214299 Text color
*/

body{
  margin: 0;
  padding: 0;
  font-size: 100%;
  background: #BFBAB0;
  /* font-family: 'Old Standard TT', serif; */
  font-family: 'Montserrat', sans-serif;
}

/*html5 display rule*/
address, article, aside, canvas, details,
figcaption, figure, footer, header, hgroup,
nav, menu, nav, section, summary {
	display: block;
}

main, footer {
  width: 95%;
  margin: 0px auto;
}
/* Padding for Fixed Banner */
main article {
  /* padding-top: 180px; */
  margin-top: 0;
}
.banner {
  /*background-color: #8bb2d9;*/
  background-color: #ecf1ef;
  width: 100%;
  /* position: fixed; */
  top: 0;
  left: 0;
}
.banner-image {
  display: block;
  margin: 0 auto;
}

/* Navigation Styles */
.MainNav {
  background: #7B878C;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}
.MainNav ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.MainNav li {
  float: left;
  vertical-align: middle;
}
.MainNav li a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: .6em .6em;
  text-decoration: none;
  font-size: 1.7em;
}
.ActiveItem {
  background: #214265;
}
.MainNav li a:hover {
  background: #214265;
}
.surnames {
  float: left;
  width: 120px;
  margin: 0;
}
.surnames a {
  display: block;
  border: 1px solid grey;
  background: green;
  color: white;
  padding: 1.5em;
}
/*  Breadcrumbs  */
.breadcrumbs a {
  display: inline-block;
  margin-bottom: 20px;
}
/**************************/

a {
  /* color: #214265; */
  color: #000039;
  /* text-decoration: none; */
}

ul {
  line-height: 1.5;
}

p {
  line-height: 1.7;
  font-size: 1.2rem;
  text-align: justify;
  background-color: #ecf1ef;
  color: #000039;
  /* font-weight: bold; */
}
header > p {
  margin: 0 0 0 10px;
  background: inherit;
  font-weight: bold;
  /* color: #214265; */
  /* color: #000039; */
}
article p, section p {
  padding: .5em;
}

h1 {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0;
  margin-top: 0;
  border-bottom: 1px solid black;
  min-height: 2em;
  line-height: 2em;
  text-align: center;
  /*text-shadow: 2px 2px 3px orange,
                4px 4px 5px blue;*/
  /* text-shadow: 6px 6px 10px rgba(0, 0, 255, 0.5); */
}
h2 {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  padding-left: 10px;
}

.side {
  float: left;
  margin-top: 10px;
  width: 20%;
  min-height: 400px;
  /* border-radius: 10px; */
  border: 1px solid black;
  /* box-shadow: 3px 5px #214265; */
}
.card11 {
  float: right;
  clear: right;
  margin-top: 10px;
  border: 1px solid red;
  width: 60%;
}
/* Formatting for the different Section elements*/
.card {
  /*margin-top: 1.5em; /*1.5em 1.5em 400px; */
  padding: 0;
  border-radius: 10px;
  border: 1px solid black;
  box-shadow: 3px 5px #214265;
  /*box-shadow: inset 0 0 15px black; */
  background: #ecf1ef;
  margin: 20px;
}
.card header {
  margin: 0; /*0 5px 0;*/
  /* padding-left: 20px; */
  min-height: 2em;
  line-height: 2em;
  background: #214265;
  color: white;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
}
.card header:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 1px solid black;
}
.card h3 {
  padding-left: 1.5em;
}
/*section :not(h2) {*/
.card p {
  margin: 0 .5em;
}
.card ul, .card ol {
  word-break: break-all;
  margin: .8em;
}
.family-info > a, .person-info > a {
  display: block;
  margin: 0 .5em 1.5em 1em;
  font-size: 1.2em;
  font-weight: bold;
}
card.sources {
  /* background: #ecf1ef; */
  background: #7B878C;
  font-family: "Courier", sans-serif;
  font-size: 1em;
  line-height: 1.3;
  /* word-wrap: break-word; */
  text-align: left;
}
.card.sources header {
  background: #7B878C;
  color: white;
}
.card.sources a {
  font-style: italic;
  font-weight: bold;
}
.clearfix:after, .clearfix::after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
/************************************************/
a > sup {
  /* background: orange; */
  padding-right: .5em;
  color: #DF2FCC;
  /* font-size: inherit; */
  /* padding: 0; */
  /* margin: 0; */
}
/* ul sup, sup { */
  /* line-height: 1.5; */
  /* font-size: .8em; */
  /* font-weight: bold; */
  /* padding: 0; */
/* } */
/*ol {
  counter-reset: li;
  list-style: none;
}
ol > li::before {
  content: counter(li)".";
  counter-increment: li;
  background: inherit;
  color: darkblue;
  padding-right: 10px;
  font-size: 1em;
}*/
li:target {
  /*background: #F5E4BB;*/
  background: #e6bb56;
}
li not(:target) {
  background: #ecf1ef;
}

.person-image, .person-image-right {
  display: block;
  clear: both;
  height: 200px;
  padding-bottom: 10px;
  margin: .6em auto;
}
.image-round {
	border-radius: 50%;
}

.state {
  display: inline-block;
  width: 300px;
  height: 200px;
  margin: 1em;
}

@media only screen and (min-width: 700px) {
  .card.person-info {
    min-height: 220px;
  }
  .person-image {
    float: left;
    margin-right: .5em;
    margin-left: .5em;
    margin-top: 3em;
  }
  .person-image-right {
    float: right;
    margin-right: .5em;
    margin-left: .5em;
    margin-top: 3em;
  }
}

/*@media only screen and (min-width: 980px) {
  main article {
    padding-top: 180px;
  }
  .person-info p {
    column-count: 2;
    column-gap: 2em;
  }
}*/

/*
.col-narrow {
	width: 30%;
	float: left;
	min-height: 175px;
}
.col-wide {
	width: 70%;
	float: left;
	padding-left: 20px;
}
*/
