.stm_services_tabs .services_categories {
  position: relative;
  margin: 0 0 62px;
  padding: 0 15px;

  ul {
    background: $stm_third_color;
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;

    @include cleaner();

    li {
      float: left;

      a {
        font: {
          family: "Rubik";
          weight: 500;
          size: 14px;
        }
        text-transform: lowercase;
        letter-spacing: -.6px;
        display: block;
        padding: 14.5px 24.3px;
        outline: none !important;
        color: $stm_base_color;
        transition: background 0.2s ease, color 0.2s ease;

        &:focus,
        &:hover {
          text-decoration: none;
        }
      }

      &.ui-state-active a {
        background: $stm_base_color;
        color: $stm_third_color;
      }
    }
  }
}

.stm_services_tabs {
  font-size: 0;
  margin: 0 -15px;
}

.stm_services_tabs .service_tab_item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  font-size: 14px;
  padding: 0 35px;
  margin: 0 0 46px;
}

.stm_services_tabs .service_tab_item .service_header {
  position: relative;
  margin: 0 0 4px;
}

.stm_services_tabs .service_tab_item .service_name {
  display: table-cell;
  width: 1%;
  white-space: nowrap;
  font: {
    family: "Rubik";
    size: 14px;
    weight: 500;
  }
  color: #212121;
  padding-right: 10px;
}

.stm_services_tabs .service_tab_item .service_name a {
  color: $stm_base_color;
  letter-spacing: -.3px;
  transition: color 0.2s ease;

  &:focus,
  &:hover {
    text-decoration: none;
  }

  &:hover {
    color: $stm_secondary_color;

  }
}

.stm_services_tabs .service_tab_item .service_dots {
  display: table-cell;
  width: 98%;
}

.stm_services_tabs .service_tab_item .service_dots .separator_dots {
  display: block;
  width: 100%;
  border-bottom: 1px dashed $stm_secondary_color;
}

.stm_services_tabs .service_tab_item .service_cost {
  display: table-cell;
  width: 1%;
  padding-left: 10px;
  font: {
    family: "Rubik";
    size: 14px;
    weight: 500;
  }
  line-height: 22px;
  letter-spacing: -.3px;
  color: $stm_secondary_color;
}

.stm_services_tabs .service_tab_item .service_label {
  position: absolute;
  left: 35px;
  top: -22px;
  background: $stm_secondary_color;
  border-radius: 3px;
  padding: 4px 7px 4px;
  color: #fff;
  font: {
    size: 10px;
    weight: 700;
  }
  line-height: 9px;
  text-transform: uppercase;
}

.stm_services_tabs {
  .service_tab_item {
    .service_text {
      p {
        margin-bottom: 0;
        color: #222222;
        line-height: 22px;
      }
    }
  }
}