/* Copyright (c) Crown Copyright (Department for Transport). Licensed under The MIT License (MIT).  See License file in the project root for license information. */
.govuk-link--no-underline {
  text-decoration: none !important;
}

button.govuk-link {
  background: none !important;
  border: none;
  padding: 0;
  color: #1d70b8;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
}

button.govuk-link:hover {
  color: #003078 !important;
}

button.govuk-link:focus {
  outline: 3px solid rgba(0, 0, 0, 0) !important;
  background-color: #fd0 !important;
  box-shadow:
    0 -2px #fd0,
    0 4px #0b0c0c !important;
  text-decoration: none !important;
}

.govuk-button--orange {
  background-color: #ffbf4a !important;
  color: black !important;
}

.govuk-button--orange:hover,
.govuk-button--orange:focus {
  background-color: #e7a937 !important;
  color: black !important;
}

.govuk-form-group--error input.autocomplete__input {
  border: 2px solid #d4351c !important;
}

input[type="file"] {
  width: 100% !important;
}

p.govuk-header__link {
  text-decoration: none !important;
  font-weight: bold;
  margin: 0px;
  cursor: text;
}

p.govuk-header__link--service-name {
  margin-bottom: 10px;
}

.govuk-subheading {
  color: #505a5f;
}

.center {
  text-align: center;
}

.text-right {
  text-align: right !important;
}

.text-red {
  color: #ac1a03;
}

.text-green {
  color: #1f8a0a;
}

.no-text-transform {
  text-transform: none !important;
}

.env-dev-header {
  border-bottom: 10px solid #999999;
}

.env-integration-header {
  border-bottom: 10px solid #1d70b8;
}

.env-test-header {
  border-bottom: 10px solid #912b88;
}

.env-uat-header {
  border-bottom: 10px solid #d4351c;
}

.env-staging-header {
  border-bottom: 10px solid #4c2c92;
}

.env-sandbox-header {
  border-bottom: 10px solid #1d70b8;
}

.env-preprod-header {
  border-bottom: 10px solid #d4351c;
}

tr.no-bottom-border td {
  border-bottom: 0px;
}

.checkbox-cell {
  padding-top: 2px;
}

.loading-icon {
  width: 60px;
  height: 60px;
}

.no-font-size {
  font-size: 0px !important;
}

.number-font {
  font-family: "Lato", monospace;
  letter-spacing: 0.025em;
}

/* Warnings */

.govuk-form-group--warning:not(.govuk-form-group--error) {
  background: #ffebe1;
  padding: 15px;
  border-left: 5px solid #e77035;
}

.govuk-form-group--warning:not(.govuk-form-group--error)
  .govuk-warning-message[data-show="true"] {
  font-family:
    GDS Transport,
    arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.31579;
  display: block;
  margin-bottom: 15px;
  clear: both;
  color: #c5602e;
}

.app-task-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 40.0625em) {
  .app-task-list {
    min-width: 550px;
  }
}

.app-task-list__section {
  display: table;
  font-family: "GDS Transport", arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.11111;
}

@media print {
  .app-task-list__section {
    font-family: sans-serif;
  }
}

@media (min-width: 40.0625em) {
  .app-task-list__section {
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 1.25;
  }
}

@media print {
  .app-task-list__section {
    font-size: 18pt;
    line-height: 1.15;
  }
}

.app-task-list__section-number {
  display: table-cell;
}

@media (min-width: 40.0625em) {
  .app-task-list__section-number {
    min-width: 30px;
    padding-right: 0;
  }
}

.app-task-list__items {
  font-family: "GDS Transport", arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 40px;
  list-style: none;
  padding-left: 0;
}

@media print {
  .app-task-list__items {
    font-family: sans-serif;
  }
}

@media (min-width: 40.0625em) {
  .app-task-list__items {
    font-size: 19px;
    font-size: 1.1875rem;
    line-height: 1.31579;
  }
}

@media print {
  .app-task-list__items {
    font-size: 14pt;
    line-height: 1.15;
  }
}

@media (min-width: 40.0625em) {
  .app-task-list__items {
    margin-bottom: 60px;
  }
}

@media (min-width: 40.0625em) {
  .app-task-list__items {
    padding-left: 30px;
  }
}

.app-task-list__item {
  border-bottom: 1px solid #b1b4b6;
  margin-bottom: 0 !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

.app-task-list__item:after {
  content: "";
  display: block;
  clear: both;
}

.app-task-list__item:first-child {
  border-top: 1px solid #b1b4b6;
}

.app-task-list__task-name {
  display: block;
}

@media (min-width: 28.125em) {
  .app-task-list__task-name {
    float: left;
  }
}

.app-task-list__tag,
.app-task-list__task-completed {
  margin-top: 10px;
  margin-bottom: 5px;
}

@media (min-width: 28.125em) {
  .app-task-list__tag,
  .app-task-list__task-completed {
    float: right;
    margin-top: 0;
    margin-bottom: 0;
  }
}

.govuk-list--roman {
  list-style: lower-roman;
}

.moj-message-list {
  height: 500px;
}

button[type="submit"][aria-hidden="true"] {
  display: none;
}

div.container-float-right {
  float: right;
  padding-top: 0.25rem;
}

.remove-margin-bottom {
  margin-bottom: 0px !important;
}

.remove-pointer-events {
  pointer-events: none !important;
}

.button-spinner {
  margin-left: 5px;
  margin-right: 3px;
  width: 1em;
  height: 1em;
  margin-bottom: -2px;
  position: relative;
}

[data-spinner-set]:focus .button-spinner {
  fill: #000;
}

[data-spinner-set]:not(:focus) .button-spinner {
  fill: #fff;
}

.govuk-button--secondary:not(:focus) .button-spinner {
  fill: #000;
}

[data-spinner-set].button-taking-a-while::after {
  content: "It's taking longer than we expected, please wait...";
  position: absolute;
  top: 2.25rem;
  left: -0.15rem;
  color: black;
  background-color: white;
  width: 88%;
  text-align: center;
  padding: 0.5rem;
  border: solid 2px black;
}

.govuk-notification-banner--notice-board .last-updated {
  font-size: 10pt;
}

.service_name_override {
  padding: 5px 0px 5px 0px;
  font-size: 1.5rem;
  margin: 5px 0px;
}

.govuk-tag {
  text-transform: capitalize;
  max-width: max-content;
}

.no-padding-important {
  padding: 0px !important;
}

/* Table column width classes */
.govuk-table__cell--width-small,
.govuk-table__header--width-small {
  width: 15% !important;
  max-width: 15% !important;
  min-width: 15% !important;
}

.govuk-table__cell--width-medium,
.govuk-table__header--width-medium {
  width: 30% !important;
  max-width: 30% !important;
  min-width: 30% !important;
}

.govuk-table__cell--width-large,
.govuk-table__header--width-large {
  width: 50% !important;
  max-width: 50% !important;
  min-width: 50% !important;
}
