.task-block{
	max-width: 24.2rem;
	margin: .3rem;
	background: #fff;
	color: #636363;
	font-size: 1.2rem;
	.head{
		color: #ffffff;
		font: 1.4rem/1 $HB;
		text-align: center;
		height: 5.1rem;
		@extend %center-flex;
		text-transform: none;
	}
	.task{
		padding: 1.5rem 0;
		margin: 0 1.5rem;
		border-bottom: 3px solid;
	}
	.cloud{
		width: 2.8rem;
		height: 2.3rem;
	}
	.bell{
		img{
			width: 2.3rem;
		}
	}
	.button{
		text-transform: uppercase;
		font-family: $HB;
		height: 3.5rem;
		border: 1px solid #9e60be;
		margin: 0 1.4rem;
		border-radius: 0.5rem;
		@extend %center-flex;
		a{
			@extend %center-flex;
			.pl{
				font: 2.6rem/1 $HBl;
				text-transform: uppercase;
				margin-right: .5rem;
				margin-bottom: 4px;
			}
		}	
	}
	$taskcolor: 'manager' '#9e60be', 'maintenance' '#00b2d2', 'mechanic' '#21a358', 'dispatcher' '#2f7086', 'customerservice' '#c49015', 'owner' '#cc3a4c';
	@each $name in $taskcolor {
		&.#{nth($name, 1)} {
			.head{
				background-color: #{nth($name, 2)};
			}
			.task{
				border-color: #{nth($name, 2)};
			}
			.cloud{
				background: url($img_dir + 'cloud-#{nth($name, 1)}.svg') no-repeat center;
				background-size: auto 100%;
			}
			.button{
				border-color: #{nth($name, 2)};
				a{
					color: #{nth($name, 2)};
					.pl{
						color: #{nth($name, 2)};
					}
				}
				&:hover{
					background-color: #{nth($name, 2)};
					a{
						color: #fff;
						.pl{
							color: #fff;
						}
					}
				}
			}
		}
	}
}

.add-part{
	position: absolute;
	right: 3rem;
	top: 50%;
	transform: translateY(-50%);
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	@extend %center-flex;
	background: #e91e63;
	@include br1{
		right: 1rem;
		top: auto;
		bottom: 2rem;
	}
	a{
			width: 100%;
	height: 100%;
	@extend %center-flex;
		color: #fff;
		font-size: 2rem;
		margin-top: -2px;
	}
	&:hover{
		background: #00b2d2;
	}
}