.register_container {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-top: 1px solid black;
  position: relative;
  z-index: 1;

  @media #{$screen-md-min} {
    flex-direction: row;
  }

  .retail_opportunities {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.3rem 2rem;
    order: 2;

    @media #{$screen-md-min} {
      padding: 3.4rem 30px;
      order: 1;
    }

    h4 {
      font-size: 1.8rem;

      @media #{$screen-md-min} {
        font-size: 2.3rem;
      }
    }

    ul,
    li {
      padding: 0;
      margin: 0;
    }

    .brokers {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      flex-wrap: wrap;
      list-style-type: none;
      max-width: 450px;

      &:first-child {
        width: 100%;
      }

      .broker {
        width: 100%;
        margin-bottom: 36px;
        border-bottom: 1px solid #000000;
        cursor: pointer;
        max-height: 40px;
        min-height: 0;
        transition: max-height 500ms ease, min-height 500ms ease;
        overflow: hidden;

        @media #{$screen-md-min} {
          width: 50%;
          max-height: none;
          margin-bottom: 30px;
          border-bottom: none;
          cursor: unset;
        }

        &:nth-of-type(even) {
          @media #{$screen-md-min} {
            padding-left: 50px;
          }
        }

        li {
          opacity: 0;
          font-size: 1rem;
          line-height: 1.5rem;
          font-weight: 400;
          list-style-type: none;
          transition: opacity 500ms ease;

          &:last-child {
            padding-bottom: 5px;
          }

          @media #{$screen-md-min} {
            display: block;
            height: auto;
            opacity: 1;
          }

          &.name {
            height: auto;
            opacity: 1;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            font-size: 1.3rem;
            line-height: 2rem;
            font-weight: 700;

            &:after {
              content: '';
              display: block;
              width: 6px;
              height: 6px;
              border-bottom: 1px solid black;
              border-right: 1px solid black;
              transform: rotate(45deg);

              @media #{$screen-md-min} {
                display: none;
              }
            }
          }

          a {
            text-decoration: none;
            transition: opacity 500ms ease;

            &:hover {
              opacity: 0.5;
            }
          }
        }

        &.active {
          max-height: 150px;
          min-height: 120px;
          transition: max-height 500ms ease, min-height 500ms ease;

          li {
            height: auto;
            opacity: 1;
          }
        }
      }
    }
  }

  .register {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: $brand-indigo;
    order: 1;
    min-height: 315px;

    @media #{$screen-md-min} {
      order: 2;
    }

    @media #{$screen-sm-min} {
      padding: 10vw 0;
    }

    .btn__register {
      font-size: 10vw;
      line-height: 0.8em;
      border-bottom: solid 2px white;
      font-weight: bold;
      display: inline-block;
      text-decoration: none;
      color: white;
      font-size: 3.55rem;

      @media #{$screen-md-min} {
        font-size: 5.3rem;
      }
    }
  }
}
