/* montserrat-300 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/montserrat-v13-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Montserrat Light'), local('Montserrat-Light'),
         url('../fonts/montserrat-v13-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v13-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v13-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v13-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v13-latin-300.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-regular - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v13-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Montserrat Regular'), local('Montserrat-Regular'),
         url('../fonts/montserrat-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v13-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-600 - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v13-latin-600.eot'); /* IE9 Compat Modes */
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
         url('../fonts/montserrat-v13-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v13-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v13-latin-600.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v13-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v13-latin-600.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-700 - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v13-latin-700.eot'); /* IE9 Compat Modes */
    src: local('Montserrat Bold'), local('Montserrat-Bold'),
         url('../fonts/montserrat-v13-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v13-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v13-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v13-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v13-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
/* Schriftstyling */
body, a.btn, .submit, p.more a, p.back a, .contact-padding, b, strong{
font-family: Montserrat, sans-serif;
}

footer p, footer li, footer a, #footer a, .mainnavi .level_1 a, .mainnavi .level_1 span, #header .mod_navigation ul li,.formbody label{
    font-family: Montserrat, sans-serif;
    font-weight: 400;
}

h1, .ce_sliderStart h1, h2 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}

h2 {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
}

h3, .ce_sliderStart h3 {
    font-family: Montserrat, sans-serif;
}

h4{
    color: #b71e3f;
    font-size: 16px;
    font-family: Montserrat, sans-serif;
}


.home .mod_newslist .teaser {
    height: unset;
}

#main{
    background-image: none;
}


p, li {
    color:#6E6E6E;
}

#Objektheader h3{
    color: rgba(255,255,255,0.8) !important;
}

.dark-bg h3, .contact-padding, .dark-bg a, .home .newstxt h2 a, .home .newstxt p{
    color: rgba(0,0,0,0.8) !important;
}

.home .newstxt h2 a:hover{
    color: #b71e3f !important;
}

/* Farbanpassungen */

.topnavi a:hover, .topnavi a:focus, header input.submit, a:active, #slider .slider-control a.slider-prev:hover::before, #slider .slider-control a.slider-next:hover::after, .slider-control a.slider-prev:hover::before, .slider-control a.slider-next:hover::after, p.socials-top a:hover, .mainnavi .level_1 a:hover, .mainnavi .level_1 span:hover, #header .mod_navigation ul li:hover, .mainnavi .level_1 span:hover, .mainnavi ul.level_1 > .active, .mainnavi ul.level_2 li span:hover, .mainnavi ul.level_2 > .active, .mainnavi .level_1 span.trail, .mainnavi .level_1 a:hover, .mainnavi .level_1 span.active, .mainnavi .level_1 a:active, .mainnavi .level_1 a .forward, .mainnavi .level_1 span .forward, .level_1 .active, .level_1 .forward, .mainnavi .level_1 a.trail, .mainnavi .level_1 a:hover, .ce_downloads li::before, span.date::before, #footer a:hover, .submenu.trail > span, .level_1 .active, .level_1 .forward, .mainnavi .level_1 a.trail, .mainnavi .level_1 a:hover, a:hover, .button-menu .fa {
    color: #b71e3f !important;
}

a.btn, .ce_sliderStart a.btn:hover, .submit, p.more a, p.back a, .home-headline .fa, footer .mod_newslist time::before, .mod_newsreader p.info::before, .mod_newslist p.info::before, .mod_eventreader p.info::before, .pagination li span:active, .pagination li span:hover, .pagination li span:hover, .pagination li a:hover, .pagination span.active, .service .fa, .dark-bg .fa, .team:hover .blockInner, .team-contact .team-contact, .scrolltop a, div.overlay-textinput .submit:hover::before, div.overlay-textinput .submit:focus::before, div.overlay-textinput .submit:active::before, div.overlay-textinput .submit:hover, input.submit:hover, .newsletter .submit:hover, .white-box:hover em, p.footerIcons a:hover::after, .newsletterbanner .newsletter .submit:hover, .pricing-box .textInner, .ui-accordion-icons.active, .main-bg{
    background: #b71e3f!important;
}

.footercontainer {
     border-top: 3px solid #b71e3f !important;
}

.green-banner{
    background: linear-gradient(5deg,#811130,#bf182c)!important;
}

p.more a:hover, p.back a:hover, .newstxt p.more a:hover, .newsletter .submit:hover{
    color:#ffffff !important;
    background-color: #bf182c !important;
}

h3 .fa{
    color: #b71e3f !important;
}

.dark-bg .container, .dark-bg{
    background-color: #ececec !important;
}

.newstxt{
    background-color: #ececec !important; 
}

.background-grey{
    background-color: #ececec !important;
}
/* Navigation */

#header .mod_navigation {
    padding-top: 42px;
}

.mainnavi .level_1 span, .level_1 .active, .level_1 .forward, .submenu.trail > span {
    font-size: 16px !important;
}

@media all and (min-width:770px) {
    .button-menu{
        display:none
    }
    }

@media all and (min-width:770px) {
    .mainnavi{
        display:block;
    }
    }    

@media all and (max-width:770px) {
    .pull-right {
    float: left !important;
}
}

/* Impressum und Datenschutz und Kontakt*/
.devider {
    margin-bottom: 80px;
    margin-top: -35px;
}

.banner-bg .overlayContent {
    margin-bottom: 80px;
}

.form-home {
    margin-top: -30px;
}

.no-border {
    border: none
}

.padding-bottom-5{
    padding-bottom:5px;
}

.mb-15{
    margin-bottom: 15px;
}

/* Galerie*/

.ce_gallery figure {
    height: 390px;
}

.cboxElement {
    height: 100%;
}

.ce_gallery .img-responsive {
    height: 100%;
    object-fit: cover;
}

.ce_gallery figure::after {
    pointer-events: none;
}

/* Teaser Startseite*/
.mod_newslist figure {
    height: 240px;
}

@media all and (max-width:1200px) {
    .mod_newslist figure {
        height:180px;
    }
}

@media all and (max-width:890px) {
    .mod_newslist figure {
        height:150px;
    }
}

/* Objektübersicht*/

.uebersicht figure img {
    /*opacity: 0.6;*/
    height:100%;
    width:100%;
    object-fit: cover;
}

.uebersicht.mod_newslist figure{
    height: 350px;
}

.kerning-small h2 {
    letter-spacing:-0.1px;
}

.kerning-small2 h2 {
    letter-spacing:-0.6px;
}

/*.uebersicht figure img:hover {
    opacity: 1;
}*/
.mod_newslist .teaser {
    height: unset;
}
.picture-over-text {
    opacity:0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transition: all 0.3s ease-in-out;
    background-color: #8d0e0e;
}
.objektuebersicht .news:hover .picture-over-text .newstxt {
    transform:translate(0, -20px);
}
.objektuebersicht .news:hover .picture-over-text {
    opacity:0.9;
}
.objektuebersicht .news:hover .picture-over-text .newstxt {
    transform:translate(0, 0px);
}
.objektuebersicht .news {
    position:relative;
}
.objektuebersicht .newsitem:hover + .picture-over-text {
    opacity:1;
    transform:translate(0, 0px);
}
.objektuebersicht .newstxt {
    background-color:transparent!important;
}
.newsitem .newstxt {
    height: 100%;
}
.link-extend {
    top:0;
    left:0;
    position:absolute;
    width:100%;
    height:100%;
}
.link-extend a {
    top:0;
    left:0;
    position:absolute;
    width:100%;
    height:100%;
}

/* Slider*/

@media all and (min-width:700px) {
    .bgStyle {
        height:500px;
        background-color: #8d0e0e;
    }
}
@media all and (max-width:600px) {
    .bgStyle {
        padding: 20% 0;
    }
}

/* Same-height Container */
@media all and (min-width:767px) {
    .teaser-start {
        display: flex;
        width: 100%;
    }
    .teaser-start .news-wrapper {
        flex:1 1 0px;
    }
}


.teaser-start .newsitem {
    /*flex:1 1 0px;*/
    display: flex;
    flex-direction: column;
    height: 100%;
    padding:0 10px;
    margin-bottom:20px;
}

.teaser-start .newsitem .newxTextBlock {
    flex: 1;
}
.teaser-start .newsitem .newstxt {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.teaser-start .more {
    margin-top:auto;
}
