
/*
  Type scale: Perfect Fifth
  11.391
  7.594
  5.063
   - 4.2
    -3.8
  3.375
  2.25
  1.5
  1
  0.667
*/

@font-face {font-family: "IBM-Plex";src: url("/_common-content/styles/fonts/ibm-plex-sans-bold.woff2")format("woff2");font-weight: 700;font-display: swap}

@font-face {
  font-family: "IBM-Plex";
  src: url("./fonts/ibm-plex-sans-italic.woff2")
    format("woff2");
  font-style: italic;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM-Plex-Condensed-Light";
  src: url("./fonts/ibm-plex-condensed-light.woff2")
    format("woff2");
  font-weight: 300;
  font-display: swap;
}


/* @font-face {
  font-family: "SBM-Plex";
  src: url("/_common-content/styles/fonts/SBMPlexSans-Regular.woff2")
    format("woff2");
  font-weight: normal;
  font-display: swap;
} */

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

:disabled, [readonly] {
  background: #666;
  color: #333;
  cursor: not-allowed;
}

/* 
  x-small < 576px 36rem
  small >= 576px
  medium >= 768px
  large >= 992px
  x-large >= 1200px
  xxl => 1400px
*/
:root {
  --audio-one-volume: 100%;
  --body-padding-x: 1rem;
  --bg-img-url: url('');
	--box-shadow-color: #a9a9ad;
  --color-blue-dark: #23297A;
  /* Order of St. Patrick's Blue */
  --color-blue-light: #adD9ff;
  /* Celtic Blue */
  --color-blue-medium: #246BCE;
  --color-cream-light: #fefcf5;
  --color-cream-dark: #B4AD96;
  --color-yellow-medium: #ffe100;
  --color-green-medium: #22706d;
  --color-orange-dark: #9B4F00;
  --color-orange-light: #FFB364;
  --color-orange-lightest: #FFDAB3;
	--color-orange-medium: #FF8200;
  --color-red-medium:  #DA291C;
	--color-ui-grey-md: #666;
  --color-ui-grey-md-light: #999;
  --color-ui-grey-lightest: #e9e9ed;
	--color-ui-grey-light: #a9a9ad;
  --color-ui-grey-lightest-bluey: #f1f3f4;
  --color-ui-grey-lighter: #c9c9cd;
  --color-green-light: #d8f3f2;
	--font-size-nine: 9.5rem;
  --font-size-three: 2.25rem;
  --font-size-one-half: 1.25rem;
  --font-size-one: 1rem;
  --font-size-minus-one: 0.667rem;
  --padding-pronunciation: 4rem;
  --shadow-one: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.24);
  --shadow-two: 0 0.875rem 1.75rem rgba(0, 0, 0, 0.25), 0 0.625rem 0.625rem rgba(0, 0, 0, 0.22);
  --text-body-color: #666;
  --ui-bar-radius: 5rem;
  --ui-btn-size: 3.375rem;
  --ui-change-time:  300ms;
  --ui-change-format: ease-in-out;
  --ui-input-radius: 1rem;
  /* can't use in media queries */
  /* --screen-medium: 48rem; */
}

@keyframes opacity-frame-1-2 {
  0% {
    opacity: 100%;
  }
  49% {
    opacity: 100%;
  }
  50%{
    opacity: 0%;
  }
  100% {
    opacity: 0%;
  }
}

@keyframes opacity-frame-2-2 {
  0% {
    opacity: 0%;
  }
  49% {
    opacity: 0%;
  }
  50%{
    opacity: 100%;
  }
  100% {
    opacity: 100%;
  }
}

[hidden] {display: none !important;}

html {height: 100%;scroll-behavior: smooth;scroll-padding-top: 2rem;}
body {background-color: var(--color-bg-cream);color: #444;display: flex;flex-direction: column;font-family: 'IBM-Plex', sans-serif;
		font-size: var(--font-size-one-half);font-weight: normal;justify-content: space-between;line-height: 2rem;margin: 0;min-height: 100%;
		}
	
a,button {cursor: pointer}

a, button, input, select, [tabindex="0"], textarea {
  font-family: "IBM-Plex";
  outline: solid 0.25rem transparent;
  outline-offset: 0.25rem;
}

.a-frame-1-2 {
  animation: opacity-frame-1-2 2s linear infinite forwards;
}
.a-frame-2-2 {
  animation: opacity-frame-2-2 2s linear infinite forwards;
}

.a-tween {
  height: auto;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%
}

.ab-grid {
  display: flex;
  column-gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 1rem;
}

.ab-grid > li {
  aspect-ratio: 1/1;
  display: flex;
  flex: 0 1 25%;
  max-width: 20rem;
}

.ab-card {
  align-items: center;
  background: var(--color-green-light);
  border: solid 0.125rem var(--box-shadow-color);
  border-radius: 0.667rem;
  box-sizing: border-box;
  color: var(--color-green-dark);
  display: flex;
  font-family: "IBM-Plex-Serif", serif;
  font-size: clamp(var(--font-size-three), calc(3rem + 5vw),var(--font-size-five));
  height: 100%;
  justify-content: center;
  line-height: 1;
  padding: 0.5rem 1rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.ab-card:hover, .ab-card:focus {
  background: var(--color-green-dark);
  color: #FFF;
}

.ab-card:hover > div > .ab-card-locked, .ab-card:focus > div > .ab-card-locked {
  filter: invert(1);
}

.ab-card > div {
  padding-bottom: 0.5rem;
}

.ab-card-locked {
  opacity: 0.5;
  position: absolute;
  right: 0;
  top:0;
  width: 1.25rem;
}

@supports ( text-box-trim: trim-both) {
  .ab-card > div {
    padding-bottom: 0;
    /* not in FireFox */
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
  }
}

 .alert-box {
    background-color: var(--color-green-light);
    border: solid 0.125rem var(--color-green-dark);
    border-width: 0.125rem 0;
    box-sizing: border-box;
    padding: var(--body-padding-x);
    margin-bottom: var(--font-size-three);
    word-break: break-word;
}

.alert-box>h2, .alert-box>h3, .alert-box>h4 {
    align-items: center;
    color: var(--color-green-dark);
    display: flex;
    flex-wrap: wrap;
    font-family: 'IBM-Plex', sans-serif;
    font-size: var(--font-size-two);
    font-weight: bold;
    justify-content: center;
    line-height: 1;
    text-transform: initial;
}

h3, h4 {color: var(--color-green-dark);font-family: "IBM-Plex-Serif", serif;font-size: var(--font-size-two-half);font-weight: bold;line-height: 1.25;margin: 0 0 1.5rem 0;}

.alert-box.error {
    background-color: var(--color-orange-lightest);
    border-color: var(--color-orange-dark);
    display: block;
}

.alert-box.error>h2, .alert-box.error>h3, .alert-box.error>h4 {
    color: var(--color-orange-dark);
}

.alert-box.error > p {color: var(--color-orange-dark)}


 .audio-button {
    align-content: center;
    background: var(--color-ui-grey-lightest);
    border-radius: 50%;
    display: flex;
    font-size: var(--font-size-one-half);
    /* aspect ratio not respected otherwise */
    max-height: var(--ui-btn-size);
    justify-content: center;
    max-width: var(--ui-btn-size);
}

.audio-button.playing {
    background-color: var(--color-yellow-medium);
}

.audio-button>img {
    max-width: 1.5rem;
    /* pass through for event listeners on button */
    pointer-events: none;
}

.audio-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

audio-quiz-player {
	background-color: #FFF;
  border: solid 0.125rem var(--box-shadow-color);
  border-radius: 0.667rem;
  box-sizing: border-box;
  box-shadow: 0 0.25rem 0 0 var(--box-shadow-color);
  display: block;
  flex: 1 0 13.5rem;
  margin: 2.25rem 1rem 1rem;
  /* max-height: 15.875rem; */
  overflow-y: auto;
  padding: 1rem;
}

audio-word-card {
  flex: 1 0 50%;
  max-width: 100%;
}

.audio-word-ipa {
  border-bottom: solid 0.125rem var(--color-ui-grey-md-light);font-family: 'IBM-Plex', sans-serif;
  margin: 0 0 var(--font-size-one);padding-bottom: 0.5rem
}

.audio-word-ipa > [lang="und-fonipa"] {
   opacity: 0.8;
}

.audio-word-letter {font-size: var(--font-size-four); line-height: 1; margin: 0;}

.audio-word-sync {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: var(--font-size-two) auto;
}
.audio-word-sync-item, .audio-recorder {
  background-color: #FFF;
  border: solid 0.125rem var(--box-shadow-color);
  border-radius: 0.667rem;
  box-sizing: border-box;
  /* box-shadow: 0 0.25rem 0 0 var(--box-shadow-color); */
  flex: 1 0 13.5rem;
  margin: 1rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 1rem;
  text-align: center;
}

.audio-recorder {max-height: unset; min-height: 22rem; padding-top: 2rem}

.audio-recorder-progress {display: block;max-width: 3rem; margin: 0 auto}

.audio-recorder-title {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center; 
}
.audio-recorder-title > img {margin-right: 1rem; max-width: 2.5rem;}
.audio-word-sync-item.error {text-align: left}
.audio-word-sync-item.highlighted, 
.audio-word-sync-item.highlighted > p {
  --box-shadow-color: var(--color-yellow-medium);
  background-color: var(--color-yellow-medium);
  color: var(--color-green-dark);
}

.audio-word-sync-item > hr {margin-bottom: var(--font-size-one)}

.b4-list {
  margin-bottom: var(--font-size-minus-one);
}

.b4-section-break {
  margin-bottom: var(--font-size-four);
}

.bg-blue-light {background-color: var(--color-blue-light)}

.bg-cream {
  background: var(--color-bg-cream);
}

.bg-dark {background-color: var(--color-green-dark);}

.bg-dark > h1, .bg-dark > p {
  color: #FFF;
}

.bg-img::before {
  background-image: var(--bg-img-url);
}


.bg-green-light {background-color: var(--color-green-light)}

.bg-img.bg-img-ear::before {
  background-image: url("/_common-content/img/bg-abstract-ear-spiral.svg");
  opacity: 0.1;top: 0;left: calc(50% - 15rem);
  transform: rotate(10deg);
  /* 'center' cause bg-img to overflow above, resulting in loss of padding on Heading when using #Listen */
  transform-origin: bottom;
}

.bg-white {background-color: #FFF}

.breadcrumb{margin:0 auto;max-width:32.5rem;padding-left:1rem;padding-top:calc(1.5rem * var(--base-line-rhythm));width:100%}
.breadcrumb_list{display:inline-flex;list-style-type:none;padding-left:.125rem}
.breadcrumb_break::before{content:"\00a0/\00a0"}

button {
  appearance: none;
  background: none;
  background-color: var(--color-ui-grey-lightest);
  border: none;
}

button, input, select, textarea {
  box-sizing: border-box;
  color: var(--text-body-color);
  font-size: var(--font-size-one-half);
  padding: 0.667rem;
  transition: background-color var(--ui-change-time) var(--ui-change-format) ;
}

button[type='submit'] {font-weight:bold}

a:focus, button:focus, input:focus, select:focus, [tabindex="0"]:focus, textarea:focus {
  outline: 0.25rem solid var(--color-yellow-medium);
}

b,.strong{font-weight:700}

.bg-img::before{
  /* can be rendered later by browser */
  content-visibility: auto;
  /* black to #B4AD96 */
  filter: invert(77%) sepia(7%) saturate(717%) hue-rotate(9deg) brightness(91%) contrast(82%);left: 0;opacity: 0.3;
}

button, input[type=submit] {
  /* iOS safari needs this specific rule */
  background-color: var(--color-ui-grey-lightest);
  border: solid 0.125rem var(--color-ui-grey-md-light);
  border-radius: 2rem;
  display: block;
  margin:  1rem auto;
  height: var(--ui-btn-size);
  width: 10rem;
}

button:hover {
  background-color: var(--color-ui-grey-light);
}

button:active {
  background-color: var(--color-yellow-medium);
}
.controls {width: 100%}

details {
  border: solid 0.125rem var(--color-ui-grey-md);
  border-width: 0.125rem 0;
  line-height: 1;
  padding: 1rem 0;
}
details[open ]> summary {margin-bottom: 1rem}
details > p {
  box-sizing: border-box;
  line-height: 2rem;
  padding-left: var(--font-size-two);
}

dfn{font-style: normal;}

dialog {
  position: fixed;
  top: 50%;
  transform: translateY(-25%);
}

dialog::backdrop {
  background: rgba(0,0,0,0.25);
  height: 100%;
  width: 100%;
}

.dialog-inner {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  top: 50%;
  transform: translateY(-25%);
  width: 24rem;
}

em, i {font-style: italic}

.error-img {
  /* https://angel-rs.github.io/css-color-filter-generator/ to get #9B4F00 from #000 */
  filter: brightness(0) saturate(100%) invert(21%) sepia(92%) saturate(3077%) hue-rotate(39deg) brightness(96%) contrast(101%);
  margin-right: var(--font-size-one);
}
fieldset {display: flex; justify-content: space-evenly}

footer {margin: 0}
  .form-signup {display: flex;justify-content: center;}

  .form-signup-field {border-radius: 1.5rem 0 0 1.5rem;/* for stacking purposes, over signup button */position: relative;text-align: center;z-index: 1}

.form-signup-submit {align-items: center;background-color: var(--color-yellow-medium);border:none;border-radius: 0 1.5rem 1.5rem 0;color: #000;display: flex;justify-content: space-around;margin:0;width: fit-content}
.form-signup-submit.submitting {background-color: var(--color-yellow-medium)}

.form-signup-submit > .submitting, 
.form-signup-submit.submitting > .initial,
.login-submit > .submitting-icon,
.login-submit.submitting > .initial {display: none}

.form-signup-submit.submitting > .submitting,
.login-submit.submitting > .submitting-icon {display: inline-block}

.form-signup-text {margin-right: 0.5rem}

.form-ui-icon {aspect-ratio: 1/1 ;width: 1.5rem}

h2 {
  border-bottom: solid 0.125rem var(--color-ui-grey-md-light);color: var(--color-green-dark);font-family: "IBM-Plex-Condensed-Light";
  font-size: var(--font-size-four);font-weight: 300;line-height: 1;padding-bottom: var(--font-size-one-half);
}

h3, h4 {color: var(--color-green-dark);font-family: "IBM-Plex-Serif", serif;font-size: var(--font-size-two-half);font-weight: bold;line-height: 1.25;margin: 0 0 1.5rem 0;}

h4 {font-size: var(--font-size-two); line-height: 1.25;}


img {display: block; font-size: var(--font-size-minus-one);height: auto;max-width: 100%}

input {
  appearance: none;
  display: inline-block;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  max-width: 15rem;
  min-height: 2rem;
  padding: 0 0.667rem;
  width: 100%;
}

input[type=checkbox], input[type=radio] {
  border: solid 0.125rem var(--color-ui-grey-md);
  border-radius: 50%;
  height: 1rem;
  min-height: 1rem;
  min-width: 1rem;
  padding: 0;
  transition: transform var(--ui-change-time) var(--ui-change-format);
  width: 1rem;
}

input[type=checkbox] {border-radius:0;height: 1.5rem; vertical-align:bottom;width: 1.5rem;}

input[type="checkbox"]:active, input[type="radio"]:active {
  background-color: #e0e0e0;
  transform: scale(0.9);
}

input[type=checkbox]:checked, input[type=radio]:checked {
  background-color: var(--color-blue-medium);
  border-color: var(--color-blue-medium);
  box-shadow: inset 0 0 0 0.125rem #fff;
}

input[type=range] {
  /* for styling in Chrome */
  -webkit-appearance: none;
  background: transparent;
  height: 1rem;
  margin: 1rem 0;
  min-height: 0;
  padding: 0;
  width: 100%;
}

/*  Must be separate, as browsers will ignore entire rules
    they don't understand.
*/

input[type=range]::-moz-range-track {
  height: 0.667rem;
  cursor: pointer;
  background: var(--color-ui-grey-lighter);
  border-radius: var(--ui-bar-radius);
  width: 100%;
}

input[type=range]::-webkit-slider-runnable-track {
  /* selectivty of default Chrome styles overrides earlier dec. */
  appearance: none;
  height: 0.667rem;
  cursor: pointer;
  background: var(--color-ui-grey-lighter);
  /* updated in JS; hard stops created */
  background: linear-gradient(90deg, var(--color-ui-grey-md-light) var(--audio-one-volume), var(--color-ui-grey-lighter) var(--audio-one-volume));
  border-radius: var(--ui-bar-radius);
  width: 100%;
}


input[type=range]::-moz-range-progress {
  background-color: var(--color-ui-grey-md-light);
  border-radius: var(--ui-bar-radius);
  height: 0.667rem;
}

input[type=range]::-moz-range-thumb {
  background-color: var(--color-green-medium);border: none;border-radius: 1rem;cursor: pointer;height: 1rem;width: 1rem;
}

input[type=range]::-webkit-slider-thumb {
  /* selectivty of default Chrome styles overrides earlier dec. */
  appearance: none;
  background-color: var(--color-green-medium);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  height: 1rem;
  position: relative;
  /* border on track affects webkit thumb position, knocking down etc. */
  top: -0.125rem;
  width: 1rem;
}

input[type=submit] {height: fit-content}
/* instructions for producing a sound */
.ipa-inst-list {
  margin-top: 1rem;
}
.ipa-list-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  text-align: left;
}
/* for script 'a', 'lt' is 'letter' */
.ipa-lt-alt {
  font-family: 'IBM-Plex';
  font-feature-settings: "ss01" 1;
}

/* assumes below baseline, e.g. ͍ */
.ipa-mod-emp {
  display: inline-block;
  font-size: 3rem;
  line-height: 0;
  padding: 0 0.5rem;
  position: relative;
  top: -0.75rem;
}
/* e.g. for emphasizing ʲ */
.ipa-mod-emp.sup {
  font-size: 2.25rem;padding: 0 0.25rem;
  top: 0.25rem;
  vertical-align: center
}
.ipa-popover-list {
  line-height: 1.25;
  list-style: none;
  padding-left: 1rem;
  padding-top: 0.67rem;
}
.ipa-popover-list> li {font-size: var(--font-size-one-half) ;}
.ipa-popover-btn {
  border-radius: 100%;
  border: solid 0.0625rem var(--box-shadow-color);
  display: inline-block;
  height: 1.25rem;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0;
  width: 1.25rem;
}

.ipa-popover-title {
  color: #000;
  font-size: var(--font-size-five);
  line-height: 1;
  margin: 0 0 var(--font-size-three);
  text-align: center;
}

label {font-weight:bold}

.labelled {position:relative}
.labelled.pronunciation {padding: 0 var(--padding-pronunciation); width: 15rem}
.label {
  background-color: inherit;left: 0;line-height: 1;
  position: absolute; top: calc(50% - 1rem)}
.label-checkbox {cursor:pointer;font-weight:normal}
.label.right{left: auto; right: 0}

li {margin-bottom: var(--font-size-one);}

li > ul {margin-top: 0.667rem}
li > ul > li {font-size: var(--font-size-one); margin-bottom: 0.667rem}

.link-register {color: var(--color-yellow-medium);padding: 0.5rem}

.login-field {border: solid 0.125rem var(--color-ui-grey-md);border-radius: 0.667rem; display: block;height:3.5rem;margin: 0 auto var(--font-size-two); max-width: 100%;width: 100%}
.login-form {margin-bottom: var(--font-size-two)}
.login-form > label {color: var(--color-green-light)}
/* buttons treated as 'widgets', which are like replaced elements w/ intrinsic dimensions */
.login-submit {margin: 2.25rem auto;text-align: center;width: 100%;}

.login-submit > .submitting-icon,
.login-submit.submitting > .initial {display: none}

.login-submit.submitting > .submitting-icon
{display: inline-block}

.mainNav_hidden:not(:focus-within){transform:translate(0,-100%)}
.mainNav>div{display:flex;align-items:center;justify-content:space-between}
.mainNav_links{width:100%;max-width:20rem;display:flex;justify-content:flex-end}
.mainNav_links > a {
  border-top:solid 0.125rem transparent;
  box-sizing:border-box;
  color:#FFF;
  letter-spacing:.0625rem;
  min-width:6rem;margin-left:1rem;
  padding:.667rem 1rem;text-decoration:none;
  text-align:center;
}
.mainNav_links>ul>li{list-style-type:none}
.mainNav_links>ul>li::marker{display:none}
.mainNav_links>details{position:relative}
.mainNav_links>ul>li{box-sizing:border-box;padding:calc(1.25rem * var(--base-line-rhythm)) 0;list-style-type:none}
.mainNav_logo{display:flex;align-items:center;height:2.25rem}
.mainNav_logo>img{background:0 0}
.mainNav_logo::before{opacity:0}
.mainNav_logo{min-height: 2.25rem}
nav>ul{list-style:none;padding-left:0}


noscript {
  background-color: #999;
  border-bottom: solid 0.125rem var(--color-orange-medium);
  box-sizing: border-box;
  /* need this or no styles will apply (Opera) */
  display: block;
  padding: 1rem;
}

ol,p, ul {margin: 0 0 1rem; }

p + section {margin-top: var(--font-size-four); padding: var(--font-size-four) 0}

.page-header-cta {
  align-items: center;
  background: var(--color-bg-cream);
  border-bottom: solid 0.375rem var(--color-blue-light);
  bottom: 0; box-sizing: border-box;
  color: #000;
  box-sizing: border-box;
  display: flex;
  height: var(--ui-btn-size);
  justify-content: center;
  margin: 0 auto var(--font-size-five);
  padding: 1rem;
  text-decoration: none;
  width: fit-content;
}

.page-header-cta.dark {
  background: var(--color-green-dark); color: #FFF;
}

.page-header-cta > .ui {
  margin-left: 0.125rem;
  max-width: 1rem;
}
.page-header-cta.dark > .link-cta-icon {filter: invert(100%)}


.page-header-subtitle > .txt-subtle {color: var(--color-ui-grey-light); font-size: 1.5rem;}

.panel {
  border: solid 0.125rem var(--box-shadow-color);
  border-radius: 1rem;
  box-sizing: border-box;
  box-shadow: 0 0.25rem 0 0 var(--box-shadow-color);
  padding: 2rem 1.5rem;
}

[popover] {
  box-sizing: border-box;
  color: inherit;
  max-width: 22rem;
  padding: 1rem;
  text-align: left;
  width: 100%;
}

[popover]:popover-open::backdrop  {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.0625rem);           
}

[popovertargetaction="hide"] {
  display: block;
  margin: 0 auto;
}

[popovertargetaction="hide"]::after {
  /* FE0E is text escape; */
  content: "\274C\FE0E";
  display: inline-block;
  margin-left: 0.25rem;
}

.popover {font-size: var(--font-size-one-half);}
.popover-target-text {
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted
}

.pronunciation {
  border: solid 0.125rem var(--box-shadow-color);
  border-radius: 0.125rem;
  background-color: var(--color-ui-grey-lightest-bluey);
  box-shadow: 0 0.25rem 0 0 var(--box-shadow-color);
  box-sizing: border-box;
  margin: 1rem auto 2.25rem;
  max-width: 100%;
  overflow: hidden;
  padding:0;
  padding-right: var(--padding-pronunciation);
  position: relative;
  width: 10rem;
}
/* 1. Reset standard layout properties */
progress {
  -webkit-appearance: none; /* Resets Safari & Chrome */-moz-appearance: none;appearance: none;        
  width: 100%;height: 0.5rem;border: none;border-radius: 0.667rem;overflow: hidden;          
}

/* 2. Style the background track */
progress, /* Track color for Firefox */
progress::-webkit-progress-bar /* Track color for Chrome, Safari, Opera */ {
  background-color: var(--color-ui-grey-lighter); 
}

/* 3. Style the filling progress bar */
progress::-webkit-progress-value {
  background-color: var(--color-blue-medium); /* Fill color for Chrome, Safari, Opera */
  transition: width 0.3s ease;
}
progress::-moz-progress-bar {
  background-color: var(--color-blue-medium); /* Fill color for Firefox */
}

.pronunciation.full-face {
  --padding-pronunciation: 2rem;
}

.pronunciation > .a-tween {
  /* must match padding-right of pronunciation */
  max-width: calc(100% - var(--padding-pronunciation));
}

section > p:last-child {margin-bottom: 0}

.section-break {
  background: none;
  color: var(--color-ui-grey-md);
  font-size: 1.5rem;
  height: auto;
  margin: var(--font-size-four) auto;
  text-align: center;
}

.section-break::before {
  content: "\2042";
  display: block;
}

section {border-top: solid 0.25rem var(--color-ui-grey-md);padding: var(--font-size-five) 0}

.sharing-banner-img {
   /* Dynamically calculate aspect ratio from HTML attributes */
  aspect-ratio: attr(width) / attr(height);
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 40rem;
}

.status{white-space:pre-line}
.tabs {margin-block: 2rem}
.tab-list {display: flex;gap: .5rem;margin-bottom: 1.5rem}
.tab-button {cursor: pointer;padding: .5rem 1rem;border: 1px solid var(--border-color);background: white}
.tab-button.active {background: var(--color-green-dark);color: white}
.tab-panel {display: none}
.tab-panel.active {display: block}
.txt-black {color: #000;}
.txt-blue-light {color: var(--color-blue-light)}
.txt-center{text-align: center}
.txt-green-dark {color: var(--color-green-dark)}
.txt-nowrap{white-space: nowrap}
.txt-right {text-align: right}
.txt-up {text-transform: uppercase;}
.txt-x-red {
  /* character needs &#xFE0E; IMMEDIATELY after, since Safari doesn't support this */
  /* \FE0E has priority */
  /* font-variant-emoji: emoji; */
  font-weight: bold;color: var(--color-red-medium);}

.ui {aspect-ratio: 1 / 1;width: 2.25rem;}

/* for offset of play icon */
.ui-play {
  position: relative;
  left: 0.125rem;
}

.ui-rec, .ui-recording, .audio-button.record {
  color: var(--color-red-medium);
  font-size: inherit;
  line-height: 1;
}

.ui-rec, .ui-recording {
  /* approx to color-red-medium */
  filter: invert(21%) sepia(61%) saturate(3052%) hue-rotate(348deg) brightness(105%) contrast(100%)
}
.audio-button.record[disabled] > .ui-rec, .audio-button.record[disabled] > .ui-recording {filter: unset}


.ui-rotating {
  animation: rotating 2s linear infinite;
  transform-origin: center;
}

.ui-wrapper {
  display: flex;
}

.v-hide {
  visibility: hidden;
}

.wrap-icon-text {
  display: flex;
  align-items: center;
}

/*
  UTILITY CLASSES
  */
  [disabled] {opacity: 0.25 ;pointer-events: none}
  [disabled]:focus{outline: none}
  .b-white, input.b-white{border-color: #FFF;}
  /* allows cursor events to show (avoiding [])*/
  .disabled{cursor: not-allowed;opacity: 0.25}
  .d-flex{display: flex}
  .d-flex-inline {align-items: center; display: inline-flex;}
  .d-lg,.d-md,.d-s,.d-xs-none, .d-b.d-xs-none, .d-none{display: none;}
  .f-bold {font-weight: 700;}
  .f-sans {font-family: 'IBM-Plex', sans-serif;}
  .f-cond-l {font-family: 'IBM-Plex-Condensed-Light', sans-serif;}
  .f-normal{font-weight: normal}
  .f-size-3{font-size: var(--font-size-four);}
  .f-size-11{font-size:var(--font-size-eleven)}
  /*todo: conver these to rem value hints , e.g. mb-1-5 is 1.5rem etc.*/
  .m-0 {margin: 0}
  .mb-0{margin-bottom:0}
  .mb-1-5{margin-bottom: 1.5rem;}
  .mb-3 {margin-bottom: var(--font-size-four)}
  .mb-5{margin-bottom: var(--font-size-five);}

  .pos-rel{position: relative}

  @media screen and (min-width: 36rem) {
    .ab-card-locked {width: 2rem}
    .pronunciation{width: 15rem}
    .d-xs{display:none}
    .d-b.d-xs-none {display: block;}
    .d-s,.d-xs-none{display:inherit}
  }
  /*  medium >= 768px */
  @media screen and (min-width: 48rem) {
    .audio-recorder-title {flex-direction: row}
    .d-md-none, .d-s{display:none}
    .d-md,.d-s-none{display: inherit} 
    
  }
  /* large >= 992px (62rem) */
  @media screen and (min-width:75rem){
    /* include this style */
    .breadcrumb {padding-left: 0}.d-lg-none {display: none}.mainNav>div{margin:0 auto;max-width:64rem}
  }


