/**
 * global.css
 */

 

/* Custom button */
.ctp-button {
    margin-right: 5px;
    padding: 10px;
    display: inline-block;
    border-radius: 5px;
    border: none;
    background-color: #049fda;
    color: #ffffff;
    text-decoration: none !important;
}

.ctp-button:hover {
    background-color: #000;
}

/* Override default <hr> */
.ArticlePage-mainContent hr,
.AuthorPage-mainContent hr,
.BlogPage-mainContent hr,
.BlogPostPage-mainContent hr,
.EventPage-mainContent hr,
.LiveBlogPage-mainContent hr,
.LongFormPage-mainContent hr,
.OneOffPage-mainContent hr,
.PCEP-mainContent hr,
.RSEP-mainContent hr,
.SectionPage-mainContent hr,
.SeriesPage-mainContent hr,
.TagPage-mainContent hr {
    width: auto;
}

/* Sidebar - Page */
.OneOffPage-aside-content {
    margin-top: 40px;
}

/* Breadcrumbs - Page */
.OneOffPage-breadcrumbs-wrapper {
    margin-top: 0;
    margin-bottom: 0;
}

/* ArticlePage / NewsStory */
.ArticlePage-articleBody > *,
.ArticlePage-subheadline,
.BlogPostPage-articleBody > *,
.BlogPostPage-subheadline,
.LiveBlogPage-articleBody > *,
.LiveBlogPage-subheadline,
.PCEP-articleBody > *,
.PCEP-subheadline,
.RSEP-articleBody > *,
.RSEP-subheadline {
    max-width: none;
}

.ArticlePage-breadcrumbs-wrapper {
    display: none;
}

/* Rich Text modules */
.OneOffPage .RichTextModule .RichTextBody,
.OneOffPage-body .RichTextModule .RichTextBody {
    margin: 0;
    max-width: none;
}

.OneOffPage .RichTextBody > h2,
.OneOffPage-body .RichTextBody > h2 {
    margin-bottom: 30px;
}

/* HTML modules */

.OneOffPage .HtmlModule,
.OneOffPage-body .HtmlModule {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Radio Show pages - description area */

.RadioShowPage-description ul {
    list-style-position: inside;
}

.RadioShowPage-description a.Link {
    color: #1a7fc3;
}

.RadioShowPage-description a.Link:hover {
    color: #125c8e;
}

/* Misc - Testing */

/*
.IframeModule iframe[src*="composer.nprstations.org"] {
	overflow: hidden;
}
*/

/* Tabs */
.Tabs {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Image Module */
.Enhancement {
    margin-top: 30px;
    margin-bottom: 30px;
}
@media only screen and (min-width: 768px) {
    .Enhancement {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .Enhancement[data-align-center] {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

/* Two Columns - 70/30 */
@media only screen and (min-width: 1024px) {
    html.HomePage .TwoColumnContainer7030-column:first-of-type {
        flex: 1;
        width: auto;
        padding-right: 60px;
    }

    html.HomePage .TwoColumnContainer7030-column:nth-of-type(2) {
        width: 300px;
        padding-left: 0;
    }
}

/* Header - Google 728x90 Ad */
.BlogPostPage-above .GoogleDfpAd,
.ErrorPage-above .GoogleDfpAd,
.Page-above .GoogleDfpAd {
    background-color: transparent;
}

@media only screen and (min-width: 300px) {
    .BlogPostPage-above .GoogleDfpAd,
    .ErrorPage-above .GoogleDfpAd,
    .Page-above .GoogleDfpAd {
        padding-top: 20px;
    }

    .HomePage-main {
        padding-top: 0;
    }
}

/* Header - Nav Bar */
@media only screen and (min-width: 1240px) {
    .Page-header-nav-bar {
        background-color: #f9f9f9;
        border-bottom: 1px solid #dddddd;
    }
}

.ArticlePage-content,
.AuthorPage-content,
.BlogPostPage-content,
.LiveBlogPage-content,
.OneOffPage-content,
.PCEP-content,
.RSEP-content {
    padding-top: 20px;
}

.ArticlePage-wrapper,
.AuthorPage-wrapper,
.BlogPostPage-wrapper,
.LiveBlogPage-wrapper,
.OneOffPage-wrapper,
.PCEP-wrapper,
.RSEP-wrapper {
    margin-top: 0;
}

.EpisodesListA-header[data-no-title],
.EpisodesListB-header[data-no-title],
.EventForm-header[data-no-title],
.Form-header[data-no-title],
.ListB-header[data-no-title],
.ListC-header[data-no-title],
.ListD-header[data-no-title],
.ListE-header[data-no-title],
.ListF-header[data-no-title],
.ListG-header[data-no-title],
.ListH-header[data-no-title],
.ListHeader[data-no-title],
.ListPeople-header[data-no-title],
.ListRelatedContent-header[data-no-title],
.ListTitles-header[data-no-title],
.RadioTabs-header[data-no-title],
.ShowsListB-header[data-no-title],
.Tabs-header[data-no-title],
.VideoModule-header[data-no-title] {
    display: none;
}

.fonts-loaded {
    --primaryHeadlineFont: -apple-system, BlinkMacSystemFont, avenir next,
        avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial,
        sans-serif;
    --secondaryHeadlineFont: -apple-system, BlinkMacSystemFont, avenir next,
        avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial,
        sans-serif;
    --bodyFont: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui,
        helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
    --liveBlogBodyFont: -apple-system, BlinkMacSystemFont, avenir next, avenir,
        segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial,
        sans-serif;
    --bodyFont: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui,
        helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
}

/* Image Width Center Fix */
.Enhancement[data-align-center] .Figure img {
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tables */

/* Default Table Style */
.RichTextBody table {
    width: 100%;
    color: #333;
    background: white;
    border: 1px solid grey;
    font-size: 12pt;
    border-collapse: collapse;
}
.RichTextBody table tr:first-child td {
    background-color: #d9edf7;
}
.RichTextBody table thead th,
.RichTextBody table tfoot th {
    color: #777;
    background: rgba(0, 0, 0, 0.1);
}
.RichTextBody table caption {
    padding: 0.5em;
}
.RichTextBody table th,
.RichTextBody table td {
    padding: 0.5em;
    border: 1px solid lightgrey;
}

/* Default link color in pages as well */
.RichTextBody>ol a:not([class*="ctp-"]),
.RichTextBody>ul a:not([class*="ctp-"]),
.RichTextBody p>ol a:not([class*="ctp-"]),
.RichTextBody p>ul a:not([class*="ctp-"]),
.RichTextBody p a:not([class*="ctp-"]),
.RichTextBody a:not([class*="ctp-"]) {
	color: var(--linkColor);
    text-decoration: none;
}


#livestream-sponsor-text,
.AdModule-sponsorMessage  {
    margin-bottom: 10px !important;
}
#livestream-sponsor-text p,
.AdModule-sponsorMessage {
    color: #888;
    font-size: 14px;
}

#form-adestra-yourstart {
    margin-top: 10px;
}

#form-adestra-yourstart label {
    font-size: 12px;
}

#form-adestra-yourstart input[type="submit"] {
    font-size: 14px;
    font-weight: bold;
}

#form-adestra-yourstart input[type="text"] {
    width: 100%;
    padding: 5px;
    font-size: 12px;
    color: #000;
    border-radius: none;
}

.amf-el {
    margin-bottom: 10px;
}


@media only screen and (min-width: 768px) {
	.FooterNavigation-list-column {
		padding-left: 20px;
		padding-right: 20px;
	}
}

html .AlertBar {
	margin-top: 20px;
}

html .AlertBar {
    color: #ffffff !important;
    background-color: #000000 !important;
}

html .AlertBar-message {
    color: #ffffff !important;
}

html .AlertBar a,
html .AlertBar a:visited,
html .AlertBar-message a,
html .AlertBar-message a:visited {
    color: #4fa6dc !important;
}
