body {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #333;
  background-color: #e6e6e6;
  width: 100%;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  padding-top:3.5em;
}

/*PICNIC CSS*/
h1{padding: 0px;}
a {
    color: #e50000;
}

.label,
[data-tooltip]:after,
button,
.button,
[type=submit],
.dropimage{
  background: #e50000; 
}

select:focus,
select:active {
    border: 1px solid #e50000;
}

input[type=radio]+.checkable:hover:before,
input[type=checkbox]+.checkable:hover:before,
input[type=radio]:focus+.checkable:before,
input[type=checkbox]:focus+.checkable:before {
    border: 1px solid #e50000
}
th {
    background-color: #e50000
}
input.stack:focus+input,
input.stack:focus+textarea,
input.stack:focus+select,
textarea.stack:focus+input,
textarea.stack:focus+textarea,
textarea.stack:focus+select,
select.stack:focus+input,
select.stack:focus+textarea,
select.stack:focus+select {
    border-top-color: #e50000
}
nav{height: 3.5em;}

.card.warning{border-color: #ebccd1 !important}
.card.warning h3{color:#a94442 !important; }

input[type=checkbox]:checked+.checkable:after{color:#e50000;}

/*NAV*/
nav,.footer{
background-image: -ms-linear-gradient(top, #363636 0%, #000203 100%);
background-image: -moz-linear-gradient(top, #363636 0%, #000203 100%);
background-image: -o-linear-gradient(top, #363636 0%, #000203 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #363636), color-stop(1, #000203));
background-image: -webkit-linear-gradient(top, #363636 0%, #000203 100%);
background-image: linear-gradient(to bottom, #363636 0%, #000203 100%);
}
nav img {
    height: 3.5em !important;
    
}

nav a{
  color:#737373 !important;
}

nav .show:checked ~ .menu{width:70%;}
nav .menu a:hover {
    color: #333;
    box-shadow: inset 0 -0.15em 0 red;
}

@media all and (min-device-width: 300px) { 
    nav .show:checked ~ .menu{width:182px;}
}
@media all and (min-device-width: 300px) { 
    nav .show:checked ~ .menu{width:182px;}
    .card-body{padding: .3em .0em;}
    .hidden-md{display: none;}
}

@media all and (min-device-width: 500px) { 
    .card-body{padding: .3em .2em;}
    .card{margin-left:3px;margin-right: 3px;}
}
@media all and (min-device-width: 600px) { 
    .hidden-xs{display: none;}
}
@media all and (min-device-width: 700px) { 
    .card-body{padding: .3em .3em;}
    .card{margin-left:5px;margin-right: 5px;}
}
@media all and (min-device-width: 1000px) { 
    nav .show:checked ~ .menu{width:250px;}
    .card-body{padding: .3em .5em;}
}
@media all and (min-device-width: 1200px) {
    body{font-size: 14px;}
    .card-body{font-size: 13px;}
}

.pseudo.button {
    color: #777;
    font-size: 2em;
}
/* END OF NAV */


.container {
  left: 50%;
  position: fixed;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

/* LOGIN STYLES */;
.homebody {
  background: #2c3338;
  color: #606468;
  margin: 0;
}

.homebody a {
  color: #eee;
  text-decoration: none;
}

.homebody a:hover {
  text-decoration: underline;
}

.homebody input,.homebody a.link {
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  padding: 0;
  -webkit-appearance: none;
}

.homebody a.link
{
display:block;
font-size: 13px;
padding:15px;
background:#3b4148 !important;
color:#ccc !important;
}
.homebody a.link:hover
{
background:#363b41 !important;
color:#fff !important;
}

.homebody p {
  line-height: 1.5em;
}
#login {
  width: 280px;
}
#login img{
  width: 280px;
}

#login span.icon {
  background-color: #363b41;
  border-radius: 3px 0px 0px 3px;
  color: #606468;
  display: block;
  float: left;
  height: 45px;
  line-height: 45px;
  text-align: center;
  width: 50px;
}

#login input,#login a.link  {
  height: 45px;
}

#login input[type="text"], input[type="password"] {
  background-color: #3b4148;
  border-radius: 0px 3px 3px 0px;
  color: #fff;
  margin: 0 0 1em 0 !important;
  padding: 0 16px;
  width: 230px;
  text-transform: uppercase;
}

#login input[type="submit"],#login a.link {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #DA191F;
  color: #fff;
  font-weight: bold;
  margin: 0 0 2em 0 !important;
  text-transform: uppercase;
  width: 280px;
}

#login input[type="submit"]:hover {
  background-color: red;
  margin: 0 0 2em 0 !important;
  padding: 0 !important;
}

#login > p {
  text-align: center;
}

#login > p span {
  padding-left: 5px;
}
/* END OF LOGIN STYLES */
.modal .spinner { 
  background: url('../../images/spinner.gif') 50% 50% no-repeat;
  height:  100%;
  width: 100%;
}

body.loading {
    overflow: hidden;   
}

body.loading .modal {
    display: block;
}
.sp_tbl {
    width: 100%;
    /*font-size: 12px;*/
}
.sport_header {
    padding-left: 5px !important;
    background: #32383d;
    background: -moz-linear-gradient(top, #444444 0%, #262c31 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#262c31));
    background: -webkit-linear-gradient(top, #444444 0%,#262c31 100%);
    background: -o-linear-gradient(top, #444444 0%,#262c31 100%);
    background: -ms-linear-gradient(top, #444444 0%,#262c31 100%);
    background: linear-gradient(to bottom, #444444 0%,#262c31 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#262c31',GradientType=0 );
    height: 35px;
    padding: 0;
    margin: 0;
    color: #fff !important;
}
.sport_header a {
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}
.sport_header a:hover {
    color: #e50000 !important;
    text-decoration: underline;
}
.sport_header img {vertical-align: middle;}
.sport_header input[type="submit"],.sport_header button[type="submit"] {margin-top: 0px !important;margin-bottom: 0px !important;margin-right: 5px;}

.link_bet {
    text-align: left;
    padding: 8px 5px;
    border-bottom: 1px solid #ccc;
    display: block;
}
.row_bets {background-color: #f0f0f0 !important;}
.row_bets td {padding: 0px;}
.row_bets td label.link_bet:last-child{border-bottom: none;}
.link_bet input[type=checkbox]+.checkable{display: block;}
.link_bet_check input,input[type="checkbox"],input[type="radio"]{border:none;box-shadow: none;}
table.table thead tr th {
    background: #32383d none repeat scroll 0% 0%;
    padding-top: 4px;
    padding-bottom: 4px;
    color: #fff;
}
.right{float: right;}

.check-button {
    margin: 4px 1px;
    overflow: hidden;
    color: #222222 !important;
    min-height: 25px;
    text-shadow: 0 1px 0 white;
    background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #c8c8c8), color-stop(100%, #ffffff));
    background-image: -webkit-linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    background-image: -moz-linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    background-image: -o-linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    background-image: linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*-webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35) !important;
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35) !important;*/
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
.check-button label span.line:hover {
    cursor: pointer;
    border-color: 1px solid #388E3C;
}
.check-button label span.empty:hover {
    cursor: not-allowed;
}
.check-button label span.empty {
    min-height: 20px;
    background: #ddd;
}
.check-button label {
    width: 4em;
}
.check-button label span {
    padding: 5px 0;
    display: block;
}
.check-button label span.line {
    color: #000;
}
.check-button input {margin:0;}
.check-button input:checked+span.line {
    background-color: #4CAF50;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.check-button input:checked+span.line:hover {
    background-color: #66BB6A;
    color: #fff;
}
.check-button label span.line{text-align: center;}
.btn-refresh span {
    padding-right: 5px;
}


@media only screen and (min-device-width : 320px) {
   table.lines-offering, table.lines-offering tr, table.lines-offering tr td{font-size: 0.9em;padding: 0px !important;}
   table.responsive, table.report{font-size: 0.8em;padding: 0px !important; }
   h4 span{font-size: 0.85em; }
   .date{font-size: 0.85em; }
   table.main {font-size: 0.85em; }
   .check-button { width: 50px;}
   .check-button input[type="number"]{width: 35px;}
   h1{font-size: 1.3em}
   .accordionHeader, .accordionHeaderSelected, .accordionContent{font-size: 0.7em;}
   #race-menu .branch-open .title, #race-menu .branch-closed .title{font-size: 0.89em;height: 20px !important;}
}

@media only screen and (min-device-width : 768px){
  table.lines-offering, table.lines-offering tr, table.lines-offering tr td {font-size:0.95em !important;}
  .check-button {width: 65px;}
  .check-button input[type="number"]{width: 50px;}
  table.WagerTable2{width: 80%;}
  table.responsive, table.report{font-size: 0.9em; }
  .date{font-size: 0.85em; }
  table.main {font-size: 1em; }
  table.main tr td {padding: 0.2em 0.3em;}
  h1{font-size: 1.8em}
  #race-menu .branch-open .title, #race-menu .branch-closed .title{font-size: 1.4em;}
  .accordionHeader, .accordionHeaderSelected, .accordionContent{font-size: 0.90em;}
  h4 span{font-size: 1em; }
}
table { border-collapse: collapse!important; border-spacing: 0;}
/*tr.table-header th{background: #585C5F !important;}*/
.btn-group div {display: inline-block; margin-right: 5px;}
.game-date{float: right;}
td.total{font-weight: bold;}
table.ticket a:link {color: #e50000;}
.accordionHeaderSelected {
    color: #DE2128;
}
.accordionHeader img, .accordionHeaderSelected img {
    margin-right: 3px;
    margin-left: 1px;
    vertical-align: middle;
}
.accordionContent {
    border: 1px solid #292C2E;
    background-color: #E8E8E8;
    border-top: none;
    padding: 2px;
    text-align: left;
}
.accordionHeader, .accordionHeaderSelected {
    border: 1px solid #292C2E;
    background-color: #32383d;
    font-weight: bold;
    padding: 3px 2px;
    margin-top: 3px;
    cursor: pointer;
}
.accordionHeader{color:#FFF;}

/*HORSES*/

.rider-name{font-size: 0.95em; font-style: italic;}
.horses table.TblTrackRaces{display: table;}
.horses table.TblTrackRaces tr th, .horses table.TblTrackRaces tr td {padding: .1em .2em;}
.horse-header .icon{margin-right:5px;}
.children{background: #32383d;}
.leaf{border-bottom: 1px solid #303030;color:#EAEAEA;padding:4px 2px;}
.leaf a{color:#e50000;}
@media only screen and (min-width: 768px) {
  .horses table.TblTrackRaces tr th, .horses table.TblTrackRaces tr td {padding: .2em .4em;}
}
 .horses table, .horses table tr, .horses table tr td{
  font-size: 12px !important;
  padding:0px;
}

.btn-group .btn-horses {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}
.btn-horses{
      margin: .3em 0;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: .2em;
    height: auto;
    box-shadow: 0 0 transparent inset;
    background: #32383d;
    display: inline-block;
    text-align: center;
    margin: 0;
    padding: .3em .6em;
    vertical-align: middle;
    color: #fff;
    border: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 90px;
}
.btn-horses.active{background: #e50000;font-weight: bold;}

.sidenav {
    height: 1000px; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    padding-top: 48px;
    transition: 0.5s; 
}
.sidenav.active{width: 150px;}
.horses-main {
    transition: margin-left .5s;
}
.horses-main label{font-size: 15px;}
.horses-main [type=checkbox]+.checkable, .horses-main [type=radio]+.checkable {margin-right: 0em }
.horse-menu-burger{font-size:20px;cursor:pointer;float:left}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav a {font-size: 13px;}
}
/*END HORSES*/

.box{
    position: relative;
    box-shadow: 0;
    border-radius: 3px;
    border: 1px solid #ddd;
    overflow: hidden;
    text-align: left;
    background: #fff;
    margin: 5px ;
    padding: 10px 8px;
}

.break-word{
  word-wrap: break-word;
}
.red{
  color:#e50000;
}
.bold{
  font-weight: bold;
}
td.bold{font-size: 10px;}
.account-info, .sport-header{
  background: #32383d;
  background: -moz-linear-gradient(top, #444444 0%, #262c31 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#262c31));
  background: -webkit-linear-gradient(top, #444444 0%,#262c31 100%);
  background: -o-linear-gradient(top, #444444 0%,#262c31 100%);
  background: -ms-linear-gradient(top, #444444 0%,#262c31 100%);
  background: linear-gradient(to bottom, #444444 0%,#262c31 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#262c31',GradientType=0 );
  box-shadow: 0 1px 0 0 #666666 inset;
  color: #B1B1B1;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  position: relative;
  vertical-align: middle;
}

.main{
  color:#000;
}
.player-messages{
  margin-top: 10px;
  margin-bottom: 10px;
}
h4 {
background: #cccccc;
background: -moz-linear-gradient(top, #cccccc 0%, #aaaaaa 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cccccc), color-stop(100%,#aaaaaa));
background: -webkit-linear-gradient(top, #cccccc 0%,#aaaaaa 100%);
background: -o-linear-gradient(top, #cccccc 0%,#aaaaaa 100%);
background: -ms-linear-gradient(top, #cccccc 0%,#aaaaaa 100%);
background: linear-gradient(to bottom, #cccccc 0%,#aaaaaa 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#aaaaaa',GradientType=0 );
color: #333;
padding: 6px 15px;
}
h4 span.right{float: right;}
ol, ul {
list-style: none;
}
.menu{
  text-align: left;
}
.links li
{
  border-bottom: 1px solid #d1d5de;
border-top: 1px solid #fff;
}
.links a
{display:block;}
.links a, .arrowed-link {
font-weight: bold;
color: #000;
background: #f2f3f7 url('../../images/arrowed-link.png') no-repeat 98% 17px;
padding: 12px 10% 12px 2%;
min-height: 15px;
}
.arrowed-link img{vertical-align: middle;}

.links li:hover {
    border-bottom: 1px solid #f1f1f1;
    border-top: 1px solid #f2f3f5;
}
.links a:hover {
    background-position: 98% -120px;
    background-color: #fff;
}

.footer {
color: #ff0000;
padding: 0;
font-weight: bold;
font-size: 1.1em;
line-height: 1.1em;
height: 62px;
}
.footer .left {
padding: 15px 15px 15px 0px;
width: 200px;
}
.left{float: left;display: block;}
.footer .left a{
color: #CA242A;
}
.footer .call-sup {
color: #CA242A;
font-weight: normal;
font-size: 1.1em;
}

.footer .call {
float: right;
padding: 5px 0px 5px 5px;
width: 55px;
}

.call .button {
background: url('../../images/phone-call.png') no-repeat 0 0;
height: 40px;
width: 40px;
background-size: 45px 40px;
float: right;
}

.bookie-info{
  font-size: 12px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-top: 10px !important;
  color: #ff0000;
  background: #ccc;
  clear: left;
  margin-top: -10px;
  text-align: center;
  height: 30px;
}
input[type=submit]
{
  margin-right: 5px !important;
}

/*.GameHeader{line-height: 16px;font-size: 13px;}
.GameHeader, table.responsive th{
  color: #fff;
  background-color: #32383d !important;
}*/
.GameBanner{background-color: #585C5F !important;color:#FFF;}
.GameBanner td{padding-left: 4px;}
table.lines-offering tr td.draw{padding-left:40px !important;}

table.main {
    width: 100%;
    margin: 0 auto 15px;
    box-shadow: 0 2px 4px #BBB;
}

table.main tr td{padding: 0.1em 0.3em }
table.options-table {width: 100%;}
table.options-table tr{background-color: #FFF !important;}
table.WagerTable2{width: 95%;margin: 2px auto;}
table.WagerTable2 {background-color: #f1efee !important; border: 1px solid #dcdcdc}
.WagerTable2 tr {background-color: #f1efee !important;}

table.lines-offering, table.lines-offering tr, table.lines-offering tr td {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  padding-left: 3px !important;
}

 .horses table, .horses table tr, .horses table tr td{
  font-size: 12px !important;
  padding:0px !important;
}

table.lines-offerings
{
  font-size: 10px !important;
}
table.responsive, table.report{
  font-size: 0.9em;
 }
.margin-top-10{
margin-top:10px;
}
table.lines-offering td.date {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(0, 0,0, 0.05);
  background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #c8c8c8), color-stop(100%, #ffffff));
    background-image: -webkit-linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    background-image: -moz-linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    background-image: -o-linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    background-image: linear-gradient(bottom, #c8c8c8 0%, #ffffff 100%);
    padding-right: 5px !important;
  }

table.lines-offering tr.TrGameEven,table.lines-offering tr.TrGameOdd {background-color: #ffffff !important;}
.date {font-weight: bold;}
.date i {padding-right: 3px;}
.error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.info-content {
  border: 1px solid #7A0307;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.TrGameOdd {background-color: #E8E8E8 !important;}
.TrGameEven{background-color: #ffffff !important;}

tr.TrGameOdd td img, tr.TrGameEven td img {
  vertical-align: middle;
}
tr.TrGameOdd td img.rounded, tr.TrGameEven td img.rounded{
    border-radius: 50%;
}
/* HELPERS */
.margin-top-10{margin-top: 10px;}
.margin-top-15{margin-top: 15px;}
.uppercase{text-transform: uppercase; }


/* PICNIC */
.card header.default {
    background: #eee;
}
.card header {
    padding: .3em .5em;
}
@media (min-device-width: 1200px) {
.card-body {
    font-size: 13px;
}
}
@media (min-device-width: 1000px) {
.card-body {
    padding: .3em .5em;
}
}
@media (min-device-width: 700px) {
.card-body {
    padding: .3em .3em;
}
}
@media (min-device-width: 500px) {
.card-body {
    padding: .3em .2em;
}
}
@media (min-device-width: 300px) {
  .card-body {
      padding: .3em .0em;
  }
  .card-body {
      padding: .3em .5em;
  }
  .card-body {
      font-size: 12px;
  }
}

#left-menu{font-size: 12px;}

.btn-teaser{margin:3px 10px;display: block;width: 90%;height:45px;padding:12px;line-height:1.5em;font-size:14px;}
.btn-teaser-full{width:100%}
.btn-teaser.sport_header{text-align: left;}
.btn-teaser.sport_header i{margin-left:15px;}
.btn-float{position: fixed;cursor: pointer;z-index: 1000}
.btn-continue{top: 52px;right: 5px;width: 100px;height:30px;border-radius: .2em;-moz-border-radius:.2em;-webkit-border-radius:.2em;padding-top:4px;color:#ddd;font-weight: bold; background: #e50000; }
.btn-refresh{bottom: 10px;right: 5px;width:50px;height:50px;opacity: 1;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius:50%;
    background: #32383d;
    background: -moz-linear-gradient(top, #444444 0%, #262c31 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#262c31));
    background: -webkit-linear-gradient(top, #444444 0%,#262c31 100%);
    background: -o-linear-gradient(top, #444444 0%,#262c31 100%);
    background: -ms-linear-gradient(top, #444444 0%,#262c31 100%);
    background: linear-gradient(to bottom, #444444 0%,#262c31 100%);
    color:#fff;
  }
.btn-refresh i{padding-top:12px;}
.pitcher{font-size: 0.9em;font-style: oblique;margin-left: 35px;margin-top: -4px;display: block;color:#323232;font-weight: normal;}
.black-tint-3{color:#4c4c4c;}
.participant{font-weight: bold}

.CashierMainMenuItemLink {
  border-radius: 3px;
  background-color: #DA191F;
  color: #fff !important;
  width: 100px;
  height: 42px;
  padding: 10px;
  margin-top: 4px;
  display: inline-block;
}
