table {
  margin: 0;
}

.layout--categorywords article, .layout--categorywords .archive,
.layout--categorylist article,
.layout--categorylist .archive,
.layout--word article,
.layout--word .archive {
  padding-right: 0;
  margin: auto;
  float: none;
  max-width: 800px !important;
}

.layout--categorywords .archive,
.layout--categorylist .archive,
.layout--word .archive {
  margin-top: 25px;
}

.layout--categorywords .archive h1,
.layout--categorylist .archive h1,
.layout--word .archive h1 {
  text-align: center;
  margin: 0 0 20px 0 !important;
}

.layout--categorywords .page,
.layout--categorylist .page,
.layout--word .page {
  width: 100%;
  max-width: 1000px;
}

.layout--word main {
  padding: 0 !important;
}

.layout--word h1 {
  margin: 0 0 28px 0;
}

.layout--word p {
  margin: 0;
}

.layout--word .excerpt {
  margin-bottom: 20px;
}

.layout--word h2 {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  margin: 0 0 16px 0;
}

.layout--word h2 img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.layout--word .tags {
  margin-bottom: 12px;
}

.layout--word .tags a {
  display: inline-block;
  margin: 0 8px 8px 0;
  border-radius: 5px;
  background-color: #617BE3;
  color: white;
  padding: 4px 12px;
  text-decoration: none;
}

.layout--word .examples table {
  width: 100%;
}

.layout--word .examples table thead, .layout--word .examples table tbody {
  width: 100%;
  display: block;
}

.layout--word .examples table thead tr, .layout--word .examples table tbody tr {
  width: 100%;
  display: flex;
}

.layout--word .examples thead img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.layout--word .examples tbody td {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

.layout--word .examples th, .layout--word .examples td {
  width: 50%;
}

.layout--word .examples th {
  text-align: center;
}

.layout--word .pronounce-btn {
  height: 36px;
  min-width: 36px;
  width: 36px;
  padding: 0;
  border-radius: 100%;
  margin-left: 6px;
}

.layout--word .pronounce-btn img {
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
}

.layout--word .categories {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.layout--word .categories a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  text-decoration: none;
  position: relative;
  border-radius: 20px;
  flex-basis: calc(33.3333% - 10px);
  margin: 5px;
}

.layout--word .categories a span {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  font-weight: 700;
  font-size: 1.2em;
  padding: 0 20px;
}

.layout--word .categories a .shadow {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@media (max-width: 700px) {
  .layout--word .categories {
    display: block !important;
    margin: 0 !important;
  }
  .layout--word .categories a {
    margin: 0 0 10px 0 !important;
  }
}

.top3000-promo {
  background-color: #617BE3;
  padding: 20px 0 20px 20px;
  margin-left: calc(400px - 50vw);
  width: 100vw;
  text-align: center;
}

.top3000-promo h2 {
  font-size: 1.2em;
  color: white;
  display: block;
  margin: 0 0 20px 0;
  padding-right: 20px;
}

.top3000-promo .horizontal-scroller {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 0 20px 0;
}

.top3000-promo .horizontal-scroller .card {
  flex: 0 0 auto;
  margin: 0 12px 0 0;
  width: 180px;
  height: 180px;
  color: white;
  border-radius: 5px;
  box-shadow: 0 0px 6px -1px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top3000-promo .horizontal-scroller .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.top3000-promo .downloads > button {
  display: inline-block;
  cursor: pointer;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
}

.top3000-promo .downloads > button img {
  display: block;
  height: 48px;
  border-radius: 10px;
}

.top3000-promo .downloads > button:not(:last-child) {
  margin-right: 6px;
}

@media (max-width: 840px) {
  .top3000-promo {
    margin-left: -20px;
    width: calc(100vw + 4px);
    text-align: left;
    padding: 20px 0 20px 20px;
  }
  .top3000-promo .card {
    width: 148px !important;
    height: 148px !important;
  }
  .top3000-promo .downloads {
    padding-right: 20px !important;
    text-align: center !important;
  }
  .top3000-promo .downloads img {
    height: 44px !important;
  }
  .top3000-promo h2 {
    text-align: center;
  }
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.45);
  /* Black w/ opacity */
  margin: 0;
}

.modal h2 {
  margin: 0 0 20px 0;
  color: #333;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  max-height: calc(100vh - 100px);
  overflow: auto;
  margin: 50px auto;
  padding: 20px;
  border-radius: 20px;
  width: 320px;
  /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  margin-top: -10px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal[data-modal="app-downloads-modal"] img {
  border-radius: 12px;
  display: block;
}

@keyframes stretch {
  0% {
    transform: scale(0.5);
    background-color: #B5DDF0;
  }
  50% {
    background-color: #CFE9F6;
  }
  100% {
    transform: scale(1);
    background-color: #FFFFFF;
  }
}

.loading-btn {
  align-items: center;
  background: #617BE3;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  min-width: 90px;
  border: none;
}

.loading-btn.btn--loading {
  font-size: 0;
}

.loading-btn.btn--loading span {
  display: flex;
}

.loading-btn.btn--loading img {
  display: none;
}

.loading-btn.btn--loading span b {
  animation-direction: alternate;
  animation-duration: 0.5s;
  animation-fill-mode: none;
  animation-iteration-count: infinite;
  animation-name: stretch;
  animation-play-state: running;
  animation-timing-function: ease-out;
  border-radius: 100%;
  display: block;
  height: 10px;
  margin: 0 1px;
  width: 10px;
  animation-delay: 0.1s;
  margin: 0 5px;
}

.loading-btn.btn--loading span b:first-child {
  animation-delay: 0s;
  margin: 0;
}

.loading-btn.btn--loading span b:last-child {
  animation-delay: 0.2s;
  margin: 0;
}

.loading-btn b {
  font-weight: normal;
}

.loading-btn span {
  display: none;
}

.word-categories {
  margin-top: 15px;
}

.word-categories a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  text-decoration: none;
  position: relative;
  border-radius: 20px;
  width: 100%;
  margin: 0 0 20px 0;
}

.word-categories a span {
  position: relative;
  z-index: 2;
  color: white;
  font-weight: 700;
  font-size: 1.2em;
}

.word-categories a .shadow {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.word-list .word-item {
  display: flex;
  justify-content: left;
  text-decoration: none;
  color: #333;
}

.word-list .word-item .most-common-rank {
  font-weight: 700;
  display: inline-block;
  padding-right: 12px;
}

.word-list .word-item[data-hidden="true"] > span {
  filter: blur(4px);
}

#footer {
  display: none !important;
}

.reader-wrapper {
  margin-top: 20px;
}

.reader-wrapper .story {
  overflow: auto;
  user-select: text;
  margin: auto;
  padding: 20px 0;
  background: #7F8F7C;
  border-radius: 20px 20px 0 0;
  color: black;
}

.reader-wrapper .story .end, .reader-wrapper .story .start {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reader-wrapper .story .end .start-hero, .reader-wrapper .story .start .start-hero {
  text-align: center;
}

.reader-wrapper .story .end .start-hero .img, .reader-wrapper .story .start .start-hero .img {
  overflow: hidden;
  margin: 0 auto 28px auto;
  display: block;
}

.reader-wrapper .story .end .start-hero .img img, .reader-wrapper .story .start .start-hero .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-wrapper .story .end .start-hero .paragraph, .reader-wrapper .story .start .start-hero .paragraph {
  margin: 0 !important;
  border: none !important;
  padding: 0 20px !important;
  flex-basis: 100%;
}

.reader-wrapper .story .paragraph {
  color: white;
  padding: 0 10px;
  position: relative;
}

.reader-wrapper .story .paragraph span {
  display: inline-block;
  position: relative;
  margin: 2px;
}

.reader-wrapper .story .paragraph span[data-highlight="true"] {
  font-weight: 700;
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.1);
}

.reader-wrapper .story .paragraph span[data-highlight="true"] div {
  display: inline-block !important;
}

.reader-wrapper .story .paragraph span.ender {
  margin-left: -1px;
}

.reader-wrapper .story .paragraph div[class*="Bubble"] {
  padding: 8px 12px !important;
}

.reader-wrapper .story .paragraph .original {
  font-weight: 300;
  font-size: 0.4em;
  line-height: 0.4em;
  margin-left: 4px;
}

.reader-wrapper .story .paragraph[data-type="h1"], .reader-wrapper .story .paragraph[data-type="h2"], .reader-wrapper .story .paragraph[data-type="h3"] {
  font-weight: 700;
}

.reader-wrapper .story .paragraph[data-type="h1"] {
  margin-bottom: 14px;
}

.reader-wrapper .story .paragraph[data-type="h2"] {
  margin-bottom: 10px;
}

.reader-wrapper .story .paragraph[data-type="h3"] {
  margin-bottom: 8px;
}

.reader-wrapper .story .paragraph[data-type="p"] {
  margin-bottom: 4px;
}

.reader-wrapper .story .paragraph[data-type="h1"] {
  font-size: 1.4em;
  line-height: 1.1em;
}

.reader-wrapper .story .paragraph[data-type="h2"] {
  font-size: 1.2em;
  line-height: 1.4em;
}

.reader-wrapper .story .paragraph[data-type="h3"] {
  font-size: 1em;
  line-height: 1.2em;
}

.reader-wrapper .story .paragraph[data-type="p"] {
  font-size: 0.9em;
  line-height: 1.4em;
}

.tooltip {
  position: relative;
  display: inline-block;
  z-index: 4;
}

.tooltip[data-inactive="true"] .tooltiptext,
.tooltip[data-additional="false"] .tooltiptext {
  text-decoration: line-through;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 5;
  font-size: 16px;
  line-height: 20px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
