/* @media screen and (min-width: 768px) { */
.home .site-content {
  margin-top: -100px;
}

#masthead {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom-color: transparent;
}
/* } */

.storefront-breadcrumb {
  display: none;
}

/* Home slider */

#desktop-home-slider {
  margin-bottom: 1em;
}

#desktop-home-slider * {
  box-sizing: border-box;
}

/* Slideshow container */

@media screen and (max-width: 767px) {
  #mobile-home-slider {
    display: block;
  }
  #desktop-home-slider {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  #mobile-home-slider {
    display: none;
  }
  #desktop-home-slider {
    display: block;
  }
}

#desktop-home-slider .slideshow-container {
  width: 100vw;
  position: relative;
  margin: auto;
  left: 50%;
  transform: translatex(-50%);
}

#mobile-home-slider .slideshow-container {
  width: 100vw;
  position: relative;
  margin: auto;
  left: 50%;
  transform: translatex(-50%);
}

.slide-content {
  width: 100%;
  height: 90vh;
  max-height: 700px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media screen and (max-width: 767px) {
  .slide-content {
    max-height: 550px;
  }
}

.slide-content h1 {
  font-family: var(--base-font);
  font-weight: 900;
  font-size: 5rem;
  color: var(--purrple);
  text-align: center;
  text-shadow: 5px 5px 5px var(--grey);
  -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}

@media screen and (max-width: 767px) {
  .slide-content {
    align-items: center;
  }

  .slide-content h1 {
    font-size: 3rem;
  }
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--purrple),
      0 0 30px var(--purrple), 0 0 40px var(--purrple), 0 0 50px var(--purrple),
      0 0 60px var(--purrple);
  }
  to {
    text-shadow: 0 0 10px #fff, 0 0 20px var(--grey), 0 0 30px var(--grey),
      0 0 40px var(--grey), 0 0 50px var(--grey), 0 0 60px var(--grey),
      0 0 70px var(--grey);
  }
}

/* Caption text */
#desktop-home-slider .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* home [products] carousel */

.storefront-product-section {
  margin: 3em 0 0 0 !important;
}

.storefront-product-section .section-header {
  display: flex;
  margin-bottom: 15px;
}

.storefront-product-section .section-header-1col {
  justify-content: center;
}

.storefront-product-section .section-header-2col {
  justify-content: space-between;
}

.storefront-product-section .section-title {
  margin: 0 0 0 1em !important;
  font-family: var(--alt-font);
  font-weight: 800;
}

.storefront-product-section .section-title-link {
  margin: 0 1em 0 0 !important;
  font-family: var(--alt-font);
  font-weight: 800;
  font-size: 2em;
  line-height: 1.214;
  color: var(--purrple);
}

@media screen and (max-width: 767px) {
  .storefront-product-section .section-header-2col {
    justify-content: center;
  }
  .storefront-product-section .section-title {
    margin: 0 !important;
  }
  .storefront-product-section .section-title-link {
    display: none;
  }
}

.owl-carousel .product {
  width: 100% !important;
  min-height: 425px;
}

.med-ct_product_brand-carousel .owl-carousel .product {
  min-height: inherit !important;
}

@media screen and(min-width: 768px) {
  .products .product {
    width: 24% !important;
    margin-left: 1% !important;
    margin-right: 1% !important;
    margin-bottom: 1% !important;
  }

  .products .product.first {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .products .product.last {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.custom-tax-carousel.products .product img {
  max-height: inherit;
  min-height: inherit;
  object-fit: contain;
}

.owl-carousel .products .owl-item {
  /* background: var(--grey); */
}

/* owl carousels */

.custom-tax-carousel .product {
  width: 100% !important;
}

.custom-tax-carousel .active:not(.center) {
  transform: scale(0.8) !important;
  filter: blur(1px) !important;
}

/* Home banners */

.home-banner-section {
  margin: 75px auto;
}

.home-banner-section.full {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translatex(-50%);
}

.home-banner-section.right .column-left {
  order: 2;
}

.home-banner-container {
  width: 100%;
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  min-height: 500px;
}

.home-banner-container h1,
.home-banner-container h2,
.home-banner-container h3 {
  font-family: var(--alt-font);
}

.home-banner-container .column-full {
  background-size: contain;
  background-repeat: repeat-x;
  text-align: center;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-banner-container .column-full::before {
  content: "";
  inset: 0;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.home-banner-container .column-full h1,
.home-banner-container .column-full p,
.home-banner-container .column-full a {
  position: relative;
  z-index: 2;
}

.home-banner-container > div.column-left,
.home-banner-container > div.column-right {
  width: 50%;
  background-color: #f2f2f2;
  background-image: url("https://demo.medadvice.gr/esgym-fashion.gr/wp-content/themes/MedAdviceSF/assets/concrete-wall-2.png");

  background-repeat: repeat;
}

@media screen and (max-width: 767px) {
  .home-banner-container > div.column-left,
  .home-banner-container > div.column-right {
    width: inherit;
  }
}

.home-banner-container > div.column-full {
  width: 100%;
}

.home-banner-container > div:nth-child(1) {
  padding: 3% 5%;
  background-color: #f2f2f2;
}

.home-banner-container .button {
  width: fit-content;
  margin: 0 auto;
  display: block;
  float: left;
}

.home-banner-container .column-full .button {
  float: inherit;
}

@media screen and (max-width: 767px) {
  .home-banner-container {
    flex-direction: column;
    min-height: 300px;
  }

  .home-banner-container > div {
    width: 100%;
  }
}

.home-banner-container > div {
  background-position: center;
  background-repeat: no-repeat;
}
