@media (min-width: 638px) {
	#linkCommentsModal .modal-dialog {
		width: 600px;
		margin: 30px auto;
	}
}

#linkCommentsModal .modal-body {
	padding: 0px;
}

@media (max-width: 768px) {
	.modal-footer .btn {
		padding:4px 9px;
		font-size:90%;
		line-height: 1.2;
	}
}

#linkCommentsModalLabel {
    overflow: hidden;
    height: 24px;
    margin-right: 20px;
}

@media(max-width:600px) {
	#linkCommentsModalLabel {
		font-size: 14px
	}
}

#linkCommentsModal .form-group {
	border-top: 1px solid #e5e5e5;
	padding: 10px 15px 0px;
}

#CommentText {
	resize: vertical;
}

.link-comments-allow-popup-wrapper {
	text-align: center;
	padding: 10px;
	border-bottom: 1px solid #e5e5e5;
}

.link-comments-allow-popup-label {
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 10px;
}

.link-comments-allow-popup {
	display: inline-block;
	width:200px;
}

@media(max-width:600px) {
	.link-comments-allow-popup-label {
		font-size: 14px;
	}
	
	.link-comments-allow-popup {
		font-size: 12px;
		height: 28px;
	}
}

.link-comments-settings-change {
	color: #D02528;
	font-size: 16px;
	font-weight: bold;
	position: absolute;
	bottom: 8px;
	left: 15px;
	width: 60px;
	margin: 0px auto;
	text-align: center;
}

.link-comments-loading {
	padding: 10px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}

.link-comments-delete-line {
	margin: 10px;
	text-align: right;
}

.link-comments-delete-line .btn {
	margin-left: 10px;
}

@media(max-width:400px) {
	.link-comments-delete-line {
		font-size:12px;
	}
	
	.link-comments-delete-line .btn {
	    padding:4px 9px;
	    font-size:90%;
	    line-height: 1.2;
	}
}

@media(max-width:320px) {
	.link-comments-delete-line {
		font-size:10px;
	}
}

.link-comments-loading img {
	margin-left: 10px;
}

div.approve-link-comment, div.delete-link-comment, div.edit-link-comment {
	display: inline-block;
	float: right;
	vertical-align: middle;
	margin-right: 10px;

	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

@media(max-width:600px) {
	div.approve-link-comment, div.delete-link-comment, div.edit-link-comment {
		margin-right: 6px;
	}
}

#linkCommentsThread {
	max-height: calc(100vh - 344px);
	min-height: 90px;
	overflow-y: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.link-comment-line-item {
	position: relative;
	margin: 0px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e5e5;
	background-color: white;
	font-size: 14px;
	cursor: pointer;
}

.link-comment-line-item:last-child {
	border-bottom: none;
}

.link-comment-line-item-editing {
	background-color: #F8F8F8;
}

.link-comment-pending-approval {
	background-color: #FFF0F0;
}

.link-comment-pending-approval:after {
	content:"Pending Approval";
	position:absolute;
	top:24px;
	right:5px;
	font-size:14px;
	background: transparent;
	color:#D02528;
	width:120px;
	height:24px;
	text-align:center;
	line-height:24px;
}

.link-comment-line-top-section {
	display: block;
	position: relative;
	height: 40px;
}

.link-comment-line-bottom-section {
	display: block;
	position: relative;
}

.link-comment-profile-wrapper {
	position: relative;
	top: 4px;
}

.link-comment-profile-img-wrapper {
	position: absolute;
	top: 0px;
	height: 32px;
	width: 32px;
	text-align: center;
	border-radius: 50%;
	overflow: hidden;
	display: block;
}

img.link-comment-profile-img {
	height: 32px;
	position: absolute;
	top:0;
	bottom: 0;
	left: 50%;
	right: 0;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
}

.link-comment-from {
	position: absolute;
	top: 6px;
	left: 40px;
	font-weight: bold;
	color: black;
	font-size: 14px;
	height: 22px;
	line-height: 1.4;
	max-width: 500px;
	overflow: hidden;
}

a.link-comment-from {
	cursor: pointer;
}

@media(max-width:600px) {
	.link-comment-from {
		top: 8px;
		font-size: 12px;
		height: 18px;
		max-width: 250px;
	}
}

@media(max-width:525px) {
	.link-comment-from {
		max-width: 200px;
	}
}

@media(max-width:480px) {
	.link-comment-from {
		max-width: 160px;
	}
}

@media(max-width:400px) {
	.link-comment-from {
		max-width: 120px;
	}
}

@media(max-width:360px) {
	.link-comment-from {
		max-width: 90px;
	}
}

.link-comment-date {
	display: inline-block;
	float: right;
	vertical-align: middle;
	height: 48px;
	line-height: 48px;
	margin-right: 10px;
	font-size: 12px;

	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

@media(max-width:479px) {
  .link-comment-date {
		font-size: 10px;
	}
}

.link-comment-line-item-text {
	display: block;
	float: none;
	margin-left: 40px;
	max-width: 1200px;
	font-size: 12px;
}

.link-comment-line-item-text-inner-wrapper {
	display: table;
	width: 100%;
}

.link-comment-line-item-text-inner {
	display: table-cell;
}

.link-comment-text {
	display: inline-block;
}

.link-comment-like, .link-comment-reply {
	display: inline;
	padding: 0px 5px;
}

.link-comment-line-reply-section {
	text-align: left;
	font-weight: bold;
	font-size: 12px;
	padding: 5px 0px 0px 0px;
}

.link-comment-level-1 {
	padding-left: 20px;
}

.link-comment-level-2 {
	padding-left: 40px;
}

.link-comment-line-reply-section .glyphicon {
	float: right;
	padding-top: 2px;
	padding-left: 2px;
	color: #dc1e36;
}

.link-comment-likes-count {
	float: right;
	color: #dc1e36;
}

.link-comment-liked {
	color: #dc1e36;
}

.link-comment-reply-label {
	display: block;
	display: inline-block;
	font-size: 0.8rem;
	color: #9e9e9e;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
	background-color: #fafafa;
	border: solid 2px #f6f6f6;
}