/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}


.imgtextmodule .btn.btn-link-item p,
.imgtextmodule a.btn.btn-link-item p {
  margin: 0;
  font-size: 14px;
}

.imgtextmodule .btn-after-text {
  margin-top: 25px;
}

.btn.lightbox {
  padding: 0;
  border: none;
}

.img-container > .meta {
  display: none;
}

.imgtextmodule .floating-content {
  vertical-align: top;
  display: inline-block;
  width: 100%;
}

/* ----- LAYOUT-1 ----- */

/* ----- LAYOUT-2 + 2b----- */

.imgtextmodule-layout-21 .headline {
  margin-bottom: 10px;
}

.imgtextmodule-layout-2 .separator,
.imgtextmodule-layout-2 .headings,
.imgtextmodule-layout-21 .separator,
.imgtextmodule-layout-21 .headline,
.imgtextmodule-layout-21 .subheading {
  margin-left: 98px;
}

/* floating */

@media (min-width: 992px) {
  .imgtextmodule-layout-2.floating-image .img-container,
  .imgtextmodule-layout-21.floating-image .images {
    display: inline-block;
    float: left;
  }

  .imgtextmodule-layout-2.floating-image .img-left {
    text-align: left;
    margin-left: -100px;
  }

  .imgtextmodule-layout-2.floating-image .img-left img,
  .imgtextmodule-layout-21.floating-image .img-right img {
    width: 260px;
  }

  .imgtextmodule-layout-2.floating-image .img-left .img-container,
  .imgtextmodule-layout-21.floating-image .img-left .img-container {
    margin: 0 30px 20px 0;
  }

  .imgtextmodule-layout-2.floating-image .img-right .img-container,
  .imgtextmodule-layout-21.floating-image .images.img-right .img-container {
    float: right;
    margin: 0 -100px 30px 30px;
  }

  .imgtextmodule-layout-2.floating-image .img-right img,
  .imgtextmodule-layout-21.floating-image .img-left img {
    width: 163px;
  }

  .imgtextmodule-layout-21.floating-image .img-left {
    margin-left: -98px;
  }

  .imgtextmodule-layout-2.floating-image .content-text,
  .imgtextmodule-layout-21.floating-image .content-text {
    margin: 0;
    padding: 0 100px 0 100px;
  }
}

@media (min-width: 1200px) {
  .imgtextmodule-layout-2.floating-image .img-left .img-container,
  .imgtextmodule-layout-21.floating-image .img-left .img-container {
    margin: 0 30px 30px 0;
  }

  .imgtextmodule-layout-2.floating-image .img-left img,
  .imgtextmodule-layout-21.floating-image .img-right img {
    width: 360px;
  }

  .imgtextmodule-layout-2.floating-image .img-right .img-container,
  .imgtextmodule-layout-21.floating-image .images.img-right .img-container {
    float: right;
    margin: 0 -200px 20px 30px;
  }

  .imgtextmodule-layout-2.floating-image .img-right img,
  .imgtextmodule-layout-21.floating-image .img-left img {
    width: 263px;
  }

  .imgtextmodule-layout-2.floating-image .content-text,
  .imgtextmodule-layout-21.floating-image .content-text {
    margin: 0;
    padding: 0 200px 0 100px;
  }
}

/* ----- LAYOUT-3 ----- */

.imgtextmodule-layout-3 .img-container-wrapper {
  padding: 0 15px;
  width: 100%;
  float: left;
}

.imgtextmodule-layout-3 .img-container-wrapper .img-item {
  display: table;
}

.imgtextmodule-layout-3 .img-container-wrapper .img-item .img {
  display: table-cell;
}

.imgtextmodule-layout-3 .first-img {
  /*margin-top: 105px;*/
  margin-top: 265px;
  height: 205px;
}

.imgtextmodule-layout-3 .first-img .img {
  vertical-align: bottom;
}

.imgtextmodule-layout-3 .second-img {
  height: 500px;
}

.imgtextmodule-layout-3 .second-img .img {
  vertical-align: bottom;
}

.imgtextmodule-layout-3 .third-img {
  margin-top: -30px;
  height: 205px;
}

.imgtextmodule-layout-3 .fourth-img {
  height: 280px;
}

.imgtextmodule-layout-3 .fourth-img .img {
  right: inherit;
  left: 0;
}

.imgtextmodule-layout-3 .first-img .img .img-content,
.imgtextmodule-layout-3 .third-img .img .img-content {
  width: 205px;
  height: 205px;
}

.imgtextmodule-layout-3 .fourth-img .img .img-content {
  height: 280px;
  width: 280px;
}

/* ----- LAYOUT-4 ----- */

.imgtextmodule-layout-4 .floating-img-left .floating-content .img-content {
  float: left;
  margin: 0 15px 15px 0;
}

.imgtextmodule-layout-4 .floating-img-right .floating-content .img-content {
  float: right;
  margin: 0 0 15px 15px;
}

.imgtextmodule-layout-4 .content-text {
  margin-bottom: 0;
}

/* ----- LAYOUT-5 ----- */
.imgtextmodule-layout-5 .listitems p {
  margin-bottom: 5px;
}

.imgtextmodule-layout-5 .listitems p:before {
  color: #fcc000;
  content: '\f055';
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  margin-right: 7px;
}

.imgtextmodule-layout-5 .img-container.float-left,
.imgtextmodule-layout-5 .img-container.float-right {
  width: calc(41.66666667% - 15px);
  margin-bottom: 30px;
}

.imgtextmodule-layout-5 .img-container.float-left {
  float: left;
  margin-right: 30px;
}

.imgtextmodule-layout-5 .img-container.float-right {
  float: right;
  margin-left: 30px;
}

.imgtextmodule-layout-2 .separator,
.imgtextmodule-layout-2 .headings,
.imgtextmodule-layout-21 .separator,
.imgtextmodule-layout-21 .headline,
.imgtextmodule-layout-21 .subheading,
.imgtextmodule-layout-21 .img-left {
  margin-left: 0;
}

.gallery-thumbnail-img > a {
  position: relative;
  height: 100%;
  display: inline-block;
}
/* ICONS */

.imgtextmodule .img-container a {
  background: none;
}

.imgtextmodule .img-container a::after {
  content: none;
  display: none;
}

.imgtextmodule .gallery-icon,
.imgtextmodule .enlarge-icon {
  position: absolute;
  right: 31px;
  bottom: 3px;
  z-index: 2;
  padding: 5px;
}

.imgtextmodule .enlarge-icon {
  right: 0;
  bottom: 0;
}

.imgtextmodule .enlarge-icon.external-link {
  margin-right: 0;
  right: 0;
}

.imgtextmodule .gallery-icon > * {
  stroke-width: 1.5;
}

.imgtextmodule .svg-search {
  position: absolute;
  right: 3px;
  bottom: 3px;
  z-index: 2;
  padding: 5px;
}

@media (max-width: 767px) {
  .imgtextmodule-layout-4 {
    width: 100%;
  }

  .imgtextmodule-layout-5 .img-container {
    margin-bottom: 15px;
  }
}

@media (min-width: 992px) {
  .imgtextmodule-layout-1 .img-container {
    text-align: right;
  }

  .imgtextmodule-layout-2.floating-image .col.images.img-right,
  .imgtextmodule-layout-21.floating-image .col.images.img-right {
    float: right;
  }

  .imgtextmodule-layout-2 .col.images.img-right,
  .imgtextmodule-layout-21 .col.images.img-right {
    margin-top: -60px;
  }

  .imgtextmodule-layout-4 img {
    max-width: 285px;
  }

  @media (max-width: 1199px) {
    /*.imgtextmodule-layout-2 .separator,
		.imgtextmodule-layout-2 .headings,
		.imgtextmodule-layout-21 .separator,
		.imgtextmodule-layout-21 .headline,
		.imgtextmodule-layout-21 .subheading,
		.imgtextmodule-layout-21 .img-left
		{
			margin-left: 81px;
		}*/
  }
}

@media (max-width: 991px) {
  /*.imgtextmodule-layout-2 .img-left,
	.imgtextmodule-layout-21 .img-left
	{
		margin-bottom: 15px;
	}
	.imgtextmodule-layout-1 .img-container
	{
		margin-bottom: 20px;
		text-align: center;
	}*/

  .imgtextmodule-layout-4 .floating-img-right .floating-content .img-content {
    margin-left: 0;
  }

  .img-container,
  .imgtextmodule-layout-2 .img-left,
  .imgtextmodule-layout-21 .img-left,
  .imgtextmodule-layout-4 .floating-img-left .floating-content .img-content,
  .imgtextmodule .slick-slider,
  .imgtextmodule-layout-5 .img-container,
  .imgtextmodule-layout-5 .img-content {
    margin-bottom: 30px;
    margin-right: 0;
  }
}


/* overlay at start */
.mfp-fade.mfp-bg
{
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready
{
    opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing
{
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content
{
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content
{
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content
{
    opacity: 0;
}

/* Single Gallery */

.bwGallery-container {
	background: #eee;
	padding: 50px 0;
	margin: 50px 0;
}

	.bwContainer-custom .bwGallery-container > .container {
		width: 100%;
	}

.bwGallery .image {
	display: inline-block;
	vertical-align: top;
}

	.news-single-container .bwGallery .image-container .img-description {
		background: transparent;
		box-shadow: inset 0px 0px 9px rgba(0,0,0,0.1);
		color: #aaa;
		padding: 10px;
	}
		
	.bwGallery .image-container .img-description {
		padding: 10px 0;
		line-height: 1.3em;
		color: #666;
	}
	
	/* img-description is set outside in generated gallery items (> 5 items) */
	.bwGallery .image .img-copyright,
	.bwGallery .image .img-description,
	.bwGallery .image + .img-description {
		font-size: 16px;
		display: none
	}

.bwGallery .slick-arrow::before {
	top: 0
}

.bwGallery .modal-text,
.gallerylist .modal-text {
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.bwGallery .modal-text .image-description,
.gallerylist .modal-text .image-description {
	color: #fff;
	margin: 15px 0 5px 0;
	padding: 0 10px;
}

@media (max-width: 991px) {
	.bwGallery-container .slick-slider {
		margin-bottom: 0
	}
	
	.bwGallery .image {
		position: relative
	}
	
	.bwGallery .image a {
		position: relative;
		display: block;
	}
	
	.bwGallery .image .img-copyright,
	.bwGallery .image .img-description,
	.bwGallery .image + .img-description {
		display: block
	}
}

