/* If two consecutive sections share the same data-bg-color, remove padding-top on the second */
section[data-bg-color=bg-white] + section[data-bg-color=bg-white], section[data-bg-color=bg-buff] + section[data-bg-color=bg-buff] {
  padding-top: 0 !important;
}

/* repeat for each background color you use */
.p-20 {
  padding: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/*
html .container, html .container-fluid {
    max-width: 100%;

    img {
        max-width: 100%;
    }
}
    */
/* If two consecutive sections share the same data-bg-color, remove padding-top on the second */
section[data-bg-color=bg-white] + section[data-bg-color=bg-white], section[data-bg-color=bg-buff] + section[data-bg-color=bg-buff] {
  padding-top: 0 !important;
}

/* repeat for each background color you use */
.p-20 {
  padding: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/*
html .container, html .container-fluid {
    max-width: 100%;

    img {
        max-width: 100%;
    }
}
    */
/* If two consecutive sections share the same data-bg-color, remove padding-top on the second */
section[data-bg-color=bg-white] + section[data-bg-color=bg-white], section[data-bg-color=bg-buff] + section[data-bg-color=bg-buff] {
  padding-top: 0 !important;
}

/* repeat for each background color you use */
.p-20 {
  padding: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/*
html .container, html .container-fluid {
    max-width: 100%;

    img {
        max-width: 100%;
    }
}
    */
.rounded {
  border-radius: 6px !important;
}

/*@import "citb/v2/colours";*/
/*@import "citb/font-icons";*/
/*
@font-face {
    font-family: glyphicons halflings;
    src: url(../../fonts/bs3-glyphicons-halflings/glyphicons-halflings-regular.woff) format("woff"), url(../../fonts/bs3-glyphicons-halflings/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format("svg")
}
*/
/* Colours */
.bg-white {
  background-color: white;
}

.bg-grey {
  background-color: #efefef;
}

.bg-dark-grey {
  background-color: #e1e1e1;
}

.lc-breakdown h3 {
  font-size: 20px;
}

.lc-breakdown-table {
  width: 100%;
  border-top: solid 2px rgb(210.6, 216.6, 222);
  border-bottom: solid 1px rgb(210.6, 216.6, 222);
}
.lc-breakdown-table__headings {
  text-align: left;
  padding-left: 0;
  white-space: nowrap;
}
.lc-breakdown-table {
  /*
      &__payments {
          .lc-output {
              width: 170px;
          }
      }
  */
}
.lc-breakdown-table__amount {
  position: relative;
  min-width: 253px;
}
.lc-breakdown-table__amount + .lc-breakdown-table__amount::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: -1px;
  width: 30px;
}
[data-show-tax-year="1"] .lc-breakdown-table__amount, [data-show-tax-year="2"] .lc-breakdown-table__amount {
  width: 50%;
}
.lc-breakdown-table__total {
  font-size: 20px;
  font-weight: bold;
  width: 200px;
  padding-right: 0;
}
.lc-breakdown-table__summary {
  border-bottom: none;
}
.lc-breakdown-table__summary__headings {
  font-size: 22px;
}
[data-show-tax-year="1"] .lc-breakdown-table__summary__headings, [data-show-tax-year="2"] .lc-breakdown-table__summary__headings {
  width: 30%;
}
.lc-breakdown-table h3 {
  margin-bottom: 5px;
}
.lc-breakdown-table {
  /*
      td .lc-output {
          border-top: solid 1px $concrete-60;
          font-size: 16px;
          text-align: left;
          //text-align: center;
      }
  */
}
.lc-breakdown-table th {
  border: none;
  border-bottom: none;
  background: none;
  color: #1f1f1f;
  font-size: 15px;
  text-align: left;
}
.lc-breakdown-table td {
  padding: 0;
}
@media (min-width: 992px) {
  .lc-breakdown-table td .lc-output {
    border-top: solid 1px rgb(210.6, 216.6, 222);
  }
}
.lc-breakdown-table thead th {
  text-align: center;
}
@media (max-width: 767.98px) {
  .lc-breakdown-table tbody {
    border-bottom: solid 20px white;
  }
  .lc-breakdown-table th {
    border: none;
  }
  .lc-breakdown-table th::before {
    border-noyy: solid 2px rgb(210.6, 216.6, 222);
    content: "";
    display: block;
    height: 20px;
  }
  .lc-breakdown-table td {
    border: none;
    line-height: 1;
    text-align: left;
    width: 50%;
  }
}

.lc-breakdown-table tbody tr th {
  border-top: solid 1px rgb(210.6, 216.6, 222);
}

@media (min-width: 576px) {
  .lc-calculate {
    margin-right: 180px;
  }
}
@media (min-width: 576px) {
  .lc-calculations .lc-input-row + .lc-input-row {
    margin-top: 20px;
  }
  .lc-calculations .lc-input-row__left, .lc-calculations .lc-input-row__right {
    margin: 0;
  }
}

.lc-chart__top-figure {
  flex-basis: 50%;
}

/*
#chart-switch {
    border: solid 3px #666;
    margin-left: 15px;
    padding: 5px 10px;
}

.lc-chart {
    border: solid 3px $lc-18-bg-dark-grey;
    margin-right: 30px;
    padding: 30px;

    &__heading {
        font-size: 20px;
        margin-top: 0;
    }

    &__top {
        display: flex;
    }

    &__switch {
        align-items: center;
        display: flex;
        padding-top: 15px;
    }

    &__switch-heading {
        font-size: 20px;
        margin-bottom: 0;
    }

    &__switch-label {
        margin-bottom: 0;
        margin-left: auto;
    }

    &__top-figure {
        display: flex;
        margin-left: auto;

        &--21-22 {
            margin-left: 30px;

            [data-show-year="20-21"] & {
                margin-left: auto;
            }

            .lc-chart__top-figure-right {
                background-color: $lc-dark-blue;
            }
        }

        .lc-output {
            background-color: transparent;
            font-size: 36px;
            font-weight: bold;
            height: auto;
            line-height: 1;
            margin: 0;
            padding: 0;
            text-align: left;
        }

        p {
            font-size: 13px;
            line-height: 1.2;
            margin: 0;
        }
    }

    &__top-figure-left {
        background-color: $lc-18-bg-grey;
        padding: 15px;
    }

    &__top-figure-right {
        background-color: $purple;
        color: white;
        font-size: 13px;
        padding: 15px;
        width: 250px;
    }


    + .lc-error {
        margin-left: -15px;
        margin-top: 20px;
        text-align: left;
    }

    @include media-breakpoint-down(md) {
        border: none;
        padding: 0;
        margin: 0;

        &__top {
            flex-wrap: wrap;
        }

        &__top-figure {
            flex-basis: 100%;
            flex-wrap: wrap;

            &--20-21 {
                margin-left: 0;

                [data-show-year="both"] & {
                    margin-top: 20px;
                }
            }
        }

        &__top-figure-left, &__top-figure-right {
            flex-basis: 100%;
            width: 100%;
        }

        &__switch {
            justify-content: flex-start;
        }

        &__switch-label {
            font-size: 16px;
            margin-top: 20px;
        }

        + .lc-error {
            margin-left: 0;
        }
    }
}
    */
.lc-dont-pay-message {
  align-items: center;
  background-color: white;
  border: solid 3px;
  color: #286e71;
  display: none;
  font-weight: bold;
  line-height: 1.1;
  outline: solid 10px white;
  margin: 30px 0 30px 0;
  padding: 8px 15px;
  position: relative;
  z-index: 1;
}
.lc-dont-pay-message .material-symbols-outlined {
  font-size: 24px !important;
  color: #286e71 !important;
  border: 3px solid #286e71;
  border-radius: 50%;
  flex-shrink: 0;
  height: 36px;
  line-height: 32px;
  margin-right: 15px;
  text-align: center;
  width: 36px;
}
@media (max-width: 767.98px) {
  .lc-dont-pay-message {
    align-items: flex-start;
    height: auto;
    width: 100%;
  }
}

.lc-error {
  color: #dc3545;
  display: none;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.1;
}
@media (min-width: 992px) {
  .lc-error {
    padding: 0 15px;
  }
}
.lc-error--show, .lc-error--perm {
  display: flex;
}
.lc-error {
  /*
      &--icon {
          &::before {
              content: "\f06a";
              //font-family: FontAwesome;
              //@include font-awesome-free;
              font-size: 24px;
              line-height: 1;
              padding-right: 15px;
          }
      }
  */
}
.lc-error .material-symbols-outlined {
  font-size: 20px !important;
  color: #dc3545 !important;
  border: 3px solid #dc3545;
  border-radius: 50%;
  flex-shrink: 0;
  height: 36px;
  line-height: 32px;
  margin-right: 15px;
  text-align: center;
  width: 36px;
}
@media (min-width: 576px) {
  .lc-error {
    flex-basis: 100%;
    text-align: left;
    padding: 0;
  }
}

.lc-input {
  border: solid 1px #1f1f1f;
  color: #000;
  display: inline-block;
  font-size: 20px;
  height: 48px;
  line-height: 60px;
  padding: 0 15px;
  text-align: right;
  border-radius: 6px;
}
@media (min-width: 992px) {
  .lc-input {
    width: 228px;
    max-width: 100%;
  }
}
.lc-input {
  vertical-align: middle;
}
.lc-input--total {
  border: none;
  height: 66px;
  line-height: 66px;
}
.lc-input--total + .lc-error {
  text-align: left;
}
.lc-input:focus {
  border: 1px solid #1f1f1f;
  outline: none !important;
}
.lc-input:focus-visible {
  outline: 1px solid #00b1eb !important;
  border: 1px solid #00b1eb;
  box-shadow: none;
}
.lc-input.has-error {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(69, 37, 67, 0.6);
}
@media (max-width: 991.98px) {
  .lc-input {
    display: block;
    height: 42px;
    line-height: 42px;
  }
  .lc-input--total {
    margin-top: -30px;
    text-align: center;
  }
}

.lc-input-row {
  align-items: self-start;
}
.lc-input-row__left {
  flex-basis: 50%;
}
@media (min-width: 768px) {
  .lc-input-row__left {
    padding-right: 48px;
  }
}
.lc-input-row__left--top {
  align-self: flex-start;
}
.lc-input-row__right {
  justify-content: flex-end;
  flex-basis: 50%;
}
@media (min-width: 768px) {
  .lc-input-row__right {
    min-width: 504px;
  }
}
.lc-input-row__bottom {
  align-self: flex-end;
}
.lc-input-row__bottom .lc-input-wrapper {
  align-content: flex-end;
}
@media (max-width: 767.98px) {
  .lc-input-row {
    flex-wrap: wrap;
  }
  .lc-input-row__left {
    flex-basis: 100%;
    padding: 0;
  }
  .lc-input-row__right {
    display: block;
    flex-basis: 100%;
  }
}

.lc-input-wrapper {
  flex-wrap: wrap;
  /*
  &--or {
      &::after {
          //color: #666666;
          content: "OR";
          flex-basis: 100%;
          //text-align: center;
          padding: 16px 0 0 0;
      }
  }
      */
}
.lc-input-wrapper__label {
  flex-basis: 100%;
}
@media (min-width: 992px) {
  .lc-input-wrapper .lc-error {
    max-width: 230px;
  }
}
@media (max-width: 991.98px) {
  .lc-input-wrapper {
    display: block;
    text-align: left;
    margin-top: 16px;
    width: 100%;
  }
  .lc-input-wrapper .lc-error {
    min-width: 228px;
  }
  .lc-input-wrapper--or::after {
    display: none;
  }
}

.lc-label {
  display: flex;
  font-weight: normal;
  position: relative;
}
.lc-label .lc-tooltip {
  margin-left: 15px;
}

.lc-output {
  background-color: #f3efe9;
  font-size: 15px;
  height: 58px;
  line-height: 35px;
  max-width: 200px;
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 0 10px;
  min-width: 100%;
}

.lc-read-more {
  display: none;
}

.lc-read-more-btn {
  border-bottom: solid 2px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none !important;
  position: relative;
  margin-bottom: 20px;
}
.lc-read-more-btn::after {
  content: "\e114";
  font-family: "Glyphicons Halflings";
  font-size: 16px;
  position: absolute;
  top: 0;
  right: -25px;
}
.lc-read-more-btn--open::after {
  transform: rotate(180deg);
}
.lc-read-more-btn--open .lc-read-more {
  display: block;
}

.lc-section {
  margin-bottom: 24px;
}
@media (min-width: 992px) {
  .lc-section .lc-section--dd-summary {
    flex-basis: 50%;
  }
}
.lc-section__right {
  margin-left: auto;
}
.lc-section__column-heading {
  font-size: 22px;
  font-weight: bold;
}
@media (max-width: 991.98px) {
  .lc-section__column-heading {
    margin-bottom: 12px;
  }
}
.lc-section__heading {
  font-size: 30px;
}
.lc-section--years .lc-section__heading {
  font-size: 24px;
}
.lc-section--paye, .lc-section--cis, .lc-section--total, .lc-section--table, .lc-section--chart {
  position: relative;
}
@media (min-width: 992px) {
  [data-show-year=both] .lc-section--paye::before, [data-show-year=both] .lc-section--paye::after, [data-show-year=both] .lc-section--cis::before, [data-show-year=both] .lc-section--cis::after, [data-show-year=both] .lc-section--total::before, [data-show-year=both] .lc-section--total::after, [data-show-year=both] .lc-section--table::before, [data-show-year=both] .lc-section--table::after, [data-show-year=both] .lc-section--chart::before, [data-show-year=both] .lc-section--chart::after {
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    background: white;
  }
  [data-show-year=both] .lc-section--paye::before, [data-show-year=both] .lc-section--cis::before, [data-show-year=both] .lc-section--total::before, [data-show-year=both] .lc-section--table::before, [data-show-year=both] .lc-section--chart::before {
    right: 271px !important;
    width: 42px;
  }
  [data-show-year=both] .lc-section--paye::after, [data-show-year=both] .lc-section--cis::after, [data-show-year=both] .lc-section--total::after, [data-show-year=both] .lc-section--table::after, [data-show-year=both] .lc-section--chart::after {
    border-right: solid 2px #f3efe9;
  }
  [data-show-year=both] .lc-section--paye.lc-section--no-pay::after, [data-show-year=both] .lc-section--cis.lc-section--no-pay::after, [data-show-year=both] .lc-section--total.lc-section--no-pay::after, [data-show-year=both] .lc-section--table.lc-section--no-pay::after, [data-show-year=both] .lc-section--chart.lc-section--no-pay::after {
    height: 100%;
  }
}
[data-show-year=both] .lc-section--paye, [data-show-year=both] .lc-section--cis, [data-show-year=both] .lc-section--total, [data-show-year=both] .lc-section--table, [data-show-year=both] .lc-section--chart {
  /*
              @include media-breakpoint-between(sm, md) {
                  &::after {
                      left: calc(72% + 7px);
                      border-color: red;
                  }
              }

              @include media-breakpoint-between(md, lg) {
                  &::after {
                      left: calc(72% + 7px);
                      border-color: green;
                  }
              }
  */
}
@media (min-width: 992px) {
  [data-show-year=both] .lc-section--paye::before, [data-show-year=both] .lc-section--cis::before, [data-show-year=both] .lc-section--total::before, [data-show-year=both] .lc-section--table::before, [data-show-year=both] .lc-section--chart::before {
    right: 266px;
  }
  [data-show-year=both] .lc-section--paye::after, [data-show-year=both] .lc-section--cis::after, [data-show-year=both] .lc-section--total::after, [data-show-year=both] .lc-section--table::after, [data-show-year=both] .lc-section--chart::after {
    right: 291px;
  }
}
.lc-section--headings::after {
  top: 20px !important;
}
.lc-section--paye::after {
  height: calc(100% + 20px);
}
.lc-section--cis::after {
  height: calc(100% - 25px);
}
.lc-section--small-print {
  font-size: 1px;
  color: #bbb;
  padding: 10px 0 0 0;
}
.lc-section--cis .lc-section__intro-text {
  font-weight: bold;
  font-size: 1.6em;
}
.lc-section--cis .lc-section__intro-text span {
  color: #663763;
  text-decoration: underline;
}
.lc-section--paye {
  margin-top: 15px;
}
.lc-section--calculate .lc-error {
  justify-content: end;
  min-width: 100%;
  align-items: center;
}
.lc-section--chart {
  display: none;
}
.lc-section--total, .lc-section--table {
  display: none;
  margin-bottom: 0;
}
.lc-section--total.lc-section--no-pay .lc-breakdown, .lc-section--total.lc-section--no-pay .lc-error, .lc-section--table.lc-section--no-pay .lc-breakdown, .lc-section--table.lc-section--no-pay .lc-error {
  display: none !important;
}
.lc-section--total.lc-section--no-pay .lc-dont-pay-message, .lc-section--table.lc-section--no-pay .lc-dont-pay-message {
  display: flex;
}
.lc-section--total .lc-input-row, .lc-section--total .lc-input-wrapper, .lc-section--table .lc-input-row, .lc-section--table .lc-input-wrapper {
  align-items: flex-start;
}
.lc-section--total .lc-section__column-heading, .lc-section--table .lc-section__column-heading {
  padding-bottom: 15px;
}
.lc-section--total + .lc-section--total, .lc-section--table + .lc-section--total {
  margin-top: -20px;
}
@media (max-width: 575.98px) {
  .lc-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .lc-section--paye .lc-input-wrapper {
    margin-top: 15px;
  }
  .lc-section--total {
    margin-bottom: 0;
  }
  .lc-section__heading {
    font-size: 20px;
    margin-top: 2px;
  }
  .lc-section__column-heading {
    font-size: 18px;
    margin-bottom: 5px;
    width: 100%;
  }
}

.lc-step .lc-section__heading::before {
  border: solid 3px #663763;
  content: attr(data-step);
  border-radius: 50%;
  color: #1f1f1f;
  flex-shrink: 0;
  font-size: 24px;
  font-weight: bold;
  height: 40px;
  width: 40px;
  line-height: 40px;
  margin-right: 12px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767.98px) {
  .lc-step {
    padding: 0;
    position: relative;
  }
  .lc-step::before {
    font-size: 16px;
    height: 25px;
    line-height: 20px;
    position: absolute;
    width: 25px;
  }
}

.lc-tooltip-messages {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.lc-tooltip {
  display: inline-block;
  vertical-align: middle;
  z-index: 4;
}
.lc-tooltip__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0065BD;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}
.lc-tooltip__icon:hover {
  cursor: pointer;
}
.lc-tooltip__icon:hover::before {
  color: rgb(68.8662420382, 37.1337579618, 66.8407643312);
}
.lc-tooltip__message {
  background-color: #FFF;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  display: none;
  left: 0;
  max-width: 100%;
  padding: 30px;
  position: absolute;
  width: 850px;
  z-index: 100;
}
.lc-tooltip__message--show {
  display: block;
}
.lc-tooltip__message--left {
  left: auto;
  right: 0;
}
.lc-tooltip__message h4 {
  font-size: 20px;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
  .lc-tooltip__message {
    left: 0 !important;
    margin-left: 15px !important;
    width: calc(100% - 30px);
  }
}
.lc-tooltip__arrow {
  border-left: solid 20px transparent;
  border-right: solid 20px transparent;
  border-top: solid 20px #FFF;
  display: none;
  position: absolute;
  margin-left: -10px;
  margin-top: -20px;
  z-index: 101;
}
.lc-tooltip__close {
  color: #663763;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 5px;
  top: 10px;
}

.lc-year-radios {
  display: flex;
  vertical-align: top;
}
.lc-year-radios__label {
  align-items: center;
  background-color: #f3efe9;
  justify-content: center;
  cursor: pointer;
  display: inline-flex;
  height: 54px;
  padding: 0 54px 0 54px;
  min-width: 119px;
  position: relative;
  border-radius: 12px;
}
.lc-year-radios__label .material-symbols-outlined {
  position: absolute;
  top: 14px;
  right: 18px;
  display: none;
}
.lc-year-radios__label ~ .lc-year-radios__label {
  margin-left: 15px;
}
.lc-year-radios__radio {
  opacity: 0;
  position: absolute;
}
.lc-year-radios__radio:checked + label {
  background-color: #4d5d68;
  color: white;
}
.lc-year-radios__radio:checked + label .material-symbols-outlined {
  display: inline-block;
}
.lc-year-radios__radio:focus-visible + label {
  outline: none;
  border: 2px solid #00b1eb !important;
  box-shadow: none !important;
  outline-offset: 2px;
}
@media (max-width: 767.98px) {
  .lc-year-radios {
    flex-wrap: wrap;
  }
  .lc-year-radios__radio:checked + label::after {
    margin-left: auto;
  }
  .lc-year-radios__label {
    flex-basis: 100%;
    font-size: 16px;
    line-height: 1;
    padding: 0 15px;
  }
  .lc-year-radios__label ~ .lc-year-radios__label {
    margin-left: 0;
    margin-top: 10px;
  }
}

.levy-calculator {
  font-size: 16px;
  line-height: 1.25;
  position: relative;
}
.levy-calculator[data-show-tax-year="1"] *[data-show-tax-year="2"]:not(input) {
  opacity: 0;
  height: 0;
}
@media (max-width: 991.98px) {
  .levy-calculator[data-show-tax-year="1"] *[data-show-tax-year="2"]:not(input) {
    display: none;
  }
}
.levy-calculator[data-show-tax-year="2"] *[data-show-tax-year="1"]:not(input) {
  opacity: 0;
  height: 0;
}
@media (max-width: 991.98px) {
  .levy-calculator[data-show-tax-year="2"] *[data-show-tax-year="1"]:not(input) {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .levy-calculator .btn {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }
  .levy-calculator .btn::after {
    margin-left: 10px;
    position: relative;
    right: 0;
    top: 0;
  }
}
.levy-calculator {
  /* Translate */
}
.levy-calculator--english .lc-welsh {
  display: none;
}
.levy-calculator--welsh .lc-english {
  display: none;
}
.levy-calculator--welsh .lc-section--total--top::before {
  width: 73%;
}

@media (min-width: 992px) {
  .lc-mobile-only {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .lc-desktop-only {
    display: none !important;
  }
}
.levy-calculator .lc-section {
  max-width: 1041px;
  margin-left: auto;
  margin-right: auto;
}