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

  #F0F0F0 Body background
  #f2f2eb Section background
  #214299 Text color
*/
/*html5 display rule*/
address, article, aside, canvas, details,
figcaption, figure, footer, header, hgroup,
nav, menu, nav, section, summary {
	display: block;
}

body
{
  margin: 0;
  padding: 0;
  font-size: 100%;
	background: #CCD1D1;
	/* width: 80%; */
  /* font-family: 'Old Standard TT', serif; */
  font-family: 'Montserrat', sans-serif;
}
.banner {
  background-color: #ecf1ef;
	/* background-color: ##8bb2d9; */
  width: 100%;
  top: 0;
  left: 0;
}
.banner-image {
  display: block;
  margin: 0 auto;
}
main, footer {
  width: 95%;
  margin: 0px auto;
}
#title {
	color: white;
	font-size: 2em;
	float: left;
}
/*==============================================*/

/*==============================================
            Navigation Styles
==============================================*/
.MainNav {
  /* background: #7B878C; */
	background: #273746;
	/* background: rgb(76, 67, 65); */
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}
.MainNav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
  font-size: 1em;
  /* line-height: 2em; */
}
.MainNav > ul > li {
	float: right;
	color: white;
}
.MainNav ul::after {
	content: '';
	display: block;
	clear: both;
}
.MainNav ul li:hover {
	background-color: #214265;
}
.MainNav ul li:hover > ul {
	display: block;
}
.MainNav ul li a {
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	width: 125px;
	color: white;
}
.MainNav ul li a:hover {
	background-color: #214265;
}
.MainNav ul ul {
	position: absolute;
	display: none;
	top: 100%
	border: 1px #214265 solid;
	background-color: rgba(33, 66, 101, .9);
}
.ActiveItem, .MainNav li a:hover {
  background: #214265;
}
/*==============================================*/

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); */
}
p {
  line-height: 1.7;
  font-size: 1.2rem;
  text-align: justify;
  /* background-color: #ecf1ef; */
  color: #000039;
}
header > p {
  margin: 10 0 0 10px;
  background: inherit;
  font-weight: bold;
  /* color: #214265; */
  /* color: #000039; */
}
article > p {
	margin-top: 100px;
}
a {
  color: black;
  font-size: 1.2em;
  /* text-decoration: none; */
}

/*==============================================
  Formatting for the different Section elements
==============================================*/
.card {
  border-radius: 10px;
  /* border: 1px solid black; */
  /* box-shadow: 3px 5px #214265; */
  /*box-shadow: inset 0 0 15px black; */
  /* background: #ecf1ef; */
	/*background: rgb(237,228,214);*/
	background: white;
  margin: 1em auto;
  padding-bottom: 10px;
  width: 90%;
}
.card header {
  min-height: 2em;
  line-height: 2em;
  /* background: #214265; */
	background: #273746;
  color: white;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  border-bottom: 1px solid black;
  padding: 0;
}
.card header:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.card p {
  margin: .5em;
  padding: .5em;
}
.card h3, .card a {
  margin: 1em;
}
.card.sources {
  word-wrap: break-word;
}
.person-image, .person-image-right {
  display: block;
  clear: both;
  height: 200px;
  padding-bottom: 10px;
  margin: .6em auto;
}

@media only screen and (min-width: 1150px) {
  .family-info {
    display: inline-block;
    vertical-align: top;
    width: 500px;
		margin: 10px 10%;
    height: 500px;
    margin: 1em;
  }
	.children-info, .person-info, .sources {
		width: 70%;
	}
}
/* @media only screen and (min-width: 700px) {
  .family-info {
    display: inline-block;
    width: 500px;
    min-width: 500px;
    height: 500px;
  }
} */
