

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
    padding-right: 0;
    padding-left: 0;
}
.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */

.carousel {
    /*height: 400px;*/

    /*margin-bottom: 5px;*/
}

@media (min-width: 778px) {
    .carousel{

    }
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
    /*height: 400px;*/
    background-color:#c0c0c0;

}
@media (max-width: 1559px) {
    .carousel-inner > .item >.brand2 {
        display:none;
    }
}

@media (min-width: 1560px) {
    .carousel-inner > .item >.brand2 {
        background-image: url(../media/img/carousel/Ralle_Logo_breit.png);
        background-repeat:no-repeat;

        border-radius: 3px;
        width: 1540px;
        height:100px;
        position: absolute;
        top:70px;
        left: 50%;
        transform: translate(-50%, -50%);
        margin:0 auto;
    }
    .carousel-inner > .item >.brand {
        display:none;
    }
}

@media (max-width: 777px) {
    .carousel-inner > .item > .brand {
        display:none;
        /*width: 0px;
        height:0px;
        background-position: center;
      background-image:none;
        position:absolute;
        top:0px;
        margin:0 auto;
      content: none;*/
    }
}


@media (min-width: 778px) /*and (max-width: 1559px)*/ {
    .carousel-inner > .item > .brand {
        /*background-image: url(../media/img/carousel/Ralle_Logo.png);
        background-repeat:no-repeat;
        
        border-style:none !important;
        border-color:transparent !important;
        border-width:0px !important;*/
        position: absolute;
        top:20px;
        right:60px;
        width: 236px;
        height:100px;
        margin:0 auto;
        z-index:1000;
        /*content: url(../media/img/carousel/Ralle_Logo.png);*/
    }
}


.autoHeight{
    display: block;
    max-width: 100%;
    height: auto;
}



/*.carousel_img01{
  height: 400px;
  width:100%;
  overflow: hidden;
  background-image: url(../media/img/carousel/branson_klein_komp.jpg);
  background-position:center;
  background-repeat:no-repeat;
  background-color: #2E1800;
  content: url(../media/img/carousel/branson_klein_komp.jpg);
  
}*/


.carousel_img{

    width:100%;
    overflow: hidden;
}
/*background-image: url(../media/img/carousel/branson_gross_komp.jpg);
height: 400px;
background-position:center;
background-repeat:no-repeat;
background-color: #2E1800;
content: url(../media/img/carousel/branson_gross_komp.jpg);
}



.carousel_img02{

width:100%;
overflow: hidden;
background-image: url(../media/img/carousel/deutz_klein_komp.jpg);
height: 400px;
background-position:66% 30%;
background-repeat:no-repeat;
background-color: #2E1800;
content: url(../media/img/carousel/deutz_klein_komp.jpg);
}

@media (min-width: 768px) {
.carousel_img02{

width:100%;
overflow: hidden;
background-image: url(../media/img/carousel/deutz_gross_komp.jpg);
background-position:center;
background-repeat:no-repeat;
background-color: #2E1800;
height: 400px;

content: url(../media/img/carousel/deutz_gross_komp.jpg);
}
}

.carousel_img03{
height: 400px;
width:100%;
overflow: hidden;
background-position:70% 30%;
background-repeat:no-repeat;
background-color: #2E1800;
background-image: url(../media/img/carousel/Deutz2_klein.jpg);
content: url(../media/img/carousel/Deutz2_klein.jpg);
}

@media (min-width: 768px) {
.carousel_img03{

width:100%;
overflow: hidden;
/*background-image: url(../media/img/carousel/Deutz2_gross8.jpg);
background-position:center;
background-repeat:no-repeat;
background-color: #2E1800;
height: 400px;
content: url(../media/img/carousel/Deutz2_gross8.jpg);


}
}

.carousel_img04{

width:100%;
overflow: hidden;
}*/

@media (min-width: 1540px){

    .carousel_img{
        margin-left: auto;
        margin-right: auto;
        width:1540px;

    }/*
    .carousel_img01{
      margin-left: auto;
      margin-right: auto;
      width:1540px;
    
    }
    .carousel_img03{
      margin-left: auto;
      margin-right: auto;
      width:1540px;
    }
    .carousel_img04{
      margin-left: auto;
      margin-right: auto;
      width:1540px;
    }*/
}

.carousel_arrow{
    height:75px;
    margin-top:50%;

}
/*
@media (min-width: 768px) {
.carousel_arrow{
  margin-top:60%;
}
}*/


/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
    padding-right: 15px;
    padding-left: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 20px;
    text-align: center;
}
.marketing h2 {
    font-weight: normal;
}
.marketing .col-lg-4 p {
    margin-right: 10px;
    margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

    /* Remove the edge padding needed for mobile */
    .marketing {
        padding-right: 0;
        padding-left: 0;
    }

    /* Navbar positioning foo */
    .navbar-wrapper {
        margin-top: 20px;
    }
    .navbar-wrapper .container {
        padding-right: 15px;
        padding-left:  15px;
    }
    .navbar-wrapper .navbar {
        padding-right: 0;
        padding-left:  0;
    }

    /* The navbar becomes detached from the top, so we round the corners */
    .navbar-wrapper .navbar {
        border-radius: 4px;
    }

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 992px) {
    .featurette-heading {
        margin-top: 120px;
    }
}


/* Carousel bootstrap*/


.carousel {
    width:60%;
    float:right;

}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-inner > .item {
    position: relative;
    display: none;
    -webkit-transition: .6s ease-in-out left;
    transition: .6s ease-in-out left;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    line-height: 1;
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
    display: block;
}
.carousel-inner > .active {
    left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}
.carousel-inner > .next {
    left: 100%;
}
.carousel-inner > .prev {
    left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
    left: 0;
}
.carousel-inner > .active.left {
    left: -100%;
}
.carousel-inner > .active.right {
    left: 100%;
}
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    filter: alpha(opacity=50);
    opacity: .5;
}
.carousel-control.left {
    background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0%), color-stop(rgba(0, 0, 0, .0001) 100%));
    background-image:         linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
}
.carousel-control.right {
    right: 0;
    left: auto;
    background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .5) 100%));
    background-image:         linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x;
}
.carousel-control:hover,
.carousel-control:focus {
    color: #fff;
    text-decoration: none;
    filter: alpha(opacity=90);
    outline: none;
    opacity: .9;
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
    left: 50%;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
    right: 50%;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    font-family: serif;
}
.carousel-control .icon-prev:before {
    content: '\2039';
}
.carousel-control .icon-next:before {
    content: '\203a';
}
.carousel-indicators {
    position: absolute;
    bottom: 0px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
    margin-bottom: 0px;
}
.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000 \9;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    border-radius: 10px;
}
.carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #fff;
}
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.carousel-caption .btn {
    text-shadow: none;
}
@media screen and (min-width: 768px) {
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-prev,
    .carousel-control .icon-next {
        width: 30px;
        height: 30px;
        margin-top: -15px;
        margin-left: -15px;
        font-size: 30px;
    }
    .carousel-caption {
        right: 20%;
        left: 20%;
        padding-bottom: 30px;
    }
    .carousel-indicators {
        bottom: 20px;
    }
}


img {
    vertical-align: middle;
}
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    display: block;
    max-width: 100%;
    height: auto;
}



@media (max-width: 767px){
    .carousel {
        width: 100%;
    }
     .banner-all {
        display:none;
    }
}