/* ----------- Smartphones Landscape ----------- */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .intro .iconInfo {
    font-size: 0.9em;
  }
  .intro .creditLine {
    font-size: .6em;
  }
  .heroImg {
    max-height: 100%;
  }
  .projectName {
    letter-spacing: 2px;
    font-size: 0.9em;
    line-height: 1.5em;
  }
  .episodeName {
    font-size: 1.75em;
    line-height: 1.2em;
    padding: 0.35em 0.5em 0.8em;
  }
  .masthead {
    width: 40em;
    max-width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mainCopy {
    width: 40em;
    margin: 45px auto;
    padding: 0em 2em;
  }
  .summary {
    font-size: 1.25em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.65em;
    text-align: center;
  }
  .lightDivider {
    margin: 45px auto;
  }
  .longIntro {
    font-size: 1.1em;
    line-height: 1.5em;
    margin: 4.5em 0;
    text-align: left;
    color: #36322D;
  }
  .longIntro:first-letter {
    font-weight: 900;
    float: left;
    margin: 0.15em 0.1em 0 0;
    text-shadow: 1px 1px 0 #fff, 3px 3px 0 #B4ACAC;
    color: #36322D;
    font-size: 3.4em;
    line-height: 0.7em;
  }
  .caption {
    padding: .5em 1em;
    font-size: 0.95em;
    line-height: 1.45em;
  }
}
/* ----------- Smartphones Portrait ----------- */
@media only screen and (max-width: 479px) {
  .intro .iconInfo {
    font-size: 0.9em;
  }
  .intro .creditLine {
    font-size: .6em;
  }
  .heroImg {
    min-height: 320px;
    max-height: 75%;
  }
  .projectName {
    letter-spacing: 1px;
    font-size: 0.8em;
    line-height: 1.45em;
  }
  .episodeName {
    font-size: 1.5em;
    line-height: 1.2em;
    margin: 0;
    padding: 0.2em 0.25em 0.6em;
  }
  .masthead {
    width: 24em;
    max-width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mainCopy {
    width: 24em;
    margin: 35px auto;
    padding: 0em 1em;
  }
  .summary {
    font-size: 1.25em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.55em;
    text-align: center;
  }
  .lightDivider {
    margin: 35px auto;
  }
  .longIntro {
    font-size: 1.1em;
    line-height: 1.55em;
    margin: 3em 0 5em 0;
    text-align: left;
  }
  .longIntro:first-letter {
    font-weight: 600;
    float: left;
    margin: 0.15em 0.1em 0 0;
    text-shadow: 1px 1px 0 #fff, 3px 3px 0 #B4ACAC;
    color: #36322D;
    font-size: 3.4em;
    line-height: 0.55em;
    vertical-align: baseline;
  }
  /* ===== Gallery ==== */
  .figure {
    margin: 0;
  }
  .figure > img {
    float: left;
  }
  .caption {
    font-size: 0.85em;
    line-height: 1.5em;
    padding: 0.75em 1em 0.75em 1em;
  }
  .caption .metaInfo {
    font-weight: 200;
  }
  .darkDivider {
    border-bottom: 1px solid #45423F;
    width: 25%;
    margin: 2.25em auto 3em;
  }
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1005px) {
  .intro .iconInfo {
    font-size: 0.9em;
  }
  .intro .creditLine {
    font-size: .6em;
  }
  .projectName {
    letter-spacing: 2px;
    font-size: 1em;
    line-height: 1.5em;
  }
  .episodeName {
    font-size: 3.25em;
    line-height: 1em;
    padding: 0.25em 0.1em 0.85em;
  }
  .masthead {
    width: 42em;
  }
  .mainCopy {
    width: 42em;
    margin: 60px auto;
    padding: 0em 2em;
  }
  .summary {
    font-size: 1.65em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.65em;
    text-align: center;
  }
  .lightDivider {
    margin: 60px auto;
  }
  .longIntro {
    font-size: 1.35em;
    line-height: 1.725em;
    margin: 4.5em 0;
    text-align: left;
  }
  .longIntro:first-letter {
    font-weight: 900;
    float: left;
    margin: 0.15em 0.1em 0 0;
    text-shadow: 1px 1px 0 #fff, 3px 3px 0 #B4ACAC;
    color: #36322D;
    font-size: 3.6em;
    line-height: 0.6em;
  }
  .caption {
    font-size: 0.95em;
    line-height: 1.45em;
    padding: .75em 1em;
  }
}
/* Desktops and laptops ----------- */
@media only screen and (min-width: 1006px) {
  .intro .iconInfo {
    font-size: 1.1em;
  }
  .intro .creditLine {
    font-size: .75em;
  }
  .projectName {
    letter-spacing: 2px;
    font-size: 1.1em;
    line-height: 1.65em;
  }
  .episodeName {
    font-size: 3.55em;
    line-height: 1em;
    margin: 0;
    padding: 0.25em 1em 1em;
  }
  .gradient-overlay {
    position: absolute;
    z-index: 4;
    width: 100%;
    bottom: 0;
  }
  /* ==== Main Copy ==== */
  .mainCopy {
    width: 42em;
    margin: 60px auto;
    padding: 0em;
  }
  .summary {
    font-size: 1.7em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.75em;
    text-align: center;
  }
  .lightDivider {
    margin: 60px auto;
  }
  .longIntro {
    font-size: 1.4em;
    line-height: 1.75em;
    margin: 5em 0;
    text-align: left;
  }
  .longIntro:first-letter {
    font-weight: 900;
    float: left;
    margin: 0.1em 0.1em 0 0;
    text-shadow: 1px 1px 0 #fff, 3px 3px 0 #B4ACAC;
    color: #36322D;
    font-size: 3.55em;
    line-height: 0.75em;
  }
  .caption {
    font-size: 1.1em;
    line-height: 1.4;
    padding: .75em 1.15em;
  }
  .darkDivider {
    border-bottom: 1px solid #45423F;
    width: 25%;
    margin: 0 auto;
  }
}
/* Desktops and laptops ----------- */
@media only screen and (min-width: 1006px) {
  .intro .iconInfo {
    font-size: 1.1em;
  }
  .intro .creditLine {
    font-size: .75em;
  }
  .projectName {
    letter-spacing: 2px;
    font-size: 1.1em;
    line-height: 1.65em;
  }
  .episodeName {
    font-size: 3.55em;
    line-height: 1em;
    margin: 0;
    padding: 0.25em 1em 1em;
  }
  .gradient-overlay {
    position: absolute;
    z-index: 4;
    width: 100%;
    bottom: 0;
  }
  /* ==== Main Copy ==== */
  .mainCopy {
    width: 42em;
    margin: 60px auto;
    padding: 0em;
  }
  .summary {
    font-size: 1.7em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.75em;
    text-align: center;
  }
  .lightDivider {
    margin: 60px auto;
  }
  .longIntro {
    font-size: 1.4em;
    line-height: 1.75em;
    margin: 5em 0;
    text-align: left;
  }
  .longIntro:first-letter {
    font-weight: 900;
    float: left;
    margin: 0.1em 0.1em 0 0;
    text-shadow: 1px 1px 0 #fff, 3px 3px 0 #B4ACAC;
    color: #36322D;
    font-size: 3.55em;
    line-height: 0.75em;
  }
  .caption {
    font-size: 1.1em;
    line-height: 1.4;
    padding: .75em 1.15em;
  }
  .darkDivider {
    border-bottom: 1px solid #45423F;
    width: 25%;
    margin: 0 auto;
  }
}
.kenburns {
  -ms-animation: move 7s ease alternate;
  -webkit-animation: move 7s ease alternate;
  -o-animation: move 7s ease alternate;
  -moz-animation: move 7s ease alternate;
  animation: move 7s ease alternate;
  /*
  position: absolute;
  left:0px;
  top:0px;
  */
}
@-ms-keyframes move {
  from {
    -ms-transform: scale(1.6);
    transform: scale(1.6);
  }
  to {
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
@-o-keyframes move {
  from {
    -o-transform: scale(1.6);
    transform: scale(1.6);
  }
  to {
    -o-transform: scale(1);
    transform: scale(1);
  }
}
@-moz-keyframes move {
  from {
    -moz-transform: scale(1.6);
    transform: scale(1.6);
  }
  to {
    -moz-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes move {
  from {
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
/* ANCESTRY STANDARD stuff below */
/****************************************
	Colors - Use should be minimal and mainly for backgrounds
*****************************************/
/****************************************
	Text Color - Use these for coloring text rather than the above
*****************************************/
/****************************************
	Font Familes - Should just rely on inheritance.
*****************************************/
/****************************************
	Font Sizes
*****************************************/
/****************************************
	Line heights
*****************************************/
/****************************************
	Spacing
*****************************************/
/* Use for space between text elements */
/* Use for space between blocks of content */
/****************************************
	Transitions
*****************************************/
/****************************************
	Border radius
*****************************************/
/****************************************
	Media Queries
*****************************************/
/* Specific */
/* At most */
/* At least */
/* Retina */
/****************************************
	Z-index
*****************************************/
/* 1-10 */
.personSection {
  padding: 80px 20px;
  text-align: center;
}
.personSection h4 {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.personSectionInner {
  margin: 0 auto;
  max-width: 700px;
}
#searchingTreeText .loading {
  margin-top: 25px;
}
.personNarrativeText {
  font-size: 28px;
  font-style: italic;
  padding: 5px 0;
}
.otherRelatives > hr {
  border-color: rgba(255, 255, 255, 0.35);
  margin: 35px auto;
  max-width: 75%;
}
.recordKeepText,
.relativesNarativeText {
  font-size: 18px;
}
.relativesNarativeText {
  margin-top: 0;
}
.relativesCard {
  padding: 20px 20px 0;
}
.relativesCard.calloutTrigger {
  cursor: pointer;
}
.relativesCard .userCard {
  padding-bottom: 20px;
}
.ancCol {
  border-radius: 10px;
}
.ancCol.populated:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.active.selectedCard {
  background-color: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
.active.selectedCard .userCard {
  border-bottom: 0;
  padding-bottom: 19px;
}
.centerButton {
  text-align: center;
}
.keepRecordButton {
  margin-right: 20px;
}
.keepRecord {
  margin-top: 10px;
}
.keepRecordButtons {
  margin-top: 10px;
}
.personSectionInner > .keepRecordButtons {
  margin-bottom: 40px;
}
.keepRecordCallout {
  padding: 5px;
  max-width: 300px;
}
.keepRecordCallout.accepted .keepRecordButtons .iconPerson {
  float: none;
}
.keepRecordCallout .keepRecordButtons .iconPerson {
  float: right;
  line-height: 30px;
  vertical-align: middle;
  color: #1B88B0;
  cursor: pointer;
}
.keepRecordCallout .keepRecordButtons .iconPerson:hover {
  color: #03678B;
}
.additionalInsight {
  font-style: italic;
  font-weight: bold;
  line-height: 1.3;
}
.addFamilyText {
  font-size: 18px;
  margin-top: 30px;
}
.personSection .autocomplete {
  margin: 0 20px;
}
/* TODO (FED):
  Change the leaf to the new 3d version
*/
.userCard.iconLeaf2:before {
  color: #9cbe30;
  left: 35px;
  top: 3px;
  position: absolute;
}
.focusPerson {
  border-radius: 10px;
  display: inline-block;
  padding: 20px;
  text-decoration: none !important;
}
.focusPerson:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.relativesSection .ancCol.hide {
  display: none;
}
.focusHintIcon {
  position: absolute;
  top: 0px;
  left: 105px;
  line-height: normal;
}
@media only screen and (max-width: 767px) {
  .focusHintIcon {
    left: calc(50% + 35px);
    /* tells less.js not to evaluate this */
  }
  .personSection {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .personNarrativeText {
    font-size: 19px;
    font-weight: bold;
    padding: 5px 5px;
  }
  .personSection h4 {
    font-size: 15px;
  }
  .relativesCard {
    padding: 20px 0 0 10px;
  }
  /*  */
  .selectedCard .userCard {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 20px;
  }
  .relativesNarativeText {
    font-size: 16px;
  }
  .relativesSection {
    padding-top: 10px;
  }
  .relativesSection > .ancGrid.ancGridPadded {
    padding: 0 0 20px;
  }
  .addFamilyText {
    font-size: 16px;
  }
  .personSection .autocomplete {
    margin: 0;
  }
}
#treesselection {
  margin: 0px auto 35px auto;
}
/* ==== Header/Footer ===== */
#HeaderRegion > *,
#FooterRegion > * {
  -webkit-transition: opacity 1000ms;
  transition: opacity 1000ms;
  opacity: 1;
}
#HeaderRegion.globalNavNotLoaded,
#FooterRegion.globalNavNotLoaded {
  height: 40px;
  background-color: #36322D;
}
#HeaderRegion.globalNavNotLoaded > *,
#FooterRegion.globalNavNotLoaded > * {
  opacity: 0;
}
/* ==== Intro ===== */
html,
body {
  background-color: #f8f7f3;
}
body {
  font-size: 16px;
}
.introContainer {
  text-align: center;
}
.intro {
  display: block;
  overflow: hidden;
  position: relative;
  color: #F8F7F3;
  background-color: #36322D;
}
.intro .iconInfo {
  position: absolute;
  right: 12px;
  bottom: 7px;
  opacity: 0.5;
  cursor: pointer;
  z-index: 11;
}
.intro .creditLine {
  position: absolute;
  top: 7px;
  right: 12px;
  max-width: 40%;
  z-index: 1;
  text-shadow: 0px 0px 0.4em #010101;
  line-height: 1.2em;
  text-align: right;
}
.intro .profileLink {
  display: none;
  position: absolute;
  top: 7px;
  left: 12px;
  max-width: 50%;
  padding: 2px 8px 2px 4px;
  word-wrap: break-word;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  cursor: pointer;
}
.intro .profileLink:link,
.intro .profileLink:visited,
.intro .profileLink:active {
  color: #F8F7F3;
}
.intro .profileLink:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.heroImg {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.realHeroImg {
  position: relative;
  z-index: -1;
  opacity: 0;
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
.heroCaption {
  display: none;
  background: #1A1A1A;
}
.masthead {
  padding: 0 1em 0;
  margin: 0 auto;
  color: #ffffff;
}
.projectName {
  text-transform: uppercase;
  border-bottom: 1px solid white;
  border-top: 1px solid white;
  display: inline-block;
  padding: 0 0 .1em 0;
  font-weight: 400;
  text-shadow: 0px 0px 0.4em #000000;
}
.episodeName {
  display: block;
  font-weight: 700;
}
.episodeArrowIndicator {
  text-align: center;
  font-size: 1.5em;
  position: relative;
  bottom: 0.2em;
}
.episodeArrow {
  cursor: pointer;
  display: inline-block;
  padding: 2px 20px;
  vertical-align: top;
}
.mastHeadContainer {
  position: absolute;
  bottom: 0%;
  z-index: 10;
  width: 100%;
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI2JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjI1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ0JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjQyIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC44NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(26%, rgba(0, 0, 0, 0.25)), color-stop(44%, rgba(0, 0, 0, 0.42)), color-stop(100%, rgba(0, 0, 0, 0.85)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.25) 26%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.85) 100%);
  /* Chrome10+,Safari5.1+ */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.25) 26%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.85) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#d9000000', GradientType=0);
  /* IE6-8 */
}
.mastHeadContainerFixed {
  position: fixed;
}
.mainCopy {
  color: #36322D;
  background-color: inherit;
  max-width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
/* ==== Gallery ==== */
.gallery {
  background: #1A1A1A;
  margin-bottom: -20px;
  overflow: hidden;
  text-align: center;
}
.figure {
  margin: 0;
  text-align: center;
}
.galleryImage {
  display: inline-block;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}
.galleryImageCon {
  max-width: 100%;
  position: relative;
  vertical-align: top;
}
.galleryImageTemp {
  min-height: calc(100vh - 78px);
  opacity: 0;
  white-space: nowrap;
}
.galleryZoomToggle {
  position: absolute;
  right: 10px;
  top: 10px;
}
@media only screen and (max-width: 767px) {
  .galleryImage {
    width: auto;
    max-height: calc(22vh);
  }
}
@media only screen and (min-width: 768px) {
  .galleryImageCon {
    display: inline-block;
  }
  .galleryFixedWidth {
    width: 2000px;
  }
  .galleryFixedHeight {
    height: calc(100vh - 78px);
    width: auto;
    max-width: 100vw;
  }
}
@media only screen and (min-width: 2000px) {
  .galleryImageCon {
    max-width: 2000px;
  }
}
.galleryImageExpanded {
  height: auto;
  width: auto;
}
.caption {
  display: inline-block;
  color: #F8F7F3;
  text-align: left;
  font-weight: 600;
  max-width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.caption .metaInfo {
  font-weight: 400;
  color: #BEBBB3;
}
.darkDivider {
  border-bottom: 1px solid #45423F;
  width: 25%;
  margin: 2.25em auto 3em;
}
.lightDivider {
  border-bottom: 1px solid #BEBBB3;
  width: 35%;
}
/* caption plugin */
.figure + .darkDivider {
  margin-top: 1.75em;
}
.captionOverlay {
  background-color: #1A1A1A;
  height: 0;
  opacity: 0;
  overflow: hidden;
  width: 0;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}
.showCaption > .caption {
  opacity: 0;
}
.showCaption .captionOverlay {
  bottom: 0;
  display: block;
  height: auto;
  left: 0;
  opacity: 1;
  margin-bottom: 0;
  position: fixed;
  right: 0;
  width: auto;
}
.footer {
  width: 100%;
  text-align: center;
  margin: 2em 0;
}
.clear:before,
.clear:after {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hide {
  display: none;
}
