.container-ears, //specifikace nize
.ears {
	display: inline-block;
	width: 100%;
	width: calc(100% + 20px);
	background: rgba($color--graymiddle, 0.5);
	margin-top: -0.5rem;
	margin-bottom: 2rem;
	font-weight: 600;
	.ear,
	a {
		display: inline-block;
		float: left;
		padding: 1.3rem 3rem 1rem 3rem;
		font-size: 18px;
		color: darken($color--graymiddle, 30%);
		position: relative;
		transition: 0.2s all ease-in-out;
		cursor: pointer;

		&:hover {
			text-decoration: none;
			background: rgba($color--main, 0.1);
		}

		&.active {
			color: $color--additional;
			background: $color--graylight;
			box-shadow: 0 -2px 10px -3px rgba(0,0,0,0.2);
		}
	}

}

.ears--lighten {
	@extend .ears;

	.ear {
		&.active {
			background: $color--graylight--lighten;
			border: 1px solid $color--grayforms-border;
			margin-bottom: -2px;
			border-bottom: none;
		}
	}
}

.ear-content {
	display: none;

	&.active {
		display: block;
	}
}

.ears-vertical {
	margin: 1rem 0.2rem 0 0.2rem;
	display: inline-block;
	clear: both;
	width: 100%;
	background: darken($color--graylight, 5%);
}
.ears-vertical__left {
	display: inline-block;
	float: left;
	padding: 0;
}
.ears-vertical__right {
	display: inline-block;
	float: right;
	padding: 0.8rem 1rem 0.5rem 1rem;
	background: $color--graylight;
	box-shadow: 0 2px 10px -3px rgba(0,0,0,0.2);
}
.ear-vertical__item {
	display: block;
	line-height: 3.1rem;
	height: 3.1rem;
	padding: 0 1rem;
	font-weight: 600;
	color: $color--additional;
	cursor: pointer;

	&.active {
		background: $color--graylight;
		box-shadow: 0 0 10px -3px rgba(0,0,0,0.2);
		position: relative;
		&:after {
			content: '';
			display: block;
			position: absolute;
			width: 1rem;
			height: 3.1rem;
			top: 0;
			right: -0.5rem;
			background: $color--graylight;
		}
	}
}

.ear-vertical__item--right {
	display: none;
	&.active {
		display: block;
	}
}


.container-with-ears {
	border: none;
	padding: 0;
	margin: 10px;
	width: calc(100% - 20px);
}

.container-ears {
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
	width: 100%;
	background: none;
	margin: 0;
	display: inline-block;
	float: left;

	.ear {
		background: none;
		&.active {
			box-shadow: 0px -2px 8px -3px rgba(0, 0, 0, 0.2);
		}
	}
}

.container-ears__content-container {
	display: inline-block;
	float: left;
	width: 100%;
	background: $color--graylight;
	border-radius: 0.3rem;
	padding: 0 1rem 2rem 1rem;
}

.container-ears__content-container--lighten {
	@extend .container-ears__content-container;
	background: $color--graylight--lighten;
	border: 1px solid $color--grayforms-border;
	box-shadow: 0 -2px 10px -3px rgba(0,0,0,0.2);
}

.data-ear {
	display: none;
	margin-top: 2rem;
	&.active {
		display: block;
	}
}