/**
 * global.css
 */

.fonts-loaded {
    --primaryHeadlineFont: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    --secondaryHeadlineFont: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    --bodyFont: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    --liveBlogBodyFont: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    --bodyFont: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    --secHlFont: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.BrightspotPersistentPlayer {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

html.fonts-loaded,
body.fonts-loaded {
    font-family: var(--bodyFont);
}

:root {
    --body-1: 1.6rem;
    --body-2: 1.6rem;
}

.ArticlePage-articleBody,
.AuthorPage-articleBody,
.BlogPage-articleBody,
.BlogPostPage-articleBody,
.EventPage-articleBody,
.LiveBlogPage-articleBody,
.LongFormPage-articleBody,
.OneOffPage-articleBody,
.PCEP-articleBody,
.RSEP-articleBody,
.SectionPage-articleBody,
.SeriesPage-articleBody,
.TagPage-articleBody {
    font-size: 1.6rem;
    line-height: 1.3;
}

@media only screen and (min-width: 768px) {
    body {
        font-size: 1.6rem;
    }
}

.RSEP-actions,
.RSEP-bottomByline,
.RSEP-tags {
    margin: 0;
}

/* 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: 0;
    margin-bottom: 20px;
}

/* Radio Show pages - description area */

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

.RadioShowPage-description a.Link,
.PromoA-description a.Link,
.PromoB-description a.Link,
.PromoC-description a.Link,
.PromoD-description a.Link,
.PromoE-description a.Link,
.PromoF-description a.Link,
.PromoG-description a.Link,
.PromoH-description a.Link {
    color: #1a7fc3;
}

.RadioShowPage-description a.Link:hover,
.PromoA-description a.Link:hover,
.PromoB-description a.Link:hover,
.PromoC-description a.Link:hover,
.PromoD-description a.Link:hover,
.PromoE-description a.Link:hover,
.PromoF-description a.Link:hover,
.PromoG-description a.Link:hover,
.PromoH-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) {
    .PH-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;
}

/* 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-"]),
.OneOffPage-pageSubHeading a,
.RTB > ol a,
.RTB > ul a,
.RTB p > ol a,
.RTB p > ul a,
.RTB p a {
    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: 12px;
    letter-spacing: 1px;
}

#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;
    padding: 10px 20px;
    text-align: left;
}

html .AlertBar {
    color: #fff !important;
    background-color: #c41230 !important;
    font-weight: bold;
    font-size: 12px;
}

html .AlertBar-message {
    color: #fff !important;
    font-weight: bold;
    font-size: 12px;
}

html .AlertBar a,
html .AlertBar a:visited,
html .AlertBar-message a,
html .AlertBar-message a:visited {
    color: #fff !important;
    text-decoration: none !important;
}

.EventPage aside.EventPage-aside > div,
.EventSearchPage aside.EventSearchResultsModule-aside-content > div {
    margin-bottom: 40px;
}

.EventPage aside.EventPage-aside > div:last-child,
.EventSearchPage aside.EventSearchResultsModule-aside-content > div:last-child {
    margin-bottom: 0;
}

.EventSearchResultsModule-aside {
    overflow: hidden;
}

.DropdownNavigation-items-item > .NavI > .NavI-text > a[href="https://www.ctpublic.org/ct-votes/2022-election-debates"].NavI-text-link
{
    color: #4fa6dc;
    font-weight: bold;
}

/*@media only screen and (min-width: 768px) {*/
.ArtP-main .Enh[data-align-left],
.ArtP-main .Enh[data-align-right],
.ArtP-main .Enh[data-align-center] {
    margin-top: 10px;
    margin-bottom: 10px;
}

.ArtP-main .Enh + .Enh {
    margin-top: 20px;
}

.ArtP-main .Enh[data-align-left] .Figure-caption,
.ArtP-main .Enh[data-align-right] .Figure-caption,
.ArtP-main .Enh[data-align-center] .Figure-caption {
    margin-top: 0;
    padding-top: 5px;
    border-top: 1px solid #ddd;
    color: #333;
}

.ArtP-main .Enh[data-align-left] .Figure-credit::before,
.ArtP-main .Enh[data-align-right] .Figure-credit::before,
.ArtP-main .Enh[data-align-center] .Figure-credit::before {
    content: "Credit:";
    text-transform: uppercase;
    font-size: 11px;
    color: #888;
    font-weight: bold;
    padding-right: 5px;
}

.ArtP-main .Enh[data-align-left] .Figure-credit-container,
.ArtP-main .Enh[data-align-right] .Figure-credit-container,
.ArtP-main .Enh[data-align-center] .Figure-credit-container {
    justify-content: flex-start;
}
/*}*/

.RTB a {
    text-decoration: none;
}

.EventSearchResultsModule-ajax::before {
    display: block;
    margin: 10px 0 40px 0;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    line-height: 1.2;
    color: #000;
    content: "Events not hosted by Connecticut Public are submitted by the general public. Connecticut public does not endorse organizations that submit community events.";
}

.HomePage .PromoE-media {
    margin-bottom: 0 !important;
}

div[data-promo-date="June 23, 2022"] {
    display: none !important;
}

.Page-below {
    margin-bottom: 20px !important;
    padding: 0 !important;
    border-top: none !important;
}

.ArtP-articleBody > *,
.ArtP-subheadline,
.BlogPostPage-articleBody > *,
.BlogPostPage-subheadline,
.LiveBlogPage-articleBody > *,
.LiveBlogPage-subheadline,
.PCEP-articleBody > *,
.PCEP-subheadline,
.RSEP-articleBody > *,
.RSEP-subheadline {
    /* max-width: none !important; */
}

.ArtP-articleBody > p,
.PCEP-articleBody > p,
.RSEP-articleBody > p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

html .EventSearchResultsModule-filters-query {
    display: none !important;
}

html div[data-slot-name="132595048/wnprnews_leaderboard_1"] {
    /*margin-top: -20px !important;*/
    padding-top: 0 !important;
}

@media only screen and (min-width: 768px) {
}

iframe.instagram-media {
    width: calc(100% - 20px) !important;
    min-width: auto !important;
    max-width: none !important;
}

html .SocialBar-items {
    margin-bottom: 0 !important;
}

html .RSEP-social {
    margin-bottom: 40px !important;
}

@media only screen and (min-width: 768px) {
    html .DropdownNavigation {
        overflow-y: inherit;
    }
}

html .Figure-caption {
    margin-top: 5px !important;
}

html .HtmlModule a {
    /* color: #4fa6dc; */
}

/* Style the link pointing to video.cptv.org */
html .PH-hat-links a[href*="video.cptv.org"] {
    align-items: center;
    background-color: #2638c4; /* custom background color */
    border-color: #2638c4; /* match the background color */
    border-radius: 5px;
    color: #fff; /* custom text color */
    display: flex;
    height: 40px;
    justify-content: center;
    padding: 0 20px;
    z-index: 2;
    font-size: inherit;
    text-transform: none;
    transition: background-color 0.5s ease; /* Smooth transition for background color */
}

html .PH-donate-button {
    transition: background-color 0.5s ease; /* Smooth transition for background color */
}

html .PH-hat-links a[href*="video.cptv.org"]:hover,
html .PH-donate-button:hover {
    background-color: #000; /* slightly darker blue for hover */
    border-color: #000; /* slightly darker blue for hover */
}

html .PH .PH-donate-button a {
    font-weight: bold !important;
}

html .PH[data-toggle-header="hamburger-menu"] a[href="https://video.cptv.org/"]
{
    margin-left: 25px !important;
    margin-bottom: 15px !important;
}

html ps-logo {
    position: relative !important;
    top: 4px !important;
}

html .Page-above {
    padding-top: 5px;
}

@media only screen and (min-width: 768px) {
    html .Page-above {
        padding-top: 20px;
    }
}

html .PH-ham-m-wrapper {
    border-right: 5px solid #dcebf1 !important;
}

html .GoogleDfpAd-sponsorMessage {
    font-family: inherit;
    font-weight: bold;
    color: #000;
    font-size: 14px;
    margin-bottom: 10px !important;
}

@media only screen and (min-width: 1024px) {
    .ArtP-wrapper,
    .AuthorPage-wrapper,
    .BlogPage-wrapper,
    .BlogPostPage-wrapper,
    .EventPage-wrapper,
    .LiveBlogPage-wrapper,
    .LongFormPage-wrapper,
    .OneOffPage-wrapper,
    .PCEP-wrapper,
    .RSEP-wrapper,
    .SectionPage-wrapper,
    .SeriesPage-wrapper,
    .TagPage-wrapper {
        padding: 0 !important;
    }

    .OneOffPage-wrapper {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }

    .OneOffPage-main {
        flex: 1 !important;
    }

    .OneOffPage-aside {
        width: 300px !important;
        flex-shrink: 1 !important;
    }
}

.ctp-showtext {
    margin: 0 0 40px 0;
}

.ctp-showtext-intro {
    margin: 0 0 10px 0;
}

.ctp-showtext-intro p {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.ctp-showtext-intro p:last-child {
    margin-bottom: 0;
}

.ctp-showtext-more {
    margin: 5px 0 10px 0;
}

.ctp-showtext-more a,
.ctp-showtext-more-link {
    font-weight: bold !important;
}

.ctp-showtext-more button {
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #049fda;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none !important;
}

.ctp-showtext-content {
    display: none;
    margin-bottom: 0 0 10px 0;
}

.ctp-showtext-content p {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.ctp-showtext-content p:last-child {
    margin-bottom: 0;
}

html .Page-above .HtmlModule {
    margin-bottom: 0 !important;
}

#ctp-notcias-module {
    display: none;
}

#ctp-donate-module {
    margin: 0;
    margin-bottom: 20px;
    border: 3px solid #4fa6dc;
    border-radius: 10px;
    padding: 20px;
    line-height: 22px;
}

#ctp-noticias-module #ctp-noticias-box-1 {
    margin: 0;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 20px;
    line-height: 22px;
    background-color: #4fa6dc;
    color: #ffffff !important;
}

#ctp-noticias-module #ctp-noticias-box-1 p {
    color: #ffffff !important;
}

#ctp-noticias-module #ctp-noticias-box-1 a {
    color: #ffffff !important;
    text-decoration: underline;
}


#ctp-noticias-module #ctp-noticias-box-2 {
    margin: 0;
    padding: 0;
    /*
    margin-bottom: 20px;
    border: 3px solid #0b3a5d;
    background-color: #0b3a5d;
    border-radius: 10px;
    padding: 20px;
    line-height: 22px;
    /
}

#ctp-noticias-module .OneColumnContainer {
    margin: 0;
}

#ctp-noticias-module div.RichTextModule-items p:last-of-type:empty{
    margin: 0;
}

#ctp-noticias-box-2 h3 {
    margin: 0;
    margin-bottom: 20px;
}

#ctp-noticias-box-2 p {
    margin: 0;
    margin-bottom: 10px;
}


html .PromoB-byline,
html .PromoH-byline {
    display: none !important;
}
