
svg {
  max-width: 100%;
}

.button.secondary,
.button.primary {
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .button.secondary,
  .button.primary {
    padding: 8px 20px;
  }
}

@media (max-width: 600px) {
  .section-title {
    background-position: center top !important;
    font-size: 1.35em;
    margin: 0.5rem 0 0.8rem !important;
    padding: 2em 0px 0px 0px !important;
  }
}

.section-title {
  background: url(../../img/fiat-iso.svg) no-repeat 0px 10px;
  background-size: 45px auto;
}

/* ******************* Car Sliders **********************/

.cars-sliders-home .header h2 {
  font-size: 32px !important;
  line-height: 37.5px;
  text-transform: uppercase;
  font-weight: 900 !important;
}

.cars-sliders-home .slick-center > a,
.cars-sliders-home .slick-center > a > article {
  width: 100%;
}

.cars-sliders-home .button.secondary {
  background-color: #322b29;
  border-color: #322b29;
  color: white;
}

.cars-sliders-home .card-vehicle--title {
  font-size: 18px !important;
  line-height: 21px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.cars-sliders-home .selector-autos--carousel .card-vehicle--figure img {
  object-fit: contain;
  height: 13rem;
}

.cars-sliders-home .slick-initialized .slick-slide {
  display: block;
  height: auto;
}

@media (max-width: 768px) {
  .cars-sliders-home .header h2 {
    font-size: 24px !important;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 20px;
    order: 2;
  }

  .cars-sliders-home .card-vehicle--title {
    font-size: 22px !important;
    line-height: 25px;
  }

  .cars-sliders-home .button.primary,
  .cars-sliders-home .button.secondary {
    font-size: 16px;
    line-height: 20px;
    padding: 8px 20px;
  }

  .selector-autos--carousel .slick-prev,
  .selector-autos--carousel .slick-next {
    top: 50%;
  }
}

.slick-initialized .slick-slide {
  height: auto;
}

/************* Masonry Overlay with Hero Button ***************/

.masonry-overlap-hero-button .masonry-grid {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.masonry-overlap-hero-button .masonry-item {
  position: relative;
  overflow: hidden;
}

.masonry-overlap-hero-button .image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.masonry-overlap-hero-button .image-container img {
  width: 100%;
  height: auto;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  -o-transition: transform 0.3s ease, filter 0.3s ease;
  transition: transform 0.3s ease, filter 0.3s ease;
  transition: transform 0.3s ease, filter 0.3s ease, -webkit-transform 0.3s ease,
    -webkit-filter 0.3s ease;
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.masonry-overlap-hero-button .image-container:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-filter: brightness(80%);
  filter: brightness(80%);
}

.masonry-overlap-hero-button .caption-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 2;
}

.masonry-overlap-hero-button .image-container:hover .caption-overlay {
  opacity: 1;
}

.masonry-overlap-hero-button .hero-button .hero-title {
  font-size: 18px;
  line-height: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .masonry-overlap-hero-button .masonry-grid {
    min-height: 250px;
  }

  .masonry-overlap-hero-button .primary {
    margin: 0 auto;
  }

  .masonry-overlap-hero-button .hero-button .hero-title {
    text-align: center;
  }
}

@media (min-width: 400px) and (max-width: 768px) {
}

@media (max-width: 400px) {
  .masonry-overlap-hero-button .masonry-grid {
    min-height: 220px;
  }
}

/******************** Hero Columns *********************/
.hero-columns .full-width-image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: right bottom;
  object-position: right bottom;
}

.hero-columns .wrapper {
  padding-left: 5vw;
}

.hero-columns .hero-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 900;
}

.hero-columns .button-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.hero-columns .slider-planes-wrapper {
  bottom: 0;
  left: 10%;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 768px) {
  .hero-columns .title-background-wrappper {
    justify-content: center !important;
  }
}

@media (min-width: 1024px) {
  .hero-columns .title-background-wrappper {
    justify-content: start !important;
  }
}

@media (min-width: 2000px) {
  .hero-columns .full-width-image {
    /* max-height: 500px; */
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .hero-columns .wrapper {
    padding-left: 0;
  }

  .hero-columns .hero-title {
    font-size: 21px;
    line-height: 24px;
  }

  .hero-columns .button-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .hero-columns .img-full .mobile img {
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .hero-columns .img-planes-mobile {
    width: 300px;
    bottom: 9px;
    right: 4px;
  }
}

@media (min-width: 400px) and (max-width: 768px) {
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-columns .full-width-image {
    max-width: 90vw;
  }

  .hero-columns .slick-slide img {
    width: 70%;
  }

  .hero-columns .slider-planes-wrapper {
    left: 18%;
  }
}

/**************** Img Full ******************/
.img-full.desktop img {
  /* height: 28rem; */
  -o-object-fit: cover;
  /* object-fit: cover; */
  -o-object-position: 0 60%;
  /* object-position: 40% 60%; */
}

@media (max-width: 1024px) {
  .img-full.desktop img {
    height: 20rem;
  }
}

@media (max-width: 768px) {
  .img-full.desktop img {
    height: auto !important;
  }
}

/****************** Brand Logos ********************/
.masonry-overlap-hero-button .brand-logos {
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .masonry-overlap-hero-button .brand-logos {
    margin: 0;
    justify-content: flex-start;
  }
}
/****************** Branches ********************/
.branches {
  background-color: #f7f7f7;
}

.branches .branches-title {
  background: var(--color-primary);
  letter-spacing: 0.1em;
  margin: 0;
  color: white;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 30px;
  padding: 30px 0;
}

.branches .branches-title:after {
  content: "";
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  display: block;
  position: absolute;
  top: -50px;
}

.branches .branches-title span:first-of-type {
  margin-bottom: 10px;
}

.branches .branches-title-wrapper {
  background-size: cover;
  height: 100%;
}

.branches .branches-featured .title-top {
  font-size: 21px;
  line-height: 24px;
  font-weight: 300;
}

.branches .branches-featured .title-bottom {
  color: var(--color-primary);
  font-size: 24px;
  line-height: 27px;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.branches-featured .text {
  font-size: 14px;
  line-height: 15px;
  font-weight: 400;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0;
  width: 90%;
  display: block;
}

.branches .branches-featured .icon-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  padding: 0;
  margin-right: 10px;
  width: 10%;
}

.branches .branches-featured img {
  /* margin-right: 10px; */
  width: 30px;
}

.branches .slick-slide.slick-current {
  background: #f7f7f7;
  position: relative;
  z-index: 1;
}

.branches .slick-slide {
  padding: 0px 50px 50px;
}

.branches-featured-container {
  padding: 30px 0 0;
}

.branches .slick-slide.slick-current:before {
  content: "";
  display: block;
  width: 40px;
  height: 200px;
  position: absolute;
  left: -40px;
  background-color: #f7f7f7;
  bottom: 0;
}

.slider-branches-home .slick-prev,
.slider-branches-home .slick-next,
.slider-branches-home .carousel-control-next-icon,
.slider-branches-home .carousel-control-next-icon,
.slider-branches-home .carousel-control-prev-icon {
  top: 85% !important;
  background-color: var(--color-primary) !important;
  color: white;
  background-image: none !important;
  position: absolute;
  padding: 0 20px 0 10px !important;
  outline: none !important;
  border: 0px;
}

.branches-map {
  /*height: 100%;*/
  height: 300px !important;
}

#mapa-personal {
  height: 300px !important;
  width: 100%;
}

.branches .paragraph {
  display: flex;
}

.slider-branches-home .slick-prev,
.slider-branches-home .carousel-control-prev-icon {
  left: 76% !important;
  display: none !important;
}

.slider-branches-home .slick-next,
.slider-branches-home .carousel-control-next-icon {
  right: 50px !important;
}

.slick-list {
  padding: 0 !important;
}

@media (max-width: 768px) {
  .slider-branches-home .carousel-control-prev-icon {
    left: 10% !important;
  }

  .slider-branches-home .carousel-control-next-icon {
    right: 10% !important;
  }

  .branches-featured-container {
    padding: 0 0 50px;
  }

  .branches-featured .text {
    font-size: 14px;
  }

  .branches .paragraph {
    padding: 0 0px;
  }

  .branches .branches-title {
    text-align: center;
    font-size: 24px;
    padding: 20px 0;
  }

  .slider-branches-home .carousel-control-next-icon,
  .slider-branches-home .carousel-control-prev-icon {
    top: 100% !important;
  }

  .slider-branches-home .slick-next {
    top: 95% !important;
  }
}

.main-footer--title {
  font-size: 20px;
  text-transform: none;
  font-weight: bold;
}

.main-footer--contacto a {
  color: #000000 !important;
  text-decoration: none;
  line-height: 1.5em;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.image-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.hero-columns .slick-slide img {
  width: 80%;
}

@media (min-width: 768px) {
  .slider-planes-wrapper.mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-father {
    padding: 0px;
  }

  .social-network-icon {
    width: 30px;
    height: 30px;
  }

  .branches .slick-slide {
    padding: 40px 35px;
  }
}

@media (min-width: 2000px) {
  .hero-columns .slider-planes-wrapper {
    left: 10% !important;
  }

  .selector-autos--carousel .slick-arrow {
    height: 36px !important;
    width: 26px !important;
    z-index: 9000;
  }
}
