@font-face {
  font-family: 'ProximaNova-SemiBold';
  src: url('ProximaNova-SemiBold.eot');
  src: url('ProximaNova-SemiBold.eot?#iefix') format('embedded-opentype'), url('https://edge.fscdn.org/assets/img/ProximaNova-SemiBold-bba11955959ea56cb0c1ae3d3b9b9b2a.woff') format('woff'), url('https://edge.fscdn.org/assets/img/ProximaNova-SemiBold-fbfe5c8a6f2ad5350380f04fe09ba44f.ttf') format('truetype'), url('https://edge.fscdn.org/assets/img/ProximaNova-SemiBold-6c1b0f2a27368ddc12cdd62d70ba9c7a.svg#webfont') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ProximaNova-SemiBold';
  src: url('ProximaNova-SemiBold.eot');
  src: url('ProximaNova-SemiBold.eot?#iefix') format('embedded-opentype'), url('https://edge.fscdn.org/assets/img/ProximaNova-SemiBold-bba11955959ea56cb0c1ae3d3b9b9b2a.woff') format('woff'), url('https://edge.fscdn.org/assets/img/ProximaNova-SemiBold-fbfe5c8a6f2ad5350380f04fe09ba44f.ttf') format('truetype'), url('https://edge.fscdn.org/assets/img/ProximaNova-SemiBold-6c1b0f2a27368ddc12cdd62d70ba9c7a.svg#webfont') format('svg');
  font-weight: bold;
  font-style: normal;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
}

body.noScroll #global-engage-header nav a.nav-item {
  padding: 5px 9px;
}

body.noScroll #global-engage-footer.hide {
  display: none !important;
}

body.noScroll #global-engage-header .logo-container .logo {
  margin-left: 20px;
}

body.noScroll #global-engage-header nav .account,
body.noScroll #global-engage-header .global-util-nav-container > ul {
  margin-right: 20px;
}

body.noScroll #push {
  display: none;
}

body.noScroll {
  overflow-y: hidden;
  overflow-x: auto;
}

.dropdown-menu {
  border: 1px solid #4d4d4a;
  border-radius: 4px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background: #F1F8E3;
  color: #333331;
}

.lifesketchControl {
  clear: left;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
}

article {
  background: #ECEBEA;
}

body.noScroll:not([data-page="search"]) #global-engage-header,
body.destinationPage:not([data-page="search"]) #global-engage-header {
  width: auto;
  margin: 0 0 5px;
}

body.wrap:not([data-page="search"]) #global-engage-header {
  width: 980px;
  margin: 0 auto 5px;
  padding: 0;
}

body:not([data-page="search"]) #global-engage-header .global-util-nav-container,
body:not([data-page="search"]) #global-engage-header .global-pri-nav-container {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
}
body#tree-style:not([data-page="search"]) {
  min-width: 980px;
}

body.wrap:not([data-page="search"]) #content {
  position: relative;
  width: 980px;
  margin: 0 auto;
}

body.noScroll article {
  border-bottom: solid 1px #666460;
}

.living #DISCUSSIONS_hdrMessage,
.living #Sources,
.living #Discussions {
  display: none;
}

#DISCUSSIONS_message,
#SOURCES_message {
  display: none;
}

.living #DISCUSSIONS_message, .living #SOURCES_message {
  display: block;
  clear: left;
}

#tree-style ::selection {
  background: #d6e5f6;
}

#tree-style .openable .open-close-control {
  position: absolute;
  right: 15px;
  top: 15px
}

#tree-style .openable .open-close-button {
  font-size: 14px;
  text-align: center;
  color: #333331;
  line-height: 14px;
}

#tree-style .side-banner-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 19900;
  text-align: center;
  color: #fff;
  font-size: 12px;
}

#tree-style .side-banner-container .reference {
  float: left;
  background: #990000;
  padding: 9px 16px 8px 16px;
}

#Alert {
  position: fixed;
  top: 62px;
  right: 40px;
  z-index: 1000;
}

#tree-style .treeDestinationPage,
#tree-style .modalPage {
  padding-left: 20px;
  padding-right: 20px;
}

#tree-style .goto-links {
  background: #fff;
  color: #4C4C4A;
  border-bottom: 2px solid #ccc;
  border-top: 2px solid #ccc;
  font-size: 16px;
  padding: 10px 20px;
}

#tree-style .goto-links {
  margin: 0 -20px;
}

#tree-style .goto-links .personLinks {
  font-size: inherit;
  margin: 0;
}

#tree-style .goto-links .personLinks a,
#tree-style .goto-links a.barOnLeft {
  margin-left: 5px;
}

#tree-style .goto-links .personLinks a:first-child:after,
#tree-style .goto-links a.bar-on-right:after {
  content: ' |';
  display: inline;
}

#tree-style .parent-child .goto-links a.bar-on-right::after {
  margin-right: 5px;
}

#tree-style .rounded-section {
  background: #fff;
  border: 1px solid #CACACA;
  border-radius: 12px;
  font-size: 14px;
  margin: 15px 0 0 15px;
  overflow: hidden;
  padding: 3px 0;
  position: relative;
  width: 693px;
}

#tree-style .full-section {
  width: auto;
  margin: 15px 0 0 0;
  clear: both;
}

#tree-style .rounded-section h4 {
  color: #333331;
  font-size: 20px;
  margin: 0;
}

#tree-style .rounded-section h5 {
  color: #333331;
  font-size: 18px;
  margin: 10px 0;
  font-weight: normal;
  text-transform: none;
}

#tree-style .rounded-section .gadget {
  clear: left;
}

#tree-style .section-wrap {
  padding: 15px;
}

#tree-style .section-wrap:after {
  display: table;
  line-height: 0;
  content: "";
  clear: both;
}

#tree-style .sideBar {
  display: block;
  width: 250px;
  float: right;
}

#tree-style .sideBar.positioned {
  float: right;
}

#tree-style .sideBar .gadget {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  font-family: inherit;
  padding: 0 0 10px;
  margin: 15px 20px 0 0;
  box-shadow: 0 0 5px rgba(0,0,0,.65);
  width: auto;
  min-height: 290px;
}

#tree-style .sideBar .gadget:first-child {
  min-height: 50px;
}

a.male,
a.female,
a.unknown {
  color: #0051c4;
  font-size: 16px;
  background: none;
  position: relative;
}

#tree-style .fs-icon-before-male:before,
#tree-style .fs-icon-before-female:before,
#tree-style .fs-icon-before-unknown:before {
  content: '';
  position: absolute;
  top: 6px;
  left: -4px;
}

#tree-style .fs-icon-before-male-micro:before,
#tree-style .fs-icon-before-female-micro:before,
#tree-style .fs-icon-before-unknown-micro:before {
  content: '';
  display: inline-block;
  margin-right: 5px;
}

#tree-style .ui-menu-item {
  font-family: inherit;
  font-size: 14px;
  margin: 2px;
}

#tree-style .read-more-control p {
  font-size: 14px;
  color: #4d4d4a;
}

#tree-style .read-more-control a {
  font-size: 14px;
}

/* Bootstrap reset */
.label {
  padding: 1px 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: normal;
  color: #4d4d4a;
  text-shadow: none;
  background-color: transparent;
}

[class*="span"] {
  float: none;
  margin-left: 0;
}

#tree-style input[type="radio"],
#tree-style input[type="checkbox"] {
  margin: 0;
}

::-moz-placeholder {
  font-size: 14px;
  color: #99938D;
}

:-moz-placeholder {
  font-size: 14px;
  color: #99938D;
}

:-ms-input-placeholder {
  font-size: 14px;
  color: #99938D;
}

::-webkit-input-placeholder {
  font-size: 14px;
  color: #99938D;
}

input, button, select, textarea {
  font-family:inherit;
}

/* End Bootstrap reset */

/* Spinner Definitions */

.spinner-large-gray {
  background: url('../img/spinner-large-gray.gif') no-repeat;
  width: 32px;
  height: 32px;
}

.spinner-large-white {
  background: url('../img/spinner-large-white.gif') no-repeat;
  width: 32px;
  height: 32px;
}

#subject {
  min-height: 280px;
}

/* Ancestor Page */
#ancestorPage.tombstoned .sideBar {
  display: none;
}

#content #ancestorPage .details-content,
#content #ancestorPage .ordinances-content {
  padding: 0 0 23px 0;
  position: relative;
}

#content #ancestorPage .memories-content {
  padding: 0 0 8px 0;
  position: relative;
}

#content #ancestorPage .details-content .rounded-section {
  float: left;
}

/* Autocomplete */
[aria-live="polite"] {
  display: none;
}

/* End Ancestor Page */

.third-nav {
  margin: 0;
  list-style-type: none;
}

.third-nav li {
  float: left;
}

.third-nav a {
  display: block;
  position: relative;
  color: #666460;
  padding: 7px;
  margin: 10px 20px 10px 0;
  border-radius: 5px;
  border: none;
  text-transform: uppercase;
}

.third-nav a:hover,
.third-nav a:active,
.third-nav a.active {
  color: #666460;
  border: none;
  background: #e1ecc3;
  text-decoration: none;
}

.third-nav a[data-badge] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 70px;
}

.third-nav a[data-badge]:before {
  content: attr(data-badge);
  position: absolute;
  left: 100%;
  top: 0;
  display: inline-block;
  padding: 7px 15px 7px 8px;
  min-width: 10px;
  text-align: center;
  min-height: 20px;
}

.third-nav a[data-badge]:after {
  content: attr(data-badge);
  position: absolute;
  left: 100%;
  top: 0;
  display: inline-block;
  background: #666;
  color: #fff;
  margin: 7px 7px 7px 0;
  padding: 0 8px;
  border-radius: 20px;
  transition: background 1s linear;
  -webkit-transition: background 1s linear;
  min-width: 10px;
  text-align: center;
  min-height: 20px;
}

.third-nav a.active[data-badge]:before,
.third-nav a[data-badge]:hover:before {
  background: #e1ecc3;
  border-radius: 0 5px 5px 0;
}

body:not([data-page="search"]) .container, .navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
  width: auto;
}

/* Quick fix for freshlook-LinksGadget.css */
.taggedSourceGadget .sourcesConclusionLabel {
  visibility: visible;
}

#global-engage-header .account .utility-menu.visible {
  margin: 8px 0 0;
}

#global-engage-header .account .utility-menu.visible:before {
  border: 8px solid transparent;
  border-bottom-color: #454545;
  content: '';
  display: inline-block;
  height: 0;
  position: absolute;
  right: 12px;
  top: -16px;
  width: 0;
}

@media screen and (min-width: 1200px) {
  body#tree-style .container, /* This is needed to size the subnav on pedigree */
  #global-engage-header,
  #global-engage-header .global-util-nav-container,
  #global-engage-header .global-pri-nav-container,
  #content .subnavGadget,
  #content .subnavGadget .links,
  body.wrap #content {
    min-width: 1200px;
  }

  #content .rounded-section {
    width: 820px;
    margin: 15px 0 0 20px;
  }

  #content .rounded-section.full-section {
    width: auto;
  }

  #content .sideBar {
    width: 335px;
  }

  #content .collapsibleFamilyMembersGadget .column {
    width: 395px;
  }

  #content .collapsibleFamilyMembersGadget .childrenBox {
    width: 353px;
  }

  #content .df {
    width: 700px;
  }

  #content .conclusion .editFieldPart .dateStandard,
  #content .conclusion .editFieldPart .placeStandard,
  #content .conclusion .editFieldPart.hasStandard.isLiving .dateStandard,
  #content .conclusion .editFieldPart.hasStandard.isLiving .placeStandard {
    width: 609px;
  }

  #content .mergePairGadget .mergeInfo {
    width: 547px;
  }

  #content .changeLogGadget .justification {
    width: 800px;
  }

  #content .changeLogGadget .group .justification {
    width: 740px;
  }

  #content .mergeGadget.finishMerging .mergeGadgetContent section {
    width: 550px;
  }

  #content .mergeGadget section.finishMergingSection .textareaBlock textarea,
  #content .mergeGadget section.finishMergingSection .textareaBlock label {
    width: 510px;
  }

}

@media print {
  /* Force Chrome and Safari to print background colors. */
  /* Other browsers allow the user to control this in the print dialog. */
  :root {
    -webkit-print-color-adjust: exact !important;
  }

  article,
  .memoriesGadget {
    background-color: transparent !important;
  }

  .personSummaryGadget {
    position: relative;
  }

  .personSummaryGadget:after {
    background-color: transparent !important;
    background-image: url('/img/theme-engage/assets/images/tree-logotype-1x.png') !important;
    content: "";
    height: 44px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 164px;
    z-index: 999;
  }


  header,
  .open-close-button,
  .createDiscussionPanel,
  .addSourcePanel,
  .tree-toggle,
  .refineBar,
  .global-alert,
  .side-banner-container,
  #global-engage-header,
  #global-engage-footer nav,
  #global-engage-footer .privacy_usage,
  #subnav,
  #ancestorPage .topLinks,
  #ancestorPage .person-tree-link .fs-icon-tree,
  #ancestorPage .section-navigation,
  #ancestorPage .tree-holder,
  #ancestorPage .section-tabs,
  #ancestorPage .details-content #TempleOrdinancesSection,
  #ancestorPage .memoriesGadget .topnavbar-action-links,
  #ancestorPage .memoriesGadget .navbar-action-links,
  #ancestorPage .open-close-control,
  #ancestorPage .temple-actions,
  #ancestorPage .actionContainers,
  #ancestorPage .research-help-container,
  #ancestorPage .printing-container,
  #ancestorPage .tasks-container,
  #ancestorPage .addNotePanel,
  #ancestorPage .actionLinks,
  #ancestorPage .linkSection,
  #ancestorPage .addButtonRow,
  #ancestorPage .addCommentLinkSection,
  #ancestorPage .cardClose,
  #ancestorPage .editLink,
  #ancestorPage .editSpacerBar,
  #ancestorPage .sourceCancelLink,
  #ancestorPage .sourceCancelIcon,
  #ancestorPage .addJustifyLinkSection,
  #ancestorPage .addLink,
  #ancestorPage .addLink:before,
  #ancestorPage .lower-bar,
  #ancestorPage .lifesketch-container.empty,
  #ancestorPage .conclusionSources .actionBar,
  #ancestorPage .conclusionSources .tagActionLink,
  #ancestorPage .conclusionSources .bubble,
  #ancestorPage .story-description .footer
  {
    display: none !important;
  }

  #content {
    width: 100% !important;
  }

  #ancestorPage .coupleBox,
  #ancestorPage .sideBar .gadget {
    background-color: transparent !important;
    border: 1px solid #EDECE8 !important;
    box-shadow: none !important;
  }

  #ancestorPage #PersonSummary .personName {
    font-size: 38px !important;
    line-height: normal !important;
  }

  #ancestorPage #PersonSummary .lifeSpan,
  #ancestorPage #PersonSummary .personId {
    font-size: 24px !important;
    line-height: normal !important;
  }

  #ancestorPage .personSummaryGadget .subContainer {
    background-color: #FFF !important;
    padding: 25px 20px 15px 178px !important;
  }

  #ancestorPage .personSummaryGadget .profile-image.has-photo {
    border-radius: 50% !important;
  }

  #ancestorPage .mainContent .rounded-section,
  #ancestorPage .lifeSketchGadget .conclusion,
  #ancestorPage .sourcesPanel > div,
  #ancestorPage .sourceBox {
    background-color: #FFF !important;
    page-break-inside: avoid !important;
  }

  #ancestorPage .mainContent #LifeSketchVitalSection.rounded-section,
  #ancestorPage .mainContent #SourcesSection.rounded-section {
    page-break-inside: auto !important;
  }

  #ancestorPage .collapsibleFamilyMembersGadget {
    min-height: 0 !important;
  }

  #ancestorPage .childrenBox > a:before {
    content: none !important;
  }

  #ancestorPage .childrenBox .expandCollapseLink {
    padding-left: 0 !important
  }

  #ancestorPage .story-box {
    border-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #ancestorPage .story-header {
    background-color: #FFF !important;
    border-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #ancestorPage .story-title {
    font-size: 18px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
  }

  #ancestorPage .story-description {
    background-color: #FFF !important;
    border-width: 0 0 1px 0 !important;
    height: auto !important;
    padding: 0 0 0 8px !important;
  }

  #ancestorPage .story-description p {
    height: auto !important;
    white-space: pre-wrap !important;
  }

  #ancestorPage .story-description p:after {
    content: "..." !important;
  }

  .searchResultsTable .person-info-container {
    page-break-inside: avoid !important;
  }

  #global-engage-footer {
    display: block !important;
    padding-bottom: 0 !important;
  }

  #global-engage-footer .row-fluid,
  #global-engage-footer .copyright_notice,
  #global-engage-footer .church-logo-container,
  #global-engage-footer .church-logo {
    border-width: 0 !important;
    display: block !important;
    line-height: normal !important;
    margin: 5px auto !important;
    padding: 0 !important;
    position: static !important;
    text-align: center !important;
  }

  #global-engage-footer .row-fluid:before,
  #global-engage-footer .row-fluid:after {
    clear: none !important;
    content: none !important;
    display: inline !important;
    line-height: normal !important;
  }

  a,
  .contribNameUnknown {
     color: #3C3B36 !important;
     text-decoration: none !important;
  }

  body[data-page=tree],
  body[data-page=tree] #wrapper,
  body[data-page=tree] .app-frontier-tree,
  body[data-page=tree] #content,
  body[data-page=tree] #subject,
  #content #treePage.pedigreeGadget[data-view=pedigree],
  #content #treePage.pedigreeGadget[data-view=pedigree] .tree-container,
  #content #treePage.pedigreeGadget[data-view=pedigree] .tree-container .pedigreeViewPort {
    background: transparent !important;
    border-width: 0;
    display: block;
    height: 0 !important;
    left: 0 !important;
    margin: 2px !important;
    overflow: visible !important;
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
  }

  #subject > .hide,
  .tree-container > .hide {
    display: none !important;
  }

  #content #treePage.pedigreeGadget[data-view=pedigree] .pedigreeViewContainer {
    background: transparent !important;
    display: block !important;
    height: auto !important;
    left: 0;
    overflow: visible !important;
    padding: 0 !important;
    position: fixed !important;
    right: 0;
    width: auto !important;
  }
}
