html, body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body.comments {
	font: normal normal 100%/1.5em Helvetica, Arial, sans-serif;
	background: #f2f2f2;
}
.clear {
	clear: both;
}
#comment-list {
	padding: 15px 0;
	display: block;
	background: transparent;
	overflow: scroll;
	height: calc(100vh - 40px);
	position: relative;
	top: 0;
	left: 0;
	box-sizing: border-box;
	font: inherit;
	width: 100%;
}
ons-list-item.comment {
	padding: 0 1em 0 40px;
	min-height: 30px; // avatar
	margin-bottom: 1em;

	.no-avatars & {
		padding-left: 1em;
	}

	ons-list-item.comment {
		padding-right: 0;

		&:last-child {
			margin-bottom: 0;
		}
		ons-list-item.comment ons-list-item.comment {
			padding-left: 0;
		}
	}

	&:last-of-type {
		border: none;
	}

	.list-item__center {
		display: block;
		margin: 0;
		border: 0;
		padding: 0;
		background: transparent;
	}

	.avatar {
		float: left;
		margin: 0.3em 0 0 -30px;
		border-radius: 50%;
		width: 30px;

		.no-avatars & {
			display: none;
		}

	}

	.comment_body {
		padding: 0.3em 0 0.5em 0.5em;
		margin-bottom: 1em;
		border-bottom: 1px solid #e0e0e0;
		font-size: 14px;
		line-height: 1.3em;

		&:last-child {
			margin-bottom: 0;
		}

		strong {
			font-size: 15px;
			display: block;
			margin-bottom: 0.3em;
		}

		p {
			margin-bottom: 0.5em;
		}


		.comment_meta {
			color: #999;
			font-size: 90%;
		}
	}

	.ml-reply-link {
		font-size: 12px;
		font-weight: bold;
		position: relative;
		display: inline-block;
		top: -12px;
		padding-left: 8px;
	}
}

.comment-form {
	position: relative;
	bottom: 0;
	width: 100%;
	background: #fff;
	height: 40px;
	box-sizing: border-box;
	padding: 5px;

	.ml-comment-login {
		padding: 0 15px;
		font-size: 14px;
		text-align: center;

		a {
			color: #fff;
			text-decoration: none;
			display: inline-block;
			padding: 7px 20px;
			font-weight: bold;
			background: #00aadc;
			line-height: 20px;
			border-radius: 4px;
		}
	}

	textarea {
		background: transparent;
		border: none;
		width: calc(100% - 50px);
		padding: 6px 32px 0 0;
		font: inherit;
		font-size: 13px;
		float: right;
		height: 30px;
		line-height: 16px;

		.no-avatars & {
			width: calc( 100% - 15px );
		}
	}

	#form-avatar {
		display: inline-block;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		margin: 0 0 0 5px;
	}

	#form-avatar-processing {
		position: absolute;
		top: 5px;
		left: 5px;
		display: inline-block;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		margin: 0 0 0 5px;
	}

	#comment-submit,
	#comment-processing {
		position: absolute;
		right: 15px;
		top: 7px;
		padding: 0 5px;
		opacity: 0.3;
		transition: opacity 0.3s ease;

		&.active {
			opacity: 1;
		}
	}

	#comment-processing {
		display: none;
		padding-right: 0;
		width: 24px;
		height: 24px;
	}
}

.modal {
	background: rgba(255,255,255,0.9);

	ons-input {
		width: 80%;
		margin-bottom: 20px;
		color: #fff;
		font-size: 14px;
	}
}

ons-toast {
	z-index: 999999999 !important;
}
