.field--type-text-with-summary[class] {
  margin-bottom: 0;
}

/* Hide Mastheader and navigation aside */
#sidebar-first {
  display: none;
}

section.section-main.large-9[class] {
  width: 100%;
  margin-bottom: 0;
}

/* Remove margin between navigation and main content section */
.node--type-page.full > div.node__content {
  margin-top: 0;
}

/* Container side margins z-index */
.main-content.grid-container {
  z-index: 0;
}

/* I am I want homepage */
.rw-paragraph--webform--wrapper {
  background-color: #F6F6F6;
  box-shadow: 0  -0.0625rem 0.125rem 0 rgba(0,0,0, .30);
}
/* I am I want homepage END */

/* Spacing */
.homepage-content-section {
  margin-top: 2.875rem;
  margin-bottom: 1.4375rem;
}

.rw-paragraph--webform--wrapper {
  padding: .5rem 0;
  position: relative;
  z-index: 1;
}


@media print, screen and (min-width: 40em) {
  .homepage-content-section[class] {
    margin-top: 5.5rem;
    margin-bottom: 5.5rem;
  }
}

@media print, screen and (min-width: 64em) {
  .rw-paragraph--webform--wrapper {
    padding: 4rem 0;
  }
}

/* Spacing removal */
.node__content[class] .field--name-field-components > .field__item:first-child,
.node__content[class] .field--name-field-components > .field__item:first-child + .field__item,
.node__content[class] .field--name-field-components > .field__item:first-child + .field__item + .field__item {
  margin-top: 0;
  margin-bottom: 0 !important;
}
/* Spacing END */

/* background patterns */

@media screen and (min-width: 60em) {
  [class*="section-pattern"] {
    position: relative;
  }
  [class*="section-pattern"]::before {
    display: block;
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    z-index: -1;
    background-size: contain;
  }
  .section-pattern-3[class]::before {
    background-image: url("/sites/default/files/uct_ac_za/homepage-section-pattern-3-v2.png");
    background-size: 100%;
    background-position: left;
    width: calc(1396px * 2.6);
    height: calc(430px * 2.6);
    bottom: -3rem;
    left: 0;
    opacity: .5;
  } 

  .section-pattern-1[class]::before {
    background-image: url("/sites/default/files/uct_ac_za/homepage-section-pattern-1.svg");
    background-position: right;
    width: 2453px;
    height: calc(1521px * 2);
    top: 0;
    left: 0;
    transform: translate(-80%, 0);
    background-repeat: space;
  } 
  
  .section-pattern-2[class]::before {
    background-image: url("/sites/default/files/uct_ac_za/homepage-section-pattern-2.svg");
    background-position: center;
    width: calc(437px * 1.5);
    height: calc(976px * 1.5);
    bottom: 0;
    right: -4rem;  
    transform: translateY(100%);
    opacity: .5;
  }
}

@media screen and (min-width: 60em) {
  .paragraph--type--rw-wysiwyg {
    position: relative;
  }

  #albumCarousel_1,
  #albumCarousel_2 {
    z-index: 1;
  }

  #footer {
    z-index: 1;
  }

}
/* background patterns END*/

/* Slider home page styles */
@media print, screen and (min-width: 64em) {
  .album-carousel .carousel-slide::before {
    background-image: url("/sites/default/files/uct_ac_za/slide--graphic.png");
    background-position: center top;
    background-size: 117% auto;
    background-repeat: no-repeat;
    height: calc(26% / 0.5625);
  }
}
/* Slider home page styles END*/

/* Mirco view component */
.paragraph--type--uct-micro-view article.teaser,
.paragraph--type--uct-multi-content-reference .views-view-grid article.teaser,
.rw-paragraph--wysiwyg .teaser {
  background: transparent;
}
/* Mirco view component END */