@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700,900');

@-webkit-viewport {
  width: device-width;
}
@-moz-viewport {
  width: device-width;
}
@-ms-viewport {
  width: device-width;
}
@-o-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */
html {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-font-smoothing: antialiased;
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */
input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  box-sizing: content-box;
  /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

@font-face {
  font-family: "British-Horse-Racing";
  src: url("../fonts/BHA_Icons/British-Horse-Racing.eot?-v7dtq9");
  src: url("../fonts/BHA_Icons/British-Horse-Racing.eot?#iefix-v7dtq9") format("embedded-opentype"), url("../fonts/BHA_Icons/British-Horse-Racing.woff?-v7dtq9") format("woff"), url("../fonts/BHA_Icons/British-Horse-Racing.ttf?-v7dtq9") format("truetype"), url("../fonts/BHA_Icons/British-Horse-Racing.svg?-v7dtq9#British-Horse-Racing") format("svg");
  font-weight: normal;
  font-style: normal;
}
[class^=bha-]:not(.menu-item), [class*=" bha-"]:not(.menu-item) {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bha-binoculars:before {
  content: "";
}

.bha-location3:before {
  content: "";
  display: inline-block;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.bha-newwindow:before {
  content: "";
}

.bha-calendar:before {
  content: "";
  display: inline-block;
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
  transform: scale(1.3);
}

.bha-download:before {
  content: "";
}

.bha-racingpost:before {
  content: "";
}

.bha-stats:before {
  content: "";
}

/*
.control__field .bha-arrow-down:before {
	display: inline-block;
	@include transform(scale(1.2));
	position: relative;
	top: 2px;
}
*/
.bha-TwitterCircle:before {
  content: "";
}

.bha-Twilight:before {
  content: "";
}

.bha-Search:before {
  content: "";
}

.bha-Profile:before {
  content: "";
}

.bha-PrintSummary:before {
  content: "";
}

.bha-PrintIconMultiple:before {
  content: "";
}

.bha-PrintIcon:before {
  content: "";
}

.bha-PrintAll:before {
  content: "";
}

.bha-PlayButton:before {
  content: "";
}

.bha-mixed:before {
  content: "";
}

.bha-ListView:before {
  content: "";
}

.bha-jump:before {
  content: "";
}

.bha-Home:before {
  content: "";
}

.bha-Going:before {
  content: "";
}

.bha-flat:before {
  content: "";
}

.bha-FacebookCircle:before {
  content: "";
}

.bha-ExternalLink:before {
  content: "";
}

.bha-Evening:before {
  content: "";
}

.bha-EmailSignup:before {
  content: "";
}

.bha-EmailCircle:before {
  content: "";
}

.bha-Daylight:before {
  content: "";
}

.bha-Date:before {
  content: "";
}

.bha-CreditCard:before {
  content: "";
}

.bha-Categories:before {
  content: "";
}

.bha-Menu:before {
  content: "";
}

.bha-play:before {
  content: "";
}

.bha-arrow-right:before {
  content: "";
}

.bha-cross:before {
  content: "";
}

.bha-plus:before {
  content: "";
}

.bha-help:before {
  content: "";
}

.bha-cross2:before {
  content: "";
}

.bha-statistics:before {
  content: "";
}

.bha-phone:before {
  content: "";
}

.bha-twitter:before {
  content: "";
}

.bha-paperplane:before {
  content: "";
}

.bha-earth:before {
  content: "";
}

.bha-arrow-left2:before {
  content: "";
}

.bha-mail:before {
  content: "";
}

.bha-mouse:before {
  content: "";
}

.bha-mobile:before {
  content: "";
}

.bha-printer:before {
  content: "";
}

.bha-pencil:before {
  content: "";
}

.bha-arrow-left:before {
  content: "";
}

.bha-uniE62B:before {
  content: "";
}

.bha-arrow-down:before {
  content: "";
}

.bha-arrow-up:before {
  content: "";
}

.bha-arrow-up2:before {
  content: "";
}

.bha-arrow-down2:before {
  content: "";
}

.bha-target:before {
  content: "";
}

.bha-compass:before {
  content: "";
}

.bha-location2:before {
  content: "";
}

.bha-location:before {
  content: "";
}

.bha-map:before {
  content: "";
}

a.txt-btn.fixtures-icon {
  white-space: nowrap;
  position: relative;
  padding-left: 34px;
  position: relative;
  top: 1px;
  /*
  	@include respond-min($breakpoint--mobile) {
  		top: 0;
  		&:before {
  			top: -1px;
  		}
  	}
  */
}
a.txt-btn.fixtures-icon:before {
  content: " ";
  background: url(../img/fixture-results-icon.svg) no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 18px;
  display: block;
  position: absolute;
  left: 10px;
  top: 0;
}

.racecard-controls .txt-btn {
  padding-top: 3px;
}

#fixture-results-link {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: flex-end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
@media screen and (max-width: 600px) {
  #fixture-results-link {
    -ms-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }
}

body {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: #222d71;
  font-weight: 400;
  clear: both;
  width: 100%;
}
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
}

h3 .bha-Icon, h2 .bha-Icon {
  position: relative;
  top: 2px;
  margin-right: 10px;
}

p {
  font-size: 16px;
  line-height: 26px;
  color: #5c6974;
}
p strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}
p.form-note {
  margin-bottom: 0;
}

.page-title, .article-body h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 40px;
  margin-bottom: 10px;
}
.page-title a, .article-body h1 a {
  text-decoration: none;
  color: #d70722;
}
@media screen and (max-width: 770px) {
  .page-title, .article-body h1 {
    font-size: 30px;
  }
}
@media screen and (max-width: 600px) {
  .page-title, .article-body h1 {
    font-size: 24px;
    line-height: 1.3;
  }
}

p a {
  color: #d70722;
}

.sub-title {
  display: block;
  color: #46a0de;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.75em;
}

.intro-tile, .racecourse-description p:first-of-type,
.intro-title,
.section-intro,
.rc-introduction p:first-child,
.intro-paragraph {
  color: #222d71;
  font-size: 18px;
  line-height: 1.3;
}
@media screen and (min-width: 600px) {
  .intro-tile, .racecourse-description p:first-of-type,
.intro-title,
.section-intro,
.rc-introduction p:first-child,
.intro-paragraph {
    font-size: 24px;
  }
}

@media screen and (min-width: 600px) {
  .intro-tile, .racecourse-description p:first-of-type,
.intro-title,
.section-intro,
.rc-introduction p:first-child,
.intro-paragraph li {
    font-size: 16px;
  }
}

.group-title, .article-body h2, .article-body h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #222d71;
  font-size: 21px;
  margin-bottom: 10px;
}
.group-title .icon, .article-body h2 .icon, .article-body h3 .icon {
  color: #d70722;
  margin-right: 10px;
  font-size: 30px;
  position: relative;
  top: 4px;
}

.view-all-link {
  display: block;
  text-decoration: none;
  color: #46a0de;
  font-size: 0.8em;
}
@media screen and (min-width: 600px) {
  .view-all-link {
    float: right;
  }
}

.widget-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}
.widget-title span:before {
  margin-left: 6px;
  position: relative;
  top: 2px;
}

.entry-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin-right: 4px;
  text-transform: capitalize;
}

.expand-handicapperRatingsHistory {
  cursor: pointer;
}
.handicapperRatingsHistory {
  font-size: 0.85em;
  line-height: 1.5em;
  overflow-wrap: break-word;
}
.handicapperRatingsHistory span {
  background: #fbfbfb;
  color: #5c6974 !important;
  border: 1px #dde7ef solid;
  -webkit-border-radius: 3px 6px;
  -moz-border-radius: 3px 6px;
  border-radius: 3px 6px;
  padding: 0 3px;
  margin: 0 3px;
}
.handicapperRatingsHistory span>strong {
  color: #5c6974;
  padding: 0;
  margin: 0;
}

.section-title, .result-header {
  font-size: 16px;
  color: #222d71;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  border-bottom: 5px solid #46a0de;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 5px;
}
.section-title a, .result-header a {
  font-size: 14px;
  float: right;
  color: #46a0de;
  text-transform: none;
  text-decoration: none;
}

.article-body h1 {
  border-bottom: 8px solid #46a0de;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.article-body h2, .article-body h3 {
  margin-bottom: 20px;
}
.article-body h2 {
  border-bottom: 1px solid #ebf3f9;
  padding-bottom: 20px;
}
.article-body h3 {
  margin-bottom: 20px;
}
.article-body h4, .article-body h5, .article-body h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 26px;
  color: #5c6974;
}
.article-body p + h3, .article-body p + h4, .article-body p + h5, .article-body p + h6 {
  margin-top: 20px;
}

p a {
  color: #d70722;
}

.page-header {
  position: relative;
}
.page-header .inner {
  max-width: 100%;
  padding: 9px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  /*
  @include respond-min($breakpoint--desktop) {
  	padding-left: 36px;
  	padding-right: 36px;
  }*/
}
.page-header > .inner {
  border-bottom: 1px solid #ebf3f9;
}

.page-logo {
  width: 60px;
  text-decoration: none;
}
.page-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: baseline;
}
.page-logo:hover {
  text-decoration: none;
}

.updates-btn,
.search-toggle {
  border: 1px solid #a6051a;
  background-color: #d70722;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px;
  display: block;
  border-radius: 2px;
}
.updates-btn:hover,
.search-toggle:hover {
  background-color: #c80720;
}

.updates-btn {
  padding: 8px 12px 4px;
}

.search-toggle {
  border: 1px solid #161d4a;
  background-color: #222d71;
}
.search-toggle:hover {
  background-color: #1e2865;
}

.toggles {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
.toggles a {
  text-decoration: none;
}
.toggles a + a,
.toggles .live-updates-dd + a {
  margin-left: 10px;
}

.search-toggle:before,
.menu-toggle:before {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  top: 2px;
}

.search-toggle:before {
  content: "";
}

.menu-toggle:before {
  content: "";
  color: #222d71;
}

.live-updates-dd {
  position: relative;
}
.live-updates-dd a:hover {
  color: #fff !important;
}
.live-updates-dd:hover .live-updates-dd__reveal {
  display: block;
}
.live-updates-dd .live-updates-dd__reveal {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 5px;
  z-index: 9999;
}
.live-updates-dd .live-updates-dd__reveal .live-updates-dd__reveal-inner {
  padding: 8px;
  background-color: #d70722;
  border-radius: 4px;
}
.live-updates-dd .live-updates-dd__reveal a {
  color: #fff;
  display: block;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  white-space: nowrap;
  text-align: left;
  padding: 6px 8px;
  margin-left: 0;
  border-radius: 2px;
}
.live-updates-dd .live-updates-dd__reveal a:hover {
  background-color: #be061e;
}
.live-updates-dd.live-updates-dd--mobile .live-updates-dd__reveal {
  right: auto;
  left: 0;
}
.live-updates-dd.live-updates-dd--mobile .live-updates-dd__reveal a {
  font-size: 14px;
  text-decoration: none;
}

@media screen and (min-width: 820px) {
  .page-header {
    border-top: 5px solid #222d71;
  }
  .page-header .inner {
    padding: 20px 36px;
  }

  .menu-toggle {
    display: none;
  }

  .updates-btn,
.live-updates-dd {
    order: 3;
  }

  .toggles {
    order: 4;
  }

  [data-menu=primary] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }

  [data-menu=primary] > li {
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
  }
  [data-menu=primary] > li a {
    padding: 10px 20px;
    color: #222d71;
  }

  .page-logo {
    width: 120px;
  }

  .toggles {
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 900px) {
  .updates-btn:before {
    content: "Live ";
  }

  .updates-btn {
    font-size: 16px;
  }

  .search-toggle:before {
    font-size: 16px;
  }
}
@media screen and (min-width: 1200px) {
  .page-logo {
    white-space: nowrap;
  }
  .page-logo img, .page-logo:after {
    display: inline-block;
    margin-bottom: -6px;
    text-decoration: none;
  }
  .page-logo:after {
    content: " ";
    background: url(../img/brand/brand-typemark.svg) no-repeat center center;
    width: 72px;
    height: 30px;
    background-size: contain;
    position: relative;
    top: -7px;
  }
}
.page-nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.page-nav li {
  margin: 0;
  padding: 0;
}
.page-nav a {
  text-decoration: none;
}
.page-nav a.rm {
  padding: 0 !important;
}

.page-nav li.external-link a,
.page-menu > li:hover .external-link a {
  background-color: #1c255d;
}
@media screen and (min-width: 820px) {
  .page-nav li.external-link a,
.page-menu > li:hover .external-link a {
    padding: 8px;
    border-radius: 4px;
    display: block;
    margin-left: -8px;
    margin-right: -8px;
  }
}
.page-nav li.external-link a:after,
.page-menu > li:hover .external-link a:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  float: right;
  -webkit-transform: scale(1.4);
  -moz-transform: scale(1.4);
  -ms-transform: scale(1.4);
  -o-transform: scale(1.4);
  transform: scale(1.4);
}

@media screen and (max-width: 820px) {
  .page-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    width: 100%;
    background: #222d71;
    z-index: 999;
  }
  .page-nav li + li {
    border-top: 1px solid #323e86;
  }
  .page-nav a {
    color: #fff;
    display: block;
    padding: 12px;
    position: relative;
  }
  .page-nav a[data-to-state]:after, .page-nav a[data-trigger-el]:after {
    font-family: "British-Horse-Racing";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    position: absolute;
    right: 12px;
    top: 12px;
  }
  .page-nav a[data-trigger-el=press-releases]:after, .page-nav a[data-trigger-el=news-blog]:after, .page-nav a[data-trigger-el=racing-news]:after {
    display: none;
  }
  .page-nav .news-sub__detail,
.page-nav [data-el-id] {
    display: none;
  }
  .page-nav .news-sub__detail {
    position: absolute;
    left: 200%;
    top: 0;
    width: 100%;
  }

  .page-nav,
.page-menu {
    -webkit-transition: transform 0.4s 0.2s;
    -moz-transition: transform 0.4s 0.2s;
    -ms-transition: transform 0.4s 0.2s;
    -o-transition: transform 0.4s 0.2s;
    transition: transform 0.4s 0.2s;
  }

  .page-menu a {
    opacity: 1;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -ms-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
  }

  html.show-menu .page-nav {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  .page-menu.state--secondary {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .page-menu.state--secondary[data-menu=primary] > li > a {
    opacity: 0;
  }

  .page-menu.state--tertiary {
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
    transform: translateX(-200%);
  }
  .page-menu.state--tertiary [data-menu=secondary] > li > a {
    opacity: 0;
  }

  .page-menu.state--quaternary {
    -webkit-transform: translateX(-300%);
    -moz-transform: translateX(-300%);
    -ms-transform: translateX(-300%);
    -o-transform: translateX(-300%);
    transform: translateX(-300%);
  }
  .page-menu.state--quaternary [data-menu=tertiary] > li > a {
    opacity: 0;
  }

  .page-menu.state--quinary {
    -webkit-transform: translateX(-400%);
    -moz-transform: translateX(-400%);
    -ms-transform: translateX(-400%);
    -o-transform: translateX(-400%);
    transform: translateX(-400%);
  }
  .page-menu.state--quinary [data-menu=quaternary] > li > a {
    opacity: 0;
  }

  .menu-back {
    background: #323e86;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .menu-back span {
    padding: 12px;
    display: block;
    color: #fff;
  }

  .sub-nav {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    max-height: 100vh;
    overflow: auto;
  }

  [data-js-trigger]:hover,
[data-to-state]:hover {
    cursor: pointer;
  }

  /*
  	senary, septenary, octonary, nonary, and denary */
}
@media screen and (max-width: 820px) {
  .news-sub__detail {
    display: none;
  }
}
@media screen and (min-width: 820px) {
  .sub-nav,
.menu-back,
.news-sub {
    display: none;
  }

  /*
  li.about-nav-link {
  	.news-sub,
  	.sub-nav {
  		display: block;
  	}
  }
  */
  .page-menu > li:hover a {
    background-color: #222d71;
    color: #fff;
  }
  .page-menu > li:hover > .sub-nav {
    display: block;
  }
  .page-menu > li:hover > .sub-nav .sub-menu {
    display: none;
  }
  .page-menu > li:hover .sub-nav.sub-nav--tertiary {
    display: none;
  }
  .page-menu > li:hover .news-sub {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }
  .page-menu > li:hover .news-sub .news-sub__menu {
    display: block;
  }

  /*
  	.page-menu li:nth-of-type(5) .news-sub {
  		@include displayflex;
  		> .sub-nav {
  			display: block;
  		}
  	}
  	*/
  .page-menu li {
    position: relative;
  }

  .page-menu > li {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }
  .page-menu > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .page-menu > li > a:hover {
    background-color: #222d71;
    color: #fff;
  }
  .page-menu > li.menu-back {
    display: none;
  }

  .page-nav li > .sub-nav,
.news-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #222d71;
    color: #fff;
    z-index: 99;
    padding: 40px;
    box-shadow: 0 2px 4px rgba(48, 52, 54, 0.6);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 99999;
  }
  .page-nav li > .sub-nav li,
.news-sub li {
    font-size: 14px;
    text-transform: none;
    font-family:'Roboto', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
  }
  .page-nav li > .sub-nav li:last-of-type,
.news-sub li:last-of-type {
    margin-bottom: 0;
  }
  .page-nav li > .sub-nav li a,
.news-sub li a {
    color: #fff;
    padding: 0;
  }
  .page-nav li > .sub-nav li a:hover,
.news-sub li a:hover {
    color: #46a0de;
  }

  .page-nav li > .sub-nav {
    width: 420px;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }

  .news-sub {
    width: 920px;
  }
}
@media screen and (min-width: 820px) and (min-width: 820px) and (max-width: 1200px) {
  .news-nav-link .news-sub {
    max-width: 70vw;
    -webkit-transform: translateX(-33%);
    -moz-transform: translateX(-33%);
    -ms-transform: translateX(-33%);
    -o-transform: translateX(-33%);
    transform: translateX(-33%);
  }
}
@media screen and (min-width: 820px) and (min-width: 820px) and (max-width: 900px) {
  .about-nav-link .news-sub {
    -webkit-transform: translateX(-60%);
    -moz-transform: translateX(-60%);
    -ms-transform: translateX(-60%);
    -o-transform: translateX(-60%);
    transform: translateX(-60%);
    max-width: 54vw;
  }
}
@media screen and (min-width: 820px) {
  .news-sub .news-sub__menu {
    -webkit-box-flex: 2 2 250px;
    -webkit-flex: 2 2 250px;
    -ms-flex: 2 2 250px;
    flex: 2 2 250px;
    border-right: 1px solid #394799;
    padding-right: 14px;
    margin-right: 20px;
  }
  .news-sub .news-sub__menu li a[data-trigger-el]:after {
    font-family: "British-Horse-Racing";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    float: right;
  }
  .news-sub .news-sub__menu li a[data-trigger-el].item--active {
    color: #46a0de;
  }
}
@media screen and (min-width: 820px) {
  .news-sub .news-sub__detail {
    -webkit-box-flex: 2 2 580px;
    -webkit-flex: 2 2 580px;
    -ms-flex: 2 2 580px;
    flex: 2 2 580px;
  }
  .news-sub .news-sub__detail h1 {
    text-align: left;
    padding: 0;
    color: #fff;
    text-transform: none;
    background: transparent;
    text-indent: 0;
  }
  .news-sub .news-sub__detail h1 a {
    padding: 0;
  }
  .news-sub .news-sub__detail a.view-all-link,
.news-sub .news-sub__detail .date {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    text-transform: none;
    font-size: 14px;
  }
  .news-sub .news-sub__detail a.view-all-link {
    color: #46a0de;
    padding: 0;
  }
  .news-sub .news-sub__detail a.view-all-link:after {
    font-family: "British-Horse-Racing";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    float: right;
    position: relative;
    top: 2px;
    margin-left: 4px;
  }
  .news-sub .news-sub__detail p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    text-transform: none;
    color: #97a9b8;
  }
}
@media screen and (min-width: 820px) {
  .news-sub figure a {
    display: block;
    padding: 0;
  }
}
@media screen and (min-width: 820px) {
  .news-sub--tertairy {
    width: 480px;
  }
  .news-sub--tertairy .news-sub__menu,
.news-sub--tertairy .news-sub__detail {
    -webkit-box-flex: 2 2 50%;
    -webkit-flex: 2 2 50%;
    -ms-flex: 2 2 50%;
    flex: 2 2 50%;
  }
}
@media screen and (min-width: 820px) {
  .news-sub__detail .news-sub__hidden {
    height: 0;
    overflow: hidden;
  }
  .news-sub__detail .news-sub__hidden.show--item {
    height: auto;
  }
}
@media screen and (min-width: 820px) {
  .tertairy-menu li a {
    color: #46a0de;
  }
  .tertairy-menu .children {
    margin-top: 20px;
  }
  .tertairy-menu .children li {
    padding-left: 20px;
  }
  .tertairy-menu .children a:before {
    content: "-";
    margin-right: 10px;
  }
}
li.bha-publications {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

@media screen and (max-width: 770px) {
  .secondary-navigation-wrap {
    display: none;
  }
}
.inner {
  padding: 12px;
}
@media screen and (min-width: 900px) {
  .inner {
    padding: 36px;
  }
}

main .inner {
  position: relative;
}

/*
	- - FIXTURE SNIPPET
- - */
.next-fix-carousel.flickity-enabled {
  margin-left: 36px;
  margin-right: 36px;
}

.next-fix {
  position: relative;
}
.fix-snip {
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media screen and (min-width: 640px) {
  .fix-snip {
    width: 50%;
  }
}
@media screen and (min-width: 900px) {
  .fix-snip {
    width: 33.33%;
  }
}
@media screen and (min-width: 1200px) {
  .fix-snip {
    width: 25%;
  }
}
.fix-snip .fix-snip__inner {
  background-color: #fff;
  border: 1px solid #d8e6f2;
  padding: 20px;
}
.fix-snip ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.fix-snip li {
  margin: 0;
  padding: 0;
}
.fix-snip .fix-snip__info,
.fix-snip h2 {
  margin-bottom: 10px;
}
.fix-snip .fix-snip__meta {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.fix-snip .fix-snip__meta li {
  text-transform: uppercase;
}
.fix-snip .fix-snip__meta .date {
  color: #46a0de;
}
.fix-snip .fix-snip__meta .type {
  color: #939ea7;
}
.fix-snip .fix-snip__info {
  color: #5c6974;
}
.fix-snip .fix-snip__racecardlink {
  color: #02a361;
  text-decoration: none;
}
.fix-snip .fix-snip__racecardlink:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  position: relative;
  top: 2px;
}
.fix-snip .fix-snip__racecardlink.fix-snip__racecardlink--entry {
  color: #fd8a26;
}

.fix-snip__img {
  position: absolute;
  top: 50px;
  right: 20px;
  max-width: 45px;
  height: auto;
}
.fix-snip__img img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*
	- - - TWITTER -- - - - - */
.tweet-wrap {
  border-bottom: 1px solid #d8e6f2;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.tweet-wrap:last-of-type {
  border-bottom: none;
}
.tweet-wrap p {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 0;
}
.tweet-wrap .bha-twitter,
.tweet-wrap a {
  color: #46a0de;
}
.tweet-wrap:last-of-type {
  margin-bottom: 30px;
}

/*
	- - - Breadcrumbs -- - - - - */
.breadcrumbs {
  margin-bottom: 20px;
}
.breadcrumbs ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.breadcrumbs ul li {
  margin: 0;
  padding: 0;
  color: #222d71;
}
.breadcrumbs ul li a {
  color: #46a0de;
}
.breadcrumbs ul li a:hover {
  text-decoration: none;
}
.breadcrumbs ul li + li:before {
  content: "/";
  color: #dedede;
  margin-left: 5px;
  margin-right: 1px;
}

.news-section + .news-section {
  margin-top: 50px;
}

/*
	- - - PAGINTAION - - - - */
.pagination {
  padding: 20px 0;
  margin-top: 40px;
}
.pagination ul, .pagination li {
  margin: 0;
  padding: 0;
}
.pagination ul {
  list-style-type: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.pagination li {
  margin: 0 2px;
  font-size: 14px;
}
.pagination a {
  display: block;
  color: #222d71;
  padding: 4px 6px 1px;
  text-decoration: none;
  background-color: #fff;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}
.pagination a:hover {
  background-color: #ebf3f9;
}
.pagination .active a {
  background-color: #222d71;
  color: #fff;
}
.pagination .next_btn a,
.pagination .prev_btn a {
  padding-left: 3px;
  padding-right: 3px;
  color: #222d71;
  background-color: #ebf3f9;
}
.pagination .next_btn a span:before,
.pagination .prev_btn a span:before {
  position: relative;
  top: 1px;
}

/*
	- - - SIDEBAR NAVIGATION - - - - */
.sidebar__widget {
  margin-bottom: 40px;
}
.sidebar__widget:last-of-type {
  margin-bottom: 0;
}

.sticky-menu {
  position: -webkit-sticky;
  position: sticky;
  top: 10px;
}

.secondary-nav,
.secondary-navigation-wrap ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  margin-bottom: 40px;
}
.secondary-nav li,
.secondary-navigation-wrap ul li {
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #fff;
  font-size: 14px;
}
.secondary-nav li a,
.secondary-navigation-wrap ul li a {
  text-decoration: none;
  background: #ebf3f9;
  color: #222d71;
  display: block;
  padding: 10px;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -ms-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
  transition: background-color 0.4s;
  position: relative;
}
.secondary-nav li a:hover,
.secondary-navigation-wrap ul li a:hover {
  background-color: #fff;
}
.secondary-nav li.current_page_item a, .secondary-nav li.current-page-ancestor a,
.secondary-nav li a.current, .secondary-nav li.current-menu-ancestor a, .secondary-nav li.current-menu-parent a,
.secondary-navigation-wrap ul li.current_page_item a,
.secondary-navigation-wrap ul li.current-page-ancestor a,
.secondary-navigation-wrap ul li a.current,
.secondary-navigation-wrap ul li.current-menu-ancestor a,
.secondary-navigation-wrap ul li.current-menu-parent a {
  background-color: #46a0de;
  color: #fff;
}
.secondary-nav li .term-count,
.secondary-navigation-wrap ul li .term-count {
  float: right;
  font-size: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  text-align: center;
  background: #fff;
  color: #222d71;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 2px;
}
.secondary-nav.secondary-nav--page a.current:after,
.secondary-navigation-wrap ul.secondary-nav--page a.current:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  position: absolute;
  right: 10px;
  font-size: 16px;
}
.secondary-nav .current_page_item .sub-menu,
.secondary-nav .current-page-ancestor .sub-menu,
.secondary-nav .current .sub-menu,
.secondary-nav .current-menu-ancestor .sub-menu,
.secondary-nav .current-menu-parent .sub-menu,
.secondary-navigation-wrap ul .current_page_item .sub-menu,
.secondary-navigation-wrap ul .current-page-ancestor .sub-menu,
.secondary-navigation-wrap ul .current .sub-menu,
.secondary-navigation-wrap ul .current-menu-ancestor .sub-menu,
.secondary-navigation-wrap ul .current-menu-parent .sub-menu {
  display: block;
}
.secondary-nav .sub-menu,
.secondary-navigation-wrap ul .sub-menu {
  margin: 0;
  padding: 0;
  margin-bottom: 0;
  display: none;
  list-style-type: none;
}
.secondary-nav .sub-menu li a,
.secondary-navigation-wrap ul .sub-menu li a {
  background-color: transparent;
  color: #46a0de;
}
.secondary-nav .sub-menu li.current-menu-item a,
.secondary-navigation-wrap ul .sub-menu li.current-menu-item a {
  color: #222d71;
}
.secondary-nav .sub-menu li.current-menu-item a:after,
.secondary-navigation-wrap ul .sub-menu li.current-menu-item a:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  float: right;
}

/*
	- - - - Secondary menu on mobile - - - - - */
@media screen and (max-width: 770px) {
  .breadcrumbs,
.secondary-nav {
    display: none;
  }

  /*
  	.secondary-nav >li:not([class*=current]),
  	.secondary-navigation-wrap ul.menu >li:not([class*=current]),
  	.secondary-nav >li.no-children,
  	.secondary-navigation-wrap ul.menu >li.no-children {
  		@include visually-hidden;
  	}
  	.secondary-nav, .secondary-navigation-wrap ul {
  		margin-bottom: 0;
  		a {
  			&:after {
  				@include bhaIcon;
  				content: "\e62c";
  				float: right;
  			}
  			&.state--triggered { 
  				&:after {
  					@include transform( rotate(180deg) );
  					display: inline-block;
  					position: relative;
  				}
  			}
  		}
  	}

  .breadcrumbs {
  //	@include visually-hidden;
  }
  	.breadcrumbs li {
  		display: none;
  		&:nth-of-type(2) {
  			display: block;
  			a {
  				color: $bha-blue;
  				&:after {
  					content: '+';
  					display: inline-block;
  					margin-left: 4px;
  					@include transition(transform .2s);
  				}
  			}
  			&:before {
  				content: ' ';
  			}
  		}
  		a.state--triggered {
  			&:after {
  				@include transform(rotate(45deg));
  			}
  		}
  	}


  	.section-menu {
  		margin: 0;
  		padding: 0;
  		list-style-type: none;
  		height: 0;
  		overflow: hidden;
  		&.state--triggered {
  			margin-bottom: 20px;
  			height: auto;
  		}

  		li {
  			margin: 0; padding: 0;
  			margin-bottom: 2px;
  		}
  		a {
  			padding: 10px;
  			background-color: $bha-blue;
  			color: #fff;
  			display: block;
  			text-decoration: none;
  		}
  	}


  	.sub-menu {
  		border-right: 1px solid $light-grey; 
  		border-left: 1px solid $light-grey; 

  		height: 0;
  		overflow: hidden;

  		&.state--triggered {
  			border-bottom: 1px solid $light-grey;
  			height: auto;
  		}


  		li {
  			margin-bottom: 0;
  			+ li {
  				border-top: 1px solid lighten($light-grey, 20%);
  			}
  		}
  		a {
  			&:after {
  				display: none;
  			}
  			&:hover {
  				background-color:$light-grey;
  			}
  		}
  	}
  */
}
@media screen and (min-width: 600px) {
  .section-menu {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
}
/*
	- - - - - TEST NAV- - - */
.mobile-primary-menu {
  border-bottom: 1px solid #fff;
}
.mobile-primary-menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  background-color: #ebf3f9;
  overflow-x: auto;
}
.mobile-primary-menu ul li {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.mobile-primary-menu ul li + li {
  border-left: 1px solid #fff;
}
.mobile-primary-menu ul li a {
  padding: 10px;
  color: #222d71;
  display: block;
  text-decoration: none;
}

@media screen and (min-width: 600px) {
  .mobile-primary-menu {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
}
.header-wrap {
  border-bottom: 8px solid #46a0de;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.header-wrap .header-wrap__title {
  margin-bottom: 0;
}
.header-wrap .header-wrap__date {
  color: #97a9b8;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin-bottom: 5px;
}
.header-wrap .header-wrap__sub-title {
  width: 100%;
  margin-bottom: 0;
}
@media screen and (max-width: 770px) {
  .header-wrap {
    border-bottom-width: 5px;
  }
}

.header-wrap--align {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .header-wrap {
    margin-bottom: 12px;
  }

  .header-wrap__date {
    font-size: 12px;
    text-transform: uppercase;
  }

  .header-wrap__sub-title {
    font-size: 16px;
  }
}
.toggle {
  margin-bottom: 20px;
}

.non-runners-wrap {
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.non-runners-wrap.state--triggered {
  height: auto;
}

@media (max-width: 600px) {
  .non-runners-wrap {
    margin-bottom: 0;
  }
  .non-runners-wrap.state--triggered {
    margin-bottom: 20px;
  }
}
.non-runners-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #eee;
  padding: 16px;
  margin-top: 10px;
  background-color: #d70722;
  border-radius: 4px;
}
@media screen and (max-width: 600px) {
  .non-runners-list {
    margin-top: 0;
  }
}
.non-runners-list li {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  width: 100%;
  border-bottom: 1px solid #aa1b33;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.non-runners-list li .nr-race-time,
.non-runners-list li .nr-non-runners {
  color: #fff;
}
.non-runners-list li .nr-race-time {
  -webkit-box-flex: 0 0 80px;
  -webkit-flex: 0 0 80px;
  -ms-flex: 0 0 80px;
  flex: 0 0 80px;
  margin-right: 20px;
}
.non-runners-list li:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.non-runners-list li.warning-message {
  background: transparent;
  color: #fff;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.non-runners-list .non-runner-entry {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  width: 100%;
}
.non-runners-list .non-runner-entry + .non-runner-entry {
  margin-top: 10px;
  border-top: 1px solid #c01e3a;
  padding-top: 10px;
}
.non-runners-list .non-runner-entry .entry-title {
  color: #fff;
  margin-right: 20px;
  width: 165px;
  -webkit-box-flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
@media screen and (max-width: 600px) {
  .non-runners-list li {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .non-runners-list li .nr-race-time {
    width: 100%;
    -webkit-box-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
  .non-runners-list .non-runner-entry {
    display: block;
  }
}

/*
.non-runner-entry {
	@include displayflex;
	@include flex-wrap(wrap);
	margin-bottom: 10px;

	.entry-title {
    font-family:'Roboto', sans-serif;
    font-weight: 700;
		width: 100%;
	}
	span {
		display: block;
	}

	span + span {

	}
}
*/
.table-entry.non-runner {
  opacity: 0.5;
}

span.entrystat-lastruns {
  font-size: 0.85em;
}
span.entrystat-lastruns span {
  background: #fbfbfb;
  border: 1px #efefef  solid;
  -webkit-border-radius: 3px 6px;
  -moz-border-radius: 3px 6px;
  border-radius: 3px 6px;
  padding: 1px;
  margin-right: 3px;
}
span.entrystat-lastruns span:last-child {
  margin-right: 0;
}

.fixture-race-upper-buttons {
  border-bottom: 1px solid #ebf3f9;
}

.racecard-controls {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
@media screen and (max-width: 600px) {
  .racecard-controls {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*@include flex-direction(column-reverse);*/
    -ms-align-items: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    /*.txt-btn .icon
    {
    	float: right;
    	margin-left: 12px;
    }*/
  }
  .racecard-controls #fixture-results-link {
    /*width: 100%;*/
    margin-bottom: 10px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
  }
  .racecard-controls .btn--toggle {
    width: 100px;
  }
}

@media (max-width: 600px) {
  .racecard-controls {
    align-items: center;
  }

  .racecard-controls #fixture-results-link {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .racecard-controls .runners-toggle,
.racecard-controls #fixture-results-link {
    margin-bottom: 10px;
  }
}
@media (max-width: 462px) {
  .racecard-controls .txt-btn.fixtures-icon::before,
.racecard-controls .txt-btn .icon {
    display: none;
  }

  .racecard-controls .txt-btn.fixtures-icon {
    padding-left: 0;
    top: 0;
  }
}
.fixture-results-link a.txt-btn {
  white-space: nowrap;
}

.widget .info-list strong, .report-list li .info-list strong {
  color: #222d71;
}
.race-conditions {
  background: #003955;
  color: #fff !important;
  padding: 20px;
  margin-top: -2px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.race-conditions .group-title, .race-conditions .article-body h2, .article-body .race-conditions h2, .race-conditions .article-body h3, .article-body .race-conditions h3 {
  color: #fff;
  margin-right: 40px;
  white-space: nowrap;
  width: 240px;
}
.race-conditions .info-list {
  padding-top: 14px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 0;
  margin-top: -10px;
}
.race-conditions .info-list li {
  width: 50%;
}
.race-conditions .group-title + .info-list, .race-conditions .article-body h2 + .info-list, .article-body .race-conditions h2 + .info-list, .race-conditions .article-body h3 + .info-list, .article-body .race-conditions h3 + .info-list {
  border-top: none;
}
.race-conditions .info-list li {
  color: #fff;
}
.race-conditions .info-list strong,
.race-conditions .info-list a {
  /*color: #3a809b;*/
}
@media screen and (max-width: 770px) {
  .race-conditions {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .race-conditions .group-title, .race-conditions .article-body h2, .article-body .race-conditions h2, .race-conditions .article-body h3, .article-body .race-conditions h3 {
    width: 100%;
    min-width: 100%;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 600px) {
  .race-conditions .info-list li {
    /*width: 100%;*/
    display: inline-block;
    margin-right: 12px;
    width: auto;
  }
}

.group-title-has-subtitle {
  float: left;
  padding-right: 6px;
}

.group-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
}
.group-wrapper p {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
}

.group-wrapper {
  /*
  	P:last-of-type {
  		margin-bottom: 0;
  	}
  */
}
.group-wrapper .layout-inner__col {
  margin-bottom: 20px;
}
.group-wrapper .layout-inner__col:last-of-type {
  margin-bottom: 40px;
}

.raceday-officials,
.post-table-info {
  margin-top: 30px;
}
.raceday-officials p,
.post-table-info p {
  font-size: 14px;
  margin-bottom: 0;
}
.raceday-officials a,
.post-table-info a {
  text-decoration: none;
}

h4.group-title + .info-list {
  border-top: 1px solid #ebf3f9;
  padding-top: 0.75em;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  margin-bottom: 20px;
}
.info-list li {
  margin: 0;
  padding: 0;
  color: #5c6974;
  margin-bottom: 5px;
}
.info-list a {
  color: #46a0de;
  display: inline-block;
  text-decoration: none;
}
.info-list .txt-btn {
  margin-top: 5px;
}

.top-five-table .group-title, .top-five-table .article-body h2, .article-body .top-five-table h2, .top-five-table .article-body h3, .article-body .top-five-table h3 {
  border-bottom: 1px solid #ebf3f9;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.widget, .report-list li {
  margin-bottom: 30px;
  /*padding-bottom: 30px;*/
  border-bottom: 1px solid #ebf3f9;
}
.widget p:last-of-type, .report-list li p:last-of-type {
  margin-bottom: 0;
}
.widget .secondary-nav, .report-list li .secondary-nav {
  margin-bottom: 0;
}

.nav-tabs {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  float: right;
}
@media screen and (max-width: 600px) {
  .nav-tabs {
    float: none;
  }
}
.nav-tabs li {
  margin: 0;
  padding: 0;
}
.nav-tabs li + li {
  margin-left: 8px;
}
.nav-tabs li.ui-tabs-active a {
  background-color: #46a0de;
}
.nav-tabs li.ui-tabs-active a span:before {
  color: #fff;
}
.nav-tabs li a {
  border-radius: 4px;
  padding: 8px;
  text-decoration: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  background-color: #fff;
}
.nav-tabs li a span:before {
  color: #222d71;
}
.nav-tabs li a:focus {
  outline: none;
}

/*
	- - - GOOGLE MAP - - - */
#map_view #map-canvas {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 650px;
}

.infoWindowCustom a {
  color: #5c6974;
}
.infoWindowCustom .infoText span {
  display: block;
  margin-bottom: 10px;
}
.infoWindowCustom .infoText a {
  text-decoration: none;
}
.infoWindowCustom .courseTitle {
  color: #222d71;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.featured-img {
  margin-bottom: 40px;
}
.featured-img img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*
	- - - - RESOURCES - - - - - */
.resources-group {
  margin-bottom: 40px;
}

@media screen and (min-width: 900px) {
  .resources-group {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }

  .resource-link {
    width: calc(50% - 5px);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .full-width .resource-link {
    width: 100%;
  }
}
.resource-link {
  border-bottom: 1px solid #ebf3f9;
  padding: 15px;
}
.resource-link a {
  text-decoration: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.resource-link.link a {
  color: #46a0de;
}
.resource-link.pdf a {
  color: #d70722;
}
.resource-link.doc a, .resource-link.excel a {
  color: #02a361;
}
.resource-link .title, .resource-link .icon {
  position: relative;
  z-index: 99;
}
.resource-link .title span {
  display: block;
}
.resource-link .icon {
  width: 24px;
  height: 32px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  margin-right: 12px;
}
.resource-link .icon-pdf {
  background-image: url(../img/pdf-icon.svg);
}
.resource-link .icon-link {
  background-image: url(../img/link-icon.svg);
}
.resource-link .icon-doc,
.resource-link .icon-excel {
  background-image: url(../img/doc-icon.svg);
}
.resource-link.link:before {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  color: inherit;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
  color: #46a0de;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -ms-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}
.resource-link.link:hover:before {
  opacity: 1;
}
.resource-link.download:before {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  color: inherit;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
  color: #d70722;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -ms-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}
.resource-link.download:hover:before {
  opacity: 1;
}
.resource-link .size {
  color: #97a9b8;
  font-size: 14px;
}

.article-body img {
  margin-bottom: 20px;
}
.article-body.article-body--contact-row {
  margin-top: 40px;
}
.article-body ul, .article-body ol {
  margin: 20px 0;
  padding: 0;
  list-style-type: none;
}
.article-body ul li:before, .article-body ol li:before {
  content: "•";
  color: #46a0de;
  position: absolute;
  left: 0;
  top: 0px;
}
.article-body li {
  color: #5c6974;
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  line-height: 26px;
}
.article-body li a {
  color: #d70722;
}
.article-body ol {
  counter-reset: number-counter;
}
.article-body ol li {
  padding-left: 25px;
}
.article-body ol li:before {
  content: counter(number-counter) ".";
  counter-increment: number-counter;
}
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
}
.article-body p img {
  display: inline-block;
}

/*
	- - - - PERSONNEL  _ _ _ _ _ */
.personnel-thumb .name,
.personnel-modal .name {
  font-size: 16px;
  margin-bottom: 5px;
}
.personnel-thumb .title,
.personnel-modal .title {
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin-bottom: 0;
  line-height: 1.2;
}

.personnel-thumb {
  margin-bottom: 20px;
}
.personnel-thumb a {
  color: inherit;
  text-decoration: none;
}
.personnel-thumb a img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: filter 0.4s;
  -moz-transition: filter 0.4s;
  -ms-transition: filter 0.4s;
  -o-transition: filter 0.4s;
  transition: filter 0.4s;
}
.personnel-thumb:hover a img {
  -webkit-filter: grayscale(0);
  -moz-filter: grayscale(0);
  filter: grayscale(0);
}

.personnel-thumb__img {
  margin-bottom: 10px;
}

/*
	- - - - PERSONNEL MODAL  _ _ _ _ _ */
.personnel-modal .name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 25px;
}
.personnel-modal .title {
  font-size: 22px;
  margin-bottom: 20px;
}

.personnel-modal__img {
  max-width: 200px;
  margin-right: 20px;
  margin-bottom: 20px;
}
.personnel-modal__img img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 600px) {
  .personnel-modal {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }
  .personnel-modal .personnel-modal {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }
  .personnel-modal .personnel-modal__body {
    width: calc(100% - 200px);
  }
  .personnel-modal .personnel-modal__img {
    max-width: 200px;
  }
}
.dk_toggle,
.dk_options {
  display: none;
}

.press-meta {
  color: #5c6974;
}
.press-meta .date:after {
  content: "|";
  margin-left: 10px;
  margin-right: 10px;
}
.press-meta a {
  color: #46a0de;
}

/*
	- - - - OVERVIEW ITEM _ _ _ _ _ */
.overview-item {
  border-bottom: 1px solid #ebf3f9;
  padding-bottom: 20px;
  margin-bottom: 40px;
  overflow: hidden;
  margin-top: 40px;
}
.overview-item + .overview-item {
  margin-top: 0;
}
.overview-item .overview-item__inner {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.overview-item .overview-item__img {
  margin-right: 20px;
  max-width: 300px;
  width: 30%;
  -webkit-box-flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: none;
}
@media screen and (min-width: 770px) {
  .overview-item .overview-item__img {
    display: block;
  }
}
.overview-item .overview-item__img img {
  display: block;
  max-width: 100%;
  height: auto;
}
.overview-item .overview-item__img.overview-item__img--media {
  max-width: 150px;
  width: 25%;
}

.overview-item:first-child {
  border-top: 1px solid #ebf3f9;
  padding-top: 40px;
}

.overview-read-more {
  color: #d70722;
  text-decoration: none;
}

/*
	- - - - TRAINER/JOCKEY TABLE _ _ _ _ _ */
.trainer-table .group-title, .trainer-table .article-body h2, .article-body .trainer-table h2, .trainer-table .article-body h3, .article-body .trainer-table h3,
.trainer-table .group-title + p,
.trainer-table .article-body h2 + p,
.article-body .trainer-table h2 + p,
.trainer-table .article-body h3 + p,
.article-body .trainer-table h3 + p {
  display: inline-block;
}

.claimed-horse-card {
  border-bottom: 1px solid #ebf3f9;
  color: #5c6974;
  padding-bottom: 20px;
  height: calc(100% - 30px);
  margin-bottom: 30px;
}

.claimed-horse-card__race a {
  color: #46a0de;
  text-decoration: none;
}

.claimed-horse-card__amimal {
  color: #222d71;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  display: block;
  margin-top: 10px;
}

.claimed-horse-card__claimer + .claimed-horse-card__claimer:before {
  content: ",";
}

.industry-links-grid .industry-links-grid__item {
  border: 2px solid #ebf3f9;
  margin-bottom: 10px;
}

.industry-links-grid__item {
  position: relative;
  padding-bottom: 40px;
}
.industry-links-grid__item .il-thumbnail {
  text-align: center;
}
.industry-links-grid__item a {
  display: block;
}
.industry-links-grid__item img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.industry-links-grid__item a.link {
  position: absolute;
  left: 20px;
  bottom: 20px;
}

/*
	- - - -DEPARTMENT CONTACTS _ _ _ _ _ */
.department-contacts .layout-inner__col {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-justify-content: flex-end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
.department-contacts .department-contact p {
  font-size: 14px;
  line-height: 1.5;
}
.department-contacts a img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: filter 0.4s;
  -moz-transition: filter 0.4s;
  -ms-transition: filter 0.4s;
  -o-transition: filter 0.4s;
  transition: filter 0.4s;
}
.department-contacts a:hover img {
  -webkit-filter: grayscale(0);
  -moz-filter: grayscale(0);
  filter: grayscale(0);
}

.department-contact {
  border: 2px solid #ebf3f9;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  padding: 20px;
  font-size: 16px;
}
.department-contact .department-contact__img,
.department-contact .department-contact__bdy {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.department-contact .department-contact__img {
  width: 40%;
}
.department-contact .department-contact__bdy {
  width: 60%;
  padding-left: 20px;
  position: relative;
}
.department-contact .department-contact__bdy a {
  color: #d70722;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  position: absolute;
  bottom: -4px;
  left: 20px;
}
.department-contact .department-contact__img {
  margin: 0;
  padding: 0;
}
.department-contact .department-contact__img img {
  display: block;
  max-width: 100%;
  height: auto;
}

.department-contact__title {
  color: #5c6974;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0;
}

input, select, textarea {
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px 12px 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  border: 1px solid #111a4e;
  margin-bottom: 4px;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: inset 0 1px 3px rgba(168, 175, 180, 0.4);
  color: #757575;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #161d4a;
}
@media screen and (max-width: 600px) {
  input, select, textarea {
    font-size: 16px;
  }
}
input[disabled=disabled], select[disabled=disabled], textarea[disabled=disabled] {
  opacity: 0.5;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
}
select:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
}

select::-ms-expand {
  display: none;
}

.primary-search {
  background-color: #222d71;
  color: #757575;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -o-transition: transform 0.3s;
  transition: transform 0.3s;
  z-index: 99;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
}
.primary-search input {
  background-color: transparent;
  border-color: transparent;
  color: #fff;
  position: absolute;
  top: 4px;
  left: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border-radius: 0;
}
.primary-search input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #4ba1dc;
}
.primary-search input::-moz-placeholder {
  /* Firefox 19+ */
  color: #4ba1dc;
}
.primary-search input:-ms-input-placeholder {
  /* IE 10+ */
  color: #4ba1dc;
}
.primary-search input:-moz-placeholder {
  /* Firefox 18- */
  color: #4ba1dc;
}
.primary-search form {
  max-width: 1024px;
}
.primary-search .close-form {
  text-decoration: none;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-35%);
  -moz-transform: translateY(-35%);
  -ms-transform: translateY(-35%);
  -o-transform: translateY(-35%);
  transform: translateY(-35%);
  right: 10px;
  font-size: 26px;
}
.primary-search .close-form:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  color: #4ba1dc;
  display: inline-block;
  text-decoration: none;
}

html.show-search .primary-search {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -o-transform: translateY(0%);
  transform: translateY(0%);
}

@media screen and (min-width: 820px) {
  .primary-search input {
    font-size: 30px;
  }
  .primary-search .close-form {
    font-size: 50px;
    -webkit-transform: translateY(-40%);
    -moz-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    -o-transform: translateY(-40%);
    transform: translateY(-40%);
  }
}
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

/*
.page-title + .search-filter-form {
	margin-top: -20px;
}
*/
.search-filter-form {
  border-top: 10px solid #46a0de;
  background-color: #222d71;
  margin-bottom: 48px;
  padding: 12px;
}
.search-filter-form p {
  color: #fff;
}
.search-filter-form p.note {
  width: 100%;
  margin-bottom: 0;
}
.search-filter-form .form-or {
  padding: 0 10px;
  position: relative;
  top: 8px;
}
.search-filter-form .control__label:not(.show) {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.search-filter-form label {
  color: #fff;
}
.search-filter-form .control .search-note {
  background-color: #46a0de;
  line-height: normal;
  padding: 0.375em 0.75em;
  z-index: 3;
}
.search-filter-form .form-note a {
  color: #fff;
}

@media (max-width: 600px) {
  .search-filter-form {
    margin-bottom: 24px;
  }
}
.stacked-form .control__label:not(.show),
.form__application .control__label:not(.show) {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.stacked-form .control__field,
.form__application .control__field {
  overflow: hidden;
}
.stacked-form [type=submit],
.form__application [type=submit] {
  border: none;
  float: right;
}
.stacked-form input, .stacked-form textarea,
.form__application input,
.form__application textarea {
  border-color: #9aa4a8;
}
.stacked-form textarea,
.form__application textarea {
  min-height: 100px;
}
.stacked-form .control,
.form__application .control {
  margin-bottom: 20px;
}

.control--error input, .control--error textarea {
  border-color: #d70722;
}

.error {
  color: #d70722;
  padding: 10px 0;
  font-size: 14px;
}

@media screen and (min-width: 600px) {
  .search-filter-form .form-note {
    padding: 0 0.75em 0 1.5em;
  }
  .search-filter-form .form-note a {
    padding: 0 0.75em;
  }
}
.search-filter-form--space-between {
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
.search-filter-form--space-between > div {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.search-filter-form--space-between div:last-of-type {
  margin-left: 10px;
}
.search-filter-form--space-between > div:first-of-type {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-align-content: stretch;
  -ms-align-content: stretch;
  align-content: stretch;
}
.search-filter-form--space-between > div:first-of-type .control + .control {
  margin-top: 0;
  margin-left: 10px;
}
@media screen and (min-width: 600px) {
  .search-filter-form--space-between .btn {
    font-size: 14px;
  }
}
@media screen and (max-width: 600px) {
  .search-filter-form--space-between .btn {
    position: relative;
    top: 1px;
  }
}

.check-style {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  border: 1px solid #111a4e;
  margin-bottom: 4px;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(168, 175, 180, 0.4);
  position: relative;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 4px;
}
.check-style input,
.check-style span,
.check-style span:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.check-style input {
  z-index: 999;
  opacity: 0;
}
.check-style span,
.check-style span:after {
  opacity: 1;
  text-align: center;
}
.check-style span:after {
  content: " ";
}
.check-style input:checked + span:after {
  background: url(../img/check.svg) no-repeat center center;
  background-size: 12px auto;
}

.modal .control {
  margin-bottom: 20px;
}
.modal label {
  color: #5c6974;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.icheckbox {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  border: 1px solid #111a4e;
  margin-bottom: 4px;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(168, 175, 180, 0.4);
  position: relative;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.icheckbox.checked:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 2px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  bottom: 0;
  text-align: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  background: url(../img/check.svg) no-repeat center center;
  background-size: 12px auto;
}

.control {
  position: relative;
}
.control .search-note {
  position: absolute;
  top: 100%;
  left: 0;
}

@media screen and (max-width: 600px) {
  .control + .control {
    margin-top: 4px;
  }
}
.control__field {
  position: relative;
}
.control__field .icon {
  position: absolute;
  top: 50%;
  right: 8px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #97a9b8;
  pointer-events: none;
}

.search-filter-form .control__field .icon {
  margin-top: -2px;
}

@media screen and (min-width: 600px) {
  .search-filter-form {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -ms-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .search-filter-form .control + .control {
    margin-left: 10px;
  }
  .search-filter-form .control:not(.control--submit) {
    min-width: 25%;
  }

  .flex-fields {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }
}
/*------------------------------------*\
    #FORM - APPLICATION
\*------------------------------------*/
.form__application label {
  display: block;
  margin-bottom: 6px;
}

.form__application .form-elem {
  margin-bottom: 12px;
}

.form__application .icheckbox {
  margin-right: 10px;
}

.form__application .four-col {
  display: flex;
  flex-wrap: wrap;
}

.form__application .four-col > * {
  box-sizing: border-box;
  flex: 1 0 auto;
  padding-right: 10px;
}

@media screen and (min-width: 770px) {
  .form__application .four-col > * {
    flex: 1 0 25%;
  }
}
.form__application .btn {
  border-color: #d70722;
  width: auto;
  float: left;
  display: inline-block;
}
.form__application .btn[disabled] {
  opacity: 0.5;
}

.form-processing {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.form-processing .img-wrap {
  margin: auto;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
}
.form-processing img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*
.form__application input[type='button'],
.form__application input[type='submit'] {
	background-color: $light-blue;
	border-color: darken($light-blue, 20%);
	border-width: 1px;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 lighten($light-blue, 20%);
	color: #fff;
	min-width: 200px;
	text-align: left;
	width: auto;
	text-align: center;
	&[disabled] {
		opacity: 0.5;
	}
}
*/
.btn {
  padding: 10px 12px 6px;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  background-color: #d5102a;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e91d38+0,b4081f+100 */
  background: #e91d38;
  /* Old browsers */
  background: -moz-linear-gradient(top, #e91d38 0%, #b4081f 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #e91d38 0%, #b4081f 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #e91d38 0%, #b4081f 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#e91d38", endColorstr="#b4081f",GradientType=0 );
  /* IE6-9 */
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.btn.btn--secondary {
  background-image: none;
  background-color: #46a0de;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 14px;
  border-color: #3482b7;
}
.btn:hover {
  text-decoration: none;
}
.btn:focus {
  outline: none;
}

.btn--follow {
  background: none;
  background-color: #46a0de;
  border-color: #2488cd;
  color: #fff;
  display: block;
}
.btn--follow:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  float: right;
}

.btn--twitter {
  text-transform: none;
}

.btn--toggle {
  background-color: #d70722;
  font-size: 14px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #d70722;
  text-decoration: none;
  white-space: nowrap;
}
.btn--toggle span {
  position: relative;
  top: 2px;
  display: inline-block;
  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -ms-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;
}
.btn--toggle span + span {
  margin-bottom: 20px;
}
.btn--toggle.state--triggered span {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.txt-btn {
  padding: 0px 10px;
  padding-left: 0;
  background: transparent;
  color: #46a0de;
  text-decoration: none;
}
.txt-btn + .txt-btn {
  border-left: 1px solid #ebf3f9;
  padding-left: 10px;
}

.txt-btn:first-of-type {
  border-left: none;
  padding-left: none;
}

@media (max-width: 600px) {
  .txt-btn + .txt-btn {
    border-left: none;
  }
}
/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */
.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* draggable */
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */
.flickity-prev-next-button {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  cursor: pointer;
  background-color: #ebf3f9;
  border: none;
}
.flickity-prev-next-button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  opacity: 0.6;
}

.flickity-prev-next-button.previous {
  left: -36px;
}
.flickity-prev-next-button.previous svg {
  left: 8px;
  top: 8px;
}

.flickity-prev-next-button.next {
  right: -36px;
}
.flickity-prev-next-button.next svg {
  right: 8px;
}

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 0px;
}

.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 0px;
}

.flickity-prev-next-button:disabled {
  background-color: #f3f8fb;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.flickity-prev-next-button .arrow {
  fill: #222d71;
}

/* ---- page dots ---- */
.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

/*
	- - HERO
- - */
.home-hero {
  padding-top: 20px;
  padding-bottom: 0;
  background: #d8e6f1 url(../img/hero-bg.png) no-repeat center center;
  background-size: auto 100%;
  text-align: center;
  overflow: hidden;
}
.home-hero .inner {
  padding-bottom: 0;
  position: relative;
}
.home-hero .hero-cut-out {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.find-fixtures-panel {
  background-color: #222d71;
  color: #fff;
  padding: 12px;
  text-align: left;
  font-size: 16px;
  max-width: 986px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  bottom: 60px;
  left: 12px;
  right: 12px;
  z-index: 10;
}
@media screen and (min-width: 900px) {
  .find-fixtures-panel {
    left: 36px;
    right: 36px;
    padding: 24px;
  }
}
.find-fixtures-panel ul {
  list-style-type: none;
}
.find-fixtures-panel ul, .find-fixtures-panel li {
  margin: 0;
  padding: 0;
}
.find-fixtures-panel a {
  color: #fff;
  text-decoration: none;
}
.find-fixtures-panel a:hover {
  text-decoration: underline;
}

.search-switch {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  font-size: 14px;
}
.search-switch li + li:before {
  content: "•";
  color: #656c9c;
  margin-right: 2px;
  margin-left: 5px;
  display: inline-block;
}

a.ffp-toggle {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  text-decoration: none !important;
}
a.ffp-toggle:before, a.ffp-toggle:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
}
a.ffp-toggle:before {
  content: "";
}
a.ffp-toggle:after {
  content: "";
}

.ffp-toggle-content {
  display: none;
}

.find-fixtures-panel.show-form .ffp-toggle-content {
  display: block;
}
.find-fixtures-panel.show-form a.ffp-toggle {
  background-color: #161d4a !important;
  border-color: #222d71 !important;
  background-image: none;
  color: #fff;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.25);
}
.find-fixtures-panel.show-form a.ffp-toggle:after {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.find-fixtures-panel__title {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

@media screen and (max-width: 820px) {
  .next-fix {
    margin-bottom: 30px;
  }
}
.next-fix-title {
  background: #46a0de;
  color: #fff;
  padding: 12px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  position: relative;
  z-index: 99;
  position: absolute;
  left: 12px;
  top: 0;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
@media screen and (min-width: 900px) {
  .next-fix-title {
    left: 36px;
  }
}
.next-fix-title:after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(70, 160, 222, 0);
  border-top-color: #46a0de;
  border-width: 5px;
  margin-left: -5px;
}

.fixtures-search-fields input,
.fixtures-search-fields select {
  margin-bottom: 0;
  padding-right: 25px;
}
.fixtures-search-fields .control + .control {
  margin-top: 0;
}

@media screen and (min-width: 600px) {
  .ffp-toggle-content {
    display: block;
  }

  a.ffp-toggle {
    display: none;
  }

  .fixtures-search-fields {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -ms-align-items: center;
    -webkit-align-items: center;
    align-items: center;
  }
  .fixtures-search-fields .control {
    margin-bottom: 0;
  }
  .fixtures-search-fields .control.control--flex {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
  }
  .fixtures-search-fields .control + .control {
    margin-left: 10px;
  }

  .search-switch {
    float: right;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@media screen and (max-width: 600px) {
  ul.search-switch {
    margin-bottom: 10px;
  }

  .fixtures-search-fields {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .fixtures-search-fields .control {
    width: calc( 50% - 5px );
    margin-bottom: 10px;
  }
  .fixtures-search-fields [type=submit] {
    display: block;
    width: 100%;
  }
}
@media screen and (min-width: 820px) {
  .home-hero .inner {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
  }
  .home-hero .inner h1 {
    text-align: left;
  }
  .home-hero .inner .img-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -ms-align-items: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
  }
}
.home-hero h1 {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  font-size: 22px;
}
@media screen and (min-width: 600px) {
  .home-hero h1 {
    font-size: 36px;
  }
  .home-hero h1 .sub-title {
    font-size: 16px;
  }
}
@media screen and (min-width: 820px) {
  .home-hero h1 {
    font-size: 42px;
    padding-bottom: 160px;
  }
}

@media screen and (min-width: 820px) {
  .nav-hide {
    display: none !important;
    visibility: hidden;
  }
}
@media screen and (max-width: 820px) {
  .nav-show {
    display: none !important;
    visibility: hidden;
  }
}
@media screen and (max-width: 770px) {
  .tablet-hide {
    display: none;
  }

  a:hover .tablet-hide,
.view-card:hover .tablet-hide {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .mobile-hide {
    display: none;
  }

  a:hover .mobile-hide,
.view-card:hover .mobile-hide {
    display: none;
  }
}
.page-template-fixture-racecard-race .fixture-results-btn {
  display: none;
}

.page-template-fixture-results .txt-btn.fixtures-icon {
  display: none;
}

.page-template-result .fixture-race-results-btn {
  display: none;
}

.unlist {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.unlist li {
  margin: 0;
  padding: 0;
}

.hl--r {
  color: #d70722;
}

/*
	- - - COOKIE BAR - - - */
body #catapult-cookie-bar {
  background: rgba(34, 45, 113, 0.85);
  color: #fff;
}
body #catapult-cookie-bar a {
  color: #fff;
}
body #catapult-cookie-bar button#catapultCookie {
  background-color: #fff;
  color: #005680;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

@media screen and (max-width: 600px) {
  .aligncenter,
.alignleft,
.alignright {
    float: none;
    display: block;
    margin: 20px auto;
  }
  .aligncenter img,
.alignleft img,
.alignright img {
    max-width: 100%;
    display: block;
    height: auto;
  }
}
div.faq[style] {
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

.category {
  color: #5c6974;
}

.faq-accordian[style] {
  height: auto !important;
}

/*
.accordion__content {
	li {
		color: $dark-grey;
		font-size: 14px;
		line-height: 21px;
	}
}*/
.highlight {
  background-color: #00afff !important;
  color: #fff !important;
}

.header-wrap + .external-iframe {
  margin-top: -30px;
}

.table-cell.racecourse .fix-snip__img {
  top: 12px;
}

.the-course img {
  display: block;
  max-width: 100%;
  height: auto;
}

.table-header a.highlight {
  background-color: transparent;
}

.block-overflow-link {
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  overflow: hidden;
}

.photo-finish-band {
  -webkit-align-self: flex-end;
  -ms-align-self: flex-end;
  align-self: flex-end;
  margin-bottom: 5px;
  font-size: 14px;
}
.photo-finish-band a {
  white-space: nowrap;
}
.photo-finish-band a:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  position: relative;
  top: 2px;
  margin-left: 4px;
}
.photo-finish-band a:hover {
  cursor: pointer;
}
.photo-finish-band a.open:after {
  content: "";
}

.photo-finish-photo {
  display: block;
  position: relative;
}
.photo-finish-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.photo-finish-photo a.enlarge-toggle {
  background-color: #d70722;
  padding: 8px 16px;
  color: #fff;
  position: relative;
  display: inline-block;
  float: right;
  z-index: 2;
  top: 0;
}
.photo-finish-photo a.enlarge-toggle span {
  position: relative;
  top: 2px;
}
.photo-finish-photo a.photofinish {
  padding: 0;
  position: relative;
  z-index: 1;
  top: -36px;
  right: 0;
}

.article img {
  max-width: 100%;
  height: auto;
  display: block;
}
.article h1,
.article .post-title {
  font-size: 16px;
  color: #222d71;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.4;
}
.article h1 a,
.article .post-title a {
  color: inherit;
  text-decoration: none;
}
.article figure {
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
  position: relative;
}
.article .meta-post-type {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #fd8a26;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  padding: 10px 15px 5px;
}
.article .date {
  display: block;
  color: #97a9b8;
  margin-bottom: 10px;
}
.article:not(.article--featured) p {
  font-size: 14px;
  line-height: 21px;
}
.article .thumbnail-text {
  padding: 20px;
  background: #f0f0f0;
  margin-bottom: 20px;
  min-height: 189px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
.article.article--single p {
  font-size: 16px;
  line-height: 24px;
}
.article.article--single a {
  color: #d70722;
  text-decoration: none;
}
.article.article--single a:hover {
  text-decoration: underline;
}
@media screen and (min-width: 600px) {
  .article.article--single p {
    padding-right: 40px;
    max-width: 840px;
  }
}

@media screen and (max-width: 770px) {
  .article,
.twitter-widget {
    margin-bottom: 40px;
  }
}
.article--press-release {
  border-bottom: 1px solid #dce7ef;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.article--press-release h1 {
  font-size: 18px;
}
@media screen and (min-width: 600px) {
  .article--press-release:first-of-type h1 {
    font-size: 30px;
  }
  .article--press-release:first-of-type p {
    font-size: 16px;
  }
}

.article--featured h1 {
  font-size: 30px;
}
.article--featured img {
  width: 100%;
}
@media screen and (max-width: 600px) {
  .article--featured h1 {
    font-size: 24px;
    line-height: 1.3;
  }
}

.post-categories {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.post-categories li {
  margin: 0;
  padding: 0;
}
.post-categories a {
  text-decoration: none;
  color: #46a0de;
}

a.rm {
  color: #d70722;
  text-decoration: none;
}

.sign-up-widget {
  background-color: #005680;
  padding: 25px;
  margin-bottom: 30px;
}
.sign-up-widget p {
  color: #b0bfcc;
  margin-bottom: 0;
}
.sign-up-widget p a {
  color: #fff;
}

.sign-up-widget__title {
  color: #fff;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-weight: normal;
}

html {
  background-color: #f0f0f0;
}

body {
  max-width: 1400px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.flex-pair > * {
  margin-bottom: 20px;
}
@media screen and (min-width: 600px) {
  .flex-pair {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .flex-pair > * {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .flex-pair > * {
    margin-bottom: 10px;
  }
}
.layout--four,
.layout-inner--four {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.layout--four .layout__item,
.layout--four .layout-inner__item,
.layout-inner--four .layout__item,
.layout-inner--four .layout-inner__item {
  width: calc( 50% - 15px);
}
.layout--four .layout__item + .layout__item,
.layout--four .layout__item + .layout-inner__item,
.layout--four .layout-inner__item + .layout__item,
.layout--four .layout-inner__item + .layout-inner__item,
.layout-inner--four .layout__item + .layout__item,
.layout-inner--four .layout__item + .layout-inner__item,
.layout-inner--four .layout-inner__item + .layout__item,
.layout-inner--four .layout-inner__item + .layout-inner__item {
  margin-left: 20px;
}
.layout--four .layout__item:nth-of-type(2n+1),
.layout--four .layout-inner__item:nth-of-type(2n+1),
.layout-inner--four .layout__item:nth-of-type(2n+1),
.layout-inner--four .layout-inner__item:nth-of-type(2n+1) {
  margin-left: 0;
}

@media screen and (max-width: 700px) {
  .layout-inner__col,
.layout-inner__item,
.layout-inner__main,
.layout-inner__side {
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 700px) {
  .layout-inner {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .layout-inner--thirds,
.industry-links-grid__inner {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout-inner--thirds .layout__main,
.industry-links-grid__inner .layout__main {
    width: calc(75% - 10px);
  }
  .layout-inner--thirds .layout-inner__main,
.industry-links-grid__inner .layout-inner__main {
    width: calc(67.5% - 10px);
  }
  .layout-inner--thirds .layout__side,
.industry-links-grid__inner .layout__side {
    width: calc(25% - 10px);
  }
  .layout-inner--thirds .layout-inner__side,
.industry-links-grid__inner .layout-inner__side {
    width: calc(32.5% - 10px);
  }
  .layout-inner--thirds .layout__main + .layout__side,
.layout-inner--thirds .layout-inner__main + .layout-inner__side,
.layout-inner--thirds .layout-inner__side + .layout-inner__main,
.layout-inner--thirds .layout__side + .layout__main,
.industry-links-grid__inner .layout__main + .layout__side,
.industry-links-grid__inner .layout-inner__main + .layout-inner__side,
.industry-links-grid__inner .layout-inner__side + .layout-inner__main,
.industry-links-grid__inner .layout__side + .layout__main {
    margin-left: 20px;
  }
  .layout-inner--thirds .layout-inner__col,
.industry-links-grid__inner .layout-inner__col {
    width: calc( 33.33% - 13.33px);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .layout-inner--thirds .layout-inner__col + .layout-inner__col,
.industry-links-grid__inner .layout-inner__col + .layout-inner__col {
    margin-left: 20px;
  }
  .layout-inner--thirds .layout-inner__col:nth-of-type(3n+1),
.industry-links-grid__inner .layout-inner__col:nth-of-type(3n+1) {
    margin-left: 0;
  }
  .layout-inner--thirds .layout-inner__col:nth-of-type(3) ~ .layout-inner__col,
.industry-links-grid__inner .layout-inner__col:nth-of-type(3) ~ .layout-inner__col {
    margin-top: 20px;
  }

  .layout-inner--two {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout-inner--two .layout-inner__col {
    width: calc( 50% - 10px);
  }
  .layout-inner--two .layout-inner__col + .layout-inner__col {
    margin-left: 20px;
  }
  .layout-inner--two .layout-inner__col:nth-of-type(2n+1) {
    margin-left: 0;
  }
  .layout-inner--two .layout-inner__col:nth-of-type(2) ~ .layout-inner__col {
    margin-top: 20px;
  }

  .layout__thirds .layout-inner__main + .layout-inner__side,
.layout__thirds .layout-inner__side + .layout-inner__main {
    margin-left: 20px;
  }
  .layout__thirds .layout-inner__col {
    width: calc( 33.33% - 13.33px);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .layout__thirds .layout-inner__col + .layout-inner__col {
    margin-left: 20px;
  }
  .layout__thirds .layout-inner__col:nth-of-type(3n+1) {
    margin-left: 0;
  }
  .layout__thirds .layout-inner__col:nth-of-type(3) ~ .layout-inner__col {
    margin-top: 20px;
  }

  .layout-inner__side article + article {
    margin-top: 20px;
  }

  .layout-inner--three {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout-inner--three .layout-inner__item,
.layout-inner--three .layout-inner__col {
    width: calc( 33.3% - 15px);
  }
  .layout-inner--three .layout-inner__item + .layout-inner__item,
.layout-inner--three .layout-inner__item + .layout-inner__col,
.layout-inner--three .layout-inner__col + .layout-inner__item,
.layout-inner--three .layout-inner__col + .layout-inner__col {
    margin-left: 20px;
  }
  .layout-inner--three .layout-inner__item:nth-of-type(3n+1),
.layout-inner--three .layout-inner__col:nth-of-type(3n+1) {
    margin-left: 0;
  }

  .layout-inner--four {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout-inner--four .layout-inner__item {
    width: calc( 25% - 15px);
  }
  .layout-inner--four .layout-inner__item + .layout-inner__item {
    margin-left: 20px;
  }
  .layout-inner--four .layout-inner__item:nth-of-type(4n+1) {
    margin-left: 0;
  }
}
@media screen and (min-width: 770px) {
  .layout {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .industry-links-grid {
    width: 100%;
  }

  .industry-links-grid__inner {
    margin-left: -5px;
    margin-right: -5px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    flex: 0 1 auto;
    flex-flow: wrap;
  }
  .industry-links-grid__inner .industry-links-grid__item {
    width: calc(33.33% - 10px);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 5px;
    margin-right: 5px;
  }

  .layout--thirds {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*
    .layout-inner__col {
    	width: calc( 33.33% - 13.33px);
    	@include box-sizing(border-box);
    	+ .layout-inner__col {
    		margin-left: 20px;
    	}

    	&:nth-of-type(3n+1) {
    		margin-left: 0;
    	}
    	&:nth-of-type(3) ~ .layout-inner__col {
    		margin-top: 20px;
    	}
    }
    */
  }
  .layout--thirds .layout__main {
    width: calc(75% - 10px);
  }
  .layout--thirds .layout-inner__main {
    width: calc(67.5% - 10px);
  }
  .layout--thirds .layout__side {
    width: calc(25% - 10px);
  }
  .layout--thirds .layout-inner__side {
    width: calc(32.5% - 10px);
  }
  .layout--thirds .layout__main + .layout__side,
.layout--thirds .layout__side + .layout__main {
    margin-left: 20px;
  }

  /*
  	.layout-inner--two {
  		@include flex-wrap(wrap);
  		.layout-inner__col {
  			width: calc( 50% - 10px);
  			+ .layout-inner__col {
  				margin-left: 20px;
  			}

  			&:nth-of-type(2n+1) {
  				margin-left: 0;
  			}
  			&:nth-of-type(2) ~ .layout-inner__col {
  				margin-top: 20px;
  			}
  		}
  	}*/
  .layout--four {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .layout--four .layout__item {
    width: calc( 25% - 15px);
  }
  .layout--four .layout__item + .layout__item {
    margin-left: 20px;
  }
  .layout--four .layout__item:nth-of-type(4n+1) {
    margin-left: 0;
  }
}
.single-column {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.page-footer {
  background: #222d71;
  color: #fff;
}
.page-footer a {
  color: #fff;
}
.page-footer p {
  color: #fff;
}
.page-footer img + .textwidget {
  margin-top: 35px;
}
@media screen and (max-width: 900px) {
  .page-footer {
    padding-top: 30px;
  }
}

.footer-contact-row {
  padding-bottom: 20px;
  border-bottom: 1px solid #323e86;
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
}
.footer-contact-row a {
  color: #fff;
  text-decoration: none;
  text-decoration: none;
}
.footer-contact-row a + a {
  margin-left: 20px;
}
.footer-contact-row strong {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.footer-contact-row .textwidget {
  float: left;
}
.footer-contact-row .textwidget p {
  line-height: normal;
  margin-bottom: 0;
}

.socials {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.socials li {
  margin: 0;
  padding: 0;
}
.socials li span:before {
  font-size: 25px;
}
.socials li + li {
  margin-left: 10px;
}

.social-icon {
  width: 25px;
  height: 25px;
  display: block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.social-icon__yt {
  background-image: url(../img/social-youtube.svg);
}

.social-icon__linkedin {
  background-image: url(../img/social-linkedin.svg);
}

.social-icon__instagram {
  background-image: url(../img/social-instagram.svg);
}

.footer-menus {
  padding-top: 40px;
  padding-bottom: 20px;
}
.footer-menus h2 {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-menus ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.footer-menus ul li {
  margin: 0;
  padding: 0;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.footer-menus ul li.bha-publications {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: none;
}
.footer-menus a {
  text-decoration: none;
  color: #46a0de;
}

.menu-footer-upper-container,
.menu-footer-legals-container {
  display: inline;
}

.inline-menu {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: inline;
}
.inline-menu li {
  display: inline;
}

.menu-footer-upper-container li {
  margin-left: 20px;
}

.footer-legals {
  border-top: 1px solid #323e86;
  color: #46a0de;
  font-size: 12px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.footer-legals a {
  color: inherit;
  text-decoration: none;
}
.footer-legals .design-by-link a {
  color: #368bc6;
}

.menu-footer-legals-container ul li a {
  color: #46a0de;
}
.menu-footer-legals-container li {
  margin-left: 10px;
}
.menu-footer-legals-container li + li:before {
  content: "|";
  color: #323e86;
  margin-right: 10px;
}

@media screen and (min-width: 770px) {
  .footer-contact-row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-align-items: center;
    -webkit-align-items: center;
    align-items: center;
  }
}
@media screen and (max-width: 600px) {
  .page-footer .layout__side {
    margin-bottom: 20px;
  }

  .footer-contact-row > div,
.footer-contact-row .menu-footer-upper-container {
    margin-bottom: 20px;
  }
  .footer-contact-row .menu-footer-upper-container {
    display: block;
  }
  .footer-contact-row .menu-footer-upper-container li {
    margin-left: 0;
    margin-right: 10px;
  }

  .footer-menus {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .footer-menus .layout-inner__item {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  .footer-menus .layout-inner__item:nth-of-type(2n) {
    margin-left: 20px;
  }

  .footer-legals {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .menu-footer-legals-container {
    display: block;
    margin-top: 10px;
  }
  .menu-footer-legals-container li {
    margin-left: 5px;
    white-space: nowrap;
  }
  .menu-footer-legals-container li + li:before {
    display: none;
  }
}
/*------------------------------------*\
    #TABLE WITHIN WP CONTENT
\*------------------------------------*/
table {
  max-width: 100%;
}

table + table {
  margin-top: 60px;
}

th,
td {
  padding: 0.75em;
}

th {
  background-color: #005680;
  color: #fff;
  font-weight: normal;
  text-align: left;
}

td {
  border-bottom: 1px solid #ebf3f9;
  color: #5c6974;
}

/*
@include respond-min($breakpoint--tablet) {
	.table-wrap {
		max-width: 100%;
		overflow-x: auto;
	}
}
@include respond-max($breakpoint--tablet) {
	.table-wrap {
		position: relative;
		left: 5px;
		margin-left: -10px; 
		margin-right: -10px; 
		clear: both;

		caption, 
		th:first-of-type, 
		td:first-of-type {
			padding-left: 17px;	
		}
		caption, 
		th:last-of-type, 
		td:last-of-type {
			padding-right: 17px;	
		}	

		margin-bottom: 40px;
		table {
			margin-bottom: 0;
		}


		&:before,
		&:after {
			content: ' ';
			display: block;
			position: absolute;
			top: 0; bottom: 0;
			background: rgba(0,0,0,0.4);

			//background: transparent;
			width: 10px;

			z-index: 1;
		}

		&:before {
			width: 5px;
		}

		&:before {
			left: 0px;
			background: -moz-linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0,0,0,0.25)), color-stop(100%, rgba(255,255,255,0))); 
			background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: -o-linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: -ms-linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#808080', endColorstr='#ffffff',GradientType=1 );

		}
		&:after {
			right: 0px;
			background: -moz-linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(0,0,0,0.25))); 
			background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: -o-linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%); 
			background: -ms-linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%);
			background: linear-gradient(270deg, rgba(0,0,0,0.25) 0%, rgba(255,255,255,0) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#808080',GradientType=1 ); 
		}	


	}	

	.table-wrap__inner {
		max-width: 100%;
		overflow-x: auto;
		@include box-sizing(border-box);

		table,
		.table {
			position: relative;

			&:before,
			&:after {
				content: ' ';
				display: block;
				width: 10px;
				position: absolute;
				top: 0; bottom: 0;
				background: #fff;
				z-index: 2;
			}
			&:before {
				left: 0px;
				width: 5px;
			}
			&:after {
				right: -5px;
			}		
		}
	}
	// __ table wrap
} //__ media Q

*/
/*
	TABLE WRAP X SCROLL */
.table-wrap {
  position: relative;
  margin-left: -5px;
  margin-right: -5px;
  clear: both;
  margin-bottom: 40px;
}
.table-wrap caption,
.table-wrap th:first-of-type,
.table-wrap td:first-of-type {
  padding-left: 17px;
}
.table-wrap caption,
.table-wrap th:last-of-type,
.table-wrap td:last-of-type {
  padding-right: 17px;
}
.table-wrap table,
.table-wrap .table {
  margin-bottom: 0;
}
.table-wrap:before, .table-wrap:after {
  content: " ";
  display: block;
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  width: 5px;
  z-index: 1;
}
.table-wrap:before {
  left: 0px;
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  /* ff3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(255, 255, 255, 0)));
  /* safari4+,chrome */
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  /* safari5.1+,chrome10+ */
  background: -o-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  /* opera 11.10+ */
  background: -ms-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  /* ie10+ */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  /* w3c */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#808080", endColorstr="#ffffff",GradientType=1 );
}
.table-wrap:after {
  right: 0px;
  background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
  /* ff3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
  /* safari4+,chrome */
  background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
  /* safari5.1+,chrome10+ */
  background: -o-linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
  /* opera 11.10+ */
  background: -ms-linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
  /* ie10+ */
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
  /* w3c */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#808080",GradientType=1 );
  /* ie6-9 */
}

.table-wrap__inner {
  max-width: 100%;
  overflow-x: auto;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.table-wrap__inner table,
.table-wrap__inner .table {
  position: relative;
}
.table-wrap__inner table:before, .table-wrap__inner table:after,
.table-wrap__inner .table:before,
.table-wrap__inner .table:after {
  content: " ";
  display: block;
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  background: #fff;
  z-index: 2;
}
.table-wrap__inner table:before,
.table-wrap__inner .table:before {
  left: 0px;
}
.table-wrap__inner table:after,
.table-wrap__inner .table:after {
  right: 0px;
}

/*------------------------------------*\
    #STACKED-TABLES
\*------------------------------------*/
/*
 * As per Andy's Pen - https://codepen.io/andykleeman/pen/LcHAa
 */
@media (max-width: 600px) {
  .table-stacked .table {
    border-top: 1px solid #ebf3f9;
    min-width: 100%;
  }

  .table-stacked .table-header {
    display: none;
  }

  .table-stacked .table-entry .tr {
    display: block;
    padding-bottom: 0;
  }

  .table-stacked .tr .table-cell {
    display: block;
    padding: 12px 12px 0;
    overflow: hidden;
    width: 100%;
  }

  .table-stacked .tr .table-cell[data-header-title]:before {
    color: #5c6974;
    content: attr(data-header-title) ":";
    display: block;
    float: left;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 16px;
    width: 25%;
  }

  .table-stacked .table-entry.open .racecard-row .table-cell[data-header-title]:before {
    color: #fff;
  }

  .table-stacked .tr .table-cell > .inline-field-title {
    float: left;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    margin-left: 0;
    width: 25%;
  }

  .table-stacked .tr .table-cell > * {
    display: block;
    margin-left: 25%;
  }

  .table-stacked .view-card {
    text-align: left;
  }

  .table-stacked .link-row::after {
    display: none;
  }

  .table-stacked .tr .table-cell.open-sublist {
    position: relative;
    float: right;
    top: -30px;
    right: -5px;
  }
  .table-stacked .tr .table-cell > .expand-icon {
    /*display: none;*/
    margin-left: 0;
  }

  .table-stacked .silk-img {
    margin-left: 0;
  }

  /* Per Table */
  .table-stacked__fixtures .tr {
    border: 1px solid #ebf3f9;
    border-width: 0 1px 1px;
  }

  .table-stacked__fixtures .tr .table-cell[data-header-title]:before,
.table-stacked__racecard .tr .table-cell[data-header-title]:before {
    display: inline;
    float: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    width: auto;
  }

  .table-stacked__fixtures .tr .table-cell > *,
.table-stacked__racecard .tr .table-cell > * {
    display: inline;
    margin-left: 0;
  }

  .table-stacked__fixtures .fixture-type {
    float: right;
  }

  .table-stacked__fixtures .fixture-course {
    font-size: 18px;
  }

  .table-stacked__fixtures .tr .table-cell .fixture-name {
    display: block;
    font-size: 12px;
  }

  /* Racecard */
  .table-stacked__racecard .tr.racecard-row {
    overflow: hidden;
  }

  .table-stacked__racecard .tr.racecard-row .table-cell {
    margin-left: 75px;
    padding: 0 12px;
    vertical-align: top;
    width: auto;
  }

  .table-stacked__racecard .tr.racecard-row .table-cell:first-child {
    float: left;
    margin-left: 0;
    padding-top: 12px;
    width: 75px;
  }

  .table-stacked__racecard .tr.racecard-row .table-cell:nth-child(2) {
    color: #222d71;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    padding-top: 12px;
  }

  .table-stacked__racecard .tr.racecard-row .table-cell:nth-child(3) {
    color: #222d71;
  }

  .table-stacked__racecard .table-entry.open .tr.racecard-row .table-cell:nth-child(2),
.table-stacked__racecard .table-entry.open .tr.racecard-row .table-cell:nth-child(3) {
    color: #fff;
  }

  .table-stacked__racecard .silk-img {
    float: right;
    margin-left: 10px;
  }

  .table-stacked__racecard .tr.racecard-row .last-col {
    width: calc(100%-75px);
  }

  .table-stacked--no-labels .tr .table-cell .inline-field-title {
    display: none;
  }

  .table-stacked__racecard--long-date .tr.racecard-row .table-cell {
    margin-left: 0;
  }

  .table-stacked__racecard--long-date .tr.racecard-row .table-cell:first-child {
    float: none;
    width: auto;
  }

  /* Race - Horse List */
  .table-stacked__race .table-entry .tr {
    position: relative;
  }

  .table-stacked__race .tr .table-cell {
    display: inline-block;
    vertical-align: top;
    width: auto;
  }

  .table-stacked__race .tr .table-cell .inline-field-title {
    float: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    vertical-align: top;
    width: auto;
  }

  .table-stacked__race .tr .table-cell > * {
    display: inline-block;
    margin: 0;
  }

  .table-stacked__race .table-cell.no-draw .inline-field-title,
.table-stacked__race .table-cell.name .inline-field-title,
.table-stacked__race .table-cell.age .inline-field-title,
.table-stacked__race .table-cell.form .inline-field-title,
.table-stacked__race .table-cell.weight .inline-field-title,
.table-stacked__race .table-cell.odds .inline-field-title,
.table-stacked__race .table-cell.distance .inline-field-title,
.table-stacked__race .table-cell.racedate .inline-field-title {
    display: none;
  }

  .table-stacked__race .table-cell.racedate,
.table-stacked__race .table-cell.racedate a {
    color: #222d71;
    font-family:'Roboto', sans-serif;
    font-weight: 700;
  }

  .table-stacked__race .table-cell.no-draw {
    font-size: 16px;
    width: 100px;
  }

  .table-stacked__race .table-cell.no-draw sup {
    font-size: 0.5em;
    top: 10px;
  }

  .table-stacked__race-result .table-cell.no-draw {
    width: 125px;
  }

  .table-stacked__race .table-cell.no-draw .silk-wrap {
    display: flex;
    flex-wrap: wrap;
  }

  .table-stacked__race .table-cell.no-draw .silk-wrap img,
.table-stacked__race .table-cell.no-draw .silk-img,
.table-stacked__race-result .table-cell.no-draw .silk-img {
    float: right;
    margin-left: 10px;
  }

  .table-stacked__race .table-cell.name {
    width: calc(100% - 100px);
  }

  .table-stacked__race-result .table-cell.name {
    width: calc(100% - 125px);
  }

  .table-stacked__race .tr .table-cell.odds {
    color: #46a0de;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    position: absolute;
    right: 0;
    top: 0;
  }

  .table-stacked__race .table-cell.rating {
    float: right;
  }

  .table-stacked__race .table-cell.age::after {
    content: "yo";
  }

  .table-stacked__race .table-cell.trainer a::after,
.table-stacked__race .table-cell.winner span:first-child::after {
    content: ",";
  }

  .table-stacked__race .table-cell.trainer br,
.table-stacked__race .table-cell.distance br {
    display: none;
  }

  .table-stacked__race .table-cell.trainer .ownerName {
    font-size: 100%;
  }

  /* Past Winners */
  .table-stacked__winners .tr .table-cell .inline-field-title {
    display: none;
  }

  .table-stacked__winners .table-entry .tr {
    padding: 12px 0;
  }

  .table-stacked__winners .tr .table-cell {
    padding: 0 12px;
  }

  .table-stacked__winners .tr .table-cell > * {
    display: inline-block;
    margin-left: 0;
  }

  .table-stacked__winners .date,
.table-stacked__winners .date strong {
    color: #46a0de;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-weight: normal;
  }

  .table-stacked__winners .date strong::after,
.table-stacked__winners .horse .inline-field-value a:first-child::after {
    content: ",";
  }

  .table-stacked__winners .date br,
.table-stacked__winners .horse br {
    display: none;
  }

  .table-stacked__winners .horse a {
    color: #222d71;
  }

  .table-stacked__winners .tr .sp,
.table-stacked__winners .tr .weight,
.table-stacked__winners .tr .going {
    display: inline;
  }

  .table-stacked__winners .tr .going .inline-field-title {
    display: inline;
    float: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
  }
}
@media (max-width: 320px) {
  .table-stacked .tr .table-cell[data-header-title]:before,
.table-stacked .tr .table-cell > .inline-field-title {
    float: none;
    width: auto;
  }

  .table-stacked .tr .table-cell > * {
    margin-left: 0;
  }

  .table-stacked__race .table-cell.name,
.table-stacked__race-result .table-cell.name {
    width: 100%;
  }

  .table-stacked__race .table-cell.rating {
    float: none;
  }

  .table-stacked__race .table-entry .tr {
    padding-top: 12px;
  }

  .table-stacked__race .tr .table-cell {
    padding-top: 0;
  }

  .table-stacked__race .tr .table-cell.odds {
    padding-top: 12px;
  }

  .table-stacked__racecard .tr.racecard-row .table-cell,
.table-stacked__racecard .tr.racecard-row .table-cell:nth-child(2) {
    display: inline-block;
    margin-left: 0;
    padding: 0 12px;
  }

  .table-stacked__racecard .tr.racecard-row .table-cell:first-child {
    float: none;
    padding-top: 12px;
    width: auto;
  }

  .table-stacked__racecard .tr.racecard-row .last-col {
    width: 100%;
  }
}
/* ==========================================================================
   $BASE-PICKER
   ========================================================================== */
/**
 * Note: the root picker element should *NOT* be styled more than what’s here.
 */
.picker {
  color: #5c6974;
  font-size: 16px;
  text-align: left;
  line-height: 1.2;
  position: absolute;
  z-index: 10000;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/**
 * The picker input element.
 */
.picker__input {
  cursor: default;
}

/**
 * When the picker is opened, the input element is “activated”.
 */
.picker__input.picker__input--active {
  border-color: #0089ec;
}

/**
 * The holder is the only “scrollable” top-level container element.
 */
.picker__holder {
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/*!
 * Default mobile-first, responsive styling for pickadate.js
 * Demo: http://amsul.github.io/pickadate.js
 */
/**
 * Note: the root picker element should *NOT* be styled more than what’s here.
 */
/**
 * Make the holder and frame fullscreen.
 */
.picker__holder,
.picker__frame {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
}

/**
 * The holder should overlay the entire screen.
 */
.picker__holder {
  position: fixed;
  transition: background 0.15s ease-out, -webkit-transform 0s 0.15s;
  transition: background 0.15s ease-out, transform 0s 0.15s;
  -webkit-backface-visibility: hidden;
}

/**
 * The frame that bounds the box contents of the picker.
 */
.picker__frame {
  position: absolute;
  margin: 0 auto;
  min-width: 256px;
  max-width: 666px;
  width: 100%;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  transition: all 0.15s ease-out;
}

@media (min-height: 33.875em) {
  .picker__frame {
    overflow: visible;
    top: auto;
    bottom: -100%;
    max-height: 80%;
  }
}
@media (min-height: 40.125em) {
  .picker__frame {
    margin-bottom: 7.5%;
  }
}
/**
 * The wrapper sets the stage to vertically align the box contents.
 */
.picker__wrap {
  display: table;
  width: 100%;
  height: 100%;
}

@media (min-height: 33.875em) {
  .picker__wrap {
    display: block;
  }
}
/**
 * The box contains all the picker contents.
 */
.picker__box {
  background: #ffffff;
  display: table-cell;
  vertical-align: middle;
}

@media (min-height: 26.5em) {
  .picker__box {
    font-size: 1.25em;
  }
}
@media (min-height: 33.875em) {
  .picker__box {
    display: block;
    font-size: 1.33em;
    border: none;
    border-bottom-width: 0;
    box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.05);
  }
}
@media (min-height: 40.125em) {
  .picker__box {
    font-size: 1.5em;
    border-radius: 0;
  }
}
/**
 * When the picker opens...
 */
.picker--opened .picker__holder {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  background: transparent;
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";
  zoom: 1;
  background: rgba(92, 105, 116, 0.3);
  transition: background 0.15s ease-out;
}

.picker--opened .picker__frame {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
}

@media (min-height: 33.875em) {
  .picker--opened .picker__frame {
    bottom: 0;
    margin-bottom: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}
/* ==========================================================================
   $BASE-DATE-PICKER
   ========================================================================== */
/**
 * The picker box.
 */
.picker__box {
  border-top: 1px solid #fff;
  padding: 0 1em;
}

/**
 * The header containing the month and year stuff.
 */
.picker__header {
  text-align: center;
  position: relative;
  margin-top: 0.75em;
}

/**
 * The month and year labels.
 */
.picker__month,
.picker__year {
  font-weight: 500;
  display: inline-block;
  margin-left: 0.25em;
  margin-right: 0.25em;
}

.picker__year {
  color: #999999;
  font-size: 0.8em;
  font-style: italic;
}

/**
 * The month and year selectors.
 */
.picker__select--month,
.picker__select--year {
  border: 2px solid #97a9b8;
  box-shadow: none;
  padding: 0.5em;
  margin-left: 0.25em;
  margin-right: 0.25em;
}

@media (min-width: 24.5em) {
  .picker__select--month,
.picker__select--year {
    margin-top: -0.5em;
  }
}
.picker__select--month {
  width: 35%;
}

.picker__select--year {
  width: 22.5%;
}

.picker__select--month:focus,
.picker__select--year:focus {
  border-color: #46a0de;
}

/**
 * The month navigation buttons.
 */
.picker__nav--prev,
.picker__nav--next {
  position: absolute;
  padding: 0.5em 1.25em;
  width: 1em;
  height: 1em;
  box-sizing: content-box;
  top: -0.25em;
}

@media (min-width: 24.5em) {
  .picker__nav--prev,
.picker__nav--next {
    top: -0.33em;
  }
}
.picker__nav--prev {
  left: -1em;
  padding-right: 1.25em;
}

@media (min-width: 24.5em) {
  .picker__nav--prev {
    padding-right: 1.5em;
  }
}
.picker__nav--next {
  right: -1em;
  padding-left: 1.25em;
}

@media (min-width: 24.5em) {
  .picker__nav--next {
    padding-left: 1.5em;
  }
}
.picker__nav--prev:before,
.picker__nav--next:before {
  color: #46a0de;
  content: "";
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 30px;
  display: block;
  margin: 0 auto;
}

.picker__nav--next:before {
  content: "";
}

.picker__nav--prev:hover,
.picker__nav--next:hover {
  cursor: pointer;
  color: #222d71;
  background: #ebf3f9;
}

.picker__nav--disabled,
.picker__nav--disabled:hover,
.picker__nav--disabled:before,
.picker__nav--disabled:before:hover {
  cursor: default;
  background: none;
}

/**
 * The calendar table of dates
 */
.picker__table {
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: inherit;
  width: 100%;
  margin-top: 0.75em;
  margin-bottom: 0.5em;
}

@media (min-height: 33.875em) {
  .picker__table {
    margin-bottom: 0.75em;
  }
}
.picker__table td {
  border: none;
  margin: 0;
  padding: 0;
}

/**
 * The weekday labels
 */
.picker__weekday {
  background-color: #fff;
  border-bottom: 2px solid #ebf3f9;
  width: 14.285714286%;
  font-size: 0.75em;
  padding-bottom: 0.5em;
  color: #222d71;
  font-weight: bold;
  text-align: center;
  /* Increase the spacing a tad */
}

@media (min-height: 33.875em) {
  .picker__weekday {
    padding-bottom: 20px;
  }
}
/**
 * The days on the calendar
 */
.picker__table tbody tr:first-child td {
  padding-top: 20px;
}

.picker__day {
  color: #222d71;
  padding: 0.3125em 0;
  font-weight: 200;
  border: 1px solid transparent;
}

.picker__day--today {
  border: 2px solid #46a0de;
  position: relative;
}

.picker__day--today:before {
  content: " ";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 0;
  height: 0;
  border-top: 0.5em solid #46a0de;
  border-left: 0.5em solid transparent;
}

.picker__day--disabled:before {
  border-top-color: #aaaaaa;
}

.picker__day--outfocus {
  color: #97a9b8;
}

.picker__day--infocus:hover,
.picker__day--outfocus:hover {
  cursor: pointer;
  color: #222d71;
  background: #ebf3f9;
}

.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted {
  cursor: pointer;
  color: #222d71;
  background: #fff;
}

.picker__day--selected,
.picker__day--selected:hover,
.picker--focused .picker__day--selected {
  background: #ebf3f9;
  color: #222d71;
}

.picker__day--disabled,
.picker__day--disabled:hover,
.picker--focused .picker__day--disabled {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #dddddd;
  cursor: default;
}

.picker__day--highlighted.picker__day--disabled,
.picker__day--highlighted.picker__day--disabled:hover {
  background: #bbbbbb;
}

/**
 * The footer containing the "today", "clear", and "close" buttons.
 */
.picker__footer {
  border-top: 2px solid #ebf3f9;
  text-align: center;
}

.picker__button--today,
.picker__button--clear,
.picker__button--close {
  border: none;
  background: #ffffff;
  color: #5c6974;
  font-size: 0.8em;
  padding: 0.66em 0;
  font-weight: bold;
  width: 33%;
  display: inline-block;
  vertical-align: bottom;
}

.picker__button--today:hover,
.picker__button--clear:hover,
.picker__button--close:hover {
  cursor: pointer;
  color: #222d71;
  background: #ebf3f9;
  border-bottom-color: #ebf3f9;
}

.picker__button--today:focus,
.picker__button--clear:focus,
.picker__button--close:focus {
  background: #ebf3f9;
  border-color: #ebf3f9;
  outline: none;
}

.picker__button--today:before,
.picker__button--clear:before,
.picker__button--close:before {
  position: relative;
  display: inline-block;
  height: 0;
}

.picker__button--today:before,
.picker__button--clear:before {
  content: " ";
  margin-right: 0.45em;
}

.picker__button--today:before {
  top: -0.05em;
  width: 0;
  border-top: 0.66em solid #46a0de;
  border-left: 0.66em solid transparent;
}

.picker__button--clear:before {
  top: -0.25em;
  width: 0.66em;
  border-top: 3px solid #d70722;
}

.picker__button--close:before {
  content: "×";
  top: -0.1em;
  vertical-align: top;
  font-size: 1.1em;
  margin-right: 0.35em;
  color: #46a0de;
}

.picker__button--today[disabled],
.picker__button--today[disabled]:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #dddddd;
  cursor: default;
}

.picker__button--today[disabled]:before {
  border-top-color: #aaaaaa;
}

/* ==========================================================================
   $DEFAULT-DATE-PICKER
   ========================================================================== */
.calendar-event--jump.fc-event {
  background-color: red;
}

.calendar-event--flat.fc-event {
  background-color: blue;
}

.table {
  margin-bottom: 40px;
  min-width: 600px;
  position: relative;
}
.table .table {
  margin-bottom: 0;
}

.table-wrap {
  margin-bottom: 40px;
}
.table-wrap .table {
  margin: 0;
}

.table--list .table-cell {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}

.table-header {
  width: 100%;
  text-transform: uppercase;
}
.table-header .table-cell {
  white-space: nowrap;
}

.table-header--parent {
  background-color: #005680;
  margin-bottom: 2px;
}
.table-header--parent .table-cell {
  color: #fff;
}
.table-header--parent .bha-icon {
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.table-header--alt {
  background-color: #fff;
  color: #5c6974;
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(48, 52, 54, 0.08);
}

.table-header--racecourse {
  background-color: #97a9b8;
  margin-bottom: 2px;
}
.table-header--racecourse .table-cell {
  color: #fff;
}

.child-table {
  height: 0;
  overflow: hidden;
}
.open .child-table {
  height: auto;
}

.table-entry.open .racecard-row, .table-entry.open:hover .racecard-row {
  background-color: #d70722;
  color: #fff;
}
.table-entry.open .racecard-row .table-cell,
.table-entry.open .racecard-row .table-cell .date, .table-entry.open .racecard-row .table-cell .expand-icon, .table-entry.open:hover .racecard-row .table-cell,
.table-entry.open:hover .racecard-row .table-cell .date, .table-entry.open:hover .racecard-row .table-cell .expand-icon {
  color: #fff;
}

.table-cell.winner > a > span > span.inline-field-value > img {
  margin-left: 10px !important;
}
.table-cell.winner > a > span > span.inline-field-value > span {
  text-align: left !important;
  display: inline-block !important;
}

.expand-icon {
  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -ms-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;
  display: inline-block;
  font-size: 18px;
  line-height: 14px;
}

.open .expand-icon {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.tr {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  padding: 0px;
}
.tr .table-cell {
  -webkit-box-flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.tr.tr--horse-jockey-list {
  background-color: #ebf3f9;
  margin-bottom: 1px;
}

.entries-table .tr {
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.tr--horse-jockey-list .table-cell {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}
.tr--horse-jockey-list .silk-wrap {
/*display: -webkit-box;*/
  display: -moz-box;
  display: -ms-flexbox;
/*display: -webkit-flex;*/
  -js-display: flex;
/*display: flex;*/
  -ms-align-items: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.silk-img {
  /*margin-left: 10px;*/
  margin: 5px;
  max-width: 36px;
  height: auto;
  display: block;
  border-radius: 10px 10px 5px 5px;
}
div.no-draw > span > span.reserve-pill,
span.append-cloth-number > span.reserve-pill,
span.silk-wrap > span.reserve-pill {
  border-radius: 4px;
  background: #afafaf;
  color: #fff;
  display: inline-block;
  padding: 1px 7px;
  font-size: 0.9em;
  text-align: center;
  width: 100%;
}
span.silk-wrap > span.cloth-number {
  float: left;
  margin-right: 3px;
}

.table-cell {
  padding: 12px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  color: #5c6974;
}
.table-cell.w5 {
  width: 5%;
}
.table-cell.w7 {
  width: 7%;
}
.table-cell.w8 {
  width: 8%;
}
.table-cell.w10 {
  width: 10%;
}
.table-cell.w12 {
  width: 12%;
}
.table-cell.w13 {
  width: 13%;
}
.table-cell.w15 {
  width: 15%;
}
.table-cell.w20 {
  width: 20%;
}
.table-cell.w25 {
  width: 25%;
}
.table-cell.w30 {
  width: 30%;
}
.table-cell.w35 {
  width: 35%;
}
.table-cell.w40 {
  width: 40%;
}
.table-cell.w45 {
  width: 45%;
}
.table-cell.w50 {
  width: 50%;
}
.table-cell.w55 {
  width: 55%;
}
.table-cell.w60 {
  width: 60%;
}
.table-cell.w65 {
  width: 65%;
}
.table-cell.w70 {
  width: 70%;
}
.table-cell.w75 {
  width: 75%;
}
.table-cell.w80 {
  width: 80%;
}
.table-cell.w85 {
  width: 85%;
}
.table-cell.w90 {
  width: 90%;
}
.table-cell.w95 {
  width: 95%;
}
.table-cell.w100 {
  width: 100%;
}
.table-cell .date,
.table-cell .expand-icon {
  color: #46a0de;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;

}

.table-entry a.table-link {
  text-decoration: underline;
  color: #5c6974;
}
.table-entry a.table-link:hover {
  text-decoration: none;
}
.table-entry a.table-link--horse,
.table-entry a.table-link--jockey {
  color: #222d71;
}
.table-entry a.table-link--horse,
.table-entry a.table-link--trainer {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;

}

div.table-stacked > div > div.race-cards-entries > div.parent-table-body {
  height: 230px;
  overflow-y: auto;
  overflow-x: hidden;
}

ul.table-rows {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
ul.table-rows li::before {
  content: "";
}

ul.table-rows li {
  margin: 0;
  padding: 0;
}

.table-entry a {
  text-decoration: none;
  color: inherit;
}

.table-entry .table-content-link {
  color: #46a0de;
}

.table-entry .tr {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  padding: 0;
  border-bottom: 1px solid #ebf3f9;
  text-decoration: none;
}
.table-entry .tr p {
  margin-bottom: 0;
}
.table-entry .tr .table-cell {
  position: relative;
  z-index: 10;
}

.link-row {
  position: relative;
  overflow: hidden;
}
.link-row:after {
  content: " ";
  display: block;
  background-color: #d8e6f1;
  width: 155px;
  height: 100px;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
  background: url(../img/row-hover-slice.svg) no-repeat left bottom;
  background-size: auto 100%;
  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -ms-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;
}
.link-row:hover {
  background-color: #ebf3f9;
  cursor: pointer;
}
.link-row:hover:after {
  -webkit-transform: translateX(0%);
  -moz-transform: translateX(0%);
  -ms-transform: translateX(0%);
  -o-transform: translateX(0%);
  transform: translateX(0%);
}

.table-entry.abandoned a {
  background-color: #edf1f3;
}
.table-entry.abandoned a .fixture-date,
.table-entry.abandoned a .fixture-course,
.table-entry.abandoned a .fixture-name,
.table-entry.abandoned a .fixture-first,
.table-entry.abandoned a .fixture-session,
.table-entry.abandoned a .view-card {
  color: #97a9b8;
}
.table-entry.abandoned a .view-card {
  white-space: nowrap;
}

.view-card .icon {
  position: relative;
  top: 2px;
}

.view-card:hover {
  text-decoration: underline;
}
.view-card:hover span {
  display: inline-block;
  text-decoration: none;
}

.date-range {
  color: #5c6974;
}

.tip {
  display: none;
}

.child_table {
  background: #ebf3f9;
}

.open-sublist {
  cursor: pointer;
}

.fixture-date {
  color: #46a0de;
  text-transform: uppercase;
}

.fixture-date,
.fixture-type {
  display: block;
}

.fixture-type {
  color: #58697C;
  text-transform: none;
}

.fixture-first {
  text-transform: uppercase;
}

.fixture-date,
.fixture-course,
.tstyle1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.fixture-course,
.fixture-name,
.fixture-distance,
.tstyle1 {
  color: #222d71;
  display: block;
}

.fixture-name,
.fixture-distance {
  font-size: 14px;
}

.fixture-distance {
  color: #5c6974;
}

.fixture-type {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 14px;
}

.fixture-first {
  color: #5c6974;
  font-size: 16px;
}

.fixture-first,
.fixture-session {
  color: #5c6974;
  display: block;
}

.fixture-session {
  font-size: 14px;
  text-transform: none;
}

.view-card {
  display: block;
  text-align: right;
  font-size: 16px;
  color: #02a361;
}
.view-card.view-card--entries {
  color: #fd8a26;
}

.fixture-buy-inline {
  color: #45A0DE !important;
  display: inline-block;
}
.fixture-buy-inline:hover span:first-child {
  text-decoration: underline;
}
.fixture-buy-inline .icon {
  font-size: 16px;
  left: -3px;
  pointer-events: none;
  position: relative;
  top: 3px;
}

.fixture-buy-button {
  text-transform: none;
}
.racecard-controls .fixture-buy-button:not(:first-child) {
  margin-left: 10px;
}

.fixture-list-download {
  margin-bottom: 30px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
.fixture-list-download .btn + .btn {
  margin-left: 20px;
}
.fixture-list-download .fixtures-found {
  color: #5c6974;
}
.aj-loading {
  background-image: url(../img/bha-loading.gif);
  background-position: center 0;
  background-size: 64px;
  background-repeat: no-repeat;
  min-height: 650px;
  -webkit-transform: translateY(80px);
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -o-transform: translateY(80px);
  transform: translateY(80px);
  -webkit-transition: 0 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transition-delay: 0.2s;
  -moz-transition: 0 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
  -o-transition: 0 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.aj-loading > * {
  filter: alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-out;
  -moz-transition: opacity 0.5s ease-out;
  -o-transition: opacity 0.5s ease-out;
  transition: opacity 0.5s ease-out;
}

.aj-loading.aj-loaded {
  background-image: none;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.aj-loading.aj-loaded * {
  filter: alpha(Opacity=100);
  opacity: 1;
  -webkit-transition: opacity 0;
  -moz-transition: opacity 0;
  -o-transition: opacity 0;
  transition: opacity 0;
}

/*
	= = = = = = = RACECARD = = = = = */
.race-times {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  width: 100%;
  margin-bottom: 2px;
}
.race-times li {
  margin: 0;
  padding: 0;
  -webkit-flex-grow: 2;
  -ms-flex-grow: 2;
  flex-grow: 2;
  white-space: nowrap;
}
.race-times li + li {
  margin-left: 2px;
}
.race-times a {
  display: block;
  padding: 12px 18px;
  text-transform: uppercase;
  background-color: #ebf3f9;
  color: #222d71;
  text-decoration: none;
  text-align: center;
}
.race-times .active a {
  background-color: #003955;
  color: #fff;
}

@media (max-width: 600px) {
  .race-times {
    flex-wrap: wrap;
  }

  .race-times li {
    flex: 0 0 calc(25% - 2px);
    margin-bottom: 2px;
    margin-left: 2px;
  }

  .race-times .tab-all {
    display: none;
  }
}
@media (max-width: 320px) {
  .race-times li {
    flex: 0 0 calc(50% - 2px);
  }
}
.racecard-pagination {
  border-top: 5px solid #46a0de;
  padding-top: 20px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-top: 30px;
}
.racecard-pagination a {
  text-decoration: none;
}
.racecard-pagination span {
  display: block;
}
.racecard-pagination .racecard-pagination__item--prev,
.racecard-pagination .racecard-pagination__item--next {
  position: relative;
}
.racecard-pagination .racecard-pagination__item--prev:hover:before, .racecard-pagination .racecard-pagination__item--prev:hover:after,
.racecard-pagination .racecard-pagination__item--next:hover:before,
.racecard-pagination .racecard-pagination__item--next:hover:after {
  opacity: 0.8;
}
.racecard-pagination .racecard-pagination__item--prev:before,
.racecard-pagination .racecard-pagination__item--next:after {
  font-family: "British-Horse-Racing";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #46a0de;
  position: absolute;
  top: 8px;
  width: 17px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  content: " ";
  opacity: 1;
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -ms-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}
.racecard-pagination .racecard-pagination__item--prev:before {
  left: 0;
  background-image: url(../img/new-arrow-left.svg);
}
.racecard-pagination .racecard-pagination__item--next:after {
  right: 0;
  background-image: url(../img/new-arrow-right.svg);
}
.racecard-pagination .racecard-pagination__item--prev {
  text-align: left;
  padding-left: 40px;
}
.racecard-pagination .racecard-pagination__item--next {
  text-align: right;
  padding-right: 40px;
}
.racecard-pagination .pagintaion__name {
  color: #46a0de;
  font-size: 24px;
}
.racecard-pagination .pagintaion__date {
  color: #939ea7;
  font-size: 18px;
}
@media screen and (max-width: 770px) {
  .racecard-pagination {
    margin-bottom: 20px;
  }
  .racecard-pagination .racecard-pagination__item--prev:before,
.racecard-pagination .racecard-pagination__item--next:after {
    width: 12px;
    height: 22px;
  }
  .racecard-pagination .racecard-pagination__item--prev {
    padding-left: 20px;
  }
  .racecard-pagination .racecard-pagination__item--next {
    padding-right: 20px;
  }
  .racecard-pagination .pagintaion__name {
    font-size: 16px;
  }
  .racecard-pagination .pagintaion__date {
    font-size: 14px;
  }
}

.result-row,
.racecard-row {
  color: #5c6974;
}

.inline-field-title {
  display: none;
}

a.racecard-row {
  color: #5c6974;
}

.results-pagination {
  margin-bottom: 20px;
  width: 100%;
  flex-wrap: wrap;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.results-pagination .results-pagination__item {
  color: #fff;
  padding: 5px;
  font-size: 24px;
}
.results-pagination .results-pagination__item + .results-pagination__item {
  margin-left: 2px;
}
.results-pagination [data-direction]:hover {
  cursor: pointer;
}

.results-pagination {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}

.results-pagination__item {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
}
.results-pagination__item [data-direction] {
  padding: 1px 0;
  color: #656c9c;
  -webkit-transition: color 0.4s;
  -moz-transition: color 0.4s;
  -ms-transition: color 0.4s;
  -o-transition: color 0.4s;
  transition: color 0.4s;
}
.results-pagination__item [data-direction].bha-arrow-left {
  margin-right: 10px;
}
.results-pagination__item [data-direction].bha-arrow-right {
  margin-left: 10px;
}
.results-pagination__item [data-direction]:hover {
  color: #fff;
}

/*
	- - - - MESSAGES - - - - */
.warning-message {
  background-color: #ebf3f9;
  padding: 20px;
}

.course-type {
  font-size: 20px;
}
.course-direction {
  width: 30px;
  height: 15px;
  margin: 0;
  margin-right: 5px;
  display: inline-block;
  float: left;
  background-position: center !important;
}
.course-direction span {
  display: none;
}
.course-type-left-handed {
  background: url('/wp-content/themes/bha/assets/img/racetrack-direction-left-handed-25x15.png') top right no-repeat;
}
.course-type-right-handed {
  background: url('/wp-content/themes/bha/assets/img/racetrack-direction-right-handed-25x15.png') top right no-repeat;
}
.course-type-figure-of-eight {
  background: url('/wp-content/themes/bha/assets/img/racetrack-direction-figure-of-eight-25x15.png') top right no-repeat;
}

.racecourse-img {
  margin-bottom: 40px;
}

/*.widget .group-title + .info-list {
	border-top: none;
} this border is in use on the jockey, trainer and owners pages. Not sure where else it's causing an issue, but have done other things to try and stop it being an issue. '*/
.widget .info-list:last-of-type, .report-list li .info-list:last-of-type {
  margin-bottom: 0;
}

.course-logo {
  margin-bottom: 40px;
}
.course-logo img {
  display: block;
  margin: 0 auto;
}

.racecourse-contacts {
  color: #5c6974;
}
.racecourse-contacts ul, .racecourse-contacts li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.racecourse-contacts a {
  color: #46a0de;
  text-decoration: none;
}
.racecourse-contacts .racecourse-contacts__address {
  margin-bottom: 20px;
}
.racecourse-contacts .tix-link {
  margin-top: 20px;
}

.racecourse strong.text-highlight,
.racecourse a {
  color: #d70722;
}

.racecourse a[href^="tel:"] {
  color: #5c6974;
}

.racecourse .the-course {
  border-bottom: none;
}

.warning-message h1 {
  font-size: 20px;
  margin-bottom: 0;
}

@media screen and (max-width: 700px) {
  [ng-if=majorEvents] .layout-inner__col {
    margin-bottom: 20px;
  }
}
[ng-if=majorEvents] .layout-inner__col {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: stretch;
  -webkit-align-items: stretch;
  align-items: stretch;
}

.event-card {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: stretch;
  -webkit-align-items: stretch;
  align-items: stretch;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.event-card a {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-content: stretch;
  -ms-align-content: stretch;
  align-content: stretch;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.event-card a > * {
  width: 100%;
}
.event-card a:hover .event-card__inner {
  background-color: #d70722;
}
.event-card a:hover .event-coursename {
  color: #f6b2ba;
}
.event-card a:hover .event-card__inner:after {
  width: 280px;
}
.event-card img {
  display: block;
  max-width: 100%;
  height: auto;
}
.event-card figure {
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
}
.event-card .event-card__inner {
  -webkit-flex-grow: 2;
  -ms-flex-grow: 2;
  flex-grow: 2;
  padding: 20px;
  background: #222d71;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -ms-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
  transition: background-color 0.4s;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}
.event-card .event-card__inner > div, .event-card .event-card__inner > span {
  width: 100%;
}
.event-card .event-card__inner:after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: url(../img/event-card-overlay.png) no-repeat left top;
  background-size: auto 100%;
  width: 140px;
  -webkit-transition: width 0.4s;
  -moz-transition: width 0.4s;
  -ms-transition: width 0.4s;
  -o-transition: width 0.4s;
  transition: width 0.4s;
}
.event-card a {
  text-decoration: none;
}
.event-card span {
  display: block;
}
.event-card .event-image {
  padding: 0;
  margin: 0;
  position: relative;
}
.event-card .event-type {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 4px 2px;
  border-radius: 4px;
  background-color: #d70722;
  color: #f6b2ba;
  text-transform: uppercase;
}
.event-card .event-coursename {
  color: #a2aadb;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}
.event-card .event-title {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.event-card .event-date {
  color: #fff;
  margin-top: 20px;
  -webkit-align-self: flex-end;
  -ms-align-self: flex-end;
  align-self: flex-end;
}

.title-course-wrap {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.title-course-wrap .title-course-wrap__title {
  -webkit-box-flex: 1 2 100%;
  -webkit-flex: 1 2 100%;
  -ms-flex: 1 2 100%;
  flex: 1 2 100%;
}
.title-course-wrap .title-course-wrap__logo {
  width: 32px;
  -webkit-box-flex: 0 0 32px;
  -webkit-flex: 0 0 32px;
  -ms-flex: 0 0 32px;
  flex: 0 0 32px;
}

.fixtures-info {
  color: #222d71;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  flex: 2;
}
.fixtures-info .fixtures-found {
  font-size: 15px;
}
.fixtures-info span + .fixtures-found {
  margin-left: 20px;
}
@media screen and (max-width: 600px) {
  .fixtures-info > span {
    display: block;
  }
  .fixtures-info span + .fixtures-found {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .fixtures-info {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    justify-content: space-between;
  }

  .fixtures-info .fixtures-found {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: inherit;
  }
}
/*
	 - - - STEWARDS REPORTS - - - - */
.report-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  /*
  .group-title {
  	font-size: 16px;
  	position: relative;
  	top: 2px;
  }
  */
}
@media screen and (max-width: 600px) {
  .report-list .single div + div {
    margin-top: 10px;
  }
}
.report-list .resource-link {
  border-bottom: none;
  margin-bottom: none;
  margin-top: 10px;
}
.report-list .entry,
.report-list .group-title,
.report-list .article-body h2,
.article-body .report-list h2,
.report-list .article-body h3,
.article-body .report-list h3 {
  padding-left: 15px;
  padding-right: 15px;
}
.report-list li {
  margin: 0;
  padding: 0;
  margin-bottom: 15px;
  padding-bottom: 15px;
  padding-top: 10px;
  /*	p:last-of-type {
  		margin-bottom: 20px;
  	}
  */
  /*
  @include displayflex;
  @include align-items(center);
  @include justify-content(space-between);
  */
}
.report-list li > p {
  margin-bottom: 0;
}
.report-list .txt-btn {
  padding-left: 0;
  margin-top: 20px;
}
.report-list .icon {
  position: relative;
  top: 2px;
}

.stewardsroom-head {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0;
}
.stewardsroom-head small {
  font-size: 16px;
}

.stewards-report-found {
  margin-top: -40px;
  margin-bottom: 20px;
}

.fixtures-controls {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
.fixtures-controls .nav-tabs {
  margin-left: 10px;
}
.fixtures-controls .nav-tabs a {
  background-color: #46a0de;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -ms-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
  transition: background-color 0.4s;
}
.fixtures-controls .nav-tabs a span:before {
  color: #fff;
}
.fixtures-controls .nav-tabs a:hover {
  background-color: #222d71;
}
.fixtures-controls .nav-tabs a.active {
  background-color: #d70722;
}
@media screen and (max-width: 770px) {
  .fixtures-controls .nav-tabs {
    display: none;
  }
}

@media (max-width: 600px) {
  .fixtures-controls {
    margin-bottom: 0;
  }
}
/* Change to a toggle down when on mobile */
.racecard-search-form.show-form .ffp-toggle-content {
  display: block;
  margin-top: 12px;
}
.racecard-search-form.show-form a.ffp-toggle {
  background-color: #161d4a !important;
  border-color: #222d71 !important;
  background-image: none;
  color: #fff;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.25);
}
.racecard-search-form.show-form a.ffp-toggle:after {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.racecard-search-form .find-fixtures-panel__title {
  align-items: center;
  color: #fff;
  display: flex;
}

.racecard-search-form .find-fixtures-panel__title p {
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .racecard-search-form .find-fixtures-panel__title {
    display: none;
  }

  .racecard-search-form .ffp-toggle-content,
.racecard-search-form.show-form .ffp-toggle-content {
    display: flex;
  }
}
.load-more {
  text-align: center;
}
.load-more .load-more__inner {
  display: inline-block;
  margin: 20px auto;
  color: #46a0de;
}

.post-title + .crumbtrail {
  margin-top: -20px;
}

.crumbtrail {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin-bottom: 20px;
}
.crumbtrail .crumb {
  color: #97a9b8;
}
.crumbtrail .crumb + .crumb:before {
  content: " / ";
}

.search-results .post-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-weight: normal;
  color: #222d71;
}
.search-results .post-title a {
  color: inherit;
  text-decoration: none;
}
.search-results .post-title a:hover {
  text-decoration: underline;
}

.search-results.widget + .search-results.widget, .report-list li.search-results + .search-results.widget, .report-list .search-results.widget + li.search-results, .report-list li.search-results + li.search-results {
  margin-top: 40px;
}
.search-results.widget .resource-link:last-of-type, .report-list li.search-results .resource-link:last-of-type {
  border-bottom: none;
}

.layout .layout__main {
  /*
  .fc-unthemed td {
  	border-color: transparent;
  }
  */
}
.layout .layout__main .fc-toolbar.fc-header-toolbar {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-center,
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-left,
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-right {
  float: none;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-center {
  margin-right: 10px;
  margin-left: 10px;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-center h2 {
  color: #222d71;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-button-group button {
  padding: 0 0.2em;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-state-default {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-icon-left-single-arrow:after,
.layout .layout__main .fc-toolbar.fc-header-toolbar .fc-icon-right-single-arrow:after {
  color: #222d71;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar button.fc-today-button {
  color: #46a0de;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  padding-left: 0;
}
.layout .layout__main .fc-toolbar.fc-header-toolbar button.fc-today-button:before {
  content: " ";
  background: url(../img/bookmark-tag.svg) no-repeat center center;
  background-size: auto 70%;
  background-color: #EDF1F3;
  border: 1px solid #CED8DB;
  width: 35px;
  height: 35px;
  margin-top: -5px;
  display: inline-block;
  border-radius: 4px;
  margin-right: 10px;
}
.layout .layout__main .fc-month-view > tbody > tr > .fc-widget-content {
  border-top: none;
  border-bottom: 1px solid #EDF1F3;
  border-left: 1px solid #EDF1F3;
  border-right: 1px solid #EDF1F3;
}
.layout .layout__main .fc-widget-content:last-of-type > .fc-bg > table {
  border-bottom: none;
}
.layout .layout__main .fc-left {
  display: none;
}
.layout .layout__main .fc-row .fc-content-skeleton {
  padding-bottom: 0;
}
.layout .layout__main .fc-unthemed tbody {
  border-color: #EDF1F3;
}
.layout .layout__main .fc-row .fc-content-skeleton td.fc-day-top {
  background-color: #EDF1F3;
  padding: 5px 10px;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.layout .layout__main .fc-row .fc-content-skeleton td.fc-day-top.fc-today {
  border-top-color: #46a0de;
  border-bottom-color: #46a0de;
}
.layout .layout__main .fc-day-number {
  background-color: #EDF1F3;
  display: block;
}
.layout .layout__main .fc-unthemed .fc-row,
.layout .layout__main .fc-unthemed .fc-bg td {
  border-color: #EAEEEF;
}
.layout .layout__main .fc-unthemed .fc-bg td.fc-day {
  border-top-color: transparent;
}
.layout .layout__main .fc-unthemed .fc-content-skeleton td {
  border-color: rgba(255, 255, 255, 0);
}
.layout .layout__main .fc-unthemed td.fc-today {
  background-color: transparent;
  border-color: #46a0de;
}
.layout .layout__main .fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
  float: left;
  color: #222d71;
}
.layout .layout__main .fc-bg table {
  border-bottom: 1px solid transparent;
}
.layout .layout__main .fc-unthemed th.fc-day-header {
  background-color: #005680;
  color: #fff;
  padding: 8px 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-weight: 400;
  border-color: #005680;
}
.layout .layout__main div.fc-day-grid-container[style] {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  height: auto !important;
}
.layout .layout__main .fc-day-grid-event {
  margin: 3px 5px;
  background-color: transparent;
  border-color: transparent;
}
.layout .layout__main .fc-day-grid-event .fc-time:before {
  content: " ";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  position: relative;
  top: 2px;
  margin-right: 4px;
  background-repeat: no-repeat;
  background-position: center center;
}
.layout .layout__main .fc-day-grid-event .fc-time,
.layout .layout__main .fc-day-grid-event .fc-title {
  color: #005680;
  opacity: 1;
}
.layout .layout__main .calendar-event--flat .fc-time:before {
  background-color: #46a0de;
  background-image: url(../img/flats-icon.svg);
  background-size: 12px auto;
}
.layout .layout__main .calendar-event--jump .fc-time:before {
  background-color: #d70722;
  background-image: url(../img/jumps-icon.svg);
  background-size: 10px auto;
}

@keyframes fc-overflow-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.page-template-full-year .racecard-search-form + .page > .fc:first-child {
  margin-top: -10px;
}
.page-template-full-year .fc-page-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
.page-template-full-year .fc-page-title > * {
  flex: 0 0 auto;
}
.page-template-full-year .fc-page-title .page-title, .page-template-full-year .fc-page-title .article-body h1, .article-body .page-template-full-year .fc-page-title h1 {
  flex-grow: 1;
  width: auto;
}
.page-template-full-year .fc-page-title .fc-download {
  margin: 0 10px 10px 0;
}
.page-template-full-year .fc-page-title .fc-download:last-child {
  margin-right: 0;
}
.page-template-full-year .fc-page-intro {
  border-top: 10px solid #46a0de;
  margin: 20px 0;
  padding-top: 20px;
}
@media screen and (max-width: 959px) {
  .page-template-full-year .fc-page-title .page-title, .page-template-full-year .fc-page-title .article-body h1, .article-body .page-template-full-year .fc-page-title h1 {
    width: 100%;
  }
}
.page-template-full-year .fc-download {
  display: inline-block;
  vertical-align: top;
}
.page-template-full-year .fc-download select {
  background: #eceaea;
  border-color: #dedede;
  box-shadow: none;
  color: #4a4a4a;
  padding-right: 30px;
}
.page-template-full-year .fc-download .control__field:after {
  background-position: center center;
  background-repeat: no-repeat;
  bottom: 1px;
  content: "";
  display: block;
  left: 9px;
  pointer-events: none;
  position: absolute;
  top: 0;
}
.page-template-full-year .fc-download--fixtures .control__field:after {
  background-image: url("../img/calendar/fc-download-1-icon.svg");
  width: 16px;
}
.page-template-full-year .fc-download--fixtures select {
  padding-left: 25px;
}
.page-template-full-year .fc-download--calendar .control__field:after {
  background-image: url("../img/calendar/fc-download-2-icon.svg");
  width: 26px;
}
.page-template-full-year .fc-download--calendar select {
  padding-left: 35px;
}
.page-template-full-year .fc-toolbar.fc-header-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.page-template-full-year .fc-toolbar.fc-header-toolbar > * {
  display: block;
  flex: 0 0 auto;
}
.page-template-full-year .fc-toolbar.fc-header-toolbar .fc-left {
  order: 1;
}
.page-template-full-year .fc-toolbar.fc-header-toolbar .fc-center {
  margin: 0 !important;
  order: 2;
}
.page-template-full-year .fc-toolbar.fc-header-toolbar .fc-right {
  order: 3;
}
.page-template-full-year .fc-toolbar.fc-header-toolbar .fc-clear {
  display: none;
}
.page-template-full-year .fc-content-skeleton tr:first-child .fc-event-container {
  padding-top: 2px;
}
.page-template-full-year .fc-content-skeleton tr:last-child .fc-event-container {
  padding-bottom: 2px;
}
.page-template-full-year .fc-event-container .fc-title {
  display: inline-block;
  padding-right: 2px;
  position: relative;
  will-change: opacity, transform;
  min-width: 100%;
  transform: translateZ(0);
}
.page-template-full-year .fc-event-container .fc-event {
  line-height: 18px;
}
.page-template-full-year .fc-event-container .fc-day-grid-event {
  margin-top: 2px;
  margin-bottom: 2px;
  overflow: hidden;
  position: relative;
}
@supports (animation: 1s) {
  .page-template-full-year .fc-event-container .fc-content .fc-title {
    animation: fc-overflow-scroll;
    animation-delay: -2500ms;
    animation-duration: 5000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }
  .page-template-full-year .fc-event-container .fc-content:not(:hover) .fc-title {
    animation: none;
  }
}
.page-template-full-year .fc-event-container .calendar-event--flat,
.page-template-full-year .fc-event-container .calendar-event--jump {
  background: url("../img/calendar/fc-flat-icon.svg") left 1px no-repeat;
  padding-left: 16px;
}
.page-template-full-year .fc-event-container .calendar-event--flat:before,
.page-template-full-year .fc-event-container .calendar-event--jump:before {
  content: "";
  display: block;
  float: left;
  height: 18px;
  width: 2px;
}
.page-template-full-year .fc-event-container .calendar-event--jump {
  background-image: url("../img/calendar/fc-jump-icon.svg");
}
.page-template-full-year .fc-event-container .calendar-event--evening:before,
.page-template-full-year .fc-event-container .calendar-event--twilight:before,
.page-template-full-year .fc-event-container .calendar-event--afternoon:before {
  background: url("../img/calendar/fc-afternoon-icon.svg") left 1px no-repeat;
  content: "";
  display: block;
  float: left;
  height: 18px;
  width: 18px;
}
.page-template-full-year .fc-event-container .calendar-event--evening:before {
  background-image: url("../img/calendar/fc-evening-icon.svg");
}
.page-template-full-year .fc-event-container .calendar-event--twilight:before {
  background-image: url("../img/calendar/fc-twilight-icon.svg");
}

html.menu--open,
html.menu--open body,
html.modal--open,
html.modal--open body {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

html.modal--open .modal-outer {
  overflow-y: auto;
}

.modal-overlay,
.modal-outer,
.modal-inner,
.modal {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.modal-overlay {
  position: fixed;
  background-color: rgba(240, 240, 240, 0.5);
  background-color: rgba(92, 105, 116, 0.7);
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 999;
  display: none;
  opacity: 0;
}

.modal-outer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -js-display: flex;
  display: flex;
  overflow-y: auto;
  padding: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 0;
  opacity: 0;
  overflow: hidden;
}
@media screen and (min-width: 600px) {
  .modal-outer {
    padding: 20px;
  }
}

.modal-inner {
  margin: auto;
  max-width: 100%;
}

.modal {
  width: 1100px;
  max-width: 100%;
  position: relative;
  background-color: #fff;
  padding-bottom: 20px;
  background-color: #fff;
  padding: 20px;
}
@media screen and (min-width: 770px) {
  .modal {
    padding: 40px;
  }
}
@media screen and (min-width: 900px) {
  .modal {
    padding: 60px;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #46a0de;
  text-decoration: none;
  font-size: 30px;
}
.modal-close:hover {
  color: #222d71;
}

.form-modal {
  width: 700px;
}
.form-modal .modal-logo,
.form-modal .group-title,
.form-modal .article-body h2,
.article-body .form-modal h2,
.form-modal .article-body h3,
.article-body .form-modal h3 {
  margin-bottom: 40px;
}
.form-modal .group-title + p, .form-modal .article-body h2 + p, .article-body .form-modal h2 + p, .form-modal .article-body h3 + p, .article-body .form-modal h3 + p {
  margin-top: -20px;
}

/* This is just temporary to get things up and running. Not 100% clear on where to put things yet - Jaz */
/*------------------------------------*\
    #INDUSTRY-LINKS
\*------------------------------------*/
.il-header-wrap {
  margin-bottom: 0;
}

.il-filters-wrapper {
  background-color: #222d71;
  margin-bottom: 30px;
  margin-top: 0;
  padding: 12px;
}

.il-filters-wrapper select {
  margin: 0;
  width: auto;
}

/*
ul.il-filters {
	margin: 0;
}

ul.il-filters li {
	background-image: none;
	display: inline-block;
	list-style: none;
	padding: 0 0.75em;
}

ul.il-filters li::before {
	content: "";
}

.il-filters .reveal-title {
	display: none;
}

.il-filters a {
	background-color: #fff;
	border: 2px solid #fff;
	border-radius: 4px;
	cursor: pointer;
	display: block;
	padding: 0.75em;
}

.il-filters .ui-state-active a {
	border-color: $bha-red;
}*/
.il-links .isotope-item {
  margin: 0 0 1.5em;
  width: 100%;
}

.il-links .il-inner-wrapper {
  box-sizing: border-box;
  border: 2px solid #ebf3f9;
}

.il-links .link {
  bottom: 10px;
  position: absolute;
}

.il-thumbnail img {
  box-sizing: border-box;
  padding: 20px;
}

.il-text {
  padding: 20px 20px 40px;
}

.il-text .category {
  margin: 0;
}

.il-text p + h3 {
  margin-top: 0;
}

.il-text h3 a {
  text-decoration: none;
}

@media screen and (min-width: 770px) {
  .il-links {
    margin: 0 -10px;
  }

  .il-links .isotope-item {
    box-sizing: border-box;
    width: 33.3333333333%;
  }

  .il-links .il-inner-wrapper {
    margin: 0 10px;
  }
}
/*------------------------------------*\
    #LICENSING-COMMITTEE + ACCORDION
\*------------------------------------*/
.rc-sections .accordion__row:first-child {
  margin-top: 40px;
}

.accordion__title {
  cursor: pointer;
}

.accordion__title::after {
  -moz-osx-font-smoothing: grayscale;
  color: #222d71;
  content: "";
  float: right;
  font-family: "British-Horse-Racing";
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
}

.accordion--visible.accordion__title::after {
  transform: rotate(90deg);
}

/*------------------------------------*\
    #CONTACT
\*------------------------------------*/
.page--contact p {
  font-size: 21px;
}

.infobox--address::first-line {
  font-weight: bold;
}

/*------------------------------------*\
    #MOBILE ACCORDION
\*------------------------------------*/
.m-accordion__content {
  display: inherit;
}

@media (max-width: 600px) {
  .m-accordion__title {
    border-top: 1px solid #ebf3f9;
    padding-top: 10px;
    cursor: pointer;
    font-size: 18px;
  }

  .m-accordion__row,
.layout-inner__col.m-accordion__row,
.m-accordion__wrapper .layout-inner__col.m-accordion__row:last-of-type {
    margin-bottom: 10px;
  }

  .m-accordion__wrapper .m-accordion__row:first-child .m-accordion__title {
    border-top: none;
    padding-top: 0;
  }

  .m-accordion__wrapper {
    border-bottom: 1px solid #ebf3f9;
  }

  .m-accordion__title::after {
    -moz-osx-font-smoothing: grayscale;
    color: #222d71;
    content: "";
    float: right;
    font-family: "British-Horse-Racing";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
    transform: rotate(90deg);
  }

  .m-accordion__content {
    display: none;
  }

  .m-accordion--visible.m-accordion__content {
    display: block;
  }
}
/* There was probably a better way of doing this but the markup structure made it tricky */
.m-show {
  display: none;
}

@media (max-width: 600px) {
  .m-show {
    display: block;
  }

  .m-hide {
    display: none;
  }
}
/*!
 * Pikaday
 * Copyright © 2014 David Bushell | BSD & MIT license | http://dbushell.com/
 */
.pika-single {
  z-index: 9999;
  display: block;
  position: relative;
  color: #333;
  background: #fff;
  border-bottom-color: #bbb;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.pika-single.is-hidden {
  display: none;
}
.pika-single.is-bound {
  position: absolute;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5);
}

.pika-single {
  *zoom: 1;
}
.pika-single:before, .pika-single:after {
  content: " ";
  display: table;
}
.pika-single:after {
  clear: both;
}

.pika-lendar {
  float: left;
  width: 240px;
  margin: 8px;
}

.pika-title {
  position: relative;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}
.pika-title select {
  cursor: pointer;
  position: absolute;
  z-index: 9998;
  margin: 0;
  left: 0;
  top: 5px;
  filter: alpha(opacity=0);
  opacity: 0;
}

.pika-label {
  display: inline-block;
  *display: inline;
  position: relative;
  z-index: 9999;
  overflow: hidden;
  margin: 0;
  padding: 5px 3px;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  color: #333;
  background-color: #fff;
}

.pika-prev,
.pika-next {
  display: block;
  cursor: pointer;
  position: relative;
  outline: none;
  border: 0;
  padding: 0;
  width: 20px;
  height: 30px;
  text-indent: 20px;
  white-space: nowrap;
  overflow: hidden;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 75% 75%;
  opacity: 0.5;
  *position: absolute;
  *top: 0;
}
.pika-prev:hover,
.pika-next:hover {
  opacity: 1;
}
.pika-prev.is-disabled,
.pika-next.is-disabled {
  cursor: default;
  opacity: 0.2;
}

.pika-prev,
.is-rtl .pika-next {
  float: left;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==");
  *left: 0;
}

.pika-next,
.is-rtl .pika-prev {
  float: right;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=");
  *right: 0;
}

.pika-select {
  display: inline-block;
  *display: inline;
}

.pika-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
}
.pika-table th,
.pika-table td {
  width: 14.2857142857%;
  padding: 0;
  background-color: transparent;
  border-bottom: none;
  border-top: none;
}
.pika-table th {
  color: #999;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 25px;
  text-align: center;
}
.pika-table abbr {
  border-bottom: none;
  cursor: help;
}

.pika-button {
  cursor: pointer;
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: 0;
  margin: 0;
  width: 100%;
  padding: 5px;
  color: #666;
  font-size: 12px;
  line-height: 15px;
  text-align: right;
  background: #f5f5f5;
}
.is-today .pika-button {
  color: #46a0de;
  font-weight: bold;
}
.is-selected .pika-button {
  color: #fff;
  font-weight: bold;
  background: #46a0de;
  box-shadow: inset 0 1px 3px #178fe5;
  border-radius: 3px;
}
.is-disabled .pika-button, .is-outside-current-month .pika-button {
  color: #999;
  opacity: 0.3;
}
.is-disabled .pika-button {
  pointer-events: none;
  cursor: default;
}
.pika-button:hover {
  color: #fff;
  background: #46a0de;
  box-shadow: none;
  border-radius: 3px;
}
.pika-button .is-selection-disabled {
  pointer-events: none;
  cursor: default;
}

.pika-week {
  font-size: 11px;
  color: #999;
}

.is-inrange .pika-button {
  background: #D5E9F7;
}

.is-startrange .pika-button {
  color: #fff;
  background: #6CB31D;
  box-shadow: none;
  border-radius: 3px;
}

.is-endrange .pika-button {
  color: #fff;
  background: #46a0de;
  box-shadow: none;
  border-radius: 3px;
}

#sig-canvas {
  border: 2px dotted #CCCCCC;
  border-radius: 15px;
  cursor: crosshair;
}
