/* start h1 animation*/
/* start h1 animation*/
/* start h1 animation*/
/* start h1 animation*/
/* start h1 animation*/

.ml4 {
    position: relative;
    font-weight: 400;
    font-size: 2rem;
  }
  .ml4 .letters {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0.3em;
    right: 0;
    opacity: 0; 
  }


/* bild am price search ändern */
.car-price-filter-range .price_filter .ui-state-default:last-child::after {
    position: absolute;
    content: "";
    top: -30px;
    left: -5px;
    background-image: none !important;
    z-index: 99;
    width: 125px;
    height: 50px;
    background-repeat: no-repeat;
}

.sliderown {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */

    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
  }

  /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.sliderown::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #141B4F; /* Green background */
    cursor: pointer; /* Cursor on hover */
  }
  
  .sliderown::-moz-range-thumb {
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #141B4F; /* Green background */
    cursor: pointer; /* Cursor on hover */
  }


/* größe des card bildes anpassen, damit es ganz angezeigt wird */
.product-img img
{
    width: 100% !important;
}


/* z index für form dropdown hochsetzen */
.ltn__car-dealer-form-box .nice-select .list {
  z-index: 99999 !important;
}





/* map styling on singe projekt page */
/* map styling on singe projekt page */
/* map styling on singe projekt page */
/* map styling on singe projekt page */
/* map styling on singe projekt page */

#map
{
    border: solid 1px #141B4F;
}

@media only screen and (max-width: 500px)
{
    #map
    {
        height: 300px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    #map h1{
        font-size: 3rem;
    }
    #map h2{
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 500px) and (max-width: 820px)
{
    #map
    {
        height: 470px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    #map h1{
        font-size: 3.5rem;
    }
    #map h2{
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 820px) and (max-width: 1500px)
{
    #mapbox
    {
        padding-bottom: 100px;
    }
    #map
    {
        height: 400px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    #map h1{
        font-size: 4rem;
    }
    #map  h2{
        font-size: 3rem;
    }

}

@media only screen and (min-width: 1500px)
{
    #mapbox
    {
        padding-bottom: 100px;
    }
    #map
    {
        height: 500px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    #map h1{
        font-size: 5rem;
    }
    #map h2{
        font-size: 4rem;
    }

}










/* Lightbox CSS for Galerie*/
/* Lightbox CSS for Galerie*/
/* Lightbox CSS for Galerie*/
/* Lightbox CSS for Galerie*/
/* Lightbox CSS for Galerie*/
/* Lightbox CSS for Galerie*/



  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #fff;
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    border: none;
    outline: none;
  }
  
  /* The Close Button */
  .close {
    color: #141B4F;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prevlightbox,
  .nextlightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #141B4F;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .nextlightbox {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prevlightbox:hover,
  .nextlightbox:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #141B4F;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  
  img.demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  






    /* search range slider*/

    .rangeslider {
      -webkit-appearance: none;  /* Override default CSS styles */
      appearance: none;
      width: 100%; /* Full-width */
      height: 10px; /* Specified height */
      background: #d3d3d3; /* Grey background */
      outline: none; /* Remove outline */
      opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
      -webkit-transition: .2s; /* 0.2 seconds transition on hover */
      transition: opacity .2s;
      border-radius: 5px;
    }
/* Mouse-over effects */
.rangeslider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.rangeslider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #141b4f; /* Green background */
  border-radius: 12px;
  cursor: pointer; /* Cursor on hover */
}

.rangeslider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #141b4f; /* Green background */
  border-radius: 12px;
  cursor: pointer; /* Cursor on hover */
}







/* slide show on index */
/* slide show on index */
/* slide show on index */
/* slide show on index */
/* slide show on index */

.slider {
  position: relative;
  overflow: hidden;
  height: 70vh;
  width: 100vw;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide .content {
    text-align: center;
  position: absolute;
  bottom: 70px;

  opacity: 0;
  width: 100%;

  color: #333;
  padding: 35px;
}

.slide .content h1 {
  margin-bottom: 10px;
}

.slide.current .content {
  opacity: 1;

  transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
  position: absolute;
  top: 40%;
  right: 15px;
}

.buttons button#prev {
  position: absolute;
  top: 40%;
  left: 15px;
}

.buttons button {
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  border-radius: 50%;
  outline: none;
}

.buttons button:hover {
  background-color: #fff;
  color: #333;
}

@media (max-width: 500px) {
  .slide .content {
    bottom: -300px;
    left: 0;
    width: 100%;
  }

  .slide.current .content {
    transform: translateY(-300px);
  }
}



/* Backgorund Images */
 
.slide:first-child {
  background: url('../ausblick.JPG') no-repeat
    center center/cover;
}
.slide:nth-child(2) {
  background: url('../berlin-immobilien.JPG') no-repeat
    center center/cover;
}
.slide:nth-child(3) {
  background: url('../haus-berlin.jpg') no-repeat
    center center/cover;
}

