/******************************
 * 
 * 
 * discussion.css
 * v1.0, October 2, 2016
 * 
 * 
 * ****************************/

.comments-container {
	font-family: "NeutralStd-Regular", Helvetica;
	color: #4A4A4A;
	font-size: 16px;
	/* Rectangle 3: */
	background: #FAFAFA;
	border: 1px solid #CCCCCC;
	box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.15);
	border-radius: 4px;

	/* width: 580px; */
	margin-left: auto;
	margin-right: auto;

	font-smoothing: antialiased;
}

.comments-container a {
	border: inherit;
	color: inherit;
	text-decoration: underline;
}

.comments-container a:hover {
	background-color: inherit;
	border: inherit;
}

.comment {
	padding: 20px;
	/* border-bottom: 1px solid #CCCCCC; */
	display: flex;
}

.comment header {
	font-family: "NeutralStd-Medium", "Helvetica-Bold";
	margin-bottom: 8px;
}

.comment .body {
	line-height: 1.4;
}

.author-image {
	border-radius: 4px;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.35);
	width: 64px;
	height: 64px;
	margin-right: 20px;
}

.author a {
	color: inherit;
	text-decoration: underline;
}

.comment-text {
	width: 456px;
}

.comment-text header {
	display: flex;
	justify-content: space-between;
}

.comment:hover .permalink-matter time {
	opacity: 1;
}

.permalink-matter {
	font-weight: normal;
	font-family: "NeutralStd-Regular", Helvetica;
}

.permalink-matter a {
	color: inherit;
	text-decoration: none;
}

.comment:hover .permalink-matter a {
	text-decoration: underline;
}

.permalink-matter time {
	opacity: 0;
	transition: opacity 0.15s ease-in-out;
	font-size: 0.8em;
	margin-right: 10px;
	display: inline; /* reset from article css. */
}

.post-area {
	padding: 20px;
}

.post-area textarea {
	background-color: light-grey;
	width: 100%;
	border-radius: 4px;
	font: inherit;

}

.post-author-area {
	margin-top: 20px;
	display: flex;
}

.post-author-area p {
	margin-top: 0;
}

.signup-area {
	margin-top: 40px;
	margin-bottom: 20px;
}

.signup-area label, .signup-area input {
	display: block;
}

.signup-area label {
	margin-bottom: 10px;
}

.signup-area input {
	width: 100%;
	margin-bottom: 30px;
	font-size: inherit;
	height: 36px;
	border-radius: 4px;
	border: 1px solid #979797;
	padding-left: 10px;
	box-sizing: border-box; /* makes width: 100% behave properly */
}

input[type=submit] {
	font-family: inherit;
	font-size: 20px;
	background-color: #FFE900;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	padding: 10px;
}

trix-editor {
	background-color: white;
	min-height: 140px;
	line-height: 1.4;
}

/* Hide the Nesting level buttons on the toolbar. */
trix-toolbar button.nesting-level { display: none; }

#error-span {
	color: rgba(255, 58, 29, 1);
	margin-bottom: 20px;
	display: inline-block;
}
