/* =============================================================================
 * aragon customizations
 * ========================================================================== */
/* -------------------------	
	 GENERIC CLASSES 		
------------------------- */
.hide-for-all {
  display: none; }

.centered-title h1, .centered-title h2, .centered-title h3, .centered-title h4, .centered-title h5 {
  text-align: center; }

.contain {
  background-size: contain; }

.wa {
  width: auto;
}

.wa img {
  width: auto;
}

.centered-content-images,
.centered-content {
  text-align: center;
}

.centered-content-images .ce_text {
  text-align: left;
}

.centered-content-images .ce_image,
.centered-content iframe,
.centered-content .mejs-container {
  display: inline-block;
}

.cl {
  clear: both;
}

.MsoNormal {
  display: none;
}

/* VIDEO */
/* Beim iframe vom Video immer ein <div class="videoWrapper></div> drum herum machen. */
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin-bottom: 20px; }
  .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

.textShadow {
  text-shadow: 0 0 6px rgba(0, 0, 0, .7);
}

.popup-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px;
  transition: all 350ms ease;
}

.popup-banner.close {
  display: block;
  opacity: 0;
  visibility: hidden;
}

.popup-banner .close-popup-button,
#cookie-close {
  position: relative;
  width: auto;
  float: right;
  height: auto;
  padding: 10px;
  margin: 0 0 0 10px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .3);
  color: white;
  font-size: .9em;
  font-weight: 500;
  cursor: pointer;
}

.ce_popup_content .check-button:before {
  position: absolute;
  left: 50%;
  bottom: 55px;
  padding: 10px;
  transform: translateX(-50%);
  content: "Bitte nach unten scrollen und checkbox setzen";
  background: #F14C5C;
  color: white;
  font-size: 12px;
  opacity: 0;
  white-space: nowrap;
  visibility: hidden;
  transition: all 300ms linear;
}

.ce_popup_content .check-button.warning:before {
  opacity: 1;
  visibility: visible;
}

.ce_popup_start .ce_popup_content {
  display: flex;
  flex-direction: column;
  padding: 0;
  padding-bottom: 45px;
  max-height: 90%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.ce_popup_content .check-button {
  position: absolute;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
}

.ce_popup_content .check-button button {
  flex-grow: 1;
}

.ce_popup_content .check-button button {
  color: #ffffff;
  cursor: pointer;
}

.ce_popup_content .check-button .popup-checkbox.checked {
  border: 2px solid #304169;
}

.ce_popup_content .check-button .popup-checkbox:before {
  content: "✔︎";
  line-height: 1;
  color: #d6d6d6;
  transition: 200ms color linear;
}

.ce_popup_content .check-button .popup-checkbox.checked:before {
  color: #304169;
}

.ce_popup_content .pdf_link {
  font-size: 32px;
}

@media print {
  .ce_popup_content .check-button,
  .pdf_link {
    display: none;
  }
}

.ce_popup_content .ce_text_extented {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding: 30px 20px;
  overflow: visible;
  box-shadow: 0 0px 10px 0px rgba(0, 0, 0, .2);
}

.ce_popup_content .ce_text {
  padding: 20px;
}

.ce_popup_start .ce_popup_content .checkbox {
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 20px;
  background: white;
  box-shadow: 0 0px 10px 0px rgba(0, 0, 0, .2);
}

.ce_popup_content .ce_text {
  overflow-y: auto;
}

.ce_popup_content .popup_close {
  top: 15px;
  right: 15px;
}

.ce_popup_content .autogrid_wrapper {
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
}

.ce_popup_content .autogrid.full.block {
  padding: 0;
  overflow-y: visible;
}

.ce_popup_content .contentWrap > div {
  left: 0 !important;
}

.ce_popup_content .popup_close {
  margin: 20px 0 !important;
  top: 0 !important;
}

.ce_popup_content #button_read {
  position: absolute;
  width: 100%;
  background: white !important;
  left: 0;
  bottom: 0;
}

.pace-active .pace-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  visibility: visible;
  z-index: 1999;
  background: white;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.pace-done .pace-overlay {
  opacity: 0;
  visibility: hidden;
}

#pop-up a.default {
  margin-bottom: 0;
}

#pop-up .ce_popup_content {
  padding-bottom: 0;
}

#cookie-banner {
  display: flex;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px;
  transform: translateY(0);
  z-index: 12;
  transition: transform 200ms ease-in-out;
}

#cookie-banner.close {
  transform: translateY(100%);  
}

#cookie-banner-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#cookie-banner-wrapper span a {
  font-weight: 600;
  text-decoration: underline;
}

#cookie-banner-close, .cookie-banner-close {
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 30px;
  padding: 0 10px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .4);
}

#bottom .inside {
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

#bottom .inside.fading-left {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 5%, black 10%);
}

#bottom .inside.fading {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 5%, black 10%, black 90%, transparent 95%, transparent 100%);
}

#bottom .inside.fading-right {
  -webkit-mask-image: linear-gradient(to right, black 90%, black 95%, transparent 100%);
}

/* ============================================================================
* smart phones  (s / small screens)
* ========================================================================== */
@media only screen and (max-width: 767px) {
  .ce_text_image_bar .image-right, .ce_text_image_bar .image-left, .ce_text_image_bar .mobile_image_top, .ce_text_image_bar .mobile_image_bottom {
    display: none; }
  .mod_article .ce_iconbox i.fa {
    display: flex; }
  .mod_article .ce_iconbox .ce_iconbox_inside {
    padding-left: 0; }

  .popup-banner {
    flex-direction: column;
  }

  .popup-banner .close-popup-button {
    width: 100%;
    margin: 20px 0 0;
  }
  
  .hide-for-mobile {
    display: none;
  }
  
  .popup-banner .close-popup-button {
    margin: 15px auto auto;
    float: none;
  }
  
  .align-left--mobile {
    text-align: left;
  }
}

@media only screen and (min-width: 768px) {
  .hide-for-desktop {
    display: none;
  }
}