.bypostauthor {
    display: block;
}
.comments-area {
	.comment-list-wrap {
		margin-top: 49px;
	}
	.comment-respond {
		margin-top: 60px;
		.logged-in-as {
			margin-bottom: 25px;
			font-size: 14px;
			a {
				color: inherit;
				&:hover {
					color: $primary_color;
				}
			}
		}
	}
	.no-comments {
		display: none;
	}
}
.comment-title {
	font-size: 20px;
	text-transform: capitalize;
	margin-bottom: 2px;
	a {
		color: inherit;
		&:hover {
			color: $primary_color;
		}
	}
}
.comment-list {
	padding: 0;
	list-style: none;
	li {
		.children {
			padding-left: 127px;
			@media #{$max-xs} {
				padding-left: 0;
			}
			li {
				list-style: none;
				margin-top: 34px;
			}
		}
		.comment-respond {
			margin-top: 45px;
			margin-bottom: 50px;
			margin-left: 122px;
			.comment-form {
				padding-top: 0 !important;
			}
		}
	}
	> li {
		margin-bottom: 45px;
		@media #{$max-xs} {
			margin-bottom: 40px;
		}
		&:last-child {
			margin-bottom: 0;
		}
		> .children > li > .children > li > .children > li > .children {
			padding-left: 0;
			.children {
				padding-left: 0;
			}
		}
	}
}
.comment-inner {
	display: flex;
	flex-wrap: nowrap;
	@media #{$max-xs} {
		display: block;
		text-align: center;
	}
	img.avatar {
		width: 102px;
		height: 102px;
		min-width: 102px;
		margin-right: 25px;
		float: left;
		@include border-radius(100px);
		border: 5px solid #fff;
		@include box-shadow(0 8px 10px rgba($secondary_color_hex, 0.23));
		@media #{$max-sm} {
			width: 60px;
			height: 60px;
			min-width: 60px;
			margin-right: 18px;
		}
		@media #{$max-xs} {
			float: none;
			margin: 0 auto 22px auto;
			width: 92px;
			height: 92px;
			min-width: 92px;
		}
	}
}
.comment-date {
	font-size: 13px;
	color: $secondary_color;
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 17px;
	display: inline-block;
	@include transition(all 300ms linear 0ms);
	@include font-family-heading($heading_default_font);
}
.comment-content {
	background-color: #f4f7fc;
	padding: 22px 24px 38px;
	position: relative;
	flex-grow: 1;
	@media #{$max-sm} {
		padding: 26px 15px 38px 15px;
	}
	a {
	    word-wrap: break-word;
	}
	.comment-text {
		color: inherit;
		font-size: 15px;
		line-height: 27px;
		p:last-child {
			margin-bottom: 0;
		}
		ol, ul {
			margin-bottom: 32px;
			ul, ol {
				margin-bottom: 0;
			}
		}
		ul li {
			list-style: outside;
		}
		br {
			display: none;
		}
	}
	&:hover {
		.comment-date {
			text-decoration: underline;
		}
		.comment-reply a {
			&:before {
				opacity: 0;
			}
			&:after {
				opacity: 1;
			}
			&:hover {
				&:before {
					opacity: 1;
				}
				&:after {
					opacity: 0;
				}
			}
		}
	}
	@media #{$max-xs} {
		&:before {
			content: '';
			border-width: 12px;
			border-style: solid;
			border-color: transparent transparent #f4f7fc transparent;
			left: 50%;
			top: -23px;
			@include transform(translate(-50%, 0));
			display: inline-block;
			position: absolute;
		}
	}
}
.comment-reply {
	position: absolute;
	top: 20px;
	right: 23px;
	@media #{$max-xs} {
		position: static;
		margin-top: 22px;
	}
	a {
		line-height: 35px;
		display: inline-block;
		padding: 0 17px;
		font-size: 14px;
		font-weight: 600;
		color: #fff;
		@include border-radius(3px);
		background-color: $primary_color;
		@include font-family-heading($heading_default_font);
		i {
			margin-left: 4px;
			font-weight: 400;
		}
		&:hover {
			background-color: $secondary_color;
			color: #fff;
		}
	}
}
#reply-title {
	display: inline-block;
	padding-right: 47px;
	a {
		width: 32px;
		height: 32px;
		background-color: $primary_color;
		color: #fff;
		@include border-radius(32px);
		position: absolute;
		top: -3px;
		right: 0;
		text-indent: -9999999px;
		&:hover {
			background-color: $secondary_color;
		}
		&:before {
			content: '\f136';
			font-family: "Material-Design-Iconic-Font";
			position: absolute;
			top: 50%;
			left: 50%;
			@include transform(translate(-50%, -50%));
			text-indent: 0;
		}
	}
}
.comment-holder {
	display: flex;
	flex-wrap: nowrap;
	margin-top: 5px;
	.comment-meta {
		flex-grow: 1;
		margin-right: 30px;
	}
	@media #{$max-xs} {
		display: block;
		margin-top: 0;
		margin-bottom: 14px;
		.comment-meta {
			margin-right: 0;
		}
	}
}
.comment-form {
	.row {
		> div {
			margin-top: 30px;
		}
	}
	.form-submit {
		margin-top: 23px;
		margin-bottom: 0;
		.submit {
			background-color: $secondary_color;
			line-height: 45px;
			font-size: 14px;
			&:hover {
				background-color: $primary_color;
			}
		}
	}
	.comment-form-comment {
		display: flex;
		flex-wrap: wrap;
	}
}
.comment-form-cookies-consent {
	font-size: 14px;
	line-height: 24px;
	padding-left: 20px;
	position: relative;
	margin-top: 20px;
	color: $dark_color;
	font-weight: 600;
	@include font-family-heading($heading_default_font);
	input, label:before, label:after {
		position: absolute;
		width: 12px;
		height: 12px;
		left: 0;
		top: 6px;
	}
	label:before {
		content: '';
		border: 1px solid #b7bccc;
		background-color: #eceef4;
		z-index: 1;
	}
	label:after {
		content: '\f00c';
		font-family: "Font Awesome 5 Pro";
		font-weight: 400;
		z-index: 2;
		font-size: 8px;
		color: $primary_color;
		opacity: 0;
		line-height: 12px;
		text-align: center;
	}
	input {
		z-index: 99;
		opacity: 0;
		&:checked + label:before {
			border-color: $primary_color;
			background-color: #fff;
		}
		&:checked + label:after {
			opacity: 1;
		}
	}
}
.page-template-default .comments-area .comment-respond {
	border-top: 1px solid #d0e7fa !important;
	padding-top: 50px;
	margin-top: 50px;
	&:before {
		display: none;
	}
}

#commentform {
	padding: 35px 0 35px 0;
	background-color: #fff;
	@media #{$max-sm} {
		padding-left: 20px;
		padding-right: 20px;
	}
}