/*
  SearchDashboardWidget - Hides the default heading from the search dialog in
  favor of the editorially programmed one
*/
.dashboard-widget .widget.SearchWidget > h1 {
    display: none;
}
.dashboard-widget .widget.SearchWidget > h1.SearchWidget-heading {
    display: block;
}

/* LinkRichTextElement */
.rte2-style-brightspot-core-link-LinkRichTextElement {
    color: #008dbb;
    text-decoration: underline;
}

.rte2-toolbar-brightspot-core-link-LinkRichTextElement {
    content: '\f0c1';
}

.rte2-toolbar-brightspot-core-link-LinkRichTextElement {
    max-width: 23px;
}

.rte2-toolbar-brightspot-core-link-LinkRichTextElement:before {
    content: '\f0c1';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 4px;
}

/* HorizontalRuleRichTextElement */
.rte2-style-brightspot-core-rte-HorizontalRuleRichTextElement {
    border-bottom: 1px solid grey;
}

/* CarouselRichTextElement, GalleryRichTextElement */
.rte2-toolbar-brightspot-core-carousel-CarouselRichTextElement,
.rte2-toolbar-brightspot-core-gallery-GalleryRichTextElement {
    max-width: 23px;
}

.rte2-toolbar-brightspot-core-carousel-CarouselRichTextElement:before,
.rte2-toolbar-brightspot-core-gallery-GalleryRichTextElement:before {
    content: '\f00a';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 4px;
}

.rte2-style-brightspot-core-carousel-CarouselRichTextElement, .rte2-table bsp\-carousel,
.rte2-style-brightspot-core-gallery-GalleryRichTextElement, .rte2-table bsp\-gallery {
    position: relative;
}

.rte2-style-brightspot-core-carousel-CarouselRichTextElement:before, .rte2-table bsp\-carousel:before,
.rte2-style-brightspot-core-gallery-GalleryRichTextElement:before, .rte2-table bsp\-gallery:before {
    color: #949494;
    content: '\f03e';
    font-family: FontAwesome;
    margin: 0 5px;
    left: 2px;
    position: relative;
    top: 3px;
}

.rte2-style-brightspot-core-gallery-GalleryRichTextElement:after, .rte2-table bsp\-gallery:after {
    background: white;
    color: #949494;
    content: '\f03e';
    font-family: FontAwesome;
    font-size: 13px;
    height: 15px;
    left: 2px;
    position: absolute;
    top: -1px;
}

.rte2-style-brightspot-core-gallery-GalleryRichTextElement span {
    font-style: italic;
}

/* ImageRichTextElement */
.rte2-toolbar-brightspot-core-image-ImageRichTextElement {
    max-width: 23px;
}

.rte2-toolbar-brightspot-core-image-ImageRichTextElement:before {
    content: '\f03e';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 4px;
}

.rte2-style-brightspot-core-image-ImageRichTextElement:before, .rte2-table bsp\.image:before {
    color: #949494;
    content: '\f03e';
    font-family: FontAwesome;
    margin: 0 5px;
}

.rte2-style-brightspot-core-image-ImageRichTextElement span {
    font-style: italic;
}

/* FacebookRichTextElement */
.rte2-toolbar-brightspot-facebook-rte-FacebookRichTextElement {
    max-width: 20px;
}
.rte2-toolbar-brightspot-facebook-rte-FacebookRichTextElement:before {
    content: '\f09a';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 5px;
}

.rte2-style-brightspot-facebook-rte-FacebookRichTextElement:before {
    color: #949494;
    content: '\f09a';
    font-family: FontAwesome;
    margin: 0 5px;
}

.rte2-style-brightspot-facebook-rte-FacebookRichTextElement span {
    font-style: italic;
}

/* InstagramRichTextElement */
.rte2-toolbar-brightspot-instagram-rte-InstagramRichTextElement {
    max-width: 20px;
}
.rte2-toolbar-brightspot-instagram-rte-InstagramRichTextElement:before {
    content: '\f16d';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 5px;
}

.rte2-style-brightspot-instagram-rte-InstagramRichTextElement:before {
    color: #949494;
    content: '\f16d';
    font-family: FontAwesome;
    margin: 0 5px;
}

.rte2-style-brightspot-instagram-rte-InstagramRichTextElement span {
    font-style: italic;
}

/* VideoRichTextElement */
.rte2-toolbar-brightspot-core-video-VideoRichTextElement {
    max-width: 23px;
}

.rte2-toolbar-brightspot-core-video-VideoRichTextElement:before {
    content: '\f008';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 5px;
}

.rte2-style-brightspot-core-video-VideoRichTextElement:before, .rte2-table bsp\.video:before {
    color: #949494;
    content: '\f008';
    font-family: FontAwesome;
    margin: 0 5px;
}

.rte2-style-brightspot-core-video-VideoRichTextElement span {
    font-style: italic;
}

/* PodcastEpisodeRichTextElement */
.rte2-toolbar-brightspot-media-podcast-episode-PodcastEpisodeRichTextElement {
    max-width: 20px;
}

.rte2-toolbar-brightspot-media-podcast-episode-PodcastEpisodeRichTextElement:before {
    content: '\f130';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 5px;
}

.rte2-style-brightspot-media-podcast-episode-PodcastEpisodeRichTextElement:before {
    color: #949494;
    content: '\f130';
    font-family: FontAwesome;
    margin: 0 5px;
}

.rte2-style-brightspot-media-podcast-episode-PodcastEpisodeRichTextElement span {
    font-style: italic;
}

/* QuoteRichTextElement */
.rte2-toolbar-brightspot-core-quote-QuoteRichTextElement {
    max-width: 23px;
}

.rte2-toolbar-brightspot-core-quote-QuoteRichTextElement:before {
    content: '\f10e';
    font-family: FontAwesome;
    font-size: 10px;
    margin-right: 5px;
}

.rte2-style-brightspot-core-quote-QuoteRichTextElement:before, .rte2-table bsp\.quote:before {
    bottom: 10px;
    color: #949494;
    content: '\f10d';
    font-family: FontAwesome;
    font-size: 10px;
    margin: 0 5px;
    position: relative;
}

.rte2-style-brightspot-core-quote-QuoteRichTextElement:after, .rte2-table bsp\.quote:after {
    bottom: 10px;
    color: #949494;
    content: '\f10e';
    font-family: FontAwesome;
    font-size: 10px;
    margin: 0 5px;
    position: relative;
}

.rte2-style-brightspot-core-quote-QuoteRichTextElement span {
    background-color: #efefef;
    font-size: 20px;
    line-height: normal;
}

/* TweetRichTextElement */
.rte2-toolbar-brightspot-twitter-rte-TweetRichTextElement {
    max-width: 20px;
}

.rte2-toolbar-brightspot-twitter-rte-TweetRichTextElement:before {
    content: '\f099';
    font-family: FontAwesome;
    font-size: 13px;
    margin-right: 4px;
}

.rte2-style-brightspot-twitter-rte-TweetRichTextElement, .rte2-table bsp\.tweet {
    background-color: #efefef;
}

.rte2-style-brightspot-twitter-rte-TweetRichTextElement:before, .rte2-table bsp\.tweet:before {
    color: #949494;
    content: '\f099';
    font-family: FontAwesome;
    margin: 0 5px;
}

.rte2-style-brightspot-twitter-rte-TweetRichTextElement span {
    font-style: italic;
    font-size: 11px;
}

.rte2-style-brightspot-media-genre-GenreNameSubstitutionRichTextElement {
    background-color: lightgray;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.rte2-style-brightspot-core-section-SectionDisplayNameSubstitutionRichTextElement {
    background-color: lightgray;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
 }

.rte2-style-brightspot-media-season-SeasonNumberSubstitutionRichTextElement {
    background-color: lightgray;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.rte2-style-brightspot-media-franchise-FranchiseNameSubstitutionRichTextElement {
    background-color: lightgray;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.conditional-mod-hidden,
.tabs > li.conditional-mod-hidden {
    display: none;
}

.repeatableAddToTop > .repeatableForm > .addButtonContainer {
    margin-top: 0;
    margin-bottom: 10px;
}

.repeatableAddToTop:before {
    bottom: 10px;
}

.repeatableAddToTop > .repeatableForm:before {
    bottom: 0;
}

/* Embargo Banner */
.embargo-warning {
    background:
    linear-gradient(45deg, rgba(0,0,0,.18) 22.5px, transparent 22.5px)32px 32px,
    linear-gradient(45deg, rgba(0,0,0,.18) 22.5px, transparent 22.5px,transparent 45.5px, rgba(0,0,0,.28) 45.5px, rgba(0,0,0,.28) 67.5px, transparent 67.5px),
    linear-gradient(-45deg, rgba(0,0,0,.18) 11.5px, transparent 11.5px, transparent 34px,rgba(0,0,0,.18) 34px,rgba(0,0,0,.18) 56.5px,transparent 56.5px,transparent 79px,rgba(0,0,0,.18) 79px),
    linear-gradient(#a40016, #a40016); /* solid red base; 5.0's Message colour can't show through */
    background-size: 64px 64px;
    height: auto;
    width: 100%;
    margin-right: -20px;
    margin-bottom: 10px;
}

.embargo-warning .embargo-message {
    text-align: center;
    color: white;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    line-height: 60px;
    padding: 10px;
}

.embargo-warning .embargo-message .embargo-emphasis {
    color: #ccc;
    font-size: 20px;
    position: relative;
    top: -3px;
    padding: 0 10px;
}

/*
  SearchDashboardWidget - Hides the default heading from the search dialog in
  favor of the editorially programmed one
*/
.dashboard-widget .widget.SearchWidget > h1 {
    display: none;
}
.dashboard-widget .widget.SearchWidget > h1.SearchWidget-heading {
    display: block;
}

/*
  Adds code wrap to <pre> tags
 */
pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Begin GuideField tooltip styles */
div[name="guideField"] a[target="guideField"] {
    display: none;
}

div[name="guideField"] label {
    font-weight: 700;
}

div[name="guideField"] .inputContainer {
    padding: 0;
}

div.guide-field-helper-text {
    padding: 10px 0 10px 16px;
    user-select: all;
}

div.guide-field-helper-text .Enhancement-preview,
div.guide-field-helper-text .rte2-block-preview {
    background: none !important;
}

div.guide-field-helper-text .ProsemirrorEnhancementMenu-container,
div.guide-field-helper-text .Enhancement-label,
div.guide-field-helper-text .ProseMirror .rte2-style-brightspot-core-image-ImageRichTextElement:before {
    display: none !important;
}

div.guide-field-helper-text .rte2-block-preview img {
    max-height: 100%;
}

div.guide-field-helper-text .ProseMirrorContainer {
    opacity: 1 !important;
}

.guide-field-helper-text-update-success {
    margin-left: 10px;
    color: rgb(69, 160, 0);
}

/* Enable pointer-events so Enhancements can be edited on GuideField RTE */
.CIG {
    pointer-events: all !important;
}

[data-popup-source-class="ProsemirrorEnhancementMenu-container-button edit"] .ComboInput-list.is-expanded,
[data-popup-source-class="brightspot-core-image-ImageRichTextElement"] .ComboInput-list.is-expanded {
    pointer-events: all !important;
}

[data-popup-source-class="ProsemirrorEnhancementMenu-container-button edit"] .ComboInput-list.is-expanded:after,
[data-popup-source-class="brightspot-core-image-ImageRichTextElement"] .ComboInput-list.is-expanded:after {
    background: unset !important;
}

.ProsemirrorEnhancementMenu-container-button.link_off {
  --IconButton-name: "link_off";
}

/* Update Image Enhancement RTE Preview styling */
[name="guideField"] .rte2-block-preview img {
    margin: auto;
}

[name="guideField"] .rte2-block-preview {
    pointer-events: none;
    display: flex;
}
/* End GuideField tooltip styles */

/* h4 */
.rte2-style-brightspot-core-rte-heading-HeadingFour {
  font-weight: bold;
}
