/* Step by step show summary buttons */
.step-by-step-pages .step-master,
.step-by-step-pages ol.step-list .step .step__title .step-show {
  padding: .625rem 1.25rem;
  text-decoration: none;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  font-size: 1rem;
  line-height: 1.65;
}

.step-by-step-pages .step-master {
  margin-left: 0 !important;
  color: var(--color-white);
  background-color: var(--wc-primary);
  border: 1px solid var(--wc-primary);
}

.step-by-step-pages .step-master:hover,
.step-by-step-pages .step-master:focus,
.step-by-step-pages .step-master:active,
.step-by-step-pages ol.step-list .step .step__title .step-show:hover,
.step-by-step-pages ol.step-list .step .step__title .step-show:focus,
.step-by-step-pages ol.step-list .step .step__title .step-show:active {
  color: var(--color-white);
  background-color: var(--wc-secondary);
  border-color: var(--wc-secondary);
}

.step-by-step-pages .step-master:hover,
.step-by-step-pages .step-master:active,
.step-by-step-pages ol.step-list .step .step__title .step-show:hover,
.step-by-step-pages ol.step-list .step .step__title .step-show:active {
  -webkit-box-shadow: 0 0 0 3px rgb(6 73 126 / 50%);
  box-shadow: 0 0 0 3px rgb(6 73 126 / 50%);
}

.step-by-step-pages .step-master:focus,
.step-by-step-pages ol.step-list .step .step__title .step-show:focus {
  outline: 2px transparent solid;
  -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgb(6 73 126), 0 0 4px 8px #ffffff;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgb(6 73 126), 0 0 4px 8px #ffffff;
}

.step-by-step-pages ol.step-list .step .step__title .step-show {
  color: var(--color-text);
  background-color: var(--wc-grey);
  border-color: var(--wc-grey);
}

.step-by-step-pages.step-by-step-pages--nav .summaries-control i {
  display: none;
}

/* Step by step links */
.step-by-step-pages ol.step-list .step .step__title a {
  color: var(--color-link);
  margin-bottom: var(--spacing);
}

.step-by-step-pages ol.step-list .step .step__title a:hover {
  color: var(--color-link-hover);
}

/* Step by step counters */
@media (min-width: 992px) {
  .step-by-step-pages ol.step-list .step::before {
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-by-step-pages ol.step-list .step:not(:last-of-type):after {
    left: 1.5rem;
  }

  .step-by-step-pages ol.step-list .step .step__title {
    margin-left: 4.5rem;
    padding-bottom: 2rem;
  }

  .step-by-step-pages ol.step-list .step .step__summary {
    padding-left: 4.5rem;
  }
}

/* Part of... main content */
.step-by-step-pages__relationship {
  background: var(--color-light-grey);
}

/* Part of... sidebar */
.step-by-step-pages__relationship .step-by-step-pages__overview a {
  color: var(--color-link);
  font-weight: normal!important;
}
/*.block-views-blocklocalgov-step-by-step-navigation-steps .step-by-step-pages__relationship {*/
/*  display: none;*/
/*}*/
