.two-column-accounts form-control {
  text-align: right;
}
.two-column-accounts [id*=accounts-header] {
  text-align: center;
}
@media (max-width: 640px) {
  .two-column-accounts [id*=accounts-header] {
    display: none; /*Hide from mobiles*/
  }
}
.two-column-accounts [id*=accounts-header] .heading-medium {
  margin: 0;
}
.two-column-accounts .read-only {
  border-color: #bfc1c3;
}
.two-column-accounts .mobile-only-label {
  position: absolute; /*Hidden on desktop, but can be read by screenreaders*/
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
@media (max-width: 640px) {
  .two-column-accounts .mobile-only-label { /*Visible on mobiles*/
    position: relative;
    overflow: visible;
  }
}
.two-column-accounts .left-indent {
  margin-left: 2.8em;
}
.two-column-accounts .circle-subheading {
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 24px;
  line-height: 1.0416666667;
  color: #6f777b;
  display: block;
  margin-left: 1.5em;
}
@media (min-width: 641px) {
  .two-column-accounts .circle-subheading {
    font-size: 36px;
    line-height: 1.1111111111;
  }
}
@media (max-width: 640px) {
  .two-column-accounts { /*Adjust layout of heading styles on mobiles*/ }
  .two-column-accounts .text .heading-xlarge {
    line-height: 0.7em;
  }
  .two-column-accounts .text .heading-xlarge .circle-subheading {
    margin: 0.5em 0 0;
  }
}
.two-column-accounts .accounts-total .form-control {
  border-left: 0;
  border-right: 0;
  font-weight: 700;
}
.two-column-accounts .accounts-total details {
  font-weight: 700;
}
.two-column-accounts .accounts-total .no-help {
  margin-left: 1em;
}
.two-column-accounts .accounts-row-spacer {
  margin-top: 2em;
}
.two-column-accounts .form-control {
  width: 100%;
}
.two-column-accounts .heading-small {
  margin: 0;
}
.two-column-accounts input[type=number] {
  text-align: right;
}
.two-column-accounts .number-input {
  text-align: right;
}
.two-column-accounts table.check-your-answers thead th {
  padding: 2em 0 1em;
}
.two-column-accounts table.check-your-answers thead th h2.heading-medium,
.two-column-accounts table.check-your-answers thead th h2.heading-small {
  margin: 0;
}
.two-column-accounts table.check-your-answers th.check-your-answers-section {
  width: 75%;
}
.two-column-accounts table.check-your-answers td.note-completed {
  width: 5%;
  padding-top: 0.2em;
  padding-bottom: 0;
}
.two-column-accounts table.check-your-answers tr.total td {
  font-weight: 700;
}
.two-column-accounts table.check-your-answers td.numeric {
  font-family: inherit;
  font-size: inherit;
  padding-right: 0;
}
.two-column-accounts table.check-your-answers th.notes,
.two-column-accounts table.check-your-answers td.notes {
  width: 15%;
}
.two-column-accounts table.check-your-answers th.complete,
.two-column-accounts table.check-your-answers td.complete {
  width: 4%;
}
.two-column-accounts table.check-your-answers tr.to-be-completed td,
.two-column-accounts table.check-your-answers tr.to-be-completed th {
  color: #6f777b;
}
.two-column-accounts table.check-your-answers .accounts-success {
  color: #00823b;
  display: block;
  margin: 0 auto;
  font-size: 1em;
}
.two-column-accounts table.check-your-answers .accounts-update {
  color: #ffbf47;
  display: block;
  margin: 0 auto;
  font-size: 1.8em;
}
.two-column-accounts table.check-your-answers .review-reveal {
  padding: 0.5em 0 0.2em 1em;
}
.two-column-accounts table.check-your-answers .review-reveal .column-one-half p {
  text-align: left;
  white-space: pre-wrap;
}
.two-column-accounts table.check-your-answers .review-reveal .column-one-quarter p {
  text-align: right;
}
.two-column-accounts table.check-your-answers .review-reveal [id*=-statement] {
  white-space: pre-wrap;
}
.two-column-accounts table.check-your-answers [id*=delete-summary] p {
  color: #b10e1e;
}
.two-column-accounts table.check-your-answers [id*=delete-summary] .button {
  background-color: #b10e1e;
}
.two-column-accounts table.check-your-answers [id*=delete-summary] .button:hover {
  background-color: #8e0513;
}
.two-column-accounts table.check-your-answers [id*=delete-summary] .no-delete {
  left: 1em;
  position: relative;
  top: 0.5em;
  color: #b10e1e;
}

@media (max-width: 640px) {
  .review-reveal .column-one-half {
    width: 45%;
    display: inline-block;
  }
  .review-reveal .column-one-third {
    width: 31%;
    display: inline-block;
  }
  .review-reveal .column-one-quarter {
    width: 22%;
    display: inline-block;
  }
}
@media (max-width: 640px) {
  [id*=delete-summary] .button {
    margin-top: 0.5em;
    margin-left: 0 !important;
  }
}
.your-filings table[id^=rf_table] {
  margin-top: 1.5em;
}
.your-filings table[id^=rf_table] tr td {
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 14px;
  line-height: 1.1428571429;
}
@media (min-width: 641px) {
  .your-filings table[id^=rf_table] tr td {
    font-size: 16px;
    line-height: 1.25;
  }
}
.your-filings table[id^=rf_table] tr td strong.status {
  font-weight: 700;
  font-size: 1.2em;
}
.your-filings table[id^=rf_table] tr td a {
  display: inline-block;
  font-size: 1.1em;
}
.your-filings table[id^=rf_table] tr th {
  font-weight: normal;
}
.your-filings table[id^=rf_table] tr th.description {
  width: 69%;
}
.your-filings table[id^=rf_table] tr th.status {
  width: 18%;
}
.your-filings table[id^=rf_table] tr th.actions {
  width: 15%;
}
.your-filings table[id^=rf_table] tr td.rejected-type {
  padding-right: 4em;
}
.your-filings table[id^=rf_table] tr .notice {
  margin-left: -3em;
}
.your-filings table[id^=rf_table] tr .rejected {
  color: #b10e1e;
  margin-left: -3.1em;
}
.your-filings table[id^=rf_table] tr .rejected .icon-important {
  background-image: url("/images/icon/icon-important-red.png");
}
.your-filings .one-filing {
  margin-bottom: 2em;
  background-color: #f8f8f8;
  padding: 1em;
  clear: both;
}
.your-filings .one-filing .heading-medium {
  margin-top: 0;
}
.your-filings .one-filing .heading-medium span {
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 16px;
  line-height: 1.25;
  display: block;
}
@media (min-width: 641px) {
  .your-filings .one-filing .heading-medium span {
    font-size: 19px;
    line-height: 1.3157894737;
  }
}
.your-filings .one-filing.rejected .notice {
  color: #b10e1e;
}
.your-filings .one-filing.rejected .notice .icon-important {
  background-image: url("/images/icon/icon-important-red.png");
}
.your-filings .grid-row strong {
  display: block;
}
.your-filings .grid-row strong a:first-of-type {
  padding-right: 1em;
}
.your-filings .grid-row .bold-medium {
  font-weight: normal;
  margin-bottom: 1em;
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 16px;
  line-height: 1.25;
}
@media (min-width: 641px) {
  .your-filings .grid-row .bold-medium {
    font-size: 19px;
    line-height: 1.3157894737;
  }
}
.your-filings .grid-row .bold-medium span {
  display: block;
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}
@media (min-width: 641px) {
  .your-filings .grid-row .bold-medium span {
    font-size: 24px;
    line-height: 1.25;
  }
}
.your-filings .no-table .column-description {
  width: 33%;
}
.your-filings .no-table .column-reference {
  width: 33%;
}
.your-filings .no-table .column-status {
  width: 17%;
}
.your-filings .no-table .column-actions {
  width: 17%;
}
.your-filings .no-table .column-actions strong {
  font-weight: normal;
  font-size: 0.9em;
}
.your-filings .no-table .column-actions strong a:first-of-type {
  padding-right: 0;
}
.your-filings a.admin-link, .your-filings input.admin-link {
  font-size: 16px !important;
  color: #fff;
  background-color: #005ea5;
  text-decoration: none;
  padding: 2px 8px;
  display: inline-block;
  margin: 0.5em 0.5em 1.5em 0;
}
.your-filings a.admin-link:hover, .your-filings a.admin-link:focus, .your-filings input.admin-link:hover, .your-filings input.admin-link:focus {
  background-color: #2b8cc4;
}

.form-group .inline-multiple label {
  margin-bottom: 0.5em;
}

p.company-details {
  font-size: 0.9em;
}

.group-textarea details {
  margin: -0.5em 0 0.5em;
}
.group-textarea details summary {
  font-weight: normal;
}

h1 .circle,
h2 .circle,
h3 .circle {
  font-size: 21px;
  margin-right: 5px;
  position: relative;
  top: -2px;
}

header span {
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 18px;
  line-height: 1.2;
  color: #6f777b;
  display: block;
}
@media (min-width: 641px) {
  header span {
    font-size: 24px;
    line-height: 1.25;
  }
}

.subheading {
  font-family: "nta", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 16px;
  line-height: 1.25;
  color: #6f777b;
  display: block;
}
@media (min-width: 641px) {
  .subheading {
    font-size: 19px;
    line-height: 1.3157894737;
  }
}

.warning-with-triangle {
  top: 25px;
  position: relative;
  background-color: rgb(255, 244.2173913043, 224);
  border: 3px solid #ffbf47;
  width: auto;
  height: auto;
  padding: 0.5em;
  margin-bottom: 1.5em;
}
.warning-with-triangle p {
  margin: 0;
}

.warning-with-triangle:after,
.warning-with-triangle:before {
  bottom: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.warning-with-triangle:after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: rgb(255, 244.2173913043, 224);
  border-width: 19px;
  left: 80%;
  margin-left: -19px;
}

.warning-with-triangle:before {
  border-color: rgba(113, 158, 206, 0);
  border-bottom-color: #ffbf47;
  border-width: 23px;
  left: 80%;
  margin-left: -23px;
}

.warning-note {
  background-color: rgb(255, 244.2173913043, 224);
  border: 3px solid #ffbf47;
  padding: 0 0.3em;
  margin-left: 0.5em;
}
.warning-note.warning-note-large {
  padding: 0.5em;
  margin-left: 0;
}

.warning-note-solid-blue {
  background-color: #005ea5;
  padding: 0 0.3em;
  margin-left: 0.5em;
  color: #fff;
}
.warning-note-solid-blue.warning-note-solid-blue-large {
  padding: 0.7em;
  margin-left: 0;
  margin-bottom: 1em;
}

h1 span.circle {
  position: relative;
  top: -0.5em;
}

.example-icon-list span.circle {
  position: relative;
  top: -0.2em;
}

.icon-important {
  background-image: url("/images/icon/icon-important.png");
}

#accounts-start-page .form-hint {
  margin: 0 0 1em 2em;
}
#accounts-start-page li span {
  margin-right: 0.9em;
  margin-bottom: 1em;
}

.grid-row.error-hidden {
  display: none;
}

.column-quarter .error-hidden {
  visibility: hidden;
}

.error-spacer {
  margin-bottom: -2em;
}

.left-indent {
  margin-left: 2.8em;
}
.left-indent textarea.form-control {
  width: 100%;
}

@media (max-width: 640px) {
  .left-indent {
    margin-left: 0 !important;
  }
}
#autosave-container {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #6f777b;
  color: #fff;
  width: 100%;
  padding: 0.5em 0 0.8em;
  height: 1em;
}
#autosave-container div {
  text-align: center;
}

h1 .panel {
  font-size: 0.5em;
  margin: 1em 0;
}

.panel .grid-row {
  margin-bottom: 15px;
}

#save-modal {
  border: 2px solid #bfc1c3;
  background-color: #dee0e2;
  padding: 1em;
  display: block;
  margin: 0 auto 2em;
}
#save-modal h2 {
  margin-top: 0;
}
#save-modal .button {
  margin: 0 1em 0 0;
}

@media (max-width: 640px) {
  #save-modal .button:first-of-type {
    margin-bottom: 1em;
  }
}
.process-status {
  font-size: 12px;
}

.process-spinner {
  background-image: url("/images/icon/process-spinner.gif");
  background-size: 27px 27px;
  width: 27px;
  height: 27px;
}

details {
  display: list-item;
  list-style-type: none;
}
details summary {
  display: list-item;
}

a.button[rel=external]:after { /* don't show external icon on buttons */
  content: none;
}

.destination {
  display: block;
  margin-top: 0.4em;
  max-width: 13em;
}

#acc-ref-date-form-group label {
  margin-bottom: 0.5em;
}

@media (max-width: 640px) {
  #acc-ref-date-form-group label {
    margin-bottom: 1em;
  }
}
.govuk-box-highlight {
  padding: 1em 1em 0.1em 1em;
}

.employees-help-text-left-align {
  text-align: left;
}

.relative-with-padding {
  padding-left: 1.5em;
  position: relative;
}