/**
 * @file
 * Styles rules
 *
 * Theme styles rules.
 */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html {
  height: 100%;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5rem;
  scroll-padding-top: 150px !important;
}
html, body {
  position: relative;
  font-family: var(--font--barlow), sans-serif;
  color: var(--color-dark);
  background-color: var(--color-white);
}
body {
  overflow-x: hidden;
}
.main {
  position: relative;
}
@media all and (min-width: 1000px){
  .main {
    padding-top: 40px;
  }
}
/**
 * Image
 */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/**
 * Text
 */

p, h1, h2, h3, h4 {
  position: relative;
}
h1, h2, h3, h4 {
  font-family: var(--font--garamond);
  color: var(--color-primary--1);

}
h1 {
  font-size: var(--heading-size-l);
  line-height: 100%;
}
h2 {
  font-size: var(--heading-size-m);
}
h3 {
  font-size: var(--heading-size-s);
  font-weight: 400;
}
h4 {
  font-size: var(--heading-size-xs);
}
p {
  font-size: var(--content-size);
}

::selection {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/**
 * Links
 */

a {
  color: var(--color-brand--1);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/**
 * Toolbar Fixed Styles
 */

.toolbar a {
  font-family: "Source Sans Pro","Lucida Grande",Verdana,sans-serif;
  font-weight: normal;
}

/**
 * Table
 */

table {
  border-collapse: collapse;
  width: 100%;
}
table td,
table th {
  border: 1px solid #ddd;
  padding: 8px;
}
table tr:first-child td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--color-primary--2);
  color: var(--color-neutral--4);
  font-weight: 700;
}


/**
 * Pager
 */
.pager__items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 1rem 0;
  margin: 1rem auto;
}
.pager__item:not(.pager__item--next, .pager__item--previous) a{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 5px;
  width: fit-content;
}
.pager__item.is-active a{
  background-color: var(--color-primary--1);
  color: var(--color-white);
}
.pager__item.pager__item--first,
.pager__item.pager__item--last {
  display: none;
}
.pager__item {
  font-weight: 700;
}
.pager__item:not(.is-active) {
  color: var(--color-primary--1);
}
@media all and (min-width: 1000px){
  .pager__items {
    padding: 2rem 0;
    margin: 2rem auto;
  }
}

/**
 * Specific code
 */
.text-with-background--testimony .twb__image {
  border-radius: 50%;
  overflow: hidden;
  width: fit-content;
}


.main__content ul li {
  padding-bottom: 5px;
}

.subtitle {
  color: var(--color-secondary--1);
  font-family: var(--font--barlow);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */
}
