/* CSS Document */
html,
body {
  height: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: 'Roboto', Helvetica, Verdana;
  font-size: 14px;
}

#registered, #maxRegistrants {
  font-size: 32px !important;
}

#header {
  height: 120px;
  background-color: #45615F;
  -webkit-box-shadow: 1px 1px 20px 1px #6E6E6E;
  box-shadow: 1px 1px 20px 1px #6E6E6E;
  margin-bottom: 30px;
}

#header2 {
  height: 100px;
  background-color: #45615F;
  -webkit-box-shadow: 0px 0px 3px 0px #999;
  box-shadow: 0px 0px 3px 0px #999;
  margin-bottom: 1px;
}

@media screen and (max-width: 1000px) {
  #header2 {
    height: 50px;
  }
}

#contentBackground {
  width: 100%;
  background-color: #FFF;
}

#content {
  width: 980px;
  margin: 0 auto;
  min-height: 350px;
}

#footer {
  border-top: 1px solid #999;
  margin-top: 20px;
  height: 100px;
  background: #eeeeee;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  /* FF3.6+ */
  /* Chrome,Safari4+ */
  /* Chrome10+,Safari5.1+ */
  /* Opera 11.10+ */
  /* IE10+ */
  background: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#ffffff));
  background: linear-gradient(to bottom, #eeeeee 0%, #ffffff 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
  /* IE6-8 */
}

#logo {
  position: absolute;
  display: block;
  left: 50%;
  margin-left: -470px;
  top: 10px;
}

#topBorder {
  width: 980px;
  margin: 0 auto;
}

#topMenu {
  float: right;
  top: 50px;
  color: #AAA;
  margin-top: 50px;
}

#rightContent {
  float: right;
  width: 480px;
  margin-left: 9px;
}

#leftContent {
  width: auto;
  overflow: hidden;
}

#bottomBar {
  width: 70%;
  height: 37px;
  position: fixed;
  left: 0px;
  bottom: 0px;
  background-color: #555;
  -webkit-box-shadow: 0 0 3px 0 #999;
  box-shadow: 0 0 3px 0 #999;
}

#bottomBar img {
  margin-left: 8px;
}

#bottomBar2 {
  width: 100%;
  height: 37px;
  position: fixed;
  left: 0px;
  bottom: 0px;
  background-color: #555;
  -webkit-box-shadow: 0 0 3px 0 #999;
  box-shadow: 0 0 3px 0 #999;
}

#bottomBar2 img {
  margin-left: 8px;
}

#classTitle {
  font-weight: normal;
  position: absolute;
  top: 250px;
  left: 18px;
  color: #666;
}

#clearFilters {
  font-weight: normal;
  position: absolute;
  bottom: 44px;
  left: 18px;
  color: #B20000;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
}

#clearFilters:hover {
  color: #333;
}

#filterPanel {
  position: relative;
  z-index: 10;
  padding: 2px 0 20px 200px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width: 1000px) {
  #filterPanel {
    position: absolute;
    top: 50px;
    left: 0px;
    min-height: 100px;
    padding: 2px 0 2px 20px;
    background-color: #FFF;
    border-bottom: 1px #333 solid;
    display: none;
  }
}

#filterPanel > div {
  display: inline-block;
  padding: 0 10px;
}

#dtcustominput {
  width: 180px;
  border: 1px #000 solid;
}

#accordion .ui-widget-content {
  border: 0;
}

#leftBar.seriesClasses {
  position: absolute;
  left: 18px;
  top: 275px;
  width: 150px;
  overflow-x: hidden;
  overflow-y: auto;
}

#bottomControl {
  width: 30%;
  height: 40px;
  border: 2px solid #45615F;
  background-color: #fff;
  right: 0px;
  bottom: 0px;
  position: fixed;
  -webkit-box-shadow: 1px 1px 8px 1px #333333;
  box-shadow: 1px 1px 8px 1px #333333;
}

#bottomControl #toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  text-align: center;
  color: #666;
  padding-top: 7px;
  padding-right: 5px;
  cursor: pointer;
}

#bottomControl #info {
  width: 100%;
  height: 100%;
  padding: 8px;
  text-align: left;
  font-size: 16px;
  display: none;
  z-index: 999;
}

#bottomControl #messenger {
  width: auto;
  margin-right: 40px;
  margin-left: 8px;
  height: inherit;
  text-align: left;
  font-size: 16px;
  z-index: 99;
  position: relative;
}

#messenger p {
  margin-top: 2px;
  margin-bottom: 2px;
  margin-right: 8px;
  padding: 5px;
  border-bottom: 1px solid #f3f3f3;
}

#feedback {
  width: 40px;
  height: 400px;
  border: 1px solid #45615F;
  background-color: #fff;
  right: 0px;
  top: 200px;
  position: fixed;
}

#socialIcons {
  float: right;
  padding-top: 6px;
  padding-right: 10px;
  color: #fff;
  cursor: pointer;
}

#socialIcons i {
  padding-right: 10px;
  color: #fff;
}

#socialIcons a:link, #socialIcons a:active, #socialIcons a:visited {
  color: #fff;
}

#socialIcons a:hover {
  color: #ccc;
}

.nowrap {
  white-space: nowrap;
}

#backButton {
  position: absolute;
  top: 10px;
  left: 18px;
  color: #ccc;
  cursor: pointer;
  text-decoration: none;
}

@media screen and (max-width: 1000px) {
  #backButton .backtxt {
    display: none;
  }
  #backButton i {
    font-size: 28px;
  }
}

#optionWrapper {
  top: 8px;
  right: 15px;
  position: absolute;
}

@media screen and (max-width: 1000px) {
  #optionWrapper {
    display: none;
  }
}

#optionWheel {
  top: 8px;
  right: 15px;
  position: absolute;
  color: #FFF;
  cursor: pointer;
}

@media screen and (min-width: 1000px) {
  #optionWheel {
    display: none;
  }
}

/*
#optionWheel:hover {
    transition: 0.70s;
    transform: rotate(90deg);
}*/
#optionWrapper i {
  font-size: 14px;
  width: 15px;
}

.option {
  cursor: pointer;
  font-size: 11px;
  color: #fff;
  background-repeat: no-repeat;
  padding-left: 21px;
  margin-bottom: 6px;
  padding-top: 4px;
  height: 12px;
}

#topMenu .menuItem {
  float: right;
  text-transform: uppercase;
  border-right: 1px solid #FFF;
  padding-left: 20px;
  padding-right: 20px;
}

#topMenu .last {
  border: none;
}

#topMenu a:link, #topMenu a:active, #topMenu a:visited {
  color: #FFF;
  text-decoration: none;
}

#topMenu a:hover {
  color: #AAA;
}

#leftContent #title {
  font-size: 18px;
  font-weight: bold;
  color: #804000;
  padding-bottom: 8px;
}

#raceSearchBox {
  border: 1px solid #630;
  font-size: 18px;
  color: #804000;
  padding: 8px;
  width: 400px;
}

#frontPageInfo {
  text-align: center;
  width: 416px;
  padding-top: 20px;
}

#frontPageInfo img {
  margin-top: 30px;
}

#viewLast {
  font-size: 16px;
  color: #804000;
  text-decoration: underline;
  padding: 4px;
  cursor: pointer;
  overflow-y: auto;
}

#lastEventsDialog {
  padding: 15px;
}

.eventBox {
  width: 478px;
  border: 1px solid #630;
  height: 180px;
  padding: 1px;
  margin-bottom: 10px;
}

.eventBox .header {
  width: 100%;
  background-color: #45615F;
  text-align: center;
  color: #FFF;
  padding-top: 6px;
  padding-bottom: 6px;
  font-weight: normal;
  font-weight: bold;
}

.eventBox .content {
  overflow-y: scroll;
  width: 100%;
  height: 149px;
}

.eventTable {
  width: 100%;
  border-collapse: separate;
}

.eventTable thead tr {
  background-color: #666;
  color: #FFF;
  font-weight: normal;
}

.eventTable th {
  font-weight: normal;
}

.eventTable tr {
  padding-bottom: 5px;
  padding-top: 5px;
}

.eventTable td {
  text-align: left;
  color: #333;
  font-weight: normal;
  padding-left: 4px;
  padding-right: 4px;
}

#searchResults {
  width: 416px;
  border: 1px solid #630;
  background-color: #FFF;
  height: 290px;
  overflow-y: auto;
  display: none;
  color: #804000;
  -webkit-box-shadow: 1px 1px 20px 1px #D3D3D3;
  box-shadow: 1px 1px 20px 1px #D3D3D3;
  position: absolute;
}

#resultsTable {
  width: 100%;
  border-collapse: collapse;
}

#resultsTableBody td {
  padding: 4px;
  text-align: left;
  height: auto;
}

table.dataTable tbody tr.even {
  background-color: #FFF;
}

table.dataTable tbody tr.odd {
  background-color: #F3F3F3;
}

.eventName {
  font-weight: bold !important;
}

.hoverColor {
  background-color: #CCC !important;
  cursor: pointer;
}

.hoverActive {
  background-color: #CCC !important;
}

.hoverActiveClose {
  background-image: url(../jqueryUI/rtlTheme/images/ui-icons_222222_256x240.png);
  background-position: -80px -128px;
  background-repeat: no-repeat;
  display: none;
  width: 16px;
  height: 16px;
  float: right;
  margin-top: 1px;
  margin-right: 6px;
}

.hoverActiveClose2 {
  display: none;
  width: 16px;
  height: 16px;
  float: right;
  margin-top: 1px;
  margin-right: 6px;
}

#raceImage {
  position: absolute;
  top: 40px;
  left: 18px;
  height: 113px;
  z-index: 11;
  width: 150px;
  padding: 2px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background-color: #fff;
}

@media screen and (max-width: 1000px) {
  #raceImage {
    height: 40px;
    width: 47px;
    left: 90px;
    top: 5px;
  }
}

#raceImage img {
  max-width: 100%;
  max-height: 100%;
}

#status {
  position: absolute;
  top: 9px;
  right: 160px;
  font-size: 18px;
  padding: 6px;
  border: 1px solid #3d5654;
  color: #ccc;
  background-color: #4e6d6b;
  border-radius: 3px;
}

#raceDetails {
  position: absolute;
  top: 0px;
  left: 200px;
  padding: 5px;
  padding-left: 10px;
  color: #fff;
}

@media screen and (max-width: 1000px) {
  #raceDetails {
    width: 150px;
    left: 180px;
  }
}

#raceDetails #name {
  font-size: 24px;
  color: #FFF;
  margin-right: 20px;
  max-width: 475px;
  overflow: hidden;
}

@media screen and (max-width: 1000px) {
  #raceDetails #name {
    font-size: 12px;
    font-weight: bold;
    color: #FFF;
    margin-left: -35px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
}

#raceDetails #event {
  color: #fff;
  margin-top: 7px;
}

@media screen and (max-width: 1000px) {
  #raceDetails #event {
    display: none;
  }
}

#raceDetails #promoter {
  color: #fff;
  margin-top: 7px;
}

@media screen and (max-width: 1000px) {
  #raceDetails #promoter {
    display: none;
  }
}

#raceDetails .titles #raceDate {
  color: #ccc;
}

#raceDetails .titles #raceStatus {
  color: #FF3;
}

#raceDetails .titles #eventMode {
  color: #ccc;
}

#raceDetails .titles #eventCountry {
  color: #ccc;
}

.ui-front {
  z-index: 106;
}

#riderArea {
  position: relative;
  margin: 20px 10px 40px;
  width: auto;
  font-size: 13px;
}

@media screen and (max-width: 1000px) {
  #riderArea {
    margin: 10px 10px 40px;
  }
}

#riderArea.series {
  font-size: 11px;
}

@media screen and (max-width: 1000px) {
  #riderArea.series {
    margin: 10px 10px 0px;
  }
}

#riderArea .coltip {
  padding: 4px;
  z-index: 999999;
  text-align: center;
  background-color: #666;
  color: #FFF !important;
}

#riderTable {
  min-width: 100%;
}

@media screen and (max-width: 1000px) {
  #printResults, #csv, #pdf, #timeFormat, #ama, #presentation {
    display: none;
  }
}

.riderLeft {
  float: left;
  width: 150px;
  margin-right: 15px;
  margin-left: 15px;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}

.rTitle {
  color: #999;
  font-size: 10px;
}

.rInfo {
  color: #069;
  font-size: 15px;
}

.rInfo2 {
  color: #063;
  font-size: 15px;
}

.riderLeft img {
  margin-bottom: 8px;
}

.riderRight {
  float: left;
  width: 550px;
  height: auto;
  margin-right: 15px;
  margin-top: 8px;
  margin-bottom: 8px;
  max-height: 384px;
  overflow-y: auto;
}

.riderRight .riderScores {
  border-collapse: separate;
  width: 100%;
}

.riderRight .riderScores th {
  background-color: #666;
  color: #fff;
  padding: 4px;
  font-weight: normal;
}

.riderRight .riderScores td {
  padding: 4px;
  color: #222;
  text-align: center;
}

.enduroTotals {
  width: 100%;
  margin-top: 8px;
  display: block;
  text-align: left;
}

.enduroTotals .rTitle {
  font-size: 11px;
}

.center {
  text-align: center;
}

.advance {
  text-align: center;
}

.overall {
  text-align: center;
}

.overall2 {
  text-align: center;
}

.classPos {
  text-align: center;
}

.lapTime {
  text-align: center;
}

.number {
  text-align: center;
}

.className {
  text-align: center;
}

.lap {
  text-align: center;
}

.checkpoint {
  text-align: center;
}

.checkpoint small {
  color: #999;
}

.checkTotal {
  text-align: center;
  font-weight: bold;
}

.avgSpeed {
  color: #036;
  font-size: 11px;
}

.avgSpeed2 {
  color: #999;
  font-size: 10px;
}

.sectpos {
  font-weight: normal;
  font-size: 11px;
}

#newMessage {
  padding: 15px;
  display: none;
}

.cancelled {
  display: none;
  position: relative;
  z-index: 9999;
  font-size: 10px;
  padding: 3px;
  background-color: #CCC;
  color: #000;
}

.sponsorBy {
  color: #69F;
  font-size: 11px;
}

.sponsor {
  color: #F63;
  font-size: 16px;
  font-weight: bold;
}

.sponsor2 {
  color: #3F0;
  font-size: 16px;
  font-weight: bold;
}

td.earlyCell {
  color: #BB3D2D !important;
  text-align: center;
}

.millisec {
  font-size: 10px;
}

#topAd {
  position: fixed;
  top: 3px;
  right: 310px;
  height: 90px;
  width: 600px;
  max-width: 600px;
  max-height: 90px;
}

@media screen and (max-width: 1000px) {
  #topAd {
    display: none;
    height: 40px;
    left: 130px;
    width: 220px;
    right: 45px;
  }
}

.thrownClass {
  color: #999;
}

th.thrownSection {
  background-color: #F00 !important;
}

th.thrownSection > div {
  background-color: #F00;
  text-decoration: line-through;
}

#saveButton {
  position: absolute;
  bottom: 70px;
  right: 50px;
  padding: 6px;
  border: 1px solid #ccc;
  background-color: #fefefe;
  cursor: pointer;
  border-radius: 4px;
  z-index: 9999;
}

#prepPrintDia {
  display: none;
}

#prepPrintDia > div {
  width: 300px;
  height: 200px;
  padding: 10px;
}

.ui-widget-content {
  border-color: #DDD;
}

.ui-widget-header {
  background-color: #DDD;
}

.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 100%;
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* Sit on top */
  left: 0;
  top: 0;
  background-color: black;
  /* Black fallback color */
  background-color: rgba(0, 0, 0, 0.8);
  /* Black w/opacity */
  overflow-x: hidden;
  /* Disable horizontal scroll */
  -webkit-transition: 0.5s;
  transition: 0.5s;
  /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.centerloading {
  width: 90px;
  height: 90px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.circle {
  background-color: rgba(0, 0, 0, 0);
  border: 5px solid #c0d1d0;
  /*border: 5px solid rgba(0,183,229,1);*/
  opacity: 1;
  border-right: 5px solid rgba(0, 0, 0, 0);
  border-left: 5px solid rgba(0, 0, 0, 0);
  border-radius: 50px;
  -webkit-box-shadow: 0 0 35px #D7E1E1;
  box-shadow: 0 0 35px #D7E1E1;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  -moz-animation: spinPulse 1s infinite ease-in-out;
  -webkit-animation: spinPulse 1s infinite linear;
}

.circle1 {
  background-color: rgba(0, 0, 0, 0);
  border: 5px solid #c0d1d0;
  opacity: 1;
  border-left: 5px solid rgba(0, 0, 0, 0);
  border-right: 5px solid rgba(0, 0, 0, 0);
  border-radius: 50px;
  -webkit-box-shadow: 0 0 15px #D7E1E1;
  box-shadow: 0 0 15px #D7E1E1;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  position: relative;
  top: -40px;
  -moz-animation: spinoffPulse 1s infinite linear;
  -webkit-animation: spinoffPulse 1s infinite linear;
}

@-webkit-keyframes spinPulse {
  0% {
    -webkit-transform: rotate(160deg);
    opacity: 0;
    -webkit-box-shadow: 0 0 1px #2187e7;
    box-shadow: 0 0 1px #2187e7;
  }
  50% {
    -webkit-transform: rotate(145deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-320deg);
    opacity: 0;
  }
}

@-webkit-keyframes spinoffPulse {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

.select2-results__option:before {
  content: '\f0c8';
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  padding: 0 4px 0 0;
}

.select2-results__option[aria-selected=true]:before {
  content: '\f14a';
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  padding: 0 4px 0 0;
}

.select2-choices {
  max-height: 150px;
}

.rrr-bnt {
  cursor: pointer;
}

th.behindby {
  text-align: center;
}

td.brandName {
  text-align: left;
}

td.brandName > span {
  padding: 1px;
}

.yamaha {
  background-color: #000099;
  color: #FFF;
}

.ktm {
  background-color: #FF6600;
  color: #FFF;
}

.honda {
  background-color: #E00031;
  color: #FFF;
}

.suzuki {
  background-color: #EBD623;
  color: #FFF;
}

.kawasaki {
  background-color: #33CC00;
  color: #FFF;
}

.gasgas {
  background-color: #E63429;
  color: #FFF;
}

.sherco {
  background-color: #0606A8;
  color: #FFF;
}

.beta {
  background-color: #E60000;
  color: #FFF;
}

.husqvarna {
  background-color: #002550;
  color: #FFF;
}

.husaberg, .husaburg {
  background-color: #024FA7;
  color: #FFF;
}

.tm {
  background-color: #00A2D8;
  color: #FFF;
}

.dataTables_wrapper .dataTables_length {
  float: left;
  margin-top: 3px;
}

.dataTables_wrapper .dataTables_paginate {
  float: right;
}

.mobile-container {
  background-color: #45615f !important;
}

.topnavresponsive {
  overflow: hidden;
  background-color: #45615f;
  position: relative;
}

.topnavresponsive #myLinks {
  display: none;
}

.topnavresponsive > a {
  margin: 0 0 0 0;
}

.topnavresponsive a {
  text-align: left;
  color: white;
  /*padding: 14px 16px;*/
  text-decoration: none;
  /*font-size: 17px;*/
  display: block;
}

.topnavresponsive a.icon {
  background: #45615f;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  border: 1px solid #373737;
  margin: 5px 30px 0 0;
  border-radius: 5px;
  height: 40px;
  width: 44px;
  padding-top: 7px;
  padding-left: 14px;
}

.topnavresponsive .navbar-nav > li {
  float: none;
}

/*.topnavresponsive a:hover {
    background-color: #ddd;
    color: black;
}*/
@media screen and (min-width: 1080px) {
  .topnavresponsive {
    display: none;
  }
  .navbar {
    display: block;
  }
}

@media screen and (max-width: 1079px) {
  .topnavresponsive {
    display: block;
    overflow: initial;
  }
  .navbar {
    display: none;
  }
  #myLinks ul.nav.navbar-nav {
    width: 100%;
  }
  #myLinks li.dropdown.open a,
  #myLinks li:focus a,
  #myLinks li:focus-within a,
  #myLinks li:hover a {
    color: black !important;
  }
}

.closeOptions {
  display: none;
  text-align: center;
  padding-top: 10px;
  font-size: 1.2em;
  color: white;
}

.closeOptions > span {
  border: 1px #FFF solid;
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
}

.longCol {
  width: 250px;
}

.headerContainer {
  display: flex;
  width: 100%;
}
