/* ****************************************************************************************************************** */
/* --- Kling References --------------------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

.mod_references {
	max-width: 1600px;
	margin: 60px auto 50px auto;
	display: block;
	min-height: 400px;
}
.mod_references .clear {
	clear: both;
}

.mod_references .tag_container {
	position: relative;
	display: inline-block;
	width: 250px;
	max-width: calc(33% - 15px);
	margin-left: 0px;
	margin-right: 15px;
	float: left;
}
.mod_references .tag_container.count {
	width:30px;
	display: none;
}
.mod_references .tags_count {
	display: block;
	margin-left: 5px;
	margin-top: 15px;
}
.mod_references .filter_container,
.mod_references .back_container {
	position: relative;
	display: inline-block;
	float: right;
	margin: 0px 0 0 0;
}

.mod_references .filter_container a {
		margin: 0;
		display: block;
		background: var(--ka-bk-lightgrey);
    padding: 10px 20px 10px 20px;
    border: none;
		/*
    text-transform: uppercase;
    font-size: 18px;
		font-weight: normal;
		border-bottom: 5px solid #e6e6e6;
		*/


}

.mod_references .top {
	width: 100%;
	position: relative;
	float: none;
	clear: both;
	margin-bottom: 50px !important;
	display: inline-block;
}
.mod_references .top .tag_title {
	height: 41px;
	background-color: #ffffff;
	border:1px;
	border-color: #aaa;
	border-style: solid;
	display: block;
	text-align: left;
	line-height: 45px;
	margin-bottom: 6px;
	padding: 0 15px 0 15px;
	background-image: url(img-arrow-down.png);
	background-repeat: no-repeat;
	background-position: 92% 50%;
	font-size: 15px;
	overflow: hidden;
}

.mod_references .top .tag_title.kunde {
	height: 42px;
	background-image: url('https://kling.de/files/intern/common/suche-dunkel.svg');
	background-size: 16px 16px;
}

.mod_references .top .tag_title.last {

}
.mod_references .top .tags {
	width: calc(100% - 2px);
	border:1px;
	border-color: #ffffff;
	border-style: solid;
	display: block;
	background-color: #ffffff;
}
.mod_references .top .tags {
	position: absolute;
	display: none;
	top: 48px;
	z-index: 5000;
}
.mod_references .top .tag_container:hover .tags {
	display: block;
}

.mod_references .top .tag_container:hover .tags.tags_kunde {
	display: none !important;
}


.mod_references .top .tags .spacer {
	background-color: #fff;
	position: absolute;
	top: 0px;
	height: 4px;
	width: 255px;
}
.mod_references .top .tags.last .spacer1 {
	left: 280px;
}
.mod_references .top .tags ul {
	display: block;
	margin: 0;
	padding: 0;
}
.mod_references .top .tags ul li {
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #cdcdcd;
}
.mod_references .top .tags ul li.last {
	border-bottom: 0px solid #ffffff;
}
.mod_references .top .tags ul li.disabled {
	display: none;
}
.mod_references .top .tags ul li a {
	width: calc(100% - 30px);
	padding: 8px 15px;
	line-height: 15px;
	display: block;
	font-size: 15px;
	margin: 0px;
	position: relative;
	-webkit-transition: background 1s ease;
	-moz-transition: background 1s ease;
	-ms-transition: background 1s ease;
	-o-transition: background 1s ease;
	transition: background 1s ease;
}
.mod_references .top .tags ul li a:hover,
.mod_references .top .tags ul li a.active {
	width: calc(100% - 30px);
	background-color: #303030;
	color: #FFF;
}
.mod_references .top .details {
	height: 554px;
	width: 268x;
	background-color: #f0f0f0;
	padding-left: 29px;
	padding-right: 29px;
	padding-top: 39px;
	overflow: hidden;
}
.mod_references .top .details a:hover {
	text-decoration: underline;
}
.mod_references .top .details h2 {
	margin-bottom: 40px;
}
.mod_references .refmain {
	padding-left: 0px;
	padding-right: 0px;
	background-color: #f7f7f7;
}
.mod_references .refmain .img {
	width: 100%;
	height: 646px;
	position: relative;
	overflow: hidden;
	text-align: center;
}
.mod_references .refmain .img img {
	width: auto;
	height: auto;
	max-width:none;
}
.mod_references .refmain .img .nav {
	position: absolute;
	top: 50%;
	height: 66px;
	width: 39px;
	display: block;
	margin-top: -33px;
}
.mod_references .refmain .img .nav.prev {
	left: 0px;
	background-image: url(img-arrow-left.png);
}
.mod_references .refmain .img .nav.next {
	right: 0px;
	background-image: url(img-arrow-right.png);
}
.mod_references .scroll {
	margin-top: 8px;
	border-top: 2px solid #737373;
	height: 4px;
	width: 100%;
	display: block;
}
.mod_references .scroll .bar {
	height: 4px;
	width: 20px;
	background-color: #404040;
}
.mod_references .thumb_container {
	position: relative;
	width: 100%;
}
.mod_references .thumb_container .thumbs {
	overflow: hidden;
	width: 100%;
}
.mod_references .thumb_container .thumbs .nav {
	position: absolute;
	display: block;
	width: 20px;
	height: 34px;
	top: 50%;
	margin-top: -14px;
}
.mod_references .thumb_container .thumbs .nav.prev {
	left:0px;
	background-image: url(arrow-left.png);
}
.mod_references .thumb_container .thumbs .nav.next {
	right:0px;
	background-image: url(arrow-right.png);
}
.mod_references .thumb_container .thumbs .inner {
	 white-space: nowrap;
	 margin-top: 8px;
}
.mod_references .thumb_container .thumbs .inner a {
	margin-right: 7px;
	display: inline-block;
	width: 209px;
}
.mod_references .thumb_container .thumbs .inner a:last-child {
	margin-right: 0px;
}
.mod_references .thumb_container .thumbs .inner a.active {
	height: 128px;
	border-bottom: 15px solid #000;
}

/* ****************************************************************************************************************** */
/* --- Kling References Liste --------------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

.mod_references .reflist {
	position: relative;
	width:calc(100% + 0px);
	margin: 0px 0px 0px 0px;
	display: block;

}

.mod_references .reflist .thumbs {
	position: relative;
	width:100%;
	margin: 0px 0px 0px 0px;
	display: block;
}

.mod_references .reflist .thumbs .thumbscontainer {
	width:100%;
	margin: 0px 0px 0px 0px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}


.mod_references .reflist .thumbs .thumbscontainer section.secthumb {
	display: none;
	margin: 0 0 15px 0;
	width: calc(33.3% - 10px);
	height:100%;
	line-height: 1px;
	font-size: 1px;
}

.mod_references .reflist .thumbs .thumbscontainer section.secthumb * {
	line-height: 1px;
	font-size: 1px;
}

/*
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.viska,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visbr,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visma,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visku {
*/
/*
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.viska,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visbr,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visma,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visku,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.viska.visbr.visma.visku,
*/
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.visext,
.mod_references .reflist .thumbs .thumbscontainer section.secthumb.dummy {
	display: flex;
	line-height: 1px;
	font-size: 1px;
}



/*


.mod_references .reflist.invisible {
	display: none;
}


.mod_references .reflist .thumbs .inner img {
	margin-right: 0px;
	margin-bottom: 0px;
	width:calc(100% - 0px);
}
.ce_reference_preview .left,
.ce_reference_preview .top {
	width: 40%;
	float: left;
}
.ce_reference_preview .left .inner,
.ce_reference_preview .top .inner {
	margin-right: 8%;
}
.ce_reference_preview .right {
	width: 60%;
	float: right;
}
.ce_reference_preview .right .img {
	max-width: 50%;
	display: block;
	float: left;
	width: 50%;
}
.ce_reference_preview .right .img a {
	display: block;
	position: relative;
	margin-left: 5px;
	margin-bottom: 2px;
	padding: 0;
	border: 0;
}
.ce_reference_preview .right .img a .caption {
	margin-bottom: 20px;
	font-size: 22px;
	text-transform: uppercase;
}
.ce_reference_preview .right .img a .caption {
	position: absolute;
	bottom: 3px;
	left: 0px;
	float: left;
	padding-top: 7px;
	padding-right: 15px;
	padding-bottom: 7px;
	padding-left: 15px;
	margin: 0;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: transparent;
}
.ce_reference_preview .right .img a:hover .caption {
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #e63026;
}
#referenzen .caption,
#references .caption,
#references-fr .caption,
#product_caption .caption {
	font-family: "GillSansMTStd-Light", Arial, sans-serif;
	font-size: 22px;
	text-transform: uppercase;
	font-weight: normal;
}
.mod_references .ce_text {
	margin-top: 50px;
}
.mod_references .isMobile {
	diplay: none;
	width: 0px;
	height: 0px;
}
*/

/* ****************************************************************************************************************** */
/* --- Kling References Kundenliste --------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

div.reflist {
		position: relative;
		display: block;
}

div.reflist section.client {
		display: flex;
		margin: 10px;
		text-align: left;
		justify-content: left;
		width: calc(20% - 20px);
}

/* ****************************************************************************************************************** */
/* --- Kategorienliste + Branchenliste auf der Startseite ----------------------------------------------------------- */
/* ****************************************************************************************************************** */

div.refcat,
div.refsectors {
		position: relative;
		display: flex;
		flex-wrap: wrap;
    flex-direction: row;
		margin: 30px 0 10px 0;
		text-align: center;
		justify-content: center;
}

div.refcat .refblock,
div.refsectors .secblock {
		margin: 0 10px 20px 10px;
		width: calc(15% - 20px);
}

div.refcat .refblock span,
div.refsectors .secblock span {
		font-size: 16px;
		text-align: center;
		text-transform: uppercase;
}

/* ****************************************************************************************************************** */
/* --- max-width 1620 ----------------------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

@media only screen and (max-width: 1620px) {

	.mod_references {
			padding-left: var(--ka-tablet-border);
			padding-right: var(--ka-tablet-border);
			width:calc(100% -2 * var(--ka-tablet-border));
	}

}


/* ****************************************************************************************************************** */
/* --- max-width 1024 ----------------------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

@media only screen and (max-width: 1024px) {
	.mod_references .top {
		float: none;
		width: 100%;
	}
	.mod_references .top .tags .spacer {
		width: 100%;
	}
	.mod_references .top .details {
		height: auto;
		padding-bottom: 20px;
	}
	.mod_references .top .details h2 {
		margin-bottom: 30px;
	}
	.mod_references .top .details p {
		display: none;
	}
	.mod_references .refmain {
		padding-left: 0px;
	}
	.mod_references .refmain .img {
		height: auto;
	}
	.mod_references .refmain .img img {
		width: 100%;
		height: auto;
	}
	.mod_references .thumb_container .thumbs .nav {
		display: none;
	}
	.mod_references .thumb_container .thumbs {

	}
	.mod_references .thumb_container .thumbs .inner a{
		width: 135px;
	}
	.mod_references .thumb_container .thumbs .inner a img,
	.mod_references .thumb_container .thumbs .inner a img.at2x {
		max-height: 92px;
		max-width: 150px;
		height: auto;
		width: auto;
	}
	.mod_references .thumb_container .thumbs .inner a.active {
		height: 92px;
		border-bottom: 4px solid #000;
	}
	.mod_references .isMobile {
		display: block;
	}

	div.reflist section.client {
		width: calc(25% - 20px);
	}

}

/* ****************************************************************************************************************** */
/* --- max-width 850 ----------------------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

@media only screen and (max-width: 850px) {

	.mod_references .reflist .thumbs .thumbscontainer section.secthumb {
		width: calc(50% - 8px);
		margin: 0 0 14px 0;
	}

	.mod_references .tag_container {
		width: 120px;
		margin-right: 5px;
	}

	.mod_references .top .tag_title,
	.mod_references .top .tag_title.kunde {
		height: 25px;
	  line-height: 25px;
	  margin-bottom: 4px;
	  padding-left: 5px;
	  padding-right: 5px;
	}
	.mod_references .top .tag_title.kunde {
		height: 27px;
		max-width: 100%;
	}
	.mod_references .top .tags {
		top:32px;
	}

	.mod_references .top .tags ul li a {
		width: calc(100% - 6px);
    padding: 4px 3px;
	}

	.mod_references .filter_container,
	.mod_references .back_container {
		margin: 5px 0 0 0;
	}

	.mod_references .filter_container a {
    background: var(--ka-bk-lightgrey);
    padding: 5px 5px 0px 5px;
    border: none;
	}

}

/* ****************************************************************************************************************** */
/* --- max-width 680 px  -------------------------------------------------------------------------------------------- */
/* ****************************************************************************************************************** */

@media only screen and (max-width: 680px) {
		.mod_references {
			margin-bottom: 0px;
			margin-top: 30px;
		}
		.mod_references .ce_text {
			margin-top: 10px;
		}
		.ce_reference_preview .top, .ce_reference_preview .right {
			float: none;
			width: 100%;
		}
		.mod_references .top {
			margin-bottom: 30px !important;
		}

		.mod_references .tag_containers {
			display: flex;
			flex-wrap: wrap;
	    flex-direction: row;
			justify-content: space-between;
		}

		.mod_references .tag_container {
			max-width: calc(50% - 15px);
		}
		.mod_references .back_container {
			clear: both;
			display: block;
			width: 100%;
			max-width: 100%;
			padding: 0px 15px 0px 0px;
			margin-right: 0px;
			margin-bottom: 25px;
			text-align: right;
		}
		a.backbutton {
			1width:50% !important;
			1margin-right: : 15px !important;
			1padding: 10px auto 5px auto !important;
			text-align: center !important;
		}
		.mod_references .top .tag_title {
			padding-left: 2px;
		  padding-right: 2px;
		}
		.mod_references .tag_container {
			max-width: 100%;
			width: calc(50% - 10px);
			margin: 0 10px 5px 0;
		}
		.mod_references .top .tag_title.last {
		}
		.mod_references .top .tags_material {
		}
		.mod_references .filter_container,
			.mod_references .back_container {
		  float: none;
			clear: both;
			margin:0 0 10px 0px;
		}

		.mod_references .top .details {
			padding-top: 12px;
			padding-left: 15px;
			padding-right: 15px;
			padding-bottom: 10px;
		}
		.mod_references .top .details h2 {
			margin-bottom: 0px;
		}
		.mod_references .refmain .img .nav {
			height: 45px;
			width: 27px;
			margin-top: -27px;
			background-size: 27px 45px;
		}
		.mod_references .thumb_container .thumbs .inner a img {
			max-height: 64px;
			max-width: 104px;
			height: auto;
			width: auto;
		}
		.mod_references .thumb_container .thumbs .inner a.active {
			height: 63px;
			border-bottom: 3px solid #000;
		}
		.mod_references .reflist {
			width: : 100%;
		}
		.mod_references .reflist .thumbs .inner a {
			margin-right: 15px;
			margin-bottom: 15px;
			width: calc(50% - 15px) !important;
		}
		.ce_reference_preview .right {
			margin-top: 40px;
		}
		.ce_reference_preview .top .inner {
			margin: 0;
		}
		.ce_reference_preview .right .img {
			float: none;
			width: 100%;
			max-width: 100%;
		}
		.ce_reference_preview .right .img a {
			margin: 0;
		}
		div.reflist section.client {
			width: calc(33.3% - 11px);
			margin: 2px 6px 2px 5px;
		}

	}


}
