.page-uid-334 .container,
.page-uid-322 .container {
	width: 1370px;
}
.page-uid-322 .header
.page-uid-334 .header {
	position: static !important;
}
.page-uid-322 .extbase-debugger,
.page-uid-334 .extbase-debugger {
	position: relative;
	z-index: 100;
}
.media-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}
.debug .media::before {
	content: attr(data-uid);
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 99;
	transform: translate(-50%, -50%);
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
	color: #fff;
	font-size: 30px;
	font-weight: bold;
}
.media {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 25%;
	margin-bottom: 40px;
	padding: 10px;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}
.media-search-hint {
	margin-bottom: 30px;
	font-size: 18px;
}
.media-search-sword {
	color: #2e407d;
	font-weight: bold;
}
.media-search-count {
	float: right;
	margin-top: 4px;
	color: #777;
	font-size: 13px;
}
.media-title {
	display: block;
	margin-bottom: 15px;
	font-size: 15px;
	font-weight: 400;
	color: #444;
}
.media-preview {
	/*position: relative;*/
	margin-bottom: 10px;
}
/*.media-preview::before {
	display: block;
	content: '';
	width: 100%;
	padding-top: calc((17 / 20) * 100%); /* 200x170 Ratio */
}*/
.media-preview-inner {
	display: flex;
	position: absolute;
	top: 0; right: 0;
	bottom: 0; left: 0;
	z-index: 10;
	border: 1px solid #e9e9e9;
	background-color: #fff;
}
.media-type-youtube .media-preview-inner {
	display: flex;
	align-items: center;
	justify-content: center;
}
.media-preview-inner .youtube-lazy-play-button {
	width: 55px; height: 40px;
	margin: 0;
	transform: translate(-50%, -50%);
}
.media-preview-rootline {
	display: none;
	position: absolute;
	bottom: 100%;
	right: 0;
	z-index: 5;
	font-size: 10px;
	background-color: rgba(233, 233, 233, .85);
	padding: 3px 6px;
	color: #777;
	opacity: 0;
	transform: translateY(100%);
	pointer-events: none;
	user-select: none;
	transition: opacity .8s ease, transform .5s ease;
}
/*
.media-overview:hover .media-preview-rootline,
.media-list:hover .media-preview-rootline {
	transform: translateY(0);
	opacity: 1;
}
*/
.media-preview-image {
	display: flex;	
	align-items: center;
	justify-content: center;
}
.media-preview-image img {
	max-height: 100%;
	width: auto;
}
.media-subline {
	margin-top: -6px;
	margin-bottom: 15px;
	font-size: 13px;
	color: #444;
}
.media-button {
	margin-top: auto;
}
.media-button::after {
	content: '\f019';
	margin-left: 10px;
	position: relative;
	font-family: 'Font Awesome 5 Free';
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	opacity: 1;
	transform: translateY(-1px);
	transition: opacity 0.2s ease, transform .5s ease;
	pointer-events: none;
}
.media-button:active::after {
	transform: translateY(4px);
}
.media-button.is-clicked::after {
	animation-name: icon-float-away;
	animation-timing-function: ease-out;  
	animation-duration: .8s;
	animation-fill-mode: forwards;
}
.media-button.is-resetted::after {
	opacity: 0;
}
.media-button > span {
	opacity: 1;
	transition: opacity 0.4s ease;
}
.media-button:active > span {
	opacity: .7;
}

/* Audio */
.media-button.media-type-audio::after {
	content: '\f028';
	margin-left: 15px;
}
/* Video */
.media-button.media-type-video::after {
	content: '\f144';
	margin-left: 15px;
}
/* YouTube */
.media-type-youtube .media-preview-inner::after,
.media-type-youtube .media-preview-inner::before {
	content: '';
	position: absolute;
	left: 0; right: 0;
	padding-bottom: 15.5%;
	background-color: #fff;
}
.media-type-youtube .media-preview-inner::before {
	top: 0;
}
.media-type-youtube .media-preview-inner::after {
	bottom: 0;
}


@keyframes icon-float-away {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-1em);
  }
}

/* Buttons */
.button-rounded {
	display: inline-block;
	border-radius: 25px;
	padding: 10px 17px;
	border: 1px solid #2e407d;
	font-family: Lato;
	font-size: 18px;
	font-weight: 400;
	cursor: pointer;
	transition: ease background-color .3s, ease border-color .3s, ease color .5s;
	line-height: 1;
	text-decoration: none;
}
.button-rounded.button-rounded-primary {
	background-color: #2e407d;
	color: #fff;
}
.button-rounded.button-rounded-secondary {
	align-self: start;
	background-color: #fff;
	color: #2e407d;
}
.button-rounded.button-rounded-primary:hover,
.button-rounded.button-rounded-primary:focus {
	background-color: #76488d;
    border: 1px solid #76488d;
	color: #fff;
}
.button-rounded.button-rounded-secondary:hover,
.button-rounded.button-rounded-secondary:focus {
	background-color: #fff;
    border: 1px solid #76488d;
	color: #76488d;
}

/* Pagination */
.pagination {
	margin-top: 60px;
	margin-bottom: 60px;
}
.pagination-list {}
.pagination-list > li {
	float: left;
	margin: 0 3px;
	list-style-type: none;
}
.pagination-item > a,
.pagination-item > span {
	display: block;
	min-width: 26px;
	padding: 2px;
	background-color: #fff;
	border: 1px solid #2e407d;
	color: #2e407d;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	transition: ease .15s all;
}
.pagination-item > a:hover,
.pagination-item > a:focus,
.pagination-current > span {
	background-color: #2e407d;
	color: #fff;
}
.pagination-current > span {
	cursor: default;
}
.pagination-list .pagination-previous {
	margin-left: -20px;
}
.pagination-previous > a,
.pagination-next > a {
	display: block;
	width: 17px; height: 25px;
	background: transparent url('/_assets/6792f36f6831368ea7d0d9e34b6efacd/Images/Icons/pagination_prev.svg') no-repeat right 50%;
	text-decoration: none;
}
.pagination-next > a {
	background: transparent url('/_assets/6792f36f6831368ea7d0d9e34b6efacd/Images/Icons/pagination_next.svg') no-repeat left 50%;
}

/* Media Overview */
.media-overview {

}
.media-category {
	margin-bottom: 30px;
}
.media-category-header {
	margin-bottom: 10px;
}
.media-category-selection {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}
.media-category-headline {
	float: left;
	font-size: 20px;
	color: #444;
}
.media-category-count {
	margin-left: 10px;
	font-size: 16px;
	font-weight: normal;
	color: #acacac;
}
.media-category-view {
	float: right;
	padding-right: 25px;
	font-size: 16px;
	color: #444;
	background: transparent url('../../Images/Icons/media_grid.svg') no-repeat 100% 50% / 18px auto;
}

/* Media Selection */
.media-selection {
	margin-bottom: 15px;
	overflow: hidden;
}
.media-selection-item {
	float: left;
	margin-right: 4px;
	margin-bottom: 4px;
	list-style-type: none;
}
.media-selection-remove {
	padding: 5px 9px;
	border: none;
	color: #333;
	background-color: #ddd;
	font-family: Lato;
	font-size: 11px;
	cursor: pointer;
	transition: background-color ease .2s;
}
.media-selection-remove::after {
	content: '🗙';
	display: inline-block;
	margin-left: 5px;
	color: #999;
	transform: translateY(-1px);
	transition: color ease .2s;
}
.media-selection-remove:hover,
.media-selection-remove:focus {
	background-color: #aaa;
	color: #222;
}
.media-selection-remove:hover::after,
.media-selection-remove:focus::after,
.media-selection-remove:active::after {
	color: #fff;
}
.media-selection-remove:active {
	background-color: #999;
}

.media-selection-reset {
	margin-left: 8px;
	font-size: 12px;
	color: #777;
	transition: color ease 0.2s;
}
.media-selection-reset:hover,
.media-selection-reset:focus {
	color: #555;
}

/* Filter */
.filter {
	margin-bottom: 60px;
}
.filter-box {
	margin-bottom: 35px;
}
.filter-box-header {
	margin-bottom: 12px;
	font-weight: bold;
	font-size: 18px;
	color: #444;
}
.filter-box-body {
	padding: 20px 17px;
	border: 2px solid #2e407d;
}
.filter-search .filter-box-body {
	display: flex;
	padding: 0;
    border: 2px solid #2e407d;
}
/*.filter-box form[name="search"] {
    border: 2px solid #2e407d;
}*/
.filter-search-input {
	width: 100%;
	height: 65px;
	padding: 25px 20px;
	font-size: 16px;
	font-family: Lato;
	border: none;
}
.filter-search-input::placeholder {
	color: #777;
}
.filter-search-button {
	width: 80px;
	background: #fff url('../../Images/Icons/magnifier_filter.svg') no-repeat 50% / 26px auto;
	border: none;
	cursor: pointer;
	opacity: 1;
}
.filter-search-button:hover,
.filter-search-button:focus {
	opacity: .8;
}
.filter-reset {
	float: right;
}
.filter-checkbox {
	position: relative;
	margin-bottom: 4px;
	color: #888;
}
.filter-checkbox-label {
	-moz-user-select: none;	
	-webkit-user-select: none;	
	-ms-user-select: none;	
	user-select: none;	
}
.filter-checkbox-title {
	margin-left: 6px;
	vertical-align: text-bottom;
}
.filter-checkbox-input.is-parent + .filter-checkbox-title::after {
	content: attr(data-count);
	float: right;
	margin-right: 11px;
    color: #2e407d;
}
.filter-checkbox-container {
	margin: 8px 0;
}
.filter-checkbox.is-child {
	padding-left: 24px;
}
.filter-actions {
	display: flex;
	position: sticky;
	bottom: 0px;
	border-bottom: 5px solid #fff;
	background-color: rgba(255, 255, 255, .5);
}
.filter-actions .button-rounded {
	flex-grow: 1;
}
.filter-actions .button-rounded:not(:first-child) {
	margin-left: 15px;
}

@media only screen and (max-width: 960px) {
	.media {
		width: 33.33333%;
	}
}

@media only screen and (max-width: 690px) {
	.media {
		width: 50%;
	}
}

@media only screen and (max-width: 690px) {
	.media-button::after {
		display: none;
	}
}