/* ============================================= */
/* ===== GLOBAL SITE THEME COLOR OVERRIDES ===== */
/* ============================================= */
/*
-Below updates color of various assets for site-specific branding.
-Ensure AA Accessibility is reached by entering below hex value into the left box here https://contrast-ratio.com/#white-on-#115284

:root {
    --site-primary: #115284;
    --site-secondary: #ffffff;
}
*/

:root {
    --site-primary: #3d415f;
    --site-primary-dark: #3d415f;
    --site-secondary: #f8df8d;
    --site-secondary-dark: #f3c300;
    --microsite-ASA: #1598a5;
    --microsite-ASA-dark: #007a86;
    --link-color: #007984;
    --link-hover: #1598a5;
    --link-visited: #41057e;
    --white: #ffffff;
    --black: #383636;
	--gray: #ededed;
}

:root {
    --button-background-primary: var(--microsite-ASA-dark);
    --button-background-secondary: var(--microsite-ASA);
    --button-text-primary: var(--white);
    --button-text-secondary: var(--white);
}
/* ========================== */
/* Content Label Icon Colors  */
/* ========================== */
.labels a {
    color: var(--link-color);
}

.labels a:hover {
    color: var(--link-hover);
}  

.labels a:visited {
    color: var(--link-visited);
}

/* ========================== */
/* Link Colors                */
/* ========================== */

/* Regular Links */
.article-top-widget .ww-citation-history-wrap .history-label,
.inline-list:not(.search-field-options) li a ,
.article-top-widget .ww-citation-date-wrap>div:first-of-type a,
.article-top-widget .ww-citation-wrap-doi>div:first-of-type a,
.citation a:not(.link-pub-id),
a.artmet-modal-trigger,
a#show-meta-authors,
.sri-title h4 a,
a.save-search,
a.register-ribbon-link,
a.logged-out-link,
.sf-facet-list a,
.ww-citation-wrap-doi a,
.additional-resource_wrap a,
.cc-row a,
.snippet a, .featured-jobs-footer a, a#pdfLink, .all-issues a, 
a.fig-link, a.link-ref, .article-section-wrapper a, a.link,
.article-footnote a, .gdpr-cookie-wrapper a, ul.issue-browse__supplement-list a,
h5.customLink a, .querybuilder-wrap .querybuilder-filter-current-wrap a,
.querybuilder-wrap .querybuilder-filter-current-wrap a:visited, 
.al-citation-list span a, .sf-facet-display a,
.pagination.al-pagination a, .pg_article .article-body .related-topic-tag-list li a,
.ww-citation-primary a, .widget-MultimediaPlayer a, 
.js-browse-mm-wrapper a, .ovid-link-wrapper a,
.widget-ArticleFiguresAndTables > div > a, .al-title a, .related-podcast a,
.al-terms-wrapper a, .content-metadata-topics a,
.article-visual-abstract .addthis_toolbox_graphical_abstract a, .ss-content a,
.homepage-panel-wrap .view-more-wrap a,
.homepage-panel-wrap .homepage-message a,
.homepage-panel-wrap .related-organizations a,
.homepage-panel-wrap .content-info a,
.homepage-panel-wrap .featured-podcast a,
.pg_index .widget-dynamic-browse a,
ul.issue-supplemental-link-list.left-rail a,
a.author-expand-collapse-metadata  {
    color: var(--link-color) !important;
}

/* Links on hover */
.article-top-widget .ww-citation-history-wrap .history-label:hover,
.inline-list:not(.search-field-options) li a:hover ,
.article-top-widget .ww-citation-date-wrap>div:first-of-type a:hover,
.article-top-widget .ww-citation-wrap-doi>div:first-of-type a:hover,
.citation a:not(.link-pub-id):hover,
a.artmet-modal-trigger:hover,
a#show-meta-authors:hover,
.sri-title h4 a:hover,
a.save-search:hover,
a.register-ribbon-link:hover,
a.logged-out-link:hover,
.sf-facet-list a:hover,
.ww-citation-wrap-doi a:hover,
.additional-resource_wrap a:hover,
.cc-row a:hover,
.snippet a:hover, .featured-jobs-footer a:hover, a#pdfLink:hover, .all-issues a:hover, 
a.fig-link:hover, a.link-ref:hover, .article-section-wrapper a:hover, a.link:hover,
.article-footnote a:hover, .gdpr-cookie-wrapper a:hover, ul.issue-browse__supplement-list a:hover,
h5.customLink a:hover, .querybuilder-wrap .querybuilder-filter-current-wrap a:hover,
.al-citation-list span a:hover, .sf-facet-display a:hover,
.pagination.al-pagination a:hover, .pg_article .article-body .related-topic-tag-list li a:hover,
.ww-citation-primary a:hover, .widget-MultimediaPlayer a:hover, 
.js-browse-mm-wrapper a:hover, .ovid-link-wrapper a:hover, 
.widget-ArticleFiguresAndTables > div > a:hover, .al-title a:hover, .related-podcast a:hover,
.al-terms-wrapper a:hover, .content-metadata-topics a:hover, .ss-content a:hover,
.homepage-panel-wrap .view-more-wrap a:hover,
.homepage-panel-wrap .homepage-message a:hover,
.homepage-panel-wrap .related-organizations a:hover,
.homepage-panel-wrap .featured-podcast a:hover, 
.pg_index .widget-dynamic-browse a:hover,
ul.issue-supplemental-link-list.left-rail a:hover,
a.author-expand-collapse-metadata:hover {
    color: var(--link-hover) !important;
}

/* Links on focus */
.article-top-widget .ww-citation-history-wrap .history-label:focus,
.inline-list:not(.search-field-options) li a:focus ,
.article-top-widget .ww-citation-date-wrap>div:first-of-type a:focus,
.article-top-widget .ww-citation-wrap-doi>div:first-of-type a:focus,
.citation a:not(.link-pub-id):focus,
a.artmet-modal-trigger:focus,
a#show-meta-authors:focus,
.sri-title h4 a:focus,
a.save-search:focus,
a.register-ribbon-link:focus,
a.logged-out-link:focus,
.sf-facet-list a:focus,
.ww-citation-wrap-doi a:focus,
.additional-resource_wrap a:focus,
.cc-row a:focus,
.snippet a:focus, .featured-jobs-footer a:focus, a#pdfLink:focus, .all-issues a:focus, 
a.fig-link:focus, a.link-ref:focus, .article-section-wrapper a:focus, a.link:focus,
.article-footnote a:focus, .gdpr-cookie-wrapper a:focus, ul.issue-browse__supplement-list a:focus,
h5.customLink a:focus, .querybuilder-wrap .querybuilder-filter-current-wrap a:focus,
.al-citation-list span a:focus, .sf-facet-display a:focus,
.pagination.al-pagination a:focus, .pg_article .article-body .related-topic-tag-list li a:focus,
.ww-citation-primary a:focus, .widget-MultimediaPlayer a:focus, 
.js-browse-mm-wrapper a:focus, .ovid-link-wrapper a:focus, 
.widget-ArticleFiguresAndTables > div > a:focus, .al-title a:focus, .related-podcast a:focus,
.al-terms-wrapper a:focus, .content-metadata-topics a:focus, .ss-content a:focus,
.homepage-panel-wrap .view-more-wrap a:focus,
.homepage-panel-wrap .homepage-message a:focus,
.homepage-panel-wrap .related-organizations a:focus,
.homepage-panel-wrap .featured-podcast a:focus,
.pg_index .widget-dynamic-browse a:focus,
ul.issue-supplemental-link-list.left-rail a:focus,
a.author-expand-collapse-metadata:focus {
    color: var(--link-hover) !important;
}

/* Visited links */
.article-top-widget .ww-citation-history-wrap .history-label:visited,
.inline-list:not(.search-field-options) li a:visited ,
.article-top-widget .ww-citation-date-wrap>div:first-of-type a:visited,
.article-top-widget .ww-citation-wrap-doi>div:first-of-type a:visited,
.citation a:not(.link-pub-id):visited,
a.artmet-modal-trigger:visited,
a#show-meta-authors:visited,
.sri-title h4 a:visited,
a.save-search:visited,
a.register-ribbon-link:visited,
a.logged-out-link:visited,
.sf-facet-list a:visited,
.ww-citation-wrap-doi a:visited,
.additional-resource_wrap a:visited,
.cc-row a:visited,
.snippet a:visited, .featured-jobs-footer a:visited, a#pdfLink:visited, .all-issues a:visited, 
a.fig-link:visited, a.link-ref:visited, .article-section-wrapper a:visited, a.link:visited,
.article-footnote a:visited, .gdpr-cookie-wrapper a:visited,ul.issue-browse__supplement-list a:visited,
h5.customLink a:visited, 
.al-citation-list span a:visited, .sf-facet-display a:visited,
.pagination.al-pagination a:visited, .pg_article .article-body .related-topic-tag-list li a:visited,
.ww-citation-primary a:visited, .widget-MultimediaPlayer a:visited,
.js-browse-mm-wrapper a:visited, .ovid-link-wrapper a:visited, 
.widget-ArticleFiguresAndTables > div > a:visited, .al-title a:visited, .related-podcast a:visited,
.al-terms-wrapper a:visited, .content-metadata-topics a:visited, .ss-content a:visited,
.homepage-panel-wrap .view-more-wrap a:visited,
.homepage-panel-wrap .homepage-message a:visited,
.homepage-panel-wrap .related-organizations a:visited,
.homepage-panel-wrap .featured-podcast a:visited,
.pg_index .widget-dynamic-browse a:visited,
ul.issue-supplemental-link-list.left-rail a:visited,
a.author-expand-collapse-metadata:visited {
    color: var(--link-visited) !important;
}


/* ========================== */
/* BUTTON STYLES              */
/* ========================== */

/* Button Styles */
.PdfOnlyLink .article-pdfLink:not(.toggle-left-col__close),
.btn:not(.toggle-left-col__close),
.button:not(.toggle-left-col__close),
.content-main_content .external-login-provider a:not(.toggle-left-col__close),
.dropdown-panel .external-login-provider h3+a:not(.toggle-left-col__close),
.pg_MyAccount #myaccount-tabs-content .section-wrapper .dataRow .btn-userprofile-cancel:not(.toggle-left-col__close),
.pg_MyAccount #myaccount-tabs-content .section-wrapper .dataRow .btn-userprofile-update:not(.toggle-left-col__close),
.pg_MyAccount .myaccount-wrap .alert-details .email-alert-type .add-alert-link-wrap a:not(.toggle-left-col__close),
.store-link:not(.toggle-left-col__close),
.widget-alerts .widget-links_wrap .reveal-modal>div a.addUserAlert:not(.toggle-left-col__close),
.widget-alerts .widget-links_wrap .reveal-modal>div a.userAlert-manageAlerts:not(.toggle-left-col__close),
button:not(.toggle-left-col__close),
.fig-orig a:not(.toggle-left-col__close), .store-link i.icon-availability_cart,
a.logged-out-link.admin-dash-login-link {
    background: var(--button-background-primary) !important;
    color: var(--button-text-primary) !important;
}

/* Button Styles on Hover */
.PdfOnlyLink .article-pdfLink:not(.toggle-left-col__close):hover,
.btn:not(.toggle-left-col__close):hover,
.button:not(.toggle-left-col__close):hover,
.content-main_content .external-login-provider a:not(.toggle-left-col__close):hover,
.dropdown-panel .external-login-provider h3+a:not(.toggle-left-col__close):hover,
.pg_MyAccount #myaccount-tabs-content .section-wrapper .dataRow .btn-userprofile-cancel:not(.toggle-left-col__close):hover,
.pg_MyAccount #myaccount-tabs-content .section-wrapper .dataRow .btn-userprofile-update:not(.toggle-left-col__close):hover,
.pg_MyAccount .myaccount-wrap .alert-details .email-alert-type .add-alert-link-wrap a:not(.toggle-left-col__close):hover,
.store-link:not(.toggle-left-col__close):hover,
.widget-alerts .widget-links_wrap .reveal-modal>div a.addUserAlert:not(.toggle-left-col__close):hover,
.widget-alerts .widget-links_wrap .reveal-modal>div a.userAlert-manageAlerts:not(.toggle-left-col__close):hover,
button:not(.toggle-left-col__close):hover,
.fig-orig a:not(.toggle-left-col__close):hover, .store-link i.icon-availability_cart:hover,
a.logged-out-link.admin-dash-login-link:hover {
    background: var(--button-background-secondary) !important;
    color: var(--button-text-secondary) !important;
}

/* Button Styles on Focus */
.PdfOnlyLink .article-pdfLink:not(.toggle-left-col__close):focus,
.btn:not(.toggle-left-col__close):focus,
.button:not(.toggle-left-col__close):focus,
.content-main_content .external-login-provider a:not(.toggle-left-col__close):focus,
.dropdown-panel .external-login-provider h3+a:not(.toggle-left-col__close):focus,
.pg_MyAccount #myaccount-tabs-content .section-wrapper .dataRow .btn-userprofile-cancel:not(.toggle-left-col__close):focus,
.pg_MyAccount #myaccount-tabs-content .section-wrapper .dataRow .btn-userprofile-update:not(.toggle-left-col__close):focus,
.pg_MyAccount .myaccount-wrap .alert-details .email-alert-type .add-alert-link-wrap a:not(.toggle-left-col__close):focus,
.store-link:not(.toggle-left-col__close):focus,
.widget-alerts .widget-links_wrap .reveal-modal>div a.addUserAlert:not(.toggle-left-col__close):focus,
.widget-alerts .widget-links_wrap .reveal-modal>div a.userAlert-manageAlerts:not(.toggle-left-col__close):focus,
button:not(.toggle-left-col__close):focus,
.fig-orig a:not(.toggle-left-col__close):focus, .store-link i.icon-availability_cart:focus, 
a.logged-out-link.admin-dash-login-link:focus {
    background: var(--button-background-primary) !important;
    color: var(--button-text-primary) !important;
}

/* ========================== */
/* Microsite Navigation       */
/* ========================== */

.journal-header.journal-bg {
    background: var(--white) !important;
}

.journal-header .site-menu .nav-link, 
.journal-header .journal-header_content .navbar-menu_wrap .mobile-site-menu-toggle {
    color: var(--black) !important;
}

.journal-header .site-menu .site-menu-item.site-menu-lvl-0 .nav-link:hover {
    background-color: var(--gray) !important;
}

.journal-header_fancy_border  {
    height: 11px;
    width: 100%;
    background-image: linear-gradient(to right, #c1b43b, #c1b43b 15%, #77a7d4 15%);
}

/* ==================== */
/* ASA header color     */
/* ==================== */

.widget-SelectableContentList .widget-dynamic-heading, 
.widget-ArticleListNewAndPopular .articleListNewAndPopularCombinedView li a:not(.active),
.featured-jobs-title, #Sidebar .rail-widget_wrap > h3, .pg_articlesplitview .panels .rail-widget_wrap > h3,
.split-view-related-pane .article-visual-abstract .widget-title,
.pg_Article .article-visual-abstract .widget-title, .new-and-popular h3,
.homepage-widget-header,
.widget-dynamic-title-smedia {
    background-color: var(--site-primary-dark) !important;
}

/* ==================== */
/* Splitview Tab Styles */
/* ==================== */

/* Tab Background Color */
/* .pg_articlesplitview .tabs {
	background: var(--site-primary) !important;
} */

/* Tab Borders */
/* .pg_articlesplitview .tabs .tab {
	border-top: 1px solid var(--site-primary) !important;
	border-right: 1px solid var(--site-primary) !important;
	border-bottom: 1px solid var(--site-primary) !important;
	border-left: 1px solid var(--site-primary) !important;
} */

/* ========================== */
/* Right Rail Widget Icons    */
/* ========================== */



/* ========================================= */
/* Right Rail Widget Borders - Use as Needed */
/* ========================================= */
/*
.rail-widget_wrap {
	border-top: 1px solid var(--site-primary) !important;
	border-right: 1px solid var(--site-primary) !important;
	border-bottom: 1px solid var(--site-primary) !important;
	border-left: 1px solid var(--site-primary) !important;
}

.widget-ArticleLevelMetrics {
	border-top: 1px solid var(--site-primary) !important;
	border-right: 1px solid var(--site-primary) !important;
	border-bottom: 1px solid var(--site-primary) !important;
	border-left: 1px solid var(--site-primary) !important;
}

.widget-Alerts {
	border-top: 1px solid var(--site-primary) !important;
	border-right: 1px solid var(--site-primary) !important;
	border-bottom: 1px solid var(--site-primary) !important;
	border-left: 1px solid var(--site-primary) !important;
}

.widget-ArticleCitedBy {
	border-top: 1px solid var(--site-primary) !important;
	border-right: 1px solid var(--site-primary) !important;
	border-bottom: 1px solid var(--site-primary) !important;
	border-left: 1px solid var(--site-primary) !important;
}
*/

/* ========================== */
/* Global Elements            */
/* ========================== */


/* Journal Footer Links */

.widget-SitePageFooter .journal-footer {
	border-top: 4px solid var(--microsite-ASA-dark) !important;
}

/* Umbrella Footer Links */
/*.site-theme-footer .site-theme-footer_content .widget-SelfServeContent a {
    color: var(--white) !important;
}

/* Cookie Banner */
/*.widget-GdprCookieBanner a {
    color: var(--site-primary) !important;
}


/* ========================== */
/* Issue Page Styling         */
/* ========================== */

/* Colored border between entries */
/* 
.article-list-resources .section-container>section {
    border-top: 2px solid var(--site-primary) !important;
}
*/

/* Article Title/Link Color */
/* 
.customLink h4,
h5.customLink a,
.pg_Issue .item-title .subtitle {
    color: var(--site-primary) !important;
}
*/

/* Supplemental Materials And "All Issues" Links *
.all-issues a,
ul.issue-browse__supplement-list a {
    color: var(--site-primary) !important;
}

/* ============================= */
/* Article Resource Links Colors */
/* ============================= *

.badge-bar .resource-links-info div.item a,
.badge-bar .resource-links-info div.item a i[class*=icon-],
.badge-bar .resource-links-info div.item a.pdf i[class*=icon-],
.badge-bar .resource-links-info div.item a.pdf span {
    color: var(--site-primary) !important;
}


/* ========================== */
/* New & Popular Widget       */
/* ========================== *

.widget-ArticleListNewAndPopular .articleListNewAndPopularCombinedView li a.active {
    border-bottom: 4px solid var(--site-primary) !important;
    color: var(--site-primary) !important;
}

/* ========================== */
/* Homepage Selfserve Links   */
/* ========================== *
.master-main .theme-homepage-layout:not([class*=layout-]) [class*=home-row]:not(.header-row):not(.home-columns).widget-dynamic .widget-dynamic-inner-wrap>div[class*=home-self-serve-content-feature]>div.homepage-panel-text a,
.master-main .theme-homepage-layout:not([class*=layout-]) [class*=home_row]:not(.header-row):not(.home-columns).widget-dynamic .widget-dynamic-inner-wrap>div[class*=home-self-serve-content-feature]>div.homepage-panel-text a {
    color: var(--site-primary) !important;
}

/* ========================== */
/* Standard View Prev-Next    */
/* ========================== *
.standard-article-nav-links {
	color: var(--site-primary) !important;
}

/* ========================== */
/* All Issues Pages           */
/* ========================== */

/* All Issuess Covers Page *
.widget-IssueCoverBrowse a {
    color: var(--site-primary) !important;
}

/* All Issues List Page *
.widget-ContentBrowseAllYearsManifest a,
.widget-ContentBrowseByYearManifest a {
    color: var(--site-primary) !important;
}

/* ========================== */
/* Article Pages              */
/* ========================== */

/* Author name color */
.al-author-name a {
	color: var(--microsite-ASA-dark) !important;
}

/* Catch-All for any Link in Article Content *
.widget-ArticleFulltext a {
	color: var(--site-primary) !important;
}

/* Links After Abstract - Subjects, Topics, Keywords, etc. *
.widget-SolrResourceMetadata a {
	color: var(--site-primary) !important;
}

/* Article Supplemental Data Links *
.widget-ArticleDataSupplements a {
    color: var(--site-primary) !important;
}

/* Related Article Link *
.related-article a {
    color: var(--site-primary) !important;
}

/* Self Serve Link Colors *
.widget-SelfServeContent a {
    color: var(--site-primary) !important;
}

/* Toolbar background color */
.toolbar-wrap {
    background: var(--site-primary-dark) !important; 
}

/* Toolbar item background color on hover */
.toolbar-wrap .toolbar-inner-wrap > ul > li > a:focus, 
.toolbar-wrap .toolbar-inner-wrap > ul > li > a:hover, 
.toolbar-wrap .toolbar-inner-wrap > ul > li > div a:focus, 
.toolbar-wrap .toolbar-inner-wrap > ul > li > div a:hover {
    background: var(--microsite-ASA) !important;
}

/* Article page content & issue page navlink decoration line*/
.pg_article:not(.pg_articlesplitview) ul.jumplink-list:before, .pg_issue .in-this-issue-title {
	border-bottom: solid 4px var(--microsite-ASA) !important;
}


/* ============================================= */
/* ========== HOMEPAGE ISSUE BRANDING ========== */
/* ============================================= */

.pg_index .vt-issue-info.widget-info-wrap {
	background-color: var(--site-primary) !important;
}

/* CTA Button */
.pg_Index .cta-button {
    background-image: url('/data/SiteBuilderAssetsOriginals/Live/Images/anesthesiology/CTA-button-bg-placeholder.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(61, 65, 95, 0.9);
}

/* HERO BACKGROUND IMAGE + COLOR GRADIENT OVERLAY

- How to Change Image: Upload Image through SiteBuilder Image Assets, ensure it has a different filename, update URL with below
- How to Change Color Gradient Overlay: use HEX to RGBA converter for the appropriate format, first rgba() value is top color, second value is bottom color, use last digit in each for opacity (.75 = 75%).
- Example (do not remove or edit):
	.pg_Index .header-row {
	    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)), url('/data/SiteBuilderAssetsOriginals/Live/Images/testJournal/journal-homepage-hero.jpg');
	    background-position: center;
	    background-repeat: no-repeat;
	}
*

.pg_Index .header-row {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('/data/SiteBuilderAssetsOriginals/Live/Images/testJournal/journal-homepage-hero.jpg') !important;
    background-position: center;
    background-repeat: no-repeat;
}

*/

/* HERO ISSUE TEXT

- Change the below hex value to change "Current Issue" "Volume #, Issue #" and "Date" values in the left side of the hero.
- Ensure at least AA Accessibility is reached by examining contrast ratio between the below hex value and combined image + gradient overlay. Use tool here: https://www.brandwood.com/a11y/
- Example (do not remove or edit):
    .pg_Index .current-issue-title,
    .pg_Index .widget-IssueInfo .article-issue-info .issue,
    .pg_Index .widget-IssueInfo .article-issue-info .volume,
    .pg_Index .widget-IssueInfo .article-issue-info .ii-pub-date {
 		color: #fff;
	}
*

.pg_Index .current-issue-title,
.pg_Index .widget-IssueInfo .article-issue-info .issue,
.pg_Index .widget-IssueInfo .article-issue-info .volume,
.pg_Index .widget-IssueInfo .article-issue-info .ii-pub-date {
	color: var(--black) !important;
}


/* HERO BUTTON COLOR

- Change the below hex value to change color of button.
- Ensure AA Accessibility is reached by entering below hex value into the left box here https://contrast-ratio.com/#white-on-#A41E22
- Example (do not remove or edit):
	.pg_Index .header-row .button {
	    background-color:#A41E22;
	}
*

.pg_Index .content-main_content .header-row .button {
    background: var(--button-background-primary) !important;
	color: var(--button-text-primary);
}

.pg_Index .content-main_content .header-row .button:hover
 {
    background: var(--button-background-secondary) !important;
    color: var(--button-text-secondary);
    border: none;
}*/

.citation.mixed-citation .source {
    font-style: normal !important;
    }
	
.pg_Index .widget-dynamic-browse a {
   
    font-weight: inherit !important;
    font-size: inherit !important;
}

i.icon-podcast {
    color: #007984 !important;
}
