/* link styles for custom pages */
.custom-page-content a {
    color: var(--journal-color);
}
.custom-page-content a:hover {
    text-decoration: underline;
}

.ad-banner .leader>div:first-of-type {
    margin: 1em 0;
}

/* putting margin on left of orcid icon */
.orcid__wrapper i.icon-orcid {
    margin: 0 0 0 4px;
}

/* tightening up the featured ad on the journal homepage */
.card--featured.advertisment {
    padding: 0 24px;
}
.card--featured .advertisment {
    margin-bottom: 0;
    margin-top: 0;
}

/* layout of images in card list on journal homepage */
.card__list .card {
    padding: 20px;
}
.card__list .card-img {
    flex: none;
}
.card__list .card-img img {
    max-width: 50px;
    max-height: 50px;
    margin-right: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 4px 4px 4px rgba(0,0,0,.1);
}
/* institution logo sizing */
.header .institution img {
    max-width: 200px;
    max-height: 54px;
    height: auto;
    width: auto;
}
/* undoing p styles in comments */
.comment__description p {
    font-size: 14px;
    font-size: .875rem;
    line-height: 24px;
    font-family: Montserrat,sans-serif;
}
/* remove page range, current issue label, and tighten up loi */
.loi__issue .current {
    display: none;
}
.loi__issue {
    margin-bottom: 0;
}
/* remove preview and format links from search results */
.search__item .issue-item__footer {
    display: none;
}

/* styles for video and audio digital objects on article pages */
.relatedDo .teaser__item {
    border-bottom: none;
    background: #f0f0f0;
    padding: 1em;
}
.relatedDo iframe.inline-video {
    width: 100%;
    height: 180px;
}

@media (max-width: 1023px) {
    .relatedDo iframe.inline-video {
        height: calc(100vw * .51);
    }
}

hr.section__separator {
    display: none;
}
.relatedDo .audio-player {
    background: #fafafa;
}

/* styles for headings within abstracts */
.hlFld-Abstract .section__title:not(.to-section) {
    color: black;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    font-size: 1.3em;
}

/* remove italics from sub-titles */
.citation__subtitle {
    font-style: normal;
}

/* h3 within a comment */
.comment__description h3 {
    font-size: 1rem;
    font-weight: normal;
}

/* color of links in a popup */
.ux-modal-container .modal a.ext-link {
    color: var(--journal-color);
}

/* style free icons on toc and search results */
span.icon-lock_free {
    padding: 4px;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
    text-transform: uppercase;
    font-size: 10px;
    font-size: .625rem;
    font-weight: 700;
    vertical-align: middle;
    font-family: Montserrat,sans-serif!important;
    text-transform: uppercase;
}
span.icon-lock_free:before {
    content: none;
}

/* remove double border around access icon on search results page */
.search-result .issue-item-access {
    border: none;
}

/* institution admin activation form inputs */
.activateInst input {
    margin: 10px 0;
}

/* ACP-646 */
@media (max-width: 1023px) {
    .citation__doi__wrapper {
        flex-direction: column;
        align-items: start;
    }
}

/* reduce padding on bottom of feature article cards */
.card--featured .card-content {
    padding: 24px 30px;
}

/* higher contrast for accessibility */

.free-access, .full-access, .icon-lock_free, .issue-item .free_access {
    color: #008066;
}

/* LIT-344553 */
.supplementary-material {
    display: inline;
}

@media (min-width: 768px) {
    .modal-backdrop {
        background-color: #000;
        background-color: rgba(0,0,0,.5);
    }
}

/* Legacy Reports */
.legacy-reports {
    display: none;
}

.customersReports.input-group:before {
    content: "Legacy COUNTER Reports";
    font-size: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 800;
}

.customersReports.input-group a {
    color: #008066;
}

.customersReports.input-group ul:before {
    content: "The following ZIP file contains a complete set of COUNTER reports from the old Annals of Internal Medicine website.";
    display: block;
    margin: 15px 0;
}

/* ACP-714 */
.card--featured {
    min-height: unset;
}

@media (min-width: 768px) {
    .top-content--gird .teaser__item:nth-child(2n) {
        margin-right: 0;
    }
}

/* ACP-241 */
article .quote {
    padding: 0 2rem;
}

article .quote p {
    font-size: 1.2em;
}

/* ACP-719 */
.hlFld-Fulltext {
    border-top: 1px solid #d9d9d9;
    margin-top: 24px;
}

/* ACP-453 */
.show-exam__article .rlist--inline>li {
    margin-right: .3rem;
}

/* ACP-182 */
.article__references .references__note .references__article-title {
    font-weight: normal;
    font-size: .75rem;
    font-size: 12px;
    display: inline;
}

.article__references .references__note {
    letter-spacing: 0;
}

.article__references .rlist contrib-group {
    font-weight: 700;
}

.article__references .rlist strong {
    font-weight: 500;
}

/* ACP-237 */
.article__content .references__source strong {
    font-weight: normal;
}

/* ACP-750 */
.podcast {
    margin-bottom: 16px;
}

.audio-player__progress {
    margin: 0;
}

.podcast__title {
    min-width: 130px;
}

/* ACP-338 */
.citationFormats .articleList span.journalName {
    margin-right: .3rem;
}

/* LIT-360231 */
.issue-item_page-range {
    margin-top: 8px;
}

.issue-item_page-range li {
    list-style: none;
    font-weight: 500;
    display: inline;
    font-size: 12px;
    font-size: .75rem;
    color: #707070;
}

.issue-item_page-range li span {
    padding-right: .25rem;
}

/* ACP-808 */
@media (min-width: 1440px) {
.actionsbar .sections-navigation {
    margin-left: -170px;
    width: 170px;
}
}

/* margin above cards on homepage */
@media (max-width: 767px) {
  .card--journal .card-content {
      margin-top: 20px;
  }
}
