.cms-page-view .main-container {
    overflow: hidden;
}
.block-container {
  max-width: 1140px;
  margin: 0 auto;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

#promo img {
  width: 100%;
  height: auto;
  display: block;
}

#promo h4,
#promo p {
  display: block;
  padding: 0;
  margin: 0;
}

@media(max-width: 991px) {
  .block-container {
    padding: 0 40px;
  }
}

@media(max-width: 670px) {
  .block-container {
    padding: 0;
  }
}

@media (max-width: 991px) and (min-width: 670px) {
  #promo .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

.cms-page-view .breadcrumbs {
  display: none;
}

.cms-page-view .main-container>.container {
  width: unset;
  max-width: unset;
  padding: 0;
}

.promo__banner {
position: relative;
  min-height: 401px;
  background-image: url(/media/up/hansgrohe/promo/2021/your_rules/main-banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;width: 100vw;
    transform: translateX(-50vw);
    left: 50%;
}

@media (max-width: 991px) {
  .promo__banner {
    background-image: url(/media/up/hansgrohe/promo/2021/your_rules/tablet-banner.jpg);
  }
}

@media (max-width: 480px) {
  .promo__banner {
    background-image: url(/media/up/hansgrohe/promo/2021/your_rules/mobile-banner1.jpg);
    background-position-x: 0%;
    min-height: 409px;
  }
}

/* promo title */

#promo .promo__title {
font-family: var(--font-family-primary);
  font-weight: 500;
  font-size: 46px;
  line-height: 55px;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
  left: 50%;
  transform: translateX(-50%);
  top: -285px;
  position: absolute;
}

@media (max-width: 991px) {
  #promo .promo__title {
    font-size: 39px;
    top: -261px;
  }
}

@media (max-width: 600px) {
  #promo .promo__title {
    font-size: 28px;
    line-height: 43px;
    top: -233px;
    width: 300px;
  }
}

/* finish */

#promo .finish {
  margin: 90px auto 93px;
  color: #312F2F;
}

#promo .finish__title {
font-family: var(--font-family-primary);
  font-size: 48px;
  line-height: 55px;
  text-align: center;
  font-weight: 500;
  color: #312F2F;
}

#promo .finish__subtitle {
font-family: var(--font-family-primary);
  font-size: 38px;
  line-height: 45px;
  font-weight: 300;
  text-align: center;
  max-width: 850px;
  margin: 31px auto 0;
}

@media (max-width: 991px) {
  #promo .finish {
    margin-bottom: 100px;
    color: #312F2F;
  }

  #promo .finish__title {
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 650px;
    margin: -46px auto 37px;
  }

  #promo .finish__subtitle {
    text-align: center;
    max-width: 850px;
    margin: 0;
    font-weight: 300;
    font-size: 23px;
    line-height: 27px;
    color: #979191;
  }

  #promo .finish__subtitle br {
    display: none;
  }
}

@media (max-width: 600px) {
  #promo .finish__title {
    font-size: 27px;
    line-height: 32px;
    margin-bottom: 25px;
    max-width: 300px;
  }

  #promo .finish__subtitle {
    max-width: 850px;
    margin: 0;
    font-size: 18px;
    line-height: 21px;
  }

  #promo .finish {
    margin-bottom: 70px;
    padding: 0 10px;
  }
}

/* colors */

.colors {
  background: #26A792;
  display: flex;
  justify-content: space-between;
  color: #FFFFFF;
  max-width: 1920px;
  margin: 0 auto;
}

.colors__pic,
.colors__text {
  width: 50%;
}

.colors__pic {
  background-image: url(/media/up/hansgrohe/promo/2021/your_rules/colors-bkg.jpg);
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.colors__text {
  padding: 88px 60px 163px 70px;
}

#promo .colors__text-title {
font-family: var(--font-family-primary);
  font-size: 38px;
  line-height: 45px;
  color: inherit;
  font-weight: 500;
  margin-bottom: 50px;
}

.colors__text-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.colors__text-list__item {
font-family: var(--font-family-primary);
  font-weight: 300;
  font-size: 28px;
  line-height: 45px;
  color: inherit;
  margin-bottom: 38px;
  position: relative;
  padding-left: 25px;
}

.colors__text-list__item:last-of-type {
  max-width: 750px;
}

.colors__text-list__item::before {
  content: '—';
font-family: var(--font-family-primary);
  font-weight: 300;
  font-size: 28px;
  position: absolute;
  left: 0;
}

.colors__text-list__item:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 1060px) {
  .colors {
    flex-direction: column;
  }

  .colors__pic {
    background-image: url(/media/up/hansgrohe/promo/2021/your_rules/colors-bkg.jpg);
    background-position: 50% 50%;
    padding-bottom: 69%;
    width: 100%;
  }

  #promo .colors__text-title {
font-family: var(--font-family-primary);
    font-size: 48px;
    line-height: 50px;
    color: inherit;
    font-weight: 500;
    margin-bottom: 30px;
  }

  .colors__text {
    padding: 41px 57px 38px 49px;
    width: 100%;
  }

  .colors__text-list__item {
font-family: var(--font-family-primary);
    font-weight: 300;
    font-size: 20px;
    line-height: 31px;
    padding-left: 19px;
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  #promo .colors__text-title {
    font-size: 27px;
    line-height: 30px;
    margin-bottom: 30px;
  }

  .colors__text {
    padding: 50px 10px 55px 10px;
    width: 100%;
  }

  .colors__text-list__item {
    padding-left: 0;
  }

  .colors__text-list__item::before {
    position: static;
  }
}

@media (max-width: 450px){
  .colors__pic {
    background-image: url(/media/up/hansgrohe/promo/2021/your_rules/colors-bkg.jpg);
    background-position: 80% 50%;
    padding-bottom: 99%;
    width: 100%;
  }
}

/* gallery */

.gallery {
  margin-top: 100px;
}

.gallery .block-container {
  max-width: 1160px;
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#promo .gallery__item {
  margin: 10px 10px 0 0;
  width: calc(1/2*100% - (1 - 1/2)*10px);
  object-fit: cover;
  object-position: center;
  display: flex;
  position: relative;
  min-height: 431px;
  background-position: 50% 50%;
  background-size: cover;
}

#promo .gallery__item.small {
  width: calc(1/3*100% - (1 - 1/3)*10px);
  min-height: 285px;
}

#promo .gallery__item:nth-child(1),
#promo .gallery__item:nth-child(2) {
  margin-top: 0;
}

#promo .gallery__item:nth-child(2),
#promo .gallery__item:nth-child(5),
#promo .gallery__item:nth-child(7),
#promo .gallery__item:nth-child(10),
#promo .gallery__item:nth-child(12),
#promo .gallery__item:nth-child(15) {
  margin-right: 0;
}

#promo .gallery__item:nth-child(1) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/1.jpg')
}

#promo .gallery__item:nth-child(2) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/2.jpg')
}

#promo .gallery__item:nth-child(3) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/6.jpg')
}

#promo .gallery__item:nth-child(4) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/4.jpg')
}

#promo .gallery__item:nth-child(5) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/5.jpg')
}

#promo .gallery__item:nth-child(6) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/3.jpg')
}

#promo .gallery__item:nth-child(7) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/7.jpg')
}

#promo .gallery__item:nth-child(8) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/8.jpg')
}

#promo .gallery__item:nth-child(9) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/9.jpg')
}

#promo .gallery__item:nth-child(10) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/10.jpg')
}

#promo .gallery__item:nth-child(11) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/11.jpg')
}

#promo .gallery__item:nth-child(12) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/12.jpg')
}

#promo .gallery__item:nth-child(13) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/13.jpg')
}

#promo .gallery__item:nth-child(14) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/14.jpg')
}

#promo .gallery__item:nth-child(15) {
  background-image: url('/media/up/hansgrohe/promo/2021/your_rules/15.jpg')
}

#promo .gallery-hidden .gallery__item:nth-child(n+6) {
  display: none;
}

#promo .gallery__open {
  width: calc(100% / 3 - 7px);
  min-height: 100%;
  background: #E7E7E7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-self: stretch;
  margin-top: 10px;
}

#promo .gallery__open-qty {
font-family: var(--font-family-primary);
  font-weight: 300;
  font-size: 42px;
  line-height: 45px;
  color: #282528;
}

#promo .gallery__open-qty::before {
  content: '+';
}

#promo .gallery__open-show {
font-family: var(--font-family-primary);
  font-weight: 300;
  font-size: 32px;
  line-height: 45px;
  color: #282528;
  text-decoration: underline;
}

@media(max-width: 1200px) {
  .gallery .block-container {
    padding: 0 15px;
  }
}

@media (max-width: 991px) {
  .gallery {
    margin-top: 70px;
  }

  #promo .gallery__open-qty {
    font-size: 32px;
    line-height: 41px;
  }

  #promo .gallery__item {
    min-height: 295px;
  }

  #promo .gallery__item.small {
    min-height: 195px;
  }

  #promo .gallery__open-show {
    font-size: 22px;
    line-height: 41px;
    margin-top: 5px;
  }
}

@media (max-width: 600px) {
  .gallery {
    margin-top: 28px;
  }

  .gallery .block-container {
    padding: 0 10px;
  }

  #promo .gallery-hidden .gallery__item:nth-child(4) {
    display: none;
  }

  #promo .gallery__item,
  #promo .gallery__item.small,
  #promo .gallery__open {
    width: 100%;
  }

  #promo .gallery__item,
  #promo .gallery__item.small {
    margin: 0 0 10px 0;
    min-height: 300px;
  }

  #promo .gallery__open {
    padding: 21px 0 24px;
    margin-top: 0;
  }

  #promo .gallery__open-qty {
    font-size: 32px;
    line-height: 41px;
  }

  #promo .gallery__open-show {
    font-size: 22px;
    line-height: 41px;
    margin-top: 2px;
  }
}

#promo .products {
  margin: 82px auto 50px;
}

#promo .products__title {
font-family: var(--font-family-primary);
  font-weight: 500;
  font-size: 48px;
  line-height: 55px;
  text-align: center;
  color: #282528;
  margin-bottom: 50px;
}

#promo .widget {
  display: block!important;
}

@media(max-width: 991px) {
  #promo .products {
    margin: 74px auto 50px;
  }

  #promo .products__title {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 24px;
  }
}

@media(max-width: 600px) {
  #promo .products {
    margin: 116px auto 50px;
  }
  #promo .products__title {
    font-size: 24px;
    line-height: 35px;
    margin-bottom: 29px;
  }
}
