/*
	DSFX Web Application SCSS
	Created:            Sep 2017
	Created by:         Alex Currie, Idox.
	Last updated:       Jun 2026
	Last updated by:    Steve Priestley, Idox.
*/
/* Integer variables */
/* Imports */
@import url("common.css"); /* Common CSS */
/* Mix-ins */
/* Highlight new successful upload */
@keyframes highlight {
  0% {
    color: var(--success-700);
    background-color: var(--success-100);
  }
  100% {
    color: var(--neutral-500);
    background: var(--white);
  }
}
/* Core CSS */
html {
  position: relative;
}

#main,
div.main {
  padding: 100px 40px 180px 40px;
}
#main .container-fluid,
div.main .container-fluid {
  padding: 0;
}
#main small,
#main .small,
#main .text-danger,
div.main small,
div.main .small,
div.main .text-danger {
  font-size: 95% !important;
}

a[disabled] {
  pointer-events: none;
  cursor: default;
}

/* Header */
header {
  background: var(--neutral-300);
  padding: 0;
}
header h1 {
  font-size: 20px;
  color: var(--white);
  margin: 0;
}
header .headerLogo {
  padding-left: 0 !important;
  text-align: left;
  margin: 0;
}
header .headerLogo img {
  max-height: 50px;
}
header .headerText {
  vertical-align: middle;
  padding: 0 10px;
  text-align: center;
  margin: 0;
  width: auto !important;
  max-width: 75% !important;
}
header .headerText h1,
header .headerText h4 {
  font-size: 18px !important;
  line-height: 1em !important;
}
header .headerText .navbar-text {
  float: none;
  font-size: 20px;
  color: var(--white);
}
header .headerSteps {
  vertical-align: middle;
  text-align: center;
  margin: 0;
  color: var(--white);
}
header .headerSteps .navbar-btn {
  color: var(--neutral-550);
  background-color: var(--neutral-50);
  border-color: var(--neutral-300);
}
header .headerSteps .navbar-btn:hover {
  color: var(--neutral-600);
  background-color: var(--neutral-100);
  border-color: var(--neutral-400);
}
header .headerSteps p {
  float: none;
  background: var(--white) !important;
  color: var(--neutral-800) !important;
}

/* Navbar */
.navbar .navbar-header {
  width: 100%;
}

/* Footer */
footer.navbar {
  position: absolute;
  bottom: 0;
  background: var(--neutral-100);
  border: var(--neutral-100);
  width: 100%;
}
footer.navbar .navbar-text {
  color: var(--neutral-500);
}
footer.navbar .navbar-text .footer-links {
  margin-left: 7px;
}
footer.navbar .navbar-text i {
  vertical-align: text-bottom;
}
footer.navbar .navbar-left .navbar-text {
  margin-right: 0;
}

/* Headings */
h1,
h2,
h3 {
  font-weight: 500;
}

h2,
h3 {
  margin: var(--base-size-16px) 0;
}

h1 {
  font-size: var(--base-size-42px);
  margin-top: 0;
}

h2 {
  font-size: var(--base-size-32px);
}

h3 {
  font-size: var(--base-size-20px);
}

/* Text formatting */
p {
  margin: var(--base-size-16px) 0;
}

ul,
ol {
  margin: var(--base-size-16px) 0;
}
ul li,
ol li {
  margin: 0 0 var(--base-size-8px) 0;
}

/* Modals */
.modal .modal-header .close span {
  font-size: 36px;
}
.modal .modal-header .close.gdpr-close {
  color: var(--primary-500);
  opacity: 1;
}
.modal .modal-header .close.gdpr-close:hover {
  color: var(--primary-600);
  text-decoration: underline;
}
.modal .modal-header .close.gdpr-close span {
  font-size: 16px;
}
.modal .modal-body a {
  color: var(--primary-500);
  text-decoration: underline;
}
.modal .modal-body a:hover, .modal .modal-body a:active, .modal .modal-body a:focus, .modal .modal-body a:focus-visible {
  color: var(--primary-600);
}
.modal .modal-footer {
  text-align: left;
  padding: 5px;
}

#saveXp-modal .modal-header {
  border: none;
}
#saveXp-modal .modal-body {
  padding: 15px 35px 25px 35px;
}
#saveXp-modal .modal-body a.btn-block {
  margin-bottom: 15px;
}

/* Forms */
input[type=file].form-control {
  height: 38px;
}

input[type=file]:focus,
input[type=checkbox]:focus,
select:focus {
  outline: 2px solid var(--black) !important;
}

.form-control {
  border-color: var(--neutral-500) !important;
  font-size: var(--base-size-16px) !important;
}
.form-control:focus, .form-control:focus-visible {
  outline: 1px solid var(--neutral-600) !important;
}

.input-group .input-group-btn .btn {
  border-color: var(--neutral-500) !important;
  padding: 5px 12px;
}

#preview-content label {
  font-weight: 500;
}
#preview-content label:empty {
  display: none;
}

div#preview-Q1Address1 .form-group,
div#preview-Q1Address2 .form-group,
div#preview-Q2CompanyOfficeAddress .form-group,
div#preview-Q2Address2 .form-group {
  margin: 0;
}

div#preview-Q1Address2 .form-group label,
div#preview-Q2Address2 .form-group label {
  display: none;
}

#preview-Q1TownCity {
  margin-top: 15px;
}

div#preview-Q22DeclarationMade label:empty {
  display: none;
}

/* Buttons */
.submit .btn {
  margin-top: 20px;
}
.submit .btn + .btn {
  margin-left: 5px;
}

.col-md-12 > .btn {
  margin-top: 20px;
}

#preview-footer .btn {
  font-weight: 400 !important;
  border-radius: 3px;
  margin-top: 30px;
}
#preview-footer #runtime-next-btn {
  color: var(--white);
  background: var(--success-700);
  border-color: var(--success-600);
}

.btn {
  font-size: var(--base-size-16px);
}

.btn-default.btn-file {
  padding: 8px 12px;
  width: 100%;
}

.btn-default,
.btn-custom {
  color: var(--primary-500) !important;
  background-color: var(--neutral-50) !important;
  border-color: var(--neutral-100) !important;
}
.btn-default:hover, .btn-default:active, .btn-default:focus, .btn-default:focus-visible,
.btn-custom:hover,
.btn-custom:active,
.btn-custom:focus,
.btn-custom:focus-visible {
  color: var(--neutral-800) !important;
  border-color: var(--neutral-500) !important;
}

.btn-link {
  color: var(--primary-500) !important;
}
.btn-link:hover, .btn-link:active, .btn-link:focus, .btn-link:focus-visible {
  color: var(--primary-600) !important;
  text-decoration: underline;
}

#runtime-next-btn {
  color: var(--white) !important;
  background-color: var(--success-700) !important;
  border-color: var(--success-600) !important;
}
#runtime-next-btn:hover, #runtime-next-btn:active, #runtime-next-btn:focus, #runtime-next-btn:focus-visible {
  background-color: var(--neutral-600) !important;
  border-color: var(--neutral-800) !important;
}

/* Tables */
table .table {
  margin-top: 15px;
}
table .table a > i {
  color: var(--neutral-550);
}
table .table a:hover > i, table .table a:active > i, table .table a:focus > i, table .table a:focus-visible > i {
  color: var(--primary-500);
}

.my-submissions table .table {
  width: 100%;
  margin-bottom: 45px;
}
.my-submissions table .table .control-cell {
  width: 80px;
  text-align: right;
}
.my-submissions table .table .control-cell a + a {
  margin-left: 10px;
}
.my-submissions table .table td .address {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  display: block;
}

/* Jumbotron */
.panel .panel-body .jumbotron {
  padding: 0;
}

.jumbotron {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  color: var(--neutral-600);
}
.jumbotron h1 i.idox-icon {
  font-size: var(--base-size-72px);
}
.jumbotron h1 + h2 {
  margin-top: 0;
}

/* Error messaging */
.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .radio,
.has-error .radio-inline {
  color: var(--error-700);
}
.has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label {
  color: var(--error-700);
}
.has-error .form-control {
  border-color: var(--error-700) !important;
}
.has-error .form-control:focus, .has-error .form-control:focus-visible {
  outline: 1px solid var(--error-700) !important;
}

div.error.main,
div.warning.main {
  display: block;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.panel-danger .panel-heading,
.panel-warning .panel-heading {
  color: var(--white);
  font-size: 130%;
  font-weight: bold;
}

/* Help */
.help-block,
p.lead {
  color: var(--neutral-550);
}

#preview-content .s2forms-help {
  display: none;
}
#preview-content p a {
  word-break: break-word;
}

div.main .help-block {
  font-size: 95% !important;
}

div.formhelp {
  padding-left: 10px;
  display: inline;
}
div.formhelp i {
  font-size: 22px;
  margin-top: 14px;
}

.formhelpicon a {
  color: var(--neutral-400);
}
.formhelpicon a:hover, .formhelpicon a:active, .formhelpicon a:focus, .formhelpicon a*:focus-visible {
  color: var(--primary-500);
}

/** Uploads **/
.attachments .form-section-title {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
}
.attachments .files-upload {
  padding-right: 30px;
}
.attachments .files-upload.show-divider {
  border-right: 1px solid var(--neutral-300);
}
.attachments .form-control-static {
  padding: 0;
}
.attachments .progress {
  height: 100%;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  box-shadow: none;
  width: 0;
}
.attachments .panel {
  background: var(--neutral-25);
  box-shadow: none;
}
.attachments i.glyphicon-remove {
  color: var(--error-700);
  vertical-align: middle;
}
.attachments a.delete-link {
  color: var(--neutral-500);
}
.attachments a.delete-link:hover {
  color: var(--primary-600);
}
.attachments input[type=checkbox] {
  margin-right: 5px;
}
.attachments #uploadsPanel.panel .panel-body {
  padding-top: 30px;
}
.attachments #files-wrapper .panel .panel-heading {
  padding-top: 0;
}
.attachments #files-wrapper .panel .panel-heading h2 {
  font-size: 18px;
}
.attachments #files-wrapper .panel .panel-heading p {
  margin: 0;
}
.attachments #files-wrapper .panel .panel-body {
  padding-top: 0;
}
.attachments .list-group-item .file-text {
  z-index: 100;
}
.attachments .list-group-item.success {
  animation: highlight 2.5s;
}

#files .file-name {
  max-width: 90%;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#files .file-size {
  display: inline-block;
}

.files-upload hr {
  margin-top: 30px;
  margin-bottom: 25px;
  opacity: 0.5;
}
.files-upload .alert {
  padding: 8px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.files-upload .alert.alert-success {
  color: var(--success-700);
  background-color: var(--success-100);
  border-color: var(--success-200);
}

.file-exts i.idox-icon-info {
  font-size: 16px;
}
.file-exts + .popover {
  border-radius: 4px;
}
.file-exts + .popover .popover-content {
  padding: 5px 10px;
}
.file-exts + .popover .popover-content p {
  margin: 0;
}

.file-types {
  padding: 0 0 10px 0;
}

/* Imports */
.import-divider {
  margin: 30px 0;
  background: url("../images/tl_divider.png") repeat-x;
}
.import-divider span {
  display: block;
  text-align: center;
  max-width: 75px;
  margin-bottom: 0;
  background: var(--neutral-25);
}

/** Summary **/
.summary {
  margin-top: 20px;
}
.summary label.control-label {
  font-weight: 600;
}
.summary .radio {
  margin-left: 5px;
}

.summary-subheading {
  font-size: large;
  margin: 15px 0 25px;
}

.details-label {
  min-width: 9em;
  font-weight: bold;
  display: inline-block;
}

/* Registration */
.registration-ui {
  background: linear-gradient(to bottom, #f8d038 0%, #f5ca2e 100%);
  padding: 0.25em 1em 0.25em 1.75em;
  font-weight: bold;
  font-size: 2em;
  border-radius: 5px;
  border: 1px solid #000;
  box-shadow: 1px 1px 1px #ddd;
  position: relative;
  font-family: Helvetica, Arial, sans-serif;
}
.registration-ui::before {
  content: "GB";
  display: block;
  width: 30px;
  height: 100%;
  background: #063298;
  position: absolute;
  top: 0;
  border-radius: 5px 0 0 5px;
  color: #f8d038;
  font-size: 0.5em;
  line-height: 76px;
  padding-left: 5px;
}
.registration-ui::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 30px;
  border: 1px dashed #f8d038;
}

li.registration-ui {
  margin-bottom: 20px;
}

/* Lists */
.list-group-item-default {
  background: #efefef;
}

/* Bullet points */
#preview-content ol,
#preview-content ul {
  margin: var(--base-size-10px) 0 var(--base-size-30px) 0;
}
#preview-content ol li:not(:last-child),
#preview-content ul li:not(:last-child) {
  margin-bottom: var(--base-size-12px);
}

/* Page specific */
/* Text page */
body.text-page header {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
}
body.text-page h2 {
  font-size: var(--base-size-24px);
  margin-top: var(--base-size-36px);
}
body.text-page h3 {
  font-size: var(--base-size-20px);
}
body.text-page a {
  color: var(--primary-500);
  text-decoration: underline;
}
body.text-page a:hover, body.text-page a:active, body.text-page a:focus, body.text-page a:focus-visible {
  color: var(--primary-600);
}

/* Responsive CSS */
@media (max-width: 767px) {
  /* Main */
  #main,
  div.main {
    padding-top: 190px;
    padding-bottom: 320px;
  }
  /* Header */
  header .headerLogo {
    padding-left: 10px !important;
  }
  header .headerLogo img {
    margin-top: 10px;
  }
  header .headerText {
    padding-left: 20px !important;
  }
  header .headerSteps .btn.navbar-btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 4px;
    margin-top: 0;
  }
  header .headerSteps p {
    margin-top: 0;
  }
  /* Footer */
  footer.navbar .navbar-left .navbar-text {
    margin-bottom: 0;
    margin-right: 0;
  }
  footer .navbar-text.pull-right {
    float: left !important;
  }
  footer .navbar-text span.footer-links {
    display: block;
    margin: 0;
  }
  /* Summary */
  .summary .form-group {
    margin: 0;
  }
  .summary .form-control-static {
    padding: 0;
  }
}
@media (min-width: 768px) {
  /* Summary */
  .summary .form-group ul {
    padding-top: 7px;
  }
}
@media (max-width: 991px) {
  /* Attachments */
  .attachments .files-upload {
    padding-right: 15px;
    padding-top: 15px;
  }
  .attachments .files-upload.show-divider {
    border-right: none;
  }
  .attachments #files-wrapper {
    border-left: none;
    border-bottom: 1px solid var(--neutral-300);
  }
}
