.comments, #heartsList {
	max-height: 100%;
	transition: padding-bottom 200ms;
	width: 100%;
	overflow: auto;
	margin-left: 0;
	padding-top: 30px;
}

#commentsSummaryWarning {
	background: #222;
	padding: 13px 10px;
	color: #999;
}

.comment {
	/*    make sure you use padding instead of margin. if so, scrolling don't work*/
	padding-top: 0;
	margin-bottom: 20px;
	/* max-height: inherit; */
	/* transition: max-height 200ms 4000ms; */
	overflow: visible;
	display: block;
	/* transition: background 200ms; */
}

.comment .userThumbContainer img {
	background-size: 14px;
	border: 1px solid #f5f5f5;
	background: #f5f5f5;
}

.comment.reply .userThumbContainer img {
	background-size: 9px;
}

.comment .userThumbContainer img.hideUntilLoaded {
	opacity: 1;
}

.comment .userThumbContainer {
	width: 40px;
	height: 40px;
	left: 8px;
	position: absolute;
	top: 2px;
	display: block;
	padding-top: 0;
}

.comment .commentNewReply {
	transition: background-color 200ms;
	position: relative;
	background-color: transparent;
	margin-top: 3px;
}

.comment .commentNewReply.active {
	background-color: #444;
	padding-top: 5px;
	padding-left: 55px;
	padding-right: 0;
}

.comment .commentNewReply>.userThumbContainer {
	display: none;
	position: absolute;
	width: 25px;
	height: 25px;
	left: 20px;
	top: 11px;
}

.comment .commentNewReply.active>.userThumbContainer {
	display: block;
}

.comment .commentNewReply .textarea {
	border: none;
	padding: 0;
	min-height: unset;
	height: auto;
	padding-bottom: 10px;
	margin-top: 0;
	cursor: pointer;
	/* opacity: 0; */
	/* visibility: hidden; */
	}

.comment .commentNewReply .textarea::after {
	color: #999;
	cursor: pointer;
	display: block;
	font-size: 14px;
	visibility: hidden;
}
.comment:hover .commentNewReply .textarea::after {
	visibility: visible;
}

.comment .commentNewReply.active .textarea::after {
	content: '';
}

.comment .commentNewReply.active .textarea::after {
	/* content: 'Comment Tips'; */
	display: block;
	color: #666;
	position: absolute;
	bottom: -21px;
	right: 15px;
}

.commentNewReply.active .textarea,
.commentNewReply.loading .textarea {
	min-height: 44px;
	height: auto;
	margin-left: -6px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 5px;
	padding-top: 10px;
	margin-top: -5px;
	font-size: 18px;
}

.comment .commentNewReply button {
	display: none;
}

.comment .commentNewReply.active button {
	display: none;
	float: left;
	margin-top: -10px;
	margin-right: 10px;
}

.comment .commentReplies {
	padding-left: 0;
	padding-right: 0;
}

.showAllRepliesLink {
	display: block;
	padding: 14px 15px 14px 50px;
	background: url('/assets/img/icons/replies_white@2x.png') left 30px center no-repeat;
	background-size: 4px 28px;
	color: #999 !important;
	font-size: 14px;
}

.comment .commentReplies.showAllReplies .showAllRepliesLink {
	display: none;
}

.comment .commentReplies .reply:nth-last-child(-n+3) {
	display: block;
}

.comment .commentReplies.showAllReplies .reply {
	display: block;
}

.comment.reply {
	border-left: 8px solid transparent;
	margin-bottom: 10px;
	display: none;
	padding-left: 40px;
}

.comment.reply:nth-child(2) {
	margin-top: 15px;
}

.comment.reply:last-child {
	margin-bottom: 0px;
}

.comment.reply>* {
	padding-left: 7px;
}

.comment.reply .userThumbContainer {
	width: 25px;
	height: 25px;
	left: -27px;
	top: -2px;
}

.comment.reply .textarea {
	display: none;
}



.comment.flagged h3, .comment.flagged .commentBody, .comment.flagged .commentMeta, .comment.flagged .commentNewReply {
	display: none;
}

.comment.flagged {
	/* max-height: 0px; */
}

.comment.flagged::after {
	display: block;
	overflow: hidden;
	opacity: 0.3;
	content: '~ Comment is flagged and removed. ~';
	/* font-size: 0.8em; */
	margin-bottom: 20px;
	padding: 0 15px 0 50px;
}

.comments.active {
	padding-bottom: 150px;
}

.comment,
.heart {
	position: relative;
}

.comment>* {
	padding-left: 55px;
	padding-right: 15px;
}

.comment .commentBody {
	overflow-x: hidden;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: 18px;
}

.comment.summarize > .commentBody {
	max-height: 93px;
	overflow-y: hidden;
	text-overflow: ellipsis;
}

.comment > a.readMoreLink {
	display: none;
}

.comment.summarize > a.readMoreLink {
	display: block;
}

.comment code {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	cursor: pointer;
	background: #333;
	margin: 10px 0 0 0;
	border-left: 1px solid #c7254e;
	border-radius: 0;
	padding-left: 10px;
}

.comment code br {
	clear: none;
	display: none;
}

.comment .commentHeader {
	position: relative;
}

.comment .commentHeader a {
	color: #999;
	font-size: 14px;
}

.comment.hasMarker>.commentHeader::after {
	background: #F8E71C;
	width: 3px;
	height: 100%;
	position: absolute;
	left: 0;
	content: '';
}

.comment .commentMeta {
	margin-top: 0;
	color: #9b9b9b;
}

.comment .commentDate {
	cursor: pointer;
}

.comment .commentActions {
	display: inline;
	text-align: right;
}

.comment hr {
	border-color: #9b9b9b;
	margin: 5px 0;
}

.comment .btn-circle {
	width: 23px;
	height: 23px;
	border-radius: 20px;
	border: none;
}

.comment .btn-primary {
	background: url('/assets/img/icons/icon_arrow_up.svg') center center no-repeat #E14747;
}

.comment .btn-secondary {
	background: url('/assets/img/icons/code_thin_white@2x.png') center center no-repeat #555;
	background-size: 17px;
}

/*#commentSidePanel .comment .commentName,*/

#commentSidePanel .comment .commentMeta {
	opacity: 0;
	transition: opacity 200ms;
	font-size: 0.8em;
	position: absolute;
	right: 0;
	top: 3px;
	width: 90px;
	padding-right: 15px;
	text-align: right;
	background: #333;
	padding-left: 0;
}

#commentSidePanel .comment .icon_edit_white {
	height: 18px;
	background-size: 4px;
	top: 0px;
	right: -8px;
	width: 20px;
	margin-left: 0;
}

#commentSidePanel .comment:hover>.commentMeta,
#commentSidePanel .commentMeta.active {
	opacity: 1;
}

#commentSidePanel .comment .commentEditTooltip {
	display: none;
}
html.newSketch .codeCommentIcon,
html.embedPage .codeCommentIcon
 {
	display: none;
}
#newCommentContainer {
	position: absolute;
	height: auto;
	bottom: 0px;
	transition: bottom 200ms;
	width: 100%;
	height: 60px;
	overflow: hidden;
	z-index: 21;
}
#app.commentsDisabled #newCommentContainer {
	background: #222;
	padding: 20px;
	color: #666;
}
#app.commentsDisabled #newCommentContainer::before {
	content: "New comments are disabled";
	text-align: center;
	display: block;
}
#app.commentsDisabled .newComment {
	display: none !important;
}

#newCommentContainer.active {
	overflow: visible;
	bottom: 60px;
}


#verifyToComment {
	position: absolute;
	height: auto;
	bottom: 0px;
	transition: bottom 200ms;
	background: #5a5a5a;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	width: 100%;
}
#joinToComment {
	position: absolute;
	height: auto;
	bottom: 0px;
	transition: bottom 200ms;
	background: #5a5a5a;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	width: 100%;
}

#curationsDDLabel {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

#curationsDD {
	position: absolute;
	right: 0;
	width: 220px;
	left: unset;
	text-align: left;
	padding-top: 0;
	padding-bottom: 0;
}

#curationsDD li {
	color: #333;
	padding-left: 10px;
	padding-right: 10px;
	cursor: pointer;
	padding: 2px 10px;
}

#curationsDD li:hover {
	background: #ccc;
}

.newComment {
	padding: 0;
}

#commentSidePanel .newComment .userImage {
	top: -56px;
	bottom: 85px;
	display: none;
}

.newComment .textarea {
	margin: 0;
	position: absolute;
	width: 100%;
	min-height: 55px;
	max-height: 550px;
	bottom: 0px;
	background: #8d8d8d;
	text-align: left;
	outline: none;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 15px 10px 15px 15px;
	border-left: 1px solid #888888;
	font-size: 18px;
}

.newComment .textarea.empty {
	padding-top: 8px;
	padding-bottom: 0px;
	text-align: center;
	font-size: 28px;
	font-family: bariol;
}

.commentNewReply.loading {
	background-image: url('/assets/img/icons/icon_loader.svg');
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: right 5px top 15px;
}

#newCommentContainer.loading .textarea
{
	background-image: url('/assets/img/icons/icon_loader.svg');
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: right 5px bottom 5px;
}

.newComment .toTextarea-placeholder:focus:empty:after {
	display: none;
}

.newComment .buttonContainer {
	visibility: hidden;
	background: #333;
	text-align: center;
	position: relative;
	z-index: 100;
	padding: 5px;
	height: 60px;
	bottom: -60px;
}

.newComment .buttonContainer button {
	margin: 10px;
}

.newComment .buttonContainer button.btn-secondary {
	color: #f5f5f5;
}

.newComment .buttonContainer button.btn-secondary:hover {
	opacity: 0.8;
}

.newComment .buttonContainer .small {
	color: #ccc;
}

#commentSidePanel {
	overflow: visible;
	padding-top: 0;
	padding: 0px 0 50px 0;
}

#commentSidePanel .icon {
	width: 12px;
	height: 12px;
	margin: 0;
	margin-left: 5px;
	border-radius: 0;
	margin-top: -2px;
}

#commentSidePanel .icon_delete {
	background: url('/assets/img/icons/icon_close_white.png') center center no-repeat;
	background-size: 12px 12px;
}

#commentSidePanel .icon_flag {
	background: url('/assets/img/icons/icon_flag.png') center center no-repeat;
	background-size: 12px 12px;
}

/* CODE COMMENTS */


#codePanel .codeComment {
	position: absolute;
	right: 0px;
	width: 100px;
	height: 30px;
	background: transparent;
	margin-bottom: -30px;
	display: inline-block;
}
#app.commentsDisabled  .codeComment {
	display: none;
}

#codePanel .codeCommentOverlay {
	position: absolute;
	right: 0px;
	width: 100px;
	height: 300px;
	background: #333;
	display: none;
}

#codePanel .codeComment.highlight .codeCommentIcon,
#codePanel .codeComment.selected .codeCommentIcon {
	opacity: 1;
}

#codePanel .codeCommentIcon {
	transition: opacity 200ms;
	position: relative;
	width: 16px;
	height: 18px;
	/* z-index: 15000; */
	background: url('/assets/img/icons/comment_small_red@2x.png') no-repeat 0px 3px;
	background-size: 16px;
	opacity: 0.5;
	cursor: pointer;
	text-align: center;
	/* line-height: 1.2; */
	/* color: red; */
	top: 2px;
	/* font-size: 18px; */
}
#app.darkMode #codePanel .codeCommentIcon {
	opacity: 0.7;
}
#codePanel .codeCommentIcon:hover {
	opacity: 1 !important;
}
#codePanel .codeCommentIcon.newComment {
	background-image: url('/assets/img/icons/comment_new_small_red@2x.png');
}

#codePanel.showComments .commentMarker.commentMarkerSelected {
	background: #F3EC97;
}

#codePanel.showComments .commentMarker {
	background: #FEFCE1;
}

.tippy-content .codeCommentBox {
	min-height: 100px;
	max-height: 364px;
	overflow: auto;
	width: 300px;
	text-align: left;
	white-space: normal;
}