:root{
    --default-height-col-3: 150px;
    --default-height-col-4: 200px;
}
@media (min-width:1200px){
    .col-md-3 .kachel{
        height: var(--default-height-col-3);
    }
    .col-md-4 .kachel{
        height: var(--default-height-col-4);
    }
}
@media (max-width:1199px){
    .col-md-3 .kachel{
        height: calc(var(--default-height-col-3) - 30px);
    }
    .col-md-4 .kachel{
        height: calc(var(--default-height-col-4) - 30px);
    }
}
@media (max-width:991px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 405px;
    }
}
@media (max-width:769px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 400px;
    }
}
@media (max-width:650px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 350px;
    }
}
@media (max-width:550px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 300px;
    }
}
@media (max-width:450px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 250px;
    }
}
@media (max-width:425px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 220px;
    }
}
@media (max-width:400px){
    .col-md-3 .kachel, .col-md-4 .kachel{
        height: 200px;
    }
}

.front:hover {
    filter: brightness(0.9);
}
.kachelSVG {
    width: 47px;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
}
@media screen and (min-width: 991px) {
    .kachelSVG {
        display: none;
    }    
}
.kachel {
    position: relative;
    cursor: pointer;
    width: 100%;
    transition: transform 0.6s;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.ccm-page .kachel picture img{
    margin-bottom: 0;
}
.kachel .front, .kachel .back {
    position: absolute;
    margin: 0 auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
}
.kachel .front h3{
    width: 70%;
    text-align: center;
    margin: 20% auto;
    color: white;
}
.kachel .front.box-none h3{
    color: black;
}
@media (min-width:992px){
    .kachel .front h3{
        width: 90%;
        font-size: 18px;
    }
}
@media (max-width:1200px){
    .kachel .front h3{
        font-size: 15px;
    }
}
@media (max-width:991px){
    .kachel .front h3{
        font-size: 2.0em;
    }
}
@media (max-width:769px){
    .kachel .front h3{
        font-size: 1.5em;
    }
}
@media (max-width:569px){
    .kachel .front h3{
        font-size: 1em;
    }
}
@media (max-width:425px){
    .kachel .front h3{
        font-size: 16px;
    }
}
@media (max-width: 376px){
    .kachel .front h3{
        font-size: 16px;
    }
}
.kachel .front > p, .kachel .back > p {
    /*width: 100%;*/
}
.kachel .front {
    -ms-backface-visibility: visible;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -ms-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    z-index: 2;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.kachel .front .new-content {
    width: 100%;
    text-align: center;
    margin-top: 1%;
}
.kachel .front .bubble {
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid #769A15;
    border-radius: 50%;
    background-color: white;
    color: #86AE1C;
    font-weight: bold;
    margin-bottom: 10px;
	margin-top: 5%;
}
.kachel .back {
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    z-index: 1;
    padding: 5px 15px;
}
@media (max-width:992px){
    .kachel .back p{
        width: 60%;
    }
}
.kachel .back > i {
    position: absolute;
    top: 5px;
    right: 5px;
}
.kachel.flip {
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    transition: transform 0.6s;
}
.kachel.flip .front {
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    visibility: hidden;
    z-index: 1;
}
.kachel.flip .back {
    overflow-y: auto;
    -ms-backface-visibility: visible;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    visibility: visible;
    z-index: 2;
}
@media (max-width:992px){
    .kachel{
        margin: 15px 0;
        overflow: hidden;
    }
    .kachel .front h3{
        margin: 25% 0;
    }
}
@media (max-width:768px){
    .kachel{
        margin: 15px 0;
        overflow: hidden;
    }
    .kachel .front h3{
        width: 70%;
    }
}
@media (max-width:425px){
    .kachel{
        margin: 15px 0;
        overflow: hidden;
    }
    .kachel .front h3{
        width: 70%;
    }
}
