/* ========== START STYLES TO MAKE PB EDITING EASIER ==========  */

/* Fixes problem where editing widgets near the header is impossible without hiding elements via the web inspector */
#pb-editor .main-header {
	position: static;
	height: auto !important;
	z-index: auto;
	visibility: visible !important;
}
#pb-editor #mainNavbar {
	height: auto;
}
/* Fix problem where wallpaper dropzone is not accessible in the alt-articles-section multi search widget template */
#pb-editor .section-wallpaper:after {
	content: none;
}
#pb-editor .section-wallpaper {
	position: static;
}

/* Journal Highlight Slideshow on Site Home and Cust. Pub. Home: Make dropzones accessible */
#pb-editor .journals-showcase .col-xl-10 {
	max-width: none !important;
}
#pb-editor .journals-showcase__slideshow .swiper-slide {
	width: 150px;
}
#pb-editor .journals-showcase__slideshow .journal-slide-item .container-fluid {
	padding: 0;
	margin: 0;
}
#pb-editor .journal-slide-item__title {
	height: 0;
}
#pb-editor .journals-showcase__slideshow .journal-slide-item__cover .cover-image__image, #pb-editor .cover-image__popup-view__wrapper .col-lg-8 {
	display: none;
}
#pb-editor .journal-slide-item .container-fluid {
	top: 0;
}
#pb-editor .journal-slide-item__body {
	display: block !important;
	padding: 0 !important;
}
#pb-editor .journals-showcase__showcase-item--to-clone {
	position: static;
}
/* ========== END STYLES TO MAKE PB EDITING EASIER ==========  */




.main-header__secondary__logo img {
    /* height: 90%; */
    max-width: 100%;
}

.journal-menu__img {
    width: unset;
}

/* LIT-412173 */
.entity-paragraphs-item figure, figure.entity-paragraphs-item {
    border-bottom: 1px solid #dbdbdb;
    border-top: 1px solid #dbdbdb;
    padding: 16px 0;
    padding: 1rem 0;
}

.entity-paragraphs-item figure img {
    margin-bottom: 0.5rem;
}

.entity-paragraphs-item figure .credit {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    color: #7f7f7f;
}

.entity-paragraphs-item.align-right {
    width: calc(50% - 1rem);
    float: right;
    margin: 0.5rem 0 0.5rem 2rem;
} 

/* AAAS-465 */
.core-container > blockquote:first-child {
    padding: 1rem;
    background: #f5f5f5;
    text-align: left;
    letter-spacing: normal;
}

.core-container > blockquote:first-child:before {
    content: none;
}

.core-container > blockquote:first-child [role=paragraph] {
    margin: 0;
    font-size: 14px;
    font-size: .875rem;
    line-height: 22px;
    line-height: 1.375rem;
}

.core-container > blockquote:first-child [role=paragraph] b {
    font-weight: 400;
}


/* Styles for Inline PDF Viewer used in Resource DOs */
.pdf-view-wrap {
	position: relative;
	width: 100%;
	padding-top: 100%;
}
#iframe-fullscreen {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
}


/* Media embed CSS copied from old site */
.aspect-ratio--1x1, .aspect-ratio--3x4, .aspect-ratio--4x3, .aspect-ratio--16x9, .media-wrap--1x1, .media-wrap--3x4, .media-wrap--4x3, .media-wrap--16x9 {
    position: relative;
    width:100%
}
.aspect-ratio--1x1 iframe, .aspect-ratio--1x1 picture, .aspect-ratio--1x1 > :only-child, .aspect-ratio--3x4 iframe, .aspect-ratio--3x4 picture, .aspect-ratio--3x4 > :only-child, .aspect-ratio--4x3 iframe, .aspect-ratio--4x3 picture, .aspect-ratio--4x3 > :only-child, .aspect-ratio--16x9 iframe, .aspect-ratio--16x9 picture, .aspect-ratio--16x9 > :only-child, .media-wrap--1x1 iframe, .media-wrap--1x1 picture, .media-wrap--1x1 > :only-child, .media-wrap--3x4 iframe, .media-wrap--3x4 picture, .media-wrap--3x4 > :only-child, .media-wrap--4x3 iframe, .media-wrap--4x3 picture, .media-wrap--4x3 > :only-child, .media-wrap--16x9 iframe, .media-wrap--16x9 picture, .media-wrap--16x9 > :only-child {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    top: 0;
    left:0
}
.aspect-ratio--1x1 > iframe, .aspect-ratio--3x4 > iframe, .aspect-ratio--4x3 > iframe, .aspect-ratio--16x9 > iframe, .media-wrap--1x1 > iframe, .media-wrap--3x4 > iframe, .media-wrap--4x3 > iframe, .media-wrap--16x9 > iframe {
    border:0
}
.aspect-ratio--16x9, .media-wrap--16x9 {
    padding-top:56.25%
}
.aspect-ratio--4x3, .media-wrap--4x3 {
    padding-top:75%
}
.aspect-ratio--3x4, .media-wrap--3x4 {
    padding-top:150%
}
.aspect-ratio--1x1, .media-wrap--1x1 {
    padding-top:100%
}

/* Migrated DO figure captions */
.news-article__figure .news-article__figure__caption p {
    font-size: .875rem;
    line-height: 1.125rem;
    display: inline;
}

/* Hide guest purchase option */
input[data-bind="guest"] {
    display: none;
}

/* Hiding key images from Editorial section on Commentary landing page */
.no-key-image .card-image {
    display: none !important;
}

/* AAAS-807 */
.news-article-content--featured h3.text-lg, .news-article-content h3.text-lg {
	font-size: 1.25rem;
}
.news-article-content--featured figcaption h3, .news-article-content figcaption h3 {
	margin-bottom: .5rem;
}
.news-article-content--featured h2.figure__hed, .news-article-content h2.figure__hed {
	font-size: 1.25rem;
	margin-bottom: .5rem;

}
.news-article__figure figcaption.figure__dek {
	font-size: 1rem;
	line-height: 1.375rem;
	margin-bottom: 1rem;
}
.news-article-content--featured .news-article__figure figcaption p, .news-article-content .news-article__figure figcaption p {
	font-size: 1rem;
	line-height: 1.375rem;
	margin-bottom: 1rem;
}

/* AAAS-1369 */
/* This allows prevents the multi-search widget HTML from breaking the hero display */
.grid-hero__featured > div, .grid-hero__featured > div > div {
	height: 100%;
}

/* AAAS-1652 */
/* Search results on custom pages don't show filter button for some reason. This cleans it up. */
.search-noNav .search-result__nav {
	margin: 0;
	border: 0 !important;
}


/* Fix old migrated blogs that don't have paragraph tags */
.do-blog .news-article-content br {
	content: "";
	margin-bottom: 1rem;
	display: block;
}

/* Temp fix for AAAS-1696 */
article .related-item[data-type="HAS_LETTER"] {
	display: none;
}

/* remove when resolved */
.pill .core-author-link {
    display: none;
}

/* AAAS-1750 remove when resolved */
.toc__section--special .card-related.text-darker-gray.bg-very-light-gray {
    background-color: #262626!important;
}

.toc__section--special .text-primary,
.toc__section--special .text-deep-gray {
    color: white!important;
}

/* AAAS-1074 */
figcaption .notes, figcaption .caption {
    display: inline;
}

/* For Reader Responses AAAS-942 */
.reader-responses {
	font-family: 'PT Serif' ,serif;
	font-size: .9rem;
}
.reader-responses .nested {
	margin-top: 1rem;
	padding-left: .9rem;
	border-left: 1px solid #ddd;
}
.reader-responses .nested p {
	color: #595959;
}
.responseAuthor {
	font-family: 'Roboto', sans-serif;
	font-size: .8rem;
}
.responseAuthor .name {
	font-weight: bold;
	text-transform: uppercase;
}
.responseAuthor .affiliation {
	color: #595959;
}
/* For the migrated content's author info */
.reader-responses small {
	font-family: 'Roboto', sans-serif;
}



/* Advanced Page styles (AAAS-1367) */
.advanced-page p {
	font-family: 'PT Serif', serif;
	margin-top: 0.5rem;
	font-size: 1.125rem;
}
.advanced-page h2 {
	margin: 2.5rem 0 1rem;
	font-family: Roboto, sans-serif;
	font-size: 1.5rem;
	font-weight: bold;
}
.advanced-page h3 {
	font-family: Roboto, sans-serif;
	font-size: 1.25rem;
	font-weight: bold;
}
.advanced-page h4, .advanced-page h5, .advanced-page h6 {
	font-family: Roboto, sans-serif;
	font-size: 1.25rem;
	font-weight: bold;
}
.advanced-page .subsecTitle {
	font-weight: strong;
	font-family: Roboto, sans-serif;
	font-size: 1rem;
}
.advanced-page ol {
	font-family: Roboto, sans-serif;
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding-left: 0;
}
.advanced-page ol > li {
	margin-left: 1.125rem;
}
.advanced-page li {
	font-family: 'PT Serif', serif;
	font-size: 1.125rem;
}
.advanced-page ul li {
	margin-bottom: 1rem;
}
.advanced-page ul {
	margin-top: 1rem;
	list-style: disc;
}
.advanced-page ul ul {
	list-style: circle;
}
.advanced-page ul.list-inline {
	padding-left: 0;
	list-style: none;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
}
.advanced-page ul.list-inline li {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-family: Roboto, sans-serif;
}
.advanced-page ul.list-inline li a {
	margin-right: 1rem;
	padding-right: 1rem;
	font-size: .875rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #ca2015;
	border-right: 1px solid #7f7f7f;
}
.advanced-page ul.list-inline li:last-of-type a {
	margin-right: 0;
	padding-right: 0;
	border-right: 0;
}
.advanced-page section.bg-very-light-gray p {
	margin-top: 0;
}