*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;

  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-weight: inherit;
  text-align: inherit;
  text-transform: inherit;
  text-decoration: inherit;

  outline: none;
  list-style: none;
  /* user-select: none; */
  box-sizing: border-box;
  vertical-align: baseline;

  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-color, #000) transparent;
  scroll-behavior: smooth;
  overscroll-behavior: contain;

  &::-webkit-scrollbar {
    height: 0 !important;
    width: 0 !important;
    -webkit-appearance: none !important;
  }
  &::-webkit-scrollbar:vertical {
    width: 4px !important;
  }
  &::-webkit-scrollbar:horizontal {
    height: 4px !important;
  }
  &::-webkit-scrollbar-track {
    background: transparent !important;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
    -webkit-border-radius: 10px !important;
  }
  &::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-color, #000) !important;
    border-radius: 5px !important;
    border: 2px solid transparent !important;
    -webkit-border-radius: 5px !important;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) !important;
  }
  &::-webkit-scrollbar-thumb:window-inactive {
    background: var(--scrollbar-color, #000) !important; 
  }
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  line-height: 1;
  font-family: Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body, header, main, footer {
  width: 100vw;
  max-width: 100%;
}

header, main, footer {
  min-height: 1px;
}

main {
  flex: 1 1 auto;
  position: relative;
  z-index: 0;
}

section {
  width: 100%;
}

h1 {
  font-size: var(--h1-size, 32px);
  margin: 16px 0;
  font-weight: 700;
}
h1:first-child {
  margin-top: 0;
}
h1:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: var(--h2-size, 32px);
  margin: 16px 0;
  font-weight: 500;

  .text & {
    font-size: var(--h2-text-size, 18px);
    margin: 20px 0 16px;
  }
}
h2:first-child {
  margin-top: 0;
}
h2:last-child {
  margin-bottom: 0;
}

h3 {
  font-size: var(--h3-size, 24px);
  margin: 24px 0 8px;
  font-weight: 600;
}
h3:first-child {
  margin-top: 0;
}
h3:last-child {
  margin-bottom: 0;
}

h4 {
  margin: 8px 0 8px;
  font-weight: 600;
  font-size: var(--h4-size, 18px);
}
h4:first-child {
  margin-top: 0;
}
h4:last-child {
  margin-bottom: 0;
}

h5 {
  font-size: var(--h5-size, 18px);
  margin: 16px 0;
  font-weight: 400;
}
h5:first-child {
  margin-top: 0;
}
h5:last-child {
  margin-bottom: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  color: inherit;
  font-family: monospace, monospace;
  font-size: inherit;
}

a {
  display: inline;
  cursor: pointer;
  width: max-content;
  background-color: transparent;
  transition: color .3s;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: 600;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

p {
  margin: 18px 0;
  font-weight: inherit;
  line-height: inherit;
}
p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}

svg, img, picture, video, iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-style: none;
  border: 0;
  margin: 0;
}
video {
  object-fit: cover;
}
img, picture {
  display: inline-block;
  object-fit: contain;
  max-width: 100%;
}
img:is(.no-image, .no_image), picture:is(.no-image, .no_image) {
  object-fit: contain !important;
}
img {
  &[data-fancybox] {
    cursor: pointer;
  }
}

svg, svg path svg rect, svg circle {
  transition: 0.3s;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: none;
}

input[type="text"], textarea {
  width: 100%;
  outline: none;
}

fieldset {
  padding: 0;
  border: 0;
  display: block;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: block;
  max-width: 100%;
  padding: 0; /* 3 */
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
  resize: none;
}

::-webkit-input-placeholder {
    color: var(--form-placeholder-color, #000);
}
:-moz-placeholder {
   color: var(--form-placeholder-color, #000);
   opacity: 1;
}
::-moz-placeholder {
   color: var(--form-placeholder-color, #000);
   opacity: 1;
}
:-ms-input-placeholder {
   color: var(--form-placeholder-color, #000);
}
::-ms-input-placeholder {
   color: var(--form-placeholder-color, #000);
}
::placeholder {
   color: var(--form-placeholder-color, #000);
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

s {
  text-decoration: line-through;
}

ul {
  margin: 0;
  padding: 0;
  display: block;
  list-style: none;
}
li {
  margin: 0;
  bottom: 0;
  padding: 0;
  display: block;
  list-style: none;
}
.text ul {
  display: flex;
  row-gap: 8px;
  flex-direction: column;
  list-style: disc;
  padding-left: 20px;
}
.text li {
  display: list-item;
  list-style: disc;
}

ol {
  margin-left: 30px;
  list-style-type: none;
  counter-reset: item;
  
  display: flex;
  row-gap: 8px;
  flex-direction: column;
}
ol:first-child {
  margin-top: 0;
}
ol:last-child {
  margin-bottom: 0;
}
ol > li {
  counter-increment: item;
  position: relative;
  list-style: none !important;
}
ol > li::before {
  font-weight: inherit;
  display: inline-block;
  color: var(--list-item-number-color, inherit);
  content: counters(item, ".") ". ";
  position: absolute;
  right: 100%;
  top: 0;
  margin-right: 6px;
}
li > ol {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
li > ol > li::before {
  color: var(--list-item-number-color, inherit);
  content: counters(item, ".") " ";
}

@media screen and (max-width: 1410px) {
  ol > li::before {
    font-weight: 400;
  }
}

@media screen and (max-width: 768px) {
  :root {
    outline: 0 !important;
    user-select: none !important;
  }
}

table {
  border-collapse: collapse;
  border-width: 0px;
  width: max-content;
  max-width: 100%;
}
td {
  border-width: 0px;
  padding: 5px 25px;
  width: max-content;
  vertical-align: middle;
}
td:first-child {
  padding-left: 0;
}
td:last-child {
  padding-right: 0;
}

.hide {
  display: none !important;
}

.disabled {
  opacity: .4 !important;
  pointer-events: none !important;
}