/*////////////////////////////////////////////////////////////////////////////////////

    js Plugins css - Medienreformer

/////////////////////////////////////////////////////////////////////////////////////*/

/*-----------------------------------------------------------------------------------*/
/*	Animation 
/*-----------------------------------------------------------------------------------*/

/* Animation */

@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

.animation {
  	opacity: 0;
}

.visible {
  	animation-name: fadeInUp;
  	-webkit-animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

/*-----------------------------------------------------------------------------------*/
/*	Isotope grid
/*-----------------------------------------------------------------------------------*/

.isotope {
	background-color: #ffffff;
	position: relative;
	padding-bottom: 50px;
}

.isotope h2.section-title {
	text-align: center;
}

/*-----------------------------------------------------------------------------------*/
/*	Masonry grid
/*-----------------------------------------------------------------------------------*/

.masonry {
	background-color: #f2f2f2;
	position: relative;
	padding-top: 20px;
	padding-bottom: 50px;
}

.masonry h2.section-title {
	text-align: center;
}

.masonry article.post {
	background: none;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 15px;
}

.masonry article a {
	display: inline-block;
	color: #4A4A4A;
	text-align: left;
}

.masonry article a .panel:hover {
	box-shadow: 0 1px 8px rgba(0,0,0, .12), 0 1px 8px rgba(0,0,0, .24);
}

.masonry article .panel {
	background: #ffffff;
	margin-bottom: 30px;
	text-align: left;
}

.masonry article .panel .post-item-text,
.masonry article .panel .post-item-btn {
	padding-left: 15px;
	padding-right: 15px;
}

.masonry article .panel .post-item-text {
	padding-bottom: 15px;
}

.masonry-grid:hover a:not(:hover) {
	opacity: .4;
}

.masonry-grid .masonry-grid-item img {
  max-width: 100%;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.masonry-grid .masonry-grid-item:hover img {

}

.masonry-grid .masonry-grid-item .featured-image-bg {
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: contain;
	min-height: 200px; 
	position: relative;
}

.masonry-grid .masonry-grid-item .featured-image-bg {  
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.masonry-grid .masonry-grid-item .featured-image-bg:hover {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*-----------------------------------------------------------------------------------*/
/*	Flickity
/*-----------------------------------------------------------------------------------*/

.flickity-button-icon {
    fill: #505050 !important;
}

.widget-logos-flickity .flickity-prev-next-button.previous {
    left: -40px;
}

.widget-logos-flickity .flickity-prev-next-button.next {
    right: -40px;
}

/*-----------------------------------------------------------------------------------*/
/*	Flickity - default cell
/*-----------------------------------------------------------------------------------*/

.wrap-carousel {
    margin-left: -8px;
    margin-right: -8px;
}

.carousel-cell {
  	width: 100%;
  	padding: 20px;
  	border-right: 5px solid transparent;
  	border-left: 5px solid transparent;
  	background-clip: padding-box;
  	background: #eee;
  	background-clip: padding-box;
  	text-align: center;
}

.wrap-carousel .carousel-cell {
  min-height: 100%;
}

@media (min-width: 992px) {
	.carousel-cell {
  		width: 25%;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Flickity - Hero
/*-----------------------------------------------------------------------------------*/

.carousel-hero {
  	width: 100%;
  	display: flex;
  	align-items: center;
  	justify-content: center;
	background-color: #f7f7f7;
}

/* full width */
.carousel-hero img {
	display: block;
	width: 100%;
}

.carousel-body {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
}

.carousel-text {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}

.carousel-text-inner {
	position: absolute;
	top: 50%;
	left: 10px;
	right: 10px;
  	transform: translateY(-50%);
}

@media (min-width: 992px) {

	.carousel-text .push-left {
		width: 50%;
		text-align: left;
	}

	.carousel-text .push-right {
		margin-left: 50%;
		text-align: left;
	}
}

@media (max-width: 767px) {

	.carousel-text p,
	.carousel-text h2 {
		font-size: 80%;
	}
}

/*-----------------------------------------------------------------------------------*/
/*	Fancybox
/*-----------------------------------------------------------------------------------*/

.fancybox-close-small:hover {
    color: #fff;
    opacity: 1.0 !important;
    background-color: #eee;
}

/*-----------------------------------------------------------------------------------*/
/*	Fancybox popup modal
/*-----------------------------------------------------------------------------------*/

.video-wrapper {
  z-index: 1;
  position: relative;
}

.screen-wrapper {
  box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  position: relative;
  display: inline-block;
  /*  margin-top: 120px;*/
}

.screen-wrapper img {
  border-radius: 10px;
}

.video-img {
  /* width: 537px; */
}

.middle-img {
  position: relative;
}

.video-btn {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  text-align: center;
  width: 132px;
  margin: 0 auto;
}

.video-btn img {
  max-width: 100%;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

img.video-btn {
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.video-btn img:hover,
img.video-btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/*-----------------------------------------------------------------------------------*/
/*	Slick-slider theme
/*-----------------------------------------------------------------------------------*/

.slick-loading .slick-list {
    background: #fff url('../images/uploads/loader.gif') center center no-repeat;
}

/* Arrows */
.slick-prev,
.slick-next {
	color: transparent;
	font-size: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    border: none;
    outline: none;
    background: #eee;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 15px 15px;
	text-intent: -9999px;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    outline: none;
    background-color: rgba(0,0,0,0.2);
}

.slick-prev {
    left: -35px;
    background-image: url(../images/svg/chevron-left.svg);
}

.slick-next {
    right: -35px;
    background-image: url(../images/svg/chevron-right.svg);
}

/* Dots */
.slick-dotted.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    bottom: -35px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #eee;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li.slick-active button {
	background: #d9d9d9;
}

/*-----------------------------------------------------------------------------------*/
/*	Masonry grid
/*-----------------------------------------------------------------------------------*/

.masonry {
	background-color: #f2f2f2;
	position: relative;
	padding-top: 20px;
	padding-bottom: 50px;
}

.masonry h2.section-title {
	text-align: center;
}

.masonry article.post {
	background: none;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 15px;
}

.masonry article a {
	display: inline-block;
	color: #4A4A4A;
	text-align: left;
}

.masonry article a .panel:hover {
	box-shadow: 0 1px 8px rgba(0,0,0, .12), 0 1px 8px rgba(0,0,0, .24);
}

.masonry article .panel {
	background: #ffffff;
	margin-bottom: 30px;
	text-align: left;
}

.masonry article .panel .post-item-text,
.masonry article .panel .post-item-btn {
	padding-left: 15px;
	padding-right: 15px;
}

.masonry article .panel .post-item-text {
	padding-bottom: 15px;
}

.masonry-grid:hover a:not(:hover) {
	opacity: .4;
}

.masonry-grid .masonry-grid-item img {
  max-width: 100%;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.masonry-grid .masonry-grid-item:hover img {

}

.masonry-grid .masonry-grid-item .featured-image-bg {
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: contain;
	min-height: 200px; 
	position: relative;
}

.masonry-grid .masonry-grid-item .featured-image-bg {  
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.masonry-grid .masonry-grid-item .featured-image-bg:hover {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*-----------------------------------------------------------------------------------*/
/*	Grid - Masonry gallery
/*-----------------------------------------------------------------------------------*/

.grid-masonry {
	margin-left: -10px;
	margin-right: -10px;
}

.grid-masonry:after {
  	content: '';
  	display: block;
  	clear: both;
}

.grid-masonry-item {
  	float: left;
}

.gutter-sizer {
	width: 10px;
}

.grid-sizer,
.grid-masonry-item {
	width: 100%;
	padding: 10px;
}

.grid-masonry-item img {
	display: block;
  	max-width: 100%;
}

@media (min-width: 768px) {

	.grid-sizer,
	.grid-masonry-item {
		width: 50%;
	}
}

@media (min-width: 992px) {

	.grid-sizer,
	.grid-masonry-item {
		width: 33.333%;
	}
}

