﻿.startpage-head {
   width: 100%;      
}

    .startpage-head img {
        width: auto;
        display: block;
        margin: 0 calc(50% - 950px);
    }
    .startpage-head .startpage-headline {
        overflow: visible;
        width: 1230px;
        margin: auto;
        position: relative;
    }
    .startpage-head .startpage-headline h1 {
        overflow: visible;
        position: absolute;
        bottom: 0;
        left:0;
        padding: 0;        
        font-family: 'VWAGTheAntiqua-regular', serif;
        font-weight: normal;
        font-size: 3.4125rem;
        line-height: 4.7775rem;
        margin:2rem 0;
    }
    .startpage-head .startpage-headline h1 span {
        line-height: 1.4em;
        display: inline-block;
        padding: 0 15px;
        margin-bottom: 5px;
        font-size: inherit;
        background: rgba(255,255,255,0.8);
        color: #335F7D;
    }
.startpage-head .startpage-headline .h1-line-breaked.dark-headline span {

}
.startpage-head .startpage-headline h1.topleft {
    top:0;
    left:0;
    bottom:auto;
    right:auto;
    text-align:left;
}
.startpage-head .startpage-headline h1.bottomleft {
    top: auto;
    left: 0;
    bottom: 0;
    right:auto;
    text-align:left;
}
.startpage-head .startpage-headline h1.topright {
    top: 0;
    left: auto;
    bottom: auto;
    right:0;
    text-align:right;
}
.startpage-head .startpage-headline h1.bottomright {
    top:auto;
    left:auto;
    bottom:0;
    right:0;
    text-align:right;
}


.startpage .news-list .content p{
    color: #4c5356;
    line-height: 32px;
}

.startpage .news-list .news-content {
    padding: 0;
}

.startpage .news-list p.date {
    font-family: "VWAGTheSans-light";
    font-size: 14px;
    color: #7F8789;
    margin: 3px 0;
}

.pressrelease-brandimage img {
    position: relative;
    left: -4px;
}

.startpage .pressrelease-brandimage img {
    height: 30px;
}

.startpage .news-list .image-area {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}
.startpage .news-list .image-area img {
    vertical-align: middle;
    position: relative;
    height: auto;
    width: 100%;
}

.startpage .news-list .list-item {
    width: 370px;
    display: inline-block;
    margin-left: 47px;
    vertical-align:top;
}
.startpage .news-list .list-item--first {
    margin-left: inherit;
}
    .list-item:last-of-type {
    border-bottom: none;
}

.startpage .news-list .item-headline img, .item-headline h3 {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 0 0;
}

.startpage .news-list .item-content {
    display: inline-block;
    width: 100%;
    padding: 0;
    vertical-align: top;
}

.startpage .news-list .item-content p {
    margin: 0;
}

.startpage .news-list .news-list_archivelink {
    margin-top: 20px;
}

.startpage .news-list .Rssbutton {
    width: 40px;
    display: inline-block;
    position: absolute;
    right: 22px;
    margin: 0;
    top: 40px;
}

/*----------Pageblocks-----------*/
.startpage-blocks > div {
    display: inline-block;
    vertical-align: top;
}
.startpage-blocks > div + div{
    margin-left: 30px;
}
.startpage-blocks > div .standardblock{
    margin: 0;
}

/*-----------------DEALER MAP---------------*/
.dealer-search > .content {
    padding: 50px 20px;
    margin-top: 50px;
    border-top: solid 1px #e5e6e8;
}
.dealer-search h2 {
    margin-top:0;
}
.dealer-search .content p{
   font-family: 'VWAGTheSans-Light';
}

.dealer-search form{
    padding-top: 15px;
    padding-bottom:15px;
}

.dealer-search h2, .dealer-search p, .dealer-search legend{
    /*color: #ffffff;*/
}

.dealer-search legend{
    color: #ffffff;
    display: block;
    font-family: 'VWAGTheSans-Bold';
    font-size: 1.250em;
    margin-bottom: 10px;
    padding: 10px 0 10px 0;
}
.dealer-search input[type=text] {
    height: 48px;
    padding: 0 5px;
    width: 50%;
    background: rgb(255,255,255); 
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(239,239,239,1) 100%); 
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(239,239,239,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(239,239,239,1) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 ); 
    border: 1px solid #a8adb3;
    font-family: 'VWAGTheSans-Regular', sans-serif;
}
.dealer-search label {
    font-family: 'VWAGTheSans-Light';
    font-size: 1.250em
}
.dealer-search label[for=city] {
    display: block;
    font-family: 'VWAGTheSans-Bold';
    font-size: 1.250em;
    margin-bottom: 10px;
}
.dealer-search #city {
    font-family: 'VWAGTheSans-Light', sans-serif;
    width: 400px;
    font-size: 20px;
    border-width: 1px;
    color: #555555;
    border-style: solid;
    height: 48px;
    background: #f8f8f8;
    font-size: 1.250em;
    padding: 5px;

}
.dealer-search label {
    padding-right: 20px;
}
    .dealer-search input[type=submit] {
        display: block;
        background: #ffffff;
        padding: 10px 20px;
        font-family: 'VWAGTheAntiqua-Regular';
        font-size: 21px;
        border: none;
        color: #335F7D;
        margin-top: 40px;
        cursor: pointer;
        outline: solid 1px #335F7D;
    }
        .dealer-search input[type=submit]:hover {
            background-color: #8DBFCF;
            color: #fff;
            text-decoration: none;
            outline: none !important;
        }

.dealer-search .establishment-select {
    line-height: 1.2em;
    display: inline-block;
    margin-bottom: 10px;
}


/*----------Custom checkboxes---------------*/

@media only screen and (max-width: 1024px) {
    .startpage .news-list .image-area {
        width: 15%
    }

    .startpage .news-list>.content {
        padding: 0 20px;
    }

    .startpage-blocks > div {
        width: 32%;
    }

    .startpage-blocks > div + div {
        margin-left: 2%;
    }
    .startpage .news-list .list-item {
        margin-left: 1.5%;
        width: 31%;
    }
    .startpage .news-list .list-item--first {
        margin-left: 0;
        width: 31%;
    }

    .startpage  .news-list .image-area {
        width: 100%;
    }
   
}
@media only screen and (max-width: 864px) {
   
    .startpage-head {
        height: 300px;
        overflow: hidden;
        position:relative;
    }
    .startpage-head img {
        height: 300px;
        width: auto;
        margin: 0 calc(50% - 678px);
    }

    .startpage-head .startpage-headline {
        width: 100%;
        position: absolute;
        top:0;
    }

    .startpage-head .startpage-headline h1{
        overflow: visible;
        position: absolute;
        font-size: 1.7em;
        width: 80%; 
        padding: 5px 10px;
        bottom: 0;
        line-height: 1.3em;
    }

    .item-headline img, .item-headline h3 {
        font-size: 1.2em;
        line-height: 1.4em;
        display: inline;
    }

    .block-area {
        padding-top: 20px;
    }

    .startpage-blocks {
        padding: 30px 0;
    }

    .startpage-blocks > div {
        display: block;
        width: 100%;
    }

    .startpage-blocks > div + div {
        margin:20px 0 0 0;
    }

    .startpage .news-list .list-item {
        padding: 20px;
        margin-left: 0;
    }
    
    .image-area {
        width: 25%;
    }

    .item-content {
        width: 70%;
        padding: 0 0 20px 3%;
    }

    .dealer-search .checkboxesBrand label {
        display: block;
        margin-bottom: 5px;
    }

    .dealer-search #city {
        width: 100%;
    }

    .startpage .news-list .list-item {
        width: 100%;
        padding: 0;
    }
    .startpage .news-list .news-content {
        padding: 0 20px;
    }

    .startpage  .news-list .image-area {
        margin-top: 30px;
    }



}

@media only screen and (max-width: 500px) {
    .image-area {
         width: 100%;
        margin: 0 0 20px 0; 
     }
     .item-content {
        width: 100%;
        padding: 0;
     }

     .dealer-search .checkboxesBrand label {
        display: block;
        margin-bottom: 5px;
    }
}