html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after, .link-to-sim-big::after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body{
    height:100%;
    width: 100%;
}

body {
	min-width: 1000px;
}

.container:after, .link-to-sim-big::after, .link-to-sim-small::after {
	clear: both;
}

.container{
    width:100%;
    height:100%;
    padding: 0;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    color: #CA7900;
}
.sidebar{
    width:20%;
    height:100%;
    background: #FFB74A;
    float: left;
    position: fixed;
}

.content {
	width: 80%;
	height: 100%;
	float: right;
	position: relative;
}

.page-title {
	padding: 30% 15px 20% 15px;
}

.page-title h1 {
	text-align: center;
	font-size: 130%;
	font-weight: 600;
	margin-bottom: 5px;
	color: black;
}

.page-title h1, h2 {
	font-family: 'Fira Sans Extra Condensed', sans-serif;
}

h2 {
	margin-top: 15px;
	margin-bottom: 15px;
	font-size: 26px;
}

.listOfRaces {
	padding-left: 30px;
	margin-bottom: 30px;
	letter-spacing: 1px;
}

.image-title {
	background-image: url("../img/bbrs_history_logo.png");
	width: 292px;
	height: 358px;
	margin: auto;
	background-size:cover;
}

@media screen and (max-width: 1440px) {

	.image-title {
	width: 183px;
	height: 181px;
	}

}


.menu-section {
	font-family: 'Fira Sans Extra Condensed', sans-serif;
	font-weight: 500;
}

ul.menu li {
	height: 37px;
	vertical-align: middle;
	text-align: right;
	background-repeat: no-repeat;
	background-position: right 7px center;
}

ul.menu li:nth-child(odd) {
	background-color: white;
	background-image: url("../img/arrow-orange.png");
}

ul.menu li:nth-child(even) {
	background-image: url("../img/arrow-white.png");
}

ul.menu li a {
	line-height: 37px;
	margin-right: 30px;
	color: black;
	text-decoration: none;
	display: block;
}

ul.menu li:hover {
	background-image: url("../img/arrow-black.png");
}

.search {
    position:absolute;
    top: 50%;
    left: 50%;
    width: 614px;
    height: 220px;
    margin-top: -110px;
    margin-left: -307px;
}

.quote, .quote h2, .quote h1{
	font-family: 'Crimson Text', serif;
	color: #FE9A03;
	font-size: 24px;
	text-align: center;
}

.quote h2, .quote h1
{
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 15px;
}

.quote-description {
	font-size: 14px;
	text-align: right;
	padding-right: 35px;
	padding-top: 5px;
}

.search-field {
	margin: 16px 0 8px;
	position: : relative;
}

.autocompleter, .search-field input {
	font-family: 'Fira Sans Extra Condensed', sans-serif;
	font-size: 17px;
	box-sizing: border-box;
}

.autocompleter {
	width: 614px;
	position: absolute;
	background: #FFFBF5;
	z-index: 100;
    border: 1px solid #FFB74A;
    padding: 16px 63px 16px 36px;
    line-height: 26px;
}

.autocompleter li {
	color: #D96D00;
}

.autocompleter li a {
	text-decoration: none;
	color: #D96D00;
}

.autocompleter li:hover a {
	cursor: pointer;
	color: #000000;
}

.search-field input {
	width: 100%;
	height: 59px;
	border-color: #FFB74A;
	border-style: solid;
	border-width: 1px;
	border-radius: 8px;
	color: #D96D00;
	padding: 0px 63px 0px 36px;
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-image: url("../img/search-icon.png");
	letter-spacing: 1px;
}

.search-field input:focus{
	outline: none;
}

.radiobuttons {
	display: table;
	width: 500px;
	margin: 0 57px;
	height: 20px;
	font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-weight: 500;
}

.single-option {
	display: table-cell;
	font-size: 12px;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #FE9A03;
    letter-spacing: 1px;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #FE9A03;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #FE9A03;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.races-table-list td {
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	border-color: black;
	vertical-align: middle;
	padding: 5px;
}

.races-table-list a {
	text-decoration: none;
	color: black;
}

.races-table-list tr:hover td.colorer {
	background-image: url("../img/arrow-black.png");
	background-repeat: no-repeat;
	background-position: center;
}

.races-table-list a:hover {
	text-decoration: underline;
}

.races-table-list td.colorer {
	border-width: 1px 1px 1px 1px;
	padding: 5px 10px;
	border-color: #CA7900;
}

td.colorer.season_light_spring {
	background-color: #BFFFCF;
}

td.colorer.season_spring {
	background-color: #00FF40;
}

td.colorer.season_early_summer {
	background-color: #36D900;
}

td.colorer.season_summer {
	background-color: #59B200;
}

td.colorer.season_early_autumn {
	background-color: #FFFF99;
}

td.colorer.season_autumn {
	background-color: #FF8000;
}

td.colorer.season_winter {
	background-color: #BFFFFF;
}


table.theResult {
  border: 1px solid #736655;
  background-color: #FFFFFF;
  text-align: left;
  border-collapse: collapse;
}
table.theResult td, table.theResult th {
  border: 1px solid #AAAAAA;
  padding: 6px 9px;
}
table.theResult tbody td {
  font-size: 12px;
}
table.theResult tr:nth-child(even) {
  background: #F5F1ED;
}
table.theResult thead, .tg-r9bi {
  background: #DFBA77;
  background: -moz-linear-gradient(top, #e7cb99 0%, #e2c184 66%, #DFBA77 100%);
  background: -webkit-linear-gradient(top, #e7cb99 0%, #e2c184 66%, #DFBA77 100%);
  background: linear-gradient(to bottom, #e7cb99 0%, #e2c184 66%, #DFBA77 100%);
  border-bottom: 2px solid #444444;
}
table.theResult thead th {
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  border-left: 2px solid #F5F2E6;
}
table.theResult thead th:first-child {
  border-left: none;
}

table.theResult tfoot td {
  font-size: 13px;
}
table.theResult tfoot .links {
  text-align: right;
}
table.theResult tfoot .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}

table.theResult a {
	color: #000000;
}

table.theResult tr:hover td {
	background: #FFB74A !important;
}

table.theResult tr:hover td.js-selected {
	background: #C7CF83 !important;
}


table.theResult a:hover {
	color: #FFFFFF;
}

table.theResult td.js-selected, table.theResult tr.selected td.js-selected {
	background: #8fd58e;
	color: #FFFFFF;
}

table.theResult td.js-selected a, table.theResult tr.selected td.js-selected a, table.theResult tr.selected td.js-selected a:hover {
	color: #FFFFFF;
}



table.theResult tr.selected td {
	background: #ffeaaf;
}

table.theResult tr.selected td a:hover {
	color: #527755;
}

.content h2 {

}

.race-note {
	margin: 10px 0;
	font-size: 90%;
}

.wins-note {
	margin: 10px 0;
	font-size: 135%;
}

.badge {
	float: left;
	cursor: help;
	padding-left: 4px;
}

.badges {
	margin: 12px 0 18px;
	border: 1px solid #f2e7c9;
	max-width: 93%;
	display: inline-block;
}

.badges.invisible {
	display: none;
}

.badge-image {
	height: 145px;
	background-repeat: no-repeat;
	background-position: center;
	padding-left: 7px;
	padding-right: 7px;
	font-family: 'Crimson Text', serif;
	line-height: 120px;
	text-align: center;
}

.badges::after {
    content: '';
    display: block;
    clear: both;
}

.badge-title {
	text-align: center;
	padding: 0px 4px 4px;
}

.badge-image.bb-winner {
	background-image: url("../img/badges/bb_winner.png");
	width: 78px;
}

.badge-image.bb-winner2 {
	background-image: url("../img/badges/bb_winner2.png");
	width: 90px;
}

.badge-image.bb-winner3 {
	background-image: url("../img/badges/bb_winner3.png");
	width: 101px;
}

.badge-image.derby-winner {
	background-image: url("../img/badges/derby_winner.png");
	width: 106px;
}

.badge-image.oaks-winner {
	background-image: url("../img/badges/oaks_winner.png");
	width: 106px;
}

.badge-image.double-in-one {
	background-image: url("../img/badges/double_in_one.png");
}

.badge-image.triple-in-one {
	background-image: url("../img/badges/triple_in_one.png");
}

.badge-image.four-in-one {
	background-image: url("../img/badges/four_in_one.png");
}

.badge-image.longetivity {
	background-image: url("../img/badges/longetivity_hero.png");
	width: 120px;
}

.badge-image.specialist {
	background-image: url("../img/badges/specialist.png");

}

.badge-image.sympathy {
	background-image: url("../img/badges/sympathy.png");
	width: 84px;
	position: relative;
	color: #FFFFFF;
}

.badge-image.wins3 {
	background-image: url("../img/badges/wins_3plus.png");
	width: 85px;
	color: #8A5300;
	font-size: 35px;
	line-height: 130px;
}

.badge-image.wins4 {
	background-image: url("../img/badges/wins_4plus.png");
	width: 97px;
	color: #8A5300;
	font-size: 40px;
}

.badge-image.wins6 {
	background-image: url("../img/badges/wins_6plus.png");
	width: 118px;
	color: #8A5300;
	font-size: 50px;
}

.badge-image.wins8 {
	background-image: url("../img/badges/wins_8plus.png");
	width: 133px;
	font-size: 60px;
	color: #8A5300;
}

h3 {
	font-size: 120%;
	margin-top: 30px;
}

.sympathy span {
	display: block;
	position: absolute;
	right: 14px;
    top: -17px;
    font-weight: bold;
}


.tg  {border-collapse:collapse;border-spacing:0;}
.tg td{font-family: 'Fira Sans Extra Condensed', sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg th{font-family: 'Fira Sans Extra Condensed', sans-serif;font-size:15px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg .tg-r9bi{text-align:left;vertical-align:top; color: #FFFFFF; font-weight: bold;}
.tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top}

.tg strong {
	font-weight: bold;
}

tr.highlighted td {
	background: #ffeaaf;
}

.tg a {
	color: #000000;
	text-decoration: none;
}

.tg a:hover {
	text-decoration: underline;
}

.owner-name {
	padding: 13px 0 12px;
}

.badges-row {
	height: 22px;
	background: #f2e7c9;
	line-height: 22px;
	padding-left: 4px;
}

.link-to-sim-big {
  background-image: url("../img/open_sim_big.png");
  width: 28px; height: 28px;
  float: left;
}

.link-to-sim-small {
  background-image: url("../img/open_sim_small.png");
  width: 40px; height: 55px;
  float: left;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.link-to-sim-smallest {
  background-image: url("../img/open_sim_smallest.png");
  width: 14px; height: 14px;
  float: left;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  margin-left: 8px;
}
.cleaner {
	clear: both;
}

.fl {
	float: left;
}

.wait {
	position: fixed;
    height: 100%;
    width: 100%;
    background: #d7d7d7;
    opacity: 0.6;
    display: none;
}

.saving_info {
    display: table-cell;
    vertical-align: middle;
    text-align:center;
    font-size: 35px;
    color: gray;
}

.sirelink {
	text-decoration: none;
	color: #CA7900;
}

.ownerlink {
	color: #CA7900;
}

.sirelink:hover {
	text-decoration: underline;
}

.search.intro {
	width: 840px;
	margin-left: -420px;
	margin-top: -176px;
}

p.mb {
	margin-bottom: 20px;
}

.bullet-list {
	list-style-type: square;
	margin: 20px 0 30px 45px;
}

.bullet-list li {
	text-align: left;
}

.aleft {
	text-align: left
}

.underline {
	text-decoration: underline;
}
