/* Hide parts of the institutional agreement on the institution activation context that don't apply to Physio */

.profile-pages .activateInst p:nth-of-type(4),
.profile-pages .activateInst p:nth-of-type(5), 
.profile-pages .activateInst h2 {
   display: none;
}

/* Fix weird wrapping with altmetrics on home page most- sections */
.home-page .top-list__container {
   display: block;
}

/* Fix title size for Google */

@media only screen and (max-height: 900px) {
   .article__content .citation__title {
      font-size: 18px;
   }
}

/* Fix home page top block Read More links (for now) */
.featured__journal-name a.read-more-link {
  text-decoration: underline;
  padding-left: 10px;
}

/* Fix descender cut-off problem in top slide-show widget home page */
.home-page .slideshow-wrapper .featured__title, .journal-home .slideshow-wrapper .featured__title {
  font-size: 30px;
  max-height: 130px;
  overflow: hidden;
}

/* Fix descender cut-off problem in top slide-show widget journal home page */
.journal-home .slideshow-wrapper .featured__container .featured__title {
  padding-top: 0;
  padding-bottom: 5px;
}

/* LIT-194277: Fix width of cover image on left-hand side of top widget on global home page */

.featured-articles-card .tab__content .featured__container:first-child img {
    width: auto;
}

/* PHYSIO-292: Suppress cover images on right-hand side of publication list display */
.journal-home .featured-articles-card .tab__content .featured__container:not(:first-child) img {
    display: none;
}

/* TODO: FILE BUG cover expansion enlargement */

.modal .cover-image__image img {
    max-height: initial;
}


/* Attempt to fix the header spacing */
header.fixed.base.header-demo.pageHeader {
    height: 145 px;
}

/* Fix logo sizing */

.aps-logo img {
  height: 68px;
}

/* Item 2.10, 4.12 -- make h3's in articles italic */

h3.article-section__title {
   font-style: italic;
}

h5.article-section__title {
   font-variant: small-caps;
}

/* Item 2.13 -- table text is too large */
div.article-table-content { 
   font-size: 12px;
}

/* Item 2.31 -- table header text too light */
div.article-table-content th { 
   color: #000;
}

/* Item 2.33 -- Reference titles should be italicized */

.references__source {
   font-weight: bolder;
   font-style: italic;
}

/* Footer -- logo not lining up */

.footer-bottom img {
    vertical-align: middle;
}


/* Hide person's name that appears below logged-in user icon in header, but display on hover */
.loginBar .profile-text {
    display: none;
}

/*
.loginBar:hover .profile-text {
    display: block;
}
*/

/* Stay connected banner on global home page */

.stay-connected-container .stay-connected {
    background: url(../images/sign-up.png);
    text-align: center;
    padding: 15px 0;
    background-repeat: no-repeat;
}

/* Fix footer alignment of logo and terms & conditions */

.footer-bottom a img {
    display: inherit;
}

/* Style home-page resources */

div.home-page-resources {
    background-color: white;
    margin-left: -15px;
    margin-right: -15px;
}

 

/* Details tab for article -- change headings to bold */

section.meta-data span.title {
    font-weight: bolder;
}

.section__body .section__title {
    font-weight: bold;
}


/* Fixes to LOI, 9/19 */

.loi__issue .coverDate {
    padding-left: 0px;
}

/* Fixes to main header. Journals menu is too bold, fix that */

.main-nav a {
    font-weight: 600;
}

/* LIT-171412: Fixes to reference links for spacing and color */

a.references__item {
    color: #5e8ab4;
    font-weight: 600;
    margin-left: 5px;
}

/* Fix logout colors */

div.navigation-login-dropdown {
    color: darkgray;
    z-index: 10000;
}


.img.logo-container {
    margin-top: 45px;
}

/* Error page */

.primary-link-color {
    color: blue;
}

/* Align text in login pop-up */

.ssoLink {
    text-align: center;
}

/* 2.15: Put space below equations */

div.math-formula {
    -webkit-margin-after: 15px;
}

/* LIT-183988: Glossary spacing */

/*
table.NLM_def-list > tbody > tr {
   display: block;
   margin: 0;
   padding: 0;
   border: 0;
   vertical-align: baseline;
   border-spacing: 0;
   border-collapse: collapse;
   box-sizing: content-box;
}

table.NLM_def-list td {
   box-sizing: content-box;
}

td.NLM_def > p {
   box-sizing: initial;
   display: block;
   margin: 0;
   padding: 0;
   border: 0;
   vertical-align: baseline;
   border-spacing: 0;
   border-collapse: collapse;
   box-sizing: content-box;
}
*/

/* LIT-183990: Related articles font weight */

div.related div.meta {
   font-weight: 700;
}


/* at the bottom of the page, next/prev widget middle text isn't centered */

.content-navigation__extra {
    text-align: center;
}

/*
 * PHYSIO-218 -- change None in References tab for ajplegacy when no content to "See PDF"
 */

.NoContentMessage {
    visibility: hidden;
}

.ajplegacy #pane-pcw-references .NoContentMessage:after {
    content: "See PDF";
    visibility: visible;
    display: block;
}

main:not(.ajplegacy) #pane-pcw-references .NoContentMessage:after {
    content: "There are no references in this article.";
    visibility: visible;
    display: block;

main:not(.ajplegacy) #pane-pcw-figures .NoContentMessage:after {
    content: "There are no figures in this article.";
    visibility: visible;
    display: block;
}

