.hero{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media screen and (orientation: landscape) {
.hero.hero--hend {
  justify-content: flex-end;
}
.hero.hero--vstart {
  align-items: flex-start;
}
.hero.hero--hend {
  align-items: flex-end;
}
}

.carousel-cell__hero {
position: relative;
height: auto;
margin-bottom: 0;
}

.hero__content{
  width: 100%;
  text-align: center;
}

@media screen and (orientation: landscape) {
  .hero__content{
  width: 60%;
  }
  .hero__content.hero__content--tleft{
      text-align: left;
  }
  .hero__content.hero__content--tright{
      text-align: right;
  }
}

.hero__section {
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  flex-direction: column;
  position: relative;
}
@media screen and (min-width:1024px){
  .hero__section {
  padding: 40px 120px;
  flex-direction: row;
  }
}
.hero__section.image__top-mobile {
  flex-direction: column-reverse;
}
.hero__section.image__bottom-mobile {
  flex-direction: column;
}
.hero__section.image__bottom-mobile  .hero__image {
  margin-top: 20px  
}
@media screen and (min-width:1024px){
  .hero__section.image__bottom-mobile  .hero__image {
      margin-top: 0;
    }
    .hero__section.image__right-desktop {
      flex-direction: row;
    }
    .hero__section.image__left-desktop {
      flex-direction: row-reverse;
    }
}

.hero__content {
  text-align: center;
}
  .hero__content.hero__content--tcenter {
    text-align: center;
  }


.hero__title {
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
  margin-top: 10px;
}

.hero__image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%;
  padding: 20px 0;
}
@media screen and (min-width:1024px){
  .hero__image-container {
      flex: 0 50%;
      justify-content: flex-end;
  }
}

.hero__image {
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  position: relative !important;
}

@media screen and (min-width:768px){
  .hero__image {
      width: 50%;
  }
}
@media screen and (min-width:1024px){
  .hero__image {
      width: 90%;
  }
}

a.btn {
  color: white;
}
a.btn:hover {
    opacity: 0.7;
}

@media screen and (min-width:1024px) {
  .hero__content {
      flex: 0 50%;
  }
  .hero__content.hero__content--tleft {
      text-align: left;
}
.hero__content.hero__content--tright {
  text-align: right;
}
.hero__content {
  max-width: 500px;
}
.hero__title {
//  margin: 0;
}
.hero__subtitle {
  display: block;
}
}
@media screen and (max-width:1023px) {
.carousel-cell__hero {
  //margin-bottom: -10px;
}
.homepage-hero.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
}
.homepage-hero.two-up .hero__image-container {
  justify-content: center;
}
.homepage-hero.two-up .hero__section {
  flex-direction: column-reverse;
  padding: 20px;
}
.homepage-hero.two-up .hero__section .hero__title {
  font-size: 17px;
}
.homepage-hero.two-up .hero__section .hero__subtitle {
  font-size: 13px;
}
}

@media screen and (min-width:1024px) {
.homepage-hero {
  display: grid;
  grid-template-columns: 1fr;
}
.custom__item--hero {
  width: 100%;
}
.custom__item-inner--hero {
  width: 100%;
}
.homepage-hero.one-up {
  width: 100%;
}
.homepage-hero.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1024px;
  margin: 0 auto;
}
.homepage-hero.two-up .hero__image-container {
  justify-content: center;
}
.homepage-hero.two-up .hero__section {
  flex-direction: column-reverse;
  padding: 40px;
}
.homepage-hero.three-up {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1024px;
  margin: 0 auto;
}
.homepage-hero.three-up .hero__image-container {
  justify-content: center;
}
.homepage-hero.three-up .hero__section {
  flex-direction: column-reverse;
  padding: 40px;
}
.homepage-hero.four-up {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  max-width: 1024px;
  margin: 0 auto;
}
.homepage-hero.four-up .hero__image-container {
  justify-content: center;
}
.homepage-hero.four-up .hero__section {
  flex-direction: column-reverse;
  padding: 40px;
}
}

.flickity-page-dots {
bottom: -20px;
z-index: 2;
}

.hero__section.true {
justify-content: center;
}
.hero__section.true .hero__image-container {
justify-content: center;
}
.hero__section.true .hero__content {
position: absolute;
top: 40%;
z-index: 2;
}

.layout-opacity__true {
  background: rgba(255, 255, 255, .4);
  position: absolute;
  width: 100%;
  height: 100%;
}