@charset "windows-1252";

/**********Variable Setup**********/
/* Colors */
:root {
  --primaryColor: #124472;
  --secondaryColor: #029fc4;
  --mainText: #000;
  --lightText: #717c8e;
  --lightBackground: #E5E7E9;
  --darkBackground: #424242;
  --warningRed: #dd1313;
  --parallelRed: #9f0909;
  --parallelBlue: #161698;
  --advantageGreen: #198503;
  --winGreen: var(--primaryColor);
}

/* Heights */

:root {
  --headerHeight: 180px;
  --runNavHeight: 44px;
  --rtHeight: 0px;
}


/********************PAGE SETUP********************/

body,
html {
  margin: 0;
  text-align: center;
  font: 16px/1.5625 'Asap', sans-serif;
  color: black;
  background: transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

main {
  zoom: 1;
  margin: 0 auto;
  background: white;
  width: 100%;
  max-width: 80rem;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header,
footer {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}
section {
  margin: 0 auto;
  padding: 0;
  display: block;
  height: auto;
  width: 100%;
  max-width: 95%;
  overflow: clip;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
}

/********************UTILITIES********************/

/*Display Styles*/
.show {
  display: block; !important;
}
.hide {
  display: none !important;
}


/*DIVs*/
div {
  display: block;
}
.centreBox {
  display: flex;
  align-items: center;
  justify-content: center;
}
* {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}


/*Highlighting*/
.highlightedLink:hover {
  box-shadow: inset 100px 0 0 0 var(--secondaryColor);
  color: white;
}
.active {
  color: var(--secondaryColor) !important;
}
::selection {
  background: #37aadf;
  color: white;
  text-shadow: none !important;
}
.highlightedLink {
  box-shadow: inset 0 0 0 0 var(--secondaryColor);
  color: #000;
  margin: 0 -.25rem;
  padding: 0 .25rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  font-weight: bold;
}


/*Transitions*/
img,
.dropdown p,
.dropdown-content a,
#raceNav,
#raceNav a {
  transition: all 400ms;
}

/********************TEXT UTILITIES********************/

a {
  text-decoration: none;
}

.smallPrint {
  color: var(--lightText);
  font-size: 10pt;
}

/*Text Colors*/

.r {
  color: var(--parallelRed);
}

.g {
  color: var(--advantageGreen);
}

.b {
  color: var(--parallelBlue);
}

.whiteText {
  color: #fff;
}

/*Error Pages*/

h1.error {
  font: 16px/1.5625 'Sofia Sans', sans-serif;
  font-size: 80pt;
  color: var(--secondaryColor);
  margin-bottom: 0;
  font-weight: 800;
}

h2.error {
  font: 16px/1.5625 'Sofia Sans', sans-serif;
  font-size: 30pt;
  color: var(--primaryColor);
  margin-bottom: 0;
  font-weight: 600;
}

/********************MOBILE MENU********************/

.Menu {
  height: auto;
  overflow-y: visible;
}

.mobileMenu {
  left: 0;
  transition: transform 0.2s ease-out;
  display: none;
  z-index: 201;
  top: 0;
  position: fixed;
  overflow-y: auto;
  padding: 0;
  border-top: 1px solid black;
  color: white;
  background: var(--darkBackground);
  width: 50%;
  height: 100vh;
  max-width: 350px;
  text-align: left;
}

.mobileMenu.responsive {
  transform: translate3d(0, 0, 0);
  display: block !important;
}

.mobileMenu ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobileMenu li {
  position: relative;
  display: block;
}

.mobileMenu a,
.mobileMenu a.current {
  color: inherit;
  text-decoration: none;
  text-decoration-color: currentcolor;
  text-align: left;
  display: block;
  padding: 0.64286em 45px 0.57143em 0.92857em;
  border-bottom: 1px solid black;
  background-color: var(--darkBackground);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.mobileMenu a.current {
  background-color: var(--primaryColor);
  box-shadow: inset 0 0 5px var(--darkBackground);
}

.mobileMenu a.trail {
  font-weight: bold;
}

.mobileMenu a.close {
  overflow: visible;
}

/* Trails and Expanded/Collapsed */

.mobileMenu li ul li a,
.mobileMenu li ul li a.current {
  padding-left: 1.85714em;
  color: #fff;
}

.mobileMenu li ul li ul li a,
.mobileMenu li ul li ul li a.current {
  padding-left: 2.78571em;
  color: #fff;
}

a.close {
  text-indent: -99em;
}

.mobileMenu .mobile-expand {
  width: 39px;
  height: 39px;
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  margin: 3px 6px 3px 0;
  padding: 0;
  border: none;
  box-shadow: none;
  outline: none;
  line-height: 0;
  color: inherit;
  text-shadow: none;
  background: none;
  display: inline-block;
  cursor: pointer;
}

.mobile-expand img {
  height: 100%;
  width: 100%;
}

.mobileMenu .mobile-expand:after {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  text-indent: 0;
  position: relative;
  display: block;
}

.mobile-expand.is-expanded img {
  transform: rotate(180deg);
}

/* Collapsed List Items */

.mobileMenu .is-collapsed ul {
  display: none;
}


/********************HEADER********************/

header {
  width: 100%;
  height: auto;
  min-height: 90px;
  position: sticky;
  top: 0;
  display: grid;
  background-color: #ededed;
  max-width: 80rem;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 10;
}

#raceNav {
  zoom: 1;
  height: 90px;
  width: 100%;
  color: #717c8e;
  top: 0;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 4fr;
}

/*#raceNav {
  height: 90px;
  padding: 0;
}*/

.mobileNav {
  width: 40px;
  height: 40px;
  margin-left: 25px;
  line-height: 0;
  cursor: pointer;
  float: left;
  align-self: center;
  justify-self: left;
}

.mobileNav {
  display: none;
}

.mobileNav img {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
}

/*Logo*/

.logo {
  position: static;
  margin-left: 30px;
  height: 100%;
  max-height: 90px;
  justify-self: left;
  display: flex;
  justify-content: center;
  align-content: center;
}

.logo a {
  display: block;
  height: 60px;
  width: auto;
  align-self: center;
}

.logo img {
  position: static;
  width: auto;
  height: 100%;
}

/* RaceNav Nav */

#raceNav nav {
  justify-self: right;
  height: 90px;
  float: right;
  display: block;
  width: auto;
  color: #717c8e;
  margin-right: 2.5%;
}

#raceNav ul {
  display: inline;
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}

#raceNav ul li {
  position: relative;
  float: left;
  height: 100%;
}

#raceNav ul li:before {
  position: absolute;
  top: 50%;
  left: 0.5em;
  margin-top: -0.33333em;
  font-size: 0.75em;
}

#raceNav ul li:hover:after {
  content: "";
  position: absolute;
  top: 50%;
  border-bottom: 2px #3f3f3f;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin-top: 0.625em;
}

#raceNav ul li:hover a {
  z-index: 2;
}

#raceNav ul li a {
  width: 100%;
  list-style: none;
  text-align: center;
  position: relative;
  float: left;
  height: 90px;
  padding: 0 1.429em;
  font-size: 0.875em;
  color: #717c8e;
  line-height: 6rem;
  vertical-align: middle;
}

#raceNav ul li a:hover {
  color: var(--secondaryColor);
  text-decoration: none;
}

#raceNav ul li:hover a:after {
  right: 1.42857em;
  left: 1.42857em;
  -webkit-transition-duration: 0.1s, 0.1s;
  transition-duration: 0.1s, 0.1s;
}

#raceNav ul li a:after {
  content: "";
  position: absolute;
  top: 88px;
  right: 50%;
  left: 50%;
  border-bottom: 2px solid #717c8e;
  -webkit-transition: right 0.4s ease-out, left 0.4s ease-out;
  transition: right 0.4s ease-out, left 0.4s ease-out;
}

.dropdown {
  cursor: pointer;
  position: relative;
  display: inline-block;
  min-width: 120px;
  text-decoration: none !important;
}

.dropdown-content {
  display: none;
  position: absolute;
  inset-block-start: 90px;
  background-color: #ffffff;
  max-height: 40px;
  width: 100%;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 10;
}

a.dropdown-content {
  top: 0;
  text-decoration: none;
  display: block;
  width: 100%;
  line-height: 40px !important;
  z-index: 10;
}

a.dropdown-content:after {
  border-bottom: 0 !important;
}

.dropdown-content.current a {
  color: var(--primaryColor);
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  z-index: 100 !important;
  display: block;
  visibility: visible;
}

/********************FOOTER********************/
footer {
  display: block;
  margin: auto 0 0 0;
  height: 35px;
  overflow: clip;
}

footer p {
  font-size: 12pt;
  background-color: var(--darkBackground);
  color: #f0f0f0;
  padding: 5px;
  margin: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  text-decoration-color: currentcolor;
  text-align: center;
  vertical-align: middle;
}

footer img {
  height: 100%;
  margin-top: 1px;
}


footer a {
  height: 25px;
  width: 90px;
  color: #f0f0f0;
  display: inline-block;
  margin: 0 25px;
  text-decoration: none;
  text-decoration-color: currentcolor;
  vertical-align: middle;
}

/* footer::after {
  background-color: var(--darkBackground);
  height:500px;
  content: " ";
  display: block;
  position: absolute;
} */

/********************Media Queries********************/
/**********iPad**********/

@media screen and (max-width: 1280px) {

  /**********RunNav**********

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown:hover a {
    color: #fff;
  }

  .active,
  .active > a {
    color: var(--secondaryColor) !important;
    text-decoration: none !important;
  }*/

}

/**********SMARTPHONE**********/

@media screen and (max-width: 799px) {

  :root {
    --runNavHeight: 30px;
  }

  header {
    margin-top: 0;
    min-height: 55px;
  }

  section {
    max-width: 95%;
  }

  /**********MobileMenu**********/

  .mobileNav {
    /*margin: 10px 0 0 15px;*/
    display: block;
    height: 30px;
    width: 30px;
  }

  .mobileMenu {
    width: 85%;
    font-size: 90%;
    left: -85%;
    display: block;
    visibility: hidden;
    transition: left 0.2s ease-in-out, visibility 0.2s 0.1s ease-out;
  }

  .mobileMenu.responsive {
    left: 0;
    visibility: visible;
  }

  .mobileMenu .mobile-expand {
    height: 41px;
    width: 41px;
    margin: 0 4px 0 0;
  }

  #raceNav {
    height: 55px;
    min-height: 0;
    grid-template-columns: 1fr 2fr 1fr;
  }

  #raceNav nav {
    display: none;
    float: none;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
    margin-left: 0;
  }

  .logo a {
    height: 45px;
  }
}

/**********SMARTPHONE LANDSCAPE**********/

@media screen and (max-width: 799px) and (orientation : landscape) {

  header {
    position: static;
    margin-top: 0;
    min-height: 55px;
  }

  section {
    margin-top: 0;
  }

  /**********MobileMenu**********/

  .mobileMenu {
    width: 85%;
    font-size: 90%;
  }

  .mobileMenu .mobile-expand {
    height: 40.5px;
    width: 40.5px;
    margin: 0 4px 0 0;
  }

}