/* slider */

header.carousel {
    margin-top: 165px;
}
.content-wrapper header.carousel {
    margin-top: 32px;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
    z-index: 1;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

header.carousel .videoWrapper {
	max-height: 500px;
	height: 500px;
	padding: 0;
	max-width: 1400px;
    margin: 0 auto;
}

header.carousel .html5-video-player{
  background-color: #fff;
}

header.carousel .videoLayer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 500px;
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive, .thumbnail a > img,
.thumbnail > img, .image-figure img {
    display: block;
    height: auto;
    margin: auto;
    max-width: 100%;
}

.carousel-control.right {
    background-image: none;
    right: 200px;
    height: 85%;
    filter:none;
}

.carousel-control.left {
    background-image: none;
    left: 200px;
    height: 85%;
    filter:none;
}

.carousel-indicators{
    bottom: 0;
    margin-top: 10px;
    margin-bottom: 24px;
}

.right.carousel-control,
.left.carousel-control{
    filter:none;
}

.carousel-indicators li, .carousel-indicators .active {
    width: 70px;
    height: 20px;
    text-indent: 0;
}

.carousel-indicators .indicator-inner {
    display: inline-block;
    border-radius: unset;
    border: unset;
    background-color: #6f7c7d;
    height: 1px;
    width: 70px;
    margin: 10px 0;
}

.carousel-indicators .active .indicator-inner {
    background-color: #000000;
    width: 70px;
    height: 3px;
}

.item {
    margin-bottom: 65px;
}

.carousel-caption-container{
    width: 984px;
    margin: 0 auto;
    position: relative;
}
.carousel-caption {
    text-align: left;
    text-shadow: none;
    bottom: 0;
    right: auto;
    padding: 20px 20px 50px;
    background-color: #fff;
    color: #090909;
    width: 304px;
    left: 15px;
    top: auto;
    position: absolute;
}

.carousel-caption h2{
    margin-top: 0;
    line-height: 1.2em;
}

.carousel-caption a,
.carousel-caption a:link,
.carousel-caption a:active,
.carousel-caption a:hover,
.carousel-caption a:focus{
    color: #000;
}

.carousel-caption .arrow-right-before:hover:before,
.carousel-caption .arrow-right-after:hover:after,
.carousel-caption .am-suisse-arrow-right-before:hover:before,
.carousel-caption .am-suisse-arrow-right-after:hover:after {
    background-position: 0 -286px;
}

/* responsive styles */
@media (min-width: 1200px) {
    .carousel-caption{
        left:10px;
        width:310px;
    }
    header.carousel {
        margin-top: 163px;
    }

    .content-wrapper header.carousel {
        margin-top: 32px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .carousel-inner > .item > a > img, .carousel-inner > .item > img {
        max-width: 1023px;
    }

    header.carousel {
        height: 455px;
        margin-top: 145px;
    }
    .content-wrapper header.carousel {
        margin-top: 32px;
    }
}

@media (max-width: 1023px) {

}

@media (min-width: 768px) and (max-width:1023px) {
    header.carousel {
        margin-top: 121px;
    }
    .content-wrapper header.carousel {
        margin-top: 32px;
    }
    .carousel-caption h2{
        font-size:20px;
    }
    .carousel-caption{
        padding: 15px;
        width: 227px;
    }
    .carousel-caption-container {
        width: 750px;
    }
    .carousel-indicators{
        margin-top: 0;
        margin-bottom: 10px;
    }
    .item {
        margin-bottom: 42px;
    }
}

@media (max-width:767px) {
    header.carousel {
        margin-top: 100px;
        position:relative;
    }
    .content-wrapper header.carousel {
        margin-top: 30px;
    }
    .carousel-caption{
        top:0;
        padding: 15px;
    }

	.carousel-inner {
		display: none;
	}

	.carousel-indicators {
		display: none;
	}

	.carousel-caption h2 {
		font-size: 23px;
	    font-weight: 800;
	    line-height: 1.1;
	}
	.carousel-caption h2 em {
	    color: #6f7c7d;
    	font-style: normal;
	}

    .carousel-caption-container{
        height: 145px;
    }

	.carousel-indicators li, .carousel-indicators .active {
	    width: 40px;
	    margin-left: 7px;
	}

	.carousel-indicators .indicator-inner {
	    width: 40px;
	}

	.carousel-indicators .active .indicator-inner {
	    width: 40px;
	}
}
