html,
body {
  overflow-x: hidden;
}

.privacy-btn {
  color:#000 !important;
  font-size: x-small !important;
}

a {
  color: #f26f1e;
}

a:hover {
  color: rgb(167, 77, 22);
}

.block {
  display: block;
  margin: 5px 0px;
}

.btn-primary {
  color: #fff;
  background-color: #f26f1e;
  border-color: #f26f1e;
}

.btn-outline-primary {
  color: #f26f1e;
  background-color: transparent;
  background-image: none;
  border-color: #f26f1e;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-outline-primary:hover {
  background-color: #f26f1e !important;
  border-color: #f26f1e;
}
.navbar-light .navbar-brand.txt-white,
.navbar-light .navbar-nav .nav-link.txt-white {
  color: rgba(255, 255, 255, 0.9);
}

nav#mynav:not(.bg-white):not(.bgR) ul {
  padding: 0 50px;
  background-color: rgba(0, 0, 0, 0.5);
  transform: skewX(-10deg);
}

i#mike1 {
  color: gold;
}

i#mike2 {
  color: silver;
}

i#mike3 {
  color: #cd7f32;
}

nav#mynav:not(.bg-white):not(.bgR) li {
  transform: skewX(10deg);
}

nav#mynav:not(.bg-white):not(.bgR) li a {
  color: white;
}

.whiteout {
  color: rgba(255, 255, 255, 0.9);
}

a.social-btn {
  padding: 0px;
  margin: 1px 2px 1px 2px;
  font-size: 1.5rem !important;
  text-shadow: 0px 0px 17px #fff;
}

a.active-social-btn {
  color: #7f7f7f !important;
}

a.social-btn:hover {
  color: #000 !important;
}

.btn-platinum {
  color: #fff;
  background-color: #aabcd7;
  border-color: #aabcd7;
}

.btn-gold {
  color: #fff;
  background-color: #ffdf00;
  border-color: #ffdf00;
}

.btn-silver {
  color: #fff;
  background-color: #c0c0c0; /* b5b5b5 */
  border-color: #c0c0c0;
}

.btn-bronze {
  color: #fff;
  background-color: #c9ae5d;
  border-color: #c9ae5d;
}

.badge-gold {
  color: #212529;
  background-color: #ffdf00;
}

.badge-silver {
  color: #212529;
  background-color: #c0c0c0;
}

.badge-bronze {
  color: #212529;
  background-color: #c9ae5d;
}

span.badge-pill {
  margin-right: 20px;
}

.empty-badge {
  padding-left: 75px;
}

.popover {
  max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

h1,
h2,
h3,
h4,
h5 {
  font-family: Bebas-neue;
  font-weight: bold;
}

nav {
  font-weight: bold;
  font-family: Bebas-neue;
  font-size: 1.5em;
}

a.navbar-brand {
  font-family: Bebas-neue;
  font-weight: bold;
  font-size: 1.5em;
  letter-spacing: 0.1em;
  font-style: italic;
}

div.pages {
  /* overflow-y: auto;
    -webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
    -webkit-scroll-snap-type: mandatory;
    scroll-snap-type: mandatory;
    -webkit-scroll-snap-points-y: repeat(100%);
    scroll-snap-points-y: repeat(100%); */
  position: relative;
}

div.page {
  min-height: 100vh;
  width: 100vw;
  padding: 50px 50px;
  padding-top: 106px;
  overflow: hidden;
}

div.halfpage {
  min-height: 50vh;
  width: 100vw;
  padding: 50px 50px;
  padding-top: 106px;
  overflow: hidden;
}

div#main.page {
  /* background: url(../images/bajacar.jpg) no-repeat center center fixed; */
  background-size: cover;
  position: relative;
}

div#news {
  overflow-x: scroll;
}

div#chevrondown {
  position: absolute;
  bottom: 50px;
  left: calc(50% - 12px);
  background: url(../images/chevron-bottom-white.png) no-repeat center center;
  height: 24px;
  width: 24px;
  animation-name: pulse;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  z-index: 8;

  /* width: 16px; */
}

div#chevrondownwhite {
  position: absolute;
  bottom: 15px;
  left: calc(50% - 12px);
  background: url(../images/chevron-bottom-white.png) no-repeat center center;
  height: 24px;
  width: 24px;
  animation-name: pulse;
  animation-duration: 2s;
  animation-iteration-count: infinite;

  /* width: 16px; */
}

div#team.page {
  background: url(../images/Tile2.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
}

div.navbar-ghost {
  height: 56px;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 0%;
  left: 0%;
}

div.card-header,
h5.modal-title {
  font-weight: 700;
  font-family: Bebas-neue;
  font-size: 1.5em;
  letter-spacing: 0.05em;
}

.d-flex {
  height: 100px;
}

div.card {
  margin: 10px;
  width: 300px;
}

div.modal-body {
  padding: 30px;
}

div#tiles {
  display: flex;
  flex-flow: column wrap;
  max-height: calc(100vh - 120px);
  align-items: flex-start;
  align-content: flex-start;
}

img.card-img-top {
  margin-bottom: 16px;
}

div.mainbkg,
div.riotracing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

div.mainbkg:nth-of-type(1) {
  background: url(../images/bajacar.jpg) no-repeat center center fixed;
  background-size: cover;
  z-index: 0;
}

div.mainbkg:nth-of-type(3) {
  background: url(../images/bajacartop.png) no-repeat center center fixed;
  background-size: cover;
  z-index: 5;
}

div.riotracing {
  width: 80%;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../images/riotracing3.png) no-repeat center center;
  background-size: contain;
  z-index: 1;
}

div#car {
  background: url(../images/testBajaCar.jpg) no-repeat top center;
  background-size: contain;
  margin-top: 60px;
  width: 100vw;
  height: 100%;
  position: relative;
}

div.partshowcase.page {
  padding: 0;
}

div.partshowcase .row {
  height: 100vh;
}

div.partshowcase .row div {
  padding-top: 106px;
}

div.partshowcase .col-md-8 {
  background-color: #141414;
  color: white;
  -webkit-box-shadow: 11px 0px 39px -8px rgba(0, 0, 0, 0.73);
  -moz-box-shadow: 11px 0px 39px -8px rgba(0, 0, 0, 0.73);
  box-shadow: 11px 0px 39px -8px rgba(0, 0, 0, 0.73);
}

div.partshowcase .title {
  text-align: right;
  letter-spacing: 0.08em;
  /* font-family: Helvetica-neue; */
}

div#results button {
  margin: auto 3px 3px 3px;
}

div#showresult h2 {
  position: absolute;
}

div.sponsortier > img {
  max-width: 30%;
  margin: 10px;
}

.sponsorImage {
  vertical-align: middle;
}

div.arrow {
  background: url(../images/chevron-right.png) no-repeat center center;
  background-size: auto;
}

div#mteam {
  min-height: 0px;
}

div#accordion .card-body,
.list-group-flush {
  padding: 0px;
}

div#accordion .card {
  width: auto;
  margin: 10px 0px;
}

div#showresult img {
  width: 100%;
  float: left;
  margin-bottom: 25px;
}

#showresult h2 {
  float: left;
  /* margin-top: 50px; */
  font-size: 3em;
  /* font-style: italic; */
  font-weight: bold;
  margin-left: -30px;
  margin-right: -40px;
}

#showresult h4 {
  clear: both;
  margin-top: 25px;
}

span.dropdown {
  width: 10px;
  height: 24px;
  background: url(../images/chevron-bottom-sm.png) no-repeat center center;
  float: right;
}

i#instaIcon {
  vertical-align: middle;
}

button#instaIcon {
  float: right;
  margin-top: 5px;
  border-width: 2px;
}

p#instaIcon {
  margin-bottom: 0px;
}

div#about.page {
  position: relative;
}

div.card-body {
  height: auto;
}

div.card-footer {
  background-color: white;
  border-top: 0;
}

div#about img {
  position: absolute;
  width: 50%;
  right: 0%;
  bottom: 0%;
  /* shape-outside: polygon(50% 9%,56% 26%,57% 42%,61% 46%,61% 54%,60% 57%,99% 81%,99% 99%,84% 99%,82% 93%,68% 91%,62% 88%,61% 81%,65% 68%,54% 62%,12% 61%,5% 58%,5% 49%,8% 43%,8% 36%,10% 36%,13% 32%,19% 29%,23% 11%); */
  z-index: 0;
  /* float: right; */
}

.rotate {
  transform-origin: top left;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

div#about .bkgtxt {
  position: absolute;
  font-style: italic;
  /* font-weight: bold; */
  letter-spacing: 0.1em;
  color: rgba(20, 20, 20, 0.04);
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

p {
  line-height: 1.75;
  text-indent: 2em;
}

div#gallery-hex h1.year {
  position: fixed;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-style: italic;
  margin-left: -30px;
  margin-right: -50px;
}

div#gallery .col-6 {
  position: relative;
  padding: 0;
}
div#gallery .col-6 div {
  width: 100%;
  height: 100%;
}

div#gallery .col-6 h2 {
  position: absolute;
  color: white;
  top: 75px;
  left: 0%;
  /* width: 100%; */
  /* text-align: center; */
  z-index: 0;
  text-shadow: 0 0 3px #ff0000;
}

div#gallery .col-6:hover {
  /* border: 2px solid black; */
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  z-index: 2;
}

div.team-hex {
  position: relative;
}

.team-fix {
  color: #7f7f7f !important;
}

.team-fix#navbar-team {
  color: #000 !important;
}

div.team-hex h1.group {
  position: absolute;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-style: italic;
  left: 25px;
}

div.hexLink:hover,
div.hexIn:hover {
  cursor: pointer;
}

div.team-hex hr {
  position: absolute;
  top: 0;
  left: 0;
  width: 80vw;
  margin: 0% 10vw;
}

div.team-hex p {
  text-indent: 0 !important;
}

div#teammodals img {
  height: 400px;
}

div#teammodals .modal-body {
  padding: 0px !important;
}

div#teammodals .modal-body div:nth-of-type(2) {
  padding: 30px;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: translateY(-20px);
  }
  25% {
    opacity: 0.5;
    transform: translateY(-5px);
  }
  50% {
    opacity: 0.25;
  }
  75% {
    opacity: 0.5;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(-20px);
  }
}
/* Mobile Go Here */
@media (max-width: 768px) {
  .mobile-close-button,
  .mobile-close-button:focus,
  .mobile-close-button:hover {
    color: gray;
    background: none;
    border: none;
    outline: none;
    font-size: 4rem;
    height: auto;
    position: absolute;
    top: 0rem;
    left: 28.3rem;
    font-weight: lighter;
  }

  .desktop-only {
    display: none;
  }

  div.page {
    padding-top: 50px!important;
  }

  /* racajab is the mobile banner for the background */
  div.mainbkg:nth-of-type(1) {
    max-width: 100vw;
    background: url(../images/racajab.jpg) no-repeat center center scroll;
  }

  div#sponsorship.page .container-fluid,
  div#sponsorship.page .container-fluid .row {
    width: calc(200vw - 100px);
    padding-right: 30px;
  }

  div#sponsorship.page {
    overflow: scroll;
    min-height: 0px;
  }

  div#sponsorship .col-md-4,
  div#results .col-md-4,
  div.col-12 {
    padding: 0px;
  }

  div#sponsortiers {
    overflow-y: scroll;
    max-height: calc(100vh - 100px);
    border: 1px rgba(180, 180, 180, 0.25) solid;
    padding: 20px;
  }

  div.card {
    margin-left: 40px !important;
  }

  h3.mike {
    clear: both;
    margin: 0px 0px 10px 40px;
  }

  div#showresult {
    margin-top: 50px;
  }

  div#showresult img {
    margin-left: 40px;
  }

  div#tiles .card:first-child {
    margin-left: 0px;
  }

  div#team.page {
    background: url(../images/Tile25.jpg) no-repeat center center scroll;
    background-size: cover;
    min-height: 40vh;
    /* width: 100vw; */
  }

  div#about .bkgtxt {
    top: 0px;
    left: 0px;
    width: 105%;
  }

  div#gallery .col-6 {
    height: calc(50vh - 102px);
  }
}
/* Desktops Go Here */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }

  a.social-btn#fb:hover {
    text-shadow: 0px 0px 17px #3b5998;
  }

  a.social-btn#twitter:hover {
    text-shadow: 0px 0px 17px #3881f3;
  }

  a.social-btn#insta:hover {
    text-shadow: 0px 0px 17px #e1306c;
  }

  a.social-btn#yout:hover {
    text-shadow: 0px 0px 17px #c4302b;
  }

  div#tiles {
    display: flex;
    flex-flow: column wrap;
    max-height: calc(100vh - 120px);
    align-items: flex-start;
    align-content: flex-start;
    width: inherit;
  }

  div.card {
    margin: 10px;
    flex: 0 4 auto;
    width: 400px;
  }

  div.verti {
    height: calc(100vh - 156px);
    width: 10px;
  }

  div#sponsorship div.row {
    height: 100%;
  }

  div#sponsorship div.row .col-4 {
    border-right: 2px gray solid;
  }

  div#team h1 {
    margin: 0;
  }

  div#team div.card {
    position: absolute;
    bottom: 10vh;
    right: 10vw;
    width: 300px;
  }

  div#team div.card-header {
    padding-bottom: 2px;
  }

  div.carpopover {
    width: 300px;
    height: 200px;
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
  }
  div.carpopover img {
    width: 100px;
  }

  h3.popover-header {
    font-size: 2em;
  }

  div.carpopover div.popovercontent {
    width: 100%;
  }
  div.carpopover div.popovercontent p:first-of-type {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  div.carpopover div.popovercontent p:nth-of-type(2) {
    margin: 0 10px;
  }

  div.carpart {
    position: absolute;
    min-height: 30px;
    min-width: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px white solid;
  }

  div#sponsortiers {
    overflow-y: scroll;
    max-height: calc(100vh - 156px);
    border-left: 1px rgba(180, 180, 180, 0.5) solid;
  }

  div#sponsortiers div.sponsortier {
    display: flex;
    flex-flow: wrap;
    align-items: flex-start;
    align-content: flex-start;
  }

  div.sponsortier > img {
    max-width: 30%;
    margin: 10px;
  }

  div.sponsortier h3 {
    width: 100%;
  }

  div#accordion {
    max-width: 500px;
  }

  div#accordion .card {
    margin-left: 90px !important;
  }

  h3.mike {
    clear: both;
    margin-left: 90px;
  }

  div#showresult img {
    width: 75%;
    margin-left: 90px;
  }

  div#about .bkgtxt {
    top: 0px;
    left: 0px;
    width: 105%;
  }

  div.modal-body {
    padding: 50px;
  }

  div.modal-body p {
    line-height: 1.5;
  }
  div#gallery .col-6 {
    height: calc(100vh - 204px);
  }






/* THIS IS FOR THE SPONSOR BROCHURE MODAL */
  .blocker{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    overflow:auto;
    z-index:9;
    padding:20px;
    box-sizing:border-box;
    background-color:#000;
    background-color:rgba(0,0,0,0.75);
    text-align:center
  }
  .blocker:before{
    content:"";
    display:inline-block;
    height:100%;
    vertical-align:middle;
    margin-right:-0.05em
  }
  .blocker.behind{
    background-color:transparent
  }
  .spbro{
    display:none;
    vertical-align:middle;
    position:relative;
    z-index:10;
    max-width:1000px;
    max-height:500px;
    box-sizing:border-box;
    width:90vw;
    height:70vh;
    background:#fff;
    padding:15px 30px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -o-border-radius:8px;
    -ms-border-radius:8px;
    border-radius:8px;
    -webkit-box-shadow:0 0 10px #000;
    -moz-box-shadow:0 0 10px #000;
    -o-box-shadow:0 0 10px #000;
    -ms-box-shadow:0 0 10px #000;
    box-shadow:0 0 10px #000;
    text-align:left
  }
  .spbro a.close-spbro{
    position:absolute;
    top:-12.5px;
    right:-12.5px;
    display:block;
    width:30px;
    height:30px;
    text-indent:-9999px;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center center;
    background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')
  }
  .spbro-spinner{
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translateY(-50%) translateX(-50%);
    padding:12px 16px;
    border-radius:5px;
    background-color:#111;
    height:20px
  }
  .spbro-spinner>div{
    border-radius:100px;
    background-color:#fff;
    height:20px;
    width:2px;
    margin:0 1px;
    display:inline-block;
    -webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;
    animation:sk-stretchdelay 1.2s infinite ease-in-out}.modal-spinner .rect2{-webkit-animation-delay:-1.1s;
    animation-delay:-1.1s}.modal-spinner .rect3{-webkit-animation-delay:-1.0s;
    animation-delay:-1.0s}.modal-spinner .rect4{-webkit-animation-delay:-0.9s;
    animation-delay:-0.9s}@-webkit-keyframes sk-stretchdelay{0%,40%,100%{-webkit-transform:scaleY(0.5)}20%{-webkit-transform:scaleY(1.0)}}@keyframes sk-stretchdelay{0%,40%,100%{transform:scaleY(0.5);
    -webkit-transform:scaleY(0.5)}20%{transform:scaleY(1.0);
    -webkit-transform:scaleY(1.0)}
  }
  
  .close {
    position: relative;
    float: right;
    padding: 5px 10px 7px 10px;
    margin-bottom: 20px;
    border-color: #f26f1e;
    border-width: medium;
    border-style: solid;
    border-radius: 30%;
  }
}
