.wpeo-task-selected {
	.task-marker {
		opacity: 1;
	}
}

.wpeo-project-task .wpeo-task-main-header {
	display: flex;
	flex-direction: row;
	width: 100%;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding: 0.8em 0;

	&::after {
		display: block;
		content: '';
		clear: both;
	}
}

/** Author */
.wpeo-project-task .wpeo-task-main-header .wpeo-task-author {
	position: relative;
	text-align: center;
	margin: auto 0;
	padding: 0 0.8em;

	.tm-avatar {
		border-radius: 50%;
		overflow: hidden;
		img {
			border-radius: 50%;
		}
		&:hover {
			cursor: pointer;
		}
	}

	.toggle .content {
		max-width: 150px;
		display: flex;
		flex-wrap: wrap;
		li {
			width: 50px;
		}
	}
}

/** Task title */
.wpeo-project-task .wpeo-task-main-header .wpeo-task-main-info {
	width: 100%;
	margin: auto 0;

	.wpeo-project-task-title {
		font-weight: 300;
		width: 100%;
		font-size: 20px;
		padding: 0;
		border: 0;
		line-height: 1;

		&:hover {
			color: rgba(0,0,0,0.5);
		}
	}

	.wpeo-task-summary {
		display: flex;
		flex-direction: row;
		width: 100%;

		li {
			padding: 4px;
			font-size: 12px;
			color: rgba(0,0,0,0.4);
			line-height: 1;
		}
		[data-icon] {
			color: rgba(0,0,0,0.6);
		}
	}
}

/** Settings */
.wpeo-project-task .wpeo-task-main-header .wpeo-task-setting {
	position: relative;
	text-align: center;
	margin: auto 0 auto auto;

	@keyframes taskOptionAnimation {
		from { opacity: 0; top: 36px; }
		to { opacity: 1; top: 40px; }
	}
}

/** Filters */
.wpeo-project-task .wpeo-task-filter {
	background: rgba(0,0,0,0.05);
	padding: 0.4em 0.4em 0 0.4em;
	display: flex;
	flex-direction: row;

	li {
		margin: auto 0;
		span {
			margin: auto 0;
		}
	}

	.wpeo-button {
		background: rgba(0,0,0,0.1);
		border: 0;
		color: rgba(0,0,0,0.6);
		font-weight: 400;
		text-transform: none;
		font-size: 14px;

		&.active {
			background: $color__primary;
			color: #fff;
		}
	}

	li.tm-task-display-method-buttons {
		margin-left: auto;
		display: flex;

		.wpeo-button {
			&:first-child {
				border-top-right-radius: 0;
				border-bottom-right-radius: 0;
			}
			&:last-child {
				border-top-left-radius: 0;
				border-bottom-left-radius: 0;
			}
		}
	}
}
