/* handy constants */
@font-face {
  font-family: "WayfindingSans";
  src: url("wayfindingsanspro/2420F7_0_0.eot");
  src: url("wayfindingsanspro/2420F7_0_0.woff") format("woff"), url("wayfindingsanspro/2420F7_0_0.ttf") format("truetype"), url("wayfindingsanspro/2420F7_0_0.svg#wf") format("svg");
}
.asphalt {
  color: #fff;
  font-size: 32px;
  text-shadow: 0 -1px 0 #000;
  line-height: 50px;
  background: url(images/asphalt.png) no-repeat;
  text-indent: 15px;
}

HTML {
  height: 100%;
  width: 100%;
}

BODY {
  margin: 0;
  background: #fff url(images/bg_body.jpg);
  color: #444;
  font: 12px/1.3 Helvetica, Arial, sans-serif;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

DIV.haze {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #777;
  opacity: 0.5;
}

H1, H2, H3 {
  font-family: "WayfindingSans";
  font-weight: normal;
  margin: 10px 0;
}
H1.link, H2.link, H3.link {
  color: #4B78AB;
  cursor: pointer;
}

H1 {
  margin-left: 150px;
  font-size: 24px;
}

P {
  margin-bottom: 20px;
}
P LABEL {
  width: auto;
}

A {
  color: #4B78AB;
  text-decoration: none;
  cursor: pointer;
}
A:hover {
  color: #B92025;
}
A:active, A:focus {
  outline: none;
}

TABLE {
  width: 100%;
}
TABLE TH {
  background: #efefef;
}

UL {
  list-style: none;
  margin: 0;
  padding: 0;
}
UL LI {
  margin: 0;
  padding: 0;
}
UL.generalList {
  border: 1px solid #ddd;
}
UL.generalList LI {
  border-bottom: 1px solid #ddd;
  background-color: white;
  padding: 5px;
}
UL.generalList LI.link {
  color: #4B78AB;
  cursor: pointer;
}
UL.halfHeight {
  height: 300px;
  overflow: auto;
}
UL.table {
  border-top: 1px #ddd solid;
  border-left: 1px #ddd solid;
  border-right: 1px #ddd solid;
  clear: both;
  overflow: hidden;
}
UL.table LI {
  float: left;
  width: 48%;
  padding: 1%;
  border-bottom: 1px #ddd solid;
  box-shadow: 1px 0 0 #ddd;
}

UL#scheduleOfEvents LI {
  display: flex;
  flex-direction: row;
  margin-bottom: 5px;
}

#mainWrapper, .mainWrapper {
  margin: 0 auto 0 auto;
  width: 1048px;
  display: flex;
  flex-direction: row;
  visibility: hidden;
}
#mainWrapper.loadComplete, .mainWrapper.loadComplete {
  visibility: visible;
}

#home {
  visibility: hidden;
}

.centerColumn {
  flex-grow: 1;
  margin: 36px 16px 0 0;
}

.center {
  margin: 0 auto 0 auto;
  max-width: 1048px;
}

#header {
  width: 100%;
  flex-direction: column;
  z-index: 11;
  height: 160px;
  background: url(images/grayBG.png) repeat;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.33);
}
#header #generalAdmissionWrapper {
  background: black;
  height: 36px;
  width: 100%;
}
#header #generalAdmissionWrapper #generalAdmission {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}
#header #generalAdmissionWrapper #generalAdmission .groupSocialMedia {
  display: flex;
}
#header #generalAdmissionWrapper #generalAdmission .loginWrapper {
  display: inline-block;
  position: absolute;
  right: 0;
  color: yellow;
}
#header #generalAdmissionWrapper #generalAdmission .loginWrapper A {
  color: white;
  text-decoration: none;
}
#header #headerWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 125px;
}
#header #tirerack {
  display: block;
  width: 192px;
  height: 40px;
  background: url(images/logos/tirerack130903_192.png) no-repeat 0;
}
#header #onelapBannerLogo A {
  display: inline-block;
  background: url(images/logos/shieldBrock_160t3.png) no-repeat 0;
  height: 161px;
  width: 164px;
  color: white;
  text-decoration: none;
  text-align: right;
  line-height: 220px;
}
#header #grassroots {
  display: block;
  width: 179px;
  height: 50px;
  background: url(images/logos/grmLogo.png) no-repeat;
  margin-bottom: 40px;
}

#navBar, .navBar {
  background-color: white;
  background-image: -webkit-gradient(linear, to bottom, from(#9f2f2c 3px), to(#7f2928 70px));
  background-image: -webkit-gradient(linear, to bottom, from(#9f2f2c 3px), to(#7f2928 70px));
  background-image: -moz-linear-gradient(to bottom, #9f2f2c 3px, #7f2928 70px);
  background-image: linear-gradient(to bottom, #9f2f2c 3px, #7f2928 70px);
  /* Firefox 16+, IE10, Opera 12.50+ */
  height: 36px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#navBar UL, .navBar UL {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 14px;
}
#navBar UL LI, .navBar UL LI {
  display: inline-block;
  color: white;
  border-right: 2px solid #aaa;
  padding: 0 10px 0 5px;
  position: relative;
  line-height: 32px;
}
#navBar UL LI UL.subNav, .navBar UL LI UL.subNav {
  display: none;
  position: absolute;
  left: -6px;
  top: 30px;
  border: 1px solid black;
  background-color: white;
  padding: 5px;
  list-style-type: none;
  z-index: 10;
}
#navBar UL LI UL.subNav LI, .navBar UL LI UL.subNav LI {
  color: black;
  border: none;
  white-space: nowrap;
}
#navBar UL LI UL.subNav LI:hover, .navBar UL LI UL.subNav LI:hover {
  font-weight: bold;
}
#navBar UL LI:last-child, .navBar UL LI:last-child {
  border: none;
}
#navBar UL LI.selected, .navBar UL LI.selected {
  color: yellow;
}
#navBar UL LI:hover, .navBar UL LI:hover {
  color: yellow;
}
#navBar UL LI:hover UL.subNav, .navBar UL LI:hover UL.subNav {
  display: block;
}

#footer {
  border-top: 1px #ccc solid;
  box-shadow: 0 -2px 13px rgba(0, 0, 0, 0.2);
  background: #fff;
}
#footer A {
  color: #eee;
}

.tire-logo img {
  width: 170px;
  opacity: 0.5;
}
.tire-logo:hover img {
  opacity: 1;
}

#copyright {
  line-height: 26px;
  background: url(images/sprite.png) repeat-x 0 -32px;
  height: 26px;
  padding: 10px 0;
  width: 100%;
  box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.33);
  color: #fff;
  padding: 0;
  text-align: center;
  margin: 0;
}

.flexRow {
  display: flex;
  flex-direction: row;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}
.flexColumn.bottomSpace {
  margin-bottom: 10px;
}

.maxWidth {
  flex-grow: 1;
}

.twoColumns {
  justify-content: space-between;
}
.twoColumns DIV.columnWrapper {
  width: calc( 50% - 5px );
}

DIV.moduleControl {
  position: absolute;
  top: 10px;
  right: 10px;
}
DIV.moduleControl A {
  color: #4B78AB;
  text-decoration: none;
}

#centerColumn {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background_color: #aaa;
  margin: 20px 20px 20px 0;
}

#rightColumn {
  display: flex;
  flex-direction: column;
  width: 300px;
  min-width: 300px;
  padding-top: 20px;
}

.widget {
  margin: 0 0 20px 0;
  overflow: hidden;
  padding: 5px;
  background-color: white;
  border: 1px solid #666;
}
.widget.noBorderNoPadding {
  padding: 0;
  border: none;
}

.widget-title {
  color: #fff;
  background: url(images/checkeredFlagBackground.png) no-repeat right #222;
  line-height: 36px;
  font-size: 20px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
  text-indent: 10px;
  margin: 0;
}
.widget-title A {
  color: #FFF200;
}

.widget-content {
  overflow: hidden;
  padding: 10px;
  border: 1px #ddd solid;
  background-color: white;
  background-image: -webkit-gradient(linear, bottom, from(#d5d5d5 3px), to(#ffffff 70px));
  background-image: -webkit-gradient(linear, bottom, from(#d5d5d5 3px), to(#ffffff 70px));
  background-image: -moz-linear-gradient(bottom, #d5d5d5 3px, #ffffff 70px);
  background-image: linear-gradient(bottom, #d5d5d5 3px, #ffffff 70px);
  /* Firefox 16+, IE10, Opera 12.50+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#e5e5e5");
}

DIV.countDown {
  margin: 0;
  padding: 5px 0 0 0;
  background-color: black;
  color: white;
}

DIV.countDown H2 {
  text-align: center;
  margin: 5px 0 0 0;
}

DIV.countDown TABLE {
  background-color: black;
}

DIV.countDown TABLE TH, DIV.countDown TABLE TD {
  text-align: center;
  background-color: black;
}

.block-date {
  width: 50px;
  text-align: center;
  margin-right: 5px;
}
.block-date .month {
  background: url(images/sprite.png) no-repeat 0 -160px;
  color: #fff;
  font: 10px/14px "Century Gothic", Helvetica, sans-serif;
  text-transform: uppercase;
  width: 50px;
}
.block-date .day {
  font: bold 24px/38px Helvetica, sans-serif;
  color: #000;
  background-color: white;
  background-image: -webkit-gradient(linear, bottom, from(#d5d5d5), to(#ffffff));
  background-image: -webkit-gradient(linear, bottom, from(#d5d5d5), to(#ffffff));
  background-image: -moz-linear-gradient(bottom, #d5d5d5, #ffffff);
  background-image: linear-gradient(bottom, #d5d5d5, #ffffff);
  /* Firefox 16+, IE10, Opera 12.50+ */
  border: 1px #dedede solid;
  border-top: none;
}

/* feature stuff */
/*home page feature*/
#features {
  position: relative;
  overflow: hidden;
  background: url(images/sprite.png) no-repeat 0 -295px;
  width: 728px;
  height: 351px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  z-index: 1;
}
#features .panel {
  position: relative;
  z-index: 1;
  height: 315px;
  width: 560px;
  height: 315px;
  overflow: hidden;
  background-color: white;
}
#features UL {
  float: left;
  margin: 41px 0 0 19px;
  width: 130px;
}
#features LI {
  width: 111px;
  height: 56px;
  float: left;
  overflow: hidden;
  background: url(images/widgetStates.png) no-repeat 0 -56px;
  margin-bottom: 3px;
  border-right: 1px #1e1e1e solid;
}
#features LI.ui-state-hover {
  background: url(images/widgetStates.png) no-repeat 0 0;
}
#features LI.ui-tabs-selected, #features LI.ui-tabs-active {
  background: url(images/widgetStates.png) no-repeat 100% 0;
  padding-right: 10px;
  border: none;
}
#features LI A {
  display: block;
  text-align: center;
  font: 13px/56px "WayfindingSans", sans-serif;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
  color: #fff;
}
#features LI.videos A {
  background: url(images/sprite.png) no-repeat -285px -781px;
}

#panels-wrap {
  width: 560px;
  height: 315px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
}

DIV.row.flex {
  display: flex;
  flex-direction: row;
}

DIV.sponsorColumn {
  width: 140px;
  height: 200px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
DIV.sponsorColumn A {
  display: inline-block;
}

.ui-tabs-hide {
  display: none;
}

.feature-overlay {
  position: absolute;
  z-index: 2;
  background: #000;
  background: rgba(0, 0, 0, 0.75);
  bottom: 0;
  left: 0;
  width: 540px;
  padding: 10px;
}
.feature-overlay P {
  margin: 0;
}

.feature-title {
  font-size: 28px;
  text-transform: uppercase;
  margin: 5px;
}
.feature-title A {
  color: #fff200;
}
.feature-title A:hover {
  color: #fff;
}

.feature-excerpt {
  color: #eee;
}

.feature-nav.ui-tabs-selected a {
  border: 2px #b92025 solid;
}

/*END feature stuff */
.isLink {
  color: blue;
  cursor: pointer;
}

DIV.contentModule {
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  position: relative;
}

TABLE.resultsReport {
  width: 100%;
  border: 1px solid #ddd;
  border-collapse: collapse;
}
TABLE.resultsReport.thRight TH {
  text-align: right;
}
TABLE.resultsReport.thLeft TH {
  text-align: left;
}
TABLE.resultsReport TH, TABLE.resultsReport TD {
  padding: 0 5px;
}
TABLE.resultsReport TH {
  background: #efefef;
}
TABLE.resultsReport TD.pos {
  font-weight: bold;
  text-align: right;
  font-size: 24px;
}
TABLE.resultsReport TD.carNoClass {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}
TABLE.resultsReport TD.team {
  width: 300px;
}
TABLE.resultsReport TD.tar {
  text-align: right;
}
TABLE.resultsReport TR.oddRow TD {
  background: #efefef;
}
TABLE.resultsReport TR.canceled {
  color: red;
}

TR.oddRow TD {
  background: #efefef;
}

TABLE.withBorders TD {
  border: 1px solid #ccc;
}

TABLE.fatRows TD, TABLE.fatRows TH {
  padding: 4px;
}

TD.number {
  text-align: right;
}

DIV.formField {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
}
DIV.formField LABEL, DIV.formField .dataLabel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #eee;
  font-weight: bold;
  padding: 5px;
  width: 200px;
  margin-right: 5px;
}
DIV.formField LABEL.error, DIV.formField .dataLabel.error {
  border: 1px solid #900;
  background-color: #fee;
}
DIV.formField INPUT[type=text], DIV.formField INPUT[type=password], DIV.formField .data {
  display: flex;
  align-items: center;
  width: 150px;
  padding: 5px;
}
DIV.formField TEXTAREA {
  width: 350px;
  height: 100px;
}

DIV.buttonBar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bbb;
  border: 1px solid white;
  border-radius: 6px;
  box-shadow: 2px 2px 4px #000000;
  height: 30px;
  padding: 0 10px;
}
.button.action {
  background-color: #22bb33;
  color: white;
}
.button.danger {
  background-color: #bb0000;
  color: white;
}
.button.disabled {
  background-color: #ccc !important;
  color: #999 !important;
}

DIV.withBorder {
  border: 1px solid #dddddd;
  padding: 10px;
}

DIV.successMsg {
  background-color: lightgreen;
  border: 1px solid green;
  margin: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
}

/* antiquated winners stuff */
TABLE#winners {
  margin: 0 10px 0 10px;
}

TABLE#winners TD {
  font-size: 8pt;
  width: 140px;
  padding-bottom: 10px;
}

TABLE#winners TD#firstPlace {
  font-size: 10pt;
  font-weight: bold;
  text-align: center;
}

TABLE#winners IMG {
  border: 1px solid black;
}

TABLE#winners TD#firstPlace IMG {
  border: 2px solid black;
}

TABLE#winners A {
  text-decoration: none;
  color: black;
}

/**********  new winner stuff */
.winner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.podiumContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.podium {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  margin: 0 0 40px 0;
}

H1.classWinners {
  margin: 30px 0 0 40%;
}

/*** Entry Management ***/
DIV.driverWrapper {
  border: 1px solid #888;
  margin-bottom: 10px;
  padding: 10px;
  position: relative;
}

DIV.entryMgtPopup {
  position: absolute;
  top: 100px;
  left: 150px;
  border: 1px solid black;
  box-sizing: border-box;
  padding: 10px;
  width: 500px;
  height: auto;
  background-color: white;
  z-index: 11;
}
