/* global styles */

.carousel-wrap
{
	position: relative;
	z-index: 1;
}

.carousel:focus
{
	outline: none;
}

.carousel
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.carousel > .carousel-item
{
	position: relative;
	margin: 0;
	padding: 0;

	background: no-repeat center #ffffff;
	background-size: cover;

	z-index: 1;
}

.carousel > .carousel-item.active
{
	z-index: 2;
}

.carousel-item > .img-wrap
{
	position: absolute;
	z-index: -1;
	height: 100%;
	width: 100%;
}

/* responsive wrap */

.carousel-sizer
{
	position: relative;
	overflow: hidden;
	max-height: 980px;
	min-height: 270px;
}
.carschmal .carousel-sizer {
    position: relative;
    overflow: hidden;
    max-height: 600px;
    min-height: 270px;
}
.carousel-sizer:before
{
	content: '';
	display: block;
	padding-top: 75%;
}
.carschmal .carousel-sizer:before {
    content: '';
    display: block;
    padding-top: 31.25%;
}
.inhalt-carousel .carousel-sizer
{
	max-height: none;
	min-height: 0;
}

.inhalt-carousel .carousel-sizer:before
{
	display: none;
}

/* overlay */

.carousel-overlay
{
	/*
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0%);
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
*/
	position: absolute;
	bottom: 15%;
    width: 100%;


}

.carousel-overlay .text-styles {
	font-size: 35px;
}

.carousel-overlay a
{
	color: inherit;
}

.carousel-overlay .carousel-overlay-inner
{
	color: #ffffff;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
	padding: 32px;
	text-align: center;
}



/* nav */

.carousel-nav > ul
{
	list-style: none;
	margin: 0;
	padding: 0;

	position: absolute;
	left: 0;
	bottom: 10px;
	right: 0;
	text-align: center;
	line-height: 1;
	z-index: 20;
}

.carousel-nav > ul > li
{
	margin: 0 0 0 6px;
	padding: 0;

	display: inline-block;
}

.carousel-nav > ul > li:first-child
{
	margin-left: 0;
}

.carousel-nav > ul > li > a
{
	position: relative;
	text-decoration: none;
	color: #ffffff;
	box-shadow: 0 0 3px #1C1C1C;
	border-radius: 50%;
	display: block;
	height: 12px;
	width: 12px;
	background-color: #ffffff;

	-webkit-transition: box-shadow ease .4s;
	-moz-transition: box-shadow ease .4s;
	-o-transition: box-shadow ease .4s;
	transition: box-shadow ease .4s;
}

.carousel-nav > ul > li > a:hover
{
	box-shadow: 0 0 8px #1C1C1C;
}

.carousel-nav > ul > li > a:before
{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: #1C1C1C;
	height: 6px;
	width: 6px;
	margin: auto;
	visibility: hidden;
	opacity: 0;
	border-radius: 50%;

	-webkit-transition: visibility ease .4s, opacity ease .4s;
	-moz-transition: visibility ease .4s, opacity ease .4s;
	-o-transition: visibility ease .4s, opacity ease .4s;
	transition: visibility ease .4s, opacity ease .4s;
}

.carousel-nav > ul > li > a.active:before
{
	visibility: visible;
	opacity: 1;
}

.inhalt-carousel .carousel-nav
{
	margin: 0 0 15px;
}

.inhalt-carousel .carousel-nav > ul
{
	margin: -7px 0 0;
	padding: 0;
	position: static;
	text-align: left;
}

.inhalt-carousel .carousel-nav > ul > li
{
	margin: 7px 0 0 8px;
}

.inhalt-carousel .carousel-nav > ul > li:first-child
{
	margin-left: 0;
}

.inhalt-carousel .carousel-nav > ul > li > a
{
	display: block;
	height: auto;
	width: auto;
	box-shadow: none;
	padding: 5px 3px;
	border-bottom: 2px solid transparent;
	color: rgb(156, 156, 156);
	font-weight: 500;
	text-transform: uppercase;
	font-size: inherit;
	border-radius: 0;
}

.inhalt-carousel .carousel-nav > ul > li > a.active
{
	color: inherit;
	border-bottom: 2px solid currentColor;
}

.inhalt-carousel .carousel-nav > ul > li > a:before
{
	display: none;
}

.carousel-nav .carousel-prev,
.carousel-nav .carousel-next
{
	text-decoration: none;
	position: absolute;
	top: 50%;
	color: #ffffff;
	text-shadow: 0 0 3px #1C1C1C;
	font-size: 30px;
	z-index: 21;
	padding: 0 10px;

	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);

	-webkit-transition: color ease .4s;
	-moz-transition: color ease .4s;
	-o-transition: color ease .4s;
	transition: color ease .4s;
}
.carousel50 .carousel-nav .carousel-prev,
.carousel50 .carousel-nav .carousel-next
{
    font-size: 16px;
}
.carousel-nav .carousel-prev
{
	left: 0;
	padding-right: 0;
}

.carousel-nav .carousel-next
{
	right: 0;
	padding-left: 0;
}

.carousel-nav .carousel-prev:hover,
.carousel-nav .carousel-next:hover

{
	color: #cccccc;
}

/* effect styles */

/* slider */

.carousel.slider,
.carousel.slider > .carousel-item
{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

.carousel.slider
{
	will-change: transform;
}

.carousel.slider.auto-height
{
	position: relative;
	white-space: nowrap;
	height: auto;
}

.carousel.slider.auto-height > .carousel-item
{
	display: block;
	white-space: normal;
	vertical-align: top;
	height: auto;
}

.carousel.slider.auto-height > .carousel-item.active
{
	position: relative;
}

/* fader */

.carousel.fader,
.carousel.fader > .carousel-item
{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

.carousel.fader > .carousel-item
{
	will-change: opacity;
}

.carousel.fader.auto-height
{
	position: relative;
	white-space: nowrap;
	height: auto;
}

.carousel.fader.auto-height > .carousel-item
{
	display: block;
	white-space: normal;
	vertical-align: top;
	height: auto;
}

.carousel.fader.auto-height > .carousel-item.active
{
	position: relative;
}

/* slider-stack */

.carousel.slider-stack,
.carousel.slider-stack > .carousel-item
{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

.carousel.slider-stack > .carousel-item
{
	will-change: transform;
}

.carousel-overlay h1, .carousel-overlay h2, .carousel-overlay h3{
	color:#ffffff;
}
.carousel-overlay h1, .carousel-overlay .carousel-titel {
	font-size: 83px;
	line-height: 1;
	font-family: 'Kantumruy Pro';
/*	font-style: italic;*/
	margin-bottom: 10px;
    text-align: left;
}


@media (max-width: 1050px)
{
	.carousel-titel
	{
		font-size: 30px;
	}
}
/* ============================
   MULTI CAROUSEL (2er Ansicht)
   Höhe = Bildhöhe (skalierte Bilder)
   20px Abstand nur in der Mitte
   ============================ */

.carousel-wrap.carousel-multi .carousel-sizer {
    position: relative;
    overflow: hidden;

    max-height: none;
    min-height: 0;
}

/* Ratio AUS */
.carousel-wrap.carousel-multi .carousel-sizer:before {
    content: none;
}

/* Track im Dokumentfluss, damit Höhe aus Inhalt kommen kann */
.carousel-wrap.carousel-multi .carousel.slider-multi-track {
    position: relative;
    left: auto;
    top: auto;

    width: 100%;
    height: auto;

    white-space: nowrap;
    will-change: transform;

    font-size: 0;
    line-height: 0;
}

/* Items */
.carousel-wrap.carousel-multi .carousel.slider-multi-track > .carousel-item {
    position: relative;
    left: auto;
    top: auto;

    display: inline-block;
    vertical-align: top;

    /* 2 Bilder + 20px Spalt = 100% */
    width: calc((100% - 20px) / 2);

    height: auto;

    font-size: 16px;
    line-height: 1;
    box-sizing: border-box;

    background: none;
}

/* NUR Mittelspalt */
.carousel-wrap.carousel-multi .carousel.slider-multi-track > .carousel-item + .carousel-item {
    margin-left: 20px;
}

/* Mobile = 1 Bild */
@media (max-width: 768px) {
    .carousel-wrap.carousel-multi .carousel.slider-multi-track > .carousel-item {
        width: 100%;
        margin-left: 0;
    }
}

/* img-wrap darf nicht z-index:-1 wirken, wir nutzen es als normaler Container */
.carousel-wrap.carousel-multi .carousel-item > .img-wrap {
    position: relative;
    z-index: 1;

    width: 100%;
    height: auto;
}

/* Bild bestimmt die Höhe */
.carousel-wrap.carousel-multi .carousel-item > .img-wrap img {
    display: block;
    width: 100%;
    height: auto;
}



/* Hover soll IMMER gewinnen, auch wenn gleichzeitig focus aktiv ist */

.carousel-wrap.carousel-multi .carousel-item {
    overflow: hidden;
}

.carousel-wrap.carousel-multi .carousel-item > .img-wrap,
.carousel-wrap.carousel-multi .carousel-item > .img-wrap img {
    transform: scale(1);
    transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.carousel-wrap.carousel-multi .carousel-item:hover > .img-wrap,
.carousel-wrap.carousel-multi .carousel-item:hover > .img-wrap img {
    transform: scale(1.14);
}
