/* new stats 2022 */
table.none-border-table td {
  padding: 0 15px 5px 0;
}
.slg-title-two {
  background: #fffd54 !important;
  color: #ea3223;
}
.ip-title-st {
  background: #5bbb46 !important;
  color: #000;
}
.nolinking a {
  font-weight: 400 !important;
  pointer-events: none !important;
}
.nolinking a:hover {
}
.menu-item hr {
  border-color: black;
}
body .breadcrumbs {
  padding-left: 15px;
  padding-right: 15px;
}
body #fancybox-wrap {
  z-index: 999999;
}
.stat-select {
  display: flex;
  padding: 6px;
  margin-bottom: 26px;
  background: #cccccc;
  border-radius: 3px;
}
.stat-select li {
  list-style: none;
}
.stat-select li a {
  margin-right: 6px;
  border-radius: 3px;
  padding: 7px 10px;
  display: inline-block;
}
.stat-select li a:hover {
  background: #fff;
  color: #464646;
}
.stat-select li.current_page_item a {
  background: #fff;
  color: #464646;
}
.trainer-entry .sticky-table table td.sticky-cell {
  outline: #ddd solid 1px;
}
body #content .bleed-col {
  padding-left: 2px !important;
  padding-right: 2px !important;
}
.bleed-col img {
  display: inline-block;
}
td.bleed-col img {
  width: 13px !important;
}
.trainer-new-icon a {
  text-transform: none;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
}
td.v-align-mid {
  vertical-align: middle !important;
  text-align: center;
}
.trainer-entry td {
  vertical-align: middle !important;
  text-align: center;
  padding: 7px 7px !important;
}
.trainer-entry table tr > td:first-child {
  text-align: left !important;
}
.trainer-entry table tr > td:first-child a {
  line-height: 1;
  display: block;
}
.trainer-entry thead td {
  font-weight: bold;
}
.trainer_mid td {
  font-weight: bold;
  background: #ffde00 !important;
  line-height: 1.2;
}
.trainer-entry tr:nth-child(even) {
  background: #f5f5f5 !important;
}
.trainer-entry tr:nth-child(even):hover {
  background: #f5f5f5 !important;
}
.trainer-entry tr:nth-child(odd):hover {
  background: #ffffff !important;
}
td.entry-horsename > a:last-child {
  margin-bottom: 0;
}
.trainer_mid td {
  pointer-events: none !important;
}

td.entry-horsename a {
  /* display: block; */
  line-height: 1;
  /* margin-bottom: 8px; */
  font-weight: 400 !important;
}
td.entry-horsename span {
  display: block;
  margin-bottom: 6px;
  color: #888;
  line-height: 1.2;
  white-space: pre;
}
span.jck-weight a {
  display: inline-block !important;
}
table.dataTable.table-trainer1 thead th,
table.dataTable.table-trainer1 thead td,
table.dataTable.table-jockey1 thead th,
table.dataTable.table-jockey1 thead td {
  border-bottom: 1px solid #f1f1f1;
}
td.horse-fixed a {
  white-space: nowrap;
}
td.horse-fixed-td {
  white-space: nowrap;
}
.second-datatable tbody td,
.second-datatable thead td {
  white-space: nowrap;
}
tr.bold-thead td {
  font-weight: bold;
}
.entry-horsename i {
  color: #ff0000;
  font-style: normal;
}
h3.pur-color {
  color: #3d0064;
  font-weight: bold;
}
table#tt-tble.trainer-all thead tr th {
  font-size: 16px;
  font-weight: 400;
}
.none-inter {
  pointer-events: none;
}
.horse_detail table.horse_tb tbody tr:hover {
  background: #fff !important;
}
#main .datatable-tb2 .dataTables_paginate {
  float: none;
  text-align: center;
  padding-bottom: 15px;
}
#main table.dataTable thead > tr > td {
  vertical-align: middle;
}
#main table.dataTable thead > tr > td.sorting:before,
#main table.dataTable thead > tr > td.sorting:after {
  font-size: 8px !important;
  /* width: 7px !important; */
  line-height: 9px;
}
#main table.dataTable thead > tr > td.sorting:before {
  content: "\25b2" !important;
}
#main table.dataTable thead > tr > td.sorting:after {
  content: "\25bc" !important;
}
#main
  .datatable-tb2
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current,
#main
  .datatable-tb2
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover {
  background: #56236d;
  color: #fff !important;
}
#main
  .datatable-tb2
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button:hover {
  background: #56236d;
  color: #fff !important;
}
td.tooltips_stc {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 30px;
  text-align: center;
}
td.new-winning-col {
  width: 120px !important;
}
.trial_wrap {
  padding-bottom: 15px;
}
.trial_wrap .trial_suite {
  display: inline-block;
  text-align: center;
  padding-right: 15px;
  width: 100px;
  line-height: 1;
  vertical-align: top;
}
.trial_suite2 {
  display: inline-block;
  margin-right: 5px;
}
.trial_wrap .trial_suite a {
  text-decoration: none;
  margin-top: 4px;
  display: block;
  min-height: 30px;
}
.embed-container_desc * {
  text-align: left !important;
}
.scrollup {
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  text-align: center;
  padding: 5px 0 0 0;
  z-index: 100;
  display: none;
  border-radius: 50%;
  background: #fff;
}
.scrollup:hover {
  background: #56236d;
  color: #fff;
}

/* tooltips */
/* Tooltip container */
.tooltiped {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip text */
.tooltiped .tooltiptext {
  visibility: hidden;
  width: auto;
  max-width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 115%;
  white-space: pre-wrap;
}
.ent-events-pg {
  padding-top: 40px;
}
.st-total {
  display: none !important;
}
.embed-container_desc p {
  text-align: center !important;
  margin-bottom: 0 !important;
}
.embed-container_desc img {
  float: none !important;
  margin-right: 10px !important;
}
.fbshare.new-fb .fb-link {
  background-color: #4267b2 !important;
}
.fbshare.new-fb .twitter-link {
  background-color: #000 !important;
}
.fbshare.new-fb .whatsapp-link {
  background-color: #25d366 !important;
}
.header-share {
  margin-bottom: 6px;
}
.header-share .fbshare {
  position: relative;
  top: auto;
  right: auto;
}
.header-share .share-span {
  display: none;
}
.share-span {
  font-size: 13px !important;
  font-weight: 400 !important;
  font-family: "Roboto", sans-serif !important;
}
.fbshare.new-fb a {
  background: none !important;
  width: 20px !important;
  text-indent: 0 !important;
  display: inline-block !important;
  margin-left: 6px;
  text-align: center;
  padding: 1px 3px;
}
.fbshare.new-fb {
  color: #56236d;
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  right: 0;
}
.hometitle22 .fbshare {
  top: 10px;
}
.hometitle22 {
  margin-bottom: 5px !important;
}
.sharethis-inline-share-buttons {
  display: inline-block !important;
}
.sharethis-inline-share-buttons .st-btn {
  display: inline-block !important;
}
.stc-bread {
  padding-bottom: 4px;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltiped:hover .tooltiptext {
  visibility: visible;
}
/* end tooltips */

.performance-club {
  width: 95px;
}
.performance-track {
  width: 90px;
}
.performance-entry thead td {
  font-weight: bold;
}
.performance-entry td {
  text-align: center;
}
.performance-entry .trainer_mid td {
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 15px;
}
.sc-total td {
  font-weight: bold;
}
td.perf-1 {
  width: 80px;
}
.trainer_mid td.perf-1 {
  font-size: 13px;
  text-align: center;
}
.alsinglehortd .button {
  padding: 7px 20px;
}

.slg-title-sc {
  background: #fffd54 !important;
  color: #000;
}
.slg-title-lc {
  background: #ea3223 !important;
  color: #fffd54;
}
.ip-title-sc {
  background: #4eac5b !important;
  color: #fff;
}
.ip-title-lc {
  background: #fff !important;
  color: #4eac5b;
}
.png-title-sc {
  background: #4dafea !important;
  color: #fff;
}
.sg-title-sc {
  background: rgba(246, 193, 66) !important;
  color: #000;
}
.sg2-title-sc {
  background: #ff7f42 !important;
  color: #000;
}

.performance-entry tr:hover {
  background: #fff !important;
}
.perf-bold {
  font-weight: bold;
}
.sc-total {
  background: #eee !important;
}
.sc-total td {
  background: #eee !important;
  color: #000;
}
.performance-entry tr.sc-total:hover {
  background: #eee !important;
}
.performance-entry .grand-total td {
  background: #ccc !important;
  font-weight: bold;
  color: #000;
}

td.grand-total-td {
  text-align: center !important;
}

.fbsharetop .fb-share-button {
  display: inline-block;
}

@media (max-width: 767px) {
  .bleed-exp {
    width: 20px;
  }
  .stat-select {
    flex-wrap: wrap;
  }
  .stat-select li {
    /* width: 100%; */
  }
  .stat-select li a {
    display: block;
    text-align: center;
    margin: 0;
  }
  .stat-select li:last-child a {
    margin-bottom: 0;
  }
}

/* end new stats 2022 */

/* #search-filter-form-678 .sf-field-taxonomy-club,
#search-filter-form-9723 .sf-field-taxonomy-club
{
	display: none !important;
} */

.horsegallery .owl-nav {
  position: absolute;
  top: 37%;
  width: 100%;
}
.horsegallery .owl-nav > button span {
  margin: 0 !important;
}
.horsegallery .owl-nav > button {
  font-size: 40px !important;
}
.horsegallery .owl-nav > button.owl-prev {
  position: absolute;
  left: -20px;
}
.horsegallery .owl-nav > button.owl-next {
  position: absolute;
  right: -20px;
}
/*
body {
	font-weight: 400;
}*/

.alstrike,
a.alstrike,
.alstrike a {
  text-decoration-line: line-through !important;
  -webkit-text-decoration-line: line-through !important;
  text-decoration-color: red !important;
  -webkit-text-decoration-color: red !important;
}
i.mday {
  display: none !important;
}
.autocomplete-suggestions {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #999;
  background: #fff;
  cursor: default;
  overflow: auto;
  -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
  -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
  box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}
.autocomplete-suggestion {
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
}
.autocomplete-no-suggestion {
  padding: 2px 5px;
}
.autocomplete-selected {
  background: #f0f0f0;
}
.autocomplete-suggestions strong {
  font-weight: bold;
  color: #000;
}
.autocomplete-group {
  padding: 2px 5px;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  display: block;
  border-bottom: 1px solid #000;
}

#search-filter-form-678.searchandfilter
  li.sf-field-post-meta-filter_racemeeting {
  display: none !important;
}
select.sf-input-select > option[value="1970"] {
  display: none !important;
}

.mega-menu-wrap .mega-wpml-ls-current-language,
.shiftnav-nav .wpml-ls-current-language {
  display: none !important;
  visibility: hidden !important;
}
.page-template-page-veterinary .blockbot-div .blockbot-top span {
  visibility: hidden !important;
}
.mega-menu-wrap .mega-wpml-ls-item {
  float: right !important;
}
li.alfirstmenu {
  display: none !important;
}

.shiftnav-nav li.alfirstmenu {
  display: block !important;
}
.shiftnav-nav li.alfirstmenu a {
  text-align: right;
}

.shiftnav-nav .wpml-ls-item {
  display: none;
}
.page-template-page-equestrian .fbsharetop {
}
table.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

:focus {
  outline: none !important;
}

a,
input {
  transition: all 0.15s ease-in-out;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
}

a.noclickable {
  pointer-events: none !important;
}
.alnoresult {
  display: none;
}
.alnoresult.shownoresult {
  display: block !important;
}
.searchandfilter ul {
  padding-left: 0;
}
.searchandfilter ul > li:first-child {
  padding-left: 24px;
  background: url(../img/date_filter.png) no-repeat left center;
}

.searchandfilter ul > li {
  padding-bottom: 0;
  padding-top: 0;
  display: inline-block;
  padding-right: 15px;
  margin-bottom: 7px;
}
.searchandfilter ul > li select {
  height: 31px;
  background: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 0;
}

select.customdrop {
  height: 31px;
  background: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 0;
  min-width: 170px;
}

.searchandfilter {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

html body .entry-title {
  margin-bottom: 20px !important;
}
.searchandfilter .sf-field-submit input {
  color: #fff;
  background-color: #56236d;
  border: none;
  line-height: 23px;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid #56236d;
}

.page-template-horseinfo-performance .sf-field-post-meta-horse_firstletter {
  display: none !important;
}
li.sf-field-post-meta-horse_firstletter_ch {
  display: none !important;
}
ul.horse_en_first {
  padding-left: 24px !important;
}
ul.horse_en_first li {
  display: inline-block;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin-bottom: 5px;
}

ul.horse_en_first li a {
  display: block;
  padding: 4px 9px;
}
ul.horse_en_first li:first-child {
  border: none !important;
  margin-right: 20px;
}
ul.horse_en_first li.horsefirst-active a {
  background: #56236d;
  color: #fff;
}
ul.horse_en_first li.horsefirst-active {
  border: 1px solid #56236d;
}
ul.horse_en_first li a:hover {
  background: #56236d;
  color: #fff;
}
ul.horse_en_first li:hover {
  border: 1px solid #56236d;
}
.rslides-icon a {
  width: 48%;
  float: left;
}
.rslides-icon a:nth-child(odd) {
  margin-right: 4%;
}

/** start tab nav**/

.altabnav .eventlist .nav-tabs {
  list-style: none;
}
.altabnav .eventlist .nav-tabs li:before {
  content: "";
}
.altabnav .datefilter {
  background: #cccccc;
  padding: 4px 10px;
  border-radius: 3px;
}
.altabnav .eventlist .nav-tabs li a {
  padding: 7px 10px;
  line-height: 1;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  color: #464646;
}
.altabnav .eventlist .nav-tabs li {
  padding-bottom: 0;
  padding-right: 2px;
  padding-left: 2px;
}
.altabnav .eventlist .nav-tabs li.active a,
.altabnav .eventlist .nav-tabs li:hover a {
  background: #fff;
  color: #464646;
}
.altabnav .datefilter span.filtertext {
  display: inline-block;
  float: left;
  font-size: 16px;
  margin-top: 5px;
  margin-right: 20px;
}

/** end tab nav**/

table.stc-table thead tr {
  background: #cccccc;
}
table.stc-table thead tr th {
  border-bottom: none;
}
table.stc-table {
  border-bottom: none !important;
}

table.stc-table.dataTable tbody th,
table.stc-table.dataTable tbody td/*,
table.stdtb td,
table.stdtb th */ {
  padding: 8px 6px;
  text-align: left;
  font-size: 12px;
  vertical-align: top;
}
#myTableperformance.stc-table td,
#myTableperformance.stc-table th {
  font-size: 12px;
}
table.minitb th,
table.minitb td {
  font-size: 12px;
}
table.stc-table.dataTable thead th {
  font-size: 12px;
  padding: 8px 6px;
  line-height: 1.2;
  vertical-align: top;
}
table.stc-table.dataTable thead th {
  vertical-align: top;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border-bottom: 1px solid #ddd !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}
.breadcrumbs {
  padding-top: 3px !important;
}

.page-header-top-center p {
  margin-bottom: 0 !important;
}
.page-header-top-center {
  margin-bottom: 0;
  margin-top: 10px;
}

.racedate {
  padding: 20px 0 27px 0;
}
.racedate h2 {
  font-size: 24px;
  display: inline-block;
  padding-left: 24px;
  line-height: 24px;
  vertical-align: middle;
  margin-top: 10px;
}
.racedate span:not([style]) {
  display: inline-block;
  background: url(../img/datebg.png) no-repeat;
  width: 68px;
  height: 99px;
  vertical-align: middle;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  padding-top: 15px;
  line-height: 1.2;
}
.racedate span.going {
  background: #1ca108;
  width: auto;
  height: auto;
  color: #fff;
  font-size: 12px;
  display: block;
  border-radius: 10px;
  padding: 3px;
  margin-top: 10px;
}
.racedate span.going.S {
  background: #0e56ee;
}
.racedate span.going.Y {
  background: #15bef2;
}
.racedate span.going.H {
  background: #6e320d;
}
.racedate strong {
  font-size: 24px;
}

.ste_left {
  float: left;
}
a.stdbtn {
  color: #fff;
  background-color: #56236d;
  border: 1px solid #56236d !important;
  border: none;
  line-height: 23px;
  padding-left: 15px;
  padding-right: 15px;
  display: inline-block;
  padding-top: 2px;
  padding-bottom: 3px;
  text-decoration: none;
}
a.stdbtn:hover,
.searchandfilter .sf-field-submit input:hover {
  color: #56236d;
  background: #fff;
}
body .fullCalendar table td {
  background: #fff;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
}
.fc-header-left .fc-button-rhc_search {
  display: none !important;
}
.fc-border-separate tr.fc-last th {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
  text-align: left;
}
.fc-widget-header {
  border: none !important;
}
.fullCalendar table tr:hover td {
  background: #fff;
}
.fullCalendar table tr td:hover {
  background: #eee;
  color: #000;
}
body .fc-button.fc-state-default {
  background: #56236d;
}
body .fc-button.fc-state-default:hover {
  background: #000;
}
.fc-footer {
  display: none !important;
}
img {
  max-width: 100%;
  height: auto;
}
table.stdtb td {
  padding: 8px 4px;
  font-size: 12px;
}
table.stdtb.stdtb-wd td {
  padding: 5px 8px;
}
table.stdtb thead td {
  background: #cccccc;
  border: 1px solid #f1f1f1;
}
table.stdtb tbody tr:nth-child(even) {
  background: #fff;
}
body .table > tbody > tr > td,
body .table > tbody > tr > th,
body .table > tfoot > tr > td,
body .table > tfoot > tr > th,
body .table > thead > tr > td,
body .table > thead > tr > th {
  padding: 5px 8px;
}

.ts-date {
  line-height: 90px;
}
.ts-date:before {
  content: "";
  height: 30px;
  left: -3%;
  width: 1px;
  background: #464646;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}
.tsttb {
  border: 1px solid #ccc;
  width: 100%;
}
.tsttb td {
  line-height: 90px;
  padding-left: 15px;
  padding-right: 15px;
}

.tsrow {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 15px;
}

.page-template-racingpage-trial-sheet .racedate {
  border-top: 1px dashed #ccc;
  padding-top: 20px;
}
.page-template-racing-oversea-racecard .racedate {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 15px;
}
.page-template-racingpage-trial-sheet .searchandfilter {
  border-bottom: none;
}
.page-template-racingpage-trial-sheet .searchandfilter {
  margin-bottom: 0;
}
.page-template-racingpage-trial-sheet .eventlist {
  margin-bottom: 50px;
}

h1.traniner-head {
  margin-top: 0;
  background: #ffde00;
  font-size: 24px;
  color: #000;
  font-weight: 300;
  padding: 6px 10px;
  margin-bottom: 25px;
}
h1.traniner-head span {
  font-size: 14px;
  float: right;
  padding-right: 15px;
  line-height: 32px;
}
table.trainer-all td,
table.trainer-all th {
  text-align: center;
}
table.trainer-all thead tr {
  background: none !important;
  border: none !important;
}
table.trainer-all thead tr th {
  border: none !important;
  font-size: 22px;
  font-weight: 300;
  color: #000;
  padding-top: 20px;
  padding-bottom: 20px;
}
table.trainer-all {
  border: none !important;
}
table.trainer-all tbody tr td {
  border: none !important;
}

table.trainer-all thead tr th.alperce,
table.trainer-all tbody tr td.alperce {
  background: #d8d8d8;
  /*color: #fff;*/
}
table.trainer-all thead tr th.alperce2,
table.trainer-all tbody tr td.alperce2 {
  background: #d8d8d8;
}
.alleft {
  text-align: left !important;
}
.trainername {
  font-size: 16px;
}
a.trainerlink {
  text-decoration: none;
  color: #000;
}
body .altopborder {
  border-top: 1px dashed #ccc;
  padding-top: 20px !important;
}
.trainerdetail span {
  margin-right: 30px;
}
.t1 {
  background: #cccccc;
  padding: 3px 8px;
  border-radius: 3px;
}
table.trainer-win {
  margin-top: 20px;
  border: 1px solid #ccc;
}
table.trainer-win thead td {
  background: #56236d;
  color: #fff;
}
table.trainer-win td {
  padding: 3px 10px;
  border: none;
}
a.appeal {
  color: #fff !important;
  padding: 3px 8px;
  border-radius: 5px;
  text-align: center;
  background: #56236d;
  text-decoration: none;
  pointer-events: none;
}
p.blue {
  background: #0072bc;
  color: #fff;
  padding: 3px 15px;
  border-radius: 4px;
}
p.red {
  background: #db0012;
  color: #fff;
  padding: 3px 15px;
  border-radius: 4px;
}
p.purple {
  background: #56236d;
  color: #fff;
  padding: 3px 15px;
  border-radius: 4px;
}

.wpb_wrapper hr {
  border-top: 1px dashed #ccc;
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
}
.wpb_wrapper td {
  padding: 5px 2px;
}

.entry-content h3 {
  font-family: "Open Sans", sans-serif;
  color: #000000;
  font-size: 24px;
  margin-top: 3px;
  margin-bottom: 15px;
}
.entry-content h4 {
  font-family: "Open Sans", sans-serif;
  color: #000000;
  font-size: 18px;
  margin-top: 3px;
  margin-bottom: 15px;
}

/*.embed-container {
		position: relative;
		padding-bottom: 56.25%;
		height: 0;
		overflow: hidden;
		max-width: 100%;
		height: auto;
	}

	.embed-container iframe,
	.embed-container object,
	.embed-container embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}*/

.embed-container {
  height: 0;
  margin-bottom: 18px;
  overflow: hidden;
  padding-bottom: 56.25%; /* 16/9 ratio */
  padding-top: 30px; /* IE6 workaround*/
  position: relative;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  height: 100% !important;
  left: 0;
  position: absolute;
  top: 0;
  width: 100% !important;
}

.comme {
  margin-bottom: 30px;
}
.entry-content ol li {
  list-style: decimal;
  padding-left: 0;
}
.entry-content ol {
  padding-left: 20px;
  margin-bottom: 17px;
}
.fullwidth .wpb_wrapper.vc_figure,
.fullwidth .wpb_wrapper.vc_figure img {
  width: 100%;
  height: auto;
}
.fullwidth .wpb_wrapper.vc_figure .vc_single_image-wrapper {
  display: block;
}
body hr {
  border: 0;
  border-top: 1px solid #ccc;
}
.nomargin p {
  margin: 0 !important;
}
.stdtb td a,
.dataTables_wrapper td a,
.stc-table td a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}
.stdtb td a:hover,
.dataTables_wrapper td a:hover,
.stc-table td a:hover {
  color: #f8006c;
}
.alcenter {
  text-align: center;
}
.alleft {
  text-align: left !important;
}
.alright {
  text-align: right !important;
}
.wpb_wrapper a {
  color: #000;
}
body .vc_separator.vc_sep_color_grey .vc_sep_line {
  border-color: #ccc;
}
#content ol ul li:before {
  display: none;
}
#content ol ul li {
  list-style-type: disc;
}
#content ol ul {
  padding-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
input.sf-input-text,
input.sf-input-text:focus {
  height: 31px;
  background: #fff;
  border: 1px solid #b7b7b7 !important;
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 8px;
  font-weight: normal;
}
.page-template-horseinfo-performance #main > form:first-child {
  border-bottom: 0;
}

/** id based style**/
.page-template-horseinfo-performance
  #main
  form#search-filter-form-1232
  > ul
  > li {
  background: none !important;
}
.page-template-horseinfo-performance
  #main
  form#search-filter-form-1232
  > ul
  > li:first-child {
  /*padding-left: 24px !important;
	padding-right: 0 !important;*/
}
.page-template-horseinfo-performance
  #main
  form#search-filter-form-1232
  ul.chosen-results
  li,
.page-template-horseinfo-performance
  #main
  form#search-filter-form-1228
  ul.chosen-results
  li,
.page-template-horseinfo-horse
  #main
  form#search-filter-form-1167
  ul.chosen-results
  li,
#main form#search-filter-form-1181 ul.chosen-results li,
#main form#search-filter-form-1183 ul.chosen-results li {
  background: none !important;
  padding-left: 10px !important;
  color: #000 !important;
  font-weight: normal !important;
}
.page-template-horseinfo-performance
  #main
  form#search-filter-form-1232
  ul.chosen-results
  li:hover,
.page-template-horseinfo-performance
  #main
  form#search-filter-form-1228
  ul.chosen-results
  li:hover,
.page-template-horseinfo-horse
  #main
  form#search-filter-form-1167
  ul.chosen-results
  li:hover,
#main form#search-filter-form-1181 ul.chosen-results li:hover,
#main form#search-filter-form-1183 ul.chosen-results li:hover {
  background: #56236d !important;
  color: #fff !important;
}

.chosen-container-single .chosen-search input[type="text"] {
  border: 1px solid #b7b7b7 !important;
}

/** end id based**/

.searchandfilter select.sf-input-select {
  font-weight: normal;
}

.page-template-horseinfo-performance
  .searchandfilter
  li
  .chosen-container
  a.chosen-single,
.page-template-horseinfo-horse
  .searchandfilter
  li
  .chosen-container
  a.chosen-single,
#main form#search-filter-form-1181 li .chosen-container a.chosen-single,
#main form#search-filter-form-1183 li .chosen-container a.chosen-single {
  font-weight: normal !important;
  height: 31px;
  background: #fff;
  box-shadow: none !important;
}
.page-template-horseinfo-performance
  .searchandfilter
  li
  .chosen-container
  a.chosen-single
  span,
.page-template-horseinfo-horse
  .searchandfilter
  li
  .chosen-container
  a.chosen-single
  span,
#main form#search-filter-form-1181 li .chosen-container a.chosen-single span,
#main form#search-filter-form-1183 li .chosen-container a.chosen-single span {
  height: 30px;
  line-height: 31px;
}

.page-template-horseinfo-performance
  .searchandfilter
  .chosen-container-active.chosen-with-drop
  .chosen-single
  div
  b,
.page-template-horseinfo-horse
  .searchandfilter
  .chosen-container-active.chosen-with-drop
  .chosen-single
  div
  b,
#main
  form#search-filter-form-1181
  li
  .chosen-container-active.chosen-with-drop
  .chosen-single
  div
  b,
#main
  form#search-filter-form-1183
  li
  .chosen-container-active.chosen-with-drop
  .chosen-single
  div
  b {
  background-position: -18px 6px;
}

.chosen-container-single .chosen-single div b {
  background-position: 0 6px;
}
table.stc-table.dataTable.stctb-wide tbody th,
table.stc-table.dataTable.stctb-wide tbody td {
  padding-left: 12px;
  padding-right: 12px;
}

table.stc-table.dataTable tfoot {
  display: table-header-group;
}
.dataTables_wrapper .dataTables_length {
  display: none;
}
p#table-filter {
  padding-left: 24px;
  background: url(../img/date_filter.png) no-repeat left center;
  float: right;
  margin-bottom: 12px;
}
p#table-filter select {
  height: 31px;
  background: #fff;
  border: 1px solid #b7b7b7 !important;
  border-radius: 0;
}
.float-left {
  /*float: left;
	position: relative;
	margin-bottom: -40px;*/
}
.dataTables_paginate {
  padding-top: 20px !important;
}

.searchandfilter .sf-field-submit input[disabled] {
  background-color: #ccc;
  border: 1px solid #ccc;
}

.horse_detail {
  background: #fff;
  padding: 20px 15px;
  border: 1px solid #ccc;
}
a.linkable {
  font-weight: bold;
  color: #000;
}
a.linkable:hover {
  color: #f8006c;
}
.horse_tb td {
  padding: 7px 4px;
}
.horse_detail_price {
  padding: 15% 5px 15% 18%;
  border-left: 1px solid #ccc;
}

.horse_detail_t2 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.horse_detail_t2 table {
  border: 1px solid #ccc;
  border-radius: 4px;
}
.horse_detail_t2 table.stdtb.stdtb-wd td {
  padding-top: 4px;
  padding-bottom: 4px;
}
.horse_detail_t2 table.stdtb.stdtb-wd thead td {
  color: #fff;
  font-weight: bold;
  background: #959595;
}
.wpb_text_column table.stdtb tr:nth-child(even) td {
  background: #fff;
}
.wpb_text_column table.stdtb.albor tr td {
  border: 1px solid #999999;
}
.horse_detail_t3 table.stdtb td {
  font-size: 11px;
  line-height: 1.2;
  vertical-align: top;
  padding-top: 3px;
  padding-bottom: 3px;
}
.horse_detail_t3 {
  border-bottom: 1px dashed #ccc;
  margin-bottom: 20px;
  padding-bottom: 15px;
}
table.legendtable td {
  vertical-align: top;
}
.racecardea {
  border-top: 1px dashed #ccc;
  margin-top: 30px;
  padding-top: 20px;
}
.rard-detail {
  margin-bottom: 0;
  margin-top: 30px;
}
.rard-detail strong {
  font-size: 14px;
}
.detail_horse_list {
  padding-top: 25px;
  margin-top: 35px;
  border-top: 1px dashed #ccc;
}
hr.dashedhr {
  border-top: 1px dashed #ccc;
  border-bottom: 0;
}
.trainerlist .al2 {
  margin-bottom: 36px;
}
.search-filter-scroll-loading {
  width: 30px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.racecardtb tr > td:last-child {
  width: 150px !important;
}
.racemeetingdes td {
  text-align: center;
  width: 33.3%;
  line-height: 2.6;
}

.racemeetingdes {
  border-left: 1px solid #ccc;
  margin-bottom: 0 !important;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}
.resulttb tr th,
.resulttb tr td {
  vertical-align: top !important;
}
/*.dividendtb thead tr td:first-child,
.dividendtb tbody tr td:first-child {
	text-align: center;
}
*/

body table.stc-table.dividendtb tbody tr td {
  border-right: 1px solid #ddd !important;
}

body .table-striped > tbody > tr:nth-of-type(odd) {
  background: #fff;
}
.entry-content hr {
  border-top: 1px dashed #ccc;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}
.media-overview h3 {
  color: #fff;
  font-weight: 300;
  font-size: 30px;
  padding-left: 20px;
  margin-top: 0;
}
.media-overview .m1 .mcon {
  background: #db0012;
}
.media-overview .m2 .mcon {
  background: #8dc63f;
}
.media-overview .m3 .mcon {
  background: #448ccb;
}
.media-overview .m4 .mcon {
  background: #f26522;
}
.media-overview .searchandfilter ul li {
  background: url(../img/tgg.png) no-repeat left center;
  padding-right: 0;
  width: 100%;
}
.media-overview .searchandfilter ul li label {
  width: 100%;
  display: block;
}
.media-overview .searchandfilter ul li select {
  width: 100%;
}
.videoli {
  background: #000;
}
.media-overview .mcon {
  padding: 25px 15px 0px 15px;
}
.flex-control-thumbs li {
  padding: 40px 15px 20px 15px;
}
.flex-direction-nav a {
  top: 32% !important;
}
#carousel img {
  cursor: pointer;
}
#carousel .flex-active-slide img {
  opacity: 1;
}

#carousel li img {
  opacity: 0.5;
}
.mcon .searchandfilter {
  border: none !important;
  margin-bottom: 0;
  padding-bottom: 30px;
}
.mcon h3 {
  margin-bottom: 3px !important;
}
.barno {
  width: 4.5%;
}
#main form#search-filter-form-6712 li.sf-field-taxonomy-trial_result_club,
#main form#search-filter-form-6705 li.sf-field-taxonomy-trial_result_club,
#main form#search-filter-form-6708 li.sf-field-taxonomy-trial_result_club,
#main form#search-filter-form-6672 li.sf-field-taxonomy-trial_result_club {
  display: none !important;
  visibility: hidden !important;
}
iframe.homevideo {
  -webkit-border-bottom-right-radius: 13px;
  -webkit-border-bottom-left-radius: 13px;
  -moz-border-radius-bottomright: 13px;
  -moz-border-radius-bottomleft: 13px;
  border-bottom-right-radius: 13px;
  border-bottom-left-radius: 13px;
}

div.dataTables_wrapper,
div.res-tb {
  overflow-x: scroll;
  width: 100%;
}

div.dataTables_wrapper::-webkit-scrollbar,
div.res-tb::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

div.dataTables_wrapper::-webkit-scrollbar-thumb,
div.res-tb::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 1px solid #fff;
  background-color: rgba(0, 0, 0, 0.3);
}
body.page-template-page-home .rn-date {
  width: 64px;
  background: none !important;
  height: auto;
}
body.page-template-page-home .rn-content p.title {
  margin-top: 3px;
}
body.page-template-page-home .row-list {
  padding-bottom: 7px;
  margin-bottom: 6px;
}

body.page-template-page-home .rn-content p.ctn {
  margin-bottom: 6px;
}
.alhomenews a img {
  margin-bottom: 11px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}

.alhomenews a img:hover {
  opacity: 0.8;
}
.page-template-racingpage-trial-results table td,
.page-template-racingpage-trial-results table th {
  white-space: normal;
}
table tbody tr:hover {
  background: #f5f5f5 !important;
}
table tbody tr {
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
}
body .vc_tta.vc_general .vc_tta-panel-body {
  padding: 5% 20px;
}
body
  .vc_tta-color-white.vc_tta-style-flat
  .vc_tta-panel
  .vc_tta-panel-title
  > a {
  color: #464646;
}
.jers {
  visibility: hidden !important;
  height: 1px;
  line-height: 0.1;
  display: inline;
  float: left;
}
.breakmobile {
  display: none;
}
span.horsemoney {
  margin-left: 40px;
  display: inline-block;
  margin-right: 0 !important;
}
span.horsemoney1 {
  display: inline-block;
  margin-right: 0 !important;
}
body table.stc-table.dividendtb tr td,
body table.stc-table.dividendtb tr th {
  font-size: 12px;
  vertical-align: top;
}

.fc-event .fc-event-inner.selangor {
  background: #ff0000 !important;
  color: #fff;
}
.fc-event .fc-event-inner.perak {
  background: #339900 !important;
  color: #fff;
}
.fc-event .fc-event-inner.penang {
  background: #000099 !important;
  color: #fff;
}
.fc-event .fc-event-inner.australia {
  background: #00ff00 !important;
  color: #000;
}
.fc-event .fc-event-inner.singapore {
  background: #ff9900 !important;
  color: #000;
}
.fc-event .fc-event-inner.south-africa {
  background: #66ffff !important;
  color: #000;
}
.fc-event .fc-event-inner.macau {
  background: #cc33ff !important;
  color: #fff;
}
.fc-event .fc-event-inner.south-korea {
  background: #ff66cc !important;
  color: #fff;
}
.fc-event .fc-event-inner.hong-kong {
  background: #ffff00 !important;
  color: #000;
}

body .fc-event {
  border: none !important;
}
.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 53%;
}
.aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
table.alhomefixture {
  margin-bottom: 0 !important;
}
.alhomefixture tr:hover {
  background: none !important;
}
.fixflag img {
  border: 1px solid #eee;
}

/*sticky*/

.sticky-table {
  max-width: 100%;
  /*max-height: 80vh;*/
  overflow: auto;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 0 !important;
}

.sticky-table table {
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  border-spacing: 0;
}

.sticky-table table tr.sticky-row td,
.sticky-table table tr.sticky-row th {
  background-color: #fff;
  border-top: 0;
  position: relative;
  /*outline: #ddd solid 1px;*/
  z-index: 5;
}

.sticky-table table td.sticky-cell,
.sticky-table table th.sticky-cell {
  background-color: #fff;
  /*outline: #ddd solid 1px;*/
  -webkit-box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.13);
  -moz-box-shadow: 2px 3px 62px 0px rgba(0, 0, 0, 0.13);
  box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.13);
  position: relative;
  z-index: 2;
}

.sticky-table table tr.sticky-row td.sticky-cell,
.sticky-table table tr.sticky-row th.sticky-cell {
  z-index: 15;
}

/*end sticky*/

li#mega-menu-item-656 ul.mega-sub-menu ul.mega-sub-menu {
  top: 0px !important;
}
h2.homeh2 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.trainingaltb {
  width: 100%;
  margin-bottom: 0;
}

.trainingaltb td:first-child {
  width: 8%;
}
.trainingaltb td:nth-child(2) {
  width: 45%;
}
.trainingaltb td:nth-child(3) {
  width: 2%;
}
.trainingaltb td:nth-child(4) {
  width: 20%;
}
.trainingaltb td:nth-child(5) {
  width: 10%;
}
.trainingaltb td:nth-child(6) {
  width: 15%;
  text-align: right;
}

.altrainiglist {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 0;
  -moz-column-gap: 0;
  column-gap: 0;
  -webkit-column-width: 50%;
  -moz-column-width: 50%;
  column-width: 50%;
  -webkit-column-gap: 5em;
  -moz-column-gap: 5em;
  column-gap: 5em;
  -webkit-column-break-inside: auto; /* Chrome, Safari, Opera */
  page-break-inside: auto; /* Firefox */
  break-inside: auto; /* IE 10+ */
}

.breaklist {
  margin-bottom: 40px;
  /*display: inline-block;*/
  width: 100%;
  vertical-align: top;
}

.breaklist h2 {
  border-bottom: 2px solid #000;
  padding-bottom: 4px;
}

body .header-bot .header-bot-inner #mega-menu-wrap-primary,
body .header-bot .header-bot-inner > div.container,
body .header-bot .header-bot-inner > div.container > .col-md-9.no-pad,
body .header-bot .header-bot-inner .main-navigation,
body .header-bot .header-bot-inner .navbar.navbar-default,
body
  .header-bot
  .header-bot-inner
  .collapse.navbar-collapse.navbar-primary-collapse,
body .header-bot .header-bot-inner #mega-menu-wrap-primary #mega-menu-primary {
  position: static;
}
body #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item {
  position: static !important;
}
body #mega-menu-wrap-primary #mega-menu-primary > li:after {
  content: "";
  width: 100%;
  background: rgba(115, 37, 119, 0.9);
  left: 0;
  height: 388px;
  position: absolute;
  z-index: 99;
  display: none;
}
body
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item-has-children:hover:after {
  /* display: block; */
}
.mega-sub-menu {
  background: rgba(115, 37, 119, 0.9) !important;
}
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-flyout
  ul.mega-sub-menu {
  top: 60px;
}

body .contact-page .normallink a {
  border: none;
  display: inline;
  text-decoration: none !important;
  text-align: center;
  padding: 0;
  color: #464646 !important;
  border-radius: 0;
}

.perakhide {
  display: none !important;
  visibility: hidden !important;
}

.page-template-page-news .banner-page,
body.single-news .banner-page {
  display: none !important;
}

html[lang="zh-hans"] .racecardtb thead tr th {
  white-space: nowrap;
}

.nowrapspace {
  white-space: nowrap;
}
i.cnmonth {
  font-style: normal;
}
td.minvideo {
  min-width: 50px;
}
/*body #mega-menu-wrap-primary #mega-menu-primary > li:hover > ul.mega-sub-menu
{
	visibility: visible;
	opacity: 1 !important;
}*/

body
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu {
  width: 1170px !important;
  margin: auto;
  left: 0;
  right: 0;
  padding-bottom: 20px !important;
}
body #mega-menu-wrap-primary #mega-menu-primary .current-menu-item a,
body #mega-menu-wrap-primary #mega-menu-primary .current_page_item a {
  /* font-weight: bold; */
}
.mega-menu-item h4 {
  display: none !important;
}
.mega-menu-item ul.menu {
  padding-left: 0;
  list-style: none;
}

body #mega-menu-wrap-primary .mega-menu-item ul.menu li a {
  display: inline-block;
  position: relative;
  font-size: 15px;
  margin-bottom: 7px;
}
.mega-menu-item ul.menu li a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.mega-menu-item ul.menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.mega-menu-item ul.menu li:hover a {
  /* text-decoration: underline; */
}
.mega-menu-item ul.menu li {
  list-style: none;
}
.mega-menu-item ul.menu li a {
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
}
body
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  padding-left: 15px;
  padding-right: 15px;
}

/** end normal **/

table tbody tr.t-race td,
.stdtb tr.t-race td a,
.dataTables_wrapper tr.t-race td a,
.stc-table tr.t-race td a {
  color: #4267b2;
}
table tbody tr.s-race td,
.stdtb tr.s-race td a,
.dataTables_wrapper tr.s-race td a,
.stc-table tr.s-race td a {
  color: #db0012;
}
#veterinary_list table.table-horse1 tbody tr td p {
  margin-bottom: 0;
}
#veterinary_list table.table-horse1 tr td {
  text-align: left;
}
#veterinary_list .dataTables_filter {
  display: none;
}
.race-card-link {
  position: relative;
  text-decoration: underline;
  color: #db0012;
}
.fixtm {
  background: none !important;
  padding-left: 0 !important;
}
.circle-venue {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
  border-radius: 50%;
  line-height: 14px;
  text-align: center;
  font-size: 10px;
}
.circle-venue.K {
  border-color: #fff200;
  background-color: #fff200;
  color: #ee1b25;
}
.circle-venue.I {
  border-color: #24e10a;
  background-color: #24e10a;
  color: #fff;
}
.circle-venue.P {
  border-color: #17bef2;
  background-color: #17bef2;
  color: #000;
}
#ht-calendar.fc table {
  margin-bottom: 0;
}
#ht-calendar.fc .fc-daygrid-day-frame {
  max-height: 70px;
}
#ht-calendar.fc-theme-standard td,
#ht-calendar.fc-theme-standard th {
  background-color: #fff;
}
#ht-calendar.fc .fc-toolbar-title {
  font-size: 16px;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
}
#ht-calendar.fc .fc-col-header-cell-cushion {
  font-size: 16px;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
}
#ht-calendar.fc-theme-standard th .fc-scrollgrid-sync-inner {
  padding-top: 6px;
  padding-bottom: 6px;
}
#ht-calendar.fc .fc-daygrid-day-number {
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}
#ht-calendar.fc .fc-button {
  border-radius: 50%;
  border: 1px solid #50286a;
  background-color: #50286a;
  width: 30px;
  height: 30px;
  padding: 0;
  transition: all 0.2s ease-in;
}
#ht-calendar.fc .fc-button .fc-icon {
  color: #fff;
}
#ht-calendar.fc .fc-button:hover {
  background-color: #fff;
}
#ht-calendar.fc .fc-button:hover .fc-icon {
  color: #50286a;
}
#ht-calendar.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
  margin-left: 10px;
}
#ht-calendar.fc .fc-button:focus {
  box-shadow: none;
}
#ht-calendar .fc-event .fc-event-main {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}
#horses-by-trainer .dataTables_paginate {
  display: none;
}
#horses-by-trainer .show-all {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
}
#horses-by-trainer .show-all a {
  background: #56236d;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  padding: 7px 14px;
  display: inline-block;
}
#horses-by-trainer .show-all a:hover {
  background-color: #fff;
  color: #56236d;
}
.race-results-years-buttons a {
  background-color: #fff;
  color: #56236d;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  padding: 7px 14px;
  display: inline-block;
  text-decoration: none !important;
}
.race-results-years-buttons a.active {
  background: #56236d;
  color: #fff;
}
.race-results-years-buttons a:hover {
  border-color: #56236d;
}
.race-results-years-buttons a + a {
  margin-left: 15px;
}
.race-results-years-buttons {
  display: flex;
  align-items: center;
  padding: 20px 0;
}
.home-racenw .homeh2 {
  display: flex;
  justify-content: space-between;
}
.home-racenw .homeh2 .enable-links img {
  max-width: 60px;
}
.home-racenw .homeh2 .enable-links a + a {
  margin-right: 5px;
}
.prize-money-as-of {
  color: #db0012;
  font-size: 12px;
  font-style: italic;
}
.racemeetingdes i.going {
  font-style: normal;
  margin-left: 10px;
}
@media (min-width: 992px) {
  html body.page-template-page-horse-trackwork .entry-title {
    margin-bottom: 40px !important;
  }
}
@media (min-width: 767px) {
  body .home-racenw {
    width: 68%;
  }
  body .home-horse.alhomenews {
    width: 32%;
  }
}

@media (max-width: 992px) {
  .embed-container_desc {
    padding-top: 20px;
  }
  .page-header-top-center {
    clear: both;
    padding-top: 15px;
  }

  table td,
  table th {
    white-space: nowrap;
  }
  .legendtable td {
    white-space: normal;
    padding-right: 10px;
    font-size: 12px;
  }

  .breadcrumbs {
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 25px;
  }
  .fbsharetop .fb-share-button {
    float: right;
  }
  html body .entry-title {
    margin-bottom: 13px;
  }
  .page-template-horseinfo-performance #search-filter-form-1232 ul > li {
    margin-bottom: 10px !important;
  }
  .page-template-horseinfo-performance #search-filter-form-1232 ul {
    padding-left: 24px !important;
  }
  .page-template-horseinfo-performance
    #search-filter-form-1232
    ul
    > li:first-child {
    padding-left: 0;
  }
  .breadcrumbs {
    padding-bottom: 10px !important;
  }
  .ts-date:before {
    display: none !important;
  }
}

@media (max-width: 767px) {
  i.mday {
    display: inline-block !important;
    color: #9d9d9d;
  }
  .altrainiglist {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    -webkit-column-width: 100%;
    -moz-column-width: 100%;
    column-width: 100%;
    -webkit-column-gap: 0em;
    -moz-column-gap: 0em;
    column-gap: 0em;
    -webkit-column-break-inside: auto; /* Chrome, Safari, Opera */
    page-break-inside: auto; /* Firefox */
    break-inside: auto; /* IE 10+ */
  }

  ul.horse_en_first li:first-child {
    display: block;
  }
  .alsinglehortd .button.ht-button {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 10px;
  }

  .jers {
    display: inline;
  }
  .fbsharetop.col-md-1 {
    margin-bottom: 10px !important;
  }
  h1.traniner-head {
    font-size: 14px;
  }
  table.trainer-all thead tr th {
    font-size: 14px;
  }
  h1.traniner-head span {
    line-height: inherit;
  }
  .legendtable td {
    white-space: normal;
    padding-right: 10px;
    font-size: 12px;
  }
  .legendtable td:first-child {
    width: 15%;
  }
  .legendtable td:nth-child(2n) {
    width: 35%;
  }
  .legendtable td:nth-child(3n) {
    width: 15%;
  }
  .legendtable td:last-child {
    width: 35%;
  }
  .alsinglehortd td {
    white-space: normal;
    vertical-align: top;
  }
}

@media (max-width: 575px) {
  .embed-youtube iframe {
    width: 100%;
  }
}
@media (max-width: 479px) {
  .long-word {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .horsegallery .owl-nav > button.owl-next {
    right: 38px;
  }
  .horsegallery {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  .trainer-all tbody td {
    font-size: 12px;
  }

  .aspect-ratio {
    padding-bottom: 70%;
  }
  /*.embed-container {
		padding-bottom: 0;
	}*/

  .horse_detail_price {
    padding: 15% 5px 15% 5px;
    text-align: center;
  }

  .horse_detail_price {
    border: none;
  }
  .alsinglehortd td {
    font-size: 12px;
  }

  .horse_detail {
    padding: 20px 0;
  }
  .horse_detail > div {
    padding-left: 8px;
    padding-right: 8px;
  }
  h2 {
    font-size: 26px;
  }

  .page-template-horseinfo-performance #search-filter-form-1232 ul > li {
    padding-left: 0;
  }
  input.sf-input-text {
    width: 100%;
  }

  table.stdtb td {
    font-size: 11px;
  }
  table.stdtb.stdtb-wd td {
    padding: 10px 5px;
  }
  .breakmobile {
    display: inline;
  }
  #sidebar-left.home-left h2 {
    font-size: 23px;
    font-weight: 600;
  }
  img.mobilefull {
    width: 100%;
    height: auto;
    float: none;
    margin-bottom: 15px;
  }

  .searchandfilter ul > li {
    display: block;
    padding-left: 24px;
    padding-right: 0;
  }
  .searchandfilter .sf-field-submit input {
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .searchandfilter ul > li select {
    width: 100%;
  }
  .searchandfilter label {
    display: block;
  }
  .racedate h2 {
    font-size: 20px;
  }

  table.racemeetingdes {
    border: none;
  }

  table.racemeetingdes,
  table.racemeetingdes thead,
  table.racemeetingdes tbody,
  table.racemeetingdes td,
  table.racemeetingdes tr {
    display: block;
    width: 100% !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: left !important;
  }
  table.racemeetingdes td.trainer-new-icon {
    display: inline-block !important;
    width: 47% !important;
  }
  a.alviewresult {
    float: none !important;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 7px;
    padding-bottom: 8px;
    margin-top: 25px;
  }
  .altabnav .datefilter span.filtertext {
    margin-bottom: 30px;
    margin-right: 10px;
  }
  table.trialshettb td {
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
  }

  .chosen-container .chosen-results {
    overflow-y: scroll !important;
    pointer-events: all;
  }
}

@media print {
  a[href]:after {
    content: none !important;
  }
  header,
  #site-footer,
  #shiftnav-toggle-main,
  .fbsharetop {
    display: none !important;
  }
  .page-container {
    width: 100%;
  }
  .container {
    width: 100%;
  }
}
