:root {
  /* Text colors */
  --color-text-100: #ffffff;
  --color-text-200: #092f42;
  --text-primary: #092F42;
  --text-secondary: #5D7682;
  --text-invert: #FFFFFF;

  /* Interaction-colors */
  --link: #0276B1;

  /* Border Colors */
  --border-primary: #DFE4E6;
  --border-secondary: #F5F6F7;

  /* Semantic colors */
  --background-primary: #ffffff;
  --background-secondary: #f5f6f7;
  --background-invert: #092f42;
  --background-invert-secondary: #5d7682;
  --background-brand: #0276b1;
  --background-disabled: #b3bec4;
  --background-blue-light: #e3f4fd;
  --background-green-light: #ecf9f1;
  --background-green: #2c8150;
  --background-error: #fef5f5;
  --background-warning: #fffbf5;
  --background-info: #fafdff;

  /* Prititives */
  --blue-10: #fafdff;
  --blue-50: #e3f4fd;
  --blue-100: #b7e4fb;
  --blue-200: #65c6f6;
  --blue-300: #0ea3ec;
  --blue-400: #038fd3;
  --blue-500: #0276b1;
  --blue-600: #086fa1;
  --blue-700: #09608b;
  --blue-800: #045176;
  --blue-900: #063b55;

  --neutral-0: #ffffff;
  --neutral-10: #fafbfb;
  --neutral-20: #f5f6f7;
  --neutral-30: #ebeef0;
  --neutral-40: #dfe4e6;
  --neutral-50: #c2cbd0;
  --neutral-60: #b3bec4;
  --neutral-70: #a6b4bb;
  --neutral-80: #98a8b0;
  --neutral-90: #899ba4;
  --neutral-100: #7a8f99;
  --neutral-200: #6b828e;
  --neutral-300: #5d7682;
  --neutral-400: #506b79;
  --neutral-500: #425f6d;
  --neutral-600: #355464;
  --neutral-700: #244657;
  --neutral-800: #15394b;
  --neutral-900: #092f42;

  --red-10: #fef5f5;
  --red-50: #fcdfe0;
  --red-100: #fac7ca;
  --red-200: #f3a5aa;
  --red-300: #e8787f;
  --red-400: #e65c64;
  --red-500: #d83b46;
  --red-600: #ca2b34;
  --red-700: #ae2931;
  --red-800: #9a282f;
  --red-900: #5c171b;

  --orange-10: #fffbf5;
  --orange-50: #fef1dc;
  --orange-100: #fce7c9;
  --orange-200: #fcd9ab;
  --orange-300: #fece8f;
  --orange-400: #ffc170;
  --orange-500: #ffab3d;
  --orange-600: #ff9a1f;
  --orange-700: #f78b08;
  --orange-800: #df7a07;
  --orange-900: #a35905;

  --yellow-10: #fffbf5;
  --yellow-50: #fff3d2;
  --yellow-100: #ffebb5;
  --yellow-200: #ffe291;
  --yellow-300: #ffd45e;
  --yellow-400: #ffcc3f;
  --yellow-500: #ffbb0f;
  --yellow-600: #f0a505;
  --yellow-700: #d69200;
  --yellow-800: #b67402;
  --yellow-900: #8d5501;

  --green-10: #ecf9f1;
  --green-50: #c5edd5;
  --green-100: #8dd8ac;
  --green-200: #4ac97f;
  --green-300: #38a867;
  --green-400: #309159;
  --green-500: #2c8150;
  --green-600: #287147;
  --green-700: #246640;
  --green-800: #1f5736;
  --green-900: #174028;

  --burgundy-10: #f9ebee;
  --burgundy-50: #f1d0d5;
  --burgundy-100: #e5aeb6;
  --burgundy-200: #de919c;
  --burgundy-300: #d17a87;
  --burgundy-400: #be6a76;
  --burgundy-500: #ae5b67;
  --burgundy-600: #9f505c;
  --burgundy-700: #914651;
  --burgundy-800: #7f3943;
  --burgundy-900: #632c34;

  --purple-10: #edebf5;
  --purple-50: #d0c8e5;
  --purple-100: #b3a5d4;
  --purple-200: #9f8dc8;
  --purple-300: #9481c1;
  --purple-400: #8874b9;
  --purple-500: #7a63b1;
  --purple-600: #6e55aa;
  --purple-700: #5f4992;
  --purple-800: #4d3c77;
  --purple-900: #2c2244;

  --salmon-10: #fffafa;
  --salmon-50: #feebeb;
  --salmon-100: #fedcdc;
  --salmon-200: #ffcccc;
  --salmon-300: #fec3c3;
  --salmon-400: #feb3b3;
  --salmon-500: #fd9b9b;
  --salmon-600: #fa8989;
  --salmon-700: #f87777;
  --salmon-800: #ed6868;
  --salmon-900: #d65757;
}
:root {
  font-family: "Fira Sans", sans-serif;
  /* Font families */
  --font-sans: "Fira Sans", sans-serif;
  --font-mono: "Roboto Mono", monospace;

  /* Font sizes */
  --text-xxs: 0.625rem;
  /* 10px */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-2lg: 1.25rem;
  /* 20px */
  --text-xl: 1.5rem;
  /* 24px */
  --text-2xl: 1.625rem;
  /* 26px */
  --text-3xl: 2rem;
  /* 32px */

  /* Font weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Line heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;

  /* Spacing */
  --spacing-default: 0px;
  --spacing-special: 0.5px;

  --lineHeight-xxs: 14px;
  --lineHeight-sm: 18px;
  --lineHeight-base: 22px;
}

.typography-module__h1--sVioW {
  font-size: var(--text-2xl);
  font-weight: var(--font-semi-bold);
  margin: 0;
  line-height: 40px;
}

.typography-module__h2--1qsBU {
  font-size: var(--text-xl);
  font-weight: var(--font-semi-bold);
  margin: 0;
  line-height: 32px;
}

.typography-module__h3--3mPF9 {
  font-size: var(--text-2lg);
  font-weight: var(--font-normal);
  margin: 0;
  line-height: 28px;
}

.typography-module__h4--Qluh7 {
  font-size: var(--text-lg);
  font-weight: var(--font-normal);
  margin: 0;
  line-height: 24px;
}

.typography-module__h5--BvN51 {
  font-size: var(--text-base);
  font-weight: var(--font-semi-bold);
  margin: 0;
  line-height: 22px;
}

.typography-module__pageSubtitle--2TxDH {
  font-family: "Fira Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}
:root {
    /* Shadows */
    --card-shadow: 2px 2px 8px 0px rgba(9, 30, 66, 0.10);
}
:root {
    --spacing-special-font: 0.5px;
    /* Spacings */
    --spacing-xs: 8px;
    --spacing-s: 12px;
    --spacing-m: 16px;
    --spacing-l: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}
.Homepage-module__pageWrapper--3yM3f {
  height: 100%;
  background-color: var(--background-secondary);
}

.Homepage-module__homePageFullPage--2Dfr1 {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: clamp(var(--spacing-m), calc(var(--spacing-m) + (64 - 16) * ((100vw - 744px) / (1440 - 744))), 64px);
  padding-right: clamp(var(--spacing-m), calc(var(--spacing-m) + (64 - 16) * ((100vw - 744px) / (1440 - 744))), 64px);
  height: 100%;
  margin: 0 auto;
  max-width: 1312px;
  background-color: var(--background-secondary);
  font-family: var(--font-sans);
  color: var(--text-primary);
}

.Homepage-module__mainHeader--3VfLY {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: var(--spacing-xs);
}

.Homepage-module__mainHeaderText--tcXOd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: auto;
}

.Homepage-module__recommendationList--1zFg1 {
  display: flex;
  flex-direction: column;
  padding: 0;
  padding-bottom: 24px;
  gap: var(--spacing-m);
  width: 100%;
}

.Homepage-module__metricsList--X-rZb {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 0;
  gap: 8px;
  flex: none;
}

.Homepage-module__metricsListSm--2Etj6 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}

.Homepage-module__sidePanelWrapper--3sQLe {
  box-shadow: var(--card-shadow);
  min-width: 312px;
  width: 312px;
  max-width: 312px;
  min-height: 620px;
  background-color: white;
  border-radius: 8px;
  padding: 0 var(--spacing-m);

  @media screen and (max-width: 64em) {
    display: none;
  }
}

.Homepage-module__sidePanelTitle--2FVKr {
  font-size: var(--text-base);
  font-weight: var(--font-semi-bold);
  line-height: var(--lineHeight-base);
  padding: var(--spacing-xs) 0;
  height: 32px;
  display: flex;
  align-items: center;
}

.Homepage-module__sidePanelContentWrapper--3Yez8 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-s);
}

.Homepage-module__sidePanelWidgetWrapper--1zYtg {
  padding: var(--spacing-xs) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-m);
  flex: 1;
  align-self: stretch;
}

.Homepage-module__linkDescription--2Ne_m {
  font-size: var(--text-sm);
  line-height: var(--lineHeight-sm);
}

.Homepage-module__highlightedText--HfT6v {
  display: inline-block;
  cursor: pointer;
  color: var(--link);
  font-size: var(--text-sm);
  line-height: var(--lineHeight-sm);
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.Homepage-module__infoIcon--1kden {
  font-size: var(--text-xs);
  display: inline-block;
  color: var(--link);
}

.Homepage-module__card--JFG23 {
  background-color: var(--background-primary);
  box-shadow: var(--shadow-card);
  border-radius: 8px;
  border: 1px solid var(--neutral-40);
  display: flex;
  flex-direction: row;
  align-items: center;
  width: calc(100% - 32px);
  padding-top: var(--spacing-m);
  padding-bottom: var(--spacing-m);
  padding-left: 12px;
}

.Homepage-module__sidePanelDrawerButton--2Cx-v {
  background-color: transparent !important;
  color: var(--text-primary) !important;
}

.Homepage-module__pageSkeletonGrid--1aXzz {
  @media screen and (min-width: 64em) {
    display: flex;
    gap: 16px
  }
}
.pageSkeleton-module__skeletonFullPage--3HRqM {
  background-color: var(--background-secondary);
  width: 100%;
  height: 100%;
}

.pageSkeleton-module__skeletonMetricTile--R3qlN {
  background-color: var(--background-primary);
  display: flex;
  gap: 8px;
  padding: 8px;
  width: calc(100% - 16px) !important;

  @media screen and (min-width: 64em) {
    width: 185px;
  }
}
:root {
    /* Radiuses */
    --border-radius-interactive: 6px;
    --radius-m: 8px;
}
.skeleton-module__skeleton--3qThN {
  background: linear-gradient(90deg, var(--neutral-30) 25%, var(--neutral-40) 50%, var(--neutral-30) 75%);
  background-size: 200% 100%;
  animation: skeleton-module__loading--3o-km 1.5s infinite;
  border-radius: var(--radius-m);
}

@keyframes skeleton-module__loading--3o-km {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Circle Skeleton */
.skeleton-module__circle--1HT3G {
  border-radius: 50%;
  flex-shrink: 0;
}

.skeleton-module__circle-small--1OFnX {
  width: 32px;
  height: 32px;
}

.skeleton-module__circle-medium--2xcNM {
  width: 48px;
  height: 48px;
}

.skeleton-module__circle-large--ohw7H {
  width: 64px;
  height: 64px;
}

/* Line Skeleton */
.skeleton-module__line--xk1-E {
  border-radius: var(--radius-m);
}

.skeleton-module__line-small--13wAw {
  height: 12px;
}

.skeleton-module__line-medium--CSjmv {
  height: 16px;
}

.skeleton-module__line-large--2Vdta {
  height: 19px;
}

.skeleton-module__line-xlarge--9fMnF {
  height: 33px;
}

.skeleton-module__line-xxlarge--2cu55 {
  height: 36px;
}

/* Square Skeleton */
.skeleton-module__square--_3Mf9 {
  border-radius: 8px;
}

.skeleton-module__square-small--1DKpi {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
}

.skeleton-module__square-medium--1uDZR {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
}

.skeleton-module__square-large--1xXMT {
  width: 165px;
  min-width: 165px;
  height: 165px;
  min-height: 165px;
}

.skeleton-module__square-xlarge--1u0l7 {
  width: 180px;
  min-width: 180px;
  height: 180px;
  min-height: 180px;
}

.skeleton-module__skeleton--3qThN:hover {
  animation-duration: 1s;
}
.cookie-btns-wrapper {
  align-self: center;
}

footer {
    z-index: 100;
    position: relative;
}

body {
    overflow: auto;
}

.recording-pulse-blue {
  animation-name: recording-pulse-blue-animation;
  animation-timing-function: ease-in-out;
  animation-duration: 1s;
  animation-direction: alternate-reverse;
  animation-iteration-count: infinite;
}

@keyframes recording-pulse-blue-animation {
  from {
    border-color: #ade5ff;
  }

  to {
    border-color: #0066cc;
  }
}

.stn-widget-content {
  padding-top: env(safe-area-inset-top) !important;
}

.stn-widget-buttons-wrapper {
  top: calc(20px + env(safe-area-inset-top, 0)) !important;
}

.ant-radio-checked .ant-radio-inner {
  border-color: #0066cc !important;
}

.ant-radio-wrapper:hover .ant-radio-inner,
.ant-radio:hover .ant-radio-inner {
  border-color: #0066cc !important;
}

.ant-radio-checked:hover .ant-radio-inner {
  border-color: #0066cc !important;
}

.ant-drawer-close {
  width: 32px !important;
  height: 32px !important;
}

#profileMenu {
  padding: 0px !important;
}

.button-icon .fa-icon {
  transition: color 0.2s ease-in-out;
}

.button-icon .caret-down {
  transition: fill 0.2s ease-in-out;
}

.button-icon:hover .fa-icon {
  color: #0276b1;
}

.button-icon:hover .caret-down {
  fill: #0276b1 !important;
}

.menu-link-item:hover {
  color: #0276b1 !important;
}

.menu-link-item:hover .caret-down {
  fill: #0276b1 !important;
}

.ant-menu-horizontal > .ant-menu-submenu::after,
.ant-menu-horizontal > .ant-menu-item::after {
  left: 0px !important;
  right: 0px !important;
}

.ant-menu-horizontal {
  li {
    height: 60px !important;
  }

  li:focus {
    z-index: 9999 !important;
  }
}

.ant-menu-submenu-title:focus {
  z-index: 9999 !important;
}

.ant-menu-submenu-horizontal {
  padding: 0px !important;
}

.ant-menu-submenu-title {
  height: 60px !important;

  .ant-menu-title-content {
    .menu-link-item {
      background-color: transparent !important;
      margin-top: 0px !important;
    }
  }
}

.ant-menu-submenu-title:focus {
  border-radius: 0;
}

.ant-menu-submenu-popup {
  padding-top: 4px !important;
}

.ant-menu-item-group {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.ant-menu-vertical {
  padding-bottom: 4px !important;
}

.ant-menu-sub > .ant-menu-item-active:hover {
  background-color: #fafdff !important;
  color: #0276b1 !important;
}

.ant-menu-item-group-list > .ant-menu-item-active:hover {
  background-color: #fafdff !important;
  color: #0276b1 !important;

  .mobile-menu-item-label {
    color: #0276b1 !important;
  }
}

.ant-dropdown-menu-item-active:hover {
  background-color: #fafdff !important;
  color: #0276b1 !important;

  .dropdown-menu-item {
    background-color: #fafdff !important;
    color: #0276b1 !important;
  }

  .dropdown-menu-item-icon {
    fill: #0276b1 !important;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* ensure focus ring is place on home logo, but only when navigating via keyboard */
#homeLogo:focus-visible {
  outline: 3px solid #74c0f2 !important;
  outline-offset: 1px !important;
}

/*Override all focus */
/*:focus-visible {*/
/*  outline: 2px solid #0276b1 !important;*/
/*  outline-offset: 1px !important;*/
/*}*/


.navigation-module__headerPadding--30Edv {
  padding-left: clamp(16px, calc(16px + (64 - 16) * ((100vw - 744px) / (1440 - 744))), 64px);
  padding-right: clamp(16px, calc(16px + (64 - 16) * ((100vw - 744px) / (1440 - 744))), 64px);
}

/* Fonts */
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Font colours */
q,
.copyright,
.pos-g,
.phon,
.prefix,
.v-gs {
    color: grey;
}

.collo,
.x-gs q::before {
    color: black;
}

/* Font styles */
q,
.pos-g {
    font-style: italic;
}

.collo {
    font-weight: 600;
    padding-right: 4px;
    font-style: normal;
}

/* Font weights */
.cl,
.pos,
.seo,
.shcut,
.v-g,
.xrGrp {
    font-weight: 600;
}

/* Display */
.def,
.phonetics,
.pos-g,
.seo,
.xrGrp a {
    display: inline-block;
}

q,
.prefix,
.shcut,
.topic-g,
.xr-gs {
    display: block;
}

/* Other */
.wordlist span, q {
    margin-bottom: 10px;
}

.seo {
    font-size: large;
}

.shcut {
    font-size: large;
    margin: 25px 0;
}

/* Styling for external links */
.xrGrp a {
    border: 1px solid #DFE2E6;
    border-radius: 4px;
    font-weight: 500;
    color: #0066CC;
    margin-bottom: 10px;
    padding: 4px 8px;
    text-decoration: none;
}

/* Styling for external links */
.xrGrp button {
    border: 1px solid #DFE2E6;
    border-radius: 4px;
    font-weight: 500;
    color: #0066CC;
    margin-bottom: 10px;
    padding: 4px 8px;
    text-decoration: none;
    background-color: transparent;
    font-size: 16px;
    font-family: "Source Sans Pro", sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Override styles for .ndv within .def */
.def .xrGrp a {
    border: none !important;
    border-radius: 0 !important;
    color: #1e90ff !important;
    /* Specify color */
    display: inline !important;
    /* Revert to default display value */
    padding: 0 !important;
    /* text-decoration: underline !important; Specify text decoration */
}

.def .xrGrp button {
    margin: 0;
    border: none !important;
    border-radius: 0 !important;
    color: #1e90ff !important;
    /* Specify color */
    display: inline !important;
    /* Revert to default display value */
    padding: 0 !important;
    /* text-decoration: underline !important; Specify text decoration */
    font-size: 16px;
    font-family: "Source Sans Pro", sans-serif;
}

.xr-gs {
    padding-top: 15px;
}

.label-g {
    display: inline;
}

/* Adding a colon after elements with class .prefix */
.prefix::after {
    content: ":";
}

.prefix {
    text-transform: uppercase;
}

span.def {
    display: inline;
    width: 100%;
    flex: 1;
}

.wordlist {
    display: block;
    margin-top: 32px;
}

span.x-gs {
    width: 100%;
    margin-left: 36px;
}

span.xr-gs {
    width: 100%;
}

.sn-g {
    display: inline-flex;
    gap: 4px;
    counter-increment: item;
}

.sn-g:before {
    margin-right: 12px;
    font-size: 14px;
    content: counter(item);
    background: #E6F0FA;
    border-radius: 100%;
    color: #5D6B82;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.sense-topg {
    display: contents;
}

/* Aligning phonetic transcription to the right */
.phonetics {
    float: right;
    display: flex;
    gap: 16px;
}

/* Copyright styling */
.copyright {
    display: none;
}

/* Font style when audio is playing */
.audio-playing .phon {
    color: #1e90ff;
}

.v-gs {
    display: block;
}

.gram-g {
    color: #5D6B82;
}

.if-gs {
    display: block;
}

.sn-g-child-wrapper {
    white-space: pre-line;
}

.volume-icon {
    cursor: pointer;
}

.footer-links:focus {
  outline: 3px solid #74c0f2;
  outline-offset: 1px;
  border-radius: 6px;
}

@media (prefers-contrast: more) {

  .footer-links:hover {
     outline: 3px solid #74c0f2;
     outline-offset: 1px;
      border-radius: 6px;
 }
}

