/* LIOVELA B2C V78F - mobile home slider caption LAST layer
 * Autor: Modyfikator stworzony przez gumis
 * Cel: napisy i guziki glownego slidera mobile maja byc widoczne po wszystkich starszych warstwach V66/V70.
 * Zakres: tylko strona glowna, tylko #wrapper-top/#carousel, tylko mobile <= 767px.
 * Nie rusza: produkt, koszyk, checkout, platnosci, header, jezyki, DB.
 */
@media (max-width: 767px) {
  body#index #wrapper-top,
  body#index #wrapper-top .container,
  body#index #wrapper-top #carousel,
  body#index #carousel,
  body#index .carousel.slide,
  #index #wrapper-top #carousel {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body#index #carousel .carousel-inner,
  body#index #carousel ul.carousel-inner {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body#index #carousel .carousel-item,
  body#index #carousel li.carousel-item {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body#index #carousel .carousel-item.active,
  body#index #carousel li.carousel-item.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
  }

  body#index #carousel figure,
  body#index #carousel .carousel-item > figure,
  body#index #carousel .carousel-item.active > figure {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body#index #carousel figure > a,
  body#index #carousel .carousel-item > figure > a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
  }

  body#index #carousel img,
  body#index #carousel figure img,
  body#index #carousel .carousel-item.active img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body#index #carousel figcaption,
  body#index #carousel figcaption.caption,
  body#index #carousel .caption,
  body#index #carousel .carousel-item.active figcaption,
  body#index #carousel .carousel-item.active figcaption.caption,
  body#index #carousel .carousel-item.active .caption {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    top: 50% !important;
    bottom: auto !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
    z-index: 99 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    text-align: left !important;
    background: transparent !important;
  }

  body#index #carousel .slide-text,
  body#index #carousel figcaption.caption .slide-text,
  body#index #carousel .caption .slide-text,
  body#index #carousel .carousel-item.active .slide-text {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 8px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
  }

  body#index #carousel .slide-text > div,
  body#index #carousel .slide-text > div[style],
  body#index #carousel .slide-text > div[style*="margin-top"],
  body#index #carousel .slidertext1,
  body#index #carousel .caption-description,
  body#index #carousel .caption-description > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    box-sizing: border-box !important;
    text-align: left !important;
    float: none !important;
    clear: both !important;
    pointer-events: auto !important;
  }

  body#index #carousel .slide-text > div[style*="margin-top:200px"],
  body#index #carousel .slide-text > div[style*="margin-top: 200px"],
  body#index #carousel .slide-text > div[style*="margin-top:170px"],
  body#index #carousel .slide-text > div[style*="margin-top: 170px"] {
    margin-top: 8px !important;
  }

  body#index #carousel .slidertext1,
  body#index #carousel .slidertext1[style] {
    display: inline-block !important;
    width: auto !important;
    max-width: 92vw !important;
    padding: 7px 10px !important;
    border-radius: 3px !important;
    line-height: 1.18 !important;
  }

  body#index #carousel .slidertext1 a,
  body#index #carousel .slidertext1 span,
  body#index #carousel .slide-text span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
  }

  body#index #carousel a.sliderbutton,
  body#index #carousel .sliderbutton,
  body#index #carousel .slide-text a.sliderbutton,
  body#index #carousel .caption .sliderbutton,
  body#index #carousel .btn.sliderbutton,
  body#index #carousel a.btn.btn-primary.sliderbutton {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 92vw !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 34px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    z-index: 101 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    line-height: 1.15 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background: #d4af37 !important;
    border: 0 !important;
    border-radius: 3px !important;
  }

  body#index #carousel .direction,
  body#index #carousel .carousel-control,
  body#index #carousel a.carousel-control {
    z-index: 120 !important;
  }
}