HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/slenders/slenders.nl/resources/sass/site/6-Organisms/_organisms.serviceRow.scss
$serviceRowBp: 950;

.o-service-row {

  @include mq(460) {
    padding-top: 40px;
  }

  @include mq($serviceRowBp) {
    padding-top: 120px;
  }
}

.o-service-row__heading {
  margin-bottom: 60px;
}

.o-service-row__main {
  position: relative;
  padding-bottom: 120px;
}

.o-service-row__background{
  position: absolute;
  left: 0;
  bottom: 0;
  height: calc(100% - 120px);
  width: 100%;
  background: {
    image: url("/img/serviceRowBackground.jpg");
    position: center;
    size: cover;
    repeat: no-repeat;
  };

  &:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(palette(primary), 0.9);
  }
}

.o-service-row__placeholder {
  position: relative;
  z-index: 2;
  background-color: palette(secondary, 100);

  @include mq($serviceRowBp) {
    @include flex(space-between, stretch);
    flex-direction: row-reverse;
  }
}

.o-service-row__body {
  padding: 0 column(1, 12) 45px 0;

  @include mq($max: 450) {
    padding: 0 0 45px 0;
  }

  @include mq($max: $serviceRowBp) {
    .c-service-body__content {
      padding-top: 30px;

      @include mq($max: 450) {
        padding-left: 30px;
        padding-right: 30px;
      }
    }
  }

  @include mq($serviceRowBp) {
    @include flex(space-between, flex-start);
    width: column(8, 12);
    padding: 120px column(1, 12) 45px 0;
  }

  @include mq(1250) {
    width: 50%;
  }
}

.o-service-row__image {
  background-color: palette(secondary);

  @include mq($serviceRowBp) { width: column(4, 12); }
  @include mq(1250) { width: 50%; }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}