/* ---------- to be integrated in standard css ---------- */
html {
    --button-border-radius: 5px;
    --input-border-radius: 5px;
    --toggler-background: var(--color-brand) !important;
}

#main {
    min-height: 75vh;
}

.height-100vh {
	min-height: 100vh;
}

.page-newsletter #footer .mod_subscribe .error {
  display: none;
}

/* ---------- images ---------- */
figure {
    display: flex;
    color: var(--color-text);
    font-size: 0.85em;
}

img.img--round {
    border-radius: 100%;
    border: 5px solid var(--color-brand2);
}

/* for image with caption */
.image_container {
    flex-direction: column;
}


/* ---------- fonts ---------- */
h1, .heading-h1 {
    line-height: 1.15;
}

@media screen and (min-width: 68.75em) {
h1, .heading-h1 {
    font-size: 1.7rem;
}
}

@media screen and (min-width: 58.75em) {
h1, .heading-h1 {
    font-size: 1.7rem;
}
}

@media screen and (min-width: 48em) {
h1, .heading-h1 {
    font-size: 1.7rem;
}
}

h2, .heading-h2 {
    line-height: 1.1em !important;
    font-size: 1.5rem;
}

h3, .heading-h3 {
    line-height: 1em;
    font-size: 1.3rem;
}

h4, .heading-h4 {
    font-size: 1.25rem;
}

.ce_text h1+h2 {
    margin-top: 0;
}

.text--right {
    text-align: right;
}

.text--left {
    text-align: left;
}

.text--standard,
.text--standard h1,
.text--standard h2,
.text--standard h3,
.text--standard h4 {
   color: var(--color-brand);
}

.text--white p,
.text--white h1,
.text--white h2,
.text--white h3,
.ce_text.text--white.iconized a {
	color: #fff;
}

.text--white h2 a,
.text--white p a {
    color: #fff !important;
}

.text--uppercase h1, .text--uppercase .heading-h1,
.text--uppercase h2, .text--uppercase .heading-h2,
.text--uppercase h3, .text--uppercase .heading-h3 {
	text-transform: uppercase;
}

/* ---------- initial and intro  ---------- */
/* introtext */
.intro {
    font-size: 1.15em;
    line-height: 1.7em;
    /*max-width: 55%;*/
    padding: 0 0 1em 1em;
    border-bottom: 3px solid var(--color-brand3);
}

.intro p:first-of-type:first-letter {
  font-size: 300%;
  line-height: 1;
  float: left;
  padding-right: .125em;
 font-family: var(--headings__font-family);
}

/* ---------- links and buttons ---------- */
.back a {
	border-color: var(--color-brand2);
    color: var(--color-brand2);
}

a.btn--highlight, span.btn--highlight, button.btn--highlight, input.btn--highlight.submit, .ce_comments .btn--highlight.submit {
    background: var(--button-highlight-bgcolor);
    color: var(--color-text);
}


/* ---------- backgrounds ---------- */
.bg--highlight {
    background: var(--color-highlight);
}

.bg--grey {
    background: #cccccc;
}


/* ---------- shadows ---------- */
.box-shadow {
    box-shadow: 0 2px 18px 0 rgba(0,0,0,.3);
}

/* ---------- other styles ---------- */

ul.list-style--fa li:before {
    color: var(--color-brand);
}

/* ---------- downloads ---------- */
.wrapper-grid__inner .ce_download, .ce_downloads {
    margin-bottom: 1rem;
    border: 1px solid var(--download-elem__border-color);
    text-align: center;
}

.download-element-wrapper {
	border:none;
}

/* ---------- footer ---------- */

#footer-pre .ce_headline {
    margin-bottom: 0.5rem;
}

#footer-pre .contact__outer > div {
	margin-bottom: 0;
}

#tns1 > .tns-item {
    padding-right: 0 !important;
}

@media screen and (max-width: 820px) {
.slider-full .headerslide__wrapper {
    height: 33vh !important;
}
}

@media screen and (max-width: 830px) {
	.wrapper-flex__inner {
    flex-direction: column !important;
	}
}

@media screen and (max-width: 350px) {
	.wrapper-simple.ce_rsce_wrapper_simple_start {
    padding: 0.5em !important;
}
dl.definitionlist__list {
    font-size: 0.9em;
}
}

/* ---------- customized styles website ---------- */

/* ---------- customized styles anker ---------- */
.social_feed_element .icon img{
	right:20px;
}

.red {
	color: red;
}

.player .video_container {
	height: 85vh !important;
}

.mod_newslist.news-short {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2em;
    grid-column-gap: 2em;
}

.layout_short {
    border: 1px solid;
    padding: 1em;
}

.layout_short .info {
    background: var(--color-brand);
    color: white;
    text-align: center;
}

/* ----------Element-Filter teaserbox ---------- */
.filters{
	margin-top:1rem;
	margin-bottom:2rem;
}
.filters li{
	    background-image: none;
    white-space: nowrap;
    text-decoration: none;
        display: inline-block;
}
.filters a.active{
	color: #fff;
	text-decoration: none;
	background-color: var(--color-highlight);
}
.filters a:hover{
	color: #fff;
	text-decoration: none;
	background-color: var(--color-highlight);
}
.filters a{
	background: var(--button-bg);
    border-color: var(--button-bg);
    border-radius: var(--button-border-radius);
    padding: var(--button-spacing);
    border: var(--button-border-width) solid transparent;
    font-family: var(--button-font-family);
    font-weight: var(--button-font-weight);
    line-height: var(--button-line-height);

}
.filters a{
	color: #fff;
	text-decoration: none;
}
/*filter flex*/
.elements-filter-wrapper{
	display:flex;
	flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 2em;
    column-gap: 1em;
}
.teaserkachel__outer.ce_rsce_teaserkachel.elements-filter{
	flex-basis: calc(100% / 3 - 1em);
    min-width: 250px;
}

/*  SWITCH  */

.btn-toggle {
  margin: 0 4rem;
  padding: 0;
  position: relative;
  border: none;
  height: 1.5rem;
  width: 3rem;
  border-radius: 1.5rem;
  color: #6b7381;
  background: #bdc1c8;
}
.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
  outline: none;
}
.btn-toggle:before,
.btn-toggle:after {
  line-height: 1.5rem;
  width: 4rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle:before {
  content: "Off";
  left: -4rem;
}
.btn-toggle:after {
  content: "On";
  right: -4rem;
  opacity: 0.5;
}
.btn-toggle > .handle {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.active {
  transition: background-color 0.25s;
}
.btn-toggle.active > .handle {
  left: 1.6875rem;
  transition: left 0.25s;
}
.btn-toggle.active:before {
  opacity: 0.5;
}
.btn-toggle.active:after {
  opacity: 1;
}
.btn-toggle.btn-sm:before,
.btn-toggle.btn-sm:after {
  line-height: -0.5rem;
  color: #fff;
  letter-spacing: 0.75px;
  left: 0.4125rem;
  width: 2.325rem;
}
.btn-toggle.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  display: none;
}
.btn-toggle:before,
.btn-toggle:after {
  color: #6b7381;
}
.btn-toggle.active {
  background-color: #29b5a8;
}

.btn-toggle.btn-sm {
  margin: 0 0.5rem;
  padding: 0;
  position: relative;
  border: none;
  height: 1.5rem;
  width: 3rem;
  border-radius: 1.5rem;
}
.btn-toggle.btn-sm:focus,
.btn-toggle.btn-sm.focus,
.btn-toggle.btn-sm:focus.active,
.btn-toggle.btn-sm.focus.active {
  outline: none;
}
.btn-toggle.btn-sm:before,
.btn-toggle.btn-sm:after {
  line-height: 1.5rem;
  width: 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle.btn-sm:before {
  content: "Off";
  left: -0.5rem;
}
.btn-toggle.btn-sm:after {
  content: "On";
  right: -0.5rem;
  opacity: 0.5;
}
.btn-toggle.btn-sm > .handle {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.btn-sm.active {
  transition: background-color 0.25s;
}
.btn-toggle.btn-sm.active > .handle {
  left: 1.6875rem;
  transition: left 0.25s;
}
.btn-toggle.btn-sm.active:before {
  opacity: 0.5;
}
.btn-toggle.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-sm.btn-sm:before,
.btn-toggle.btn-sm.btn-sm:after {
  line-height: -0.5rem;
  color: #fff;
  letter-spacing: 0.75px;
  left: 0.4125rem;
  width: 2.325rem;
}
.btn-toggle.btn-sm.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-sm.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-sm.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-sm.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-sm.btn-xs:before,
.btn-toggle.btn-sm.btn-xs:after {
  display: none;
}
.btn-toggle.btn-xs {
  margin: 0 0;
  padding: 0;
  position: relative;
  border: none;
  height: 1rem;
  width: 2rem;
  border-radius: 1rem;
}
.btn-toggle.btn-xs:focus,
.btn-toggle.btn-xs.focus,
.btn-toggle.btn-xs:focus.active,
.btn-toggle.btn-xs.focus.active {
  outline: none;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  line-height: 1rem;
  width: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle.btn-xs:before {
  content: "Off";
  left: 0;
}
.btn-toggle.btn-xs:after {
  content: "On";
  right: 0;
  opacity: 0.5;
}
.btn-toggle.btn-xs > .handle {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.75rem;
  background: #a16d60;
  transition: left 0.25s;
}
.btn-toggle.btn-xs.active {
  transition: background-color 0.25s;
}
.btn-toggle.btn-xs.active > .handle {
  left: 1.125rem;
  transition: left 0.25s;
}
.btn-toggle.btn-xs.active:before {
  opacity: 0.5;
}
.btn-toggle.btn-xs.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs.btn-sm:before,
.btn-toggle.btn-xs.btn-sm:after {
  line-height: -1rem;
  color: #000;
  letter-spacing: 0.75px;
  left: 0.275rem;
  width: 1.55rem;
}
.btn-toggle.btn-xs.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-xs.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-xs.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-xs.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs.btn-xs:before,
.btn-toggle.btn-xs.btn-xs:after {
  display: none;
}
.btn-toggle.btn-secondary {
  color: #6b7381;
  background: #e4e4e4;
}
.btn-toggle.btn-secondary:before,
.btn-toggle.btn-secondary:after {
  color: #03c603;
}
.btn-toggle.btn-secondary.active {
  background-color: #e4e4e4;
}

.btn.btn-xs.btn-secondary.btn-toggle,
.btn.btn-xs.btn-secondary.btn-toggle.active {
  position:relative;
  top:-5px;
  margin-left:3px;
  margin-right:3px;
}

/* READ MORE LISTE */

.read-more-list {
  cursor: pointer;
}
.isCollapsed span {
  display: none;
}
.isCollapsed:after {
  display: block;
  content: "mehr lesen";
  font-weight: bold;
}

/* TEASERBOX MIT OVERLAY */

.overlay--content {
  position: relative;
  padding: 50px 25px;
  margin-top: -220px;
  background: rgb(0,0,0);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1); 
}

.overlay--content h3,
.overlay--content p {
  color:white;	
}

#blue-bg {
  background-color: var(--color-default2);
}

#purple-bg {
  background-color: var(--color-default);
}

#white-bg {
  background-color: white;
}

#purple-bg h2,
#purple-bg h3,
#purple-bg p,
#purple-bg li {
  color: white;
}

.sticker-center {
  -webkit-filter: drop-shadow(0px 0px 5px #222);
  filter: drop-shadow(0px 0px 5px #222);
  transition: transform 0.8s;
}

.sticker {
  position: relative;
  left: -50%;
  -webkit-filter: drop-shadow(0px 0px 5px #222);
  filter: drop-shadow(0px 0px 5px #222);
  transition: transform 0.8s;
}

.sticker:hover,
.sticker-center:hover {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1; 
}

@keyframes pulse {
/*   Outward Pulse */
  25% {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
/*   Inward Pulse */
  75% {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
  }
}

.button-wrapper {
  position: absolute;
  width: max-content;
  left: 50%;
  transform: translate(-50%);
}

.button-wrapper .btn {
  margin-left: 10px;
  margin-right: 10px;
}

.btn {
  transform: rotate(2deg);
  margin-top: 10px;
  border-radius: 3px!important;
}

.btn:hover {
  transform: scale(0.95);
}

.btn__inner-text {
  color: var(--headings__color)!important;
}

.intro-text,
.intro-text p,
.intro-text h1,
.intro-text h2 {
  color:white!important;
}

.big-headline-blue {
  font-size: 4rem;
  color:var(--color-default2);

}

.big-headline-purple {
  font-size: 3rem;
  color:var(--color-default);
}

.ce_rsce_definition_list {
  padding-left: 10px;
}

.definitionlist__title-wrapper {
  align-items: center;
  display: flex;
  background-color: var(--color-default);
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  border-radius: 5px;
  transform: rotate(2deg);
}

.definitionlist__title-wrapper .fas.fa-check {
  font-size: 4rem;
  color: var(--color-default2);
}

.definitionlist__title-text {
  font-size: 1.5rem;
  line-height: 1.2;
  font-family: "Arial Black";
  color: var(--color-default2);
}

.ce_rsce_definition_list::before {
  content: "!";
  z-index: 9;
  display: block;
  position: absolute;
  font-size: 2rem;
  font-family: "Arial Black";
  color: var(--color-default);
  margin-top: -50px;
  margin-left: -23px;
  background-color: white;
  width: 55px;
  border-radius: 50%;
  height: 55px;
  padding-left: 20px;
}

#purple-bg .definitionlist__title-wrapper {
  align-items: center;
  display: flex;
  background-color: var(--color-default2);
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  border-radius: 5px;
  transform: rotate(2deg);
}

#purple-bg .definitionlist__title-text {
  font-size: 1.5rem;
  line-height: 1.2;
  font-family: "Arial Black";
  color: var(--color-default);
}

#purple-bg .fragezeichen.ce_rsce_definition_list {
  margin-left:2rem;
  margin-right:2rem;
}

#purple-bg .fragezeichen.ce_rsce_definition_list .definitionlist__title-wrapper {
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  width: auto;
  transform: rotate(-2deg);
}

#purple-bg .fragezeichen.ce_rsce_definition_list .definitionlist__title-text {
  font-size: 1.2rem!important;
}

#purple-bg .fragezeichen.ce_rsce_definition_list::before {
  content: "?"!important;
  z-index: 9;
  display: block;
  position: absolute;
  font-size: 1.5rem;
  font-family: "Arial Black";
  color: var(--color-default);
  margin-top: -15px;
  margin-left: -23px;
  background-color: white;
  width: 40px;
  border-radius: 50%;
  height: 40px;
  padding-left: 12px;
}

span.safe {
  letter-spacing: 10px;
}

#footer-pre {
  background-image: url("/files/layout_sticker_projekt/wave1.svg");
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center bottom;
  min-height: 650px;
  align-items: center;
  display: flex;
  background-color: #3a0066;
}

#footer-pre,
#footer-pre a,
#footer-pre h4 {
  color:white!important;
}

.bg--primary .bg-image {
  background-image: url("/files/layout_sticker_projekt/purplebg.jpg");
  background-size: cover;
  background-color: transparent;
}

.sketch-highlight{
  position:relative;
 }

.sketch-highlight:before{
  content:"";
  z-index:1;
  left:-11px;
  top:0em;
  border-width:5px;
  border-style:solid;
  border-color:white;
  position:absolute;
  border-right-color:transparent;
  width:112%;
  height:1.5em;
  transform:rotate(2deg);
  border-radius:0.25em;
}

.sketch-highlight:after{
  content:"";
  z-index:1;
  left:-13px;
  top:0em;
  border-width:5px;
  border-style:solid;
  border-color:white;
  border-left-color:transparent;
  border-top-color:transparent;
  position:absolute;
  width:112%;
  height:1.5em;
  transform:rotate(-1deg);
  border-radius:0.25em;
}

.circle-sketch-highlight{
  position:relative;
}

.circle-sketch-highlight:before{
  content:"";
  z-index:1;
  left:-0.5em;
  top:-10px;
  border-width:5px;
  border-style:solid;
  border-color:white;
  position:absolute;
  border-right-color:transparent;
  width:110%;
  height:2em;
  transform:rotate(2deg);
  border-radius:50%;
  padding:0.1em 0.25em;
}

.circle-sketch-highlight:after{
  content:"";
  z-index:1;
  left:-0.5em;
  top:2px;
  padding:0.1em 0.25em;
  border-width:5px;
  border-style:solid;
  border-color:white;
  border-left-color:transparent;
  border-top-color:transparent;
  position:absolute;
  width:110%;
  height:2em;
  transform:rotate(-1deg);
  border-radius:50%;
}

#purple-bg p, .intro-text p {
  font-size: 1.5rem;
  line-height:1.2;
}

.intro-min-height .flex-col-2 {
    min-height: 50vh;
  }

@media screen and (min-width:831px) {
  .intro-min-height .flex-col-2 {
    min-height: 90vh!important;
  }
}

@media screen and (max-width:830px) {
  .sticker {
    position: relative;
    left: 0!important;
    top: -250px;
  }
  .button-wrapper {
    position:relative;
    top: -250px;
  }
  .big-headline-blue {
    font-size: 3rem;
  }
  .big-headline-purple {
    font-size: 2rem;
    line-height: 3.5rem!important;
  }
  .mobile-seperator {
    display:none!important;
  }
  .mobile-wrapper {
    padding-top:0!important;
    
  }
}

@media screen and (max-width:600px) {
  .sticker {
    top: -220px;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
  .button-wrapper .ce_rsce_button_variant {
    display: block!important;
  }
  .button-wrapper .ce_rsce_button_variant .btn {
    width: 250px;
  }
  .fancy-headline,
  .fancy-headline2,
  .fancy-seperator {
    text-align: left!important;
    justify-content: start!important;
  }
  .headline-fancy__wrapper {
    padding-bottom: 0!important;
  }
  .centered-wrapper-inner {
    padding-left: 0!important;
  }
  .display-mobile-img {
    display: none!important;
  }
}

::selection {
    background: var(--color-default2)!important;
    text-shadow: none;
}

::-moz-selection {
    background: var(--color-default2)!important;
    text-shadow: none;
}

.grid-beratung .ce_rsce_wrapper_plain_start {
  padding:1rem;
  border-radius: 5px;
  transform: rotate(2deg);
}

.grid-beratung .ce_rsce_wrapper_plain_start:nth-child(even) {
  background-color: var(--color-default-dark)!important;
}

.grid-beratung .ce_rsce_wrapper_plain_start:nth-child(even):hover {
  background-color: var(--color-default)!important;
}

.grid-beratung .ce_rsce_wrapper_plain_start:nth-child(odd) {
  background-color: var(--color-default)!important;
}

.grid-beratung .ce_rsce_wrapper_plain_start:nth-child(odd):hover {
  background-color: var(--color-default-dark)!important;
}

.sticky-btn {
  position:absolute;
  z-index:999;
  top:65vh;
  right:-10px;
}

.sticky-btn a {
  padding: 10px 25px;
}

.sticky-btn a .btn__inner-text {
  color:var(--color-default)!important;
  font-size: 1.5rem;
}

@media screen and (max-width:830px) {
  .sticky-btn {
    top:75vh;
  }
}

@media screen and (max-width:700px) {
  .sticky-btn {
    top:80%;
  }
}