/* =========================
   Comment Item
========================= */
.comment-item {
	display: flex;
	padding: 18px 0;
	border-bottom: 1px solid #ddd;
}

.comment-profile {
	width: 70px;
	text-align: center;
}

.comment-profile img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
}

.comment-body {
	flex: 1;
	padding-left: 15px;
}

.comment-header {
	display: flex;
	align-items: center;
}

.comment-writer {
	font-weight: bold;
	margin-right: 10px;
	font-size: 1rem;
}

.comment-date {
	font-size: 12px;
	color: #777;
	margin-right: auto;
}

.comment-delete {
	margin-left: 10px;
}

.comment-delete img {
	width: 14px;
	height: 14px;
	cursor: pointer;
	vertical-align: middle;
}

.comment-text {
	margin-top: 6px;
	line-height: 1.6;
	white-space: pre-line;
	font-size: 0.9rem;
}


/* =========================
   Comment Write
========================= */
.comment-write {
	margin-top: 25px;
}

.comment-write textarea {
	width: 100%;
	min-height: 100px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	padding: 10px;
	resize: none;
	overflow: hidden;
	border-radius: 3px;
	border: 1px solid #AAA;
}

.comment-btn-area {
	text-align: right;
	margin-top: 8px;
}

.comment-btn {
	padding: 5px 30px;
	border: none;
	background-color: #EEE;
	border-radius: 3px;
	cursor: pointer;
}

.comment-btn:hover {
	background-color: #DDD;
	cursor: pointer;
}


/* =========================
   My Comment Area
========================= */
.m_mycmt {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 2px;
}


/* =========================
   Favorite Button
========================= */
.favorite {
	padding: 6px 18px;
	border-radius: 14px;
	background: #eee;
	color: #555;
	cursor: pointer;
	font-size: 14px;
	white-space: nowrap;
	transition: all .15s ease;
}

.favorite:hover {
	background-color: #555;
	color: #EEE;
	transition: ease all 0.3s;
}

.favorite.on {
	background: #333;
	color: #fff;
}


/* =========================
   User List (Comments List)
========================= */
.user_list_box {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	border-top: 1px solid #DDD;
	padding: 7px 0;
}

.user_picture {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100px;
	height: 80px;
	margin: 5px 10px 0 0;
	overflow: hidden;
	cursor: pointer;
}

.img_user_list {
	width: 70px;
}

.user_info {
	width: calc(100% - 100px);
}

.user_item {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 5px;
}

.user_item > img {
	margin-right: 5px;
}

.user_name {
	font-size: 1rem;
}

.user_memo {
	margin-top: 5px;
	color: #656565;
	font-size: 0.9rem;
	line-height: 1.5;
	white-space: pre-line;
}


/* =========================
   Delete Icon
========================= */
img.comment_delete {
	padding-left: 10px;
}


/* =========================
   Responsive (Tablet)
========================= */
@media (max-width:768px) {

	.m_mycmt {
		display: none;
	}

	.favorite {
		padding: 10px 20px;
		margin-bottom: 5px;
		background-color: #EEE;
		font-weight: 600;
		color: #777;
		border-radius: 50px;
		text-align: center;
		font-size: 1.1rem;
	}

	.favorite:hover {
		background-color: #555;
		color: #EEE;
	}

	.user_list_box {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		border-top: 1px solid #DDD;
		padding: 10px 0;
		cursor: pointer;
	}

	.user_picture {
		display: none;
	}

	.img_user_list {
		width: 60px;
		height: 60px;
	}

	.user_info {
		width: calc(100% - 50px);
	}

	.user_item {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.user_name {
		font-size: 1rem;
	}

	.user_memo {
		margin-top: 5px;
	}

	img.comment_delete {
		padding-left: 30px;
	}
}


/* =========================
   Responsive (Mobile)
========================= */
@media (max-width:600px) {

	.m_mycmt {
		display: none;
	}

	.favorite {
		margin-top: 15px;
		padding: 5px 12px;
		font-size: 12px;
		border-radius: 12px;
	}
}