.clearfix:after {
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}
* html .clearfix {
	height:1%;
}
html, body 
{
    height: 100%;
}
body 
{
    background:#FFF;
}
#page
{
    margin:0 auto;
    min-height: 100%;
    min-height: -moz-calc(100% - 110px);
    min-height: -webkit-calc(100% - 110px);
    min-height: calc(100% - 110px);
    height: auto !important;
    height:100%;
}
div#banner
{
    text-align: center;
    padding: 10px;
}
div#menu 
{
    padding:0;
    text-transform:uppercase;
    background: #4269e2;
    width: 100%;
    text-align: center;
}
ul#nav
{
    margin: 0 auto;
    padding: 12px;
}
ul#nav li 
{
    list-style:none outside none;
    display:inline-block;
    padding-left:10px;
}
ul#nav a 
{
    text-decoration:none;
    color:#fff;
    font-family: 'Roboto', Verdana, Tahoma, Geneva, sans-serif;
    font-size:16px;
    padding-right:10px;
    font-weight: 300;
}
ul#nav a:hover
{
    color: #87ceea;
}
.mobilenav
{
  display: none;
}
.mobilemenubutton
{
  text-align: center;
  padding-bottom: 10px;
  display: none;
}
#btnMobileMenu
{
  padding: 9px 10px;
  background-color: transparent;
  background-image: none;
  border: 1px solid #4269e2;
  box-sizing: border-box;
  border-radius: 4px;
}
#btnMobileMenu:hover
{
  cursor: pointer;
  background-color: #4269e2;
}
#btnMobileMenu:focus
{
  outline: 0;
}
.icon-bar {
  background-color: #87ceea;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}
.icon-bar + .icon-bar {
  margin-top: 4px;
}
div#content
{
    margin:0 auto;
    padding:10px;
    overflow:hidden;
    max-width: 960px;
}
#footer
{
    width: 100%;
    background-color: Gray;
    text-align: center;
    height: 110px;
    position: relative;
}
#footermenu
{
    color:#ffffff;
    padding:16px 0;
    font-size:0.9em;
    margin: 0 auto;
    text-align: center;
    background-color:#333;
}
#footermenu a
{
    color:#ffffff;
    text-decoration:none;
}
#footermenu a:hover
{
    color:#ffffff;
    text-decoration:underline;
}
#copyright
{
    color:#ffffff;
    padding:6px 0;
    font-size:0.9em;
}
#siteby
{
    text-align:center;
    color: #FFF;
    font-size:0.9em;
    padding-bottom: 10px;
}
#siteby a
{
    color: #FFF;
    text-decoration:none;
}
#siteby a:hover
{
    color: #FFF;
    text-decoration:underline;
}
.imagefloatleft
{
	float:left;
	margin-left: 0px;
	margin-right: 20px;
}
.imagefloatright
{
	float:right;
	margin-left: 20px;
	margin-right: 0px;
}
.imagenofloat
{
	margin-left: 0px;
	margin-right: 0px;
}
div.imgcaption 
{
    font-size:0.8em;
	text-align:center;
	margin-bottom:10px;
}
div.gallery
{
    text-align:center;
}
div.galleryimage
{
    float:left;
    width:200px;
    height:180px;
    margin:14px;
}
div.galleryimage div.imgcaption
{
    text-align:center;
    background-color:#242424;
}
.col1
{
    display: inline-block;
    max-width: 610px;
    padding-right: 10px;
}
.col2
{
    display: inline-block;
    max-width: 280px;
    padding: 0 10px;   
    vertical-align: top;
}
.newscontents
{
    padding: 0 10px;
    background-color: #FFF;
}

ul.newscontents
{
    list-style:none;
	list-style-image:none;
    margin:0;
	padding:0;
}

a.button
{
    background-color: white;
	border: 1px solid #4269e2;
	border-radius: 7px;
	color: #4269e2;
	padding: 15px 30px;
	text-decoration: none;
	-webkit-appearance: none;
	display: inline-block;
	margin: 20px 0;
}
.boxcontainer {
    text-align:center;
    max-width:960px;
}
.box {
    display:inline-block;
    box-sizing: border-box;
    vertical-align:middle;
    position: relative;
    width:250px;
    margin:5px;
}
.box h1
{
  font-size: 1.15em;  
}
#clientMenu
{
  background-color: #FFF;
  padding: 4px 0;
  max-width: 920px;
  margin: 0 auto;
  text-align: right;
}
#clientMenu a {
  text-decoration: none;
  text-transform: uppercase;
  color: #4269e2;
  font-size: 0.8em;
  margin-left: 20px;
}

@media only screen and (max-width: 768px)
{
    div #menu
    {
        display: none;
    }
    div #clientMenu
    {
        display: none;
    }
    .mobilemenubutton
    {
        display: block;
    }
    ul.mobilemenu
    {
        text-align: center;
        width: 100%;
        background: #4269e2;
        color: #FFF;
    }
    ul.mobilemenu li {
      padding: 6px;
      border-bottom: 1px solid #87ceea;
      text-transform: uppercase;
      font-family: 'Roboto', Verdana, Tahoma, Geneva, sans-serif;
      font-weight: 300;
      font-size: 12px;
    }
    ul.mobilemenu a {
      text-decoration: none;
      color: inherit;
    }
    .col1
    {
        max-width: 100%;
    }
    .col2
    {
        max-width: 100%;
    }
    #footer
    {
        height: 135px;
    }
    .imagefloatleft
    {
        float:none;
    }
}
@media only screen and (max-width: 650px) 
{
  table.responsivetable, table.responsivetable thead, table.responsivetable tbody, table.responsivetable th, table.responsivetable td, table.responsivetable tr {
    display: block;
    border: none;
  }
  table.responsivetable thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  table.responsivetable tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }
  table.responsivetable tr:last-child td {
    padding-bottom: 6px;
  }
  table.responsivetable td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #dbdad8;
    position: relative;
    padding-left: 70px;
    text-transform: none;
    padding-bottom: 6px;
    padding-top: 6px;
  }
  table#jockeytable.responsivetable td 
  {
      padding-left: 115px;
  }
  table#distancetable.responsivetable td 
  {
      padding-left: 115px;
  }
  table#horsetable.responsivetable td 
  {
      padding-left: 120px;
  }
  table#statssummarytable.responsivetable td 
  {
      padding-left: 115px;
  }
  table.responsivetable td:first-child {
    background-color: #1d5ead;
    color: White;
    border: 1px solid #1d5ead;
  }
  table.responsivetable td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    left: 6px;
    width: 60px;
    padding-right: 10px;
    white-space: nowrap;
  }
}
@media only screen and (max-width: 330px)
{
    #banner img
    {
        width: 95%;
        width: -moz-calc(100% - 20px);
        width: -webkit-calc(100% - 20px);
        width: calc(100% - 20px);
    }
}