/*
---

name: Main

description: Main tag / class styles

provides: [CSS.Main]

...
*/
/* Keep svg font in folder so it can be imported if needed */
@font-face {
  font-family: "FontAwesome";
  src: url(/client/fonts/icons.eot);
  src: url(/client/fonts/icons.eot?#iefix) format('embedded-opentype'), url(/client/fonts/icons.woff) format('woff'), url(/client/fonts/icons.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

html {
  font-size: 100%;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f3f3f3;
  color: #2c2c2c;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 62.5%;
}

/* RESET */
ul,
ol,
li,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
img,
blockquote,
form,
fieldset,
legend {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0 none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  padding: 0 0 8px;
}

h1 {
  color: #525252;
  font-size: 3em;
  line-height: 1.2;
  padding: 0 0 16px;
}
h1 span {
  color: #b8b8b8;
}
h1 span.step {
  color: #525252;
  left: -1000em;
  position: absolute;
}

.rightColumn li {
  background-position: 0 6px;
}
.rightColumn h1 {
  color: #f00;
  font-style: italic;
  line-height: 1;
  text-decoration: line-through;
}

h2 {
  font-size: 1.8em;
  font-weight: normal;
  line-height: 1.3334;
}

h3 {
  font-size: 1.6em;
  line-height: 1.25;
}

h4,
h5,
h6 {
  font-size: 1.4em;
  line-height: 1.4286;
}

p {
  font-size: 1.4em;
  line-height: 1.4286;
  padding: 0 0 16px;
}
p.style1 {
  font-size: 1.8em;
  line-height: 1.3334;
}

.sectionDescription,
.questionDescription,
.legendDescription {
  padding-bottom: 16px;
}
.sectionDescription p:last-child,
.questionDescription p:last-child,
.legendDescription p:last-child {
  padding-bottom: 0;
}

img {
  border: 0;
  max-width: 100%;
}

a {
  color: #178abb;
  text-decoration: none;
}
a:visited {
  color: #178abb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul,
ol {
  margin: 0 0 16px;
}

li {
  list-style-type: disc;
  font-size: 1.4em;
  line-height: 1.4286;
  margin: 0 0 8px 20px;
}
li p {
  display: inline;
  font-size: 1em;
  padding-bottom: 0;
}

ol li {
  background: 0;
  list-style: decimal outside none;
  margin-left: 21px;
  padding-left: 0;
}

hr {
  border: none;
  border-top: 1px solid #eaeaea;
  clear: both;
  color: #b8b8b8;
  display: block;
  height: 1px;
  margin: 0 0 24px;
}

dl {
  font-size: 1.4em;
  line-height: 1.4286;
  padding: 0 0 8px;
}
dl dt {
  padding: 0 0 8px;
}
dl dd {
  font-weight: bold;
  padding: 0 0 8px;
}
dl dd input[type="text"] {
  width: 100%;
}
dl.inlineTitle {
  margin: 0 0 8px;
}
dl.inlineTitle:after {
  clear: both;
  content: "";
  display: table;
}
dl.inlineTitle dt {
  clear: left;
  float: left;
  width: 31.81818%;
  margin-right: 2.27273%;
}
dl.inlineTitle dd {
  float: left;
  word-wrap: break-word;
}
dl.inlineTitle dd + dd {
  clear: left;
}

address {
  font-size: 1.4em;
  line-height: 1.4286;
  margin: 0 0 16px;
}

pre {
  background-color: #dbf2fb;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.4em;
  line-height: 1.4286;
  margin: 0 0 16px;
  padding: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.centerRight > * {
  clear: left;
}
.centerRight p img {
  margin: 0 20px 20px;
}

.rightColumn p img {
  margin: 0 20px 20px;
}

.centerRight p img[style^="float: left;"],
.rightColumn p img[style^="float: left;"] {
  margin: 0 20px 20px 0;
}

.centerRight p img[style^="float: right;"],
.rightColumn p img[style^="float: right;"] {
  margin: 0 0 20px 20px;
}

/* MAST */
.mast {
  margin: 0 0 30px;
}

#bannerPrint {
  display: none;
}

/* PRODUCT */
.centerRight img {
  margin: 0 0 20px;
}

.centreLeft {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 50%;
}

.centreContent {
  clear: both;
}
.centreContent:after {
  clear: both;
  content: "";
  display: table;
}

a.function.print {
  float: right;
  font-size: 1.6em;
  font-weight: bold;
  line-height: 1.5;
}

span.email {
  font-weight: bold;
}

h2.directDebit {
  background: url(/client/graphics/sprite.png) no-repeat 0 -200px;
  height: 52px;
  margin: 0 0 24px;
  text-indent: -9999px;
}

.iframe {
  border-top: 1px dotted #e7e7e7;
  margin: 8px 0 0;
  overflow: auto;
  padding: 23px 0 0;
  text-align: center;
}

.rightColumn iframe {
  border: 1px solid #c3c3c3;
  min-height: 400px;
  min-width: 300px;
  height: 100vh;
}

.forgottenpassword {
  font-size: 1.2em;
  line-height: 1.3334;
  display: block;
  clear: both;
}

/* RIGHT COLUMN */
.rightColumn {
  padding-top: 20px;
}

/* HIDE ELEMENTS */
.hide {
  display: none;
}

label.hide {
  display: block;
  left: -1000em;
  position: absolute;
}

/* FIX BULLET POINT ISSUES */
.address li,
.payment li {
  list-style: none;
}

.cost {
  font-size: 1.429em;
  line-height: 1.2;
}

.jsDisabled .function.print {
  display: none;
}

.selection-list {
  position: absolute;
  border: 1px solid #ccc;
  background: white;
  width: 300px;
  max-height: 184px;
  overflow: auto;
  margin: 0;
  padding: 0;
  z-index: 1;
}
.selection-list ul {
  margin-bottom: 0;
}
.selection-list li {
  list-style: none;
  margin: 0;
  padding: 4px 8px;
  cursor: pointer;
}
.selection-list li:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.selection-list li:hover, .selection-list li.selected {
  background: #d5e5f4;
}

.assistive {
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}

fieldset.collapse {
  transition: height 300ms ease-in-out;
}
fieldset.collapse > legend,
fieldset.collapse > .legend {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-left: 30px;
  color: #178abb;
}
fieldset.collapse > legend:hover, fieldset.collapse > legend:active,
fieldset.collapse > .legend:hover,
fieldset.collapse > .legend:active {
  text-decoration: underline;
}
fieldset.collapse > legend:before,
fieldset.collapse > .legend:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  display: inline-block;
  background: url(/client/graphics/src/collapse.svg) no-repeat;
  width: 10px;
  height: 20px;
  transition: transform 300ms ease-in-out;
  transform: rotate(90deg);
}
fieldset.collapse .collapsible-content {
  transition: max-height 250ms linear, opacity 250ms linear;
  max-height: 4000px;
  opacity: 1;
  overflow: visible;
}
fieldset.collapse.collapsed > legend:before,
fieldset.collapse.collapsed > .legend:before {
  transform: rotate(0deg);
}
fieldset.collapse.collapsed .collapsible-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
fieldset.collapse.collapseError > legend,
fieldset.collapse.collapseError > .legend {
  border: 1px solid #b71f38;
}

.field.newsletters-enhanced {
  border-radius: 6px;
  margin-bottom: 36px;
}

.field.newsletters-enhanced > fieldset legend {
  padding-left: 0;
}

.field.newsletters-enhanced label {
  cursor: pointer;
}

.field.newsletters-enhanced div.checkbox {
  position: relative;
  padding: 116px 20px 0 !important;
  background: #fff;
  border-radius: 6px;
  transition: border-color 250ms;
  text-align: center;
  border-radius: 6px;
  margin-left: 2px;
}

.field.newsletters-enhanced div.checkbox.no-image {
  padding-top: 20px !important;
}

.field.newsletters-enhanced .checkboxes div.checkbox {
  display: block;
  width: auto;
  -webkit-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 0px 6px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid #DCDCDC;
  border-radius: 6px;
  transition: all 250ms linear;
}

.field.newsletters-enhanced .checkboxes div.checkbox:not(:last-child) {
  margin-bottom: 16px;
}

.field.newsletters-enhanced div.checkbox .checkbox {
  position: absolute;
  left: -9999px;
}

.field.newsletters-enhanced .checkboxes div.checkbox:hover {
  background-color: #E9F6FE;
  border: 1px solid #3EAFFA;
  border-radius: 6px;
}

.field.newsletters-enhanced div.checkbox label {
  display: flex !important;
  flex-direction: column;
  flex-flow: wrap;
  width: auto !important;
  color: #006cb8;
  text-transform: capitalize;
  font-size: 18px;
  line-height: 20px;
  text-align: left !important;
  padding-left: 30px;
  padding-bottom: 2em !important;
}

.field.newsletters-enhanced div.checkbox label:hover:before {
  background-color: #f0f2f2;
}

.field.newsletters-enhanced div.checkbox label span {
  margin-top: 10px;
  font-style: normal;
}

.field.newsletters-enhanced div.checkbox label span .image-container {
  position: absolute;
  top: 0;
  padding-bottom: 0;
  margin-left: -20px;
  width: 100%;
  max-height: 100px;
}

.field.newsletters-enhanced div.checkbox label span .image-container img {
  vertical-align: middle;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  max-height: 100px;
}

.field.newsletters-enhanced div.checkbox label span p {
  text-transform: none;
  color: #2c2c2c;
  font-size: 14px;
  letter-spacing: normal;
  padding-bottom: 0;
  line-height: calc(20 / 14);
}

.field.newsletters-enhanced div.checkbox label:before {
  align-items: center;
  background-color: #fff;
  display: flex;
  border: 1px solid #888;
  border-radius: 4px;
  color: #fff;
  content: "";
  font-size: 16px;
  height: 20px;
  justify-content: center;
  left: 20px;
  letter-spacing: 0.64px;
  margin-top: -1px;
  position: absolute;
  right: 20px;
  transition: background-color 250ms linear;
  width: 20px;
}

.field.newsletters-enhanced div.checkbox label span .image-container {
  position: absolute;
  top: 0;
  padding-bottom: 0;
  margin-left: -50px;
  width: 100%;
  max-height: 100px;
  overflow: hidden;
}

.field.newsletters-enhanced div.checkbox label span .image-container img {
  vertical-align: middle;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  width: 100%;
  height: auto;
  max-height: unset;
}

.field.newsletters-enhanced div.checkbox label pre,
.field.newsletters-enhanced div.checkbox label address,
.field.newsletters-enhanced div.checkbox label ul,
.field.newsletters-enhanced div.checkbox label h1 span,
.field.newsletters-enhanced div.checkbox label h2 span {
  text-transform: none;
  font-size: 14.22px;
  color: #2c2c2c;
}

.field.newsletters-enhanced div.checkbox label h1,
.field.newsletters-enhanced div.checkbox label h2,
.field.newsletters-enhanced div.checkbox label h1 span,
.field.newsletters-enhanced div.checkbox label h2 span {
  font-weight: bold !important;
  line-height: unset;
}

.field.newsletters-enhanced div.checkbox label pre {
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.field.newsletters-enhanced div.checkbox label ul {
  font-weight: normal;
}

/* CHECKED */
.field.newsletters-enhanced div.checkbox.checked label:before {
  background-color: #ededee;
  color: #0082c8;
  content: "";
}

.field.newsletters-enhanced div.checkbox.checked label:hover:before {
  background-color: #00B22D;
}

.field.newsletters-enhanced input.checkbox:checked + label:before {
  background-color: #00B22D;
  border: 1px solid transparent;
}

.field.newsletters-enhanced input.checkbox:checked + label:after {
  content: '';
  position: absolute;
  width: 4px;
  border-bottom: 2px solid #fff;
  height: 10px;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin-left: -22px;
  margin-top: 2px;
}

/* 3D secure */
#threedcontent {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}
#threedcontent .threed-iframe-container-inner {
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 5vh auto;
  text-align: center;
  box-shadow: 0 0 10px 3px #333;
  border: solid 2px #000;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}
#threedcontent .threed-iframe-container-inner .header {
  background-color: #fff;
  padding: 40px 30px 0;
  width: 100%;
}
#threedcontent .threed-iframe-container-inner .header h3 {
  text-align: left;
}
#threedcontent .threed-iframe-container-inner .header p {
  text-align: left;
}
#threedcontent .threed-iframe-container-inner iframe {
  border: 0;
  margin: 0 auto;
  min-height: 450px;
  min-width: 100%;
  width: 100%;
}

#payment-callback-spinner-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #fff url(/client/graphics/loading.gif) no-repeat 50% 55%;
  text-align: center;
  z-index: 99999;
}

body.payment-processing {
  overflow: hidden;
}

.payment-logos-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.payment-logos-wall svg {
  margin: 10px 0;
}

.MultipleEntryRecipients-icon {
  display: none;
}
