.live-shopping {
  position: absolute;
  color: #fff;
  margin-top: 0.5rem;
  left: 50%;
  z-index: 950;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);

  @media (min-width: 768px) {
    left: auto;
    right: 0.7em;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }
}

.slider-caption.top-left {
  max-width: 33.333%;
  justify-content: flex-start;
  top: 12vh;
}

.nameplate-container,
.slogan-container,
.price-buttons-container,
.services-container {
  margin: 1rem 0px;
}

.nameplate-container img {
  max-width: 180px;
}

.slider-caption.bottom-right {
  top: unset !important;
  bottom: 12vh;
  max-width: unset;
  position: absolute;
  display: flex;
  justify-content: flex-end;
  right: 10px;
}

#features-section {
  background-color: #fff;
  padding: 2rem;
}

.home-section {
  width: 100%;
  height: calc(100vh - 100px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 0;
  min-height: 700px;
}
.home-section.content-bottom {
  align-items: flex-end;
}

#new-hs-section {
  background-image: url(../images/home/mg-ev-section-estacion-back.jpg);
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 0;
}
#new-hs-section .parallax-left-left-container {
  padding-bottom: 0;
}
#technology-section {
  background-image: url(../images/home/mg-ev-section-bateria-back.jpg);
}
#engine-section {
  background-image: url(../images/home/mg-ev-section-motores-back.jpg);
}
#control-section {
  background-image: url(../images/home/mg-ev-section-udidad-control-back.jpg);
}

.new-hs-image-container {
  margin-top: 3rem;
  margin-left: 2rem;
}

.section-nameplate {
  max-width: 350px;
  height: auto;
}
.feature-box .fbox-content h3.title {
  color: var(--themecolor);
  font-size: 1.5rem;
  font-family: var(--themefont);
  text-transform: none;
}
.feature-box .fbox-content h5.subtitle {
  color: var(--textcolor);
  font-size: 1rem;
  font-family: var(--themefont);
  text-transform: none;
}
.fbox-border.fbox-effect .fbox-icon i {
  color: var(--textcolor);
}
.fbox-border.fbox-effect .fbox-icon i:hover,
.fbox-border.fbox-effect:hover .fbox-icon i {
  color: #fff;
  box-shadow: 0 0 0 1px var(--themecolor);
}
.fbox-border.fbox-effect .fbox-icon i:hover,
.fbox-border.fbox-effect:hover .fbox-icon i .top-cart-item-image:hover,
.grid-filter.style-3 li.activeFilter a,
.post-timeline .entry:hover .entry-timeline,
.post-timeline .entry:hover .timeline-divider,
.cart-product-thumbnail img:hover,
.fbox-outline .fbox-icon a,
.fbox-border .fbox-icon a,
.heading-block.border-color::after,
.page-item.active .page-link,
.page-link:focus,
.dark .cart-product-thumbnail img:hover {
  border-color: var(--textcolor);
}
.fbox-border.fbox-effect .fbox-icon i::after {
  background-color: var(--themecolor);
}

.border-left-blue {
  border-left: 1px solid var(--themecolor);
}
.one-page-arrow {
  bottom: 0px;
}

#content {
  z-index: 900;
}

/** coming soon takeover **/

.mfp-content {
  max-width: 90%;
}

@media (min-width: 768px) {
  .mfp-content {
    max-width: 80%;
  }
}

.modal-dialog {
  max-width: 100%;
  margin: 0;
}

.btn-close {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E");
}

#takeover .modal-content {
  border: none;
  background-color: transparent;
}
#takeover .modal-body .row {
  justify-content: space-between;
  flex-direction: column;
  height: 85vh;
}

#takeover .modal-content .modal-body {
  background-image: url(../images/registro/mg-registro-back.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: auto;
  min-height: 500px;
  background-color: transparent;
  padding: 0;
}

@media (min-width: 768px) {
  #takeover .modal-content .modal-body {
    background-image: url(../images/registro/mg-registro-promocion.jpg);
    min-height: 750px;
  }
}
#takeover .modal-body.takeover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  height: 10%;
  z-index: 99;
}

#takeover .modal-body.takeover-footer {
  display: flex;
  justify-content: space-between;
  height: 10%;
  margin-top: 30px;
}

#takeover .modal-body.takeover-footer .takeover-footer-logo,
#takeover .modal-body.takeover-footer .takeover-footer-enjoy {
  height: 50px;
}

#takeover .modal-body.takeover-title {
  color: white;
  font-size: 35px;
}

#takeover .close.close-modal,
.fancybox-close-small,
.close.back {
  top: 0% !important;
  right: 0% !important;
}

.video-container {
  height: calc(100vh - 140px);
  min-height: 500px;
}

#takeover .takeover-title {
  font-size: 2.9rem;
  font-weight: lighter;
}

.mfp-container {
  padding: 0;
}

.fancybox-close-small:after {
  font-size: 40px !important;
  font-weight: lighter !important;
  border: none !important;
  color: white !important;
  width: unset !important;
  height: unset !important;
  top: unset !important;
  right: unset !important;
}

.fancybox-close-small {
  position: absolute;
  z-index: 10;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 1) !important;
  width: 40px;
  height: 40px;
  transition: 0.4s all;
  color: white !important;
  opacity: 1;
  border-radius: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.fancybox-close-small:hover,
.fancybox-close-small:focus {
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.fancybox-bg,
.mfp-bg,
.dark .bg-overlay-bg,
.bg-overlay-bg.dark {
  background-color: rgba(0, 0, 0, 0.8) !important;
}
.fancybox-close-small:hover:after {
  color: #fff !important;
  background: transparent !important;
}

.menu-link.principal-link:not(.button) {
  color: rgba(255, 255, 255, 0.6) !important;
}

#header:not(.dark) .menu-link.principal-link .link-text,
#header:not(.dark)
  #primary-menu
  ul
  li.current
  .menu-link.principal-link
  .link-text,
#header:not(.dark) .menu-item > .menu-link .link-text,
#header:not(.dark) .menu-item.current > .menu-link .link-text {
  color: #666666aa !important;
}

.menu-link.principal-link:hover .link-text,
#primary-menu ul li.current .menu-link.principal-link .link-text,
.menu-item:hover > .menu-link .link-text,
.menu-item.current > .menu-link .link-text {
  color: #ffffff !important;
}

.sticky-header .menu-link.principal-link:hover .link-text,
.sticky-header #primary-menu ul li.current .menu-link.principal-link .link-text,
.sticky-header .menu-item:hover > .menu-link .link-text,
.sticky-header .menu-item.current > .menu-link .link-text {
  color: #666666 !important;
}

.transparent-button {
  color: #fff;
}

#header:not(.dark) .transparent-button {
  color: #666666aa;
}

.menu-container:not(.mobile-primary-menu) {
  flex-wrap: nowrap;
}
@media (min-width: 768px) {
  .btn.btn-sm {
    padding: 0.35rem 1.7rem;
    font-size: 1.1rem;
    margin: 5px 5px;
  }
}

@media (max-width: 1024px) {
  .parallax-left-left-container {
    padding-left: 30px;
    padding-right: 30px;
  }
  #new-hs-section {
    background-image: url(../images/home/mg-ev-section-estacion-back-mobile.jpg);
  }
  #technology-section {
    background-image: url(../images/home/mg-ev-section-bateria-back-mobile.jpg);
  }
  #engine-section {
    background-image: url(../images/home/mg-ev-section-motores-back-mobile.jpg);
  }
  #control-section {
    background-image: url(../images/home/mg-ev-section-udidad-control-back-mobile.jpg);
  }
  .new-hs-image-container {
    margin-top: 3rem;
    margin-left: 0;
    text-align: center;
  }
  .section-nameplate {
    max-width: 300px;
  }
  .home-section {
    height: calc(100vh - 60px);
    min-height: 700px;
  }
  .border-left-blue {
    border-left: none;
  }
}

@media (max-width: 767px) {
  .btn-sm,
  .btn-group-sm > .btn {
    font-size: 0.7rem;
    margin: 5px;
  }

  #takeover .modal-body.takeover-rx8 .takeover-header {
    flex-direction: column;
  }
  #takeover .modal-body.takeover-rx8 .takeover-title {
    font-size: 20px;
  }
  #takeover .modal-body.takeover-rx8 .takeover-footer {
    flex-direction: column;
  }

  #takeover .close.close-modal,
  .fancybox-close-small,
  .close.back {
    top: 5% !important;
    right: 5% !important;
  }
  #takeover .slider-arrow-left,
  #takeover .slider-arrow-right,
  #takeover .action.action-close {
    margin: 0px;
  }

  .menu-link.principal-link .link-text,
  #primary-menu ul li .menu-link.principal-link .link-text,
  .menu-item > .menu-link .link-text,
  .menu-link.principal-link:hover .link-text,
  #primary-menu ul li.current .menu-link.principal-link .link-text,
  .menu-item:hover > .menu-link .link-text,
  .menu-item.current > .menu-link .link-text {
    color: #666666 !important;
  }
}

@media (max-height: 610px) and (max-width: 767px) {
  .swiper-slide,
  #slider.slider-element.swiper_wrapper {
    min-height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .car-slider-image,
  .slotholder {
    left: 30% !important;
  }
  .description-container {
    font-size: 1.5vw !important;
    line-height: 15px;
  }
  .slider-text-container {
    max-width: 100% !important;
  }
  .price-buttons-container {
    max-width: 50% !important;
    align-items: flex-start;
    margin-left: 10px;
  }
  .enjoy-container {
    top: 255px !important;
    right: 10px;
  }

  .enjoy-container img {
    max-height: 100px;
  }

  .find-dealer-right {
    width: 85%;
    top: 50px;
  }
}

@media (max-width: 519px) {
  .car-slider-selection {
    padding: 2vh 10px 10vh;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .slider-caption.bottom-right {
    bottom: 35vh;
  }

  .price-buttons-container {
    left: 4vw !important;
    align-items: flex-start;
    bottom: 15%;
  }

  .enjoy-container {
    bottom: 42%;
    width: 20%;
    top: unset !important;
    left: 4vw;
  }

  .slider-text-container {
    top: 2vh !important;
    left: 0px;
  }
  .slider-text-container .title-container img {
    max-width: 180px;
  }

  .title-container.title-with-labels {
    padding: 2vw 11vw 1vw 10vw;
  }

  .title-container.title-container.title-with-labels img {
    max-width: 160px;
  }

  .title-label.year {
    font-size: 1.5rem;
  }

  .slider-caption.price-buttons-container .button.button-large {
    padding: 0 17px;
    font-size: 12px;
    height: 34px;
    line-height: 34px;
  }

  .find-dealer-right {
    margin: 0px;
    margin-top: 80vh;
  }

  .about-us-container {
    background-position: center;
    background-size: 200%;
  }
  #takeover .close.close-modal,
  .close.back {
    top: 5% !important;
    right: 5% !important;
  }

  #takeover .modal-content .modal-body .row,
  #takeover .modal-content .modal-body {
    min-height: 580px;
    height: auto !important;
  }
}

@media (min-width: 1024px) and (max-height: 800px) {
  .swiper-slide,
  #slider.slider-element.swiper_wrapper {
    min-height: 800px;
  }
}

@media (max-width: 360px) {
  .swiper-slide,
  #slider.slider-element.swiper_wrapper,
  #slider.slider-element.swiper_wrapper .swiper-slide {
    min-height: 100vh;
  }
  #takeover .modal-content .modal-body .row {
    height: 85vh;
  }
  #takeover .modal-content .modal-body {
    height: 85vh !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .nameplate-container img {
    max-width: 75%;
  }
  .slogan-container {
    font-size: 1.5rem;
    width: fit-content;
    max-width: 60%;
  }

  .enjoy-container img {
    max-height: 100px;
  }

  .price-buttons-container {
    max-width: 100% !important;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 10px;
  }
  .nameplate-container,
  .slogan-container,
  .price-buttons-container,
  .price-caption {
    margin: 0.5rem 0px;
    padding: 0.5rem 0px;
  }
  .services-container {
    font-size: 0.9rem;
    padding: 1.2rem 0.7rem;
  }
  .slider-caption .price-caption {
    font-size: 1.6rem;
  }
}
