.groups.details {
	margin-top: 200px;

	[component="groups/cover"] {
		background-size: cover;
		background-repeat: no-repeat;
		background-origin: content-box;

		min-height: 200px;
		width: 100%;
		margin-bottom: 1em;
		padding-left: 0;
		padding-right: 0;

		position: absolute;
		top: var(--panel-offset);
		right: 0;
		left: auto;

		&:hover {
			.controls {
				opacity: 0.8;
			}
		}

		.controls {
			text-align: center;
			min-height: 200px;
			line-height: 200px;
			opacity: 0;
			@include transition(opacity .15s linear);
			cursor: pointer;
			pointer-events: none;

			> * {
				pointer-events: all;
			}

			.fa {
				color: white;
				background-color: #333;
				opacity: 1;
				margin: 15px;
				padding: 5px;
			}
		}

		&.active {
			&:hover {
				cursor: move;
			}

			.controls {
				> * {
					display: none;
				}
			}

			.save {
				display: inline-block;
			}
		}

		&.saving {
			.save {
				display: none;
			}

			.indicator {
				display: inline-block;
			}
		}

		.save, .indicator {
			display: inline-block;
			position: absolute;
			top: 1em;
			right: 2em;
			opacity: 1;
			background-color: $primary;
			color: $gray-200;
			padding: 0.5em;
			font-weight: bold;

			&:hover {
				cursor: pointer;
			}
		}

		.save {
			display: none;
		}

		.indicator {
			display: none;
		}
	}

	@include media-breakpoint-up(md) {
		margin-top: 300px;

		[component="groups/cover"] {
			min-height: 300px;

			.controls {
				min-height: 300px;
				line-height: 300px;
			}
		}
	}
}
