.referenzen #main {
    width:100%;
}
.referenzen #bildbereich,
.referenzen #animation {
    height: 1px;
    width: 100%;
}
#referenzen .ce_teaser {
 width: calc((100% / 2) - 5px);
 max-width: 450px;
    height:266px;
    position:relative;
    float:left;
    margin-right:5px;
    margin-bottom:15px;
    overflow: hidden;
    isolation: isolate
}
#referenzen .ce_teaser .ce_teasertext {
    height:85px;
    position:absolute;
    margin-top:auto;
    padding:0px 0 0;
        z-index: 2;
        bottom: 0px;
}
#referenzen .ce_teaser h2 {
    width:325px;
    position:absolute;
    margin-top:auto;
    margin-left:auto;
    margin-bottom: 0px;
    padding-top:3px;
    padding-right:10px;
    padding-bottom:3px;
    background-color:rgba(255,255,255,.8);
    line-height:20px;
    right: 0;
    bottom: 85px;
    text-align: right;
    z-index: 2;
}
#referenzen .ce_teaser a.more {
    display: none;
}
#referenzen .ce_teaser .image_container {
position: absolute;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
display: block;
}

#referenzen .ce_teaser .image_container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#referenzen .ce_teaser .image_container a {
    display:inline-block;
}
#referenzen .ce_teaser .ce_teasertext p {
    height:100%;
    padding:10px 30px 0;
    background-color:rgba(255,255,255,.8);
    color: #000000;
    margin: 0px 0px 0px 0px;
}
#referenzen .ce_teaser h2 a,
#referenzen .ce_teaser h2 a:visited {
    text-decoration: none;
    color: #FF440E;
}

#referenzen .ce_teaser a, #referenzen .ce_teaser a:visited{
position: relative;
  height: 100%;
  width: 100%;
  display: block;
  
}

#referenzen .ce_teaser .ce_teasertext a,
#referenzen .ce_teaser .ce_teasertext a:visited,
#referenzen .ce_teaser a,
#referenzen .ce_teaser a:visited,
#referenzen .ce_teaser .ce_teasertext a:hover,
#referenzen .ce_teaser a,
#referenzen .ce_teaser a:hover {
    text-decoration: none;
    color: #000000;

}
#referenzen .ce_teaser .image_container img{
 transition: transform .35s;
}
#referenzen .ce_teaser a:hover .image_container img{
    transform: scale(1.1);
}


.ce_gallery .image_container a img:hover {
    opacity:1;
    filter:alpha(opacity=100);
}
.ce_gallery .image_container a img {
    opacity:0.5;
    filter:alpha(opacity=50);
}
.ce_gallery > ul li {
    margin-top: 6px!important;
    margin-bottom: 6px!important;
    margin-right: 12px!important;
}
.ce_gallery li.col_2 {
    margin-right: 0px!important;
}
.ce_gallery .caption {
    margin:0;
    padding:3px;
    font-size:11px;
    color:#8B8B8B;
    min-height:12px;
}
.pagination {
    margin-top:10px;
    padding:5px 0 0;
    border-top:1px solid #007F13;
    border-right:0px solid #007F13;
    border-bottom:0px solid #007F13;
    border-left:0px solid #007F13;
}
.pagination p {
    margin-right:20px;
    padding-right:20px;
    border-right:1px solid #000;
    float: left;
}
.pagination ul li {
    padding:0 10px;
    font-weight:bold;
    display: inline;
    list-style-type: none;
}
.ce_gallery > ul {
    margin:0;
    padding:0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.ce_gallery > ul li {
    width: 30%;
    flex-grow: 1;
    float: none;
}
.ce_gallery  .image_container[style] {
    margin: 0px !important;
}
.konfigurator-bg {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
}
.konfigurator-box {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 25px;
}
.konfigurator-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto auto;
    text-align: center;
    width: 80%;
    height: fit-content;
    z-index: 1;
}
.konfigurator-link a {
    background-color: #ff440e;
    padding: 12px 15px;
    color: #ffffff!important;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: block;
    position: relative;
}
.konfigurator-link a:hover {
    text-decoration: none!important;
    background-color: #007f13;
}
.konfigurator-link a::after {
    content: '';
    display: block;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: solid 1px #ffffff;
    margin: 2px;
    position: absolute;
    top: 0;
    left: 0;
}


.ce_teaser.rplogo .ce_teasertext::after{
content: ''; 
width: 150px;
height: 50px;
right: 10px;
top: -150px;
position: absolute;
z-index: 9;
background-image: URL('/files/repaircare/repair-care-logo.png');
background-repeat: no-repeat;
background-size: 100% auto;
}


.repaircare .ce_gallery > ul{
    flex-wrap: nowrap;
    justify-content: flex-start;
}


.repaircare .ce_gallery .cols_5 li{
    width: auto;
  flex-grow: 1;
  float: none;
margin-top: 0px !important;
  margin-bottom: 0px !important;
  margin-right: 0px !important;
    margin-left: 0px !important;
}
