@font-face {
  font-family: "opensans";
  src: url("../fonts/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "opensans";
  src: url("../fonts/OpenSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "opensans";
  src: url("../fonts/OpenSans-Bold.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "portal";
  src: url("../fonts/portal.eot?uqv3dc");
  src: url("../fonts/portal.eot?uqv3dc#iefix") format("embedded-opentype"),
    url("../fonts/portal.ttf?uqv3dc") format("truetype"),
    url("../fonts/portal.woff?uqv3dc") format("woff"),
    url("../fonts/portal.svg?uqv3dc#portal") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "portal" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  text-rendering: auto;
  font-size: 20px;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-plus:before {
  content: "\ea0a";
}

.icon-minus:before {
  content: "\ea0b";
}

.icon-asterisk:before {
  content: "\e612";
}

.icon-key:before {
  content: "\f084";
}

.icon-tick:before {
  content: "\e615";
}

.icon-tick2:before {
  content: "\e616";
}

.icon-cross:before {
  content: "\e617";
}

.icon-uniE618:before {
  content: "\e618";
}

.icon-ipcortex-icon:before {
  content: "\e900";
}

.icon-ipcortex:before {
  content: "\e901";
}

.icon-circle-up:before {
  content: "\ea41";
}

.icon-circle-right:before {
  content: "\ea42";
}

.icon-circle-down:before {
  content: "\ea43";
}

.icon-circle-left:before {
  content: "\ea44";
}

.icon-checkbox-checked:before {
  content: "\ea52";
}

.icon-checkbox-unchecked:before {
  content: "\ea53";
}

.icon-radio-checked:before {
  content: "\ea54";
}

.icon-radio-checked2:before {
  content: "\ea55";
}

.icon-radio-unchecked:before {
  content: "\ea56";
}

.icon-chevron-left:before {
  content: "\f053";
}

.icon-chevron-right:before {
  content: "\f054";
}

.icon-chevron-up:before {
  content: "\f077";
}

.icon-chevron-down:before {
  content: "\f078";
}

.icon-caret-up:before {
  content: "\f0d8";
}

.icon-caret-down:before {
  content: "\f0d7";
}

.icon-gbp:before {
  content: "\f154";
}

.icon-percent:before {
  content: "\f295";
}

.icon-coin-pound:before {
  content: "\e93d";
}

.icon-pencil:before {
  content: "\f040";
}

.icon-table:before {
  content: "\f0ce";
}

.icon-text-file:before {
  content: "\f0f6";
}

.icon-circle-notch:before {
  content: "\f1ce";
}

.icon-spinner:before {
  content: "\f110";
}

.block-spin {
  display: inline-block;
  -webkit-animation: block-spin 1.5s infinite linear;
  animation: block-spin 1.5s infinite linear;
}

.block-pulse {
  -webkit-animation: block-spin 1s infinite steps(8);
  animation: block-spin 1s infinite steps(8);
}

@-webkit-keyframes block-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes block-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/**** STANDARD ELEMENTS ****/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family: opensans, arial;
  font-size: 14px;
  font-weight: normal;
  color: #000;
  background-color: #fff;
  line-height: 1.6;
  height: 100%;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

h1,
h2,
h3,
h4 {
  color: #2c71cc;
}

h1 {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
}

h2 {
  font-weight: normal;
}

a,
a:visited,
a:hover,
a:active {
  color: #2c71cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only,
.hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/** 'removed' - not in the DOM at all as distinct from available for screen readers but not actually visible. **/
.nowrap {
  white-space: nowrap;
}

.removed {
  display: none !important;
}

.error {
  background-color: #ffffff;
  padding: 12px;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  border-left-color: #d9534f;
  /* Left side border color */
  background-color: rgba(217, 83, 79, 0.1);
  /*Same color as the left border with reduced alpha to 0.1*/
  margin-bottom: 24px;
}

.error-box {
  border-left-width: 5px;
  margin: auto;
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  padding: 12px;
  border: 1px solid #eee;
  background-color: #ffffff;
  border-left-color: #d9534f;
  background-color: rgba(217, 83, 79, 0.1);
}

.success {
  color: green;
}

.centre {
  margin-left: auto !important;
  margin-right: auto !important;
}

.centre-content {
  text-align: center;
}

.intro {
  font-size: 140%;
  font-weight: bold;
}

/**** class="actionlist" identifies a sequence of one or more 'actions' or command that a user may request
 **** by clicking on a UI control. The stylesheet can then decide how to render those actions depending on
 **** they appear in the design. The following styles define the default rendering of an 'actionlist'. Modifiers
 **** exist later in the stylesheet, for example, where the actions appear in a form-submit list.
 ****/
.actionlist {
  display: block;
  padding: 0;
  margin: 0;
  text-align: left;
}

.actionlist li {
  display: inline;
  padding: 5px 10px 5px 10px;
  margin: 0;
  border-left: 1px solid #2c71cc;
  border-spacing: 0 0;
  float: left;
}

.actionlist li:first-child {
  border-left: none;
  padding-left: 0;
}

.actionlist li:last-child {
  padding-right: 0;
}

.actionlist a,
.actionlist a:visited {
  color: #2c71cc;
  text-decoration: none;
  padding: 0;
}

.actionlist a:hover {
  text-decoration: underline;
}

/** Reverse modifier: reverses order of li elememnts for tab control purposes
 ** and resets li padding after transform operation
 **/
.actionlist.reverse {
  transform: rotate(180deg);
}

.actionlist.reverse > li {
  transform: rotate(-180deg);
  padding: 0 10px;
}

/**** Standardise buttons everywhere for the general case to provide consistency then modify where necessary. ****/
button,
a.button,
a.button:visited,
a.button:active,
.button {
  text-align: center;
  display: inline-block;
  font-size: 16px;
  padding: 6px 14px 6px 14px;
  background-color: #2c71cc;
  border: 1px solid #000;
  color: #fff;
  border-radius: 5px;
  line-height: 1.2;
  cursor: pointer;
  outline: 0;
  margin-top: 0;
}

button.go_back,
a.button.go_back,
a.button.go_back:visited,
a.button.go_back:active,
.button.go_back {
  background-color: #e0e0e0;
  color: #000;
}

.button.back,
.button.back:visited,
.button.back:active {
  background-color: #e0e0e0;
  color: #202020;
}

button:hover,
a.button:hover,
.button:hover,
button:focus,
a.button:focus,
.button:focus {
  background-color: #41b6e6 !important;
  color: #000;
  text-decoration: none;
}

button:disabled,
button:hover:disabled {
  background-color: #e0e0e0 !important;
  color: #777;
  cursor: auto;
}

/**** Pretty in-page menus ****/
.menu .actionlist {
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.menu .actionlist li {
  border: 0;
  padding-left: 0;
}

/**** Pretty Forms ****/
.stdForm,
.page-content {
  width: 85%;
}

.stdForm .control-group,
.stdForm .form-group {
  position: relative;
  padding: 5px;
}

.stdForm .control-group.centre,
.stdForm .input-group.centre {
  display: block;
  text-align: center;
}

.stdForm .sel_popup {
  /** Absolutely position this element */
  position: absolute;
  top: 50px;
  z-index: 1;
}

.stdForm .narrow .control-group {
  margin: 0;
  padding: 0;
}

.stdForm fieldset {
  border: 0;
  padding: 10px 0;
  margin: 0;
}

.stdForm fieldset legend {
  padding-top: 20px;
  font-size: 18px;
  font-weight: bold;
}

.stdForm .form-submit {
  padding-top: 10px;
  margin-top: 10px;
  text-align: center;
}

.stdForm .form-submit .actionlist {
  display: inline-block;
  margin: 0 auto;
}

.stdForm .form-submit .actionlist li {
  border: 0;
}

.stdForm textarea,
.stdForm select,
.stdForm input[type="text"],
.stdForm input[type="date"],
.stdForm input[type="number"],
.stdForm input[type="email"],
.stdForm input[type="password"],
.stdForm input[type="tel"] {
  font-family: opensans, arial;
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  color: #2c71cc;
  font-size: 20px;
}

.stdForm textarea:disabled,
.stdForm input[type="text"]:disabled,
.stdForm input[type="date"]:disabled,
.stdForm input[type="number"]:disabled,
.stdForm input[type="email"]:disabled,
.stdForm input[type="password"]:disabled,
.stdForm input[type="tel"]:disabled {
  color: #c0c0c0;
}

.stdForm textarea {
  min-height: 8em;
}

.stdForm .input-group.file {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.stdForm .input-group.file .input-group-addon {
  padding: 5px 5px;
}

.stdForm .input-group.file label {
  width: 100%;
  font-weight: normal;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #d0d0d0 !important;
  background-color: #fff;
  font-size: 20px;
  display: table-cell;
  position: relative;
  z-index: 200;
}

.stdForm .input-group.file label {
  color: #a0a0a0;
}

.stdForm .input-group.file label.selected {
  color: #2c71cc;
}

.stdForm .input-group.file .input-group-addon span:before {
  position: relative;
  top: 2px;
  font-size: 26px;
}

.stdForm .input-group input[type="file"] {
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: 0;
  height: 100%;
  width: 0;
  height: 0;
  outline: 0px solid white;
}

.stdForm input[type="file"] {
  font-size: 120%;
}

.stdForm .select label {
  font-size: 140%;
  display: block;
  margin-bottom: 10px;
  padding-left: 5px;
}

.stdForm .control-group button,
.stdForm .control-group a.button,
.stdForm button.narrow {
  padding: 6px;
}

.stdForm .control-group.has-error .input-group > *,
.stdForm .form-group.has-error .input-group > * {
  border-color: #f60 !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(255, 102, 0, 0.6);
}

/** Sometimes it's useful to put a set of controls/prompts into a row. Do this
 ** by wrapping the entire group in a <div class="inline-controls" and then
 ** wrap each inline control in a <div class="an-inline-control-item"
 **/
.stdForm .inline-controls {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
}

.stdForm .inline-controls.center {
  justify-content: center;
}

.stdForm .inline-controls .an-inline-control-item {
  flex: 0 1 auto;
  padding-right: 10px;
}

.stdForm .inline-controls .an-inline-control-item:last-child {
  padding-right: 0;
}

@media only screen and (max-width: 479px) {
  .stdForm .inline-controls {
    flex-wrap: wrap;
  }

  .stdForm .inline-controls .an-inline-control-item {
    width: 100%;
    padding-right: 0;
  }
}

.form-control-feedback:before {
  position: absolute;
  bottom: 10px;
  right: 40px;
  font-size: 16px;
  color: #f60;
}

.icon-tick:before {
  content: "\e616";
  color: #000;
}

.icon-cross:before {
  content: "\e617";
}

.form-control:focus > *,
.input-group-addon:focus,
.stdForm input[type="text"]:focus,
.stdForm input[type="number"]:focus,
.stdForm input[type="email"]:focus,
.stdForm input[type="password"]:focus,
.stdForm input[type="tel"]:focus,
.stdForm textarea:focus,
.input-group.file.focus label {
  outline: none !important;
  border-color: #66afe9 !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

/** If we want a button at the end of an input control then we need to remove most of the button styling (ONLY allow <button> here though!) **/
.input-group .input-group-addon button {
  border: 0;
  border-radius: 0;
  margin: 0;
  xpadding: 7px;
  background-color: transparent;
  color: inherit;
}

.stdForm .control-group label {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
  margin-left: 0px;
  font-weight: bold;
  width: 100%;
}

.stdForm .control-group.has-error .input-group-addon {
  color: #f60;
}

.stdForm .icon-ok:before {
}

.stdForm input::placeholder {
  color: #a0a0a0;
  xfont-size: 18px;
}

.stdForm .control-group,
.stdForm .form-group {
  position: relative;
  display: table;
  width: 100%;
  padding: 0;
  margin: 5px 0;
}

.stdForm .control-group label,
.stdForm .form-group label {
  display: table-caption;
}

.stdForm .input-group {
  display: table-row;
  padding: 0;
  margin: 0;
}

.stdForm .input-group > input {
  display: table-cell;
  xpadding: 0;
  margin: 0;
}

.stdForm .input-group .input-group-addon {
  display: table-cell;
  background-color: #c0c0c0;
  text-align: center;
  width: 30px !important;
  border: 1px solid #e0e0e0;
}

.stdForm .input-group .input-group-addon.active:hover {
  background-color: #41b6e6;
}

.stdForm .input-group .form-control {
  border-radius: 5px;
  border: 1px solid #d0d0d0;
}

.stdForm .input-group .form-control:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-left: 0;
}

.stdForm .input-group .form-control:not(:last-child) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right: 0;
}

.stdForm .input-group .input-group-addon:first-child {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

.stdForm .input-group .input-group-addon:not(:first-child) {
  border-left: 0;
}

.stdForm .input-group .input-group-addon:last-child {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}

.stdForm .input-group .input-group-addon:not(:last-child) {
  border-right: 0;
}

.stdForm .input-group input[type="radio"],
.stdForm .input-group input[type="checkbox"] {
  position: absolute;
  left: -10000px;
}

.stdForm .input-group .radio label,
.stdForm .input-group .checkbox label {
  padding-left: 0;
}

.stdForm .input-group .radio,
.stdForm .input-group .checkbox {
  padding: 5px;
  font-size: 16px;
  position: relative;
}

.stdForm .radio.focus label,
.stdForm .checkbox.focus label {
  border-bottom: 1px dashed #787878;
}

.stdForm .input-group .radio label:before,
.stdForm .input-group .checkbox label:before {
  position: relative;
  top: 1px;
  font-family: "portal";
  font-size: 16px;
  padding-right: 10px;
  cursor: pointer;
}

.stdForm .input-group .radio.disabled label,
.stdForm .input-group .checkbox.disabled label {
  color: #c0c0c0;
}

.stdForm .input-group .radio label:before {
  content: "\ea56";
}

.stdForm .input-group .checkbox label:before {
  content: "\ea53";
}

.stdForm .input-group .unchecked.checkbox label:before {
  content: "\ea53" !important;
}

.stdForm .input-group .radio.checked label:before {
  content: "\ea54";
}

.stdForm .input-group .checkbox.checked label:before {
  content: "\ea52";
}

.stdForm label {
  cursor: pointer;
}

.stdForm .input-group div.label {
  font-size: 24px;
  margin-bottom: 10px;
}

/*** PRETTY TABLES ***/
/************* Gen purpose pretty table ***************/
table.pretty {
  margin: 10px;
  margin-bottom: 20px;
  background-color: white;
  padding: 5px;
  border-collapse: collapse;
  border-spacing: 2px 5px;
}

table.pretty caption {
  font-size: 24px;
  font-weight: 500;
  color: #2c71cc;
  padding-bottom: 10px;
}

table.pretty.index {
  margin-left: auto;
  margin-right: auto;
}

table.pretty.large {
  font-size: 120%;
}

table.pretty tfoot {
  border-collapse: separate;
}

table.pretty tfoot td,
table.pretty tfoot th {
  text-align: left;
}

table.pretty thead th {
  text-align: center;
  font-weight: normal;
  color: white;
  background-color: #2c71cc;
  vertical-align: middle;
  padding: 5px 10px;
  border: 2px solid white;
  /* border-radius:10px;
  -moz-border-radius:10px; */
  margin-bottom: 10px;
  border-spacing: 10px 5px;
  behavior: url(/pie/PIE.htc);
}

table.pretty tbody tr.even td {
  background-color: white !important;
}

table.pretty tbody th,
table.pretty tbody td {
  font-weight: normal;
  text-align: left;
  vertical-align: top;
  padding: 3px 15px 3px 5px;
  background-color: white;
  border-spacing: 0px 5px;
}

table.pretty tbody th:last-child,
table.pretty tbody td:last-child {
  padding-right: 5px;
}

table.pretty tfoot th,
table.pretty tfoot td {
  padding: 3px 15px 3px 5px;
}

table.pretty tbody:first-child {
  border-top: 1px solid #2c71cc;
}

table.pretty tr:hover td {
  background-color: #e0e0e0 !important;
}

table.pretty tr.even td {
  background-color: #f0f0f0;
}

table.pretty ul.actionlist {
  text-align: center;
}

table.pretty ul.actionlist li {
  padding-top: 0;
  padding-bottom: 0;
}

table.pretty input {
  padding: 0;
  margin: 0;
}

table.pretty tbody tr:last-child th,
table.pretty tbody tr:last-child > * {
  border-bottom: #2d9bbb 1px solid;
}

table.pretty tbody tr.odd td,
table.pretty tbody tr:nth-of-type(odd) th,
table.pretty tbody tr:nth-of-type(odd) td {
  background-color: #f0f0f0;
}

table.pretty tbody tr.sel td {
  color: #000000;
}

table.pretty tbody tr.sel td {
  background-color: #b0b0b0;
}

table.pretty td.qty {
  text-align: right;
}

table.pretty th.qty {
  text-align: right;
}

/*** SIMPLE TABLES ***/
/************* Gen purpose simple table ***************/

table.simple {
  width: auto;
  margin: 10px auto;
}

table.simple tbody tr th,
table.simple tbody tr td {
  text-align: left;
}

table.simple tbody tr th {
  width: 1px;
  white-space: nowrap;
  padding-right: 10px;
}

table.simple tbody tr.compact th {
  vertical-align: top;
}

table.simple tbody tr.compact td {
  white-space: pre-wrap;
}

.heading {
  text-align: center;
}

.heading-container {
  width: 100%;
}

.message {
  text-align: center;
  font-size: 140%;
  width: 100%;
}

.msg {
  width: 100%;
  -moz-animation: cssAnimation 0s ease-in 5s forwards;
  /* Firefox */
  -webkit-animation: cssAnimation 0s ease-in 5s forwards;
  /* Safari and Chrome */
}

@keyframes cssAnimation {
  to {
    width: 0;
    height: 0;
    overflow: hidden;
  }
}

@-webkit-keyframes cssAnimation {
  to {
    width: 0;
    height: 0;
    visibility: hidden;
  }
}

.summary {
  text-align: center;
}

.warning.box {
  margin: 10px 0;
  border: 1px solid #000;
  padding: 5px;
  background-color: #e0e0e0;
}

.warning.box p {
  padding: 10px 0 0 0;
  margin: 0;
}

.warning.box p:first-child {
  padding-top: 0;
}

.warning.box strong {
  font-weight: 700;
  color: #f00;
}

.formalerror {
  text-align: center;
  white-space: pre-wrap;
}

.spaced {
  margin: 40px;
}

.pound::before {
  content: "£";
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none !important;
  border-color: #66afe9 !important;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

/* Common margins padding classes */
.mg-b-24 {
  margin-bottom: 24px;
}

.mg-b-16 {
  margin-bottom: 16px;
}

.mg-b-12 {
  margin-bottom: 12px;
}

.mg-r-12 {
  margin-right: 12px;
}

/* Common width classes */

.full-width {
  width: 100%;
}

.parent {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.main {
  display: flex;
  flex-grow: 1;
}

.content {
  flex-grow: 1;
}

.child {
  height: 100%;
  overflow-y: auto;
}

/* Form */

.form-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: space-between;
  width: 500px;
  margin: 0 auto;
  border: 1px solid #ddd;
  padding: 32px;
  background: #ffffff;
}

.actions {
  width: 100%;
  gap: 1em;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
}

.a.button {
  display: flex;
  align-items: center;
}

.button.back {
  margin-left: 10px;
}

/* page-header */

.page-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 0 20px 0;
}

.page-header .actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.page-header .button {
  min-width: 100px;
  padding: 15px;
}

.page-header .go_back {
  margin-left: 10px;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* confirm form */

.confirmForm {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-control-group {
  position: relative;
  width: 100%;
}