@import "icons.css";

.Media_column_clips {
	box-sizing: border-box;
	text-align: center;
}
html.Media_clip #content .Q_button {
	height: 40px;
	display: block;
	margin: auto;
	background: #1c6518;
	border-color: #fff;
}
html.Media_clip #content .Q_button.Media_clip_preview_tool .Streams_preview_container,
html.Media_clip #content .Q_button.Media_clip_preview_tool .Streams_preview_container .Streams_preview_contents {
	padding: 0;
	vertical-align: unset;
}
html.Media_clip #content .Q_button[name=addClip] {
	width: 90%;
	margin: 10px auto;
}
html.Media_clip #content .Q_button.Media_newEpisode {
	width: 100%;
}
html.Media_clip #content .Q_button.Q_pulsate {
	width: 90%;
}
html.Media_clip #content .Q_button.Media_liveShow {
	display: none;
}
html.Media_clip #content .Q_button.Media_liveShow.Q_current {
	display: block;
}
html.Media_clip #content .Q_button:hover {
	background-color: rgba(20, 210, 49, 0.7);
}

input[name=query].Media_feedChooser_input, input[name=query].Media_feedChooser_input:focus {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: solid 1px #394ad5;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 0 4px 0 4px;
	margin-bottom: 10px;
	color: black;
	font-size: 16px;
	height: 40px;
}

.Communities_tabs[data-style=icons] .Communities_tab[data-val=feeds]::before {
	font-family: "qplatform-media";
	content: "\e92d";
}
.Communities_tabs[data-style=icons] .Communities_tab[data-val=feedsAccess]::before {
	font-family: "qplatform-media";
	content: "\e959";
}
.Users_avatar_tool .Media_badge_host {
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: 50%;
	background-size: 80% 80%;
	background-position: center center;
	border: 1px solid red;
}

.Media_presentation #content {
	/* animation: Media_backgroundColors 5s infinite alternate; */
	/* border: dotted 1px rgba(100, 100, 100, 0.5); */
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
    z-index: 9999999999;
}

.Media_presentation_clickhere {
	font-size: 18px;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
	text-align: center;
}

/* .Media_presentation_tool,
.Media_presentation_title_screen {
	background: black;
	color: white;
} */

.Q_column_shows {
	min-width: 320px !important;
}

@keyframes Media_backgroundColors {
	0% { background-color: red; }
	25% { background-color: blue; }
	50% { background-color: green; }
	75% { background-color: yellow; }
}

#dashboard .Q_tabs_tabs .Q_tab_videos::before,
.Q_listing_wrapper .Q_tabs_tabs .Q_tab_videos::before {
    font-family: 'qplatform-media';
    content: "\e912";
    margin-right: 5px
}

#dashboard .Q_tabs_tabs .Q_tab_channels::before,
.Q_listing_wrapper .Q_tabs_tabs .Q_tab_channels::before {
    font-family: 'qplatform-media';
    content: "\e914";
    margin-right: 5px
}

#dashboard .Q_tabs_tabs .Q_tab_upload::before,
.Q_listing_wrapper .Q_tabs_tabs .Q_tab_upload::before {
    font-family: 'qplatform-media';
    content: "\e961";
    margin-right: 5px
}

.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_0,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_0,
.Q_notMobile.Media_clips .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_0,
.Q_notMobile.Media_clip .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_0,
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_0,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_0,
.Q_notMobile.Media_clips .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_0,
.Q_notMobile.Media_clip .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_0 {
	min-width: 30%;
	width: 30%;
}
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_0,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_0,
.Q_notMobile.Media_clips .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_0,
.Q_notMobile.Media_clip .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_0 {
	min-width: 25%;
	width: 25%;
}
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_1,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_1,
.Q_notMobile.Media_clips .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_1,
.Q_notMobile.Media_clip .Q_columns_stretchFirstColumn[data-column-count='2'] .Q_column_1 {
	width: calc(70% - var(--column-margin));
}
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_1,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_1 {
	width: calc(30% - var(--column-margin));
}
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_1,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_1 {
	width: calc(25% - var(--column-margin));
}
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_2,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_2 {
	width: calc(40% - var(--column-margin));
}
.Q_notMobile.Media_channels .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_2,
.Q_notMobile.Media_channel .Q_columns_stretchFirstColumn[data-column-count='4'] .Q_column_2 {
	width: calc(25% - var(--column-margin));
}
.Q_notMobile.Media_clips .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_1,
.Q_notMobile.Media_clip .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_1 {
	width: calc(30% - var(--column-margin));
}
.Q_notMobile.Media_clips .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_2,
.Q_notMobile.Media_clip .Q_columns_stretchFirstColumn[data-column-count='3'] .Q_column_2 {
	width: calc(30% - var(--column-margin));
}

/* ==========================================================================
   Follow button ('Media/followButton' template + Q.Media.wireFollowButton,
   see Media.js) -- shared, unscoped, between Media/channel.js's own
   Follow button and Media/clip.js's playerOnly layout, which embeds the
   same partial in its author byline. Not scoped to either tool's own
   wrapper class (.Media_channel_tool / .Media_clip_tool) so it renders
   identically wherever the partial is used.
   ========================================================================== */
/* #content prefix: Media.css's own "html.Media_clip #content .Q_button"
   (an ID selector) paints every .Q_button on a clip page green by
   default -- the Follow button carries .Q_button too (same as Edit/
   Share already do, see clip.css's own playerOnly section), and that
   rule's ID-level specificity otherwise beats this button's shape/color
   rules on clip pages specifically (never an issue on the channel page,
   which has no such rule at all). Matched at #content (an ID too, so
   specificity ties and this wins on source order) rather than fought
   with !important. */
/* [data-state] (matching any value, always present once rendered) isn't
   here to select a particular state -- it's extra specificity. Without
   it this rule's (1 id, 1 class, 0 elements) still loses to the green-
   button rule's (1 id, 2 classes, 1 element): ids tie, then classes
   decide (1 < 2), so the extra class here (2 classes, 0 elements) is
   what's needed to win outright at that same comparison step. */
#content .Media_channel_follow[data-state] .Media_channel_follow_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: bold;
	cursor: pointer;
}
#content .Media_channel_follow[data-state="none"] .Media_channel_follow_btn {
	background-color: #000;
	color: #fff;
}
#content .Media_channel_follow[data-state="subscribed"] .Media_channel_follow_btn,
#content .Media_channel_follow[data-state="muted"] .Media_channel_follow_btn {
	background-color: #efefef;
	color: #000;
}
#content .Media_channel_follow[data-state="loading"] .Media_channel_follow_btn {
	opacity: 0.6;
	cursor: default;
	pointer-events: none;
}
.Media_channel_follow_btn_caret {
	display: none;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}
.Media_channel_follow[data-state="subscribed"] .Media_channel_follow_btn_caret,
.Media_channel_follow[data-state="muted"] .Media_channel_follow_btn_caret {
	display: inline-block;
}
.Media_channel_follow_btn_bell_on,
.Media_channel_follow_btn_bell_off {
	display: none;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.Media_channel_follow[data-state="subscribed"] .Media_channel_follow_btn_bell_on {
	display: inline-block;
}
.Media_channel_follow[data-state="muted"] .Media_channel_follow_btn_bell_off {
	display: inline-block;
}
@media (prefers-color-scheme: dark) {
	#content .Media_channel_follow[data-state="none"] .Media_channel_follow_btn {
		background-color: #fff;
		color: #000;
	}
	#content .Media_channel_follow[data-state="subscribed"] .Media_channel_follow_btn,
	#content .Media_channel_follow[data-state="muted"] .Media_channel_follow_btn {
		background-color: #3f3f3f;
		color: #fff;
	}
}
