.form-container {
	display: inline-block;
	width: 100%;
	background: rgba($color--seashell, 0.2);
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;

	&.filter {
		padding: 0;
		transition: all 0.4s linear;
		background: ransparent;
		form {
			max-height: 0;
			transition: max-height 0.4s linear opacity 0.4s linear;
			overflow: hidden;
			opacity: 0;
		}
		&.displayed {
			background: rgba($color--seashell, 0.2);
			padding-top: 10px;
			padding-bottom: 10px;
			form {
				max-height: 30rem;
				opacity: 1;
			}
		}
	}
}

.form-container__btn--ear--right {
	display: block;
	position: absolute;
	top: -3.6rem;
	right: 0;
	line-height: 2rem;
	font-size: 1.2rem !important;

	background: rgba($color--seashell, 0.2);
	border-radius: 10rem !important;
	transition: all 0.4s linear;
	cursor: pointer;

	&:hover {
		background: rgba($color--seashell, 0.4);
	}


	.turn-off-text {
		display: none;

		&:before {
			font-family: 'FontAwesome';
			margin-right: 0.8rem;
		}
	}
	.turn-on-text {
		display: block;

		&:before {
			font-family: 'FontAwesome';
			margin-right: 0.8rem;
		}
	}

	.form-container.displayed & {
		border-radius: 0 !important;
		border-top-left-radius: 1rem !important;
		border-top-right-radius: 1rem !important;
		.turn-off-text {
			display: block;
		}
		.turn-on-text {
			display: none;
		}
	}
}