/*!
 * Justified Gallery - v3.6.3
 * http://miromannino.github.io/Justified-Gallery/
 * Copyright (c) 2016 Miro Mannino
 * Licensed under the MIT license.
 */
.justified-gallery{width:100%;position:relative;overflow:hidden}.justified-gallery>a,.justified-gallery>figure{position:absolute;display:inline-block;overflow:hidden;filter:"alpha(opacity=10)";opacity:.1}.justified-gallery>a>img,.justified-gallery>figure>img,.justified-gallery>a>a>img,.justified-gallery>figure>a>img{position:absolute;top:50%;left:50%;margin:0;padding:0;border:0;filter:"alpha(opacity=0)";opacity:0}.justified-gallery>a>.caption,.justified-gallery>figure>.caption{display:none;position:absolute;bottom:0;padding:20px;background-color:#000;left:0;right:0;margin:0;color:#fff;font-size:16px;font-weight:300;font-family:sans-serif}.justified-gallery>a>.caption.caption-visible,.justified-gallery>figure>.caption.caption-visible{display:initial;filter:"alpha(opacity=70)";opacity:.5;-webkit-transition:opacity 500ms ease-in;-moz-transition:opacity 500ms ease-in;-o-transition:opacity 500ms ease-in;transition:opacity 500ms ease-in}.justified-gallery>.entry-visible{filter:"alpha(opacity=100)";opacity:1;background:0 0}.justified-gallery>.entry-visible>img,.justified-gallery>.entry-visible>a>img{filter:"alpha(opacity=100)";opacity:1;-webkit-transition:opacity 500ms ease-in;-moz-transition:opacity 500ms ease-in;-o-transition:opacity 500ms ease-in;transition:opacity 500ms ease-in}.justified-gallery>.jg-filtered{display:none}.justified-gallery>.spinner{position:absolute;bottom:0;margin-left:-24px;padding:10px 0;left:50%;filter:"alpha(opacity=100)";opacity:1;overflow:initial}.justified-gallery>.spinner>span{display:inline-block;filter:"alpha(opacity=0)";opacity:0;width:8px;height:8px;margin:0 4px;background-color:#000;border-radius:6px}
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
	Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
/* pswp = photoswipe */
.pswp {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
  z-index: 1500;
  -webkit-text-size-adjust: 100%;
  /* create separate layer, to avoid paint on window.onscroll in webkit/blink */
  -webkit-backface-visibility: hidden;
  outline: none; }
  .pswp * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box; }
  .pswp img {
    max-width: none; }

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
  /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
  opacity: 0.001;
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp--open {
  display: block; }

.pswp--zoom-allowed .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.pswp--zoomed-in .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab; }

.pswp--dragging .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing; }

/*
	Background is added as a separate element.
	As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  will-change: opacity; }

.pswp__scroll-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; }

.pswp__container,
.pswp__zoom-wrap {
  -ms-touch-action: none;
  touch-action: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }

/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; }

.pswp__zoom-wrap {
  position: absolute;
  width: 100%;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  /* for open/close transition */
  -webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp__bg {
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
  -webkit-transition: none;
  transition: none; }

.pswp__container,
.pswp__zoom-wrap {
  -webkit-backface-visibility: hidden; }

.pswp__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden; }

.pswp__img {
  position: absolute;
  width: auto;
  height: auto;
  top: 0;
  left: 0; 
  border: 20px solid #fff; }

/*
	stretched thumbnail or div placeholder element (see below)
	style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
  -webkit-backface-visibility: hidden; }

/*
	div element that matches size of large image
	large image loads on top of it
*/
.pswp__img--placeholder--blank {
  background: #222; }

.pswp--ie .pswp__img {
  width: auto !important;
  height: auto !important;
  left: 0;
  top: 0; }

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  margin-top: -8px;
  color: #CCC; }

.pswp__error-msg a {
  color: #CCC;
  text-decoration: underline; }
  
/* hack to get margin on a large screen */
 @media (min-width: 900px) { 
 .pswp__scroll-wrap {
    height: calc(100% - 80px);
    margin-top: 40px;
    overflow: visible;
    width: calc(100% - 80px);
    margin-left: 40px;
    }
 .pswp__top-bar {
 	margin-top: -40px;	
 }
 .pswp__caption {
 	margin-bottom:-40px;
 }
 
 }
/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*

	Contents:

	1. Buttons
	2. Share modal and links
	3. Index indicator ("1 of X" counter)
	4. Caption
	5. Loading indicator
	6. Additional styles (root element, top bar, idle state, hidden state, etc.)

*/
/*
	
	1. Buttons

 */
/* <button> css reset */
.pswp__button {
  width: 44px;
  height: 44px;
  position: relative;
  background: none;
  cursor: pointer;
  overflow: visible;
  -webkit-appearance: none;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  float: right;
  opacity: 0.75;
  -webkit-transition: opacity 0.2s;
          transition: opacity 0.2s;
  -webkit-box-shadow: none;
          box-shadow: none; }
  .pswp__button:focus,
  .pswp__button:hover {
    opacity: 1; }
  .pswp__button:active {
    outline: none;
    opacity: 0.9; }
  .pswp__button::-moz-focus-inner {
    padding: 0;
    border: 0; }

/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
  opacity: 1; }

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  background: url(../../files/photoswipe/default-skin/default-skin.png) 0 0 no-repeat;
  background-size: 264px 88px;
  width: 44px;
  height: 44px; }

@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
  /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
  .pswp--svg .pswp__button,
  .pswp--svg .pswp__button--arrow--left:before,
  .pswp--svg .pswp__button--arrow--right:before {
    background-image: url(../../files/photoswipe/default-skin/default-skin.svg); }
  .pswp--svg .pswp__button--arrow--left,
  .pswp--svg .pswp__button--arrow--right {
    background: none; } }

.pswp__button--close {
  background-position: 0 -44px; }

.pswp__button--share {
  background-position: -44px -44px; }

.pswp__button--fs {
  display: none; }

.pswp--supports-fs .pswp__button--fs {
  display: block; }

.pswp--fs .pswp__button--fs {
  background-position: -44px 0; }

.pswp__button--zoom {
  display: none;
  background-position: -88px 0; }

.pswp--zoom-allowed .pswp__button--zoom {
  display: block; }

.pswp--zoomed-in .pswp__button--zoom {
  background-position: -132px 0; }

/* no arrows on touch screens */
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
  visibility: hidden; }

/*
	Arrow buttons hit area
	(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
  background: none;
  top: 50%;
  margin-top: -50px;
  width: 70px;
  height: 100px;
  position: absolute; }

.pswp__button--arrow--left {
  left: 0; }

.pswp__button--arrow--right {
  right: 0; }

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  content: '';
  top: 35px;
  background-color: rgba(255, 255, 255, 0.3);
  height: 30px;
  width: 32px;
  position: absolute; }

.pswp__button--arrow--left:before {
  left: 6px;
  background-position: -138px -44px; }

.pswp__button--arrow--right:before {
  right: 6px;
  background-position: -94px -44px; }

/*

	2. Share modal/popup and links

 */
.pswp__counter,
.pswp__share-modal {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none; }

.pswp__share-modal {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 10px;
  position: absolute;
  z-index: 1600;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-out;
          transition: opacity 0.25s ease-out;
  -webkit-backface-visibility: hidden;
  will-change: opacity; }

.pswp__share-modal--hidden {
  display: none; }

.pswp__share-tooltip {
  z-index: 1620;
  position: absolute;
  background: #FFF;
  top: 56px;
  border-radius: 2px;
  display: block;
  width: auto;
  right: 44px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
  -webkit-transition: -webkit-transform 0.25s;
          transition: transform 0.25s;
  -webkit-backface-visibility: hidden;
  will-change: transform; }
  .pswp__share-tooltip a {
    display: block;
    padding: 8px 12px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px; }
    .pswp__share-tooltip a:hover {
      text-decoration: none;
      color: #000; }
    .pswp__share-tooltip a:first-child {
      /* round corners on the first/last list item */
      border-radius: 2px 2px 0 0; }
    .pswp__share-tooltip a:last-child {
      border-radius: 0 0 2px 2px; }

.pswp__share-modal--fade-in {
  opacity: 1; }
  .pswp__share-modal--fade-in .pswp__share-tooltip {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0); }

/* increase size of share links on touch devices */
.pswp--touch .pswp__share-tooltip a {
  padding: 16px 12px; }

a.pswp__share--facebook:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: -12px;
  right: 15px;
  border: 6px solid transparent;
  border-bottom-color: #FFF;
  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  pointer-events: none; }

a.pswp__share--facebook:hover {
  background: #3E5C9A;
  color: #FFF; }
  a.pswp__share--facebook:hover:before {
    border-bottom-color: #3E5C9A; }

a.pswp__share--twitter:hover {
  background: #55ACEE;
  color: #FFF; }

a.pswp__share--pinterest:hover {
  background: #CCC;
  color: #CE272D; }

a.pswp__share--download:hover {
  background: #DDD; }

/*

	3. Index indicator ("1 of X" counter)

 */
.pswp__counter {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  font-size: 13px;
  line-height: 44px;
  color: #000;
  opacity: 0.75;
  padding: 0 10px; }

/*
	
	4. Caption

 */
.pswp__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 44px; }
  .pswp__caption small {
    font-size: 11px;
    color: #000; }

.pswp__caption__center {
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
  font-size: 20px;
  padding: 20px;
  line-height: 20px;
  color: #000; }

.pswp__caption--empty {
  display: none; }

/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
  visibility: hidden; }

/*

	5. Loading indicator (preloader)

	You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR

 */
.pswp__preloader {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -22px;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-out;
          transition: opacity 0.25s ease-out;
  will-change: opacity;
  direction: ltr; }

.pswp__preloader__icn {
  width: 20px;
  height: 20px;
  margin: 12px; }

.pswp__preloader--active {
  opacity: 1; }
  .pswp__preloader--active .pswp__preloader__icn {
    /* We use .gif in browsers that don't support CSS animation */
    background: url(../../files/photoswipe/default-skin/preloader.gif) 0 0 no-repeat; }

.pswp--css_animation .pswp__preloader--active {
  opacity: 1; }
  .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
    -webkit-animation: clockwise 500ms linear infinite;
            animation: clockwise 500ms linear infinite; }
  .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
    -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
            animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }

.pswp--css_animation .pswp__preloader__icn {
  background: none;
  opacity: 0.75;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 15px;
  top: 15px;
  margin: 0; }

.pswp--css_animation .pswp__preloader__cut {
  /* 
			The idea of animating inner circle is based on Polymer ("material") loading indicator 
			 by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
		*/
  position: relative;
  width: 7px;
  height: 14px;
  overflow: hidden; }

.pswp--css_animation .pswp__preloader__donut {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2px solid #FFF;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  margin: 0; }

@media screen and (max-width: 1024px) {
  .pswp__preloader {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    float: right; } }

@-webkit-keyframes clockwise {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes clockwise {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@-webkit-keyframes donut-rotate {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  50% {
    -webkit-transform: rotate(-140deg);
            transform: rotate(-140deg); }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0); } }

@keyframes donut-rotate {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  50% {
    -webkit-transform: rotate(-140deg);
            transform: rotate(-140deg); }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0); } }

/*
	
	6. Additional styles

 */
/* root element of UI */
.pswp__ui {
  -webkit-font-smoothing: auto;
  visibility: visible;
  opacity: 1;
  z-index: 1550; }

/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  width: 100%; }

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  -webkit-backface-visibility: hidden;
  will-change: opacity;
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  visibility: visible; }

.pswp__top-bar,
.pswp__caption {
  background-color: rgba(255, 255, 255, 0.5); }

/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
  background-color: rgba(255, 255, 255, 0.3); }

/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
.pswp__ui--idle .pswp__top-bar {
  opacity: 0; }

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
  opacity: 0; }

/*
	pswp__ui--hidden class is added when controls are hidden
	e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
  /* Force paint & create composition layer for controls. */
  opacity: 0.001; }

/* pswp__ui--one-slide class is added when there is just one item in gallery */
.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
  display: none; }

.pswp__element--disabled {
  display: none !important; }

.pswp--minimal--dark .pswp__top-bar {
  background: none; }

/*
 * Justified Gallery - v4.0.0-alpha
 * http://miromannino.com/projects/justified-gallery/
 * Copyright (c) 2019 Miro Mannino
 * Licensed under the MIT license.
 */

@caption-initial-opacity: 0.0;
@caption-visible-opacity: 0.7;

.transition(@property:all, @duration: 500ms, @ease: ease-in) {
  -webkit-transition: opacity 500ms ease-in;
  -moz-transition: opacity 500ms ease-in;
  -o-transition: opacity 500ms ease-in;
  transition: opacity 500ms ease-in;
}

.opacity(@opacity: 1) {
  filter: %("alpha(opacity=%d)", @opacity * 100);
  opacity: @opacity;
}

.justified-gallery {
  width: 100%;
  position: relative;
  overflow: hidden;

  > a, > div, > figure {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
    .opacity(0.1);
    margin: 0;
    padding: 0;

    > img, > a > img, > svg, > a > svg {
      position: absolute;
      top: 50%;
      left: 50%;
      margin: 0;
      padding: 0;
      border: none;
      .opacity(0);
    }

    > .jg-caption {
      & when (@caption-initial-opacity = 0) {
        display: none;
      }
      & when (@caption-initial-opacity > 0) {
        display: initial;
        .opacity(@caption-initial-opacity);
      }
      position: absolute;
      bottom: 0;
      padding: 5px;
      background-color: #000000;
      left: 0;
      right: 0;
      margin: 0;
      color: white;
      font-size: 12px;
      font-weight: 300;
      font-family: sans-serif;
    }

    > .jg-caption.jg-caption-visible {
      display: initial;
      .opacity(@caption-visible-opacity);
      .transition(opacity);
    }

  }

  > .jg-entry-visible {
    .opacity(1);
    background: none;

    > img, > a > img, > svg, > a > svg {
      .opacity(1);
      .transition(opacity);
    }
  }

  > .jg-filtered {
    display: none;
  }

  > .jg-spinner {
    @spinnerDotWeight: 8px;
    @spinnerDotNum: 3;

    position: absolute;
    bottom: 0;
    margin-left: -(@spinnerDotWeight * 2) * @spinnerDotNum / 2;
    padding: 10px 0 10px 0;
    left: 50%;
    .opacity(1);
    overflow: initial;

    > span {
      display: inline-block;
      .opacity(0);
      width: @spinnerDotWeight;
      height: @spinnerDotWeight;
      margin: 0 (@spinnerDotWeight / 2) 0 (@spinnerDotWeight / 2);
      background-color: #000;
      border-radius: @spinnerDotWeight - 2px;
    }
  }

}
/* The container */
.checkbox_container {
  display: block;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox_container label {
	padding-left: 35px;
	display:block;
	position:relative;
	z-index:999;
	cursor: pointer;
}
/* Hide the browser's default checkbox */
.checkbox_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  z-index:998;
}

/* On mouse-over, add a grey background color */
.checkbox_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox_container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:before {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox_container input:checked ~ .checkmark:before {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox_container .checkmark:before {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
@media screen {
* {
    margin:0;
     padding:0;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size:1.1rem;
    scroll-behavior:smooth;
}
a {
    color:#000;
        text-decoration:none;
}
.active {
    color:#1f8da1;
}
a:hover {
    text-decoration:none;
    color:#777;
}
p {
    color:#535353;
    line-height:35px;
    max-width:60ch;
}
p a {
    text-decoration:underline;
}
h1,
h2,
h3,
h4 {
    font-weight:normal;
    font-family:times-new-roman;
}
#wrapper {
    position: relative;
        min-height: 100%;
        height: auto !important;
        height: 100%;
}

/* min-height für sticky-footer */
#container {
    position:relative;
        max-width:1030px;
        margin:120px auto 0;
    padding-bottom:100px;
    min-height:calc(100vh - 650px);
}
.container-gallery {
    position:relative;
        max-width:1300px;
    width:100%;
    margin:150px auto 0;
}
div#demo4 div h2 {
    border-radius:5px;
    margin:5px 5px 5px 0;
}
#main {
    margin: 150px 20px 0 25px;
        background-color: rgba(255, 255, 255, 0.85);
        overflow: hidden;
    /* workaround border left auf schrifthöhe */
    border-radius:15px;
        	
        /* div padding fix */
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
}
#main .inside {
    padding:0 10px 20px 10px;
}
h2.ce_headline {
    padding:0 0 30px 0;
    font-size:3.1rem;
    margin-bottom:20px;
}
#gallery-headline {
    padding:0 0 50px 0;
}
#gallery-article-nav {
    min-height:80px;
}
.gallery-headline2 {
    margin-top:50px;
}
h3.ce_headline {
    padding:20px 0 10px 0;
    font-size:2rem;
}
div.ce_text {
    padding:0 0 20px 0;
}
.last.block {
    padding-bottom:0;
}
div.ce_hyperlink {
    padding: 0 20px;
}
div.ce_hyperlink.headline_hyperlink {
    font-size:22px;
        padding-top:20px;
}
figure.image_container.float_left img {
    float:left;
        margin: 10px 10px 0 0;
        border-radius:5px;
}
div.ce_hyperlink.hyperlink-anker {
    display:inline-block;
    margin:20px 0 20px 0;
    padding:0 20px 0 0;
}
.inline_bild {
    display: inline;
        float: left;
        margin-right: 15px;
        padding-top: 5px;
        height: auto; 
        width: 410px;
        margin-bottom:10px;
}
.justified-gallery a img,
.justified-gallery2 a img {
    -webkit-filter: grayscale(100%);
      -webkit-transition: .5s ease-in-out;
      -moz-filter: grayscale(100%); 
      -moz-transition: .5s ease-in-out;
      -o-filter: grayscale(100%); 
      -o-transition: .5s ease-in-out;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
}
.justified-gallery a img:hover,
.justified-gallery2 a img:hover {
    -webkit-filter: grayscale(0%);
      -webkit-transition: .5s ease-in-out;
      -moz-filter: grayscale(0%);
      -moz-transition: .5s ease-in-out;
      -o-filter: grayscale(0%);
      -o-transition: .5s ease-in-out;
}
div#work-diagram img,
div#arbeitsdiagramm img {
    width:100%;
    height:auto;
}

/* abstand zum nächsten element */
.gallery-series {
    margin-bottom:100px;
}

/* um anchor tags bei einem fixen header nicht versteckt unter dem header anzuspringen */
:target:before {
    content:"";
    display:block;
    height:100px; /* fixed header height*/
    margin:-100px 0 0; /* negative fixed header height */
}
footer {
    background-color:#999;
    margin-top:100px;
    min-height:300px;
    width:100%;
    bottom:0;
    padding-bottom:20px;
}
footer div.inside {
    padding:40px 40px 0;
}
footer ul li {
    list-style-type:none;
}
footer div.info-box-newsletter {
    margin-top:40px;
    background:#777;
    border-radius:5px;
    padding:10px;
    display:inline-block;
}
footer div.info-box-newsletter p {
    color:#fff;
    font-size:1.4rem;
}
footer div.info-box-newsletter a {
    text-decoration:underline;
    font-size:1.1rem;
}
footer div.info-box-newsletter a:hover {
    color:#ccc;
}
footer div.copyright {
   margin-top:40px;
}
footer li.active {
    font-weight:bold;
}
footer li a:hover,
footer p a:hover {
    font-weight:bold;
}

/* Error-Meldung z.B. bei ungültigen Newsletter Angaben */
p.error {
    color: black;
    background: #ea8a87;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 10px;
}

/* Bestätigungs-Angabe z.B. Bestätigung Abmeldung Newsletter */
p.confirm {
    color: black;
    background: #a9ecaa;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 10px;
}
.mod_booknav li {
    list-style-type: none;
    text-decoration: underline;
    padding: 0 35px 0 35px;
}
.mod_booknav li a:hover {
    font-weight:bold;
    color:#333;
}
.mod_booknav li.prev {
    position: absolute;
    bottom: 0;
    left: 0;
}
.mod_booknav li.next {
    position: absolute;
    bottom: 0;
    right: 0;
}
.mod_breadcrumb {
    margin-bottom:50px;
}

/* listenelemente nebeneinander */
.mod_breadcrumb li {
    display: inline-block;
}

/* Nach einem Listenelements Trennzeichen einfügen */
.mod_breadcrumb li:after {
    content: " > ";
}

/* Nach dem letzten Listenelement kein Trennzeichen */
.mod_breadcrumb li.active:after {
    content:"";
}
.mod_breadcrumb li img {
    height:25px;
    margin-bottom:-6px;
}
.mod_breadcrumb li a:hover {
    font-weight:bold;
    color:#777;
}

/* empty link soll nicht angezeigt werden */
.empty {
    display:none;
}
nav.mod_changelanguage {
    position:absolute;
    top:0;
    right:25px;
}
nav.mod_changelanguage ul.language-toogle li {
    float:left;
    list-style-type:none;
    padding:0 5px 0 5px;
}
nav.mod_changelanguage ul.language-toogle li a {
    text-decoration:underline;
}
.columns {
    -webkit-columns: 2 300px;
    -moz-columns: 2 300px;
    columns: 2 300px;
    -webkit-column-gap: 4em;
    -moz-column-gap: 4em;
    column-gap: 4em;
    margin-bottom: 50px;
}
figure.txt-inline-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.ce_download {
    margin-bottom:20px;
}
}

@media only screen and (max-width:984px) {

/* sticky footer (kleinerer head bei mobile nav) */
#container {
    min-height:calc(100vh - 620px);
}
div#main {
    margin-top:100px;
    margin-left:5px;
    margin-right:5px;
}
div.ce_form {
    clear:both;
        width:100%;
}
.inline_bild {
    width:300px;
    height:200px;
}
#gallery-headline {
    padding-bottom:10px;
}
.gallery-headline2 {
    padding-bottom:20px;
}
.container-gallery {
    margin-top:100px;
}
#main .inside {
    border:0;
}
footer ul.footer-nav li {
    font-size:1.4rem;
    margin-bottom:10px;
}
.mod_booknav li {
    padding:0 15px 0 15px;
}
}

@media screen {

/* hide invisible elements */
.invisible {
    width:1px;
    height:1px;
    position:absolute;
    overflow:hidden;
    margin:-1px;
    padding:0;
    border:0;
    clip:rect(0 0 0 0);
}
#header {
    width:100%;
    height:85px;
    text-transform:lowercase;
    background-color: rgba(255,255,255,1);
    border-bottom: 2px solid rgba(0,0,0,0.85);
    z-index: 1000;
    position:fixed;
    top:0;
}
header div.inside {
    width:984px;
    height:auto;
    position:relative;
    margin:auto;
    z-index:1;
}
.logo {
    position:absolute;
    padding-top:25px;
    font-size:2.5rem;
}
.level_1 {
    width:auto;
    position:relative;
    float:right;
    margin:0;
    padding:0;
    list-style:none;
}
.level_1 li,
.level_1 li.active {
    position:relative;
    float:right;
    display:inline-block;
    margin:0;
    padding:22px 0 0;
    font-size:1em;
    font-weight:normal;
}
.level_1 > li > a,
.level_1 li span.active
/* .level_1 > li.submenu -> wird zurzeit nicht benötigt */ {
    display:block;
    padding:20px 22px;
    text-decoration:none;
    color:#000;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}
.level_1 li a.active {
    color:#fff;
    font-weight:bold;
}
ul.level_1 li ul.level_2 il.active {
    padding:0;
}
.level_1 ul.level_2 {
    width:200px;
    top:87px;
    position:absolute;
    display:none;
    padding:0;
    border-color:#0;
    list-style: none;
    z-index: 99999;
    background-color:rgba(255,255,255,0.4);
    box-shadow: 0 2px 2px rgba(0,0,0,0.4);
}
.level_2 li {
    width:100%;
    float:left;
    font-size:.9em;
    background-color:#fff;
    padding:0;
}
.level_1 ul li a,
.level_1 ul li span.active {
    width:100%;
    float:left;
    clear:both;
    display:inline-block;
    padding:10px 20px;
    text-decoration:none;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}
.level_1 ul li:hover > a {
    border-bottom_none;
}
.level_1 > li .indicator {
    top:20px;
    position:absolute;
    font:0px 'Source Sans Pro',sans-serif;
    color:#000;
    right: 8px;
}
.level_1 ul > li .indicator {
    top:10px;
    right: 8px;
}
li.right:hover {
    background-color:#bdbdbd;
}
li.right.active {
    background-color:#306c77;
}
.level_2 li:hover {
    background-color:#bbb;
}
ul.level_2 li.sibling,
ul.level_2 li.active {
    width:100%;
    float:left;
    color:#000;
    font-size;
    0.9em;
    padding:0;
}
ul.level_2 > li > a,
ul.level_2 > li > span {
    font-size:.9em;
    color:#000;
}
ul.level_2 li a.active {
    font-size:.8em;
    background:#1f8da1;
    padding-right:20px;
}
.thin > li > a {
    padding:10px 22px;
}
.thin ul {
    top:40px;
}
.thin > li .indicator {
    top:10px;
}
.thick > li > a {
    padding:23px 20px 22px 18px;
}
.thick ul {
    top:80px;
}
.thick > li .indicator {
    top:22px;
}
.level_1 > li.showhide {
    width:100%;
    height:50px;
    display:none;
    color:#09c;
    cursor: pointer;
    border-bottom: solid 2px rgba(0, 0, 0, 0.85);
}
.level_1 > li.showhide span.title {
    float:left;
    display:none;
    margin:16px 0 0 25px;
}
.level_1 > li.showhide span.icon {
    float:right;
    margin:8px 20px;
}
ul.level_3 {
    visibility:none;
}
.level_1 > li.showhide .icon em {
    width:25px;
    height:3px;
    display:block;
    margin-bottom:3px;
    background: rgba(0, 0, 0, 0.85);
}
}

@media only screen and (max-width: 984px) {
#header {
    height:auto;
    overflow:hidden;
    border-bottom:0px;
    background-color: rgba(255,255,255,1);
}
header div.inside {
    width:100%;
}
.logo {
    padding-top:15px;
    padding-left:25px;
}
.level_1 {
    width:100%;
}
.level_1.vertical {
    width:100%;
}
.level_1 li {
    width:100%;
    display:block;
    padding:0
}
.level_1 li:hover,
.level_1 li.active {
    padding:0;
    background-color:rgba(150,150,150,1);
    color:#fff;
}
.level_1 li.showhide,
.level_1 li.showhide:hover {
    padding-top:22px;
    background-color:transparent;
}
.level_1 > li > a,
.level_1 > li > .submenu {
    padding-top:15px;
    padding-bottom:15px;
    padding-left:25px;
    background-color: rgba(232, 231, 231, 0.6);
}
.level_1 li:hover > a,
.level_1 li:active > a,
.level_1 li:active > .submenu {
    color:#fff;
    background: rgba(200, 200, 200, 0.85);
    border-bottom: none;
}
.level_1 li.active li a {
    color:#9BBFA8;
}
.level_1 li.active li:hover {
    color:#fff;
}
.level_1 a {
    width:100%;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
.level_1 ul.level_2,
.level_1 ul li ul,
.level_1.vertical ul,
.level_1.vertical ul li ul {
    width:100%;
    left:0;
    position:static;
    border-left: none;
    background-color: transparent;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
.level_1 ul li {
    border-left: none;
    border-right: none;
}
.level_1 ul li a,
.level_1.vertical ul li a {
    padding-top:10px;
    padding-bottom:10px;
    color:#000;
    background-color: rgba(232, 231, 231, 0.8);
}
.level_1 ul > li > a {
    padding-left: 40px !important;
}
.level_1 > li .indicator {
    top:15px;
    font-size:17px;
    right: 25px;
}
.level_1 ul > li .indicator {
    right:24px;
    color:#7e7e7e;
}
.level_1.vertical ul > li .indicator {
    top:10px;
    right: 15px;
}
}

@media screen {
.back-to-top {
    width: 40px;
        height: 40px;
        position: fixed;
        bottom: 2em;
        right: 2em;
        background: url(../../files/images/back_to_top_button.png) no-repeat;
        opacity: 0.7;
        z-index: 1000;
        display: none;
}
.back-to-top:hover {
    opacity: 0.9;
}
}

div.ce_form {
    width:50%;
    float:left;
    padding-bottom:10px;
}
div#kontakt {
    width:100%;
    display:table;
}
div.formbody {
    vertical-align:top;
    /* div padding fix */
        -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
        box-sizing: border-box;
    /* Opera/IE 8+ */
    /*   padding:20px; */
}
div.widget.widget-headline.headline {
    line-height:24px;
}
label {
    display:block;
    margin-top:15px;
    margin-bottom:10px;
}
input {
    width:100%;
    height:40px;
    font-size:16px;
    font-weight:normal;
    color:#000;
    /* background-color: rgba(200, 200, 200, 0.3); */
    border:0;
    border-bottom: 2px solid black;
    padding-left:5px;
    margin:10px 0;
       -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
}
textarea {
    width:100%;
    height:210px;
    margin:5px 0 10px;
    padding:10px;
    font:16px 'Source Sans Pro',sans-serif;
    font-weight:normal;
    color:#000;
    /* background-color: rgba(200, 200, 200, 0.3); */
    border:0;
    border-bottom:2px solid black;
    /* div padding fix */
        	-webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
        	-moz-box-sizing: border-box;
    /* Firefox, other Gecko */
        	box-sizing: border-box;
    /* Opera/IE 8+ */;
}
button.submit {
    width:100%;
    height:40px;
    margin:10px 0 25px;
    text-align:center;
    border-radius:5px;
    color:#fff;
    text-transform:uppercase;
    background-color: #306c77;
    border: 1px black solid;
    cursor: pointer;
    /* div padding fix */
        	-webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
        	-moz-box-sizing: border-box;
    /* Firefox, other Gecko */
        	box-sizing: border-box;
    /* Opera/IE 8+ */
        	
        	-webkit-transition: background-color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}
input.submit:hover {
    background-color:rgba(65, 176, 125, 0.9);
}
div.ce_text.copyright {
    padding:0 20px;
}

@media only screen and (max-width:984px) {
input,
button.submit {
    height:60px;
    font-size:1.3rem;
}
textarea {
    font-size:1.3rem;
}
}

@media screen {

/* um border-left bei galerieseiten zu vermeiden */
.mod_article {
    border-left:none;
}
#gallery_headline {
    margin:60px 0 -80px 80px;
}
}

@media screen and (max-width:984px) {
#gallery_headline {
    margin:10px 0 -20px 0;
}
}

.mod_article {
    max-width:700px;
}
.text-newsletter {
    margin-bottom:40px;
}

@media only screen and (max-width:984px) {
}

@media aural, braille, embossed, handheld, projection, screen, tty, tv {
#container {
    max-width:1400px;
    margin-top:0;
}
#main .inside {
    border:none;
}
.fullscreen {
    position:relative;
    width: 100%;
    min-height: 100vh;
    margin-bottom:150px;
}
#portfolio-img-1 .image_container {
    width:100%;
    height:60vh;
    margin-bottom:20px;
    text-align:center;
}
#portfolio-img-1 figure.image_container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
#portfolio-1 {
    margin-bottom:100px;
}
#portfolio-1 .portfolio_txt {
    width:100%;
    display:inline-block;
    text-align:center;
}
#portfolio-1 .portfolio_txt p {
    text-align:center;
    display:inline-block;
    max-width:48ch;
    line-height:42px;
    font-size:1.5rem;
}
h2.portfolio_subheadline {
    padding:0;
}
#portfolio-1 .intro-first {
    font-size:2rem;
}
div.portfolio_txt {
    padding:20px 0;
    margin-bottom:50px;
}
.portfolio_txt a {
    text-decoration:underline;
}
.portfolio_headline {
    text-align:center;
    padding-bottom:20px;
    font-size:5rem;
    font-family:times-new-roman;
    font-weight:normal;
}
figure.fullscreen.no-justified-img img {
    max-width:70vw;
    max-height:70vh;
    width:auto;
    height:auto;
}
div.fullscreen .no-justified-img img {
    max-width:70vw;
    max-height:70vh;
    width:auto;
    height:auto;
}
figure.txt-inline-img img {
    width:100%;
    max-width:100%;
    height:auto;
    max-height:100%;
}
figure.txt-inline-img figcaption {
    margin-top:20px;
    margin-bottom:50px;
}
.fullscreen figcaption {
    margin-top:50px;
}
.portfolio_img_txt {
    float:right;
}
.columns {
    -webkit-columns: 2 300px;
    -moz-columns: 2 300px;
    columns: 2 300px;
    -webkit-column-gap: 4em;
    -moz-column-gap: 4em;
    column-gap: 4em;
    margin-bottom:50px; /* um absätze zwischen abschnitten einhalten zu können, auch wenn element grösser als viewport ist */
}
#exhibitions {
    columns: 2 300px;
    column-gap: 4em;
}
.arrow-container {
    text-align:center;
    clear:both;
    min-height:150px;
}
.arrow-container a img {
    width:5rem;
    height:auto;
}
ul.portfolio-nav {
    padding:20px 0;
    margin-left:-10px;
}
li.article-head {
    float:left;
    display:inline;
    list-style-type:none;
}
li.article-head a {
    display:inline;
    float:left;
    padding:5px 10px 5px 10px;
    margin:0 0 10px 0;
    border-right:2px black solid;
}
li.article-head a:hover {
    text-decoration:underline;
}
li.article-head a {
    text-decoration:none;
}
li.hidden {
    display:none;
}
#portfolio-1 .portfolio_txt {
    margin-bottom:0;
}
#portfolio-10 img {
    max-width:350px;
}
}

@media print {
}

@media only screen and (max-width: 984px) {
#portfolio-1 {
    margin-top:50px;
}
.fullscreen img {
    max-width:90vw;
}
.portfolio_img_txt {
    float:none;
}
h2.ce_headline {
    padding: 0 0 20px 0;
}
.columns.last.block {
    margin-bottom:50px;
}
figure {
    margin:0;
}
ul.portfolio-nav {
    padding:20px 0;
}
}

