/* fonts.css */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* variables.css */
@charset "utf-8";

/**************/
/* variables.css */
/**************/

:root {
  --color-accent: #f08a1a;
  --color-default-dark: #513e2d;
  --color-default-light: #e0dcd8;
  --color-mud: #2a1f16;
  --color-clay: #8b5a2b;
  --color-asphalt: #1c1712;
  --website-max-width: 1024px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --focus-ring: 0 0 0 0.2rem rgba(240, 138, 26, 0.55);
}

/* base.css */

/**************/
/* base.css */
/**************/

* {
  border: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
}

html, body {
  background-color: var(--color-default-dark);
  color: var(--color-default-light);
  font-family: var(--font-body);
  font-size: 100%;
  height: 100%;
  letter-spacing: 0.01em;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.1rem; }

p {
  line-height: 1.55;
  margin-bottom: 1rem;
}

ol { margin: 0 0 1rem 2rem; }
ol li { margin-bottom: 0.5rem; }
ol ol { margin-left: 1.5rem; }
ol ul { margin-left: 1.25rem; }

ul { margin: 0 0 1rem 1.5rem; }
ul li { margin-bottom: 0.5rem; }
ul ul { margin-left: 1.25rem; }

hr {
  border: thin solid var(--color-default-dark);
}

label {
  cursor: pointer;
  font-size: 1.25rem;
  padding-bottom: 0.25rem;
}

button,
input,
select {
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  font-family: inherit;
  padding: 0.5rem;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}

input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

option:checked {
  background: var(--color-accent);
}

input[type='checkbox'] {
  height: 1.25rem;
  width: 1.25rem;
}

input[type='radio'] {
  height: 1.25rem;
  width: 1.25rem;
}

button,
.button,
input[type='button'],
input[type='submit'] {
  border: thin solid transparent;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

button:disabled {
  background-color: #ddd;
  border-color: #bbb;
  color: #bbb;
}

button:enabled {
  background-color: var(--color-accent);
  border-color: transparent;
  color: var(--color-default-dark);
}

button.alpha-jump:enabled {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-default-dark);
}

button.alpha-jump:hover:enabled {
  filter: brightness(1.05);
}

button:hover:enabled {
  filter: brightness(1.05);
}

a, .link {
  color: var(--color-default-dark);
  cursor: pointer;
  text-decoration: underline;
}

a:hover, .link:hover {
  color: #8a4b00;
}

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

.hide {
  display: none;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.alpha-jump {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.flag-list {
  margin: 0.5rem 0 1rem 1.25rem;
}

.flag-list li {
  margin-bottom: 0.65rem;
}

/* layout.css */

/**************/
/* layout.css */
/**************/

body {
  background-image: url("/assets/graphics/background.png");
  display: flex;
  height: 100%;
  flex-direction: column;
}

body > header {
  background-color: var(--color-default-dark);
  background-image: url("/assets/graphics/background.png");
  flex: 0 0 auto;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

body > main {
  flex: 1 1 auto;
  margin: 0 auto;
  max-width: var(--website-max-width);
  padding-top: 70px;
  width: 100%;
}

body.home > main {
  max-width: none;
  padding-top: 70px;
}

body.home > main > section:not(.home-hero) {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--website-max-width);
  width: 100%;
}

body.home > main > section.home-hero {
  margin: 0;
  max-width: none;
  width: 100%;
}

body > main.findDirtTrackRaces {
  padding-top: 70px;
}

.skip-link {
  background: var(--color-accent);
  color: var(--color-mud);
  left: 0.5rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: -3rem;
  z-index: 200;
}

.skip-link:focus {
  top: 0.5rem;
}

.consent-banner {
  background: var(--color-mud);
  border-top: 2px solid var(--color-accent);
  bottom: 0;
  color: var(--color-default-light);
  left: 0;
  padding: 0.85rem 1rem;
  position: fixed;
  right: 0;
  z-index: 120;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--website-max-width);
}

.consent-banner p {
  flex: 1 1 16rem;
  margin: 0;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body > footer {
  color: var(--color-default-light);
  flex: 0 0 auto;
  margin: 0 auto;
  max-width: var(--website-max-width);
  padding: 1rem;
  width: 100%;
}

/* header.css */

/**************/
/* header.css */
/**************/

header {
  min-height: 4rem;
}

header > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: var(--website-max-width);
}

header > div > button#website-nav-button {
  background-color: var(--color-default-light);
  color: var(--color-default-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  margin: 0 0.5rem 0 0.25rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.35rem;
}

header > div > button#website-nav-button svg {
  display: block;
}

header > div > a.website-link {
  color: var(--color-default-light);
  display: block;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  padding: 0 0.5rem 0 0;
}

header > div > a.find-races {
  color: var(--color-default-light);
  flex-grow: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  padding: 0 0.5rem 0 1rem;
  text-align: right;
  text-decoration: none;
}

header > div > a.find-races:hover {
  color: var(--color-accent);
}

header > nav {
  margin: 0 auto;
  max-width: var(--website-max-width);
}

header ul#website-nav {
  height: auto;
  list-style: none;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.35s ease;
}

header ul#website-nav > li {
  margin: 0;
  padding: 1rem 0.5rem 0;
}

header ul#website-nav > li.divider {
  border-bottom: 0.25rem solid var(--color-default-light);
}

header ul#website-nav > li.divider:before {
  content: '';
  padding: 0;
}

header ul#website-nav > li.nav-find {
  border-top: 0.25rem solid var(--color-default-light);
}

header ul#website-nav > li > a {
  color: var(--color-default-light);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-decoration: none;
}

header ul#website-nav > li > a:hover,
header ul#website-nav > li > a[aria-current="page"] {
  color: var(--color-accent);
}

@media (min-width: 700px) {
  header > div > a.website-link {
    margin-left: 0.5rem;
  }

  header > div > button#website-nav-button {
    display: none;
  }

  header ul#website-nav {
    display: flex;
    max-height: none;
    height: auto;
    justify-content: space-around;
    overflow: visible;
  }

  header ul#website-nav > li {
    padding: 0.25rem;
  }

  header ul#website-nav > li.divider,
  header ul#website-nav > li.nav-find {
    display: none;
  }
}

/* main.css */

/**************/
/* main.css */
/**************/

main > section {
  background-color: var(--color-default-light);
  border-radius:
    2rem
    0.5rem;
  color: var(--color-default-dark);
  margin: 0.5rem 0;
  padding: 1rem;
}

main > section:first-child {
  margin-top: 0;
}

main > section.home-hero {
  background-color: transparent;
  border-radius: 0;
  color: var(--color-default-light);
  margin: 0;
  padding: 0;
}

main > section.home-about {
  color: var(--color-default-light);
}

main > section.advertisement {
  min-height: 340px;
  overflow-x: hidden;
  padding: 0;
}

main > section.advertisement > p.marker,
main > section.advertisement > h6.marker {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
  padding: 0.25rem 0.5rem;
  text-align: right;
}

main > section.advertisement > ins {
  min-height: 280px;
}

main > section.advertisement > div.marker {
  padding: 0.25rem 0.5rem;
}

main > section > h1.page-title {
  border-bottom: 0.25rem solid var(--color-default-dark);
  text-shadow: 2px 2px 0 #fff;
}

/* footer.css */

/**************/
/* footer.css */
/**************/

footer button.link {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
}

footer > a#website-identifier {
  display: block;
  margin: 0 auto 2rem;
  max-width: 320px;
  text-align: center;
}

@media (min-width: 600px) {
  footer > ul {
    columns: 2;
  }
}

/* website.css */

/**************/
/* website.css */
/**************/

html {
  background-image: url("/assets/graphics/background.png");
  overflow-x: hidden;
}

button#scroll-up {
  align-items: center;
  bottom: 5px;
  display: inline-flex;
  font-size: 1rem;
  height: 40px;
  justify-content: center;
  padding: 4px;
  position: fixed;
  right: -50px;
  transition: right 0.35s ease-in-out;
  width: 40px;
  z-index: 99;
}

button#scroll-up.show {
  right: 5px;
}

.heading {
  border-bottom: 0.25rem solid var(--color-default-dark);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

p.warning {
  background-color: #ffcc55;
  border: thin solid red;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

p.warning:before {
  color: red;
  content: '!!! ';
  font-weight: bold;
}

div.thank-you {
  border-top: 0.25rem solid var(--color-default-dark);
  margin-top: 3rem;
  padding: 1rem 1rem 0;
}

/*******************/
/*** BREADCRUMBS ***/
/*******************/
ul#breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1rem 0;
}

ul#breadcrumbs > li:after {
  content: '>';
  padding: 0 0.25rem;
}



/****************************/
/*** MULTIPAGE NAVIGATION ***/
/****************************/
ul.multipage-navigation {
  align-items: center;
  border-top: 0.25rem solid var(--color-default-dark);
  display: flex;
  font-size: 1.25rem;
  font-weight: bold;
  justify-content: center;
  list-style: none;
  margin: 2rem 0 0;
}

ul.multipage-navigation > li {
  display: block;
}

ul.multipage-navigation > li:first-child {
  flex: 0 0 auto;
}

ul.multipage-navigation > li:nth-child(3) {
  opacity: 1;
}

ul.multipage-navigation > li:last-child {
  flex: 0 0 auto;
}

ul.multipage-navigation > li > a {
  display: block;
  padding: 0.5rem;
}

ul.multipage-navigation > li > span {
  opacity: 0.5;
  padding: 0.5rem;
}



/******************/
/*** ALPHA LIST ***/
/******************/
div#alpha-list {
  background-color: var(--color-default-light);
  font-weight: bold;
  margin-top: 2rem;
  position: sticky;
  top: 67px;
  z-index: 9;
}

div#alpha-list > p {
  margin: 0;
  padding: 0;
}

div#alpha-list > ul {
  border-width: 1px 0;
  border-style: solid;
  border-color: var(--color-default-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

div#alpha-list > ul > li {
  cursor: pointer;
  display: block;
  margin: 0.25rem;
  padding: 0.25rem;
  text-decoration: underline;
}

@media (min-width: 600px) {
  div#alpha-list {
    top: 62px;
  }
}

/******************/
/*** ARROW LIST ***/
/******************/
ul.arrow {
  list-style: none;
  margin-left: 0;
}
ul.arrow li:before {
  content: '\003E';
  padding-right: 0.25rem;
}



/*****************/
/*** LOGO LIST ***/
/*****************/
ul.logo-list {
  margin-left: 0;
}

ul.logo-list > li {
  display: flex;
  padding: 0.25rem 0;
}

ul.logo-list > li.ad {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  flex-direction: column;
  width: 100%;
}

ul.logo-list > li.ad > h6.marker {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
  padding: 0.25rem 0.5rem;
  text-align: right;
}

ul.logo-list > li > div:first-child {
  flex: 0 0 50px;
  margin: 0 0.5rem 0 0;
}

ul.logo-list > li > div:first-child > img {
  width: 100%;
}

ul.logo-list > li > div:nth-child(2) {
  flex: 1 1 auto;
}

ul.logo-list > li > div:nth-child(2) a {
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
}

@media (min-width: 600px) {
  ul.logo-list > li > div:nth-child(2) a {
    display: inline-block;
    padding-right: 0.5rem;
  }
}



/*******************/
/*** TITLED INFO ***/
/*******************/
div.titled-info {
  border-bottom: 4px solid var(--color-default-dark);
  margin-top: 2rem;
}

div.titled-info > p {
  border-bottom: 4px solid var(--color-default-dark);
  font-size: 1.5rem;
  padding: 0;
}

div.titled-info.links {
  border-top: 4px solid var(--color-default-dark);
}

div.titled-info.links > ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.25rem;
  font-weight: bold;
  justify-content: space-evenly;
  list-style: none;
  margin: 1rem 0;
}

div.titled-info.links > ul > li {
  padding: 0.5rem;
}

/*******************************/
/*** LIST WITH LETTER TITLES ***/
/*******************************/
ul#list-with-letter-titles {
  list-style: none;
  margin-left: 0;
}

ul#list-with-letter-titles > li.letter {
  border-bottom: 4px solid var(--color-default-dark);
  font-size: 2rem;
  font-weight: bold;
  padding: 3rem 0 0;
}

ul#list-with-letter-titles > li {
  padding: 0.5rem 0;
}

form.track-search,
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  max-width: 28rem;
}

form.track-search input,
form.contact-form input,
form.contact-form textarea {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

form.track-search button,
form.contact-form button {
  align-self: flex-start;
}

button.widen-search {
  margin-right: 0.5rem;
}

