/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-style: inherit;
  vertical-align: baseline;
}


:host {
  display: block;
  background-color: var(--ic-hero-background);

  --hero-heading-bottom-margin: var(--ic-space-md);
  --hero-keyline: var(--ic-hero-keyline);
}

:host(.ic-hero-dark) {
  background-color: var(--ic-brand-color-secondary);

  --ic-hero-heading: var(--ic-color-text-primary-light);
  --ic-hero-body: var(--ic-color-text-primary-light);
  --ic-hero-secondary-heading: var(--ic-color-text-primary-light);
  --hero-keyline: var(--ic-brand-text-color);
}

.heading {
  --ic-typography-color: var(--ic-hero-heading);
}

.subheading {
  --ic-typography-color: var(--ic-hero-body);
}

.secondary-container {
  --ic-typography-color: var(--ic-hero-secondary-heading);

  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: var(--ic-space-xxxs) solid var(--hero-keyline);
}

:host(.has-background-image) {
  background-repeat: no-repeat;
  background-position: right -6.25rem;
  background-size: auto calc(100% + 6.25rem);
  box-shadow: var(--ic-elevation-inset);
}

@media (prefers-reduced-motion) {
  :host(.has-background-image) {
    background-position: right -6.25rem !important;
  }
}

ic-typography.heading-bottom-spacing {
  margin-bottom: var(--hero-heading-bottom-margin);
}

.section-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.left-container {
  padding: var(--ic-space-xl) 0;
}

.left-container:not(.left-container-full-width) {
  flex-basis: 50%;
}

.left-container-full-width {
  width: 100%;
}

.right-container {
  flex-basis: 50%;
}

.interaction-container {
  display: flex;
  gap: var(--ic-space-md);
  margin-top: var(--ic-space-lg);
  flex-wrap: wrap;

  --ic-date-input-label: var(--ic-brand-text-color);
  --ic-time-picker-label: var(--ic-brand-text-color);
  --ic-checkbox-group-label: var(--ic-brand-text-color);
  --ic-radio-button-input-field-label: var(--ic-brand-text-color);
  --ic-search-bar-label: var(--ic-brand-text-color);
  --ic-select-field-label: var(--ic-brand-text-color);
  --ic-switch-label: var(--ic-brand-text-color);
  --ic-text-field-label: var(--ic-brand-text-color);
  --ic-date-input-subtitle: var(--ic-brand-text-color);
  --ic-time-picker-subtitle: var(--ic-brand-text-color);
  --ic-checkbox-group-subtitle: var(--ic-brand-text-color);
  --ic-radio-button-input-field-subtitle: var(--ic-brand-text-color);
  --ic-search-bar-subtitle: var(--ic-brand-text-color);
  --ic-select-input-field-label-subtitle: var(--ic-brand-text-color);
  --ic-switch-subtitle: var(--ic-brand-text-color);
  --ic-text-field-subtitle: var(--ic-brand-text-color);
  --ic-checkbox-text: var(--ic-brand-text-color);
  --ic-radio-button-text-option: var(--ic-brand-text-color);
}

.secondary-subheading {
  margin-top: var(--ic-space-xxs);
}

:host(.ic-hero-content-aligned-left) .left-container,
:host(.ic-hero-content-aligned-left) .interaction-container {
  justify-content: flex-start;
  text-align: left;
}

:host(.ic-hero-content-aligned-center) .left-container,
:host(.ic-hero-content-aligned-center) .interaction-container {
  justify-content: center;
  text-align: center;
}

@media (min-width: 992px) {
  .left-container-full-width {
    width: 66.6%;
  }
}

@media (min-width: 1044px) {
  :host,
  .section-container {
    min-height: 13rem;
  }

  :host(.ic-hero-small),
  :host(.ic-hero-small) .section-container {
    min-height: 10.813rem;
  }

  .left-container:not(.left-container-full-width) {
    flex-basis: 66.6%;
  }

  .left-container {
    min-height: 9rem;
  }

  .right-container {
    flex-basis: 33.3%;
    margin-left: 3.125rem;
  }

  .secondary-container {
    min-height: 9rem;
  }

  .secondary-heading,
  .secondary-subheading {
    margin-left: 3.938rem;
  }
}

@media (min-width: 801px) and (max-width: 1043px) {
  :host(.has-background-image) {
    background-image: none !important;
  }

  :host,
  .section-container {
    min-height: 16rem;
  }

  :host(.ic-hero-small),
  :host(.ic-hero-small) .section-container {
    min-height: 15rem;
  }

  :host(.secondary-heading),
  :host(.secondary-heading) .section-container {
    min-height: 14rem;
  }

  .left-container {
    min-height: 10rem;
  }

  .secondary-container {
    min-height: 10rem;
  }

  .secondary-heading,
  .secondary-subheading {
    margin-left: 5.922rem;
  }

  .right-container {
    margin-left: 3.125rem;
  }
}

@media (min-width: 641px) and (max-width: 800px) {
  :host(.has-background-image) {
    background-image: none !important;
  }

  :host(.has-right-content) .section-container {
    flex-wrap: wrap;
  }

  :host(.has-right-content) .left-container {
    flex-basis: 100%;
  }

  :host(.has-right-content) .right-container {
    flex-basis: 100%;
    margin-bottom: 2.5rem;
  }

  :host,
  .section-container {
    min-height: 16rem;
  }

  :host(.ic-hero-small),
  :host(.ic-hero-small) .section-container {
    min-height: 15rem;
  }

  :host(.secondary-heading),
  :host(.secondary-heading) .section-container {
    min-height: 14rem;
  }

  .left-container {
    min-height: 10rem;
  }

  .secondary-container {
    min-height: 10rem;
  }

  .secondary-heading,
  .secondary-subheading {
    margin-left: 2.125rem;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  :host(.has-background-image) {
    background-image: none !important;
  }

  :host,
  .section-container {
    min-height: 13rem;
  }

  :host(.ic-hero-small),
  :host(.ic-hero-small) .section-container {
    min-height: 10.813rem;
  }

  :host(.secondary-heading),
  :host(.secondary-heading) .section-container {
    min-height: 17.5rem;
  }

  :host(.secondary-heading) .section-container,
  :host(.ic-hero-small) .section-container,
  .section-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .left-container {
    height: -moz-fit-content;
    height: fit-content;
  }

  .secondary-container {
    height: -moz-fit-content;
    height: fit-content;
    border: none;
  }

  .right-container {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  :host(.has-background-image) {
    background-image: none !important;
  }

  :host,
  .section-container {
    min-height: 12rem;
  }

  :host,
  .right-container {
    margin-bottom: var(--ic-space-md);
  }

  :host(.ic-hero-small),
  :host(.ic-hero-small) .section-container {
    min-height: 10.813rem;
  }

  :host(.secondary-heading),
  :host(.secondary-heading) .section-container {
    min-height: 16.5rem;
  }

  :host(.secondary-heading) .section-container,
  :host(.ic-hero-small) .section-container,
  .section-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .left-container {
    height: -moz-fit-content;
    height: fit-content;
  }

  .secondary-container {
    height: -moz-fit-content;
    height: fit-content;
    border: none;
  }
}
