
.kasten-open:active,
.kasten-open:focus{
outline:none;
}


/* beige #E2E0DF */
.kasten-inner{
background-color:#E2E0DF;
}

/* hellblau #6FCCDD */
.kasten-default{
background-color:#6FCCDD;
}

/* orange #F37021 */
.kasten-orange .kasten-flip,
.kasten-orange .kasten-inner-wrap,
.panel .kasten-orange {
background-color:#F37021;
}

/* schwarz */
.kasten-inner a,
.kasten-inner a:hover,
.kasten-inner a:focus,
.kasten-inner{
color:#000;
}


/* weiss */
.main-content .kastenraster h2{
color:#FFF;
}
/* .main-content .kastenraster h2,
.main-content .kastenraster h3{
color:#FFF;
} */

/* BU-Pfeil */
.kasten-bild .bild-txt-img,
.kasten-bild .bild-txt{
opacity: 0.9;
-moz-opacity: 0.9;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
filter:alpha(opacity=90);
background: transparent url('../images/bu_pfeil.png') right bottom no-repeat;
}
.kasten-bild .bild-txt-img {
  background: transparent url('') right bottom no-repeat;
}
.kasten-bild .bild-txt-img h3 {
  display: none;
}
.kasten-bild .bild-txt-img:hover {
  background: rgba(255, 255, 255, 0.96) url('') right bottom no-repeat;
}
.kasten-bild .bild-txt-img:hover h3 {
  display: block;
}


/* gruen #A6CE39 */
.kasten-gruen .kasten-flip,
.panel .kasten-gruen,
.kasten-gruen .kasten-inner-wrap{
background-color:#A6CE39;
}

/* gruen text #A6CE39 */
.kiga-info,
.kiga-info a{
color:#96BC2F;
}

/* blau #009FC3 */
.kasten-blau .kasten-flip,
.panel .kasten-blau,
.kasten-blau .kasten-inner-wrap{
background-color:#009FC3;
}

/* rot #E5530A */
.kasten-rot .kasten-flip,
.panel .kasten-rot,
.kasten-rot .kasten-inner-wrap{
background-color:#E5530A;
}

/* gelb */
.kasten-gelb .kasten-flip,
.panel .kasten-gelb,
.kasten-gelb .kasten-inner-wrap{
background-color:#FCB316;
}

@media (min-width:768px) and (max-width:991px) {
   .kastenraster{
   line-height: 1.31em;
  }
}



/* 
@media (min-width: 520px) {
  .kasten-rechteck-quer .kasten-flip p,
  .kasten-rechteck-quer .kasten-inner-1 p,
  .kasten-rechteck-quer .kasten-inner-2 p{
  -webkit-column-count: 2;  
  -webkit-column-gap: 15px;
  -moz-column-count: 2;  
  -moz-column-gap: 15px; 
  column-count: 2;  
  column-gap: 15px;
  }
  .kasten-rechteck-quer3 .kasten-flip p,
  .kasten-rechteck-quer3 .kasten-inner-1 p,
  .kasten-rechteck-quer3 .kasten-inner-2 p{
  -webkit-column-count: 3;  
  -webkit-column-gap: 15px;
  -moz-column-count: 3;  
  -moz-column-gap: 15px; 
  column-count: 3;  
  column-gap: 15px;
  }
}
 */
 

/* ----------------------------------------------- */
/* Kasten */
.kastenraster{
position:relative;
margin:10px;
width:100%;
}

/* .kasten-links{
float:left;
} */

.kasten{
position:relative;
float:left;
margin:5px 0px;
}
.kasten-rechts{
float:right;
}
.kasten .kasten-inner{
position:relative;
margin:0px 5px;
overflow:hidden;
-moz-hyphens: auto;
-o-hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}

.kasten h1,
.kasten h2,
.kasten h3{
margin-bottom:5px;
}

.kasten-rechteck-hoch .more{
padding-top:10px;
}
.kasten kasten-quadrat-klein .more{
padding-top:7px;
}

.kasten-inner-wrap{
/* position:absolute; */
position:relative;
width:100%;
height:100%;
min-height:44px;
}
.kasten-on{
overflow:visible !important;
/* background-color:#8989fd; */
}
.kasten-on .kasten-inner-1 p:last-of-type{
margin-bottom:0px;
}
.kasten-on .more{
display:none;
}
.kasten-on .kasten-inner-wrap{
min-height:100%;
overflow:visible;
z-index:98;
}
.kasten-flip,
.kasten-inner-1,
.kasten-inner-2{
padding:15px;
width:100%;
/* height:100%; */
position:relative;
z-index:21;
}
.kasten-inner-1{
/* background-color:#8989fd; */
}
.kasten-inner-2{
display:block;
}

/* Quadrat als Rechteck auf */
.flip-open{
overflow:visible !important;
z-index:97 !important;
}
.flip-hoch-2{
overflow:visible;
}
.flip-hoch-2 .kasten-flip{
position:absolute;
left:0px;
top:0px;
}
.flip-hoch-2-oben .kasten-flip{
top:auto;
bottom:0px;
}
.flip-hoch-2-oben .back{
top:auto !important;
bottom:0px;
}

.kasten-inner-bild{
padding:0px;
}
.kasten-inner-bild img{
width:100%;
height:auto;
}

.kasten-quadrat-klein .kasten-inner-1,
.kasten-rechteck-hoch .kasten-inner-1{
padding-bottom:0px;
}
.kasten-quadrat-klein .kasten-inner-2,
.kasten-rechteck-hoch .kasten-inner-2{
padding-top:0px;
}

.kasten-rechteck-hoch .kasten-on .kasten-inner-wrap{
padding-bottom:40px;
}

/* Quadrat zum aufschieben
.kasten-quadrat-klein .kasten-on .kasten-inner-wrap{
padding-right:40px;
}
.kasten-quadrat-klein .kasten-inner-1,
.kasten-quadrat-klein .kasten-inner-2{
float:left;
}
.kasten-quadrat-klein .kasten-on .kasten-inner-1,
.kasten-quadrat-klein .kasten-on .kasten-inner-2{
width:50%;
} */

/* innereien */

.kastenraster h1,
.kastenraster .kiga-head{
margin-top:0px;
margin-bottom:0px;
}
.kastenraster h2{
margin-top:0px;
margin-bottom:10px;
}
.kastenraster h3{
margin-top:12px;
margin-bottom:0px;
}

.kastenraster ul,
.kastenraster p{
margin:10px 0 0;
}
.kastenraster .bild-txt-img h3,
.kastenraster .bild-txt h3{
cursor:pointer;
margin-top:0px;
}

/* @media (min-width:768px) and (max-width:991px) {
  .kastenraster h3{
  margin-bottom:0px;
  }
  .kastenraster p{
  margin:0px 0 0;
  }
} */
@media (max-width:767px) {
  /* .kastenraster h3{
  margin-bottom:20px;
  } */
  .kastenraster ul,
  .kastenraster p{
  margin:20px 0 0;
  }
}

.kasten-bild .bild-txt,
.kasten-bild .bild-txt-img{
line-height:1.31em;
}
.kasten-bild .bild-txt h3,
.kasten-bild .bild-txt-img h3{
line-height:1.0em;
padding-top:0.13em;
margin-bottom:0px;
padding-right:22px;
}
.kasten-bild .bu-on{
display:block;
}

/* .kasten .kasten-bild{
padding:0px;
}

.kasten-bild .kasten-inner-1,
.kasten-bild .kasten-inner-2{
position:absolute;
width:100%;
height:auto;
left:0;
top:0;
} */

.kasten-bild img{
position:absolute;
width:100%;
max-width:100%;
height:auto;
left:0;
top:0;
}

@media (min-width:516px) {
  .kasten-bild img{
  height:100%;
  }
}

.kasten-bild .bild-txt,
.kasten-bild .bild-txt-img{
position:absolute;
left:0px;
bottom:0px;
width:97.5%;
display:none;
margin:4px 3px;
padding:10px 12px;
z-index: 77;
}
.kasten-rechteck-quer .kasten-bild .bild-txt,
.kasten-rechteck-quer .kasten-bild .bild-txt-img{
width:98.75%;
}
.kasten-bild .bild-txt-img{
  display:block;
}

/* Quadrat 1 */
.kasten-quadrat-klein{
width:50%;
}

/* Rechteck 2 Hoch */
.kasten-rechteck-hoch{
width:50%;
}
.kasten-rechteck-hoch3{
width:50%;
}

/* Rechteck 2 Quer */
.kasten-rechteck-quer{
width:100%;
}
/* Rechteck 2 Quer */
.kasten-rechteck-quer3{
width:100%;
}

/* Quadrat 4 */
.kasten-quadrat-gross{
width:100%;
}

@media (max-width: 767px) {
  .kastenraster{
  margin:0px;
  }
  .row{
  margin:0px -10px;
  }
  .kasten-quadrat-xs{
  width:100%;
  height:auto;
  }
}


@media (max-width: 515px) {
  .kastenraster{
  margin:0px;
  }  
  .row{
  margin:0px -10px;
  }  
  .kasten .kasten-inner{
  margin:0px;
  }
  .kastenraster p{
  margin:0px;
  margin-bottom:15px;
  }
  .kastenraster ul{
  margin:0px;
  margin-top:15px;
  }
}


@media (min-width: 768px) {
  .kasten-hoch{
  margin-top:-225px;
  }  
  .kastenraster{
  margin:0px 10px;
  } 
  .kasten-quadrat-klein,
  .kasten-rechteck-hoch3,
  .kasten-rechteck-hoch{
  width:33.33333333%;
  }
  .kasten-rechteck-quer,
  .kasten-quadrat-gross{
  width:66.66666667%;
  }
}
@media (min-width:768px) and (max-width:1199px) {
  .kiga-info{
  margin-right:-30px;
  }
  .kastenraster .row{
  margin-right:-26px;
  } 
}

.kasten-liste{
margin-bottom:0px;
} 
.kasten ul,
.kasten ul li{
margin-left:3px;
padding-left:0px;
}
.kasten ul{
list-style:none;
}
.kasten ul li:before{
margin-left:-7px;
width:7px;
content:'- ';
}

@media (min-width: 516px) {
  .kasten ul{
  margin-right:20px;
  }
  .kasten-liste{
  float:left;
  margin-bottom:10px;
  }
}

.clearfix {
  clear: both;
}

.bild-txt-img:after,
.kasten-open{
position:absolute;
z-index: 33;
left:5px;
bottom:5px;
width:35px;
height:35px;
}
.kasten-open:active,
.kasten-open:focus,
.kasten-open:hover{
text-decoration:none;
}

.bild-txt-img:after {
  display: block;
  content: ' ';
  bottom: 0;
  left: 0;
}
.bild-txt-img:after,
.drehquadrat{
width:90%;
z-index:66;
background:transparent url('../images/quadrat.png') 0px 0px no-repeat;
}
.slide-unten,
.slide-unten1,
.slide-seite{
bottom:0px;
}

.slide-unten,
.slide-unten1{
width:100%;
margin-left:-10px;
background:transparent url('../images/pfeil_unten.png') center 0px no-repeat;
}
.kasten-on .slide-unten,
.kasten-on .slide-unten1{
background:transparent url('../images/pfeil_oben.png') center 0px no-repeat;
}

.slide-seite{
left:auto;
right:15px;
background:transparent url('../images/pfeil_rechts.png') right 6px no-repeat;
}
.kasten-on .slide-seite{
background:transparent url('../images/pfeil_links.png') right 0px no-repeat;
}
.flip-open .flip-hoch-2 .slide-seite{
left:0px;
right:auto;
margin-left:0px;
width:100%;
background:transparent url('../images/pfeil_oben.png') center 0px no-repeat;
}

/* .kasten-rechts .slide-seite{
left:15px;
right:auto;
background:transparent url('../images/pfeil_links.png') left 0px no-repeat;
} */


/* ----------------------------------------------- */
/* Flip-CSS */
@media (min-width: 516px) {

  .panel {
    z-index:10;
    margin: 0 auto;
    width:100%;
    height:100%;
    position: relative;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
  }
  .panel .front,
  .panel .back {
    top: 0;
    width: inherit;
    height: inherit;
  }

  .panel .front {
    z-index: 90;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform-style: preserve-3d;
    -moz-backface-visibility: hidden;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
  }
  .panel.flip .front {
    z-index: 90;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
  }
  .panel .back {
    z-index: 80;
    -webkit-transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-transform: rotateY(-180deg);
    -moz-transform-style: preserve-3d;
    -moz-backface-visibility: hidden;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
  }
  .panel.flip .back {
    z-index: 95;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
  }
}


/* Klein */
@media (max-width: 515px) {

  .kasten .kasten-inner,
  .kasten .kasten-inner-wrap,
  .kasten .front,
  .kasten .back,
  .kasten .kasten-flip{
    display:block !important;
    position:relative !important;
  }
  .kasten-quadrat-klein,
  .kasten-rechteck-hoch,
  .kasten-rechteck-hoch3,
  .kasten-rechteck-quer,
  .kasten-rechteck-quer3,
  .kasten-quadrat-gross,
  .kasten-quadrat-xs{
    width:100%;
  }
  .kasten .more,
  .slide-unten,
  .slide-unten1,
  .kasten-open {
    display:none;
  }
  .kasten-bild .bild-txt,
  .kasten-bild .bild-txt-img,
  .kasten-inner-1,
  .kasten-inner-2{
    display:block !important;
  }
  .kasten-inner-1,
  .kasten-inner-2{
    position:relative !important;
  }
  .kasten-bild .bild-txt-img,
  .kasten-bild .bild-txt{
    bottom:0px;
    opacity: 0.8;
    -moz-opacity: 0.8;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter:alpha(opacity=80);
    background: #FFF url('') right bottom no-repeat;
  }
  .kasten-bild .bild-txt-img h3 {
    display: block;
  }
  .kastenraster .bild-txt h3 {
    cursor:default;
  }
  .kasten-inner-wrap ul {
    margin-bottom: 1.5rem;
  }
  .panel .front,
  .panel .back,
  .kasten-flip, 
  .kasten-inner-1, 
  .kasten-inner-2,
  .panel{
    z-index: 21 !important;
  }
}