.fadeLeft,
.fadeRight {
  opacity: 0;
}

.blocker {
  z-index: 999;
}

main#sustainability {
  margin-bottom: 0;
}


main#sustainability header.centralise h1,
main#sustainability header.centralise h2,
main#sustainability header.centralise h3 {
  font-family: "Microbrew Three";
  font-weight: normal;
}

main#sustainability header.centralise h1 {
  font-size: 82px;
}

main#sustainability header.centralise h3 {
  font-size: 42px;
  max-width: 800px;
  margin: 0 auto;
}

main#sustainability header.centralise p {
  font-family: "Weetabix Font";
  font-size: 28px;
  font-weight: normal;
}

main#sustainability .sustainability-slab h2 {
  font-family: "Microbrew Three";
  font-weight: normal;
  font-size: 54px;
  margin-bottom: 20px;
}

main#sustainability .sustainability-slab h2.haveyouhadyours {
  font-family: "Weetabix Font";
  text-transform: none;
  text-align: center;
}

main#sustainability .sustainability-slab h2.haveyouhadyours+img {
  margin: 0 auto;
  display: block;
}

main#sustainability .sustainability-slab p,
main#sustainability .sustainability-slab h4,
main#sustainability .sustainability-slab ul li,
.modal .text-container,
.modal .text-container a {
  font-family: "Weetabix Font";
  font-weight: normal;
  font-size: 32px;
  line-height: 37px;
  color: #270070;
}

main#sustainability .sustainability-slab h4.smaller {
  font-size: 19px;
  line-height: 21px;
}

.modal h2 {
  font-family: "Microbrew Three";
}

.modal,
.modal p,
.modal li,
.modal span {
  font-family: "Weetabix Font";
}

@media screen and (max-width:767px) {
  main#sustainability header.centralise h1 {
    font-size: 64px;
  }

  main#sustainability header.centralise h3 {
    font-size: 28px;
  }

  main#sustainability header.centralise p {
    font-size: 21px;
  }

  main#sustainability .sustainability-slab h2 {
    font-size: 42px;
  }

  main#sustainability .sustainability-slab p,
  main#sustainability .sustainability-slab h4,
  main#sustainability .sustainability-slab ul li,
  .modal .text-container,
  .modal .text-container a {
    font-size: 26px;
  }

  main#sustainability .sustainability-slab h4.smaller {
    font-size: 18px;
  }
}

.modal .text-container a {
  text-decoration: underline;
}

main#sustainability section.sustainability-slab div.text-container.full-width {
  width: 100%;
}

main#sustainability section.sustainability-slab div.text-container.half-width {
  width: 50%;
  padding-left: 60px;
  padding-right: 60px;
}

main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(2) {
  padding-top: 110px;
}

main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(3) {
  padding-top: 230px;
}

@media (min-width:600px) and (max-width:767px) {
  main#sustainability section.sustainability-slab div.text-container.half-width {
    width: 100%;
    padding-left: 60px;
    padding-right: 60px;
  }

  main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(1) {
    padding-top: 200px;
  }

  main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(2) {
    padding-top: 40px;
  }

  main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(3) {
    padding-top: 0px;
  }
}

@media (min-width:0px) and (max-width:599px) {
  main#sustainability section.sustainability-slab div.text-container.half-width {
    width: 100%;
    padding-left: 60px;
    padding-right: 60px;
  }

  main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(1) {
    padding-top: 0px;
  }

  main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(2) {
    padding-top: 3px;
    padding-left: 10px;
    padding-right: 10px;
  }


  main#sustainability section.sustainability-slab div.text-container.half-width:nth-child(3) {
    padding-top: 3px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

main#sustainability section.sustainability-slab.slab-4 {
  padding-top: 200px;
}

@media screen and (max-width:767px) {
  main#sustainability section.sustainability-slab figure.image-container {
    width: 100%;
    text-align: center;
  }

  .image-container.to-the-factory {
    margin-top: 70px;
  }
}

.sustainability-slab.active .fadeLeft {
  animation-name: fadeLeft;
  animation-duration: 1.2s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

.sustainability-slab.active .fadeRight {
  animation-name: fadeRight;
  animation-duration: 1.2s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

.image-container.from-the-fields,
.image-container-secondary.from-the-fields,
.image-container.to-the-factory,
.image-container.to-the-community {
  position: relative;
  z-index: 1;
  text-align: center;
}

.image-container-secondary.from-the-fields {
  position: absolute;
  width: 480px;
  bottom: -205px;
  left: 0;
}

@media screen and (max-width:767px) {
  .image-container-secondary.from-the-fields {
    position: relative;
    width: 480px;
    bottom: -160px;
    left: 0;
  }
}

.active .image-container-secondary.from-the-fields {
  animation: fadeLeft;

}

.active .image-container-secondary.to-the-factory {
  animation: fadeRight;
}

.image-container.from-the-fields,
.image-container.to-the-factory,
.image-container.to-the-community,
.image-container-secondary.from-the-fields,
.image-container-secondary.to-the-factory {
  opacity: 0;
  transition: all 0.75s ease-in-out;
}

.active .image-container.from-the-fields,
.active .image-container.to-the-factory,
.active .image-container.to-the-community,
.active .image-container-secondary.from-the-fields,
.active .image-container-secondary.to-the-factory {
  opacity: 1;
  transition: all 0.75s ease-in-out;
}

.active .image-container.from-the-fields #WINDMILL_TURBINE,
.active .image-container-secondary.from-the-fields #WINDMILL_TURBINE,
.active .image-container-secondary.to-the-factory #WINDMILL_TURBINE {
  animation: windmillTurbine;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transform-origin: center;
  transform-box: fill-box;
}

.active .image-container.from-the-fields #CLOUDS {
  animation: cloudsFloating;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  transform-box: fill-box;
}

.active .image-container.from-the-fields #FARMER {
  animation: fadeRight;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  transform-box: fill-box;
}

.active .image-container.from-the-fields #BARN_HILLS,
.active .image-container.from-the-fields #TRACTOR {
  animation: fadeLeft;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  transform-box: fill-box;
}

.active .image-container.to-the-factory #SUN {
  animation: Sun;
  animation-delay: 0.5s;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  transform-box: fill-box;
  animation-fill-mode: forwards;
  transform: translateY(70px) rotate(120deg);
}

.active .image-container.to-the-factory #CLOUDS {
  animation: cloudsFloating;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  transform-box: fill-box;
}

.active .image-container.to-the-factory #FACTORY {
  animation: fadeRight;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}

.active .image-container.to-the-factory #BARN {
  animation: fadeLeft;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}

.active .image-container.to-the-factory #FIELDS {
  transform: translateX(45px);
}

.active .image-container-secondary.to-the-factory {
  position: absolute;
  top: -100px;
  right: 0;
  width: 450px;
}

@media screen and (max-width:767px) {
  .active .image-container-secondary.to-the-factory {
    position: relative;
    top: 150px;
    right: 0;
    width: 450px;
  }
}

.active .image-container-secondary.from-the-fields {
  animation: fadeLeft;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}

.active .image-container-secondary.to-the-factory {
  animation: fadeRight;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}


.active .image-container.to-the-community #LIGHT_BEAM {
  animation: LightBeam;
  animation-delay: 1.5s;
  animation-duration: 3s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  transform-origin: center;
  transform-box: fill-box;
  animation-fill-mode: forwards;
  opacity: 0;
}

.active .image-container.to-the-community #LIGHT {
  animation: fadeUp;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}

.active .image-container.to-the-community #LADY {
  animation: fadeLeft;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}

.active .image-container.to-the-community #WINDOW {
  animation: fadeRight;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  transform-origin: center;
  animation-fill-mode: forwards;
  transform-box: fill-box;
}


svg.one {
  transform: scale(1.17) translateX(7%);
}

svg.two {
  transform: scale(1.4) translate(-11%, 12%);
}

svg.three {
  transform: scale(1.2);
}


@media screen and (max-width:1024px) {
  svg.one {
    transform: scale(1) translateX(0%);
  }

  svg.two {
    transform: scale(1) translate(0%, 0%);
  }

  svg.three {
    transform: scale(1);
  }
}



.big-triangle:before {
  right: 50%;
  border-right: 1000px solid transparent;
  border-left: 1000px solid;
}

.sustainability-slab.slab-4 .text-container {}

.sustainability-slab.slab-4 .image-container {}

@media screen and (max-width:767px) {
  main#sustainability section.sustainability-slab {
    padding: calc(var(--margin) * 4) var(--margin);
  }
}

main#sustainability section.sustainability-slab.slab-4 .image-container {
  width: 100%;
  height: 560px;
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  text-align: center;
}

main#sustainability section.sustainability-slab.slab-4 .image-container img.bowl {
  max-width: 85%;
  height: auto;
  transform: translateY(-22%)
}

.sustainability-slab.slab-4 .image-container img.weetabix-bowl {
  transform: translate(0%, -45%)
}

.splitter {
  position: relative;
}

.splitter:before {
  position: absolute;
  bottom: 0px;
  left: 0;
  height: 100px;
  width: 100%;
  content: '';
  background: white;
  clip-path: polygon(0 50%, 50% 100%, 100% 50%, 100% 100%, 0 100%);
}

.splitter-paleYellow:before {
  background: #fdf9e5;
}

.splitter-palePeach:before {
  background: #fff4bf;
}

.splitter-Yellow:before {
  background: #ffea7f;
}

.splitter-darkYellow:before {
  background: #ffd500;
}

.splitter-blue:before {
  background: #23256e;
}

@keyframes fadeLeft {
  0% {
    transform: translate(-10%, 0);
    opacity: 0;
  }

  100% {
    transform: translate(0%, 0);
    opacity: 1;
  }
}

@keyframes fadeRight {
  0% {
    transform: translate(10%, 0);
    opacity: 0;
  }

  100% {
    transform: translate(0%, 0);
    opacity: 1;
  }
}

@keyframes windmillTurbine {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes cloudsFloating {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(100px);
  }

  100% {
    transform: translateX(0px);
  }
}

@keyframes Sun {
  0% {
    transform: translateY(60px) rotate(120deg);
  }

  100% {
    transform: translateY(0px) rotate(120deg);
  }
}

@keyframes LightBeam {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeDown {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes fadeRight {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}


/* Modal Styling */

.modal {
  max-width: 1280px;
  padding: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.modal a.close-modal {
  top: 10px;
  right: 10px;
}

.modal .modal-one-container {
  max-width: 1280px;
  width: 100%;
  min-height: 720px;
  background-image: url(../img/sustainability_files/01-from-the-fields-modal-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 35px;
}

.modal .modal-two-container {
  max-width: 1280px;
  width: 100%;
  min-height: 720px;
  background-image: url(../img/sustainability_files/02-to-the-factory-modal-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 35px;
}

.modal .modal-three-container {
  max-width: 1280px;
  width: 100%;
  min-height: 720px;
  background-image: url(../img/sustainability_files/03-to-the-community-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 35px;
}

.modal .modal-four-container {
  max-width: 1280px;
  width: 100%;
  min-height: 720px;
  background-image: url(../img/sustainability_files/04-to-the-bowl-modal-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding: 35px;
}

.modal .modal-four-container h2.title {
  position: relative;
  width: 100%;
  text-align: center;
}

.modal .modal-four-container .image-container img.bowl {
  position: absolute;
  width: 55%;
  top: calc(50% + 80px);
  left: 10px;
  transform: translate(0%, -50%);
}

.modal .modal-four-container .text-container {
  position: absolute;
  width: 40%;
  top: calc(50%);
  right: 20px;
  transform: translate(0%, -50%);
}

@media screen and (max-width:1024px) {
  .modal .modal-four-container .image-container img.bowl {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 10px;
    transform: translate(0%, 0%);
  }

  .modal .modal-four-container .text-container {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin-bottom: 10px;
    transform: translate(0%, 0%);
  }
}

.modal .modal-four-container .text-container p {
  margin-bottom: 15px;
}

.modal .modal-one-container .list-container,
.modal .modal-two-container .list-container,
.modal .modal-three-container .list-container,
.modal .modal-four-container .list-container {
  width: 75%;
  margin: 0 auto;
  margin-top: 30px;
}

.modal .modal-three-container .list-container {
  margin-top: 100px;
}

.modal .modal-one-container .list-container ul,
.modal .modal-two-container .list-container ul,
.modal .modal-three-container .list-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal .modal-one-container .list-container ul li,
.modal .modal-two-container .list-container ul li,
.modal .modal-three-container .list-container ul li {
  font-size: 21px;
  margin-bottom: 25px;
  display: block;
  clear: both;
}

.modal .modal-one-container .list-container ul li:last-child,
.modal .modal-two-container .list-container ul li:last-child .modal .modal-three-container .list-container ul li:last-child {
  margin-bottom: 0;
}

.modal .modal-one-container .list-container ul li img.icon,
.modal .modal-two-container .list-container ul li img.icon,
.modal .modal-three-container .list-container ul li img.icon {
  float: left;
  margin: 0 20px 20px 0;
}

@media screen and (max-width:767px) {

  .modal .modal-one-container .list-container,
  .modal .modal-two-container .list-container,
  .modal .modal-three-container .list-container,
  .modal .modal-four-container .list-container {
    width: 90%;
    margin-top: 20px;
  }

  .modal .modal-one-container .list-container ul li,
  .modal .modal-two-container .list-container ul li,
  .modal .modal-three-container .list-container ul li {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .modal .modal-one-container .list-container ul li img.icon,
  .modal .modal-two-container .list-container ul li img.icon,
  .modal .modal-three-container .list-container ul li img.icon {
    float: left;
    margin: 0 20px 5px 0;
    max-width: 45px;
  }

  .modal .modal-one-container,
  .modal .modal-two-container,
  .modal .modal-three-container {
    padding: 15px;
  }
}