
/* eigene Anpassungen  */
.page {
  opacity: 0;
}
.load {
  position: absolute;
  z-index: -1;
  top: 50%;
  margin-top: -100px;
  left: 50%;
  margin-left: -50px;
  opacity: 0.5;
  -webkit-animation:puls 1s linear infinite;
  -moz-animation:puls 1s linear infinite;
  animation:puls 1s linear infinite;
}
@-moz-keyframes puls { 50% { -moz-transform: scale(0.9); } 100% { -moz-transform: scale(1); } }
@-webkit-keyframes puls { 50% { -webkit-transform: scale(0.9); } 100% { -webkit-transform: scale(1); }  }
@keyframes puls { 50% { transform: scale(0.9); } 100% { transform: scale(1); } }

.clear {
  clear: both;  
}

#title {
  position: absolute;
  top: -99999px;
  left: -99999px;
}

main p + h2 {
  margin-top: 30px;
}
main p + h3 {
  margin-top: 20px;
}
main p + h4 {
  margin-top: 15px;
}
main p + h5 {
  margin-top: 10px;
}

.color-rot {
  color: #e2001a;
}
.color-grau {
  color: #5c5c5f;
}
.color-schwarz {
  color: #000;
}
.big {}

div.csc-textpic-imagecolumn {
  margin-right: 15px;
  margin-bottom: 15px;
}

div.csc-textpic .csc-textpic-imagewrap figure, div.csc-textpic figure.csc-textpic-imagewrap {
  display: block;
}

figcaption.csc-textpic-caption,
.ce-gallery figcaption {
  display: block;
}

.fas{
  min-width: 20px;
}
.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.align-justify {
  text-align: justify;
}

ul.ce-menu {
  padding-top: 15px;
}

.text li, .textpic li, .ce-menu li, .csc-default li, .ck-editor__main .ck-content li {
  padding-left: 1em;
  text-indent: -1em;
}
.text li:before, .textpic li:before, .ce-menu li:before, .csc-default li:before, .ck-editor__main .ck-content li:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: "\f054";
  padding-right: 5px;
}

#buehne .col-xs-12 {
  padding: 0;
}
#buehne .csc-textpic-image {
  margin-bottom: 0;
}

/* Klappinhalte */

main .csc-layout-1 {
  margin-bottom: 0px;
}
.csc-layout-1 .header {
  background: #eee;
  color: #333;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  margin-bottom: 0px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}
.csc-layout-1 .header:hover,
.csc-layout-1.open .header {
  background: #333;
  color: #FFF;
}
.csc-layout-1 .header:after {
  content: '  \2192';
  float: right;
  position: relative;
  top: -1px;
}
.csc-layout-1.open .header:after {
  content: '  \2193';
  top: -3px;
}

.csc-layout-1 .content {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.csc-layout-1.open .content {
  max-height: 2000px;
  padding: 15px;
  transition: max-height 0.5s ease;
}
.csc-layout-1 .content .csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap {
  max-width: 75%;
}
.csc-layout-1 .content .csc-textpic.csc-textpic-intext-right div.csc-textpic-imagecolumn {
  margin-bottom: 0px;
}
.csc-layout-1 .content div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .csc-layout-1 .content .csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap {
    max-width: 60%;
  }  
  .csc-layout-1 .content .csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap {
    max-width: 100%;
    float: none;
    margin-left: 0;
  }
}


/* Bildbox (Geschichte) */
.csc-layout-2 {
  margin-bottom: 30px;
}
.csc-layout-2 .inner {
  background: #FFF;
  border: 1px solid #ccc;
}
.csc-layout-2 .inner > * {
  position: relative;
  z-index: 1;
}
.csc-layout-2 .inner > .title {
  position: absolute;
  z-index: 2;
  padding: 5px 15px;
  background: rgba(255,255,255,0.8);
}
.csc-layout-2 .inner h3 + div.csc-textpic {
  margin-top: 0;
}
.csc-layout-2 .inner .csc-textpic-text,
.csc-layout-2 .inner .ce-bodytext{
  padding: 15px 20px;
  font-size: 90%;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}
.csc-layout-2 .csc-textpic-imagewrap .csc-textpic-image,
.csc-layout-2 .ce-gallery {
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  .csc-layout-2.col33 {
    width: 50%;
  }
}
@media (max-width: 479px) {
  .csc-layout-2.col33 {
    width: 100%;
  }
}

.tx-news-list article {
  margin-bottom: 20px;
}
@media (min-width: 991px) {
  .tx-news-list article {
    margin-bottom: 30px;
  }
}

.tx-news-list article:nth-child(2n+1) {
  clear: left;
}

.tx-news-list article .title {
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 600;
  font-size: 120%;
}
.tx-news-list article .date {
  color: #999;
  font-size: 85%;
}
.tx-news-list article .images {
  float: left;
  max-width: 40%;
  margin-right: 20px;
}
.news-list-morelink {
  display: block;
}

.tx-news-single article .date {
  margin: 15px 0;
}
.tx-news-single article .images {
  margin-top: 30px;
}
.tx-news-single article .images .news-single-imgcaption {
  display: none;
}
.tx-news-single article .images .csc-textpic-image {
  display: inline-block;
  margin: 0 20px 20px 0;
}

/* Referenzen */
.tx-news-referenzen article {
  margin: 15px 0;
}
.tx-news-referenzen article:nth-child(3n+1) {
  clear: left;
}
@media (max-width: 991px) {
  .tx-news-referenzen article:nth-child(3n+1) {
    clear: none;
  }
  .tx-news-referenzen article:nth-child(2n+1) {
    clear: left;
  }
}

.tx-news-referenzen .inner,
.csc-textpic a img[src*="Referenz"],
.csc-textpic a[href$=".pdf"] img {
  background: #FFF;
  border: 1px solid #ccc !important;
}

.tx-news-referenzen article .title {
  padding: 15px 20px;
  min-height: 111px;
}
@media (max-width: 991px) {
  .tx-news-referenzen article .title {
    min-height: 0;
  }
}

.csc-textpic a img[src*="Referenz"],
.csc-textpic a[href$=".pdf"] img {
  padding: 10px;
  margin-bottom: 10px;
}

.tx-news-single-referenz h2 {
  margin-bottom: 30px;
}
.tx-news-single-referenz .csc-textpic-image {
  float: left;
  max-width: 48%;
  margin-right: 2%;
  margin-bottom: 2%;
}
.tx-news-single-referenz .csc-textpic-image:nth-of-type(2n+1) {
  clear: left;
}

.tx-news-single-referenz .button2 {
  margin-top: 20px;
}


.news-list-browse {
  clear: left;
}
.news-list-browse .browseLinksWrap {
  border: 0;
  padding: 30px 0;
}
.news-list-browse .browseLinksWrap a,
.news-list-browse .browseLinksWrap span {
  color: #e2001a;
  border: 1px solid #ccc;
  display: inline-block;
  font-size: 133%;
  font-weight: 300;
  margin-left: 15px;
  padding: 7px 16px;
  border-radius: 5px;
  text-decoration: none;
}
.news-list-browse .browseLinksWrap a:hover,
.news-list-browse .browseLinksWrap span {
  background: #e2001a;
  color: #FFF !important;
}

.row > .col33 + .col66 + .col33,
.csc-default + .col33 + .col66 + .col33,
.csc-default + .col33 + .col33 + .col33 + .col33 {
  clear: left;
}

.csc-sitemap ul {
  margin-left: 10px;
}

.video-js {
  max-width: 100%;
}
.vjs-default-skin .vjs-big-play-button {
  left: 50% !important;
  top: 50% !important;
  margin: -1.3em 0 0 -2em;
  border: none !important;
}

@media (min-width: 992px) {
  #content,
  #right {
    padding: 30px 0 50px;
  }

}

@media (max-width: 767px) {
  .ce-col {
    margin-bottom: 20px;
  }
  .row > .col-md-3,
  .row > .col-md-4 {
    width: 50%;
  }  
}
@media (max-width: 639px) {
  .row > .col-md-4 {
    width: 100%;
  }
  h1,
  .h1 {
    font-size: 30px;
  }
  h2,
  .h2 {
    font-size: 22px;
  }
  #content h2 {
    margin: 20px 0 10px;
  }
  h3,
  .h3 {
    font-size: 18px;
  }
  h4,
  .h4 {
    font-size: 15px;
  }
  
}
@media (max-width: 479px) {
  .row > .col-md-3 {
    width: 100%;
  }
}

section.bg-secondary-2 {
  display: none;
}
.mit-notruf section.bg-secondary-2 {
  display: block;
}

nav li.dropdown > a {
  cursor: default;
}

#content {
  clear: left;
}

.tx-sg-video .row .col {
  padding: 0 15px;
}
.sg-video__item {
  border-top: 0;
  position: relative;
  margin: 20px auto;
  max-width: 480px;
}
.sg-video__svg.position-absolute {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.sg-video__svg-inner {
  padding-top: 7px;
  opacity: 1 !important;
}
.sg-video__image {
  min-height: 1px !important;
  height: auto !important;
}
.sg-video__link:hover .sg-video__image {
  transform: scale(1) !important;
}
.sg-video video {
  width: 100%;
  height: auto;
  max-width: 360px;
}


.mindshapecookieconsent_consent > .container {
  margin: 20px;
} 

.cookie-consent-container {
  font-family: inherit !important;
  font-size: 100% !important;
  --color-gray: #4b4b4d !important;    
}
.cookie-consent-container .consent-modal {
  width: 90vw !important;
  max-width: 800px !important;
}
.cookie-consent-container .consent-modal .cookie-headline {
  font-size: 120% !important;
}
.cookie-consent-container .label,
.cookie-consent-container .buttons .btn {
  font-size: 100% !important;
}
.cookie-consent-container .buttons .btn--primary,
.cookie-consent-container .buttons .btn--secondary {
  background-color: #333 !important;
  color: #FFF !important;
  border: 0 !important; 
}
.cookie-consent-container .buttons .btn--primary:hover,
.cookie-consent-container .buttons .btn--secondary:hover {
  background-color: #e2001a !important;
}
.cookie-consent-container .show-details {
  color: #333 !important;
  font-size: 100% !important;
}
@media (min-width: 500px) {
  .cookie-consent-container .buttons :first-child {
    grid-column: auto/span 1 !important;
  }
} 
@media (min-width: 768px) {
  .cookie-consent-container .buttons {
    grid-template-columns: repeat(3, 1fr) !important;
  }
} 

.frame-space-before-extra-small {
  margin-top:1em;
}
.frame-space-before-small {
  margin-top:2em;
}
.frame-space-before-medium {
  margin-top:3em;
}
.frame-space-before-large {
  margin-top:4em;
}
.frame-space-before-extra-large {
  margin-top:5em;
}
.frame-space-after-extra-small {
  margin-bottom:1em;
}
.frame-space-after-small {
  margin-bottom:2em;
}
.frame-space-after-medium {
  margin-bottom:3em;
}
.frame-space-after-large {
  margin-bottom:4em;
}
.frame-space-after-extra-large {
  margin-bottom:5em;
}