.loader-wrapper {
  display: flex;
  background-color: var(--primary-color);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
}

.loader-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-roller div {
  animation: loader-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.loader-roller div::after {
  content: ' ';
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  margin: -4px 0 0 -4px;
}

.loader-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.loader-roller div:nth-child(1)::after {
  top: 63px;
  left: 63px;
}

.loader-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.loader-roller div:nth-child(2)::after {
  top: 68px;
  left: 56px;
}

.loader-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.loader-roller div:nth-child(3)::after {
  top: 71px;
  left: 48px;
}

.loader-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.loader-roller div:nth-child(4)::after {
  top: 72px;
  left: 40px;
}

.loader-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.loader-roller div:nth-child(5)::after {
  top: 71px;
  left: 32px;
}

.loader-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.loader-roller div:nth-child(6)::after {
  top: 68px;
  left: 24px;
}

.loader-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.loader-roller div:nth-child(7)::after {
  top: 63px;
  left: 17px;
}

.loader-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.loader-roller div:nth-child(8)::after {
  top: 56px;
  left: 12px;
}

@keyframes loader-roller {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

:root {
  --header-logo: url('https://prd-cdn-talkdesk.talkdesk.com/cdn-assets/2.2.19/talkdesk/brand/main_brand/logo/talkdesk_logo_purple.svg');
  --body-bg-color: transparent;
  --primary-color: #5405bd;
  --primary-color-darken: #4f04b3;
  --text-color: #3f444a;
  --title-color: #26282c;
  --article-text-color: #585757;
  --microcopy-color: #5c636b;
  --small-search-height: 70px;
  --white: #fff;
  --search-input-padding: 0.67rem;
  --page-padding: 30px 12vw 0;
  --table-header-background: #fafafa;
  --border-color: #e8eaeb;
  --search-results-color: #757f8a;
  --pagination-background: #e6e8ea;
  --pagination-background-darken: #d9dcdf;
}

/* App container grid, contains foundation elements */
.app-container {
  display: grid;
  grid-template:
    'header header header' 66px
    'main main main' auto
    'footer footer footer' 100px
    / [col-start] 1fr [col-2] 1fr [col-3] 1fr [col-end];
  height: 100vh;
}

body {
  background: var(--body-bg-color);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  margin: 0;
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .search-list-entry {
    margin-bottom: 32px;
  }
}

.app-loader {
  display: none;
  background-color: var(--white);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.app-loader__roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.app-loader__roller div {
  animation: app-loader__roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.app-loader__roller div::after {
  content: ' ';
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--microcopy-color);
  margin: -4px 0 0 -4px;
}

.app-loader__roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.app-loader__roller div:nth-child(1)::after {
  top: 63px;
  left: 63px;
}

.app-loader__roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.app-loader__roller div:nth-child(2)::after {
  top: 68px;
  left: 56px;
}

.app-loader__roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.app-loader__roller div:nth-child(3)::after {
  top: 71px;
  left: 48px;
}

.app-loader__roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.app-loader__roller div:nth-child(4)::after {
  top: 72px;
  left: 40px;
}

.app-loader__roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.app-loader__roller div:nth-child(5)::after {
  top: 71px;
  left: 32px;
}

.app-loader__roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.app-loader__roller div:nth-child(6)::after {
  top: 68px;
  left: 24px;
}

.app-loader__roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.app-loader__roller div:nth-child(7)::after {
  top: 63px;
  left: 17px;
}

.app-loader__roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.app-loader__roller div:nth-child(8)::after {
  top: 56px;
  left: 12px;
}

@keyframes app-loader__roller {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*
 * Talkdesk Confidential
 *
 * Copyright (C) Talkdesk Inc. 2020
 *
 * The source code for this program is not published or otherwise divested
 * of its trade secrets, irrespective of what has been deposited with the
 * U.S. Copyright Office. Unauthorized copying of this file, via any medium
 * is strictly prohibited.
 */

.breadcrumb {
  margin: 0;
  list-style: none;
  padding: 0;
  font-size: 0.8rem;
  display: none;
}

.breadcrumb li {
  display: inline;
  color: var(--primary-color);
}

.breadcrumb li + li::before {
  padding: 8px;
  color: var(--primary-color);
  content: '\003e';
}

.breadcrumb li:last-child {
  cursor: default;
  color: initial;
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .breadcrumb {
    display: block;
  }
}

.footer {
  grid-area: footer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.footer__logo {
  background: var(--header-logo);
  width: 100px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer__copyright-label {
  font-size: 0.75rem;
  color: var(--microcopy-color);
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .footer {
    padding: 0 10vw;
  }
}

.header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header__logo {
  background: var(--header-logo);
  width: 100px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.header__topics-container {
  display: none;
}

@media (min-width: 1025px) {
  .header {
    padding: 0 10vw;
  }

  .burguer-menu {
    display: none;
  }

  .header__topics-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }

  .header__topic-link {
    font-size: 0.8rem;
    margin-right: 18px;
    font-family: 'Roboto-Medium';
    color: var(--text-color);
    max-width: 200px;
  }

  .header__topic-link:hover {
    color: var(--primary-color);
  }
}

.burger-menu-hidden-input {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.burger-menu__button {
  margin: 10px auto 0;
  width: 30px;
  height: 30px;
  position: relative;
}

.burger-menu__button .bar {
  padding: 0;
  width: 20px;
  height: 4px;
  background-color: var(--primary-color);
  display: block;
  border-radius: 4px;
  transition: all 0.4s ease-in-out;
  position: absolute;
}

.bar1 {
  top: 0;
}

.bar2,
.bar3 {
  top: 9px;
}

.bar3 {
  right: 0;
  left: 0;
}

.bar4 {
  top: 18px;
}

.burger-menu__button .bar1 {
  transform-origin: 5%;
}

.burger-menu__button .bar4 {
  transform-origin: 5%;
}

.burger-menu__checkbox:checked + label > .burger-menu__button > .bar1 {
  transform: rotate(45deg);
  height: 3px;
  width: 29px;
}

.burger-menu__checkbox:checked + label > .burger-menu__button > .bar3 {
  transform: rotate(45deg);
  height: 3px;
  background-color: transparent;
}

.burger-menu__checkbox:checked + label > .burger-menu__button > .bar2 {
  transform: rotate(-45deg);
  height: 3px;
  background-color: transparent;
}

.burger-menu__checkbox:checked + label > .burger-menu__button > .bar4 {
  transform: rotate(-45deg);
  height: 3px;
  width: 29px;
}

/* 
Sidebar has a toggle mechanism, when triggered we need to hid/show elements.
When visible the app-container div will have the class .sidebar-visible
*/
.sidebar {
  display: none;
}

.sidebar__link:first-child {
  margin-top: 38px;
}

.sidebar__link {
  margin-bottom: 38px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 0.875rem;
  padding: 0 20px;
}

.sidebar-visible .sidebar {
  display: flex;
  background: var(--white);
  width: 100%;
  flex-direction: column;
  z-index: 2;
  grid-area: main;
}

.topics-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 60px;
  grid-row-gap: 18px;
  overflow: hidden;
  padding: 3px 0;
}

.topic-card,
.view-all-topics-button {
  display: flex;
  background: #fff;
  align-items: center;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 15%);
  overflow: hidden;
}

.topic-card:hover,
.view-all-topics-button:hover,
.topic-card:hover .topic-card__icon {
  background: #f4f5f6;
}

.topic-card__icon {
  display: flex;
  justify-content: center;
  margin: 10px 23px 10px 17px;
  background: #fff;
  border-radius: 8px;
  color: var(--primary-color);
  font-size: 1.4rem;
  flex-basis: 2.75rem;
  flex-shrink: 0;
}

.topics-cards .topic-card {
  text-decoration: none;
}

.topic-card__title {
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 500;
  height: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 17px;
  line-height: 1rem;
}

.view-all-topics-button {
  display: flex;
  justify-content: center;
}

.view-all-topics-button button {
  background-color: transparent;
  border: 0;
  font-size: 0.8rem;
  flex: 1;
  height: 100%;
  padding: 0;
  cursor: pointer;
}

.view-all-topics-button button a {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.view-all-topics-button__icon {
  margin-left: 0.9375rem;
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .topics-cards {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .topics-cards {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
  }
}

/*
 * Talkdesk Confidential
 *
 * Copyright (C) Talkdesk Inc. 2020
 *
 * The source code for this program is not published or otherwise divested
 * of its trade secrets, irrespective of what has been deposited with the
 * U.S. Copyright Office. Unauthorized copying of this file, via any medium
 * is strictly prohibited.
 */
.back-link {
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.back-link::before {
  padding: 6px;
  color: var(--primary-color);
  content: '\003c';
}

.search-list-entry {
  margin-bottom: 35px;
}

.search-list-entry__title {
  margin-bottom: 6px;
  font-size: 1rem;
}

.search-list-entry__sub-title {
  font-size: 0.8rem;
  color: var(--microcopy-color);
  margin-bottom: 5px;
}

.search-list-entry__sub-title-link {
  color: var(--microcopy-color);
}

.search-list-entry__sub-title-divider {
  margin: 0 6px;
}

.search-list-entry__briefing {
  color: var(--text-color);
  font-size: 0.8rem;
}

.item-list__link {
  display: block;
  font-size: 0.8rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 4px;
  padding: 0 10px;
}

.item-list__link.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.item-list__see-all {
  color: #969da6;
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: normal;
  padding-left: 10px;
  display: none;
  height: 2rem;
  line-height: 2rem;
}

.item-list__link
  + .item-list__link
  + .item-list__link
  + .item-list__link
  + .item-list__link
  + .item-list__link
  + .item-list__see-all {
  display: block;
}

.item-list__title {
  color: #202830;
  font-family: 'Roboto-Medium';
  font-size: 1.5rem;
  font-weight: 500;
  height: 1.75rem;
  text-transform: none;
  padding-left: 0;
  margin-top: 38px;
  margin-bottom: 30px;
}

.item-list__link:nth-of-type(n + 6) {
  display: none;
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .item-list {
    display: none;
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .item-list__title {
    padding-left: 10px;
    margin: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
  }

  .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__link
    + .item-list__see-all {
    display: block;
  }

  .item-list__link:nth-of-type(n + 6) {
    display: block;
  }

  .item-list__link:nth-of-type(n + 11) {
    display: none;
  }
}

.search-container {
  position: sticky;
  top: calc((165px + 1.125rem) * (-1));
  height: 255px;
  background: url(https://i0.wp.com/www.chriswrites.com/wp-content/uploads/highsierra.jpg?fit=1250%2C624&ssl=1)
    0% 0% / cover;
  background-color: var(--primary-color);
  box-shadow: rgb(84 5 189 / 20%) 0 0 0 2000px inset;
  z-index: 1;
}

.search-container__title {
  font-size: 1.125rem;
  color: white;
  text-align: center;
  margin: 60px 0 30px;
}

.search {
  position: sticky;
  top: 0;
  text-align: center;
  padding: var(--search-input-padding) var(--search-input-padding) 0;
}

.sidebar-visible .search-container.isSticky .search {
  padding: 0.67rem 20px 20px;
}

.app-container:not(.sidebar-visible) .isSticky .search {
  padding: 0.67rem;
  transition: padding 0.2s;
}

.search svg {
  font-size: 1.125rem;
  margin: 0 1rem;
}

.search svg path {
  fill: #b4bac0;
}

.search-box {
  border-radius: 6px;
  background-color: white;
  display: flex;
  align-items: center;
  box-shadow: 0 0 4px 0 rgb(0 0 0 / 30%);
}

.search-box__input {
  font-size: 0.75rem;
  line-height: 1.125rem;
  height: 3rem;
  padding: 0 0.5rem;
  border: 0;
  width: 100%;
  border-radius: 6px;
  margin: 1px;
}

.search-box__input::placeholder {
  color: rgb(150, 157, 166);
  font-size: 0.75rem;
  font-weight: 300;
}

.search-box__input:focus {
  outline: none;
}

.search__button {
  margin-left: 15px;
  cursor: pointer;
}

.search__button:hover {
  background-color: var(--primary-color-darken);
}

.search-results-wrapper {
  width: calc(100% - 2 * var(--search-input-padding));
  position: absolute;
  top: calc(100% - 4px);
  background: white;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 4px 0 rgb(0 0 0 / 30%);
}

.search-results-item {
  padding: 0.687rem 1.375rem;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  color: var(--search-results-color);
  font-size: 0.75rem;
  line-height: 1.125rem;
}

.search-results-item:hover {
  background: rgb(84 5 189 / 10%);
}

/* Small search */
.small-search .search-container__title {
  display: none;
}

.small-search.search-container {
  top: 0;
  height: var(--small-search-height);
}

/* Mobile Size */
@media (min-width: 320px) and (max-width: 640px) {
  .search .search__button {
    display: none;
  }

  .search-container__title {
    font-size: 1.75rem;
  }
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .search {
    padding: 0 16vw;
  }
  .small-search .search {
    padding: var(--search-input-padding) var(--search-input-padding) 0;
  }

  .search .search__button {
    display: none;
  }

  .search-container__title {
    font-size: 2rem;
  }
  .search-list-entry {
    margin-bottom: 32px;
  }
  .search-container:not(.small-search) .search-results-wrapper {
    width: calc(100% - 2 * 16vw);
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .search-container {
    background: transparent;
    box-shadow: none;
  }

  .search {
    position: relative;
    display: flex;
    margin: var(--search-input-padding) 28vw 0;
  }

  .search-box {
    flex: 1;
  }
  .search__button {
    border-radius: 6px;
    color: white;
    background-color: var(--primary-color);
    width: 6.125rem;
    border: 0;
    font-size: 0.9rem;
  }

  .search-box__input {
    font-size: 1rem;
  }

  .search-container__title {
    font-size: 3rem;
  }
  .search .search-results-wrapper {
    width: calc(100% - 2 * var(--search-input-padding) - 113px);
  }
  .search-list-entry {
    margin-bottom: 32px;
  }
}

.error-page {
  padding: 8vh 7vw;
}

.error-page__title {
  color: var(--primary-color);
  font-size: 1.875rem;
  font-family: 'Roboto-Medium';
  margin-bottom: 1.5rem;
}

.error-page__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.25rem;
}

.error-page__message {
  margin-bottom: 1.875rem;
}

.homepage {
  grid-area: main;
  display: grid;
  grid-template:
    'search search search' 255px
    'topics topics topics';
  background-color: var(--white);
}

.search-container {
  grid-area: search;
}

.homepage-topics {
  grid-area: topics;
  padding: 40px 48px;
}

/* Show only 5 root topics */
.homepage .topics-cards .topic-card:nth-child(n + 8) {
  display: none;
}

.homepage-topics__title {
  color: rgb(92, 99, 107);
  font-size: 1.5rem;
  font-weight: 500;
  height: 28px;
  margin: 13px 0 30px;
}

.topics-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.topics-button-wrapper button {
  background: var(--primary-color);
  border-radius: 4px;
  border: 1px solid var(--primary-color);
  height: 40px;
  color: #fff;
  width: 12.5rem;
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .homepage {
    background: url(https://i0.wp.com/www.chriswrites.com/wp-content/uploads/highsierra.jpg?fit=1250%2C624&ssl=1)
      0% 0% / cover;
    box-shadow: rgb(84 5 189 / 20%) 0 0 0 2000px inset;
  }

  .homepage-topics__title {
    display: none;
  }

  .homepage-topics {
    padding: 0 28vw;
  }
}

.topic-page {
  grid-area: main;
  display: grid;
  grid-template:
    'search search search' var(--small-search-height)
    'content content content';
  background-color: var(--white);
}

.topic-page__container {
  grid-area: content;
  padding: 28px 23px;
  display: grid;
  grid-template: 'sidebar pageContent' / 260px 1fr;
  gap: 60px;
  min-width: 0;
}

.search-container {
  grid-area: search;
}

.topic-page__title {
  font-family: 'Roboto-Medium';
  font-size: 1.5rem;
  color: var(--microcopy-color);
  font-weight: 500;
  margin: 21px 0 0 0;
  hyphens: auto;
  word-break: break-word;
}

.topic-page__description {
  color: var(--microcopy-color);
  font-size: 0.75rem;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  margin-top: 0.5625rem;
}

.topic-section__title {
  color: var(--microcopy-color);
  font-family: 'Roboto-Medium';
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 38px;
}

.topic-section {
  min-width: 0;
}

.topic-section-link {
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-bottom: 12px;
}

.topic-section-link:last-child {
  margin-bottom: 0;
}

.topic-details__link {
  color: rgb(150, 157, 166);
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: normal;
}

.topic-page__description + .topic-sections__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.topic-articles__container {
  margin-top: 38px;
}

.topic-section-links__container {
  display: inline-block;
  max-width: 100%;
}

.topic-sidebar-container {
  margin-right: 60px;
}

.topics-list {
  min-width: 0;
}

/* Mobile Size */
@media (min-width: 320px) and (max-width: 640px) {
  .topic-page .topic-page__container {
    grid-template: 'pageContent';
    padding: 28px 20px;
  }

  .topics-list {
    grid-area: pageContent;
  }

  .topic-page__description + .topic-sections__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .topic-page .item-list {
    display: none;
  }
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .topic-page .topic-page__container {
    grid-template: 'pageContent';
    padding: 28px 23px;
  }

  .topics-list {
    grid-area: pageContent;
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .topic-page {
    padding: var(--page-padding);
    grid-template: 'content';
  }

  .topic-page .search-container {
    display: none;
  }

  .topics-list {
    margin-top: 15px;
  }
  
  .topic-page__description + .topic-sections__container {
    grid-column-gap: 60px;
  }
}

.article-page {
  grid-area: main;
  display: grid;
  background-color: var(--white);
  grid-template:
    'search' var(--small-search-height)
    'content';
}

.article-page__container {
  grid-area: content;
  display: grid;
  grid-template:
    'articleContent'
    'content-sidebar';
  padding: 28px 23px;
  min-width: 0;
}

.article-page__content-container {
  min-width: 0;
  grid-area: articleContent;
  background: var(--white);
}

.article-page__content-sidebar {
  grid-area: content-sidebar;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.article-page__title {
  color: var(--title-color);
  font-family: 'Roboto-Medium';
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 18px;
  hyphens: auto;
  word-break: break-word;
}

.section-wrapper p {
  margin-top: 0;
}

.section-wrapper p,
.section-wrapper li {
  font-size: 0.813rem;
  color: var(--article-text-color);
}

.section-wrapper figure {
  margin: 0;
}

.article-page__content-footer .svg-inline--fa {
  margin-left: 5px;
}

.article-page hr {
  border: 1px solid var(--border-color);
}

.article-page__content-footer {
  display: flex;
  flex-flow: column;
}

.article-page__content-footer,
.article-page__content-footer a {
  font-size: 0.813rem;
  color: var(--microcopy-color);
  font-weight: normal;
  cursor: pointer;
}

.article-page .back-link {
  grid-area: nav;
}

.article-page__return-to-top {
  display: none;
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .article-page__container {
    grid-area: content;
    display: grid;
    grid-template: 'articleContent articleContent articleContent' 'content-sidebar content-sidebar content-sidebar';
    gap: 0;
  }

  .article-page__container .item-list {
    display: block;
    min-width: 0;
  }

  .article-page__content-sidebar {
    grid-area: content-sidebar;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 60px;
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .article-page {
    grid-template: 'content content content';
    background-color: var(--white);
    padding: 30px 12vw 0;
  }

  .article-page__content-sidebar {
    flex-direction: column;
  }

  .article-page__container {
    grid-area: content;
    display: grid;
    grid-template: 'content-sidebar articleContent' / minmax(100px, 250px) 1fr;
    gap: 60px;
  }

  .article-page .search-container {
    display: none;
  }

  .article-page__title {
    color: #1c1c1c;
    font-size: 3rem;
    line-height: 3.75rem;
    font-weight: bold;
  }

  .section-wrapper p,
  .section-wrapper li {
    font-size: 0.938rem;
    line-height: 1.375rem;
  }

  .article-page__content-container {
    padding: 0;
    box-shadow: none;
  }

  .article-page__content-footer {
    justify-content: space-between;
    flex-flow: row;
  }

  .article-page__content-footer,
  .article-page__content-footer a {
    font-size: 0.8rem;
    line-height: 1.375rem;
  }

  .article-page__content-sidebar .item-list {
    margin-bottom: 32px;
  }

  .article-page__content-sidebar .item-list:first-child {
    order: 2;
  }

  .article-page .back-link {
    display: none;
  }

  .article-page__return-to-top {
    display: block;
  }
}

@media (min-width: 320px) and (max-width: 1024px) {
  .article-page__content-sidebar .item-list__title {
    color: var(--microcopy-color);
    font-family: 'Roboto-Medium';
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 38px;
  }
}

@media (min-width: 320px) and (max-width: 640px) {
  .article-page__title {
    font-family: 'Roboto-Medium';
    font-size: 1.5rem;
    color: var(--microcopy-color);
    font-weight: 500;
    margin: 21px 0 0 0;
    hyphens: auto;
    word-break: break-word;
  }
}

.article-sections-wrapper {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.article-section-container {
  display: flex;
  gap: 20px;
}

.article-section.width-33 {
  width: 33%;
}

.article-section.width-50 {
  width: 50%;
}

.article-section.width-66 {
  width: 66%;
}

.article-section.width-100 {
  width: 100%;
}

/* the naming of these classes uses a different casing because they come direclty from Guide */
.section-wrapper .smallSize {
  width: 50%;
}

.section-wrapper .mediumSize {
  width: 75%;
}

.section-wrapper .largeSize {
  width: 100%;
}

.section-wrapper .originalSize {
  width: auto;
}

.videoBlockContainer {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  padding-top: 56.25%;
}

.videoBlockContainer iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Mobile Size */
@media (min-width: 320px) and (max-width: 640px) {
  .article-section-container {
    flex-direction: column;
  }

  .article-section.width-33,
  .article-section.width-50,
  .article-section.width-66,
  .article-section.width-100 {
    width: 100%;
  }
}

.all-topics-page {
  grid-area: main;
}

.all-topics__title {
  color: rgb(92, 99, 107);
  font-size: 1.5rem;
  font-weight: 500;
  height: 28px;
  margin: 13px 0 30px;
}

.all-topics__container {
  padding: 28px 20px;
}

.all-topics-page.topics-cards {
  margin: 0 28px;
}

.all-topics__container .breadcrumb {
  display: none;
}

/* Mobile Size */
@media (min-width: 320px) and (max-width: 640px) {
  .all-topics-page .topics-cards {
    padding: 3px 20px;
  }
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .all-topics__title {
    margin: 13px 60px 30px;
  }
  .all-topics-page .topics-cards {
    padding: 0 60px;
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .all-topics-page {
    padding: var(--page-padding);
  }

  .all-topics-page .search-container {
    display: none;
  }
  .all-topics-page.topics-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .all-topics__title {
    font-family: Roboto-Medium;
    font-size: 3rem;
    color: #202830;
    height: 4rem;
  }
  .all-topics-page .topics-cards {
    margin: 0;
  }
  .all-topics__container .breadcrumb {
    display: block;
  }
  .all-topics__container .back-link,
  .topic-page__container .back-link {
    display: none;
  }
}

.search-page {
  grid-area: main;
  display: grid;
  grid-template:
    'search' var(--small-search-height)
    'content';
  background-color: var(--white);
}

.search-page__container {
  grid-area: content;
  padding: 28px 23px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-list__container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 23px 0;
  min-width: 0;
}

.search-list-count {
  font-size: 0.8rem;
  margin-bottom: 20px;
  color: var(--microcopy-color);
}

.pagination {
  justify-content: center;
  list-style: none;
  display: flex;
  margin-top: auto;
  padding: 0;
}

.pagination > li {
  user-select: none;
  cursor: pointer;
}

.search-page .breadcrumb {
  display: none;
}

.pagination button {
  border-radius: 4px;
  border-width: 0;
  height: 40px;
  width: 40px;
  cursor: pointer;
}

.pagination button:not(.active) {
  background: var(--pagination-background);
}

.pagination button.active {
  color: var(--white);
  background-color: var(--primary-color);
}

.pagination button:disabled {
  cursor: not-allowed;
  background: var(--pagination-background);
}

@media (min-width: 320px) and (max-width: 640px) {
  .search-list__container {
    padding: 0;
  }
  .pagination > li button:not(.active):not(.pagination-step) {
    display: none;
   }
}

/* Tablet size */
@media (min-width: 641px) and (max-width: 1024px) {
  .search-list-entry {
    margin-bottom: 32px;
  }

  .pagination > li button:not(.active):not(.pagination-step) {
   display: none;
  }
}

/* DeskTop Size */
@media (min-width: 1025px) {
  .search-page {
    padding: 0 145px;
  }

  .search-page__container {
    padding: 28px 0 0;
  }

  .search-list__container {
    padding: 28px 0;
  }

  .search-box {
    border-radius: 6px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  }

  .search-page .breadcrumb {
    display: block;
  }

  .search-page .back-link {
    display: none;
  }

  .search-page .search {
    margin: 0;
    width: 560px;
    padding: 0;
  }

  .search-page .search-results-wrapper {
    width: 447px;
  }

  .pagination button:not(.active):hover {
    background: var(--pagination-background-darken);
  }

  .pagination button.active:hover {
    background-color: var(--primary-color-darken);
  }

  .pagination > li {
    margin-right: 0.3em;
  }

  .search-container.small-search {
    position: static;
  }
}

.errorPage {
  grid-area: main;
  display: grid;
  grid-template: 'content';
  background-color: var(--white);
}

.errorPage__container {
  grid-area: content;
}

.show-loader .app-loader {
  display: flex;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color-darken);
}

.override-bold {
  font-weight: normal;
}

.capitalize {
  text-transform: capitalize;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  background-color: var(--table-header-background);
  font-weight: bold;
}

.table td,
.table th {
  border-right: 1px solid var(--border-color);
  padding: 0 0.75rem 0 1.5rem;
  text-align: left;
}

.table td:first-child,
.table th:first-child {
  border-left: 1px solid var(--border-color);
}

.table tr {
  border-bottom: 1px solid var(--border-color);
}

.table thead {
  border-top: 1px solid var(--border-color);
}

.text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

* {
  font-family: Roboto, sans-serif;
}

@font-face {
  font-family: 'Roboto';
  src: url(/fonts/Roboto-Regular-webfont.eot);
  src: url(/fonts/Roboto-Regular-webfont.eot?#iefix) format('embedded-opentype'),
    url(/fonts/Roboto-Regular-webfont.woff) format('woff'),
    url(/fonts/Roboto-Regular-webfont.ttf) format('truetype'),
    url(/fonts/Roboto-Regular-webfont.svg#RobotoRegular) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url(/fonts/Roboto-Italic-webfont.eot);
  src: url(/fonts/Roboto-Italic-webfont.eot?#iefix) format('embedded-opentype'),
    url(/fonts/Roboto-Italic-webfont.woff) format('woff'),
    url(/fonts/Roboto-Italic-webfont.ttf) format('truetype'),
    url(/fonts/Roboto-Italic-webfont.svg#RobotoItalic) format('svg');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url(/fonts/Roboto-Bold-webfont.eot);
  src: url(/fonts/Roboto-Bold-webfont.eot?#iefix) format('embedded-opentype'),
    url(/fonts/Roboto-Bold-webfont.woff) format('woff'),
    url(/fonts/Roboto-Bold-webfont.ttf) format('truetype'),
    url(/fonts/Roboto-Bold-webfont.svg#RobotoBold) format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url(/fonts/Roboto-Light-webfont.eot);
  src: url(/fonts/Roboto-Light-webfont.eot?#iefix) format('embedded-opentype'),
    url(/fonts/Roboto-Light-webfont.woff) format('woff'),
    url(/fonts/Roboto-Light-webfont.ttf) format('truetype'),
    url(/fonts/Roboto-Light-webfont.svg#RobotoLight) format('svg');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Medium';
  src: url(/fonts/Roboto-Medium-webfont.eot);
  src: url(/fonts/Roboto-Medium-webfont.eot?#iefix) format('embedded-opentype'),
    url(/fonts/Roboto-Medium-webfont.woff) format('woff'),
    url(/fonts/Roboto-Medium-webfont.ttf) format('truetype'),
    url(/fonts/Roboto-Medium-webfont.svg#robotomedium) format('svg');
  font-weight: normal;
  font-style: normal;
}

