@import url("../variables.css");

#homepageStoreFormats {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 0 3em 0 !important;
}
#homepageStoreFormats .equal {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}
@media (max-width) {
  #homepageStoreFormats .equal {
    display: block;
  }
}
@media (min-width: 650px) and (max-width: 800px) {
  #homepageStoreFormats {
    padding-bottom: 30px;
  }
}
#homepageStoreFormats .background {
  background-size: cover;
  background-position: center bottom;
  -webkit-filter: blur(11px);
  background-repeat: no-repeat;
  filter: blur(11px);
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius="11");
  width: calc(100% + 100px);
  height: calc(100% + 100px);
  z-index: 1;
  position: absolute;
  bottom: -100px;
  left: -20px;
  -moz-transition: all 600ms ease-out;
  -webkit-transition: all 600ms ease-out;
  -o-transition: all 600ms ease-out;
  transition: all 600ms ease-out;
}
#homepageStoreFormats .background:before {
  content: "";
  z-index: 2;
  width: calc(100% + 100px);
  height: calc(100% + 100px);
  top: -50px;
  left: -50px;
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  background: -o-linear-gradient(top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  background: -ms-linear-gradient(top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#ffffff", GradientType=0 );
  position: absolute;
}
#homepageStoreFormats h2 {
  color: var(--color-red);
  z-index: 2;
}
#homepageStoreFormats > * {
  position: relative;
  z-index: 2;
}
#homepageStoreFormats p {
  line-height: 1.4em;
}
#homepageStoreFormats .storeFormat {
  text-align: left;
  margin-top: 45px;
  margin-bottom: 90px;
  z-index: 2;
  height: inherit;
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -o-transform: translate(0px, 200px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 200, 0px);
}
@media (min-width: 650px) and (max-width: 800px) {
  #homepageStoreFormats .storeFormat {
    margin-bottom: 30px;
  }
}
@media (max-width: 460px) {
  #homepageStoreFormats .storeFormat {
    margin-top: 20px;
    margin-bottom: 0px;
  }
}
#homepageStoreFormats .storeFormat.in-view {
  opacity: 1;
  transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
}
#homepageStoreFormats .storeFormat:nth-child(1) {
  -moz-transition: all 400ms ease-out;
  -webkit-transition: all 400ms ease-out;
  -o-transition: all 400ms ease-out;
  transition: all 400ms ease-out;
}
#homepageStoreFormats .storeFormat:nth-child(2) {
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
}
#homepageStoreFormats .storeFormat:nth-child(3) {
  -moz-transition: all 1100ms ease-out;
  -webkit-transition: all 1100ms ease-out;
  -o-transition: all 1100ms ease-out;
  transition: all 1100ms ease-out;
}
#homepageStoreFormats .storeFormat:nth-child(4) {
  -moz-transition: all 1500ms ease-out;
  -webkit-transition: all 1500ms ease-out;
  -o-transition: all 1500ms ease-out;
  transition: all 1500ms ease-out;
}
#homepageStoreFormats .storeFormat h3 {
  color: var(--color-red);
  font-size: 21px;
  text-decoration: none;
  margin-bottom: 5px;
}
#homepageStoreFormats .storeFormat img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
#homepageStoreFormats .storeFormat .imageBackground {
  border-top: solid 2px var(--color-red);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  height: 100%;
}
@media (max-width: 460px) {
  #homepageStoreFormats .button {
    margin-top: 20px;
    width: 100%;
  }
}
#homepageStoreFormats p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5em;
  margin-top: 1em;
  font-family: "Roboto Condensed";
  color: var(--color-text-dark);
}

.acf-block-preview #homepageStoreFormats .col-sm-3 {
  display: inline-block;
  width: 23%;
  transform: inherit;
}
