﻿/******************************************/
/*              FRONTPAGE                 */
/******************************************/

.hero-container {
    padding-right:0px;
    padding-left:0px;
    position:relative;
}

.hero-box {
    position:absolute;
    left:89px;
    bottom:120px;
    font-size:40px;
    color:#fff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}

.hero-container a.herolink {
    position:absolute;
    display:inline;
    width:115px;
    bottom:43px;
    font-size:20px;
    text-transform:uppercase;
    color:#fff;
    border:1px solid #fff;
    padding:15px;
    text-align:center;
    text-decoration:none;
}

.hero-container a.new {
    left:89px;
}

.hero-container a.used {
    left:225px;
}

.herobox-container {
    position:relative;
}

.herobox-specialeoffer {
    position: absolute;
    right: 0px;
    bottom: 111px;
}

.herobox-specialeoffer-headline {
    background-color: rgba(194,31,39,0.93);
    width: 250px;
    height: 320px;
    padding: 40px 30px;
    font-size: 40px;
    color: #fff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
    overflow:hidden;
}

.herobox-specialeoffer-content {
    background-color: rgba(255,255,255,0.93);
    width: 250px;
    height: 320px;
    padding: 30px;
    font-size: 16px;
    overflow: hidden;
}

#hero-carousel {
    background-color: #A53243;
    color:#fff;
    box-shadow: 0px 10px 12px rgba(0,0,0,0.69);
    margin-bottom:30px;
}

.pagetype-1 h1{
    font-family: 'Alegreya', serif;
    font-size:42px;
    font-weight:700;
    color:#A53243;
    margin-bottom:10px;
}

.pagetype-4 h2,
.pagetype-4 .content-box-wrapper h1 {
    font-family: 'Montserrat', sans-serif;
    color: #3E4C59;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0px;
}

.pagetype-1 #main-article .text{
    font-size:16px;
}

.pagetype-1 .teaser{
    font-family: 'Roboto Condensed', sans-serif;
    font-size:24px;
}




/* LINK BOX */

.link-box-container {
    padding-right:0px;
    padding-left:0px;
}

.link-box-container > .row {
    margin-right:0px;
    margin-left:0px;
}

.link-box-container > .row > .col-md-6 {
    padding-right:0px;
    padding-left:0px;
}

.link-box {
    margin-left:15px;
}

.link-box-small {
    margin-right:15px;
    margin-bottom:30px;
}

.link-box-headline {
    position:absolute;
    bottom:75px;
    left:89px;
    color:#fff;
    font-size:40px;
    text-decoration:none;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}

.link-box-container a {
    position:absolute;
    bottom:15px;
    left:89px;
    font-size:20px;
    color:#fff;
    border:1px solid #fff;
    padding:12px 40px;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}

.link-box-container a:hover {
    text-decoration:none;
}

/* CONTENT BOX */

.content-box-wrapper .content-box {
    display:block;
    min-height:300px;
    margin-bottom: 30px;
}

.content-box-wrapper .news-box {
    display:block;
    height:100%;
    background-color: #C21F27;
    color:#fff;
    padding-top:40px;
    padding-left:20px;
}

.content-box-wrapper .news-box .news-header {
    font-size:40px;
    margin-bottom:20px;  
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}

.content-box-wrapper .news-box .news-img {
   padding-top:20px;  
}


.special-offer .special-offer-text {
    padding-top:40px;
    padding-left:20px;
    background-color: #C21F27;
    color:#fff;
    height:300px;
}

.special-offer .special-offer-text .headline {
    font-size:40px;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
    display:block;
    margin-bottom:20px; 
}

.embed-container { 
    position: relative;  
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
} 

.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    padding-right:15px;
    padding-left:15px;
}



/* BRAND LINKS */
#brand-links-container {
    margin-top:40px;
    margin-bottom:35px;
}

.pagetype-1 #sliderCarousel {
    margin-top:50px;
}

.brand-link-item > div{
    text-align:center;
}

.brand-link-item > div a {
    display:inline-block;
    margin:auto;
}

#brandCarouselMedium .item a{
    display:block;
    max-width:20%;
    margin:auto;
}

#brandCarouselSmall .item a{
    display:block;
    max-width:250px;
    margin:auto;
}

@media (max-width: 1490px) {

    .herobox-specialeoffer {
        position: absolute;
        right: 0px;
        bottom: 20px;
    }
}

/* Medium */
@media (max-width: 1199px) {

.herobox-specialeoffer-headline {
    width: 200px;
    height: 250px;
    padding: 40px 30px;
    font-size: 34px;
}

.herobox-specialeoffer-content {
    width: 200px;
    height: 250px;
    padding: 20px;
    font-size: 16px;
}

.link-box-headline {
    bottom:65px;
    left:40px;
    font-size:30px;
}

.link-box-container a {
    bottom:15px;
    left:40px;
    padding:10px 30px;
}

.special-offer .special-offer-text .headline {
    font-size:30px; 
}

.content-box-wrapper .news-box .news-header {
    font-size:30px;
}

.content-box-wrapper .content-box {
    min-height:240px;
}

.special-offer .special-offer-text {
    height:240px;
}

}

/* medium and up */
@media (max-width: 992px)
{

.link-box-small {
    margin-right:0px;
    margin-bottom:5px;
}

.link-box {
    margin-left:0px;
    margin-bottom:15px;
}


.hero-box {
    left:40px;
    bottom:75px;
    font-size:40px;
}

.hero-container a.herolink {
    width:115px;
    bottom:20px;
    font-size:16px;
    padding:12px;
}

.hero-container a.new {
    left:40px;
}

.hero-container a.used {
    left:180px;
}


.special-offer .special-offer-text .headline {
    font-size:20px; 
    margin-bottom:10px;
}

.content-box-wrapper .news-box {
    padding-top:20px;
}

.content-box-wrapper .news-box .news-header {
    font-size:20px;
}

.content-box-wrapper .content-box {
    min-height:180px;
}

.special-offer .special-offer-text {
    height:180px;
    padding-top:10px;
    padding-left:10px;
}

}

@media (max-width: 768px) {

    .herobox-specialeoffer {
        position: relative;
        margin-top:20px;
    }

    .herobox-specialeoffer-headline {
        width: 50%;
        height: 320px;
        padding: 40px 30px;
        font-size: 40px;
        margin-top:20px;
    }

    .herobox-specialeoffer-content {
        width: 50%;
        height: 320px;
        padding: 30px;
        font-size: 16px;
        margin-top: 20px;
    }

.special-offer .special-offer-text .headline {
    font-size:20px; 
    margin-bottom:10px;
}

.content-box-wrapper .news-box {
    padding-top:20px;
}

.content-box-wrapper .news-box .news-header {
    font-size:20px;
}

.content-box-wrapper .content-box {
    min-height:300px;
}

.special-offer .special-offer-text {
    height:300px;
    padding-top:10px;
    padding-left:10px;
}

.special-offer img {
    position:absolute;
    right:0px;
    max-height:300px;
    width:auto;
}

    .pagetype-1 h1{
        font-size:36px;
        font-weight:700;
}
}


@media (max-width: 767px) {

    .news-content input[type=text] {
        width: 315px;
        margin: 5px;
    }
}

@media(max-width: 480px) {
    .content-box-wrapper .content-box {
        min-height: 200px;
    }

    .special-offer .special-offer-text {
        height: 200px;
        padding-top: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 450px) {

    .herobox-specialeoffer-headline {
        height: 245px;
        font-size: 34px;
    }
}



/*.equal {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }
}*/

.h-100 {
    height:100%;
}

.d-inline-block {
    display:inline-block;
}