/*jquery-comments.js 1.4.0

(c) 2017 Joona Tykkyläinen, Viima Solutions Oy
jquery-comments may be freely distributed under the MIT license.
For all details and documentation:
http://viima.github.io/jquery-comments/*/

.jquery-comments * {
	box-sizing: border-box;
	text-shadow: none;
}

.jquery-comments :where(a[href]:not(.tag), .main .comment .wrapper .truncated, #unmute-users+.separator, .video-timecode, .video-timecode-return), #flag-comment a {
	color: #ef4137
} 

.jquery-comments a[href]:not(.tag) {
	text-decoration: none;
}

.jquery-comments a[href]:not(.tag):hover {
	text-decoration: underline;
}

.jquery-comments .textarea, .jquery-comments input, .jquery-comments button {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;

	vertical-align: top;
	border-radius: 0;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: rgba(0, 0, 0, 0);
}

.jquery-comments button {
	vertical-align: inherit;
}

.jquery-comments .tag {
	color: inherit;
	font-size: 0.9em;
	line-height: 1.2em;
	background: #ddd;
	border: 1px solid #ccc;
	padding: 0.05em 0.4em;
	cursor: pointer;
	font-weight: normal;
	border-radius: 1em;
	transition: all 0.2s linear;
	white-space: nowrap;
	display: inline-block;
	text-decoration: none;
}

.jquery-comments .attachments .tag {
	white-space: normal;
	word-break: break-all;

	padding: 0.05em 0.5em;
	line-height: 1.3em;

	margin-top: 0.3em;
	margin-right: 0.5em;
}

.jquery-comments .attachments .tag > i:first-child {
	margin-right: 0.4em;
}

.jquery-comments .attachments .tag .delete {
	display: inline;
	font-size: 14px;
	color: #888;
	
	position: relative;
	padding: 2px;
	padding-right: 4px;
	right: -4px;
}

.jquery-comments .attachments .tag:hover .delete {
	color: black;
}

.jquery-comments .tag:hover {
	text-decoration: none;
}

.jquery-comments .tag:not(.deletable):hover {
	background-color: #d8edf8;
	border-color: #2793e6;
}

.jquery-comments [contentEditable=true]:empty:not(:focus):before{
    content:attr(data-placeholder);
    color: #CCC;
    position: inherit;
}

.jquery-comments i.fa {
	width: 1em;
	height: 1em;
	background-size: cover;
	text-align: center;
}

.jquery-comments i.fa.image:before {
	content: "";
}

.jquery-comments .spinner {
	font-size: 2em;
	text-align: center;
	padding: 0.5em;
	margin: 0;
	color: #666;
}

.jquery-comments .spinner.inline {
	font-size: inherit;
	padding: 0;
	color: #fff;
}

.jquery-comments .profile-picture {
	float: left;
	width: 3.8rem;
	height: 3.8rem;
	max-width: 50px;
	max-height: 50px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center
}

.jquery-comments .profile-picture[data-user-id]:hover {
	cursor: pointer
}

.jquery-comments .profile-picture[class *= "-supporter"] {
	position: relative;
	transform: translate(0);
	transform-style: preserve-3d
}
/*
.jquery-comments .profile-picture[class *= "-supporter"]:before {
	content: "";
	position: absolute;
	inset: -3px;
	transform: translate3d(0, 0, -1px);
	filter: blur(5px)
}

.jquery-comments .profile-picture[class *= "-supporter"]:hover:before {
	filter: blur(6px)
}

.jquery-comments .profile-picture.bronze-supporter:before {
	background: linear-gradient(#7e4236, #bc966d, #f5d0a6)
}

.jquery-comments .profile-picture.silver-supporter:before {
	background: linear-gradient(#8a8780, #e6e4dd, #d7d7d7)
}

.jquery-comments .profile-picture.gold-supporter:before {
	background: linear-gradient(#a77721, #fae27e, #e9cb53)
}

.jquery-comments .profile-picture.platinum-supporter:before {
	background: linear-gradient(#9f90ae, #e1eff2, #ddd)
}

.jquery-comments .profile-picture.premium-supporter:before {
	background: linear-gradient(#152954, #325db6, #264787)
}
*/
.jquery-comments i.profile-picture {
	font-size: 3.4em;
	text-align: center;
}

.jquery-comments .profile-picture.round {
	border-radius: 50%;
}

.jquery-comments :where(.membership-badge, .verified-badge) svg {
	vertical-align: middle;
	width: 20px
}

.jquery-comments .membership-badge:hover {
	cursor: pointer
}

.jquery-comments .commenting-field.main{
	margin-bottom: 0.75em;
}

.jquery-comments .commenting-field.main .profile-picture {
	margin-bottom: 1rem;
}

.jquery-comments .commenting-field .profile-picture[class *= "-supporter"] {
	margin-right: 5px;
}

.jquery-comments .textarea-wrapper {
	overflow: hidden;
	padding-left: 15px;
	position: relative;
}

.jquery-comments .textarea-wrapper:before {
	content: " ";
	position: absolute;
	border: 5px solid #D5D5D5;
	left: 5px;
	top: 0;
	width: 10px;
	height: 10px;
	box-sizing: border-box;
	border-bottom-color: rgba(0, 0, 0, 0);
	border-left-color: rgba(0, 0, 0, 0);
}

.jquery-comments .textarea-wrapper:after {
	content: " ";
	position: absolute;
	border: 7px solid #FFF;
	left: 7px;
	top: 1px;
	width: 10px;
	height: 10px;
	box-sizing: border-box;
	border-bottom-color: rgba(0, 0, 0, 0);
	border-left-color: rgba(0, 0, 0, 0);
}

.jquery-comments.blocked .textarea-wrapper:after {
	border-top-color: #efefef;
	border-right-color: #efefef;
}

.jquery-comments .textarea-wrapper .inline-button {
	cursor: pointer;
	right: 0;
	z-index: 10;
	position: absolute;
	border: .5em solid rgba(0,0,0,0);
	box-sizing: content-box;
	font-size: inherit;
	overflow: hidden;
	opacity: 0.5;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.jquery-comments .textarea-wrapper .inline-button:hover {
	opacity: 1;
}

.jquery-comments:not(.mobile) .commenting-field-scrollable .textarea-wrapper .inline-button {
	margin-right: 15px;	/* Because of scrollbar */
}

.jquery-comments .textarea-wrapper .inline-button i {
	font-size: 1.2em;
}

.jquery-comments .textarea-wrapper .upload input {
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
}

.jquery-comments .textarea-wrapper .close {
	width: 1em;
	height: 1em;
}

.jquery-comments .textarea-wrapper .textarea {
	margin: 0;
	outline: 0;
	overflow-y: auto;
	overflow-x: hidden;
	cursor: text;

	border: 1px solid #CCC;
	background: #FFF;
	font-size: 1em;
	line-height: 1.45em;
	padding: .25em .8em;
	padding-right: 2em;
}

.jquery-comments.blocked .textarea-wrapper .textarea {
	background: #efefef;
}

.jquery-comments:not(.mobile) .commenting-field-scrollable .textarea-wrapper .textarea {
	padding-right: calc(2em + 15px);	/* Because of scrollbar */
}

.jquery-comments .textarea-wrapper .control-row > .attachments {
	padding-top: .3em;
}

.jquery-comments .textarea-wrapper .control-row > span {
	float: right;
	line-height: 1.6em;
	margin-top: .4em;
	border: 1px solid rgba(0, 0, 0, 0);
	color: #FFF;
	padding: 0 1em;
	font-size: 1em;
	opacity: .5;
}

.jquery-comments .textarea-wrapper .control-row > span:not(:first-child) {
	margin-right: .5em;
}

.jquery-comments .textarea-wrapper .control-row > span.enabled {
	opacity: 1;
	cursor: pointer;
}

.jquery-comments .textarea-wrapper .control-row > span:not(.enabled) {
	pointer-events: none;
}

.jquery-comments .textarea-wrapper .control-row > span.enabled:hover {
	opacity: .9;
}

.jquery-comments .textarea-wrapper .control-row > span.upload {
	position: relative;
	overflow: hidden;
	background-color: #999;
}

.jquery-comments .navigation {
	clear: both;

	color: #999;
	border-bottom: 2px solid #CCC;
	line-height: 2em;
	font-size: 1em;
	margin-bottom: 0.5em;
}

.jquery-comments .navigation .navigation-wrapper {
	position: relative;
}

.jquery-comments .navigation .navigation-wrapper > span {
	display: inline-block;
	position: relative;
	padding: 0 1em;
	cursor: pointer;
	text-align: center;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.jquery-comments .navigation .active,
.jquery-comments .navigation .item:hover {
	color: #666;
}

.jquery-comments .navigation .active:after {
	content: " ";
	display: block;
	right: 0;
	height: 2px;
	background: #000;
	position: absolute;
	bottom: -2px;
	left: 0;
}

.jquery-comments .navigation .item[data-sort-key="attachments"] {
	float: right;
}

.jquery-comments .navigation .item[data-sort-key="attachments"] i {
	margin-right: 0.25em;
}

.jquery-comments .navigation .navigation-wrapper.responsive {
	display: none;
}

@media screen and (max-width: 600px) {
	.jquery-comments .navigation .navigation-wrapper {
		display: none;
	}
	.jquery-comments .navigation .navigation-wrapper.responsive {
		display: inline;
	}
}

.jquery-comments.responsive .navigation .navigation-wrapper {
	display: none;
}
.jquery-comments.responsive .navigation .navigation-wrapper.responsive {
	display: inline;
}

.jquery-comments .navigation .navigation-wrapper.responsive .title {
	padding: 0 1.5em;
}

.jquery-comments .navigation .navigation-wrapper.responsive .title header:after {
	border: 0.4em solid;
    border-left-color: rgba(0, 0, 0, 0);
    border-right-color: rgba(0, 0, 0, 0);
	border-bottom-color: rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    margin-left: 0.5em;
    margin-top: .35em;
	vertical-align: middle;
}
/*
.jquery-comments .navigation .navigation-wrapper.responsive .title.active header:after,
.jquery-comments .navigation .navigation-wrapper.responsive .title:hover header:after {
	border-top-color: #000;
}
*/
.jquery-comments .dropdown {
	display: none;
	position: absolute;
	background: #FFF;
	margin-left: -1.5em; /* Discount title padding */
	z-index: 99;
	line-height: 1.2em;

	border: 1px solid #CCC;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	-moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	-ms-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.jquery-comments .dropdown.autocomplete {
	margin-top: 0.25em;
}

.jquery-comments .dropdown .item {
	display: block;
	white-space: nowrap;
	clear: both;
	padding: 0.6em;
	font-weight: normal;
	cursor: pointer;
}

.jquery-comments .dropdown .active {
	background: #EEE;
}

.jquery-comments .dropdown .item a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.jquery-comments .dropdown .item .profile-picture {
	float: left;
	width: 2.4em;
	height: 2.4em;
	margin-right: 0.5em;
}

.jquery-comments .dropdown .item .details {
	display: inline-block;
}

.jquery-comments .dropdown .item .name {
	font-weight: bold;
}

.jquery-comments .dropdown .item .details.no-email {
	line-height: 2.4em;
}

.jquery-comments .dropdown .item .email {
	color: #999;
	font-size: 0.95em;
	margin-top: 0.1em;
}

.jquery-comments .navigation .navigation-wrapper.responsive .dropdown {
	left: 0;
	width: 100%;
}

.jquery-comments .navigation .navigation-wrapper.responsive .dropdown .item {
	color: #000;
}

.jquery-comments .navigation .navigation-wrapper.responsive .dropdown .active {
	color: #FFF;
}

.jquery-comments .navigation .navigation-wrapper.responsive .dropdown .item:hover:not(.active) {
	background: #F5F5F5;
}

.jquery-comments .navigation .navigation-wrapper.responsive .dropdown .item:after {
	display: none;
}

.jquery-comments .no-data {
	display: none;
	margin: 1em;
	text-align: center;
	font-size: 1.5em;
	color: #CCC;
}

.jquery-comments .main:empty ~ .no-comments {
	display: inherit;
}

.jquery-comments ul#attachment-list:empty ~ .no-attachments {
	display: inherit;
}

.jquery-comments .main .comment {
	clear: both;
}

.jquery-comments .main .comment .comment-wrapper,
.jquery-comments .main .toggle-all,
.jquery-comments .main .comment .commenting-field {
	padding: .5em;
}

.jquery-comments .main .comment .comment-wrapper {
	border-top: 1px solid #DDD;
	overflow: hidden;
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture[class *= "-supporter"]:not(.default-supporter)) {
	padding-left: calc(.5em + 2px);
	border-top-width: 2px;
	border-left-width: 5px;
	border-top-style: solid;
	border-left-style: solid;
	margin-bottom: 4px;
	/*border-image-slice: 1;*/
	/*border-image-repeat: stretch;*/
}

.jquery-comments .main > .comment:first-child > .comment-wrapper:has(> .profile-picture[class *= "-supporter"]:not(.default-supporter)) {
	border-top: none;
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture.bronze-supporter) {
	/*border-image-source: linear-gradient(#bc966d, #0000 80%);*/
	border-color: #bc966d;
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture.silver-supporter) {
	/*border-image-source: linear-gradient(#d7d7d7, #0000 80%);*/
	border-color: #d7d7d7;
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture.gold-supporter) {
	/*border-image-source: linear-gradient(#e9cb53, #0000 80%);*/
	border-color: #e9cb53;
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture.platinum-supporter) {
	/*border-image-source: linear-gradient(#9f90ae, #0000 80%);*/
	border-color: #9f90ae;
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture.premium-supporter) {
	/*border-image-source: linear-gradient(#325db6, #0000 80%);*/
	border-color: #325db6;
}

.jquery-comments .main > .comment:first-child > .comment-wrapper {
	border-top: none;
}

.jquery-comments .main .comment .comment-wrapper > .profile-picture {
	margin-right: 1rem;
}

.jquery-comments .main .comment time {
	float: right;
	line-height: 1.4em;
	margin-left: .5em;
	font-size: 0.8em;
	color: #777;
}

.jquery-comments .main .comment .comment-header {
	line-height: 1.4em;
	word-break: break-word;
}

.jquery-comments .main .comment .comment-header > * {
	margin-right: .5rem;
}

.jquery-comments .main .comment .comment-header .name {
	cursor: pointer;
	font-weight: bold;
}

.jquery-comments .main .comment .comment-header .reply-to {
	color: #999;
	font-size: .8em;
	font-weight: normal;
	vertical-align: top;
}

.jquery-comments .main .comment .comment-header .reply-to i {
	margin-right: .25rem;
}

.jquery-comments .main .comment .comment-header .new {
	background: #2793e6;
	font-size: 0.8em;
	padding: 0.2em 0.6em;
	color: #fff;
	font-weight: normal;
	border-radius: 1em;
	vertical-align: bottom;
	word-break: normal;
}

.jquery-comments .main .comment .wrapper {
	line-height: 1.4em;
	overflow: hidden;
}

.jquery-comments.mobile .main .comment .child-comments .comment .wrapper {
	overflow: visible;
}

/* Content */
.jquery-comments .main .comment .wrapper .content {
	max-height: 60px;
	margin-bottom: 10px;
	overflow-y: hidden;
	white-space: pre-line;
	word-break: break-word
}

.jquery-comments .main .comment .comment-wrapper:has(> .profile-picture[class *= "-supporter"]:not(.default-supporter)) > .wrapper > .content {
	font-weight: 500;
}

.jquery-comments .main .comment .wrapper .content *:last-child {
	margin-bottom: 0;
}

.jquery-comments .main .comment .wrapper .content h1 {
	font-size: 30px; /* Reduced a little from 36px */
	text-align: center;
	text-decoration: underline;
}

.jquery-comments .main .comment .wrapper .content h2 {
	font-size: 26px; /* Reduced from 30px */
	text-decoration: underline;
}

.jquery-comments .main .comment .wrapper .content :where(ul, ol) {
	margin-block-start: 1.4em
}

/*
.jquery-comments .main .comment .wrapper .content table .heading {
	font-size: 24px;
}
*/

.jquery-comments .main .comment .wrapper .content :where(table, tr, th, td) {
	border-width: 1px;
	border-style: solid;
	padding: 0.5ex;
	font-weight: normal;
	width: auto;
	word-break: normal;	
}

.jquery-comments .main .comment .wrapper .content table {
	margin-top: 1em;
}

.jquery-comments .main .comment .wrapper .content table:first-child {
	margin-top: .5em;
}

.jquery-comments .main .comment .wrapper .content th {
	text-align: center
}

.jquery-comments .main .comment .wrapper .content blockquote {
	border-left: 0;
	font-size: inherit;
	margin-block-start: 1.4em;
	margin-block-end: 0;
	padding-top: 0;
	padding-bottom: 0
}

.jquery-comments .main .comment .wrapper .content .code-block {
	background-color: #fff;
	color: #000;
	padding: 1ex;
	margin-left: 2em;
	overflow-x: auto
}

.jquery-comments .main .comment .wrapper .content td.code pre {
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
}

.jquery-comments .main .comment .wrapper time.edited {
	float: none;
	display: block;
	margin: 5px 0;
	font-size: .9em;
	font-style: italic;
	color: #999;
}

.jquery-comments .main .comment .wrapper .content.expanded {
	max-height: 2350px; /* Permits up to three pages at 1080p, ending with controls (inc. edited line), with 120 regular lines */
}

.jquery-comments .main .comment .wrapper .truncated {
	cursor: pointer;
	display: inline-block;
	margin-bottom: 4px
}

.jquery-comments .main .comment .wrapper time.edited:before {
	content: " - ";
}

/* Attachments */
.jquery-comments .main .comment .wrapper .attachments .tags:not(:empty) {
	margin-bottom: 0.5em;
}

.jquery-comments .main .comment .wrapper .attachments .previews .preview {
	display: inline-block;
	margin-top: .25em;
	margin-right: .25em;
}

.jquery-comments .main .comment .wrapper .attachments .previews .preview > * {
	max-width: 100%;
	max-height: 200px;
	width: auto;
	height: auto;
}

.jquery-comments .main .comment .wrapper .attachments .previews .preview > *:focus {
	outline: none;
}

/* Actions */
.jquery-comments.mobile .main .comment .actions {
	font-size: 1em;
}

.jquery-comments .main .comment .actions > * {
	color: #999;
	font-weight: bold;
}

.jquery-comments .main .comment .actions .action {
	display: inline-block !important;
	cursor: pointer;
	margin-left: 1em;
	margin-right: 1em;
	line-height: 1.5em;
	font-size: 0.9em;
}

.jquery-comments .main .comment .actions .action:first-child {
	margin-left: 0;
}

.jquery-comments .main .comment .actions .action.upvote {
	cursor: inherit;
	margin-right: 0.5em;
}

.jquery-comments .main .comment .actions .action.upvote + .separator {
	display: none
}

.jquery-comments .main .comment .actions .action.downvote {
	cursor: inherit;
	margin-left: 0.5em
}

.jquery-comments .main .comment .actions .vote-count {
	margin-left: .5em;
}

.jquery-comments .main .comment .actions .vote-count:empty {
	display: none;
}

.jquery-comments:not(.blocked) .main .comment:not(.by-current-user, .placeholder) > .comment-wrapper .actions .action.upvote, .jquery-comments:not(.blocked) .main .comment:not(.by-current-user, .placeholder) > .comment-wrapper .actions .action.downvote {
	cursor: pointer;
}

.jquery-comments:not(.blocked) .main .comment .actions .action:not(.upvote, .downvote):hover,
.jquery-comments:not(.blocked) .main .comment:not(.by-current-user, .placeholder) > .comment-wrapper .actions .action.upvote:not(.highlight-font):hover, 
.jquery-comments:not(.blocked) .main .comment:not(.by-current-user, .placeholder) > .comment-wrapper .actions .action.downvote:not(.highlight-font):hover {
	color: #666;
}

.jquery-comments ul#attachment-list .comment .actions .separator {
	display: none;
}


/* Child comments */
.jquery-comments .main .comment .child-comments > *:before { /* Margin for second level content */
	content: "";
	height: 1px;
	float: left;

	width: calc(3.8em + .5em);	/* Profile picture width plus margin */
	max-width: calc(50px + .5em);	/* Profile picture max width plus margin */
}

.jquery-comments .main .comment .child-comments .profile-picture {
	width: 3.2rem;
	height: 3.2rem;
}

.jquery-comments .main .comment .child-comments i.profile-picture {
	font-size: 3.2em;
}

.jquery-comments .main .comment .child-comments .toggle-all {
	padding-top: 0;
}

.jquery-comments .main .comment .child-comments .toggle-all span:first-child {
	vertical-align: middle;
}

.jquery-comments .main .comment .child-comments .toggle-all span:first-child:hover {
	cursor: pointer;
	text-decoration: underline;
}

.jquery-comments .main .comment .child-comments .toggle-all .caret, .jquery-comments .navigation .count .caret {
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 0;

	margin-left: .5em;
	border: .3em solid;
	margin-top: .35em;

	border-left-color: rgba(0, 0, 0, 0);
	border-bottom-color: rgba(0, 0, 0, 0);
	border-right-color: rgba(0, 0, 0, 0);
}

.jquery-comments .main .comment .child-comments .toggle-all .caret.up, .jquery-comments .navigation .count .caret.up {
	border-top-color: rgba(0, 0, 0, 0);
	border-bottom-color: inherit;
	margin-top: -.2em;
}

.jquery-comments .navigation .count .caret.up {
	margin-top: -.35em;
}

.jquery-comments .main .comment .child-comments .togglable-reply {
	display: none;
}

.jquery-comments .main .comment .child-comments .visible {
	display: inherit;
}

.jquery-comments .main .comment.hidden {
	display: none;
}

/* Editing comment */
.jquery-comments .main .comment.edit > .comment-wrapper > *:not(.commenting-field) {
	display: none;
}

.jquery-comments .main .comment.edit > .comment-wrapper .commenting-field {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Drag & drop attachments */
.jquery-comments.drag-ongoing {
	overflow-y: hidden !important;
}

.jquery-comments .droppable-overlay {
	display: table;
	position: fixed;
	z-index: 99;

	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3)
}

.jquery-comments .droppable-overlay .droppable-container {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.jquery-comments .droppable-overlay .droppable-container .droppable {
	background: #FFF;
	color: #CCC;
	padding: 6em;
}

.jquery-comments .droppable-overlay .droppable-container .droppable.drag-over {
	color: #999;
}

.jquery-comments .droppable-overlay .droppable-container .droppable i {
	margin-bottom: 5px;
}

/* Read-only mode */
.jquery-comments.read-only .commenting-field {
	display: none;
}
.jquery-comments.read-only .actions {
	display: none;
}

.jquery-comments .long-btn {
	font-size: 14px;
	margin: 0px;
	padding: 0 0px;
	line-height: 2;
	width: 100%;
	background-color: transparent;
	display: none
}

.jquery-comments .long-btn > div:first-child {
	background-color: #eee;
}

.jquery-comments .long-btn > div:first-child:hover {
	background: #e7e7e7
}

.new-or-updated-comment-transition {
	transition: color 8s ease-out, background-color 8s ease-out 
}

#unmute-users+.separator {
	font-weight: bold;
	margin-left: 1em;
	margin-right: 1em;
}

#muted-or-blocked-users {
	left: 50%;
	max-height: 70%;
	overflow-y: auto;
	position: fixed;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	z-index: 1000
}

#muted-or-blocked-users th {
	text-align: center
}

#muted-or-blocked-users th span {
	margin-right: .5ex
}

#muted-or-blocked-users th span svg {
	width: 0.5em
}

#muted-or-blocked-users th, #muted-or-blocked-users td {
	padding: 1ex
}

#muted-or-blocked-users tbody .picture div {
	background-size: cover;
	width: 3.8rem;
	height: 3.8rem;
}

#muted-or-blocked-users tbody .name { 
	width: 65% 
}

#muted-or-blocked-users tbody .created { 
	width: 20% 
}

#muted-or-blocked-users tbody button { 
	color: black;
	width: 5em
}

#flag-comment {
	left: 50%;
	position: fixed;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	z-index: 1000
}

#flag-comment div {
	font-weight: bold;
	padding: 1ex
}

#flag-comment .heading {
	text-align: center
}

#flag-comment .close {
	opacity: 1
}

#flag-comment .close svg {
	width: .6em
}

#flag-comment span:first-child:not(.close) {
	display: inline-block;
	width: 9ex
}

#flag-comment textarea {
	font-weight: normal;
	height: 6.5em;
	resize: none;
	width: 100%
}

#flag-comment .action {
	text-align: center
}

	#flag-comment button {
		cursor: pointer;
		color: black
	}

#flag-comment button:first-child {
	margin-right: 1ex
}

/* NOTE: use z-index of 8000 so Image Viewer appears above new site's "scroll to top" button */
#image-viewer {
	left: 50%;
	position: fixed;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	user-select: none;
	z-index: 8000
}

#image-viewer .controls {
	font-weight: bold;
	height: 30px;
	padding-top: 1px;
	text-align: center
}

#image-viewer .info {
	position: absolute;
	left: 6px;
	top: 4px;
	opacity: 1
}

#image-viewer .decrease, #image-viewer .increase {
	font-size: larger;
	margin: 0 .25ex 0 .25ex;
	padding: 0 .75ex 0 .75ex
}

#image-viewer .close {
	position: absolute;
	padding: 3px 3px 0 3px;
	right: 3px;
	top: 0;
	opacity: 1
}

	#image-viewer .close svg {
		width: .6em
	}

#image-viewer .scroller {
	overflow: hidden
}

#image-viewer:hover .previous, #image-viewer:hover .next {
	display: block
}

#image-viewer .previous, #image-viewer .next {
	border-radius: 50%;
	cursor: pointer;
	display: none;
	height: 2.5em;
	opacity: 0.6;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5em
}

#image-viewer .previous {
	left: 1.2em
}

#image-viewer .next {
	right: 1.2em
}

#image-viewer .previous span, #image-viewer .next span {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translateX(-50%) translateY(-50%)
}

/* NOTE: override z-index of legacy tooltips, so they appear above Image Viewer on new site */
.tooltip {
	z-index: 8070
}


.jquery-comments .thread:not(:first-child) {
	margin: .75em 0
}

.jquery-comments .thread .title {
	font-size: 24px;
	font-weight: bolder;
}

.jquery-comments .video-timecode {
	cursor: pointer
}

.jquery-comments .video-timecode:hover {
	text-decoration: underline
}

.jquery-comments .video-timecode-return {
	cursor: pointer;
	margin-left: .5ex
}

.jquery-comments .dynamic-popup {
	border-radius: 1em;
	color: white;
	left: 50%;
	position: fixed;
	padding: 0.5ex;
	transform: translateX(-50%);
	width: 15em;
	user-select: none;
	z-index: 1000
}

	.jquery-comments .dynamic-popup, .jquery-comments .dynamic-popup .list {
		background-color: #ef4137
	}

.jquery-comments .dynamic-popup-glyph {
	border: 0.5em solid transparent;
	left: 50%;
	position: fixed;
	transform: translateX(-50%);
	z-index: 1000
}

.jquery-comments .dynamic-popup span {
	color: white;
	cursor: pointer;
	display: inline-block;
	position: relative
}

.jquery-comments .dynamic-popup .return {
	margin: 0 1em 0 1ex;
	text-shadow: 3px 3px #000;
	top: -0.2ex
}

.jquery-comments .dynamic-popup .type {
	height: 1.5em;
	margin-right: 1ex
}

.jquery-comments .dynamic-popup .type :where(.selected, .list) {
	padding-left: .25ex;
}

.jquery-comments .dynamic-popup .selected {
	cursor: inherit;
	width: 3.75em
}

.jquery-comments .dynamic-popup .list {
	cursor: pointer;
	display: none;
	min-width: 3.75em;
	padding-right: .5ex;
	position: absolute
}

.jquery-comments .dynamic-popup :where(.type, .list) {
	border: 1px solid #696969
}

.jquery-comments .dynamic-popup .list .item:not(.disabled):hover {
	background-color: #d2231a;
}

.jquery-comments .dynamic-popup .list .item.disabled {
	cursor: not-allowed;
	opacity: .6
}

.jquery-comments .dynamic-popup .nav {
	top: -0.15ex;
}

.jquery-comments .dynamic-popup .count {
	cursor: default;
	text-align: center;
	width: 3.5em
}

.jquery-comments .dynamic-popup .exit {
	margin-left: 1em;
	top: -0.25ex;
	text-shadow: 2px 3px #000
}

.tooltip-CF-style-characters {
	font-size: 20px
}
