.sthelens-template {
  --sthelens-primary: #1b1b1b;
  --sthelens-gold: #d4af37;
  --sthelens-dark-border: #343434;
  --sthelens-text: #1f2933;
  --sthelens-bg: #ffffff;
  --sthelens-muted: #4b5563;
}

.sthelens-template {
  background-color: var(--sthelens-bg);
  color: var(--sthelens-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sthelens-template .header {
  background-color: var(--sthelens-primary);
  border-bottom: 1px solid var(--sthelens-gold);
  width: 100%;
  padding: 1rem 0;
}

.sthelens-template .header .container,
.sthelens-template .footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.sthelens-template .header-inner {
  display: flex;
  align-items: center;
}

.sthelens-template .brand-home-link {
  display: inline-block;
  line-height: 0;
}

.sthelens-template .brand-logo {
  width: min(350px, 100%);
  height: auto;
}

.sthelens-template .maincolumn {
  margin: 0;
  padding: 1.25rem 0;
  flex: 1 0 auto;
}

.sthelens-template .maincontent {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.sthelens-template .sis-page-title.govuk-heading-xl {
  margin-bottom: 1.5rem;
  color: #1b1b1b;
}

.sthelens-template .govuk-heading-l {
  margin-bottom: 1rem;
  color: #1b1b1b;
}

.sthelens-template .footer {
  background-color: var(--sthelens-primary);
  border-top: 5px solid var(--sthelens-dark-border);
  width: 100%;
  padding: 1rem 0 1.25rem;
}

.sthelens-template .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.sthelens-template .socialmedia_list {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sthelens-template .socialmedia_item {
  display: inline-flex;
}

.sthelens-template .socialmedia_item a {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 4px;
}

.sthelens-template .socialmedia_item img {
  width: 32px;
  height: 32px;
}

.sthelens-template .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links>li+li:before {
  content: "";
}

.sthelens-template .footer-links a {
  color: #ffffff;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.sthelens-template .footer-links a:hover {
  color: #f5d76b;
}

.sthelens-template .govuk-button {
  background-color: #e5e5e5;
  color: #1b1b1b;
  padding: 10px 20px;
  margin: 0 10px 10px 0;
  font-size: 1rem;
  line-height: 1.5;
  font-family: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: none;
}

.sthelens-template .govuk-button:hover:not(:disabled),
.sthelens-template .govuk-button:focus-visible:not(:disabled) {
  cursor: pointer;
  box-shadow: inset 0 0 20em rgb(0 0 0 / 20%);
}

.sthelens-template .govuk-button:focus-visible {
  outline: 2px solid #0064ff;
  outline-offset: 0;
}

.sthelens-template .govuk-button:active:not(:disabled) {
  box-shadow: inset 0 0 20em rgb(0 0 0 / 30%);
}

.sthelens-template .govuk-button--start {
  background-color: #ffb81b;
  color: #1b1b1b;
}

.sthelens-template .govuk-button--start:hover:not(:disabled),
.sthelens-template .govuk-button--start:focus-visible:not(:disabled),
.sthelens-template .govuk-button--start:active:not(:disabled) {
  color: #1b1b1b;
}

.sthelens-template .govuk-button--secondary {
  background-color: #e5e5e5;
  color: #1b1b1b;
}

.sthelens-template .govuk-button--warning {
  background-color: #800f18;
  color: #ffffff;
}

.sthelens-template .govuk-button:disabled {
  cursor: not-allowed;
  color: #666666;
  background-color: #e5e5e5;
  box-shadow: none;
}

.sthelens-template .govuk-input,
.sthelens-template .govuk-select,
.sthelens-template .govuk-textarea,
.sthelens-template .sis-datepicker-control.govuk-input {
  border: 2px solid #343434;
  border-radius: 4px;
  background-color: #ffffff;
  color: #1b1b1b;
  min-height: 46px;
  padding: 0.5rem 2rem 0.5rem 0.625rem;
}

.sthelens-template .govuk-input:focus,
.sthelens-template .govuk-select:focus,
.sthelens-template .govuk-textarea:focus,
.sthelens-template .sis-datepicker-control.govuk-input:focus {
  border-color: #1b1b1b;
  box-shadow: 0 0 0 3px #ffbf47;
  outline: none;
}

.sthelens-template .govuk-textarea {
  min-height: 120px;
}

.sthelens-template .govuk-input--error,
.sthelens-template .govuk-select--error,
.sthelens-template .govuk-textarea--error {
  border-color: #b10e1e;
  background: #fff5f5;
}

.sthelens-template .govuk-radios__input,
.sthelens-template .govuk-checkboxes__input {
  accent-color: #1b1b1b;
}

.sthelens-template .sis-question-template .govuk-heading-m {
  margin-bottom: 0.4rem;
  color: #3c3c3b;
  font-size: 1.125rem;
  font-weight: 700;
}

.sthelens-template .sis-question-template .govuk-label,
.sthelens-template .sis-question-template .govuk-label2 {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #3c3c3b;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.sthelens-template .sis-question-template .govuk-form-group {
  margin-bottom: 1.5rem;
}

.sthelens-template .govuk-error-message {
  display: block;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-left: 4px solid #b10e1e;
  background: #fff5f5;
  color: #bc111f;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.sthelens-template .govuk-error-summary {
  border: 3px solid #b10e1e;
  background: #fff5f5;
  margin-bottom: 1.5rem;
}

.sthelens-template .govuk-error-summary__title {
  color: #b10e1e;
}

.sthelens-template .sis-buttons-template .govuk-button {
  margin-bottom: 0.75rem;
}

.sthelens-template .sis-buttons-template .text-right .govuk-button {
  margin-right: 0;
}

.sthelens-template .sis-buttons-template--basket .sis-buttons-row--basket {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sthelens-template .sis-buttons-template--basket .sis-buttons-row--basket .govuk-grid-column-one-half {
  width: auto;
  flex: 0 0 auto;
}

.sthelens-template .sis-buttons-template--basket .sis-buttons-col--basket-extra {
  margin-left: auto;
}

.sthelens-template .sis-buttons-template--basket .sis-buttons-row--basket .govuk-button {
  margin-bottom: 0.75rem;
}

.sthelens-template .sis-buttons-template--basket .sis-buttons-col--basket-extra .govuk-button {
  margin-right: 0;
}

.sthelens-template .sis-buttons-template--basket .float-right {
  float: none !important;
}

.sthelens-template .sis-basket-template {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.sthelens-template .sis-basket {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  border: 1px solid #b8bcc2;
  background: #ffffff;
  font-size: 0.96rem;
}

.sthelens-template .sis-basket th,
.sthelens-template .sis-basket td {
  border: 1px solid #b8bcc2;
  padding: 0.7rem 0.65rem;
  vertical-align: middle;
}

.sthelens-template .sis-basket th {
  background: #f0f2f5;
  color: #1b1b1b;
  font-weight: 700;
  text-align: left;
}

.sthelens-template .sis-basket tbody tr:nth-child(even) {
  background: #fafafa;
}

.sthelens-template .sis-basket th:nth-child(3),
.sthelens-template .sis-basket td:nth-child(3) {
  text-align: center;
}

.sthelens-template .sis-basket th:nth-child(7),
.sthelens-template .sis-basket td:nth-child(7) {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.sthelens-template .sis-basket tfoot td {
  font-weight: 700;
  background: #f7f7f7;
}

.sthelens-template .sis-basket tfoot tr:last-child td {
  border-top: 2px solid #1b1b1b;
  background: #ececec;
}

.sthelens-template .sis-basket tfoot tr:last-child td:last-child {
  color: #1b1b1b;
  font-size: 1.05rem;
}

.sthelens-template .sis-basket .form-control {
  width: 100%;
  min-height: 38px;
  border: 1px solid #6b7280;
  border-radius: 2px;
  padding: 0.35rem 0.5rem;
  box-sizing: border-box;
  font: inherit;
}

.sthelens-template .sis-basket select,
.sthelens-template .sis-basket select:hover {
  width: 100%;
  margin: 0;
  border-bottom: 2px solid #343434 !important;
  background: #ffffff !important;
  text-align: left;
  padding: 0 5px 0 5px;
}

.sthelens-template .sis-basket .btn {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border: 1px solid #8a0d17;
  border-radius: 2px;
  background: #fff5f5;
  color: #8a0d17;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.sthelens-template .sis-basket .btn:hover,
.sthelens-template .sis-basket .btn:focus {
  background: #ffe6e8;
}

@media (max-width: 920px) {
  .sthelens-template .sis-basket-template {
    overflow-x: visible;
  }

  .sthelens-template .sis-basket {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .sthelens-template .sis-basket thead {
    display: none !important;
  }

  .sthelens-template .sis-basket tbody {
    display: block !important;
  }

  .sthelens-template .sis-basket tbody tr {
    display: block !important;
    margin: 0 0 0.9rem !important;
    border: 2px solid #1b1b1b !important;
    background: #ffffff;
  }

  .sthelens-template .sis-basket tbody td {
    display: grid !important;
    grid-template-columns: minmax(118px, 42%) 1fr;
    align-items: center;
    gap: 0.35rem 0.6rem;
    border: 0 !important;
    border-top: 1px solid #b8bcc2 !important;
    padding: 0.65rem 0.7rem !important;
    text-align: left !important;
  }

  .sthelens-template .sis-basket tbody td:first-child {
    border-top: 0 !important;
  }

  .sthelens-template .sis-basket tbody td::before {
    content: attr(data-label) !important;
    display: block !important;
    margin: 0;
    font-weight: 700;
    color: #1f2933;
    line-height: 1.3;
  }

  .sthelens-template .sis-basket tbody td > * {
    max-width: 100%;
  }

  .sthelens-template .sis-basket .form-control,
  .sthelens-template .sis-basket .govuk-select,
  .sthelens-template .sis-basket select {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
  }

  .sthelens-template .sis-basket .btn {
    margin: 0;
  }

  .sthelens-template .sis-basket tbody td.sis-basket-cell-action {
    display: block !important;
  }

  .sthelens-template .sis-basket tbody td.sis-basket-cell-action::before {
    content: none !important;
    display: none !important;
  }

  .sthelens-template .sis-basket tbody td.sis-basket-cell-action .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .sthelens-template .sis-basket tfoot {
    display: block !important;
    margin-top: 0.4rem;
  }

  .sthelens-template .sis-basket tfoot tr {
    display: flex !important;
    align-items: center;
    border: 1px solid #b8bcc2 !important;
    border-top: 0 !important;
    background: #f7f7f7;
  }

  .sthelens-template .sis-basket tfoot tr:first-child {
    border-top: 1px solid #b8bcc2 !important;
  }

  .sthelens-template .sis-basket tfoot tr:last-child {
    border-top: 2px solid #1b1b1b !important;
    background: #ececec;
  }

  .sthelens-template .sis-basket tfoot td {
    display: block !important;
    border: 0 !important;
    padding: 0.7rem !important;
  }

  .sthelens-template .sis-basket tfoot td:first-child {
    font-weight: 700;
  }

  .sthelens-template .sis-basket tfoot td:last-child {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
  }

  .sthelens-template .sis-basket tfoot td::before {
    content: none !important;
    display: none !important;
  }

  .sthelens-template .sis-basket input,
  .sthelens-template .sis-basket select {
    text-align: left !important;
  }
}

.sthelens-template .govuk-hint {
  display: block;
  margin: 0.45rem 0 0.65rem;
  padding-left: 0.625rem;
  border-left: 4px solid #b3b3b3;
  color: #4b5563;
}

.sthelens-template .govuk-label,
.sthelens-template .govuk-hint {
  color: #1f2933;
}

.sthelens-template a {
  color: #003c8f;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.sthelens-template a:hover {
  text-decoration-thickness: 2px;
}

.sthelens-template .brand-home-link,
.sthelens-template .socialmedia_item a {
  text-decoration: none;
}

.sthelens-template a:focus,
.sthelens-template button:focus,
.sthelens-template input:focus,
.sthelens-template select:focus,
.sthelens-template textarea:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.sthelens-template .skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 1000;
  background: #ffbf47;
  color: #111111;
  padding: 0.5rem 0.75rem;
  border-radius: 0 0 6px 0;
  font-weight: 700;
}

.sthelens-template .skip-link:focus {
  top: 0;
}

.sis-display-none {
  display: none;
}

.sis-display-none-noscript {
  display: none;
}

@media (max-width: 40.0625em) {
  .sthelens-template .header {
    padding: 0.75rem 0;
  }

  .sthelens-template .maincontent {
    padding-top: 0.25rem;
  }

  .sthelens-template .sis-buttons-template--basket .sis-buttons-row--basket {
    display: block;
  }

  .sthelens-template .sis-buttons-template--basket .sis-buttons-row--basket .govuk-grid-column-one-half {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .sthelens-template .sis-buttons-template--basket .sis-buttons-col--basket-extra {
    margin-left: 0;
  }

  .sthelens-template .sis-buttons-template--basket .govuk-button {
    width: 100%;
  }

}

.vc-weekday {
    color: #4a5568 !important;
}
.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            /* 3 */
}


/* ---- confirmation screen ---- */

.sis-certificateTable {
	width: 450px;
    font-size: 16px;
  }
  
  .details {
	margin-bottom: 20px;
  }
  
  .summary {
	font-weight: bold;
	padding: 0.8em 0.5em;
	color: #303030;
	box-sizing: border-box;
	margin: 0;
	font-size: 16px;
  }
  
  .details-container {
	padding-top: 10px;
	
  }
  
  .hr {
	/* background-color: #cecece; */
	border-bottom: solid 1px #3d3d3d;
	margin-top: 70px;
  }
  
 
  
  .hr h4 {
	margin: 0;
	color: #3d3d3d;
	padding: 8px 0;
	font-size: 16px;
  }
  
  .details-box {
	display: flex;
	margin: 10px 5px;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	border-bottom: dashed 1px #cecece;
  }
  
  .details-box h4 {
	margin: 0;
	font-weight: 300;
	color: #636363;
	font-size: 16px;
  }
  
  .details-box p {
	font-weight: 600;
	color: #575757;
	padding: 8px 0;
  
	margin: 0;
  }
  
  .address-box {
	padding: 20px 10px;
  }
  
  .address-box p {
	margin: 0;
	padding: 2px 0;
	font-weight: 400;
	font-size: 14px;
	color: #636363;
	text-transform: capitalize;
  }
  
  .address-box .post {
	text-transform: uppercase;
  }
  
  .address-line:empty {
	display:none;
  }
  
  .no-refund {
	margin: 0;
	text-align: right;
	font-size: 12px;
	color: #666;
	padding-top: 10px;
  }

  /* ---- choose time ---- */
  .sthelens-template .sis-earliestinoffice-template {
    margin: 0;
    padding: 0.75rem 0;
  }

  .sthelens-template .sis-earliestinoffice-next {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    border: 2px solid #b8bcc2;
    background: #f7f7f7;
  }

  .sthelens-template .sis-earliestinoffice-summary {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.4;
    flex: 1 1 420px;
  }

  .sthelens-template .sis-earliestinoffice-reserve-btn {
    margin: 0;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .sthelens-template .sis-earliestinoffice-alt {
    margin: 0.75rem 0 0;
    color: #1f2933;
  }

  .sthelens-template .sis-choosetime-template .sis-choosetime-column {
    margin-bottom: 1rem;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-date-column {
    border: 1px solid #b8bcc2;
    border-bottom: 1px solid #b8bcc2;
    background: #ffffff;
    height: 100%;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-date-column div {
    padding: 0;
  }

  .sthelens-template .sis-choosetime-template .column-header {
    background: #1b1b1b;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    padding: 0.75rem 0.5rem !important;
    border-bottom: 1px solid #d4af37;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-date-day {
    padding: 0 !important;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-date-earlier {
    padding: 0.55rem 0.65rem !important;
    border-bottom: 1px solid #b8bcc2;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-timeslot {
    cursor: pointer;
    border-bottom: 1px solid #b8bcc2;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.65rem !important;
    background: #ffffff;
    color: #1b1b1b;
    gap: 0.25rem;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-timeslot-available:hover,
  .sthelens-template .sis-choosetime-template .sis-ct-timeslot-available:focus-visible {
    background: #1b1b1b;
    color: #ffffff;
    text-decoration: none;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-timeslot-selected {
    background: #1b1b1b !important;
    color: #ffffff !important;
    font-weight: 700;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-timeslot-none,
  .sthelens-template .sis-choosetime-template .sis-ct-timeslot-none:hover {
    background-color: #f7f7f7;
    cursor: default;
    color: #4b5563;
  }

  .sthelens-template .sis-choosetime-template .sis-ct-date-column .text-right {
    padding: 0.55rem 0.65rem !important;
  }

  .sthelens-template .sis-choosetime-template .btn-link {
    font-size: 1rem;
    font-weight: 600;
    color: #003c8f;
    text-decoration: underline;
  }

  .sthelens-template .sis-choosetime-template .btn-link:hover {
    text-decoration-thickness: 2px;
  }

  .sthelens-template .sis-choosetime-template .text-muted {
    color: #4b5563 !important;
    font-size: 0.95rem;
  }

  
  .info-button {
	  display: block;
	  background: transparent;
	  margin: 5px 0;
  }
  .info-button i {
	  color: grey;
  }

  .modal-mask {
	position: fixed;
	z-index: 9998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: table;
	transition: opacity 0.3s ease;
  }
  
  .modal-wrapper {
	display: table-cell;
	vertical-align: middle;
  }
  
  .modal-container {
	max-width: 500px;
	margin: 0px auto;
	padding: 20px 30px;
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
	transition: all 0.3s ease;
	font-family: Helvetica, Arial, sans-serif;
  }
  
  .modal-header h3 {
	margin-top: 0;
	color: #42b983;
  }
  
  .modal-body {
	margin: 20px 0;
  }
  
  .modal-default-button {
	background: #1b1b1b;
	border: 2px solid #d4af37;
	color: #ffffff;
  }
  
  /*
   * The following styles are auto-applied to elements with
   * transition="modal" when their visibility is toggled
   * by Vue.js.
   *
   * You can easily play with the modal transition by editing
   * these styles.
   */
  
  .modal-enter {
	opacity: 0;
  }
  
  .modal-leave-active {
	opacity: 0;
  }
  
  .modal-enter .modal-container,
  .modal-leave-active .modal-container {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
  }
  

  .modal-box-container {
	padding: 10px 30px;
  }
  
  .modal-box {
	display: flex;
	/* border-right: solid 1px #d3d3d3; */
	margin: 10px 5px;
  
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	border-bottom: dashed 1px #c2c2c2;
  }
  
  .modal-box p {
	margin: 0;
	font-weight: 300;
	color: #636363;
	font-size: 16px;
  }
  
  .modal-box h4 {
	font-weight: 600;
	color: #575757;
	padding: 8px 0;
  font-size: 17px;
	margin: 0;
  }


  .inine {
	display: inline;
  }
  
  .time-link {
	font-size: 15px;
  }

  @media (max-width: 40.0625em) {
	.sis-certificateTable {
		width: 100%;
	}

    .sthelens-template .sis-earliestinoffice-next {
      display: block;
    }

    .sthelens-template .sis-earliestinoffice-reserve-btn {
      width: 100%;
      margin-top: 0.5rem;
    }

    .sthelens-template .sis-choosetime-template .govuk-grid-column-one-quarter {
      width: 100%;
      float: none;
    }
  }
