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/centrum8a/centrum8a.com/resources/assets/sass/site/partials/blocks/_ctaRow.sass
.cta-row
  position: relative
  background-color: $blue
  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
    display: flex

    &:before
      content: ''
      position: absolute
      top: 0
      left: calc(#{column(6, 12)})
      right: 0
      height: 100%
      width: 100%
      background: linear-gradient(90deg, darken($lightgrey, 12%) 0%, $lightgrey 24px, $lightgrey 100%)

  .cta-trigger, .cta-trigger-2
    display: inline-block
    padding: 65px 0

    h3
      font-size: 1.6rem
      font-family: $fontPrimary
      line-height: 2
      margin: 0
      color: $darkblue

    p
      margin: 0
      font-size: 0.65rem
      font-weight: bold()
      text-transform: uppercase
      color: $light

    .button
      margin-top: 40px

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

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

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

    .wrapper
      +flex(flex-start, center)

    .image-placeholder
      width: 175px

      figure
        position: relative
        width: 100%
        padding-bottom: 97% // ivm aspect ratio
        height: 0

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

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

      p
        margin: 0
        font-size: 1.6rem
        font-family: $fontPrimary
        font-weight: semibold()

      span
        display: block
        font-size: 0.8rem
        font-family: $fontPrimary
        text-transform: uppercase

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

        &:hover
          text-decoration: underline

  +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: $neutral

  +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%

  +respond-to-width-beyond(1280)
    .wrapper
      display: flex
      height: 100%

    .cta-person
      padding-top: 0
      padding-bottom: 0
      padding-left: 25px

      .image-placeholder
        width: 50%
        padding-top: 20px
        align-self: flex-end

        figure
          span
            border-radius: 0

      .contact-info
        width: 50%
        padding-top: 80px
        align-self: flex-start