.widget-title {
  font-size: 1.25em;
  font-weight: bold;
  padding: $padding * 0.25 0;
}

#content .widget-title {
  color: $sb-widget-title-color;
}

.widget {
  margin-bottom: $vr;
  color: $sb-widget-color;
}

.widget a {
  color: $sb-widget-link-color;
}

.widget a:hover {
  color: $primary;
  text-decoration: none;
}

#sb2 .widget {
  color: $sb2-widget-color;

  a {
    color: $sb2-widget-link-color;
  }
}

.sb > .widget:first-child .widget-title {
  padding-top: 0;
}

.widget {
  ol,
  ul {
    margin: $vr * 0.5 0;
    list-style: disc;
  }
}

.rtl .widget {
  ol,
  ul {
    padding-left: 0;
  }
}

.fc {
  .widget-title {
    color: $footer-widget-title-color;
    background: $footer-widget-title-bg;
  }

  .widget {
    color: $footer-widget-color;
  }

  .widget a {
    color: $footer-widget-link-color;
  }

  .widget a:hover {
    color: $primary;
  }
}
@if ($sb_widget_cards == 1 and $separate_containers ==0) {
  #content .sb {
    .widget {
      border: solid 1px $sb-widget-border-color;
      padding: $padding/2;
      margin: 0 -($padding/2);
      background: $sb-widget-bg;
      margin-bottom: $padding/2;
    }

    .widget-title {
      border-bottom: solid 1px $sb-widget-border-color;
      margin: -($padding/2) -($padding/2) 10px;
      padding: 10px $padding/2 !important;
      line-height: 1em;
      background: $sb-widget-title-bg;
      color: $sb-widget-title-color;
    }

    .widget {
      ol,
      ul {
        margin-bottom: 0;
      }
    }

    .inner .sticky-wrapper:first-child > .sb .widget:first-child,
    .inner > .sb .widget:first-child {
      margin-top: -($padding/2) + 4px;
    }
  }
  @media only screen and (max-width: $mobile_width) {
    #content .sb .widget {
      margin: 0 -10px;
    }
  }
}
