/**
 * @file
 * Visual styles for Conference+'s sponsors carousel.
 */
.view-carousel--teams {
  padding: 10px 0;
  position: relative;
}

.carousel-teams {
  & .owl-item {
    text-align: center;
    height: 433px;
    display: flex;
    align-items: flex-start;
  }

  & .mt-carousel-item {
    display: inline-block;
    vertical-align: middle;
    padding: 0 35px;
    max-width: 100%;
    height: 400px;

    @media (max-width: 575px) {
      padding: 0 15px;
    }

    & .overlay-container {
      max-height: 400px;
    }

    & .team-container {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      & .team--logo {
        align-items: center;
        max-height: 115px;
        height: 115px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-bottom: 1px solid #0000003b;
        margin-bottom: 5px;


        & .image-style-mt-brands {
          max-height: 115px;
          padding: 5px;
	        width: max-content;
        }
      }

      & .team--one-liner {
        min-height: 270px;
        max-height: 270px;
        overflow: hidden;
      }
    }
  }

  & .overlay-target-link a {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: block;
    font-size: 0;
  }

  & .owl-nav {
    top: 50%;
    height: 0;
    right: 0;
    left: 0;
    position: absolute;
    margin-top: -50px;

    & div {
      border-width: 0;
      width: 30px;
      color: #575757;

      &:hover {
        background-color: transparent;
      }

      &:after {
        width: 30px;
        font-size: 30px;
      }

    }
    & .owl-prev {
      left: 0px;
      margin-left: 0;
    }

    & .owl-next {
      right: 0;
      margin-right: 0;
    }

    @media (max-width: 575px) {
      & .owl-prev {
        left: -15px;
      }

      & .owl-next {
        right: -15px;
      }
    }
  }

}

.region--light-typography {

  & .carousel-teams {

    & .owl-nav {

      & div {
        color: #ffffff;

        &:hover {
          background-color: transparent;
          color: #ffffff;
        }
      }
    }
  }
}

