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/SBogers10/lmbm.komma.pro/resources/assets/sass/site/partials/blocks/_ctaRow.sass
.cta-row
  position: relative
  background-color: $turquoise
  overflow: hidden

  .basic-hint
    color: white
    font-size: 0.8rem
    line-height: 1.2
    width: 100%
    max-width: 800px
    margin: 0 auto
    padding: 1rem 0

  .grid-row
    position: relative
    z-index: 2

    &:after
      content: ''
      position: absolute
      z-index: 1
      top: 0
      left: column(6, 12)
      width: 100vw
      height: 100%
      background: $lightTurquoise

    &:before
      $gradientSize: 20px
      content: ''
      position: absolute
      z-index: 2
      top: 0
      right: calc(#{column(6, 12)} - #{$gradientSize})
      height: 100%
      width: $gradientSize
      background: linear-gradient(90deg, $blackGradient)

  .cta-trigger, .cta-trigger-2, .cta-person
    position: relative
    display: inline-block
    vertical-align: top
    z-index: 3

  .cta-trigger, .cta-trigger-2

    padding: 65px 0

    h3
      color: white
      font-size: 1.6rem
      line-height: 1.4
      margin: 0 0 10px

    p
      color: $lightTurquoise
      font-size: 0.7rem
      text-transform: uppercase
      font-weight: bold
      margin: 0

    .button
      margin-top: 35px
      color: white
      text-transform: uppercase

      .arrow
        fill: white

  .cta-trigger
    margin-left: column(1, 12)
    width: column(5, 12)


  .cta-trigger-2
    width: column(6, 12)
    padding-left: 100px

  .cta-person
    width: column(6, 12)
    padding: 65px 0 65px 50px

    .wrapper
      +flex(flex-end, center)

    .image-placeholder
      width: 175px

      figure
        position: relative
        width: 100%
        padding-bottom: 100%
        height: 0

        span
          position: absolute
          border-radius: 100%
          top: 0
          left: 0
          width: 100%
          height: 100%
          background-position: center
          background-size: cover

    .contact-info
      width: calc(100% - 175px)
      max-width: 350px
      padding-left: 25px

      p
        margin: 0
        font-size: 1.6rem
        line-height: 1.4
        color: $offsetWhite
        font-weight: 700

      span
        display: block
        color: $turquoise
        font-size: 0.8rem
        font-weight: 700
        text-transform: uppercase

      a
        display: inline-block
        margin-top: 20px
        font-size: 0.9rem
        color: $darkGreen
        font-weight: semibold()
        text-decoration: none
        transition: color 0.2s

        &:hover
          color: $darkerGreen


  +respond-to-width(1000)
    .grid-row
      height: auto
      display: block
      width: 100%

      &:before, &:after
        display: none

    .cta-trigger, .cta-trigger-2, .cta-person
      width: 100%
      padding: 65px column(1, 14)

    .cta-trigger
      margin-left: 0

    .cta-trigger-2, .cta-person
      background-color: darken($black, 5%)

  +respond-to-width(475)
    .cta-trigger, .cta-trigger-2
      br
        display: none

    .cta-person
      padding: 40px column(1, 14)
      text-align: center

      .wrapper
        display: block

      .image-placeholder
        display: inline-block
        margin-bottom: 25px

      .contact-info
        padding-left: 0
        width: 100%