// scss-lint:disable ImportantRule, IdSelector

//
// Carbon ads
//

#carbonads {
  display: block;
  padding: 15px 15px 15px 160px;
  margin: 50px -15px 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  border: solid #866ab3;
  border-width: 1px 0 0;

  a {
    color: #fff;
    text-decoration: none;
  }

  @include media-breakpoint-up(sm) {
    max-width: 330px;
    margin: 50px auto 0;
    border-width: 1px;
    border-radius: 4px;
  }

  @include media-breakpoint-up(lg) {
    position: absolute;
    top: 0;
    right: 15px;
    margin-top: 0;

    .bd-masthead & {
      position: static;
    }
  }
}

.carbon-img {
  float: left;
  margin-left: -145px;
}

.carbon-poweredby {
  display: block;
  color: #cdbfe3 !important;
}
