/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
}

/*
 * Remove text-shadow in selecti
element.style {
}
.view-contact-details-newon highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #222;
  margin: 16px 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* MEDIA QUERIES */
@media only screen and (min-width: 320px) {
}

@media only screen and (min-width: 568px) {
}

@media only screen and (min-width: 768px) {
}

@media only screen and (min-width: 1024px) {
}


/* LINKS */
a {
  color: #0037b2;
  font-weight: bold;
  text-decoration: none;
  transition: color .4s;
}

a:active,
a:focus,
a:hover {
  text-decoration: underline;
}

a[href*="mailto:"] {
  text-transform: none;
}

/* DARLEYDOWN */
.darleydown--cyan {
  color: #00abee;
}

.darleydown--blue {
  color: #0037b2;
}

.darleydown--black {
  color: #222;
}

.darleydown--light-cyan {
  color: #85d1ee;
}

/* TABS */
.tabs-primary.tabs.primary {
  background-color: #222;
  padding-left: 0;
}

.tabs-primary.tabs.primary li {
  display: inline-block;
  padding: 0;
  margin: 0;
}

.tabs-primary.tabs.primary li:hover, .tabs-primary.tabs.primary li.is-active {
  background-color: #666;
}

.tabs-primary.tabs.primary li a {
  color: #fff;
  padding: 6px 8px 4px;
  font-weight: normal;
  font-size: 16px;
  line-height: 18px;
  display: block;
}

/* CONTEXTUAL LINKS */
.contextual-region {
  letter-spacing: normal;
}

/* Cookiebot OVERRIDES */
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background-color: #fff !important;
  color: #141414 !important;
}

/* MESSAGES */
div.messages {
  background-position: 8px 8px; /* LTR */
  background-repeat: no-repeat;
  border: 1px solid;
  margin: 6px 0;
  padding: 10px 10px 10px 50px; /* LTR */
  background-image: none;
}

.is-path-frontpage div.messages {
  margin-bottom: 40px;
}

div.status {
  background-image: url(/themes/drly/images/message-24-ok.png);
  border-color: #be7;
}

div.status,
.ok {
  color: #234600;
}

div.status,
table tr.ok {
  background-color: #f8fff0;
}

div.warning {
  background-image: url(/themes/drly/images/message-24-warning.png);
  border-color: #ed5;
}

div.warning,
.warning {
  color: #840;
}

div.warning,
table tr.warning {
  background-color: #fffce5;
}

div.error {
  background-image: url(//themes/drly/images/message-24-error.png);
  border-color: #ed541d;
}

div.error,
.error {
  color: #8c2e0b;
}

div.error,
table tr.error {
  background-color: #fef5f1;
}

div.error p.error {
  color: #333;
}

div.messages ul {
  margin: 0 0 0 1em; /* LTR */
  padding: 0;
}

div.messages ul li {
  list-style-image: none;
}

/* FORMS */

form {
  width: 100%;
  box-sizing: border-box;
}

form label {
  font-size: 16px;
  line-height: 18px;
  font-weight: normal;
  margin-bottom: 8px;
}

.form-type-radio label {
  font-weight: bold;
}

input[type="text"], input[type="password"], input[type="number"], input[type="email"], input[type="tel"], input[type="date"], select {
  border-radius: 2px;
  border: 2px solid #d7d7d7;
  height: 32px;
  width: 100%;
  box-shadow: none;
  box-sizing: border-box;
  outline: none;
  background: none;
  font-size: 16px;
}

textarea {
  border-radius: 2px;
  border: 2px solid #d7d7d7;
  width: 100%;
  box-shadow: none;
  box-sizing: border-box;
  outline: none;
  background: #fff;
  font-size: 16px;
}

input[type="radio"] {
  margin-left: 16px;
  margin-right: 8px;
}

input[type="submit"] {
  width: 100%;
  border-radius: 0;
  border: none;
  font-size: 20px;
  font-weight: bold;
  line-height: 22px;
  padding-top: 6px;
  height: 32px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: none;
  box-shadow: none;
  color: #fff;
  background-color: #0037b2;
  box-sizing: border-box;
  outline: 0;
  transition: outline 0.1s;
}

input[type="submit"]:hover {
  outline: 3px solid #0037b2;
  transition: outline 0.1s;
}

input[type="submit"]:disabled {
  opacity: 0.45;
}

select {
  box-sizing: border-box;
  border-radius: 2px;
  border: 2px solid #d7d7d7;
  height: 32px;
  width: 100%;
  box-shadow: none;
  outline: none;
  background: none;
  font-size: 16px;
}

/* Datepicker */
input.datepicker,
input.datepicker-present,
input.datepicker-past,
input.datepicker-100{
  background: url(/themes/drly/images/calendar.png) no-repeat 97% center #fff;
  background-size: 16px auto;
}

.ui-datepicker .ui-widget-header {
  border: none;
  background: none;
}

.ui-datepicker td {
  height: 32px;
}

.ui-datepicker .ui-state-default,
.ui-datepicker .ui-widget-content .ui-state-default {
  background: none;
  border: none;
  display: block;
  height: 100%;
  text-align: center;
  line-height: 28px;
}

.ui-datepicker .ui-state-active,
.ui-datepicker .ui-widget-content .ui-state-active {
  border: 1px solid #4aaae8;
  background: #4aaae8;
  color: #fff;
  border-radius: 3px;
}

.ui-datepicker .ui-datepicker-today .ui-state-default {
  color: #454545;
}

.ui-datepicker .ui-widget-header .ui-icon {
  background: none;
}

.ui-datepicker .ui-widget-header a[data-handler="prev"] .ui-icon:before {
  content: '<';
  position: absolute;
  left: 0;
  width: 17px;
  font-size: 18px;
  text-indent: 0;
  text-align: center;
  font-weight: 300;
}

.ui-datepicker .ui-widget-header a[data-handler="next"] .ui-icon:before {
  content: ">";
  position: absolute;
  left: 0;
  width: 17px;
  font-size: 18px;
  text-indent: 0;
  text-align: center;
  font-weight: 300;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  display: inline-block;
}

/* Views exposed form */
.views-exposed-form label {
  font-weight: normal !important;
}

.views-exposed-form .form-type-radio label {
  font-weight: bold !important;
}

.views-exposed-widget {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  padding-right: 0 !important;
}

/* LAYOUT */

body {
  min-width: 320px;
}

/* Layout - general rules */
:first-child {
  margin-top: 0;
}

:last-child {
  margin-bottom: 0;
}

img {
  width: 100%;
  height: auto;
}

img[title="sort ascending"],
img[title="sort descending"] {
  width: 20px;
  height: auto;
}

/* Layout - Areas */
.area {
  margin-top: 32px;
  margin-bottom: 32px;
  min-width: 100%;
}

.area__content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}

.area--full .area__content {
  max-width: 100%;
}

.area--wide .area__content {
  max-width: 1024px;
  padding-right: 8px;
  padding-left: 8px;
}

.area--narrow .area__content {
  max-width: 768px;
  padding-right: 8px;
  padding-left: 8px;
}

.not-front .area--main-content {
  padding-top: 47px;
}

@media only screen and (min-width: 768px) {
  .area--wide .area__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .area--narrow .area__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .not-front .area--main-content {
    padding-top: 70px;
  }
}

@media only screen and (min-width: 1024px) {
  .not-front .area--main-content {
    padding-top: 0;
  }
}

/* Areas with background colours have their margins swapped for padding */
[class*="area--bg"] {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 32px;
  padding-bottom: 32px;
}

.area--bg-vlb {
  background-color: #aae0f9;
}

.area--bg-lb {
  background-color: #00abee;
}

/*.area--bg-lb.area--sub-nav,*/
.area--bg-lb.area--copyright{
  background-color: #0037b2;
}

.is-page-node-type-off-roster-stallion.pweb-logged-in .area--bg-lb:not(.area--copyright),
.pweb-logged-in.is-path-me .area--bg-lb:not(.area--copyright) {
  background-color: #83D6F4;
  height: 32px;
}

.area--bg-db {
  background-color: #0037b2;
}

/* Some Areas will leave the spacing to their content */
.area.area--flush {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Area on personalised account page */
@media only screen and (min-width: 1024px) {
  .area.area--personalised-account {
    padding-top: 0;
  }

  .admin-menu .area.area--personalised-account {
    padding-top: 150px;
  }
}

/* Layout - Grids */
_:-ms-input-placeholder, :root .pure-g {
  display: block; /* IE >= 10 hack. Fixes widths of pure grid children by not using flexbox */
}

.pure-g {
  margin-right: -8px;
  margin-left: -8px;
}

[class*="pure-u"] > .box {
  margin-right: 8px;
  margin-left: 8px;
  padding: 8px;
}

[class*="pure-u"] > .box--flush {
  padding: 0;
}

/* Layout - Table grids with vertical line separators! */
.drly-g {
  display: table;
  table-layout: fixed;
  min-width: 100%;
}

.drly-u {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: table-cell;
  vertical-align: top;
}

.drly-u > .box {
}

/* SITE - HEADER */

/* Top header */
/*.area--header .top-header {*/
/*  position: fixed;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  z-index: 4;*/
/*  padding: 0 8px;*/
/*  height: 0;*/
/*  box-sizing: border-box;*/
/*}*/

/*@media only screen and (max-width: 1023px) {*/
/*  .regions-menu-open .area--header .top-header__content {*/
/*    position: fixed;*/
/*    width: 100%;*/
/*    left: 0;*/
/*    top: 0;*/
/*    z-index: 3;*/
/*    height: 3em; !** todo: replace this - should auto **!*/
/*  }*/
/*}*/

/*@media only screen and (min-width: 1024px) {*/
/*  .area--header .top-header {*/
/*    background-color: #0037b2;*/
/*    height: auto;*/
/*    padding: 0 16px;*/
/*    position: relative;*/
/*  }*/

/*  .area--header .top-header__content {*/
/*    max-width: 1280px;*/
/*    margin: 0 auto;*/
/*    position: relative;*/
/*  }*/
/*}*/

/* Social media links - top header */
.header-wrapper .top-header__social-links,
.header-wrapper .header .social-links {
  display: none;
}

.menu-open .header-wrapper .header .social-links {
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.header-wrapper .social-links__item {
  width: auto;
  margin: 0;
  padding: 4px 12px;
}

.header-wrapper .social-links__item a {
  color: #fff;
  font-size: 32px;
}

.header-wrapper .social-links__item a:hover {
  color: #fff;
}

@media only screen and (min-width: 1024px) {
  .header-wrapper .top-header__social-links {
    display: none;
    right: 110px;
    top: 2px;
    position: absolute;
  }

  .header-wrapper .header .social-links,
  .menu-open .header-wrapper .header .social-links {
    display: none;
  }

  .menu-open .header-wrapper .top-header__social-links.mobile-hidden {
    display: block;
  }

  .header-wrapper .social-links__item {
    padding: 4px 6px;
  }

  .header-wrapper .social-links__item a {
    font-size: 20px;
  }
}

/* Pweb login */
.header-wrapper .pweb-button {
  display: none;
}

.header-wrapper .pweb-link-tab {
  padding: 0;
}

.header-wrapper .pweb-link-tab a,
.header-wrapper .pweb-button a,
.header-wrapper .pweb-tab {
  background-color: #00abee;
  color: #fff!important;
  padding: 8px 12px 2px;
  font-size: 15px!important;
  font-weight: normal;
  display: block;
  box-sizing: border-box;
  height: 40px;
  text-align: center;
  text-transform: uppercase;
}

.header-wrapper .pweb-link.log_out {
  line-height: 23px;
  padding: 5px 12px;
}

.header-wrapper .pweb-link-tab a,
.header-wrapper .pweb-tab {
  padding-top: 8px;
}

.header-wrapper .pweb-link-tab a svg,
.header-wrapper .pweb-button a svg,
.header-wrapper .pweb-tab svg {
  color: #00abee;
  background-color: #0037b2;
  padding: 4px 6px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  transform: translate(0, -2px);
}

/* Search */
.area--header .search {
  display: none;
}

.area--header .search .form-text {
  display: block;
  line-height: 24px;
  padding: 8px 40px 8px 8px;
  border: none;
  border-radius: 0;
}

.area--header .search .form-submit {
  position: absolute;
  top: 6px;
  right: 8px;
  height: 20px;
  width: 20px;
  background: url(/themes/drly/img/common/search-blue.png) no-repeat transparent;
  background-size: contain;
  border: none;
  color: transparent;
  cursor: pointer;
}

.area--header .search .form-submit:hover {
  outline: none;
}

@media only screen and (min-width: 1024px) {
  .area--header .search {
    padding: 0 0 8px;
    display: block;
    position: absolute;
    right: 0;
    top: 20px;
  }

  .area--header .search .form-text {
    border: 2px solid #00abee;
    width: 160px;
  }
}

@media only screen and (min-width: 1280px) {
  .area--header .search {
    right: 0;
  }
}

@media only screen and (max-width: 1023px) {
  .menu-open .area--header .search {
    display: block;
    position: relative;
    margin: 16px;
  }

  .area--header .search .form-text {
    background-color: #fff;
  }
}

/* SITE - SUB NAV */

/*.area--sub-nav .menu {*/
/*  list-style-type: none;*/
/*  padding: 0;*/
/*}*/

/*.area--sub-nav .menu-item {*/
/*  display: inline-block;*/
/*  padding: 0 8px;*/
/*}*/

/*.area--sub-nav .menu-link {*/
/*  color: #fff;*/
/*  font-weight: normal;*/
/*}*/

/*.area--sub-nav .menu-link.is-active-trail,*/
/*.area--sub-nav .menu-link:active,*/
/*.area--sub-nav .menu-link:focus,*/
/*.area--sub-nav .menu-link:hover {*/
/*  color: #66cef5;*/
/*}*/

/* Exclude some links from non American domains */
body:not(.domain-www-darleyamerica-com) .menu-mlid-1251,
body:not(.domain-www-darleyamerica-com) .menu-mlid-1252,
body:not(.domain-www-darleyamerica-com) .menu-mlid-1253 {
  display: none;
}

/* mobile tours link */
.mobile-tours-link {
  text-align: center;
  margin-top: 14px;
}

.mobile-tours-link .menu a {
  font-size: 14px;
}

@media screen and (min-width: 767px) {
  .mobile-tours-link .menu a {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .mobile-tours-link {
    display: none;
  }
}

/* SITE - COMMON */

/* reCAPTCHA */
.g-recaptcha {
  padding-top: 10px;
  padding-bottom: 10px;
}

.flickity-page-dots {
  bottom: 8px;
  line-height: 0;
}

.flickity-page-dots .dot {
  margin: 0 4px;
  width: 12px;
  height: 12px;
  background-color: #fff;
}

.flickity-page-dots .dot.is-selected,
.flickity-page-dots .dot:hover {
  background-color: #00abee;
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .flickity-page-dots {
    bottom: 16px;
  }
}

/* Video.js */
.vjs-default-skin .vjs-big-play-button {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  -webkit-border-radius: 32px;
  -moz-border-radius: 32px;
  border-radius: 32px;
  top: 50%;
  left: 50%;
  margin-top: -32px;
  margin-left: -32px;
}

.vjs-default-skin .vjs-big-play-button .vjs-icon-placeholder:before {
  line-height: 60px;
  left: 2px;
}

/* HOME */

/* Home - Parallax */
.parallax {
  background-position: 50% 50%;
  background-size: cover;
  /* 1280x768, so at largest width of this breakpoint (567) height should be... */
  /* 567/1280*768 = 340.2 */
  height: 340px;
}

@media only screen and (min-width: 568px) {
  .parallax {
    /* 1280x768, so at largest width of this breakpoint (767) height should be... */
    /* 767/1280*768 = 460.2 */
    height: 460px;
  }
}

@media only screen and (min-width: 768px) {
  .parallax {
    /* 1280x768, so at largest width of this breakpoint (1023) height should be... */
    /* 1023/1280*768 = 613.8 */
    height: 613px;
  }
}

@media only screen and (min-width: 1024px) {
  .parallax {
    background-attachment: fixed;
    height: 100vh;
    will-change: scroll-position;
  }

  /* iOS - background-size: cover and background-position:fixed don't play nice */
  .is-iOS .parallax {
    background-attachment: scroll;
    will-change: auto;
  }

  .is-iOS .parallax {
    /* 1280x768, so at largest width of this breakpoint (1024) height should be... */
    /* 1024/1280*768 = 614.4 */
    height: 614px;
  }
}

/* Home - social links */
@media only screen and (min-width: 568px) {
  .area--social-links .social-links__item {
    margin: 0 16px;
  }
}

/* HALL OF FAME */
.page-node-22473 .group-header {
  padding-bottom: 0;
  border: none;
}

/* ABOUT US */

/* Inside Darley - index page */
.inside-darley {
  margin: 0 -4px;
}

.inside-darley--item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  padding: 4px;
  width: 100%;
}

@media only screen and (min-width: 568px) {
  .inside-darley--item {
    padding: 8px;
    width: 50%;
  }
}

@media only screen and (min-width: 768px) {
  .inside-darley {
    margin: 0 -8px;
  }

  .inside-darley--item {
    width: 33.33%;
  }
}

#block-views-inside-darley-first-item-block .view-content {
  text-align: center;
  border-bottom: 1px solid #000;
  padding-bottom: 16px;
}

#block-views-inside-darley-first-item-block .field--name-field-image-a,
#block-views-inside-darley-first-item-block .field--name-field-video {
  max-height: 551px;
  margin-bottom: 16px;
}

#block-views-inside-darley-first-item-block .field--name-field-image-a img,
#block-views-inside-darley-first-item-block .field--name-field-video img {
  max-height: 551px;
  max-width: 100%;
  width: auto;
}

#block-views-inside-darley-first-item-block .field--name-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
}

#block-views-inside-darley-first-item-block .field--name-title h2 {
  font-size: 40px;
  line-height: 42px;
}

#block-views-inside-darley-first-item-block .field--name-title h2 a {
  color: #000;
}

#block-views-inside-darley-first-item-block .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

#block-views-inside-darley-new-block .field--name-field-image-a,
#block-views-inside-darley-new-block .field--name-field-video {
  margin-bottom: 8px;
}

#block-views-inside-darley-new-block .field--name-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 4px;
}

#block-views-inside-darley-new-block .field--name-title h2 {
  font-size: 25px;
  line-height: 27px;
  margin-bottom: 4px;
}

#block-views-inside-darley-new-block .field--name-title h2 a {
  color: #000;
}

#block-views-inside-darley-new-block .field--name-field-standfirst {
  font-size: 18px;
  line-height: 20px;
}

/* Single blog post */
.node-type-blog-post .ds-header {
  border-bottom: 1px solid #7d7d7d;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.node-type-blog-post .ds-header .field--name-post-date {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.node-type-blog-post .ds-header .field--name-title {
  margin-bottom: 16px;
}

.node-type-blog-post .ds-header .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

.node-type-blog-post .ds-left .field-type-image {
  margin-bottom: 16px;
}

.node-type-blog-post .field--name-field-video,
.node-type-blog-post .field--name-field-blog-video-1,
.node-type-blog-post .field--name-field-blog-video-2,
.node-type-blog-post .field--name-field-blog-video-3,
.node-type-blog-post .field--name-field-blog-video-4 {
  margin-bottom: 16px;
}

.node-type-blog-post .field--name-field-caption-a,
.node-type-blog-post .field--name-field-caption-b,
.node-type-blog-post .field--name-field-caption-c,
.node-type-blog-post .field--name-field-caption-d,
.node-type-blog-post .field--name-field-caption-e,
.node-type-blog-post .field--name-field-blog-video-caption-1,
.node-type-blog-post .field--name-field-blog-video-caption-2,
.node-type-blog-post .field--name-field-blog-video-caption-3,
.node-type-blog-post .field--name-field-blog-video-caption-4 {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}

.node-type-blog-post .field-type-text-long {
  margin-bottom: 16px;
}

/* Recent posts */
#block-views-4f7e93caa8a9fdf44adf839cb8a5884b {
  margin-top: 0;
}

#block-views-4f7e93caa8a9fdf44adf839cb8a5884b .area__content {
  padding: 0;
}

#block-views-4f7e93caa8a9fdf44adf839cb8a5884b h2.block-title {
  font-size: 18px;
  line-height: 20px;
  color: #0037b2;
}

#block-views-4f7e93caa8a9fdf44adf839cb8a5884b .views-row {
  margin-bottom: 16px;
}

#block-views-4f7e93caa8a9fdf44adf839cb8a5884b .views-field-created {
  font-size: 14px;
  line-height: 16px;
}

#block-views-4f7e93caa8a9fdf44adf839cb8a5884b .views-field-title h2 {
  font-size: 14px;
  line-height: 16px;
}

#block-views-4f7e93caa8a9fdf44adf839cb8a5884b .views-field-title h2 a {
  color: #000;
}

/* Inside Darley subscribe - status message */
.inside-darley-message {
  background-color: #66cef5;
  margin-bottom: 16px;
  padding: 8px 8px 6px;
}

.inside-darley-message a {
  color: #fff;
  font-weight: normal;
}

.inside-darley-message,
.inside-darley-message a:active,
.inside-darley-message a:focus,
.inside-darley-message a:hover {
  color: #0037b2;
}

/* Inside Darley subscribe - subscribe */
.inside-darley-subscribe {
  max-width: 304px;
  margin-left: auto;
  margin-right: auto;
}

.inside-darley-subscribe h2 {
  color: #0037b2;
  font-size: 18px;
  line-height: 20px;
  margin: 0 0 8px;
}

.inside-darley-subscribe label {
  font-size: 14px;
  line-height: 16px;
}

.inside-darley-subscribe input {
  margin-top: 8px;
}

.current-subscribers {
  background-color: #66cef5;
  margin: 8px 0;
  padding: 8px;
}

.current-subscribers a {
  color: #fff;
  display: block;
  font-weight: normal;
}

.current-subscribers a:active,
.current-subscribers a:focus,
.current-subscribers a:hover {
  color: #0037b2;
}

/* Inside Darley subscribe - subscribers */
.inside-darley-subscribers {
  width: 100%;
}

.inside-darley-subscribers th,
.inside-darley-subscribers td {
  text-align: left;
}

.inside-darley-subscribers td {
  word-break: break-all;
}

/* Stallion - American links */
.stallion__american_links {
  text-align: center;
}

.stallion__american_links .area__content {
  padding: 8px 0;
}

.stallion__american_links .area__content .pure-g {
  margin: 0;
}

.stallion__american_links a {
  color: #fff;
  font-size: 15px;
  line-height: 17px;
  font-weight: normal;
  padding: 9px 8px 7px 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin: 8px 0;
  width: auto;
  box-shadow: none;
  transition: box-shadow .2s;
}

.stallion__american_links a svg {
  margin-left: 16px;
  font-size: 14px;
}

.stallion__american_links a:hover {
  box-shadow: 0 0 0 2px #fff;
  transition: box-shadow .2s;
}

/* Distinguished by excellence - contact noms section */
.stallion__noms {
  text-align: center;
}

.stallion__noms h2 {
  color: #fff;
  font-size: 40px;
  line-height: 42px;
  font-style: italic;
  font-weight: normal;
}

.stallion__noms a {
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  font-weight: normal;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 6px;
  box-shadow: none;
  transition: box-shadow 0.2s;
}

.stallion__noms a:hover {
  box-shadow: 0 0 0 2px #fff;
  transition: box-shadow 0.2s;
}

@media only screen and (min-width: 568px) {
  .stallion__noms a {
    font-size: 20px;
    line-height: 22px;
    padding: 8px 16px;
  }
}

/* STALLION VIDEO FOOTAGE INDIVIDUAL PAGE */
.node-type-stallion-video-footage .field--name-title h1 {
  margin-bottom: 24px;
}

@media only screen and (min-width: 768px) {
  .node-type-stallion-video-footage .field--name-title h1 {
    font-size: 32px;
    line-height: 34px;
  }
}

.node-type-stallion-video-footage .field--name-field-video {
  margin-bottom: 16px;
}

.node-type-stallion-video-footage .field--name-field-stallions {
  font-size: 18px;
  line-height: 20px;
}

/*!* HORSES FOR SALE *!*/


/* Timeform field is for all domains EXCEPT Japan */
.domain-www-darley-co-jp .views-field-timeform {
  display: none;
}

/* Seller field is for Japan ONLY */
body:not(.domain-www-darley-co-jp) .views-field-seller {
  display: none;
}

.view-horses-for-sale-list .views-field-timeform {
  text-align: right;
}

.view-horses-for-sale-list .views-field-timeform .timeform-btn,
.view-horses-for-sale-search .views-field-timeform .timeform-btn {
  height: 20px;
  width: 20px;
  float: right;
}

.view-horses-for-sale-list .views-field-timeform .timeform-btn:after,
.view-horses-for-sale-search .views-field-timeform .timeform-btn:after {
  content: '+';
  cursor: pointer;
  display: block;
  font-size: 24px;
  font-weight: bold;
  height: 20px;
  line-height: 24px;
  text-align: center;
  width: 20px;
  color: #0037b2;
  border-radius: 4px;
  border: 1px solid #0037b2;
}

.view-horses-for-sale-list .views-field-timeform.exp .timeform-btn:after,
.view-horses-for-sale-search .views-field-timeform.exp .timeform-btn:after {
  content: '−';
  height: 20px;
  width: 20px;
}

.view-horses-for-sale-search .view-grouping-header {
  font-size: 16px;
  line-height: 18px;
  color: #0037b2;
}

.view-horses-for-sale-search .view-grouping-content > h3 {
  font-size: 16px;
  line-height: 18px;
  color: #0037b2;
  font-weight: normal !important;
}

.view-horses-for-sale-search .view-grouping-content > h3 .date-display-single {
  font-weight: normal !important;
}

.view-horses-for-sale-search .view-grouping-header a {
  color: #000;
  font-size: 25px;
  line-height: 27px;
}

@media only screen and (max-width: 767px) {
  .view-horses-for-sale-list table .views-field-field-horse-lot-number,
  .view-horses-for-sale-search table .views-field-field-horse-lot-number,
  .view-broodmares-for-sale-list table .views-field-field-horse-lot-number {
    left: 8px;
  }
}

@media only screen and (max-width: 1023px) {
  .view-horses-for-sale-list .table-wrapper,
  .view-horses-for-sale-search .table-wrapper,
  .view-broodmares-for-sale-list .table-wrapper {
    background-color: #e1e1e1;
  }

  .view-horses-for-sale-list .table-inner-wrapper,
  .view-horses-for-sale-search .table-inner-wrapper,
  .view-broodmares-for-sale-list .table-inner-wrapper {
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    margin-left: 161px;
    background-color: #fff;
  }

  .i18n-ja .view-horses-for-sale-list .table-inner-wrapper,
  .i18n-ja .view-horses-for-sale-search .table-inner-wrapper,
  .i18n-ja .view-broodmares-for-sale-list .table-inner-wrapper {
    margin-left: 198px;
  }

  .view-horses-for-sale-list table th,
  .view-horses-for-sale-search table th,
  .view-broodmares-for-sale-list table th {
    padding: 7px;
  }

  .view-horses-for-sale-list table td,
  .view-horses-for-sale-search table td,
  .view-broodmares-for-sale-list table td {
    padding: 7px;
  }

  .view-horses-for-sale-list table .views-field-field-horse-lot-number,
  .view-horses-for-sale-search table .views-field-field-horse-lot-number,
  .view-broodmares-for-sale-list table .views-field-field-horse-lot-number {
    position: absolute;
    background-color: #e1e1e1;
    width: 35px;
    left: 16px;
    font-weight: bold;
    color: #0037b2;
  }

  .i18n-ja .view-horses-for-sale-list table .views-field-field-horse-lot-number,
  .i18n-ja .view-horses-for-sale-search table .views-field-field-horse-lot-number,
  .i18n-ja .view-broodmares-for-sale-list table .views-field-field-horse-lot-number {
    width: 72px;
  }

  .view-horses-for-sale-list table .views-field-title-1,
  .view-horses-for-sale-search table .views-field-title-1,
  .view-broodmares-for-sale-list table .views-field-title-1 {
    position: absolute;
    background-color: #e1e1e1;
    width: 100px;
    padding-left: 5px;
    left: 57px;
  }

  .i18n-ja .view-horses-for-sale-list table .views-field-title-1,
  .i18n-ja .view-horses-for-sale-search table .views-field-title-1,
  .i18n-ja .view-broodmares-for-sale-list table .views-field-title-1 {
    left: 94px;
  }

  .view-horses-for-sale-list .timeform-field-content .content,
  .view-horses-for-sale-search .timeform-field-content .content {
    float: right;
  }
}

/* Horses for sale - search form */
#block-views-5fc88583f7547b9a0e58bb98e959b3bc #edit-field-sale-type-value-wrapper * {
  display: inline-block;
}

#block-views-5fc88583f7547b9a0e58bb98e959b3bc [type="submit"] {
  margin-top: 8px;
}

@media only screen and (min-width: 1024px) {
  #block-views-5fc88583f7547b9a0e58bb98e959b3bc form {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* contact sale person */
.prospect__noms {
  text-align: center;
}

.prospect__noms h2 {
  color: #fff;
  font-size: 50px;
  line-height: 52px;
  font-style: italic;
  font-weight: normal;
}

.prospect__noms a {
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  font-weight: normal;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 6px;
}

@media only screen and (min-width: 568px) {
  .prospect__noms a {
    font-size: 30px;
    line-height: 32px;
    padding: 8px 24px;
  }
}

/* American tours */
.node-contact-page #tours {
  padding-top: 20px;
  margin-top: -20px;
}

@media screen and (min-width: 768px) {
  .node-contact-page #tours {
    padding-top: 160px;
    margin-top: -160px;
  }
}

/* Subscribe by email form */
#subscribe-by-email-entityform-edit-form .form-actions {
  margin-top: 16px;
  padding: 0;
}

#subscribe-by-email-entityform-edit-form .field--name-field-email-status {
  display: none;
}

/* Enquiry form & request a brochure & request a nomination forms */
#webform-submission-enquiry-form-add-form .webform-flex--container {
  margin: 0;
}

#webform-submission-request-a-nomination-node-30318-add-form .form-item-last-service-date,
#webform-submission-request-a-nomination-node-30318-add-form #edit-7th-line .form-item-email {
  max-width: 50%;
  padding-right: 8px;
  box-sizing: border-box;
}

#webform-submission-request-a-nomination-node-30318-add-form #edit-5th-line > .webform-flex:first-child {
  display: none;
}

@media screen and (min-width: 768px) {
  #webform-submission-request-a-nomination-node-30318-add-form #edit-8th-line > .webform-flex:first-child {
    max-width: 25%;
  }
  #webform-submission-request-a-nomination-node-30318-add-form #edit-8th-line > .webform-flex:last-child {
    max-width: 75%;
  }
}

@media screen and (max-width: 767px) {
  #webform-submission-request-a-nomination-node-30318-add-form select,
  #webform-submission-request-a-nomination-node-30318-add-form input {
    margin-bottom: 16px;
  }
}

/*#webform-client-form-108, #webform-client-form-15310 {*/
  /*margin-top: 32px;*/
/*}*/

/*.node-106 .field--name-body,*/
/*.node-8737 .field--name-body {*/
  /*margin-bottom: 32px;*/
/*}*/

/*.node-106 .field--name-body p,*/
/*.node-8737 .field--name-body p {*/
  /*font-size: 16px;*/
/*}*/

/*#webform-client-form-105 {*/
  /*max-width: 660px;*/
  /*margin: auto;*/
/*}*/

/*#webform-client-form-106 {*/
  /*max-width: 660px;*/
  /*margin: auto;*/
/*}*/

/*#webform-client-form-105 #edit-submit,*/
/*#webform-client-form-106 #edit-submit {*/
  /*width: 200px;*/
  /*margin-top: 30px;*/
/*}*/

/*#webform-client-form-105 #edit-actions,*/
/*#webform-client-form-106 #edit-actions {*/
  /*width: 200px;*/
  /*margin: auto;*/
/*}*/

/*#webform-client-form-105 .form-required,*/
/*#webform-client-form-106 .form-required,*/
/*#webform-client-form-108 .form-required,*/
/*#webform-client-form-15310 .form-required,*/
/*#webform-client-form-8737 .form-required {*/
  /*color: #0037b2;*/
/*}*/

/*form#webform-client-form-105 *,*/
/*form#webform-client-form-106 *,*/
/*#webform-client-form-108 *,*/
/*#webform-client-form-15310 * {*/
  /*margin: 0;*/
/*}*/

/*#webform-client-form-105 .webform-layout-box.horiz > *, #webform-client-form-106 .webform-layout-box.horiz > * {*/
  /*margin-left: 0;*/
/*}*/

/*#webform-client-form-105 .form-item,*/
/*#webform-client-form-106 .form-item,*/
/*#webform-client-form-108 .form-item,*/
/*#webform-client-form-15310 .form-item,*/
/*#webform-client-form-8737 .form-item {*/
  /*margin-bottom: 16px;*/
  /*width: 100%;*/
/*}*/

/*#webform-client-form-106 #webform-component-6th-line--box {*/
  /*width: 100%;*/
/*}*/

/*#webform-client-form-108 #webform-component-last-service-date,*/
/*#webform-client-form-15310 #webform-component-last-service-date {*/
  /*width: 100%;*/
/*}*/

/*#webform-client-form-108 #webform-component-last-service-date .form-item,*/
/*#webform-client-form-15310 #webform-component-last-service-date .form-item {*/
  /*width: 28%;*/
  /*float: left;*/
  /*padding: 0 4px;*/
/*}*/

/*#webform-client-form-108 #webform-component-last-service-date .form-item-submitted-last-service-date-day,*/
/*#webform-client-form-15310 #webform-component-last-service-date .form-item-submitted-last-service-date-day {*/
  /*padding-left: 0;*/
/*}*/

/*#webform-client-form-108 .form-actions,*/
/*#webform-client-form-15310 .form-actions {*/
  /*width: 100%;*/
  /*clear: both;*/
  /*min-height: 72px;*/
/*}*/

/*#webform-client-form-108 .form-actions input,*/
/*#webform-client-form-15310 .form-actions input {*/
  /*width: 240px;*/
  /*float: left;*/
  /*margin: 8px;*/
/*}*/

/*#webform-client-form-15310 #webform-component-comments-on-mares-physique {*/
  /*clear: both;*/
/*}*/

/*#webform-client-form-8737 #edit-submitted-would-you-like-to-be-contacted-by-darley-via-sms {*/
  /*margin-top: 8px;*/
  /*margin-bottom: 24px;*/
/*}*/

/*#webform-client-form-8737 #edit-submitted-would-you-like-to-be-contacted-by-darley-via-sms .form-item {*/
  /*margin-bottom: 8px;*/
/*}*/

/*#webform-client-form-8737 #edit-submitted-would-you-like-to-be-contacted-by-darley-via-sms .form-item input {*/
  /*margin-left: 0;*/
/*}*/

/*#webform-client-form-108 #webform-component-hr hr,*/
/*#webform-client-form-108 #webform-component-hr-2 hr,*/
/*#webform-client-form-105 #webform-component-hr hr,*/
/*#webform-client-form-105 #webform-component-hr-2 hr,*/
/*#webform-client-form-106 #webform-component-1st-HR hr,*/
/*#webform-client-form-106 #webform-component-2nd-HR hr {*/
  /*display: none;*/
/*}*/

/*#webform-client-form-105 #webform-component-6th-line--telephone,*/
/*#webform-client-form-105 #webform-component-6th-line--mobile,*/
/*#webform-client-form-106 #webform-component-5th-line--telephone,*/
/*#webform-client-form-106 #webform-component-5th-line--mobile {*/
  /*width: 68%;*/
  /*margin-top: 18px;*/
  /*margin-left: 4%;*/
/*}*/

/*#webform-client-form-105 #webform-component-6th-line--tell-code,*/
/*#webform-client-form-105 #webform-component-6th-line--mob-code,*/
/*#webform-client-form-106 #webform-component-5th-line--tell-code,*/
/*#webform-client-form-106 #webform-component-5th-line--mob-code {*/
  /*width: 28%;*/
/*}*/

/*#webform-client-form-105 #webform-component-5th-line--county-state,*/
/*#webform-client-form-105 #webform-component-5th-line--county-state-txt,*/
/*#webform-client-form-106 #webform-component-4th-line--county-state,*/
/*#webform-client-form-106 #webform-component-4th-line--county-state-txt {*/
  /*display: none;*/
/*}*/

@media only screen and (min-width: 568px) {
  /*#webform-client-form-105 .form-item,*/
  /*#webform-client-form-108 .form-item,*/
  /*#webform-client-form-15310 .form-item {*/
    /*margin: 0 0 24px 0;*/
    /*box-sizing: border-box;*/
    /*padding: 0 10px;*/
    /*float: left;*/
  /*}*/

  .form-actions {
    padding: 0 10px;
  }

  /*#webform-client-form-105 .form-textarea-wrapper {*/
    /*width: 100%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-1st-line--title {*/
    /*width: 25%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-1st-line--first-name {*/
    /*width: 37.5%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-1st-line--last-name {*/
    /*width: 37.5%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-2nd-line .form-item,*/
  /*#webform-client-form-105 #webform-component-3rd-line .form-item,*/
  /*#webform-client-form-105 #webform-component-4th-line .form-item,*/
  /*#webform-client-form-105 #webform-component-5th-line .form-item,*/
  /*#webform-client-form-105 #webform-component-7th-line .form-item {*/
    /*width: 50%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-6th-line--tell-code,*/
  /*#webform-client-form-105 #webform-component-6th-line--mob-code {*/
    /*width: 20%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-6th-line--telephone,*/
  /*#webform-client-form-105 #webform-component-6th-line--mobile {*/
    /*width: 30%;*/
    /*margin-top: 18px;*/
    /*margin-left: 0;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-8th-line #webform-component-8th-line--are-you-a {*/
    /*width: 33%;*/
  /*}*/

  /*#webform-client-form-105 #webform-component-8th-line--comments {*/
    /*width: 67%;*/
  /*}*/

  /*#webform-client-form-108 #webform-component-hr hr,*/
  /*#webform-client-form-108 #webform-component-hr-2 hr,*/
  /*#webform-client-form-105 #webform-component-hr hr,*/
  /*#webform-client-form-105 #webform-component-hr-2 hr {*/
    /*height: 1px;*/
    /*background-color: #d1d3d7;*/
    /*border: none;*/
    /*display: block;*/
  /*}*/

  #webform-component-6th-line--box--brochure .form-item {
    margin-top: 8px;
    margin-bottom: 0;
  }

  /*#webform-client-form-15310 #webform-component-telephone,*/
  /*#webform-client-form-15310 #webform-component-mobile,*/
  /*#webform-client-form-15310 #webform-component-address,*/
  /*#webform-client-form-15310 #webform-component-town-city,*/
  /*#webform-client-form-15310 #webform-component-email,*/
  /*#webform-client-form-15310 #webform-component-email-confirm,*/
  /*#webform-client-form-15310 #webform-component-first-name,*/
  /*#webform-client-form-15310 #webform-component-last-name {*/
    /*width: 50%;*/
  /*}*/

  /*#webform-client-form-15310 #webform-component-county-state,*/
  /*#webform-client-form-15310 #webform-component-postcode-zip,*/
  /*#webform-client-form-15310 #webform-component-country {*/
    /*width: 33.3%;*/
  /*}*/

  /*#webform-client-form-15310 #webform-component-are-you-a {*/
    /*width: 25%;*/
  /*}*/

  /*#webform-client-form-15310 #webform-component-comments {*/
    /*width: 75%;*/
  /*}*/

  /*#webform-client-form-15310 .form-actions {*/
    /*min-height: 48px;*/
  /*}*/
}

@media only screen and (min-width: 665px) {
  /*#webform-client-form-106 .form-item {*/
    /*margin: 0 0 24px 0;*/
    /*box-sizing: border-box;*/
    /*padding: 0 10px;*/
    /*float: left;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-1st-HR hr,*/
  /*#webform-client-form-106 #webform-component-2nd-HR hr {*/
    /*height: 1px;*/
    /*background-color: #d1d3d7;*/
    /*border: none;*/
    /*display: block;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-1st-line--title {*/
    /*width: 25%;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-1st-line--first-name {*/
    /*width: 37.5%;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-1st-line--last-name {*/
    /*width: 37.5%;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-5th-line--telephone,*/
  /*#webform-client-form-106 #webform-component-5th-line--mobile {*/
    /*width: 33%;*/
    /*margin-top: 18px;*/
    /*margin-left: 0;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-5th-line--tell-code,*/
  /*#webform-client-form-106 #webform-component-5th-line--mob-code {*/
    /*width: 17%;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-2nd-line .form-item,*/
  /*#webform-client-form-106 #webform-component-25nd-line .form-item,*/
  /*#webform-client-form-106 #webform-component-3rd-line .form-item,*/
  /*#webform-client-form-106 #webform-component-4th-line .form-item,*/
  /*#webform-client-form-106 #webform-component-55th-line .form-item {*/
    /*width: 50%;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-6th-line #webform-component-6th-line--are-you-a {*/
    /*width: 33%;*/
  /*}*/

  /*#webform-client-form-106 .form-textarea-wrapper {*/
    /*width: 100%;*/
  /*}*/

  /*#webform-client-form-106 textarea {*/
    /*min-height: 200px;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-6th-line--comments {*/
    /*width: 67%;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-6th-line--box {*/
    /*width: 33%;*/
    /*float: left;*/
  /*}*/

  /*#webform-client-form-106 #webform-component-6th-line--box #webform-component-6th-line--are-you-a {*/
    /*width: 100%;*/
  /*}*/
}

/* NEWS */

/* News - News story */
.news .date {
  font-weight: bold;
}

.news .standfirst {
  font-size: 16px;
  line-height: 18px;
}

@media only screen and (min-width: 768px) {
  .news .standfirst {
    font-size: 22px;
    line-height: 24px;
  }
}

/* News - News story (links) */
.news-story__links--b {
  display: none;
}

.news-story__links h3 {
  font-size: 14px;
  line-height: 16px;
  margin: 0;
  padding-top: 4px;
}

@media only screen and (min-width: 768px) {
  .news-story__links--a {
    display: none;
  }

  .news-story__links--b {
    display: block;
  }

  .news-story__links [class*="pure-u"] {
    margin-bottom: 16px;
  }

  .news-story__links [class*="pure-u"]:last-child {
    margin-bottom: 0;
  }

  .news-story__links .standfirst {
    margin-bottom: 16px;
  }

  .news-story__links .standfirst {
    margin-bottom: 0;
  }
}

/* Related stallion and contact page */
.related-stalion {
  margin-bottom: 16px;
}

.related-stalion a,
.news-contact a {
  color: #CC1012;
}

.related-stalion img,
.news-contact img {
  margin-bottom: 8px;
}

/* News - News story (related) */
.news-story--related h2 {
  font-size: 22px;
  font-weight: normal;
  line-height: 24px;
}

.news-story--related h3 {
  font-size: 16px;
  line-height: 18px;
  padding-top: 4px;
}

.news-story--related .drly-g {
  margin-left: -8px;
  margin-right: -8px;
}

.news-story--related .drly-u > .box {
  padding: 0 8px 0 7px;
}

.news-story--related .node-news-story.view-mode-related .field--name-field-photo {
  margin-bottom: 16px;
}

@media only screen and (max-width: 567px) {
  .news-story--related .drly-g,
  .news-story--related .drly-u {
    display: block;
  }

  .news-story--related .drly-u {
    margin-bottom: 16px;
  }
}

@media only screen and (min-width: 568px) {
  .news-story--related .drly-u {
    border-left: 1px solid #222;
    border-right: 1px solid #fff;
    width: 33.33%;
  }

  .news-story--related .drly-u:nth-child(1),
  .news-story--related .drly-u--empty {
    border-left-color: #fff;
  }
}

/* Subscribe by email form */
#block-views-36b9b0c205898935d1700a5fc8cd996a {
  border-top: 1px solid #7d7d7d;
  padding-top: 16px;
}

#block-views-36b9b0c205898935d1700a5fc8cd996a .area__content {
  padding: 0;
}

#block-views-36b9b0c205898935d1700a5fc8cd996a h2 {
  font-size: 18px;
  line-height: 20px;
}

#block-views-36b9b0c205898935d1700a5fc8cd996a label {
  font-size: 14px;
  line-height: 16px;
}

#block-views-36b9b0c205898935d1700a5fc8cd996a .form-actions input {
  font-size: 16px;
  line-height: 18px;
}

/* List of email subscriptions - admin only */
.view-contact-page-subscriptions table {
  width: 100%;
}

.view-contact-page-subscriptions table th {
  padding: 4px 8px;
  text-align: left;
  background-color: #eee;
}

.view-contact-page-subscriptions table td {
  padding: 4px 8px;
  border-bottom: 1px solid #7d7d7d;
}

/* Individual contact detail page */
.node-type-contact-details .field {
  font-size: 18px;
  line-height: 20px;
  margin: 8px 0;
}

.node-type-contact-details .field--name-field-contact-photo {
  max-width: 220px;
  margin: 0 auto 24px;
}

.node-type-contact-details .field--name-title {
  margin-bottom: 0;
  text-align: center;
}

.node-type-contact-details .field--name-title h1 {
  font-size: 32px;
  line-height: 34px;
}

.node-type-contact-details .field--name-field-job-title {
  font-size: 22px;
  line-height: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

.node-type-contact-details .field--name-field-vcard img {
  width: auto;
  height: auto;
}

/* SEARCH RESULTS PAGE */
.search-advanced {
  margin-bottom: 48px;
}

.search-advanced legend {
  font-size: 22px;
  line-height: 24px;
  margin-bottom: 24px;
}

.search-advanced .form-type-textfield {
  margin-bottom: 16px;
}

.search-advanced .action {
  margin-top: -24px;
}

.search-results {
  padding-left: 0;
  margin-top: 32px;
}

.search-results .search-result {
  box-sizing: border-box;
  padding: 12px;
}

.search-results .odd {
  background-color: #f9f9f9;
}

.no-search-results {
  font-size: 14px;
  line-height: 24px;
}

@media only screen and (min-width: 568px) {
  .no-search-results {
    font-size: 18px;
    line-height: 28px;
  }
}

@media only screen and (max-width: 767px) {
  .search-advanced .fieldset-wrapper > .criterion {
    margin: 8px 0;
    width: 100%;
  }

  .search-advanced .action {
    margin-top: 0;
  }
}

.page-search #search-form #edit-basic {
  margin: 16px auto;
}

.page-search #search-form #edit-basic input[type="text"] {
  margin-bottom: 16px;
}

.page-search #edit-basic {
  text-align: center;
}

/* Basic search form on search results page when advanced search is disabled */
@media only screen and (min-width: 768px) {
  .page-search #search-form #edit-basic {
    max-width: 60%;
    margin: 40px auto;
  }

  .page-search #search-form #edit-basic input[type="submit"] {
    max-width: 70%;
    margin: 0 auto !important;
  }
}

/* SITE MAP */

.page-node-17 #block-mainnavigation.menu--main > .menu {
  padding-left: 0;
  margin-top: -15px;
  margin-bottom: 25px;
  margin-left: 0;
}

.page-node-17 #block-mainnavigation.menu--main .menu .menu-item--expanded {
  list-style-image: none;
  list-style-type: none;
}

.page-node-17 #block-mainnavigation.menu--main ul ul {
  padding-left: 10px;
  margin-bottom: 8px;
}

.page-node-17 #block-mainnavigation.menu--main .menu li a {
  text-transform: uppercase;
}

.page-node-17 #block-mainnavigation.menu--main > .menu > .menu-item--expanded:nth-child(1) ul li {
  display: none;
}

.page-node-17.pweb-logged-in #block-mainnavigation.menu--main .menu .menu-item--expanded:nth-child(1) ul li {
  display: block;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* JAPAN LINEBREAKS */
/*Alessandro homepage*/
.is-path-frontpage.i18n-ja .jp-title-desktop,
.is-path-frontpage.i18n-ja .jp-standfirst-desktop {
  display: none;
}

.is-path-frontpage.i18n-ja .tweet_body {
  font-size: 17px;
}

@media only screen and (min-width: 320px) {
}

@media only screen and (min-width: 568px) {
}

/* end homepage */

/*Alessandro news landing page */
.page-news.i18n-ja .recent-news--item .field-type-text-with-summary,
.page-news.i18n-ja .recent-news--item .jp-title-desktop,
.page-news.i18n-ja .recent-news--item .jp-standfirst-desktop,
.page-news.i18n-ja .recent-news--item .MsoNormal,
.page-news.i18n-ja .recent-news--item .field--name-field-body-a {
  display: none;
}

.page-news.i18n-ja .recent-news--item {
  text-align: center;
}

.page-news.i18n-ja .recent-news--item h2,
.page-news.i18n-ja .recent-news--item h3,
.page-news.i18n-ja .recent-news--item h3 a {
  white-space: pre-line;
  color: #000;
  font-size: 31px;
  line-height: 33px;
  width: 265px;
  margin: auto;
  text-align: center;
  margin-bottom: 8px;
}

.page-news.i18n-ja .recent-news--item img {
  margin-bottom: 8px;
}

.page-news.i18n-ja .recent-news--item .even {
  letter-spacing: normal;
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  font-weight: normal;
  font-family: sans-serif;
}

.page-news.i18n-ja .group-left .field--name-post-date,
.page-news.i18n-ja .group-left .field--name-title,
.page-news.i18n-ja .group-left .field--name-field-standfirst,
.page-news.i18n-ja .group-left .field--name-field-body-a {
  width: 265px;
  margin: auto;
  text-align: center;
}

.page-news.i18n-ja .group-left > .field-type-image {
  padding: 0 8px;
}

.page-news.i18n-ja .recent-news--item .field--name-field-standfirst .even,
.page-news.i18n-ja .recent-news--item .jp-standfirst-mobile {
  color: #000;
  font-size: 17px;
  line-height: 19px;
  white-space: pre-line;
}

.page-news.i18n-ja .recent-news--item .node-news-story .pure-u-2-3,
.page-news.i18n-ja .recent-news--item .node-news .pure-u-2-3,
.page-news.i18n-ja .recent-news--item .node-news-story .pure-u-1-3,
.page-news.i18n-ja .recent-news--item .node-news .pure-u-1-3 {
  width: 100%;
}

.page-news.i18n-ja .recent-news--item .node-news .field--name-post-date,
.page-news.i18n-ja .recent-news--item .node-news .field--name-title {
  width: 265px;
  margin: auto;
}

@media only screen and (min-width: 568px) {
  .page-news.i18n-ja .recent-news--item {
    width: 50%;
  }

  .page-news.i18n-ja .recent-news--item .node-news-story .field--name-post-date,
  .page-news.i18n-ja .recent-news--item .node-news-story .field--name-title,
  .page-news.i18n-ja .recent-news--item .node-news .field--name-post-date,
  .page-news.i18n-ja .recent-news--item .node-news .field--name-title {
    width: 265px;
    margin: auto;
    text-align: center;
  }
}

@media only screen and (min-width: 1024px) {
  .page-news.i18n-ja .recent-news--item {
    width: 33.33%;
  }
}

/* end news landing page */

/*Alessandro news page */
.node-type-news.i18n-ja .view-related-stories-news .jp-title-desktop {
  display: none;
}

.node-type-news.i18n-ja .group-header .jp-title-desktop {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  width: 560px;
  display: none;
  white-space: pre-line;
  margin: 5px 0;
}

.node-type-news.i18n-ja .group-header .jp-title-mobile {
  font-size: 31px;
  line-height: 33px;
  color: #0037b2;
  width: 265px;
  white-space: pre-line;
  margin: 8px 0;
}

.node-type-news.i18n-ja .group-header .jp-standfirst-desktop {
  font-size: 22px;
  line-height: 24px;
  white-space: pre;
  width: 560px;
  display: none;
}

.node-type-news.i18n-ja .group-header .jp-standfirst-mobile {
  font-size: 17px;
  line-height: 19px;
  white-space: pre-line;
  width: 265px;
  display: block;
  margin-top: 8px;
}

.node-type-news.i18n-ja .view-related-stories-news .jp-title-mobile {
  color: #000;
}

@media only screen and (min-width: 568px) {
  .node-type-news.i18n-ja .group-header .jp-standfirst-desktop,
  .node-type-news.i18n-ja .group-header .jp-title-desktop {
    display: block;
  }

  .node-type-news.i18n-ja .group-header .jp-standfirst-mobile,
  .node-type-news.i18n-ja .group-header .jp-title-mobile {
    display: none;
  }
}

/* end news page */

/*Alessandro news-story page */
.node-type-news-story.i18n-ja .view-related-stories-news .jp-title-desktop {
  display: none;
}

.node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-title-desktop {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  width: 560px;
  display: none;
  white-space: pre;
  margin: 5px 0;
}

.node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-title-mobile {
  font-size: 31px;
  line-height: 33px;
  color: #0037b2;
  width: 265px;
  white-space: pre;
  margin: 8px 0;
}

.node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-standfirst-desktop {
  font-size: 22px;
  line-height: 24px;
  width: 560px;
  display: none;
  white-space: pre;
}

.node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-standfirst-mobile {
  font-size: 22px;
  line-height: 24px;
  width: 265px;
  display: block;
  white-space: pre;
  margin-top: 8px;
}

.node-type-news-story.i18n-ja .view-related-stories-news .jp-title-mobile {
  color: #000;
}

@media only screen and (min-width: 568px) {
  .node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-standfirst-desktop,
  .node-type-news-story.i18n-ja .field--name-field-ns-jp-title-desktop {
    display: block;
  }

  .node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-standfirst-mobile,
  .node-type-news-story.i18n-ja .group-header .field--name-field-ns-jp-title-mobile {
    display: none;
  }
}

/* end news-story page */

/* END JAPAN LINEBREAKS */


.off_roster_stallion__best_progeny__content {
  background-repeat: no-repeat;
  background-position: center center;
}

/* Fake second level menu for off roster stallions */
#block-block-98 {
  margin-top: 0;
  margin-bottom: 0;
}

#block-block-98 ul.menu {
  margin-top: 0;
}

/* Best progeny */
.off_roster_stallion__best_progeny__content {
  background-repeat: no-repeat;
  background-position: center 112px;
  background-size: 32px 32px;
}

.off_roster_stallion__best_progeny__content form#best-progeny {
  margin-bottom: 32px;
}

.off_roster_stallion__best_progeny__content form#best-progeny #hemisphere,
.off_roster_stallion__best_progeny__content form#best-progeny #dperfyear,
.off_roster_stallion__best_progeny__content form#best-progeny #dcropyear,
.off_roster_stallion__best_progeny__content form#best-progeny #sort {
  box-sizing: border-box;
  width: 50%;
  padding: 8px 16px;
  float: left;
}

.off_roster_stallion__best_progeny__content .buttoncont {
  padding: 8px 16px;
  box-sizing: border-box;
  clear: both;
}

.off_roster_stallion__best_progeny__content .buttoncont a {
  color: #fff;
  background-color: #0037b2;
  padding: 9px 16px 7px;
}

.off_roster_stallion__best_progeny__content table {
  border: none;
  width: 100%;
}

.off_roster_stallion__best_progeny__content table thead {
  text-align: left;
  background-color: transparent;
}

.off_roster_stallion__best_progeny__content table thead td {
  border: none;
  color: #0037b2;
  font-weight: bold;
}

.off_roster_stallion__best_progeny__content table td {
  border-bottom: none;
  border-top: 1px solid #7d7d7d;
  vertical-align: top;
  height: auto;
  padding: 7px 15px;
  font-size: 14px;
  line-height: 16px;
}

@media only screen and (min-width: 1024px) {
  .off_roster_stallion__best_progeny__content table td.progeny {
    width: 142px;
  }
}

.off_roster_stallion__best_progeny__content table td.col-1,
.off_roster_stallion__best_progeny__content table td.progeny {
  background-color: #e1e1e1;
}

.off_roster_stallion__best_progeny__content table td.progeny a.name {
  font-weight: normal;
}

@media only screen and (max-width: 1023px) {
  .off_roster_stallion__best_progeny__content .table-wrapper {
    background-color: #e1e1e1;
    position: relative;
  }

  .off_roster_stallion__best_progeny__content .table-inner-wrapper {
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    margin-left: 172px;
    background-color: #fff;
  }

  .off_roster_stallion__best_progeny__content table .col-1,
  .off_roster_stallion__best_progeny__content table .progeny {
    position: absolute;
    background-color: #e1e1e1;
    width: 172px;
    box-sizing: border-box;
    left: 16px;
    font-weight: bold;
    color: #0037b2;
  }

  .off_roster_stallion__best_progeny__content .timeform-field-content .content {
    float: right;
  }
}

/* SITES - COOKIES POLICY, PRIVACY POLICY, TERMS & CONDITIONS */

.page-node-11298 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-11299 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-11300 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-11186 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-28796 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-28797 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-28798 .node-page.view-mode-full .field--name-body .table-wrapper,
.page-node-28799 .node-page.view-mode-full .field--name-body .table-wrapper {
  width: 100%;
  overflow-x: scroll;
}

.page-node-11298 .node-page.view-mode-full .field--name-body table td,
.page-node-11299 .node-page.view-mode-full .field--name-body table td,
.page-node-11300 .node-page.view-mode-full .field--name-body table td,
.page-node-11186 .node-page.view-mode-full .field--name-body table td,
.page-node-28796 .node-page.view-mode-full .field--name-body table td,
.page-node-28797 .node-page.view-mode-full .field--name-body table td,
.page-node-28798 .node-page.view-mode-full .field--name-body table td,
.page-node-28799 .node-page.view-mode-full .field--name-body table td {
  padding: 8px;
}

.page-node-11298 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-11299 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-11300 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-11186 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-28796 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-28797 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-28798 .node-page.view-mode-full .field--name-body table tr:first-child td,
.page-node-28799 .node-page.view-mode-full .field--name-body table tr:first-child td {
  font-weight: bold;
}

/*

*

*


DRUPAL 2018

*

*

*/

body.lang-ja,
.lang-ja p,
.lang-ja .other-websites *,
.lang-ja .news-story__related *,
.lang-ja .news-story__links *,
.lang-ja .stallion__section-header *,
.lang-ja .field--name-field-standfirst,
.lang-ja .grid--stallions .stallion__name *,
.lang-ja .field--name-the-team h2.block-title,
.lang-ja .view-contact-details-new .field--name-title h2,
.lang-ja .field--name-field-caption,
.lang-ja .field--name-field-caption-a,
.lang-ja .field--name-field-caption-b,
.lang-ja .field--name-field-caption-c,
.lang-ja .field--name-field-caption-d,
.lang-ja .field--name-field-caption-e,
.lang-ja h1,
.lang-ja h2,
.lang-ja h3,
.lang-ja h4,
.lang-ja blockquote,
.lang-ja .quote *,
.lang-ja .node-type-contact-page .field--name-field-location,
.lang-ja .area--footer .footer *,
.lang-ja .related-stalion a,
.lang-ja .news-contact a,
.lang-ja .stallion__calls-to-action a,
.lang-ja .view-contact-details-new .field:not(.field--name-field-email) *,
.lang-ja .node--type-stallion .area__heading,
.lang-ja .field {
  font-family: 'MotoyaExGothic';
}

body.lang-en,
.lang-en p,
.lang-en .other-websites *,
.lang-en .news-story__related *,
.lang-en .news-story__links *,
.lang-en .stallion__section-header *,
.lang-en .field--name-field-standfirst,
.lang-en .grid--stallions .stallion__name *,
.lang-en #block-views-contact-horses-for-sale-block .field--name-title h2,
.lang-en .field--name-the-team h2.block-title,
.lang-en .view-contact-details .field--name-title h2,
.lang-en #block-views-4f7e93caa8a9fdf44adf839cb8a5884b h2.block-title,
.lang-en #block-views-4f7e93caa8a9fdf44adf839cb8a5884b .views-field-created,
.lang-en #block-views-4f7e93caa8a9fdf44adf839cb8a5884b a,
.lang-en #block-views-f22d26105c75f90d844538217f24bb2c h2.block-title,
.lang-en #block-views-f22d26105c75f90d844538217f24bb2c .views-field-created,
.lang-en #block-views-f22d26105c75f90d844538217f24bb2c a,
.lang-en #block-views-resent-posts-hall-of-fame-block h2.block-title,
.lang-en #block-views-resent-posts-hall-of-fame-block .views-field-created,
.lang-en #block-views-resent-posts-hall-of-fame-block a,
.lang-en .field--name-the-team *,
.lang-en .related-stalion a,
.lang-en .news-contact a,
.lang-en .area--footer .footer *,
.lang-en #block-views-contact-horses-for-sale-block *,
.lang-en .view-public-sales span,
.lang-en .pager li,
.darley-on-twitter *,
.lang-en .stallion__calls-to-action a,
.lang-en .field--name-field-caption,
.lang-en .field--name-field-caption-a,
.lang-en .field--name-field-caption-b,
.lang-en .field--name-field-caption-c,
.lang-en .field--name-field-caption-d,
.lang-en .field--name-field-caption-e,
.lang-en .view-stallion-video-footage .view-mode-teaser .field--name-title,
.lang-en .view-stallion-video-footage .view-mode-video_footage_first_item .field--name-title,
.lang-en .node-news-story .field--name-post-date,
.lang-en .node-news .field--name-post-date,
.lang-en #block-block-87 h3,
.lang-ja .menu-section--regions a,
.lang-ja .area--domains a,
.lang-ja .darley-on-twitter *,
.stallion__american_links a,
.lang-ja .area--runners:not(h3),
.lang-ja .area--runners:not(h2),
.lang-ja .area--runners a,
.lang-ja .area--copyright a,
.lang-ja.node-type-contact-page:not(.page-node-22466) .field--name-the-team *,
.lang-ja.node-type-contact-page:not(.page-node-22466) .field--name-body *,
.lang-ja .view-public-sales .past-sale > span,
.lang-ja .language-switcher .en a,
.lang-ja .about-sidebar-links a,
.lang-ja .accordion__toggle-icon,
.lang-ja.node-type-contact-page:not(.page-node-22466) .field--name-field-location,
.lang-ja .area--footer .footer .expanded a,
.page-node-22938 .area__content .column-right h3.club-intro,
.page-node-22938 .area__content .column-right h3.club-view-title,
.page-node-22938 .view-club-yearly-stallions .club-stallion-name h2 a,
.page-node-22938 .view-club-yearly-stallions .club-stallion-info,
.page-node-22938 .view-club-yearly-stallions .stallion-club-fee,
.page-node-22938 .view-club-yearly-stallions .stallion-club-location {
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lang-en h1,
.lang-en h2,
.lang-en h3,
.lang-en h4,
.lang-en blockquote,
.lang-en .quote *,
.lang-en .node-type-contact-page .field--name-field-location,
.lang-ja .area--runners h3,
.lang-ja .area--runners h2.block-title,
.lang-ja.node-type-contact-page:not(.page-node-22466) h1,
.node-stallion--buyers .stallion__section-header::before,
.stallion__section-header.area--buyers h2,
.stallion__section-header.area--buyers-cta p {
  font-family: "Meta-Serif", Georgia, Times, 'Times New Roman', serif;
}

html {
  font-size: 15px;
  line-height: 17px;
}

h1 {
  color: #0037b2;
  font-size: 25px;
  line-height: 27px;
  font-weight: normal;
  margin: 16px 0;
}

@media only screen and (min-width: 768px) {
  h1 {
    font-size: 40px;
    line-height: 42px;
  }
}

p {
  margin: 15px 0;
}

/*.area--sub-nav ul.menu {*/
/*  margin: 0;*/
/*}*/

/* COMMON */

/* Admin toolbar */
.toolbar-menu .menu-item:nth-child(2) a::before {
  background-image: url(/core/misc/icons/bebebe/cog.svg);
}
/* BOUNCE BRAND COLOUR */

.wrap {
  background-color: #fff;
}

.menu-section--regions .area__content {
  margin-bottom: 0;
}

/*.area--header .area__content {*/
/*  margin-bottom: 0;*/
/*}*/

/* TODO: remove this hack to remove the "Contact us" menu item  from Ja language. */
/*.i18n-ja .area--header .menu-section--main .menu .menu-item.menu-mlid-865 {*/
/*  display: none;*/
/*}*/

/* Video */
.video > video {
  width: 100%;
}
.video .video-js {
  padding-top: 56.25%;
  width: 100%;
}
.video .video-js,
.video .video-js .vjs-poster {
  background-color: transparent;
}
.video .vjs-default-skin .vjs-big-play-button {
  background-color: rgba(7, 20, 30, 0.3);
}
.video .vjs-fullscreen {
  padding-top: 0;
}

/* FORMS */

.form-required {
  color: #222;
}
.form-required:after {
  content: ' *';
  display: inline-block;
  vertical-align: unset;
  background: none;
  color: #0037b2;
}
.webform-submission-form .fieldset-legend {
  font-weight: normal;
}
.webform-layoutcontainer:not(:first-child) {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.webform-submission-form hr {
  height: 1px;
  background-color: #d1d3d7;
  border: none;
  display: block;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

#captcha {
  display: block;
  float: none;
  clear: both;
  padding: 0 10px;
}
#captcha summary {
  padding: 10px 0;
}
#captcha .details-wrapper {
  padding: 0 0 10px;
}
#captcha .details-wrapper .form-item {
  float: none;
  margin: 0;
  padding: 10px 0 0;
}
#captcha .details-wrapper .details-description:after {
  content: '\00a0*';
  display: inline-block;
  vertical-align: unset;
  background: none;
  color: #0037b2;
}
#captcha [name="captcha_response"] {
  display: inline-block;
  width: auto;
}
#captcha .details-wrapper label {
  display: none;
}
#captcha .details-wrapper .description {
  display: none;
}

/* Dalham visitors form */
.webform-submission-visitors-dalham-form .pure-g {
  margin: 0;
}

.webform-submission-visitors-dalham-form #edit-your-details .pure-u-md-1-2 input {
  max-width: 90%;
  display: block;
}
.webform-submission-visitors-dalham-form #edit-visit-time .pure-u-md-1-2 select {
  max-width: 90%;
  display: block;
}

.webform-submission-visitors-dalham-form input[type="submit"] {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  width: auto;
  margin-top: 15px;
}

.webform-submission-visitors-dalham-form #edit-help-note,
.webform-submission-visitors-dalham-form ul,
.webform-submission-visitors-dalham-form ol,
.webform-submission-visitors-dalham-form label,
.webform-submission-visitors-dalham-form .description {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 17px;
}

.webform-submission-visitors-dalham-form #notice-link:hover,
.webform-submission-visitors-dalham-form #notice-link {
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
}

.webform-submission-visitors-dalham-form #edit-markup h2 {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  font-weight: 400;
}

.webform-submission-visitors-dalham-form #edit-sub-title h4 {
  margin-bottom: 6px;
  margin-top: 25px;
}

.webform-submission-visitors-dalham-form #edit-form-details h4 {
  margin-bottom: 24px;
  margin-top: 25px;
}

/* Our gift to you form */
.webform-submission-our-gift-to-you-uk-form .pure-g,
.webform-submission-our-gift-to-you-ire-form .pure-g,
.webform-submission-our-gift-to-you-eu-form .pure-g {
  margin: 0;
}

.webform-submission-our-gift-to-you-uk-form #edit-your-details .pure-u-md-1-2 input,
.webform-submission-our-gift-to-you-ire-form #edit-your-details .pure-u-md-1-2 input,
.webform-submission-our-gift-to-you-eu-form #edit-your-details .pure-u-md-1-2 input {
  max-width: 90%;
  display: block;
}
.webform-submission-our-gift-to-you-uk-form #edit-your-details textarea,
.webform-submission-our-gift-to-you-ire-form #edit-your-details textarea,
.webform-submission-our-gift-to-you-eu-form #edit-your-details textarea {
  max-width: 90%;
  display: block;
}
@media only screen and (min-width: 768px) {
  .webform-submission-our-gift-to-you-uk-form #edit-your-details textarea,
  .webform-submission-our-gift-to-you-ire-form #edit-your-details textarea,
  .webform-submission-our-gift-to-you-eu-form #edit-your-details textarea {
    max-width: 95%;
  }
}

.webform-submission-our-gift-to-you-uk-form input[type="submit"],
.webform-submission-our-gift-to-you-ire-form input[type="submit"],
.webform-submission-our-gift-to-you-eu-form input[type="submit"] {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  width: auto;
  margin-top: 15px;
}

.webform-submission-our-gift-to-you-uk-form .form-type-radio,
.webform-submission-our-gift-to-you-ire-form .form-type-radio,
.webform-submission-our-gift-to-you-eu-form .form-type-radio {
  margin-top: 1em;
}
.webform-submission-our-gift-to-you-uk-form input[type="radio"],
.webform-submission-our-gift-to-you-ire-form input[type="radio"],
.webform-submission-our-gift-to-you-eu-form input[type="radio"] {
  margin-left: 0;
}
.webform-submission-our-gift-to-you-uk-form .form-type-radio .description,
.webform-submission-our-gift-to-you-ire-form .form-type-radio .description,
.webform-submission-our-gift-to-you-eu-form .form-type-radio .description {
  margin-left: 1.6em;
}

.webform-submission-our-gift-to-you-uk-form #edit-help-note,
.webform-submission-our-gift-to-you-ire-form #edit-help-note,
.webform-submission-our-gift-to-you-eu-form #edit-help-note,
.webform-submission-our-gift-to-you-uk-form ul,
.webform-submission-our-gift-to-you-ire-form ul,
.webform-submission-our-gift-to-you-eu-form ul,
.webform-submission-our-gift-to-you-uk-form label,
.webform-submission-our-gift-to-you-ire-form label,
.webform-submission-our-gift-to-you-eu-form label,
.webform-submission-our-gift-to-you-uk-form .description,
.webform-submission-our-gift-to-you-ire-form .description,
.webform-submission-our-gift-to-you-eu-form .description {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 17px;
}

.webform-submission-our-gift-to-you-uk-form #notice-link:hover,
.webform-submission-our-gift-to-you-ire-form #notice-link:hover,
.webform-submission-our-gift-to-you-eu-form #notice-link:hover,
.webform-submission-our-gift-to-you-uk-form #notice-link,
.webform-submission-our-gift-to-you-ire-form #notice-link,
.webform-submission-our-gift-to-you-eu-form #notice-link {
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
}

.webform-submission-our-gift-to-you-uk-form #edit-markup h2,
.webform-submission-our-gift-to-you-ire-form #edit-markup h2,
.webform-submission-our-gift-to-you-eu-form #edit-markup h2,
.webform-submission-our-gift-to-you-uk-form .webform-confirmation__message h2,
.webform-submission-our-gift-to-you-ire-form .webform-confirmation__message h2,
.webform-submission-our-gift-to-you-eu-form .webform-confirmation__message h2 {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  font-weight: 400;
}
.webform-submission-our-gift-to-you-uk-form #edit-markup-02 img,
.webform-submission-our-gift-to-you-ire-form #edit-markup-02 img,
.webform-submission-our-gift-to-you-eu-form #edit-markup-02 img {
  max-width: 600px;
  margin-bottom: 24px;
}

.webform-submission-our-gift-to-you-uk-form #edit-sub-title h4,
.webform-submission-our-gift-to-you-ire-form #edit-sub-title h4,
.webform-submission-our-gift-to-you-eu-form #edit-sub-title h4 {
  margin-bottom: 6px;
  margin-top: 25px;
}

.webform-submission-our-gift-to-you-uk-form #edit-form-details h4,
.webform-submission-our-gift-to-you-ire-form #edit-form-details h4,
.webform-submission-our-gift-to-you-eu-form #edit-form-details h4 {
  margin-bottom: 24px;
  margin-top: 25px;
}

/* Standalone Mare forms */
.standalone-mare-forms .pure-g {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
}

.standalone-mare-forms .pure-u-md-1-2 {
  margin: 10px 0;
}

.standalone-mare-forms .pure-u-md-1-2 select,
.standalone-mare-forms .pure-u-md-1-2 textarea,
.standalone-mare-forms .pure-u-md-1-2 input,
.standalone-mare-forms .pure-u-md-1-3 input {
  max-width: 90%;
  display: block;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.standalone-mare-forms input[type="radio"],
.standalone-mare-forms input[type="checkbox"] {
  display: inline-block;
}

.standalone-mare-forms .webform-tableselect tr {
  border-bottom: none;
}
.standalone-mare-forms .webform-tableselect tr.odd,
.standalone-mare-forms .webform-tableselect tr.selected td {
  background-color: initial;
}
.standalone-mare-forms .webform-tableselect tr td {
  padding: 4px;
}

.standalone-mare-forms .form-type-webform-custom-composite thead th {
  border-bottom: none;
}
.standalone-mare-forms .form-type-webform-custom-composite tbody {
  border-top: none;
}
.standalone-mare-forms .form-type-webform-custom-composite tbody tr {
  border-bottom: none;
  background-color: initial;
}

.standalone-mare-forms input[type="submit"] {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  width: auto;
  margin-top: 15px;
}

.standalone-mare-forms ul,
.standalone-mare-forms label,
.standalone-mare-forms .fieldset-legend,
.standalone-mare-forms .description {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 17px;
}

.standalone-mare-forms h2 {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  font-weight: 400;
}

.standalone-mare-forms h4 {
  margin-bottom: 6px;
  margin-top: 25px;
}

.standalone-mare-forms .webform-element-description,
.standalone-mare-forms .form-item-markup {
  margin: 0 0 6px;
}

.standalone-mare-forms .js-form-wrapper {
  width: 100%;
}

.standalone-mare-forms .js-form-item-vet-certificate-upload {
  margin-top: 10px;
}

.standalone-mare-forms .webform-file-button:after,
.standalone-mare-forms .webform-file-button:before {
  content: "";
  margin: 0;
  padding: 0;
  height: 0;
  width: 0;
}

.standalone-mare-forms .webform-file-button {
  padding: 7px 10px 0 10px;
}

.standalone-mare-forms .vet-cert-button {
  padding: 8px 8px 4px 8px;
}

.standalone-mare-forms div.messages {
  letter-spacing: normal;
}

.standalone-mare-forms .form-type-checkbox {
  padding: 5px 0 10px 0;
}
.standalone-mare-forms td .form-type-checkbox {
  padding: 0;
}

.standalone-mare-forms .form-type-webform-document-file {
  padding: 15px 0 25px 0;
}

.standalone-mare-forms .webform-file-button,
.breeding-forms-landing .button-link { /* This button-link class is related to the standalone breeding forms (above) in US IRE and UK */
  border-radius: 0;
  border: none;
  font-size: 20px;
  font-weight: bold;
  line-height: 22px;
  height: 32px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: none;
  box-shadow: none;
  color: #fff;
  background-color: #0037b2;
  box-sizing: border-box;
  outline: 0;
  transition: outline 0.1s;
  cursor: pointer;
}

.breeding-forms-landing h2 {
  color: #0037b2;
}

.breeding-forms-landing hr {
  border-top: 1px solid #eee;
}

.breeding-forms-landing .button-link {
  padding: 8px 8px 4px 8px;
}


/* ACCORDIONS */
.accordion {
  display: block;
  margin: 20px auto;
  max-width: 840px;
}
.accordion--add-form {
  margin-bottom: 40px;
}
.accordion--wide {
  max-width: 100%;
}
.accordion__header {
  background-color: #e7f0fe;
  cursor: pointer;
  transition: background-color 0.4s ease;
  margin-left: 0;
  margin-right: 0;
}
.accordion__header.highlighted {
  background-color: #00abee;
}
.accordion--add-form .accordion__header {
  background-color: #e7f0fe;
}
.accordion.active .accordion__header {
  background-color: #e7f0fe;
  transition: background-color 0.4s ease;
}
.accordion.active .accordion__header.highlighted {
  background-color: #00abee;
}
.accordion__header > .pure-g {
  align-items: center;
}
.accordion__header .optional-info {
  text-align: left;
  display: block;
  line-height: 1.25;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 8px 0;
}
.accordion__title {
  padding-left: 20px;
  box-sizing: border-box;
}
.accordion__header .title {
  text-transform: uppercase;
  color: #0037B2;
  text-align: left;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  padding: 14px 0 10px 0;
}
.accordion__header.highlighted .title {
  color: #ffffff;
}
.accordion__header .control-icon {
  position: relative;
  height: 40px;
  color: #00ABEE;
}
.accordion__header.highlighted .control-icon {
  color: #ffffff;
}
.accordion__header .control-icon .fa-minus {
  position: absolute;
  right: 20px;
  top: 20%;
  font-size: 25px;
}
.accordion__header .control-icon .fa-minus.horizontal {
  transform: rotateZ(90deg);
  transition: transform 0.2s ease;
}
.accordion.active .accordion__header .control-icon .fa-minus.horizontal {
  transform: rotateZ(0deg);
  transition: transform 0.2s ease;
}
.accordion__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  margin-top: 1px;
}
.accordion__content--bordered > form,
.accordion__content--bordered > div {
  border: 1px solid #c7c6c6;
}
.accordion__content--bordered > div {
  padding: 8px;
}
.accordion__content--bg-blue {
  background-color: #E7F0FE;
}
.accordion__content .form-row {
  padding: 10px 10px 20px 10px;
}
.accordion.active .accordion__content {
  overflow: hidden;
  max-height: 20000px;
  transition: max-height 0.5s ease-in;
}
.accordion form {
  padding: 8px;
}
.accordion .btn {
  line-height: 28px;
}
@media screen and (min-width: 28em) {
  .accordion__content--bordered > div {
    padding: 16px;
  }
  .accordion__header {
    min-height: 40px;
  }
}
@media screen and (min-width: 48em) {
  .accordion__header {
    min-height: 50px;
  }
  .accordion__title {
    padding-left: 16px;
  }
  .accordion__header .title {
    font-size: 20px;
  }
  .accordion__header .control-icon {
    height: 50px;
  }
  .accordion__header .control-icon .fa-minus {
    right: 30px;
    font-size: 30px;
  }
  .accordion form {
    padding: 16px;
  }
  .form__container {
    margin-bottom: 20px;
  }
}

/* PAGER */

.view > .item-list {
  width: 100%;
  clear: both;
  box-sizing: border-box;
  padding: 0 8px;
  margin-top: 16px;
}

.pager {
  text-align: right;
  padding-left: 0;
  letter-spacing: 0;
}

.pager li {
  margin-left: 8px;
  padding: 0;
  display: none;
}

.pager li.pager__item--first,
.pager li.pager__item--previous,
.pager li.pager__item--next,
.pager li.pager__item--last,
.pager li.pager-previous,
.pager li.pager-next,
.pager li.pager-first,
.pager li.pager-last {
  display: inline-block;
}

.pager li a {
  color: #000;
}

.pager li a:hover {
  color: #00a0c6;
}

.pager li.is-active a,
.pager li.pager-current {
  color: #00a0c6;
  font-weight: bold;
}

@media only screen and (min-width: 568px) {
  .pager li {
    display: inline-block;
  }
}

@media only screen and (min-width: 568px) {
  .view > .item-list {
    padding: 0 16px;
  }
}

/* SITE - HEADER */

.admin-menu-icon img {
  width: 16px;
  height: 16px;
}

.area--header .header__content {
  position: relative;
}

.menu-open .area--header .header-wrapper {
  background-color: #fff;
}

@media only screen and (max-width: 1023px) {
  .menu-open {
    overflow: hidden;
  }

  .area--header .header {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 3;
    background-color: #fff;
  }

  .menu-open .area--header .header-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #0037b2;
  }

  .menu-open .area--header .header {
    height: 100%;
    overflow-y: auto;
    background-color: #0037b2;
  }

  .headroom--unpinned {
    top: -70px;
    transition: .4s;
    padding: 0;
  }

  .headroom:not(.headroom--unpinned) {
    top: 0;
    transition: .4s;
  }

  /*.menu-open .logo svg path {*/
  /*  fill: #fff;*/
  /*}*/
}

@media screen and (max-width: 767px) {
  .is-page-node-type-stallion .headroom:not(.headroom--unpinned) {
    top: 40px;
  }

  .is-page-node-type-stallion.menu-open .headroom--pinned {
    margin-top: -40px;
  }

  /*.is-page-node-type-stallion.regions-menu-open .area--header .menus-toggle {*/
  /*  top: 48px;*/
  /*}*/

  /*.is-page-node-type-stallion.regions-menu-open .area--header .menu-section--regions .item-list.open {*/
  /*  top: 86px;*/
  /*}*/

  /*.is-page-node-type-stallion.regions-menu-open .area--header .menus-toggle__text:after {*/
  /*  margin-top: 72px;*/
  /*}*/

  .is-page-node-type-stallion.regions-menu-open .menu-section--regions {
    top: 48px;
  }

  .is-page-node-type-stallion.regions-menu-open .area--header .header {
    top: 40px;
  }
}

/* main menu */
/*.menu-section--main li.menu-item {*/
/*  padding-right: 10px;*/
/*  list-style: none;*/
/*}*/

/*.domain-www_darleyamerica_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a,*/
/*.domain-darleyeurope_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a,*/
/*.domain-www_darley_com_au .menu--main .menu-level-0 > .menu-item[data-title="Store"] a{*/
/*  color: #0037b2;*/
/*  font-weight: bold;*/
/*  transition: color 0s;*/
/*}*/
/*.domain-www_darleyamerica_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a:after,*/
/*.domain-darleyeurope_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a:after,*/
/*.domain-www_darley_com_au .menu--main .menu-level-0 > .menu-item[data-title="Store"] a:after{*/
/*  display: inline-block;*/
/*  width: 20px;*/
/*  height: 16px;*/
/*  vertical-align: middle;*/
/*  background: url(/themes/drly/images/basket.png) right top no-repeat;*/
/*  background-size: 20px auto;*/
/*  margin-left: 5px;*/
/*  margin-top: -2px;*/
/*  content: '';*/
/*}*/
.domain-darleyeurope_com .menu--main .menu-level-0 > .menu-item[data-title="Horses for sale"],
.domain-www_darley_com_au .menu--main .menu-level-0 > .menu-item[data-title="Matings analysis"],
.domain-www_darleyamerica_com .menu--main .menu-level-0 > .menu-item[data-title="Horses for sale"],
.domain-www_darleyamerica_com .menu--main .menu-level-0 > .menu-item[data-title="Matings analysis"],
.domain-www_darley_co_jp .menu--main .menu-level-0 > .menu-item[data-title="Matings analysis"] {
  display:none;
}

/*@media screen and (min-width: 1024px) {*/
/*  .menu-section--main li.menu-item {*/
/*    float: left;*/
/*  }*/
/*}*/

@media only screen and (max-width: 1023px) {
  .not-front .area--header {
    border-bottom: 1px solid #e1e1e1;
  }

  /*.area--header .logo {*/
  /*  padding: 8px 8px 4px;*/
  /*  width: 130px;*/
  /*  margin-left: auto;*/
  /*  margin-right: auto;*/
  /*}*/

  /*.menu-open .area--header .logo {*/
  /*  position: fixed;*/
  /*  background: #0037b2;*/
  /*  z-index: 3;*/
  /*  width: calc(100% - 16px);*/
  /*  text-align: center;*/
  /*}*/

  /*.menu-open .area--header .logo img,*/
  /*.menu-open .area--header .logo svg {*/
  /*  max-width: 130px;*/
  /*}*/

  .area--sub-nav {
    display: none;
  }

  /* Menus toggle */
  /*.area--header .menus-toggle {*/
  /*  cursor: pointer;*/
  /*  position: absolute;*/
  /*  top: 8px;*/
  /*  z-index: 100;*/
  /*  -webkit-touch-callout: none;*/
  /*  -webkit-user-select: none;*/
  /*  -moz-user-select: none;*/
  /*  -ms-user-select: none;*/
  /*  user-select: none;*/
  /*}*/

  /*.regions-menu-open .area--header .menus-toggle {*/
  /*  left: 8px;*/
  /*}*/

  /*.area--header .menus-toggle__text:after {*/
  /*  content: 'Menu';*/
  /*  display: block;*/
  /*  margin-top: 32px;*/
  /*  color: #0037b2;*/
  /*  font-size: 14px;*/
  /*}*/

  /*.menu-open .area--header .menus-toggle__text:after {*/
  /*  content: 'Close';*/
  /*  color: #fff;*/
  /*}*/

  /*.regions-menu-open .area--header .menus-toggle__text {*/
  /*  margin-left: 8px;*/
  /*}*/

  /*.area--header .menus-toggle .content {*/
  /*  display: block;*/
  /*  background-color: #0037b2;*/
  /*  border-radius: 2px;*/
  /*  cursor: pointer;*/
  /*  height: 4px;*/
  /*  width: 33px;*/
  /*  opacity: 1;*/
  /*  transition: all 0.4s ease-in-out;*/
  /*}*/

  /*.area--header .menus-toggle:before {*/
  /*  content: '';*/
  /*  display: block;*/
  /*  margin-bottom: 4px;*/
  /*  background-color: #0037b2;*/
  /*  border-radius: 2px;*/
  /*  cursor: pointer;*/
  /*  height: 4px;*/
  /*  width: 33px;*/
  /*  transform: rotate(0deg);*/
  /*  transition: all 0.4s ease-in-out;*/
  /*  position: relative;*/
  /*  top: 0;*/
  /*}*/

  /*.area--header .menus-toggle:after {*/
  /*  content: '';*/
  /*  display: block;*/
  /*  margin-top: 4px;*/
  /*  background-color: #0037b2;*/
  /*  border-radius: 2px;*/
  /*  cursor: pointer;*/
  /*  height: 4px;*/
  /*  width: 33px;*/
  /*  transform: rotate(0deg);*/
  /*  transition: all 0.4s ease-in-out;*/
  /*  position: relative;*/
  /*  top: 0;*/
  /*}*/

  /*.menu-open .area--header .menus-toggle:before {*/
  /*  background-color: #fff;*/
  /*  transform: rotate(45deg);*/
  /*  transition: all 0.4s ease-in-out;*/
  /*  top: 8px;*/
  /*}*/

  /*.menu-open .area--header .menus-toggle:after {*/
  /*  background-color: #fff;*/
  /*  transform: rotate(-45deg);*/
  /*  transition: all 0.4s ease-in-out;*/
  /*  top: -8px;*/
  /*}*/

  /*.menu-open .area--header .menus-toggle .content {*/
  /*  opacity: 0;*/
  /*  transition: all 0.4s ease-in-out;*/
  /*}*/

  /* Mobile menus tabs */
  .menu-tabs {
    margin: 0;
  }

  .tab-menu-title {
    background-color: #fff;
    width: 50%;
    font-size: 16px;
    line-height: 1.5em;
    text-transform: uppercase;
    color: #0037b2;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
  }

  /*.menu-section--main,*/
  /*.menu-section--personalised {*/
  /*  display: none;*/
  /*}*/

  /*.menu-section.visible {*/
  /*  display: block;*/
  /*}*/

  /*.menu-section--main.visible {*/
  /*  margin-top: -20px;*/
  /*}*/

  /* Menus */
  .menu-open .wrap {
    overflow: hidden;
    width: 100%;
    height: 100vh;
  }

  /*.area--header .menus {*/
  /*  display: none;*/
  /*}*/

  /*.area--header .menus.is-open {*/
  /*  display: block;*/
  /*  padding-top: 47px;*/
  /*}*/

  /*.area--header .menu .menu-item {*/
  /*  position: relative;*/
  /*}*/

  /* Menus - theming */
  .area--header .menus .menu-section--main > .menu-block-wrapper > .menu {
    padding: 0;
  }

  /*.area--header .menus .menu-title,*/
  /*.area--header .menus .menu-item,*/
  /*.area--header .menus a {*/
  /*  color: #222;*/
  /*  font-size: 18px;*/
  /*  font-weight: normal;*/
  /*  line-height: 22px;*/
  /*  padding: 8px;*/
  /*  text-decoration: none;*/
  /*  display: block;*/
  /*}*/

  .area--header .menus a.is-active-trail,
  .area--header .menus a:active,
  .area--header .menus a:focus,
  .area--header .menus a:hover {
    color: #0037b2;
  }

  .area--header .menus .menu-section--personalised {
    background-color: #00adef;
  }

  .area--header .menus .menu-section--personalised .menu {
    padding-left: 0;
  }

  .area--header .menus .menu-section--personalised .menu-item:not(:first-child) {
    border-top: 1px solid #aae0f9;
  }

  .area--header .menus .menu-section--personalised .menu a {
    color: #fff;
  }

  .area--header .menus .menu-section--personalised .menu a.is-active-trail,
  .area--header .menus .menu-section--personalised .menu a:active,
  .area--header .menus .menu-section--personalised .menu a:focus,
  .area--header .menus .menu-section--personalised .menu a:hover {
    color: #0037b2;
  }

  /*.area--header .menus .menu-section--main {*/
  /*  background-color: #fff;*/
  /*}*/

  /*.area--header .menus .menu-section--main .menu-item:not(:first-child) {*/
  /*  border-top: 1px solid #ccc;*/
  /*}*/

  /*.area--header .menus .menu-section--main .menu-item:first-child,*/
  /*.area--header .menus .menu-section--main .menu-item .menu-item {*/
  /*  border-top: 0 none;*/
  /*}*/

  /*.area--header .menu-section--main ul.menu li.menu-item--collapsed .menu-arrow,*/
  /*.area--header .menu-section--main ul.menu li.menu-item--expanded .menu-arrow {*/
  /*  height: 15px;*/
  /*  position: absolute;*/
  /*  right: 16px;*/
  /*  top: 20px;*/
  /*  width: 9px;*/
  /*  background: url(/themes/drly/images/menu-arrow-left.png) no-repeat;*/
  /*  background-size: 9px 15px;*/
  /*}*/

  /*.area--header .menu-section--main ul.menu li.menu-item--expanded .menu-arrow {*/
  /*  transform: rotate(90deg);*/
  /*}*/

  /*.area--header .menus .menu-section--main .menu-mlid-2248 a {*/
  /*  color: transparent !important;*/
  /*  background: url(/themes/drly/img/stallions/club-menu.png) no-repeat;*/
  /*  background-position: 0 center;*/
  /*  background-size: 40px 13px;*/
  /*}*/

  .menu-section--main .menu-mlid-2248 a {
    background-position: center center;
    width: 100%;
    background-size: 40px 13px;
  }

  .menu-section--main .menu-item.menu-mlid-4947 {
    display: none;
  }

  /*.menu--main .view-stallion-menu {*/
  /*  padding-left: 32px;*/
  /*}*/

  /*.menu--main .view-stallion-menu .new-stallion {*/
  /*  color: #0037b2;*/
  /*  font-weight: 600;*/
  /*}*/

  /*body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child {*/
  /*  border-left: 5px solid #0037b2;*/
  /*}*/
  /*body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child a {*/
  /*  color: #0037b2;*/
  /*  font-weight: bold;*/
  /*}*/
  /*body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child a:hover {*/
  /*  color: #0037b2;*/
  /*}*/
  /*body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child .menu-arrow {*/
  /*  background: url(/themes/drly/images/menu-arrow-left-blue.png) no-repeat;*/
  /*  background-size: 9px 15px;*/
  /*}*/
  /*body:not(.domain-www_darley_co_jp):not(.pweb-logged-in) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child .menu.menu-level-1 .menu-item:last-child {*/
  /*  display: none;*/
  /*}*/
}

/*body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0  > .menu-item:last-child > a:before {*/
/*  content: attr(data-notifications);*/
/*  display: block;*/
/*  min-width: 10px;*/
/*  min-height: 10px;*/
/*  background-color: #0037b2;*/
/*  border-radius: 50%;*/
/*  color: #ffffff;*/
/*  opacity: 0;*/
/*  padding: 1px;*/
/*  font-size: 8px;*/
/*  line-height: 10px;*/
/*  text-align: center;*/
/*  position: absolute;*/
/*  top: 8px;*/
/*  left: 95px;*/
/*}*/
/*body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child > a.notify:before {*/
/*  opacity: 1;*/
/*}*/

/*.area--header .menu-title.is-collapsed + .menu,*/
/*.area--header .menu-title.is-collapsed + .item-list,*/
/*.area--header .menu-item.is-collapsed .menu,*/
/*.area--header .menu-title.menu-item--collapsed + .menu,*/
/*.area--header .menu-title.menu-item--collapsed + .item-list,*/
/*.area--header .menu-item.menu-item--collapsed .menu {*/
/*  display: none;*/
/*}*/

.area--header .menu-title.is-collapsed + .menu,
.area--header .menu-title.is-collapsed + .item-list,
.area--header .menu-item.is-collapsed .menu,
.area--header .menu-title.menu-item--collapsed + .menu,
.area--header .menu-title.menu-item--collapsed + .item-list {
  display: none;
}

body:not(.pweb-logged-in) .menu-section--main .menu-item.menu-mlid-4947 {
  display: none;
}

.menu-section--main .menu-mlid-2248 a:hover {
  color: transparent;
}

/*.area--header .menu-section--personalised .menu {*/
/*  margin: 0;*/
/*  padding: 1px 16px 0 0;*/
/*  text-align: center;*/
/*}*/

@media only screen and (min-width: 768px) {
  /*.area--header .logo {*/
  /*  padding: 16px 0 10px 0;*/
  /*  width: 160px;*/
  /*}*/

  /*.area--header .menus-toggle {*/
  /*  top: 16px;*/
  /*  left: 16px;*/
  /*}*/

  /*.area--header .menus-toggle__text:after {*/
  /*  margin-top: 40px;*/
  /*  margin-left: 8px;*/
  /*}*/

  /*.area--header .logo svg {*/
  /*  height: 43px;*/
  /*}*/

  /*.menu-open .area--header .logo svg {*/
  /*  max-width: 160px;*/
  /*}*/

  /*.area--header .menus.is-open {*/
  /*  padding-top: 70px;*/
  /*}*/

  /*.regions-menu-open .area--header .menus-toggle {*/
  /*  left: 16px;*/
  /*}*/
}


/*body:not(.is-path-frontpage) .main-content-wrapper {*/
/*  margin-top: 64px;*/
/*}*/

@media only screen and (min-width: 1024px) {
  /*.area--header {*/
  /*  background-color: transparent;*/
  /*}*/

  /*body:not(.is-path-frontpage) .area--header {*/
  /*  background-color: #fff;*/
  /*  position: fixed;*/
  /*  top: 0;*/
  /*  z-index: 99;*/
  /*}*/
  /*body:not(.is-path-frontpage) .area--sub-nav {*/
  /*  position: fixed;*/
  /*  top: 69px;*/
  /*  z-index: 99;*/
  /*}*/
  /*body.is-path-user .dialog-off-canvas-main-canvas > div:nth-child(2),*/
  /*body:not(.is-path-frontpage) .main-content-wrapper {*/
  /*  margin-top: 124px;*/
  /*}*/
  /*body.page-node-6 .main-content-wrapper,*/
  /*body.page-node-27588 .main-content-wrapper {*/
  /*  margin-top: 103px;*/
  /*}*/
  /* admin logged in */
  body.toolbar-horizontal:not(.is-path-frontpage) .area--header {
    top: 79px;
  }
  body.toolbar-horizontal:not(.is-path-frontpage) .area--sub-nav {
    top: calc(69px + 79px);
  }

  /*.not-front .area--header .area__content {*/
  /*  margin-bottom: 0;*/
  /*}*/
  /*body.toolbar-horizontal.is-page-node-type-feature-blog .dialog-off-canvas-main-canvas #block-tabs,*/
  /*body.toolbar-horizontal:not(.is-path-frontpage) .main-content-wrapper {*/
  /*  margin-top: calc(64px + 79px);*/
  /*}*/
  body.toolbar-horizontal.page-node-6 .main-content-wrapper,
  body.toolbar-horizontal.page-node-27588 .main-content-wrapper {
    margin-top: 72px;
  }

  .not-front .area--sub-nav {
    position: fixed;
    text-align: center;
    z-index: 99;
    top: 70px;
  }

  .not-front .area--sub-nav > .area__content {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .not-front.no-sub-nav .area--header + * {
    margin-top: 0;
    padding-top: 100px;
  }

  .not-front.no-sub-nav .area--header + .node-stallion.view-mode-full {
    padding-top: 100px;
  }

  .not-front .area--sub-nav + * {
    margin-top: 0;
    padding-top: 165px;
  }

  .pweb.not-front .area--sub-nav + * {
    padding-top: 165px;
  }

  .not-front #admin-menu {
    position: fixed;
  }

  .not-front.admin-menu .area--header {
    top: 21px;
  }

  .not-front.admin-menu .area--sub-nav {
    top: 121px;
  }

  .pweb.not-front.admin-menu .area--sub-nav {
    top: 110px;
  }

  .pweb.not-front.admin-menu .area--sub-nav {
    top: 121px;
  }

  .not-front.no-sub-nav.admin-menu .area--header + * {
    padding-top: 101px;
  }

  .pweb.not-front.no-sub-nav.admin-menu .area--header + * {
    padding-top: 122px;
  }

  .not-front.admin-menu .area--sub-nav + * {
    padding-top: 134px;
  }

  .pweb.not-front.admin-menu .area--sub-nav + * {
    padding-top: 155px;
  }

  /*.area--header .area__content {*/
  /*  position: relative;*/
  /*}*/

  /*.area--header .header {*/
  /*  padding: 0 16px;*/
  /*}*/

  /*.area--header .header__content {*/
  /*  margin: 0 auto;*/
  /*  padding: 0;*/
  /*  box-sizing: border-box;*/
  /*}*/

  /*.is-path-frontpage .area--header .logo {*/
  /*  position: relative;*/
  /*  z-index: 1;*/
  /*}*/

  /* Menus toggle */
  /*.area--header .menus-toggle {*/
  /*  display: none;*/
  /*}*/

  /* Menu - personalised */
  /*.is-path-me .area--header .menu-section--personalised {*/
  /*  display: block;*/
  /*  font-size: 14px;*/
  /*  line-height: 16px;*/
  /*  position: relative;*/
  /*  width: 100%;*/
  /*  height: 32px;*/
  /*  background-color: #83d6f5;*/
  /*  top: 1px;*/
  /*}*/

  /*.is-path-me .area--header .menu-section--personalised:before {*/
  /*  content: '';*/
  /*  display: block;*/
  /*  width: 32px;*/
  /*  height: 100%;*/
  /*  background-color: #83d6f5;*/
  /*  position: absolute;*/
  /*  left: -16px;*/
  /*  top: 0;*/
  /*}*/

  /*.is-path-me .area--header .menu-section--personalised:after {*/
  /*  content: '';*/
  /*  display: block;*/
  /*  width: 32px;*/
  /*  height: 100%;*/
  /*  background-color: #83d6f5;*/
  /*  position: absolute;*/
  /*  right: -16px;*/
  /*  top: 0;*/
  /*}*/

  /*.area--header .menu-section--personalised .menu-item.sign-out,*/
  /*.area--header .menu-section--personalised,*/
  /*.area--header .menu-section--personalised .menu,*/
  /*.area--header .menu-section--personalised .menu-title {*/
  /*  display: none;*/
  /*}*/

  /*.is-path-me .area--header .menu-section--personalised .menu-item {*/
  /*  display: inline-block;*/
  /*  list-style-type: none;*/
  /*  margin-left: 16px;*/
  /*}*/

  /*.area--header .menu-section--personalised .menu-item:first-child {*/
  /*  margin-left: 0;*/
  /*}*/

  /*.is-path-me .area--header .menu-section--personalised a {*/
  /*  display: inline-block;*/
  /*  color: #222;*/
  /*  font-weight: normal;*/
  /*  text-decoration: none;*/
  /*  padding: 9px 6px;*/
  /*}*/

  /*.area--header .menu-section--personalised a.active,*/
  /*.area--header .menu-section--personalised a:hover {*/
  /*  color: #fff;*/
  /*}*/

  /* Menu - main */
  /*.area--header .menus {*/
  /*  position: relative;*/
  /*}*/

  /*.area--header .menu-section--main {*/
  /*  display: block;*/
  /*  position: absolute;*/
  /*  left: 188px;*/
  /*  margin-top: -84px;*/
  /*}*/

  /*.lang-ja .area--header .menu-section--main {*/
  /*  margin-top: -56px;*/
  /*}*/

  /*.area--header .menu-tabs {*/
  /*  display: none;*/
  /*}*/

  /*.lang-ja.not-front .area--header .menu-section--main {*/
  /*  line-height: 19px;*/
  /*}*/

  /*.area--header .menus.is-open {*/
  /*  padding-top: 0;*/
  /*}*/

  /*.area--header .menu-section--main .menu {*/
  /*  margin: 0;*/
  /*  padding: 0;*/
  /*}*/

  /*.area--header .menu-section--main .menu .menu {*/
  /*  display: none;*/
  /*}*/

  /*.area--header .menu-section--main .menu .menu-item {*/
  /*  display: inline-block;*/
  /*  list-style-type: none;*/
  /*  margin-left: 8px;*/
  /*  padding: 0 4px;*/
  /*}*/

  /*.lang .area--header .menu-section--main .menu .menu-item {*/
  /*  margin-left: 4px;*/
  /*}*/

  /*.area--header .menu-section--main .menu .menu-item:first-child {*/
  /*  margin-left: 0;*/
  /*}*/

  /*.area--header .menu-section--main .menu .menu-item:last-child a {*/
  /*  color: #0037b2;*/
  /*  font-weight: bold;*/
  /*  line-height: 15px;*/
  /*  border-left: 5px solid #0037b2;*/
  /*  padding: 8px 12px 8px 8px;*/
  /*  margin-top: 20px;*/
  /*}*/
  /*.area--header .menu-section--main .menu .menu-item:last-child a:hover {*/
  /*  color: #0037b2;*/
  /*  transition: color 0s;*/
  /*}*/

  body:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child > a:before {
    top: 0;
    right: 0;
    left: auto;
  }
  .area--header .menu-section--main .menu .menu-item:last-child a:after {
    bottom: -24px;
  }

  /*.area--header .menu-section--main a {*/
    /*color: #222;*/
    /*font-size: 15px;*/
    /*font-weight: normal;*/
    /*line-height: 70px;*/
    /*display: block;*/
    /*text-decoration: none;*/
    /*position: relative;*/
  /*}*/

  /*.area--header .menu-section--main .menu-item--active-trail a:after,*/
  /*.area--header .menu-section--main a.is-active:after {*/
  /*  content: '';*/
  /*  display: block;*/
  /*  width: 16px;*/
  /*  height: 16px;*/
  /*  transform: rotate(45deg);*/
  /*  background-color: #0037b2;*/
  /*  position: absolute;*/
  /*  bottom: -4px;*/
  /*  left: 50%;*/
  /*  margin-left: -8px;*/
  /*}*/

  .pweb-logged-in.is-page-node-type-off-roster-stallion .area--header .menu-section--main .menu-item--active-trail a:after,
  .pweb-logged-in.is-page-node-type-off-roster-stallion .area--header .menu-section--main a.is-active:after,
  .pweb-logged-in.is-path-me .area--header .menu-section--main .menu-item--active-trail a:after,
  .pweb-logged-in.is-path-me .area--header .menu-section--main a.is-active:after {
    background-color: #83D6F4;
  }

  .lang-ja .area--header .menu-section--main .menu-item--active-trail a:after,
  .lang-ja .area--header .menu-section--main a.is-active:after {
    bottom: -30px;
  }

  /*.page-node-23513 .area--header .menu-section--main a.is-active:after {
        background-color: #83d6f5;
    }*/

  .lang-ja .area--header .menu-section--main a {
    font-size: 14px;
    line-height: 16px;
  }

  .menu-section--main .menu-mlid-2248 a {
    color: transparent !important;
    background: url(/themes/drly/img/stallions/club-menu.png) no-repeat;
    background-position: center 1px;
    background-size: contain;
    display: block;
    width: 40px;
  }

  .area--header .menu-section--main a:active,
  .area--header .menu-section--main a:focus,
  .area--header .menu-section--main a:hover {
    text-decoration: underline;
    transition: color .4s;
  }

  .menu-section--main .menu-mlid-4949 a {
    color: #00abee;
  }
}

.domain-www_darley_co_jp:not(.lang-ja) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child {
  display: none;
}

body:not(.pweb-logged-in) .menu-section--main .menu-item.menu-mlid-4949 {
  display: none;
}
.is-path-me:not(.pweb-logged-in) .area--sub-nav #block-mainmenu .menu.menu-level-1 .menu-item:last-child {
  display: none;
}

@media only screen and (min-width: 1280px) {
  .area--header .header {
    padding: 0 16px;
  }

  .area--header .header__content {
    max-width: 1280px;
  }
}

/* Language switcher */
/*.language-switcher {*/
/*  position: absolute;*/
/*  right: 8px;*/
/*  top: 40px;*/
/*  z-index: 1000;*/
/*}*/

/*.language-switcher dd {*/
/*  margin: 0;*/
/*}*/

/*.language-switcher ul {*/
/*  margin-top: 0;*/
/*  padding-left: 0;*/
/*}*/

/*.language-switcher ul li {*/
/*  display: inline-block;*/
/*  margin-left: -4px;*/
/*  padding: 0 4px;*/
/*}*/

/*.language-switcher ul li.first {*/
/*  border-right: 2px solid #7d7d7d;*/
/*}*/

/*.menu-open .language-switcher a {*/
/*  color: #fff;*/
/*}*/

/*@media only screen and (min-width: 568px) {*/
/*  .language-switcher {*/
/*    right: 64px;*/
/*    top: 8px;*/
/*  }*/
/*}*/

/*@media only screen and (min-width: 768px) {*/
/*  .language-switcher {*/
/*    top: 16px;*/
/*  }*/
/*}*/

/*@media only screen and (min-width: 1024px) {*/
/*  .language-switcher {*/
/*    right: 158px;*/
/*    top: 28px;*/
/*  }*/
/*}*/

/* MAIN MENU - SECOND LEVEL */

/*#block-mainmenu .menu {*/
/*  list-style-type: none;*/
/*  padding: 0;*/
/*  text-align: center;*/
/*}*/

/*#block-mainmenu .menu-item {*/
/*  display: inline-block;*/
/*  padding: 0 10px;*/
/*}*/

/*#block-mainmenu a,*/
/*.page-node-38692 #block-mainmenu .menu-level-1 .menu-item:first-child a.is-active {*/
/*  color: #fff;*/
/*  font-weight: normal;*/
/*}*/

.pweb-logged-in.is-page-node-type-off-roster-stallion #block-mainmenu a,
.pweb-logged-in.is-path-me #block-mainmenu a {
  color: #000;
}

#block-mainmenu .menu-item.menu-item--active-trail a,
#block-mainmenu .menu-item a.is-active,
#block-mainmenu a:active,
#block-mainmenu a:focus,
#block-mainmenu a:hover,
.page-node-38692 #block-mainmenu .menu-level-1 .menu-item:first-child a.is-active:active,
.page-node-38692 #block-mainmenu .menu-level-1 .menu-item:first-child a.is-active:focus,
.page-node-38692 #block-mainmenu .menu-level-1 .menu-item:first-child a.is-active:hover {
  text-decoration: underline;
}

.pweb-logged-in.is-page-node-type-off-roster-stallion #block-mainmenu a:active,
.pweb-logged-in.is-page-node-type-off-roster-stallion #block-mainmenu a:focus,
.pweb-logged-in.is-page-node-type-off-roster-stallion #block-mainmenu a:hover,
.pweb-logged-in.is-page-node-type-off-roster-stallion #block-mainmenu .menu-item a.is-active,
.pweb-logged-in.is-path-me #block-mainmenu a:active,
.pweb-logged-in.is-path-me #block-mainmenu a:focus,
.pweb-logged-in.is-path-me #block-mainmenu a:hover,
.pweb-logged-in.is-path-me #block-mainmenu .menu-item a.is-active {
  color: #fff;
}

#block-mainmenu .views-element-container {
  display: none;
}

/*@media only screen and (min-width: 1024px) {*/
/*  body:not(.is-path-frontpage) .area--sub-nav > .area__content {*/
/*    padding-top: 8px;*/
/*    padding-bottom: 8px;*/
/*  }*/
/*}*/

/* Regions menu */
/*.menu-section--regions {*/
/*  position: absolute;*/
/*  right: 8px;*/
/*  top: 8px;*/
/*  z-index: 100;*/
/*}*/

/*.regions-menu-open .area--header .header {*/
/*  top: 0;*/
/*  background-color: #fff;*/
/*}*/

/*.area--header .menu-section--regions .menu-title {*/
/*  font-size: 14px;*/
/*  line-height: 16px;*/
/*  text-align: center;*/
/*  text-transform: uppercase;*/
/*  margin-top: 8px;*/
/*  margin-right: 0;*/
/*  cursor: pointer;*/
/*}*/

/*.area--header .menu-section--regions .menu-title .fa-angle-down {*/
/*  color: #0037b2;*/
/*  font-size: 20px;*/
/*  line-height: 16px;*/
/*}*/

/*.area--header .menu-section--regions .menu-title .fa-angle-up {*/
/*  color: #00abee;*/
/*  font-size: 20px;*/
/*  line-height: 16px;*/
/*}*/

/*.menu-open .area--header .menu-section--regions .menu-title,*/
/*.menu-open .area--header .menu-section--regions .menu-title .fa-angle-up,*/
/*.menu-open .area--header .menu-section--regions .menu-title .fa-angle-down {*/
/*  color: #fff;*/
/*}*/

/*.area--header .menu-section--regions .item-list.open {*/
/*  background-color: #fff;*/
/*  width: 100%;*/
/*  position: fixed;*/
/*  top: 68px;*/
/*  left: 0;*/
/*  padding: 16px 0;*/
/*  box-shadow: 0 3px 2px 0 rgba(33, 33, 33, .4);*/
/*}*/
/*body.toolbar-horizontal .area--header .menu-section--regions .item-list.open {*/
/*  top: 107px;*/
/*}*/
/*body.toolbar-horizontal.toolbar-tray-open.is-path-frontpage .area--header .menu-section--regions .item-list.open {*/
/*  top: 156px;*/
/*}*/
/*body:not(.is-path-frontpage) .area--header .menu-section--regions .item-list.open {*/
/*  top: 102px;*/
/*}*/
/*body.toolbar-horizontal:not(.is-path-frontpage) .area--header .menu-section--regions .item-list.open {*/
/*  top: 141px;*/
/*}*/

/*.area--header .menu-section--regions .item-list.open ul {*/
/*  padding-left: 0;*/
/*}*/

/*.area--header .menu-section--regions .item-list.open ul li {*/
/*  padding: 8px;*/
/*  box-sizing: border-box;*/
/*  display: block;*/
/*}*/

.area--header .menu-section--regions .item-list.open ul li[attribute *= "active"] a {
  color: #00abee;
}

/*.area--header .menu-section--regions .item-list.open ul li a {*/
/*  font-weight: bold;*/
/*  font-size: 18px;*/
/*  line-height: 27px;*/
/*  display: block;*/
/*  text-align: center;*/
/*  color: #222;*/
/*  text-transform: uppercase;*/
/*}*/

@media only screen and (max-width: 767px) {
  .area--header .menu-section--regions .menu-title {
    margin-top: 0;
    margin-right: 0;
  }

  .area--header .menu-section--regions .item-list.open {
    top: 46px;
  }

  /*.area--header .logo svg {*/
  /*  height: 35px;*/
  /*}*/
}

/** SITE - COMMON **/

/* social shares */
.field--name-share-buttons {
  border-top: 1px solid #d7d7d7;
  padding-top: 8px;
  margin-bottom: 32px;
}

.field--name-share-buttons .area__content {
  padding: 0;
}

.node-type-stallion .field--name-share-buttons {
  max-width: 992px !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-top: none;
}

.node-type-stallion .field--name-share-buttons .area__content {
  padding-top: 8px;
}

.field--name-share-buttons h3 {
  font-weight: normal;
}

.share-bar .share-button-container, .share-bar h3 {
  display: inline-block;
}

.share-bar .share-button-container,
.share-bar img {
  width: 40px;
}

.social-shares {
  font-weight: bold;
  margin: 16px 0;
}

.social-shares__item {
  display: inline-block;
  width: 40px;
  margin: 0 0 0 8px;
}


.field--name-field-embed-code,
.field--name-field-vimeo,
.field--name-field-youtube {
  width: 100%;
  height: 0;
  background: #0037b2;
  border: 3px solid #00abee;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 56.25%;
  box-sizing: border-box;
  position: relative;
}

.field--name-field-embed-code iframe,
.field--name-field-vimeo iframe,
.field--name-field-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  max-width: 844px;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}

/* Homepage promo */
.node--type-homepage-promo {
  max-width: 1280px;
  padding: 0 8px;
  margin: 0 auto;
  position: relative;
}
.node--type-homepage-promo .layout__region {
  margin-bottom: 0;
}
.node--type-homepage-promo::after {
  display: block;
  content: '';
  position: relative;
  height: 21px;
  background-size: auto auto;
  background-color: rgba(255, 255, 255, 1);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(0, 55, 178, 1) 5px, rgba(0, 55, 178, 1) 7px );
}
.field--name-field-homepage-promo-items {
  display: grid;
  grid-template-areas:
    "a"
    "b"
    "c"
    "d";
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.node--type-homepage-promo .field--name-body {
  margin-bottom:8px;
}

.field--name-field-homepage-promo-items > .field__item {
  aspect-ratio: 16/9;
}
.field--name-field-homepage-promo-items > .field__item:nth-child(1) {
  grid-area: a;
}
.field--name-field-homepage-promo-items > .field__item:nth-child(2) {
  grid-area: b;
}
.field--name-field-homepage-promo-items > .field__item:nth-child(3) {
  grid-area: c;
}
.field--name-field-homepage-promo-items > .field__item:nth-child(4) {
  grid-area: d;
}
@media only screen and (min-width: 568px) {
  .field--name-field-homepage-promo-items {
    grid-template-areas:
    "a a"
    "b c"
    "d .";
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (min-width: 768px) {
  .node--type-homepage-promo {
    padding: 0 16px;
  }
  .field--name-field-homepage-promo-items {
    grid-template-areas:
    "a a a"
    "b c d";
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .node--type-homepage-promo .field--name-body {
    margin-bottom:16px;
  }
}
@media only screen and (min-width: 1024px) {
  .field--name-field-homepage-promo-items {
    grid-template-areas:
    "a b"
    "a c"
    "a d";
    grid-template-columns: 80fr 23fr;
  }
  .field--name-field-homepage-promo-items > .field__item:nth-child(2) {
    align-self: start;
  }
  .field--name-field-homepage-promo-items > .field__item:nth-child(3) {
    align-self: center;
  }
  .field--name-field-homepage-promo-items > .field__item:nth-child(4) {
    align-self: end;
  }
}
@media only screen and (min-width: 1280px) {
  .field--name-field-homepage-promo-items {
    grid-template-columns: 80fr 25fr;
  }
}
.field--name-body {
  font-size: 20px;
  line-height: 1.2;
}

/** homepage promo with 5 images **/
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items {
  display: grid;
  grid-template-areas:
    "a"
    "b"
    "c"
    "d"
    "e";
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item {
  aspect-ratio: 16/9;
}
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(1) {
  grid-area: a;
}
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(2) {
  grid-area: b;
}
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(3) {
  grid-area: c;
}
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(4) {
  grid-area: d;
}
.field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(5) {
  grid-area: e;
}
@media only screen and (min-width: 568px) {
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items {
    grid-template-areas:
    "a a"
    "b c"
    "d e";
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (min-width: 768px) {
  .field_homepage_promo_items--5.node--type-homepage-promo {
    padding: 0 16px;
    margin: 0 auto;
  }
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items {
    grid-template-areas:
    "a a a a"
    "b c d e";
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }
}
@media only screen and (min-width: 1024px) {
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items {
    grid-template-areas:
    "a b"
    "a c"
    "a d"
    "a e";
    grid-template-columns: 103fr 23fr;
  }
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(2) {
    align-self: start;
  }
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(3) {
    align-self: center;
  }
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(4) {
    align-self: center;
  }
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items > .field__item:nth-child(5) {
    align-self: end;
  }
}
@media only screen and (min-width: 1280px) {
  .field_homepage_promo_items--5 .field--name-field-homepage-promo-items {
    grid-template-columns: 78fr 18fr;
  }
}

/* Search */
.area--header .search {
  display: none;
}

.area--header .search .form-search {
  display: block;
  font-size: 16px;
  line-height: 24px;
  height: 32px;
  padding: 8px 32px 8px 8px;
  border: none;
  border-radius: 0;
  width: 120px;
  box-sizing: border-box;
  text-transform: uppercase;
  outline: 0;
}

.area--header .search .form-submit {
  position: absolute;
  top: 6px;
  right: 8px;
  height: 20px;
  width: 20px;
  background: url(/themes/drly/img/common/search-blue.png) no-repeat transparent;
  background-size: contain;
  border: none;
  color: transparent;
  cursor: pointer;
  padding: 6px 6px 1px 6px;
}

.area--header .search .form-submit:hover {
  outline: none;
}

@media only screen and (min-width: 1024px) {
  .area--header .search {
    padding: 0 0 8px;
    display: block;
    position: absolute;
    right: 40px;
    top: 20px;
  }

  .area--header .search .form-text {
    border: 2px solid #0037b2;
    width: 160px;
  }
  .area--header .search .form-search {
    border-bottom: 2px solid #0037b2;
  }
}

@media only screen and (min-width: 1280px) {
  .area--header .search {
    right: 40px;
  }
}

@media only screen and (max-width: 1023px) {
  .menu-open .area--header .search {
    display: block;
    position: relative;
    margin: 16px;
  }

  .area--header .search .form-search {
    background-color: #fff;
    width: 100%;
  }
}

/* Home - News (Campaigns) */
@media only screen and (max-width: 567px) {
  .node--type-homepage-campaign .field-name-field-campaign-image-mobile-land,
  .node--type-homepage-campaign .field-name-field-campaign-image-ipad-portra,
  .node--type-homepage-campaign .field-name-field-image {
    display: none;
  }
}

@media only screen and (min-width: 568px) and (max-width: 767px) {
  .node--type-homepage-campaign .field-name-field-campaign-image-mobile-port,
  .node--type-homepage-campaign .field-name-field-campaign-image-ipad-portra,
  .node--type-homepage-campaign .field-name-field-image {
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .node--type-homepage-campaign .field-name-field-campaign-image-mobile-port,
  .node--type-homepage-campaign .field-name-field-campaign-image-mobile-land,
  .node--type-homepage-campaign .field-name-field-image {
    display: none;
  }
}

@media only screen and (min-width: 1024px) {
  .node--type-homepage-campaign .field-name-field-campaign-image-mobile-port,
  .node--type-homepage-campaign .field-name-field-campaign-image-mobile-land,
  .node--type-homepage-campaign .field-name-field-campaign-image-ipad-portra {
    display: none;
  }
}

/* Twitter */

.darley-on-twitter .tweets {
  overflow: hidden;
}

.darley-on-twitter .tweets ul {
  padding-left: 0;
}

.darley-on-twitter .tweets li {
  list-style: none;
}

.darley-on-twitter .tweet_user {
  font-size: 20px;
  line-height: 22px;
}

.darley-on-twitter .tweet_date {
  display: inline-block;
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 16px;
}

.darley-on-twitter .tweet_date a {
  color: #000;
}

.darley-on-twitter .tweet_retweet {
  background-image: url(/sites/default/twitter/retweeted.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 8px;
  padding-left: 20px;
}

.darley-on-twitter .tweet_retweet span {
  color: #636363;
  font-weight: normal;
}

.darley-on-twitter .follow {
  margin-top: 16px;
  text-align: center;
}

/* ABOUT US */

/* Sheikh Mohammed page */
.node--type-about-us-page .group-header {
  border-bottom: 1px solid #7d7d7d;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.node--type-about-us-page .group-header .field--name-post-date {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.node--type-about-us-page .group-header .field-name-node-title {
  margin-bottom: 16px;
}

.node--type-about-us-page .group-header .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
  margin-bottom: 16px;
}

.node--type-about-us-page .group-left .field--type-image,
.node--type-about-us-page .group-left .field--type-file {
  margin-bottom: 16px;
}

.node--type-about-us-page .field--name-field-caption-a,
.node--type-about-us-page .field--name-field-caption-b,
.node--type-about-us-page .field--name-field-caption-c,
.node--type-about-us-page .field--name-field-caption-d,
.node--type-about-us-page .field--name-field-caption-e,
.node--type-about-us-page .field--name-field-blog-video-caption-1,
.node--type-about-us-page .field--name-field-blog-video-caption-2,
.node--type-about-us-page .field--name-field-blog-video-caption-3,
.node--type-about-us-page .field--name-field-blog-video-caption-4 {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}

.node--type-about-us-page .field--type-text-long {
  margin-bottom: 16px;
}

/* Sidebar links */
#block-block-86 {
  margin-top: 0;
}

#block-block-86 .area__content {
  padding: 0;
}

#block-block-86 a {
  font-size: 14px;
  line-height: 16px;
}

/* NEWS */

/* The most recent news item */
.view-recent-news #views-exposed-form-recent-news-page-1 .form-item {
  float: none;
  margin-right: 0;
  padding: 0 8px;
}
.lang-ja #views-exposed-form-recent-news-page-1 select {
  font-family: MotoyaExGothic;
}
#views-exposed-form-recent-news-page-1 .views-widget-filter-field_stallions_tid .description {
  display: none;
}

.view-recent-news .most-recent {
  text-align: center;
  border-bottom: 1px solid #000;
  padding-bottom: 16px;
  margin: 0 8px;
}

.view-recent-news .most-recent .field-name-field-photo,
.view-recent-news .most-recent .field-name-field-image,
.view-recent-news .most-recent .field-name-field-video {
  margin-bottom: 16px;
}

.view-recent-news .most-recent .field-name-field-photo img {
  width: auto;
  max-height: 561px;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.view-recent-news .most-recent .field--name-node-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.view-recent-news .most-recent .field-name-node-title h2 {
  font-size: 40px;
  line-height: 42px;
  margin-bottom: 8px;
}

.view-recent-news .most-recent .field-name-node-title {
  margin-bottom: 8px;
}
.view-recent-news .most-recent .field-name-node-title h2 {
  color: #222;
  display: inline;
  background: linear-gradient(to right,#0037b2 0%,#0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
}
.view-recent-news .most-recent:hover .field-name-node-title h2 {
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

.view-recent-news .most-recent .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}

.view-recent-news .most-recent .field-name-field-body-a {
  font-size: 16px;
  line-height: 18px;
}

/* News index page */
@media only screen and (min-width: 568px) {
  form#views-exposed-form-recent-news-page-1 {
    max-width: 50%;
    margin: 0 auto;
  }

  form#views-exposed-form-recent-news-page-1 .form-item {
    float: none;
  }
}

.recent-news {
  margin: 0 -4px;
}

.recent-news--item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  padding: 4px;
  width: 100%;
}

@media only screen and (min-width: 568px) {
  .recent-news--item {
    padding: 8px;
    width: 50%;
  }
}

@media only screen and (min-width: 768px) {
  .recent-news {
    margin: 0 -8px;
  }

  .recent-news--item {
    width: 33.33%;
  }
}

.recent-news--item h2 {
  font-size: 25px;
  line-height: 27px;
  margin-bottom: 10px;
}

.recent-news--item .field-label {
  font-weight: bold;
}

.recent-news--item .blue-box {
  background-color: #0037b2;
  letter-spacing: normal;
  color: #fff;
  text-align: center;
}

.recent-news--item .blue-box {
  font-size: 22px;
  line-height: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.recent-news--item .blue-box .tel-number {
  color: #00a0c6;
}

.recent-news--item .pure-u-1-3 img {
  margin-bottom: 8px;
}

.view-recent-news .field--name-node-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  font-weight: 300;
  margin-bottom: 8px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.view-recent-news .field-name-node-title {
  margin-bottom: 10px;
}
.view-recent-news .field-name-node-title h2 {
  font-size: 25px;
  line-height: 27px;
  color: #222;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
  display: inline;
}

.view-recent-news .recent-news--item:hover .field-name-node-title h2 {
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

.view-recent-news .field--name-field-standfirst {
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 8px;
  color: #222;
  font-weight: 400;
}

.view-recent-news .field-name-field-body-a {
  font-size: 15px;
  line-height: 17px;
  color: #222;
  font-weight: 400;
}

/*Alessandro news landing page */
.is-path-news.lang-ja .recent-news--item .field-type-text-with-summary,
.is-path-news.lang-ja .recent-news--item .jp-title-desktop,
.is-path-news.lang-ja .recent-news--item .jp-standfirst-desktop,
.is-path-news.lang-ja .recent-news--item .MsoNormal,
.is-path-news.lang-ja .recent-news--item .field-name-field-body-a {
  display: none;
}

.is-path-news.lang-ja .recent-news--item {
  text-align: center;
}

.is-path-news.lang-ja .recent-news--item h2,
.is-path-news.lang-ja .recent-news--item h3,
.is-path-news.lang-ja .recent-news--item h3 a {
  color: #000;
  font-size: 31px;
  line-height: 33px;
  width: 265px;
  margin: auto auto 8px;
  text-align: center;
}

.is-path-news.lang-ja .recent-news--item img {
  margin-bottom: 8px;
}

.is-path-news.lang-ja .recent-news--item .even {
  letter-spacing: normal;
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  font-weight: normal;
  font-family: sans-serif;
}

.is-path-news.lang-ja .group-left .field--name-node-post-date,
.is-path-news.lang-ja .group-left .field-name-node-title,
.is-path-news.lang-ja .group-left .field-name-field-standfirst,
.is-path-news.lang-ja .group-left .field-name-field-body-a {
  width: 265px;
  margin: auto;
  text-align: center;
}

.is-path-news.lang-ja .group-left .field--name-node-post-date a {
  color: #0037b2;
}

.is-path-news.lang-ja .group-left > .field-type-image {
  padding: 0 8px;
}

.is-path-news.lang-ja .recent-news--item .field--name-field-standfirst .even,
.is-path-news.lang-ja .recent-news--item .jp-standfirst-mobile {
  color: #000;
  font-size: 17px;
  line-height: 19px;
  white-space: pre-line;
}

.is-path-news.lang-ja .recent-news--item .node-news-story .pure-u-2-3,
.is-path-news.lang-ja .recent-news--item .node-news .pure-u-2-3,
.is-path-news.lang-ja .recent-news--item .node-news-story .pure-u-1-3,
.is-path-news.lang-ja .recent-news--item .node-news .pure-u-1-3 {
  width: 100%;
}

.is-path-news.lang-ja .recent-news--item .node-news .field--name-post-date,
.is-path-news.lang-ja .recent-news--item .node-news .field--name-title {
  width: 265px;
  margin: auto;
}

@media only screen and (min-width: 568px) {
  .is-path-news.lang-ja .recent-news--item {
    width: 50%;
  }

  .is-path-news.lang-ja .recent-news--item .node-news-story .field--name-post-date,
  .is-path-news.lang-ja .recent-news--item .node-news-story .field--name-title,
  .is-path-news.lang-ja .recent-news--item .node-news .field--name-post-date,
  .is-path-news.lang-ja .recent-news--item .node-news .field--name-title {
    width: 265px;
    margin: auto;
    text-align: center;
  }
}

@media only screen and (min-width: 1024px) {
  .is-path-news.lang-ja .recent-news--item {
    width: 33.33%;
  }
}

/* Single news and news story page */
.node--type-news.node--view-mode-full .group-header,
.node--type-news-story.node--view-mode-full .group-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #7d7d7d;
  margin-bottom: 16px;
}

.node--type-news.node--view-mode-full .field--name-node-post-date,
.node--type-news-story.node--view-mode-full .field--name-post-date {
  font-size: 14px;
  line-height: 16px;
}

.node--type-news.node--view-mode-full .field--name-field-standfirst,
.node--type-news-story.node--view-mode-full .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

.node--type-news.node--view-mode-full .field--name-field-photo {
  text-align: center;
}

.node--type-news.node--view-mode-full .group-left > .field--name-field-photo img {
  max-height: 340px;
  max-width: 100%;
  margin: 0 auto 8px;
  width: auto;
}

.node--type-news.node--view-mode-full .field--name-field-body-a,
.node--type-news.node--view-mode-full .field--name-field-body-b,
.node--type-news.node--view-mode-full .field--name-field-body-c,
.node--type-news.node--view-mode-full .field--name-field-body-d,
.node--type-news.node--view-mode-full .field--name-field-body-e,
.node--type-news-story.node--view-mode-full .field--name-body {
  margin-bottom: 24px;
}

.node--type-news.node--view-mode-full .field-name-field-image,
.node--type-news.node--view-mode-full .field-name-field-video,
.node--type-news.node--view-mode-full .field--name-field-video-a,
.node--type-news.node--view-mode-full .field--name-field-video-b,
.node--type-news.node--view-mode-full .field--name-field-video-c,
.node--type-news.node--view-mode-full .field--name-field-video-d,
.node--type-news.node--view-mode-full .field--name-field-video-e,
.node--type-news.node--view-mode-full .field-name-field-image-a,
.node--type-news.node--view-mode-full .field-name-field-image-b,
.node--type-news.node--view-mode-full .field-name-field-image-c,
.node--type-news.node--view-mode-full .field-name-field-image-d,
.node--type-news.node--view-mode-full .field-name-field-image-e,
.node--type-news-story.node--view-mode-full .field--name-field-photo {
  margin-bottom: 16px;
}

.node--type-news.node--view-mode-full .field-name-field-image-a img,
.node--type-news.node--view-mode-full .field-name-field-image-b img,
.node--type-news.node--view-mode-full .field-name-field-image-c img,
.node--type-news.node--view-mode-full .field-name-field-image-d img,
.node--type-news.node--view-mode-full .field-name-field-image-e img {
  max-width: 100%;
  margin: 0 auto;
  max-height: 400px;
  width: auto;
  display: block;
}

.node--type-news.node--view-mode-full .field--name-field-news-caption,
.node--type-news.node--view-mode-full .field--name-field-caption-a,
.node--type-news.node--view-mode-full .field--name-field-caption-b,
.node--type-news.node--view-mode-full .field--name-field-caption-c,
.node--type-news.node--view-mode-full .field--name-field-caption-d,
.node--type-news.node--view-mode-full .field--name-field-caption-e {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 24px;
  font-weight: bold;
}

.node--type-news.node--view-mode-full .field--name-field-link-to-external-story {
  margin-bottom: 32px;
}

.node--type-news .jp-title-desktop,
.node--type-news .jp-standfirst-desktop {
  width: 560px;
}

.node--type-news .jp-title-mobile,
.node--type-news .jp-standfirst-mobile {
  width: 265px;
}

@media screen and (max-width: 1023px) {
  .node--type-news .jp-title-desktop,
  .node--type-news .jp-standfirst-desktop {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .node--type-news .jp-title-mobile,
  .node--type-news .jp-standfirst-mobile {
    display: none
  }
}

/* Related stories */

.field--name-dynamic-block-fieldnode-related-stories .field__label {
  font-size: 22px;
  font-weight: normal;
  line-height: 24px;
}

.field--name-dynamic-block-fieldnode-related-stories .field-name-node-title h2 {
  font-size: 16px;
  line-height: 18px;
  padding-top: 4px;
}

.field--name-dynamic-block-fieldnode-related-stories .field-name-node-title h2 a {
  color: #000;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
}

.field--name-dynamic-block-fieldnode-related-stories .field-name-field-image {
  margin-bottom: 16px;
}

.field--name-dynamic-block-fieldnode-related-stories .field-name-node-title h2 a:hover {
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

/* Feature blogs - index page */
.is-page-node-type-feature-blog-index #block-pagetitle {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  padding-right: 8px;
  padding-left: 8px;
}
.is-page-node-type-feature-blog-index article .field--name-field-standfirst {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 22px;
  line-height: 24px;
}
@media screen and (min-width: 768px) {
  .is-page-node-type-feature-blog-index #block-pagetitle {
    padding-right: 16px;
    padding-left: 16px;
  }
  .is-page-node-type-feature-blog-index article .field--name-field-standfirst {
    padding-right: 16px;
    padding-left: 16px;
  }
}

.feature-blogs {
  margin: 0 -4px;
}

.feature-blogs--item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  padding: 4px;
  width: 100%;
}

@media only screen and (min-width: 568px) {
  .feature-blogs--item {
    padding: 8px;
    width: 50%;
  }
}

@media only screen and (min-width: 768px) {
  .feature-blogs {
    margin: 0 -8px;
  }

  .feature-blogs--item {
    width: 33.33%;
  }
}

#block-views-block-feature-blogs-first-item-block-1 .view-content {
  text-align: center;
  border-bottom: 1px solid #000;
  padding-bottom: 16px;
}

#block-views-block-feature-blogs-first-item-block-1 .field-name-field-image-a,
#block-views-block-feature-blogs-first-item-block-1 .field--name-field-video {
  max-height: 551px;
  margin-bottom: 16px;
}

#block-views-block-feature-blogs-first-item-block-1 .field-name-field-image-a img,
#block-views-block-feature-blogs-first-item-block-1 .field--name-field-video img {
  max-height: 551px;
  max-width: 100%;
  width: auto;
}

#block-views-block-feature-blogs-first-item-block-1 .field--name-node-post-date {
  color: #0037b2;
  font-size: 14px;
  font-weight: 300;
  line-height: 16px;
}

#block-views-block-feature-blogs-first-item-block-1 .field-name-node-title h2 {
  font-size: 40px;
  line-height: 42px;
  color: #000;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
  display: inline;
}

#block-views-block-feature-blogs-first-item-block-1 .node:hover .field-name-node-title h2 {
  background-size: 100% 2px;
  transition: all 0.2s;
}

#block-views-block-feature-blogs-first-item-block-1 .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
  color: #000;
  font-weight: 300;
  margin-top: 4px;
}

#block-views-block-feature-blogs-block-2,
#block-views-block-feature-blogs-block-1 {
  margin-bottom: 24px;
}

#block-views-block-feature-blogs-block-1 .field-name-field-image-a,
#block-views-block-feature-blogs-block-2 .field-name-field-image-a,
#block-views-block-feature-blogs-block-1 .field-name-field-video,
#block-views-block-feature-blogs-block-2 .field-name-field-video {
  margin-bottom: 8px;
}

#block-views-block-feature-blogs-block-2 .field--name-node-post-date,
#block-views-block-feature-blogs-block-1 .field--name-node-post-date {
  color: #0037b2;
  font-size: 14px;
  font-weight: 300;
  line-height: 16px;
  margin-bottom: 4px;
}

#block-views-block-feature-blogs-block-2 .field-name-node-title h2,
#block-views-block-feature-blogs-block-1 .field-name-node-title h2 {
  font-size: 25px;
  line-height: 27px;
  color: #000;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
  display: inline;
}

#block-views-block-feature-blogs-block-2 .node:hover .field-name-node-title h2,
#block-views-block-feature-blogs-block-1 .node:hover .field-name-node-title h2 {
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

#block-views-block-feature-blogs-block-2 .field--name-field-standfirst,
#block-views-block-feature-blogs-block-1 .field--name-field-standfirst {
  font-size: 18px;
  line-height: 20px;
  color: #000;
  font-weight: 300;
  margin-top: 4px;
}

.node--type-feature-blog.node--view-mode-teaser .field--name-field-video {
  margin-bottom: 8px;
}

.node.clearly-amazing-2019 .field--name-node-post-date {
  display: none;
}

.node.clearly-amazing-2019 .field--name-dynamic-block-fieldnode-recent-posts-feature-blogs .views-field-created {
  display: none;
}

/* Clearly amazing */
.block-content--type-header-block {
  text-align: center;
  /*border-bottom: 1px solid #222;*/
  margin-bottom: 16px;
}
.block-content--type-header-block .block__title {
  transition: all 0.2s linear;
  margin: 1rem 0 .25rem;
  font-size: 40px;
  line-height: 42px;
}
.block-content--type-header-block .field--name-field-standfirst {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 24px;
}

/* Single feature blog post */
.node--type-feature-blog .group-header {
  border-bottom: 1px solid #7d7d7d;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.node--type-feature-blog .group-header .field--name-node-post-date {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.node--type-feature-blog .group-header .field-name-node-title {
  margin-bottom: 16px;
}

.node--type-feature-blog .group-header .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

.node--type-feature-blog .ds-left .field-name-field-image-a,
.node--type-feature-blog .ds-left .field-name-field-image-b,
.node--type-feature-blog .ds-left .field-name-field-image-c,
.node--type-feature-blog .ds-left .field-name-field-image-d,
.node--type-feature-blog .ds-left .field-name-field-image-e {
  margin-bottom: 16px;
}

.node--type-feature-blog.node--view-mode-full .field[class*=video] {
  margin-bottom: 16px;
}

.node--type-feature-blog [class*=caption] {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}

.node--type-feature-blog .field--type-text-long {
  margin-bottom: 16px;
}

/* Recent posts */
.view-recent-posts-feature-blogs {
  margin-top: 0;
}

.field--name-dynamic-block-fieldnode-recent-posts-feature-blogs .field__label {
  font-size: 18px;
  line-height: 20px;
  color: #0037b2;
  margin-bottom: 16px;
}

.view-recent-posts-feature-blogs .views-row {
  margin-bottom: 16px;
}

.view-recent-posts-feature-blogs .views-field-created {
  font-size: 14px;
  line-height: 16px;
}

.view-recent-posts-feature-blogs .views-field-title h2 {
  font-size: 14px;
  line-height: 16px;
}

.view-recent-posts-feature-blogs .views-field-title h2 a {
  color: #000;
}

/* Our Stories */
.page-node-31088 .field--name-body {
  font-size: 18px;
  line-height: 20px;
}
.page-node-31088 .field-name-node-title {
  margin-bottom: 0!important;
}
.page-node-31088 #block-views-block-feature-blog-archive-block-1 {
  margin-bottom: 32px;
}

/* Feature blogs group */
.node--type-feature-blog-group .field--name-field-standfirst {
  font-size: 18px;
  line-height: 20px;
}
.node--type-feature-blog-group .field-name-feature-blogs {
  margin: 0 -8px;
}
.node--type-feature-blog-group .field-name-feature-blogs__item {
  box-sizing: border-box;
  padding: 4px 8px;
}
@media only screen and (min-width: 568px) {
  .node--type-feature-blog-group .field-name-feature-blogs__item {
    padding: 8px;
  }
}
@media only screen and (min-width: 768px) {
  .node--type-feature-blog-group .field-name-feature-blogs {
    margin: 0 -16px;
  }
  .node--type-feature-blog-group .field-name-feature-blogs__item {
    padding: 16px;
  }
}

/* Feature blog archive */
.view-feature-blog-archive {
  margin: 0 -4px;
}

.view-feature-blog-archive .views-row {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  padding: 4px;
  width: 100%;
}

.view-feature-blog-archive .views-row h2 {
  font-size: 25px;
  line-height: 27px;
  margin-bottom: 10px;
}

.view-feature-blog-archive .views-row .pure-u-1-3 img {
  margin-bottom: 8px;
}

.view-feature-blog-archive .views-row .field-name-field-image {
  margin-bottom: 8px;
}

.view-feature-blog-archive .views-row .field--name-node-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
  font-weight: 300;
}

.view-feature-blog-archive .views-row .field-name-node-title h2 {
  font-size: 25px;
  line-height: 27px;
  color: #000;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
  display: inline;
}

.view-feature-blog-archive .views-row .node:hover .field-name-node-title h2{
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

@media only screen and (min-width: 768px) {
  .view-feature-blog-archive .views-row {
    padding: 8px;
  }
}

@media only screen and (min-width: 768px) {
  .view-feature-blog-archive .views-row {
    width: 33.33%;
  }
}

/*News blog index archive ("Past posts") */
.node--type-news-blog-index.node--view-mode-full .field-name-node-title {
  /*margin-bottom: 16px;*/
}
.view-past-posts {
  margin: 0 -4px;
}

.view-past-posts .views-row {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  padding: 4px;
  width: 100%;
}

@media only screen and (min-width: 568px) {
  .view-past-posts .views-row {
    padding: 8px;
    width: 50%;
  }
}

@media only screen and (min-width: 768px) {
  .view-past-posts {
    margin: 0 -8px;
  }

  .view-past-posts .views-row {
    width: 33.33%;
  }
}

.view-past-posts .views-row h2 {
  font-size: 25px;
  line-height: 27px;
  margin-bottom: 10px;
}

.view-past-posts .views-row .pure-u-1-3 img {
  margin-bottom: 8px;
}

.view-past-posts .views-row .field-name-field-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.view-past-posts .views-row .field-name-node-title h2 {
  font-size: 25px;
  line-height: 27px;
}

.view-past-posts .views-row .field-name-node-title h2 a {
  color: #000;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
}

.view-past-posts .views-row .field--name-node-title h2 a:hover {
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

.view-past-posts .views-row .field--name-field-standfirst {
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 8px;
}

.view-past-posts .views-row .field--name-body {
  font-size: 16px;
  line-height: 18px;
}

/* News blogs */
.view-news-blog .views-row {
  padding-bottom: 16px;
  border-bottom: 1px solid #7d7d7d;
  margin-bottom: 16px;
}

.view-news-blog .field-name-field-news-blog-photo,
.view-news-blog .field--name-field-news-blog-video-1 {
  margin-bottom: 16px;
}

.view-news-blog .field-name-field-news-blog-photo img {
  max-height: 451px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.view-news-blog .field--name-node-post-date {
  font-size: 14px;
  line-height: 16px;
  color: #0037b2;
  margin-bottom: 4px;
}

.view-news-blog .field-name-node-title h2 {
  font-size: 25px;
  line-height: 27px;
  margin-bottom: 4px;
}

.view-news-blog .field--name-field-standfirst {
  font-size: 16px;
  line-height: 18px;
  margin-bottom: 24px;
}

.view-news-blog .field--name-node-link {
  padding-left: 0;
}

.view-news-blog .field--name-node-link a {
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  color: #00a0c6;
}

/* Single baby love post page */
.node--type-news-blog.node--view-mode-full .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #7d7d7d;
  margin-bottom: 16px;
}

.node--type-news-blog.node--view-mode-full .field {
  margin-bottom: 16px;
}

.node--type-news-blog.node--view-mode-full [class*=caption] {
  font-size: 14px;
  font-weight: bold;
  line-height: 16px;
}

/* Single blog post */
.node--type-blog-post .ds-header {
  border-bottom: 1px solid #7d7d7d;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.node--type-blog-post .ds-header .field--name-node-post-date {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.node--type-blog-post .ds-header .field-name-node-title {
  margin-bottom: 16px;
}

.node--type-blog-post .ds-header .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

.node--type-blog-post .ds-left .field-name-field-image-a,
.node--type-blog-post .ds-left .field-name-field-image-b,
.node--type-blog-post .ds-left .field-name-field-image-c,
.node--type-blog-post .ds-left .field-name-field-image-d,
.node--type-blog-post .ds-left .field-name-field-image-e {
  margin-bottom: 16px;
}

.node--type-blog-post .field--name-field-video,
.node--type-blog-post .field--name-field-blog-video-1,
.node--type-blog-post .field--name-field-blog-video-2,
.node--type-blog-post .field--name-field-blog-video-3,
.node--type-blog-post .field--name-field-blog-video-4 {
  margin-bottom: 16px;
}

.node--type-blog-post .field--name-field-caption-a,
.node--type-blog-post .field--name-field-caption-b,
.node--type-blog-post .field--name-field-caption-c,
.node--type-blog-post .field--name-field-caption-d,
.node--type-blog-post .field--name-field-caption-e,
.node--type-blog-post .field--name-field-blog-video-caption-1,
.node--type-blog-post .field--name-field-blog-video-caption-2,
.node--type-blog-post .field--name-field-blog-video-caption-3,
.node--type-blog-post .field--name-field-blog-video-caption-4 {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}

.node--type-blog-post .field--name-field-body-a,
.node--type-blog-post .field--name-field-body-b,
.node--type-blog-post .field--name-field-body-c,
.node--type-blog-post .field--name-field-body-d,
.node--type-blog-post .field--name-field-body-e {
  margin-bottom: 16px;
}

/* Recent posts */
.field--name-dynamic-block-fieldnode-recent-posts-inside-darley .field__label {
  font-size: 18px;
  line-height: 20px;
  color: #0037b2;
  margin-bottom: 16px;
}

.field--name-dynamic-block-fieldnode-recent-posts-inside-darley .views-row {
  margin-bottom: 16px;
}

.field--name-dynamic-block-fieldnode-recent-posts-inside-darley .views-field-created {
  font-size: 14px;
  line-height: 16px;
}

.field--name-dynamic-block-fieldnode-recent-posts-inside-darley .views-field-title h2 {
  font-size: 15px;
  line-height: 17px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-bottom: 0;
}

/* OUR STALLIONS */
@media only screen and (min-width: 1024px) {
  .block--our-stallions {
    margin-top: 0;
  }
}

.block--our-stallions {
  margin-top: 24px;
}

/* our stallions */
.block--our-stallions .our-stallions-wrap {
  margin: 0 auto;
  max-width: 1280px;
  overflow: hidden;
  text-align: center;
}

.block--our-stallions {
  color: #0037b2;
  font-size: 24px;
  line-height: 1.5em;
}

.block--our-stallions h1 {
  margin-bottom: 0;
  font-size: 80px;
  line-height: 1em;
}

.block--our-stallions p {
  font-weight: bold;
}

.block--our-stallions ul.stallions-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
}

.block--our-stallions ul.stallions-list li {
  padding: 0 10px;
  display: inline-block;
}

.block--our-stallions ul.stallions-list a {
  color: #222;
  font-weight: lighter;
  display: inline-block;
}

.block--our-stallions ul.stallions-list a:active,
.block--our-stallions ul.stallions-list a:focus,
.block--our-stallions ul.stallions-list a:hover {
  color: #cc1012;
  font-weight: bold;
  text-decoration: underline;
}

.block--our-stallions ul.stallions-list a::before {
  display: block;
  content: attr(title);
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.block--our-stallions ul.stallions-list a .new-stallion {
  color: #cc1012;
}

/* filters */
.block--our-stallions .stallions-filters-wrap {
  margin: 0 auto;
  padding: 25px 0 30px 0;
  max-width: 1280px;
}

.block--our-stallions .stallions-filters {
  margin: 0 auto;
  width: 100%;
}

.block--our-stallions .stallions-filters > div {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.block--our-stallions .stallions-filters .stallions-filter {
  margin-bottom: 10px;
  padding-right: 5px;
  padding-left: 10px;
  border-width: 2px;
  border-radius: 100px;
  border-color: #0037b2;
  color: #0037b2;
  text-transform: none;
  text-align: left;
  font-size: 16px;
  width: 100%;
  line-height: 28px;
  display: flex;
  align-content: baseline;
  align-items: baseline;
  white-space: nowrap;
  overflow: hidden;
}

.block--our-stallions .stallions-filters .stallions-filter .filter-label {
  flex: 1;
  white-space: nowrap;
}

.block--our-stallions .stallions-filters .stallions-filter .uk-icon {
  text-align: right;
}

.block--our-stallions .stallions-filters .uk-nav a {
  padding: 0;
  color: #0037b2;
  font-size: 16px;
  line-height: 1.8em;
}

.block--our-stallions .stallions-filters .uk-dropdown {
  padding: 0 10px;
}

.block--our-stallions .stallions-filters .long-dropdown {
  overflow-y: auto;
}

.block--our-stallions .stallions-filters .uk-nav a:active,
.block--our-stallions .stallions-filters .uk-nav a:focus,
.block--our-stallions .stallions-filters .uk-nav a:hover,
.block--our-stallions .stallions-filters .uk-nav .uk-active a {
  color: #cc1010;
}

.block--our-stallions .stallions-filters .stallions-filter:hover {
  cursor: pointer;
}

.block--our-stallions .stallions-filters .stallions-filter option {
  background-color: #00abee;
}

/* grid */

.block--our-stallions .grid--stallions .grid__item a,
.block--our-stallions .grid--stallions .grid__item a h2 {
  color: #fff;
  font-weight: lighter;
  text-transform: uppercase;
  display: block;
}

.block--our-stallions .grid--stallions .grid__item a {
  width: 100%;
  font-size: 18px;
  position: relative;
}

.block--our-stallions .grid--stallions .grid__item a h2 {
  font-size: 22px;
  font-weight: bold;
}

.block--our-stallions .grid--stallions .grid__item a h2 .new-stallion {
  color: #cc1012;
}

.block--our-stallions .grid--stallions .grid__item a:hover,
.block--our-stallions .grid--stallions .grid__item a:hover h2 {
  font-weight: bold;
}

.block--our-stallions .grid--stallions .grid__item a .stallion__details {
  line-height: 1em;
  position: absolute;
  bottom: 20px;
  left: 10px;
}

.block--our-stallions .grid--stallions .grid__item a .stallion__info {
  padding-top: 0.2em;
  font-family: meta-serif;
}

.block--our-stallions .grid--stallions .grid__item a .border-line {
  background-color: #cc1010;
  position: absolute;
  top: 0;
  right: 0;
}

.block--our-stallions .grid--stallions .grid__item a .border-top {
  width: 65px;
  height: 15px;
}

.block--our-stallions .grid--stallions .grid__item a .border-right {
  width: 15px;
  height: 65px;
}

.block--our-stallions .grid--stallions .grid__item a .border-hover {
  width: 100%;
  height: 20px;
  background-color: transparent;
  position: absolute;
  bottom: 0;
  left: 0;
}

.block--our-stallions .grid--stallions .grid__item a:hover .border-hover {
  background-color: #0037b2;
}

/* Why wait? */

.block--our-stallions .grid--stallions .grid__item .why_wait,
.block--our-stallions .grid--stallions .grid__item .why_wait h2 {
  color: #0037b2;
  line-height: 1.2em;
}

.block--our-stallions .grid--stallions .grid__item .why_wait h2 {
  margin-bottom: 5px;
}

.block--our-stallions .grid--stallions .grid__item .why_wait p {
  margin-top: 5px;
}

.block--our-stallions .grid--stallions .grid__item .why_wait a {
  color: #0037b2;
  display: inline;
}

/* TODO: remove this override for Bernardini main media (forces image to not be cropped at sides) */
.page-node-1499 .stallion__main-media .main-media {
  padding: 0;
}

.page-node-1499 .stallion__main-media img {
  margin: 0;
  width: 100%;
}

/* Stallion Carousel */
.carousel .area {
  margin: 0;
  padding: 20px;
}

.carousel .area__content {
  max-width: 1280px !important;
  padding: 0 !important;
}

.field--name-field-pedigree-copy p {
  line-height: 1.5;
}

.view-horses-for-sale-list table th,
.view-horses-for-sale-search table th {
  padding: 7px;
}

.view-horses-for-sale-list table td,
.view-horses-for-sale-search table td {
  padding: 7px;
}

/* Loading animation */
.loading-wrapper {
  width: 100%;
  height: 204px;
  margin-top: 64px;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .section-stallions .loading {
    -webkit-transform: translate(404%, -50%);
    transform: translate(404%, -50%);
  }
}

.loading-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  -webkit-animation: loading 1s ease-in-out infinite;
  animation: loading 1s ease-in-out infinite;
}

.loading-bar:nth-child(1) {
  background-color: #00ABEE;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.loading-bar:nth-child(2) {
  background-color: #0037B2;
  -webkit-animation-delay: 0.09s;
  animation-delay: 0.09s;
}

.loading-bar:nth-child(3) {
  background-color: #7FD5F6;
  -webkit-animation-delay: .18s;
  animation-delay: .18s;
}

.loading-bar:nth-child(4) {
  background-color: #0037B2;
  -webkit-animation-delay: .27s;
  animation-delay: .27s;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  20% {
    -webkit-transform: scale(1, 2.2);
    transform: scale(1, 2.2);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes loading {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  20% {
    -webkit-transform: scale(1, 2.2);
    transform: scale(1, 2.2);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
/* Flickity carousel - blog carousel */
.view-stallion-related-blog-posts .view-content {
  height: auto !important;
  background-color: #fff;
  border: 3px solid #0037b2;
  box-sizing: border-box;
  padding: 16px;
  margin-bottom: 12px;
}

.view-stallion-related-blog-posts .view-content .views-row {
  width: 100%;
  padding: 0 16px;
  text-align: center;
  box-sizing: border-box;
}

.view-stallion-related-blog-posts .views-row .field-name-field-feature-blog-tag {
  color: #0037b2;
  font-size: 24px;
  line-height: 1.2em;
  font-family: Meta-serif;
  margin-bottom: 8px;
}

.view-stallion-related-blog-posts .views-row .field-name-title h2 {
  line-height: 1.2em;
}

.view-stallion-related-blog-posts .views-row .field-name-title a {
  color: #0037b2;
}

.view-stallion-related-blog-posts .field-view-all-link {
  margin-bottom: 8px;
}

.view-stallion-related-blog-posts .field-view-all-link a {
  color: #00abee;
}

.view-stallion-related-blog-posts .views-row .field-name-field-standfirst {
  margin-bottom: 24px;
}

.view-stallion-related-blog-posts .views-row .field-name-field-image-a {
  margin-bottom: 16px;
}

.view-stallion-related-blog-posts .flickity-page-dots {
  left: 0;
}

.view-stallion-related-blog-posts .flickity-page-dots .dot {
  background-color: #fff;
  border: 2px solid #0037b2;
  border-radius: 50%;
  opacity: 1;
}

.view-stallion-related-blog-posts .flickity-page-dots .dot.is-selected {
  background-color: #0037b2;
}

@media screen and (min-width: 768px) {
  .view-stallion-related-blog-posts .view-content {
    margin-bottom: 0;
  }
}

/* Stallion sub-pages: Race Record  */
.area--race-record .pure-g div[class *= 'pure-u-'] {
  padding: 8px;
  box-sizing: border-box;
}

.field--name-field-race-record {
  overflow: auto;
  margin: 12px 0 36px;
}

.field--name-field-race-record table {
  margin: 0;
  min-width: 100%;
}

.field--name-field-race-record td {
  border-bottom: 1px solid #DEDEDE;
  padding: 4px 0 4px 4px;
}

.field--name-field-race-record tr:first-child td {
  font-weight: bold;
  color: #0037b2;
}

.field--name-field-race-record tr:last-child td {
  background-color: #eee;
  font-weight: bold;
}

.field-name-field-race-record td.cellCenter {
  text-align: center;
}

.field--name-field-race-record-copy p:first-of-type {
  padding-top: 0;
}

.field--name-field-race-record-copy dl {
  margin: 0 0 0 4px;
  padding: 0;
  overflow: hidden;
}

.field--name-field-race-record-copy dl dt {
  clear: left;
  float: left;
  font-weight: bold;
  width: 32px;
  margin-right: -32px;
}

.field--name-field-race-record-copy dl dd {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin: 0;
  padding-left: 32px;
  width: 100%;
}

.bodytextbold {
  font-size: 12px;
  font-weight: bold;
  margin: 5px 0;
}

/* Stallion - runners and results link */
.stallion__runnners-and-results {
  padding-right: 8px;
  padding-left: 8px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  font-size: 32px;
  line-height: 1.2em;
  font-weight: normal;
  font-family: Meta-Serif;
  font-style: italic;
}

.stallion__runnners-and-results .area__content {
  padding: 8px 0;
}

.stallion__runnners-and-results a {
  color: #7fd5f3;
  text-decoration: underline;
  font-style: normal;
}

.stallion__runnners-and-results a:hover {
}

/* Mating analysis */
.mating-analysis__intro {
  font-size: 20px;
  line-height: 1.2;
}
.mating-analysis__graphic img {
  display: block;
  max-width: 320px;
  margin-inline: auto;
}
.mating-analysis__graphic {
  margin-bottom: -48px;
}
@media screen and (min-width: 1024px) {
  .mating-analysis__intro {
    width: 50%;
  }
  .mating-analysis__graphic {
    margin-left: 60%;
    margin-top: -240px;
    margin-bottom: -48px;
  }
  .mating-analysis__graphic img {
    margin-inline-start: 0;
  }
}
#block-matinganalysis {
  margin-bottom: 40px;
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* CLUB PAGE */
.page-node-22938 .club-content .area__content {
  max-width: 1280px;
  position: relative;
}

.page-node-22938 .area__content .column-left {
  min-width: 143px;
  padding-left: 8px;
}

@media only screen and (min-width: 768px) {
  .page-node-22938 .area__content .column-right {
    box-sizing: border-box;
    width: 100% !important;
    padding-left: 143px;
  }

  .page-node-22938 .area__content .column-left {
    position: absolute;
    left: 0;
    padding-left: 16px;
  }
}

.page-node-22938 .area__content .column-left img {
  width: auto;
  height: auto;
  max-width: 131px;
  max-height: 113px;
  margin-bottom: 8px;
}

.page-node-22938 .area__content .column-right img {
  width: 385px;
  height: auto;
  max-width: 100%;
}

.page-node-22938 .area__content .column-right img.club-stripe {
  width: auto;
  max-width: 100%;
  padding: 12px 0;
}

.page-node-22938 .area__content .column-right img.club-large {
  margin-bottom: 18px;
}

.page-node-22938 .area__content .column-right h3.club-intro {
  font-size: 32px;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 16px;
  min-height: 113px;
}

.page-node-22938 .area__content .column-right .club-content-box {
  max-width: 796px;
}

.page-node-22938 .area__content .column-right p {
  font-size: 32px;
  line-height: 36px;
  margin: 0;
}

.page-node-22938 .area__content .column-right p.p-1 {
  margin-top: 0;
  margin-bottom: 4px;
}

.page-node-22938 .area__content .column-right p.p-2 {
  font-weight: bold;
  box-sizing: border-box;
  padding: 0 24px;
  margin: 0;
}

.page-node-22938 .area__content .column-right p.p-bold {
  font-weight: bold;
  margin: 0;
}

.page-node-22938 .area__content .column-right p.p-indent {
  box-sizing: border-box;
  padding: 0 24px;
  margin: 0;
}

.page-node-22938 .area__content .column-right p.p-3 {
  margin-top: 3px;
}

.page-node-22938 .area__content .column-right p.p-smaller {
  font-size: 24px;
  line-height: 26px;
}

.page-node-22938 .area__content .column-right p.action-call {
  font-size: 22px;
  line-height: 24px;
}

.page-node-22938 .area__content .column-right p.p-4 {
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 4px;
}

.page-node-22938 .area__content .column-right p.p-5 {
  margin-top: 4px;
  font-size: 19px;
  line-height: 21px;
}

.page-node-22938 .area__content .column-right p.p-4 .club-terms {
  font-weight: bold;
  color: #0037b2;
}

.page-node-22938 .area__content .column-right h3.club-view-title {
  font-size: 38px;
  line-height: 40px;
  margin-top: 8px;
  margin-bottom: 0;
}

.page-node-22938 .area__content .column-right h3.club-view-title .title-17 {
  display: inline-block;
  vertical-align: top;
  width: 120px;
  height: 34px;
  margin-top: 2px;
}

.page-node-22938 .area__content .column-right h3.club-view-title .title-16 {
  display: inline-block;
  vertical-align: top;
  width: 130px;
  height: 28px;
  margin-top: 2px;
}

.page-node-22938 .view-club-yearly-stallions {
  max-width: 796px;
  box-sizing: border-box;
  padding: 0 8px 8px 8px;
}

@media only screen and (max-width: 767px) {
  .page-node-22938 .view-club-yearly-stallions .views-row {
    margin-bottom: 16px;
  }

  .page-node-22938 .area__content .column-right h3.club-view-title {
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 36px;
  }
}

.page-node-22938 .view-club-yearly-stallions .club-stallion-name h2 {
  font-size: 22px;
  line-height: 24px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

@media only screen and (min-width: 568px) and (max-width: 767px) {
  .page-node-22938 .view-club-yearly-stallions .club-stallion-name h2 {
    font-size: 20px;
    line-height: 22px;
  }
}

.page-node-22938 .view-club-yearly-stallions .club-stallion-name h2 a {
  color: #0037b2;
  position: relative;
}

.page-node-22938 .view-club-yearly-stallions .club-stallion-name h2 a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: scale(0, 1);
}

.page-node-22938 .view-club-yearly-stallions .club-stallion-name h2 a:hover:after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s, transform 0.2s;
}

.page-node-22938 .view-club-yearly-stallions .box {
  padding: 4px;
  margin-top: 8px;
}

.page-node-22938 .view-club-yearly-stallions .stallion-club-fee,
.page-node-22938 .view-club-yearly-stallions .stallion-club-location {
  font-size: 17px;
  line-height: 19px;
}

/* OFF ROSTER STALLIONS */
header.node--off-roster__header {
  text-align: center;
}

header.node--off-roster__header h1.node-title {
  font-size: 72px;
  line-height: 74px;
}

header.node--off-roster__header .header-second-row {
  font-size: 16px;
  line-height: 18px;
  font-weight: bold;
  color: #0037b2;
}
.is-page-node-type-off-roster-stallion .area--off-roster-header {
  border-bottom: 16px solid #a7dffa;
}

.node--type-off-roster-stallion.view-mode-full .off-roster-sells {
  background-color: #a7dffa;
}

/* Flickity Carousel */

.gallery-cell .views-field.views-field-field-primary-location {
  display: none;
}

.gallery-cell .views-field.views-field-field-secondary-location {
  display: none;
}

.gallery-cell .views-field.views-field-field-club-stallion-year {
  display: none;
}

.gallery-cell .views-field.views-field-field-club-stallion {
  display: none;
}

/* All forms */
div#edit-1st-line {
  clear: both;
}

/* Enquiry form */

.webform-submission-enquiry-form-form .form-item {
  margin: 0 0 24px 0;
  box-sizing: border-box;
  padding: 0 10px;
}
.webform-submission-enquiry-form-form .form-item.form-item-captcha-response {
  padding:0;
}

.webform-submission-enquiry-form-form .webform-flexbox {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.webform-submission-enquiry-form-form .webform-flexbox .captcha {
  margin: 0 10px;
}
.webform-submission-xuetongfenxiyilaifu-omu-form .captcha .form-item {
  float: none;
}
.webform-submission-enquiry-form-form #edit-1st-line .webform-flex--0 {
  width: 25%;
}
.webform-submission-enquiry-form-form #edit-1st-line .webform-flex--1 {
  width: 37.5%;
}
.webform-submission-enquiry-form-form #edit-1st-line .webform-flex--2 {
  width: 37.5%;
}
.webform-submission-enquiry-form-form #edit-5th-line .webform-flex:first-child {
  display: none;
  width: 50%;
}
.webform-submission-enquiry-form-form #edit-5th-line .webform-flex:nth-child(2) {
  width: 50%;
}
.webform-submission-enquiry-form-form #edit-5th-line .webform-flex:last-child {
  width: 50%;
}
.webform-submission-enquiry-form-form .form-submit {
  width: 200px;
  clear: both;
  display: block;
  margin: 30px auto auto;
}
.webform-submission-enquiry-form-form #edit-6th-line .webform-flex:first-child {
  width: 20%;
  flex: auto;
}
.webform-submission-enquiry-form-form #edit-6th-line .webform-flex:nth-child(2) {
  width: 30%;
  flex: auto;
}
.webform-submission-enquiry-form-form #edit-6th-line .webform-flex:nth-child(3) {
  width: 20%;
  flex: auto;
}
.webform-submission-enquiry-form-form #edit-6th-line .webform-flex:last-child {
  width: 30%;
  flex: auto;
}
.webform-submission-enquiry-form-form .form-item-email {
  width: 50%;
}
.webform-submission-enquiry-form-form #edit-8th-line .webform-flex:first-child {
  width: 33%;
  flex: auto;
}
.webform-submission-enquiry-form-form #edit-8th-line .webform-flex:last-child {
  width: 67%;
  flex: auto;
}
.webform-submission-enquiry-form-form div#edit-hr-1 {
  width: 100%;
  clear: both;
  margin: 0 auto 24px auto;
  max-width: 660px;
  padding: 0 15px;
}
.webform-submission-enquiry-form-form div#edit-h2-2 {
  width: 100%;
  clear: both;
  margin: 0 auto 24px auto;
  max-width: 660px;
  padding: 0 15px;
}
.webform-submission-enquiry-form-form div#edit-webform-title {
  width: 100%;
}

/* Brochure form */
.webform-submission-request-a-brochure-form .form-item {
  margin: 0 0 24px 0;
  box-sizing: border-box;
  padding: 0 10px;
  float: left;
}

.webform-submission-request-a-brochure-form .form-item.form-item-captcha-response {
  padding-left: 0;
  width: 100%;
}

.webform-submission-request-a-brochure-form .form-item-title {
  width: 25%;
}

.webform-submission-request-a-brochure-form .form-item-first-name {
  width: 37.5%;
}

.webform-submission-request-a-brochure-form .form-item-last-name {
  width: 37.5%;
}

.webform-submission-request-a-brochure-form .form-item-company {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-address {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-town-city {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-postcode-zip {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-address-line-2 {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-address-line-3 {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-county-state {
  display: none;
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-county-state-txt {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-country {
  width: 50%;
}

.webform-submission-request-a-brochure-form #edit-submit {
  clear: both;
  display: block;
  margin: 30px auto auto;
  width: 200px;
}

.webform-submission-request-a-brochure-form .form-item-tell-code {
  width: 20%;
}

.webform-submission-request-a-brochure-form .form-item-telephone {
  width: 30%;
  margin-top: 18px;
}

.webform-submission-request-a-brochure-form .form-item-mob-code {
  width: 20%;
}

.webform-submission-request-a-brochure-form .form-item-mobile {
  width: 30%;
  margin-top: 18px;
}

.webform-submission-request-a-brochure-form .form-item-email {
  width: 50%;
}

.webform-submission-request-a-brochure-form .form-item-are-you- {
  width: 100%;
}

.webform-submission-request-a-brochure-form .form-item-comments {
  width: 67%;
}

.webform-submission-request-a-brochure-form div#edit-hr-1 {
  width: 100%;
  margin: 0 0 24px 0;
}

.webform-submission-request-a-brochure-form div#edit-h2-2 {
  width: 100%;
  margin: 0 0 24px 0;
}

≈#edit-brochure--wrapper {
  display: block;
  float: none;
}

.webform-submission-request-a-brochure-form .js-form-item-brochure {
  float: none;
}

.webform-submission-request-a-brochure-form textarea#edit-comments {
  height: 15em;
}

.webform-submission-request-a-brochure-form div#edit-box {
  float: left;
  width: 33%;
}

@media (max-width: 768px) {
  .webform-submission-request-a-brochure-form div {
    width: 100% !important;
  }
}

#edit-captcha-response--description {
  display: none;
}

.webform-submission-zhongfukeniguansuruowenihewase-form .form-item {
  margin: 0 0 24px 0;
  box-sizing: border-box;
  padding: 0 10px;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item {
  margin: 0 0 24px 0;
  box-sizing: border-box;
  padding: 0 10px;
  float: left;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-horsename {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-stallion {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-firstname {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-lastname {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-email {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-confirmemail {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-zip1 {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-zip2 {
  width: 50%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-telephone {
  width: 33%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-fax {
  width: 33%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-mobile {
  width: 33%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-category {
  width: 28%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-item-comments {
  width: 72%;
}

.webform-submission-xuetongfenxiyilaifu-omu-form #edit-updates--wrapper {
  float: none;
}

.webform-submission-xuetongfenxiyilaifu-omu-form #edit-updates--wrapper legend {
  float: left;
}

.webform-submission-xuetongfenxiyilaifu-omu-form #edit-agree--wrapper {
  float: none;
}

.webform-submission-xuetongfenxiyilaifu-omu-form #edit-agree--wrapper legend {
  float: left;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-actions input {
  width: 240px;
  float: left;
  margin: 8px;
  box-sizing: border-box;
}

.webform-submission-xuetongfenxiyilaifu-omu-form .form-actions .form-submit {
  float: none;
}

/* Jonabell farm tours page */
.is-page-node-type-about-us-page.page-node-27588 .top_banner {
  margin-top: 0;
}

.is-page-node-type-about-us-page.page-node-27588 .top_banner .field--type-image {
  padding-top: 0;
}

.is-page-node-type-about-us-page.page-node-27588 .group-header {
  border-bottom: none;
  margin-bottom: 0;
  margin-top: -10px;
}

.is-page-node-type-about-us-page.page-node-27588 .group-header .field--name-title {
  margin: 0;
}

.is-page-node-type-about-us-page.page-node-27588 .group-header .field--name-title h2 {
  color: #0037b2;
  font-size: 25px;
  line-height: 27px;
  font-weight: normal;
  font-family: "Meta-Serif", Georgia, Times, 'Times New Roman', serif;
}

@media only screen and (min-width: 768px) {
  .is-page-node-type-about-us-page.page-node-27588 .group-header .field--name-title h2 {
    font-size: 40px;
    line-height: 42px;
  }
}

.is-page-node-type-about-us-page.page-node-27588 .pure-g .field {
  padding: 0 8px;
}

.is-page-node-type-about-us-page.page-node-27588 .group-left .field--type-image {
  padding: 10px 8px;
}

.is-page-node-type-about-us-page.page-node-27588 .field--name-field-body-a {
  margin-bottom: 16px;
}

.is-page-node-type-about-us-page.page-node-27588 .field--name-field-body-c.field__item > div {
  padding: 20px 0 10px 0;
  width: 160px;
  margin: auto;
  margin-top: -20px;
}

@media only screen and (min-width: 768px) {
  .is-page-node-type-about-us-page.page-node-27588 .field--name-field-body-c .field__item > div {
    padding: 0;
    float: right;
  }
}

.is-page-node-type-about-us-page.page-node-27588 .single-column .field__item h1 {
  font-size: 15px;
  line-height: 17px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
}

.is-page-node-type-about-us-page.page-node-27588 .single-column {
  margin-bottom: 20px;
}

.is-page-node-type-about-us-page.page-node-27588 .double-column .field__item h3 {
  font-size: 22.5px;
  line-height: 17px;
  font-family: "Meta-Serif", Georgia, Times, 'Times New Roman', serif;
  color: #0037b2;
}

.is-page-node-type-about-us-page .field--name-field-video {
  display: none;
}

/* CONTACT PAGES */

/** Contact Us Page **/
.field-name-field-generic-contact-info {
  margin-top: 50px;
  font-size: 13px;
  line-height: 15px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.field-name-field-generic-contact-info .info-wrapper {
  margin-left: 0;
  margin-right: 0;
}

.field-name-field-generic-contact-info img {
  max-width: 132px;
  margin-right: 10px;
  display: inline-block;
  width: 38%;
  vertical-align: bottom;
}

.field-name-field-generic-contact-info .info-wrapper {
  display: inline-block;
  width: 50%;
}

.field-name-field-generic-contact-info .info-wrapper p strong {
  font-size: 14px;
}

.field-name-field-generic-contact-info .item-wrapper {
  border-left: 1px solid #00B1EF;
  border-bottom: 2px solid #0037b2;
  padding: 0 0 0 10px;
  min-height: 50px;
}

.field-name-field-generic-contact-info h2 {
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
  color: #1EBAF0;
  font-size: 20px;
  line-height: 18px;
}
.field-name-field-generic-contact-info p {
  font-size: 14px;
  margin: 0;
}
.field-name-field-generic-contact-info dl {
  margin-bottom: 0;
}
body:not(.pweb-logged-in) .field-name-field-generic-contact-info dt {
  color: #00B1EF;
}

.field-name-field-generic-contact-info dt {
  margin: 10px 0 0 0;
  font-weight: 600;
  font-size: 14px;
}
.field-name-field-generic-contact-info dd {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
}
body:not(.pweb-logged-in) .field-name-field-generic-contact-info dt {
  color: #00B1EF;
}
.field-name-field-generic-contact-info dt {
  margin: 10px 0 0 0;
  font-weight: 600;
  font-size: 14px;
}
.field-name-field-generic-contact-info dd {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
}

body:not(.pweb-logged-in) .field-name-field-generic-contact-info .contact-info-wrapper .item-wrapper {
  column-count: 1;
}

@media only screen and (min-width: 567px) {
  body:not(.pweb-logged-in) .field-name-field-generic-contact-info .contact-info-wrapper .item-wrapper {
    column-count: 3;
  }
}
@media only screen and (min-width: 768px) {
  .pweb-logged-in .field-name-field-generic-contact-info .item-wrapper:not(.for-pweb-user) h2 {
    margin-bottom: 36px;
  }
}

/* Contact page bottom blocks */
.tours {
  border: 4px solid #0037b2;
  padding: 10px;
  margin-right: 5px;
}

.node--type-contact-page .field--name-field-location {
  font-size: 18px;
}

@media only screen and (max-width: 567px) {
  .node--type-contact-page .field--name-body img {
    margin-top: 16px;
  }
}

.node--type-contact-page .field--name-field-image {
  margin-bottom: 32px;
}

.node--type-contact-page .field--name-field-image img {
  margin: 0 auto;
  max-height: 460px;
}

/* Contact details */
.field--name-dynamic-block-fieldnode-the-team {
  margin-top: 52px;
}

.field--name-field-generic-contact-info {
  margin-top: 15px;
  font-size: 13px;
  line-height: 15px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.field--name-field-generic-contact-info h2,
.field--name-field-generic-contact-info p {
  margin: 0;
}

.field--name-field-generic-contact-info p {
  font-size: 15px;
}

.field--name-field-generic-contact-info a:hover {
  cursor: pointer;
}

.field--name-dynamic-block-fieldnode-the-team .field__label {
  font-weight: normal;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5em;
  line-height: 17px;
}

.pweb-logged-in .field-name-field-generic-contact-info .field__label,
.views-element-container .field__label {
  font-weight: 700;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.view-contact-details-new {
  margin-bottom: 16px;
}

.pweb-logged-in .field-name-field-generic-contact-info .field,
.view-contact-details-new .field {
  font-size: 14px;
  line-height: 20px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.view-contact-details-new .field--name-field-contact-photo {
  margin-bottom: 23px;
}

.view-contact-details-new .field--name-field-contact-photo.your-contact-label {
  margin-bottom: 6px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.view-contact-details-new .field--name-field-contact-photo.your-contact-label::after {
  background-color: #00B1EF;
  content: 'YOUR CONTACT';
  width: 100%;
  display: block;
  text-indent: 4px;
  color: #fff;
  line-height: 14px;
  padding: 2px 0 1px 0;
}

.pweb-logged-in .field-name-field-generic-contact-info .field--name-node-title h2,
.view-contact-details-new .field--name-node-title h2,
.field--name-field-generic-contact-info h2 {
  font-size: 16px;
  line-height: 18px;
  color: #0037b2;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.pweb-logged-in .field-name-field-generic-contact-info .field--name-field-languages,
.view-contact-details-new .field--name-field-languages {
  font-weight: bold;
}

.pweb-logged-in .field-name-field-generic-contact-info .field--name-field-job-title,
.view-contact-details-new .field--name-field-job-title {
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 14px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.pweb-logged-in .field-name-field-generic-contact-info .field--name-field-email {
  font-size: 14px;
  word-wrap: break-word;
}
.view-contact-details-new .field--name-field-email,
.field--name-sale-contact-details .field--name-field-email {
  word-wrap: break-word;
  display: none;
  font-size: 14px;
}

.pweb-logged-in .field-name-field-generic-contact-info a,
.pweb-logged-in .field-name-field-generic-contact-info .field--name-field-email a,
.view-contact-details-new a,
.view-contact-details-new .field--name-field-email a,
.field--name-sale-contact-details .field--name-field-email a {
  font-size: 14px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.view-contact-details-new .mobile-email a {
  font-size: 13px;
}

@media only screen and (max-width: 567px) {
  .view-contact-details-new .field .field__label,
  .view-contact-details-new .field,
  .view-contact-details-new .field a {
    font-size: 12px;
    line-height: 18px;
  }
}
@media only screen and (min-width: 568px) {
  .page-node-102 .field-name-field-generic-contact-info h2 {
    margin-bottom: 32px;
  }
}

@media only screen and (min-width: 1024px) {
  .view-contact-details-new .field--name-field-email,
  .field--name-sale-contact-details .field--name-field-email {
    display: block;
  }

  .view-contact-details-new .mobile-email,
  .field--name-sale-contact-details .mobile-email {
    display: none;
  }
}

.field--name-field-generic-contact-info h2 {
  line-height: 40px;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#map, #mapseymour {
  box-sizing: border-box;
  width: 100%;
  height: 244px;
  border: 3px solid #ccc;
}

.map-outer p {
  font-weight: bold;
  margin-top: 8px;
}

@media only screen and (max-width: 567px) {
  .map-outer {
    max-width: 80%;
    margin: 16px auto;
  }
}

/* HALL OF FAME */

.view-hall-of-fame {
  margin-bottom: 32px;
}

/* Hall of fame - index page */
.view-hall-of-fame .most-recent {
  text-align: center;
  border-bottom: 1px solid #000;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.view-hall-of-fame .less-recent {
  margin: 0 -4px;
}

.hall-of-fame--item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  padding: 4px;
  width: 100%;
}

@media only screen and (min-width: 568px) {
  .view-hall-of-fame .less-recent {
    margin: 0 -8px;
  }

  .hall-of-fame--item {
    padding: 8px;
    width: 50%;
  }
}

@media only screen and (min-width: 768px) {
  .hall-of-fame--item {
    width: 33.33%;
  }
}

#block-views-block-hall-of-fame-block-1 .field-name-field-image-a,
#block-views-block-hall-of-fame-block-1 .field--name-field-video {
  margin-bottom: 8px;
}

#block-views-block-hall-of-fame-block-1 .field--name-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 4px;
}

#block-views-block-hall-of-fame-block-1 .field-name-node-title h2 {
  font-size: 25px;
  line-height: 27px;
  margin-bottom: 4px;
}

#block-views-block-hall-of-fame-block-1 .field-name-node-title h2 a {
  color: #000;
  background: linear-gradient(to right, #0037b2 0%, #0037b2 98%);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: all 0.2s linear;
}

#block-views-block-hall-of-fame-block-1 .field-name-node-title h2 a:hover {
  background-size: 100% 2px;
  transition: all 0.2s linear;
}

#block-views-block-hall-of-fame-block-1 .field--name-field-standfirst {
  font-size: 18px;
  line-height: 20px;
}

/* Single hall of fame post */
.node--type-hall-of-fame .group-header {
  border-bottom: 1px solid #7d7d7d;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.node--type-hall-of-fame .group-header .field--name-post-date {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
}

.node--type-hall-of-fame .group-header .field-name-node-title {
  margin-bottom: 16px;
}

.node--type-hall-of-fame .group-header .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

.node--type-hall-of-fame .group-left .field-name-field-image-a,
.node--type-hall-of-fame .group-left .field-name-field-image-b,
.node--type-hall-of-fame .group-left .field-name-field-image-c,
.node--type-hall-of-fame .group-left .field-name-field-image-d,
.node--type-hall-of-fame .group-left .field-name-field-image-e {
  margin-bottom: 16px;
}

.node--type-hall-of-fame .field--name-field-video,
.node--type-hall-of-fame .field--name-field-blog-video-1,
.node--type-hall-of-fame .field--name-field-blog-video-2,
.node--type-hall-of-fame .field--name-field-blog-video-3,
.node--type-hall-of-fame .field--name-field-blog-video-4 {
  margin-bottom: 16px;
}

.node--type-hall-of-fame .field--name-field-caption-a,
.node--type-hall-of-fame .field--name-field-caption-b,
.node--type-hall-of-fame .field--name-field-caption-c,
.node--type-hall-of-fame .field--name-field-caption-d,
.node--type-hall-of-fame .field--name-field-caption-e,
.node--type-hall-of-fame .field--name-field-blog-video-caption-1,
.node--type-hall-of-fame .field--name-field-blog-video-caption-2,
.node--type-hall-of-fame .field--name-field-blog-video-caption-3,
.node--type-hall-of-fame .field--name-field-blog-video-caption-4 {
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}

.node--type-hall-of-fame .field--name-field-body-a,
.node--type-hall-of-fame .field--name-field-body-b,
.node--type-hall-of-fame .field--name-field-body-c,
.node--type-hall-of-fame .field--name-field-body-d,
.node--type-hall-of-fame .field--name-field-body-e {
  margin-bottom: 16px;
}

/* Recent posts */
.view-hall-of-fame .most-recent .field-name-field-image-a {
  max-height: 551px;
  margin-bottom: 16px;
}

.view-hall-of-fame .most-recent .field-name-field-image-a img {
  max-height: 551px;
}

.view-hall-of-fame .most-recent .field--name-post-date {
  color: #0037b2;
  font-size: 14px;
  line-height: 16px;
}

.view-hall-of-fame .most-recent .field-name-node-title h2 {
  font-size: 40px;
  line-height: 42px;
}

.view-hall-of-fame .most-recent .field-name-node-title h2 a {
  color: #000;
}

.view-hall-of-fame .most-recent .field--name-field-standfirst {
  font-size: 22px;
  line-height: 24px;
}

.view-resent-posts-hall-of-fame {
  margin-top: 0;
}

.view-resent-posts-hall-of-fame .area__content {
  padding: 0;
}

.node--type-hall-of-fame .hof-block-title {
  font-size: 18px;
  line-height: 20px;
  color: #0037b2;
  font-family: Meta, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.view-resent-posts-hall-of-fame .views-row {
  margin-bottom: 16px;
  position: relative;
}

.view-resent-posts-hall-of-fame .views-field-title {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 6px 6px 2px;
  width: 100%;
  background-color: #0037b2;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  transition: padding .2s;
}

.view-resent-posts-hall-of-fame .views-row:hover .views-field-title {
  padding: 12px 6px 8px;
  transition: padding .2s;
}

.view-resent-posts-hall-of-fame .views-field-title a {
  color: #fff;
  font-size: 12px;
}

@media screen and (min-width: 568px) {
  .view-resent-posts-hall-of-fame .views-field-title a {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) {
  .view-resent-posts-hall-of-fame .views-field-title a {
    font-size: 15px;
  }
}

/* HORSES FOR SALE */

/* Introduction */
.page-node-22461 .field--name-field-body-a,
.page-node-22455 .field--name-field-body-a {
  margin-bottom: 16px;
}

.page-node-22455 .node--view-mode-introductionhfs .group-header {
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 24px;
}

.page-node-22455 .node--view-mode-introductionhfs .field--name-field-standfirst {
  padding-bottom: 16px;
  border-bottom: 1px solid #7d7d7d;
  margin-bottom: 32px;
}

.page-node-22462 .node--view-mode-introductionhfs .field--name-field-standfirst {
  margin-bottom: 16px;
}

#block-views-contact-horses-for-sale-block {
  margin-top: 0;
}

#block-views-contact-horses-for-sale-block .area {
  margin-top: 0;
}

#block-views-contact-horses-for-sale-block .area__content {
  padding: 0;
}

#block-views-contact-horses-for-sale-block .field {
  font-size: 13px;
  line-height: 15px;
}

#block-views-contact-horses-for-sale-block .field--name-field-contact-photo {
  margin-bottom: 16px;
}

#block-views-contact-horses-for-sale-block .field--name-title h2 {
  font-size: 16px;
  line-height: 18px;
  color: #0037b2;
}

#block-views-contact-horses-for-sale-block .field--name-field-languages {
  font-weight: bold;
}

#block-views-contact-horses-for-sale-block .field--name-field-job-title {
  font-weight: bold;
  margin-bottom: 16px;
}

#block-views-contact-horses-for-sale-block .field--name-field-email {
  word-wrap: break-word;
}

#block-views-2ac1436ec4f3c74c3fb5d883a759a3d9 h2.block-title {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  font-weight: normal;
}

@media only screen and (min-width: 768px) {
  #block-views-2ac1436ec4f3c74c3fb5d883a759a3d9 .prospects {
    margin: 0;
  }

  #block-views-2ac1436ec4f3c74c3fb5d883a759a3d9 .prospects--item {
    width: 50%;
  }
}

/* Public Sales */
#block-public-sales-block > h2 {
  display: none;
}

#block-public-sales-block h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 25px;
  line-height: 27px;
}

#block-public-sales-block h2 a {
  color: #000;
}

#block-public-sales-block .views-field-field-sale-dates {
  color: #0037b2;
  font-size: 16px;
}

#block-public-sales-block .upcoming-sale h2 a {
  color: #00abee;
}

#block-public-sales-block nav.pager {
  float: right;
  position: relative;
  clear: both;
  width: 90%;
  margin-bottom: 15px;
}

/* Individual sale page and search page */
.node--type-sale header h2 {
  font-size: 40px;
  line-height: 42px;
  color: #0037b2;
  margin: 16px 0;
}

.node--type-sale .field-name-node-title h1 {
  font-size: 25px;
  line-height: 27px;
  color: #000;
}

.node--type-sale .field--name-field-start-date {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  line-height: 16px;
  color: #0037b2;
}

.node--type-sale .field--name-field-end-date:before {
  content: ' - ';
  display: inline-block;
  float: left;
}

.node--type-sale .field--name-field-end-date {
  display: inline-block;
  vertical-align: top;
  min-width: 180px;
  font-size: 14px;
  line-height: 16px;
  color: #0037b2;
}

.view-horses-for-sale-list tr td:nth-child(2) img,
.view-broodmares-for-sale-list .views-field-title-1 img {
  width: 18px;
  height: 18px;
}

.view-horses-for-sale-list table,
.view-horses-for-sale-search table,
.view-broodmares-for-sale-list table {
  border: none;
  width: 100%;
  margin-bottom: 32px;
}

.view-horses-for-sale-list table thead,
.view-horses-for-sale-search table thead,
.view-broodmares-for-sale-list table thead {
  text-align: left;
  background-color: transparent;
}

.view-horses-for-sale-list table th,
.view-horses-for-sale-search table th,
.view-broodmares-for-sale-list table th {
  border-bottom: none;
  text-align: left;
  font-size: 18px;
  color: #0037b2;
  padding: 7px 15px;
  vertical-align: top;
  white-space: pre;
}

.view-horses-for-sale-list table td,
.view-horses-for-sale-search table td,
.view-broodmares-for-sale-list table td {
  border-bottom: none;
  border-top: 1px solid #7d7d7d;
  vertical-align: top;
  height: auto;
}

.view-horses-for-sale-list .views-field-title-1, .view-horses-for-sale-list .views-field-field-horse-sire,
.view-horses-for-sale-search .views-field-title-1, .view-horses-for-sale-search .views-field-field-horse-sire,
.view-broodmares-for-sale-list .views-field-title-1, .view-broodmares-for-sale-list .views-field-field-horse-sire {
  font-weight: bold;
}

.view-horses-for-sale-list .views-field-field-horse-lot-number,
.view-broodmares-for-sale-list .views-field-field-horse-lot-number,
.view-horses-for-sale-list .views-field-field-horse-sire,
.view-broodmares-for-sale-list .views-field-field-horse-sire {
  white-space: nowrap;
}
.view-horses-for-sale-list th.views-field-field-horse-lot-number,
.view-broodmares-for-sale-list th.views-field-field-horse-lot-number {
  left: 8px;
}
.view-horses-for-sale-list th.views-field-title-1,
.view-broodmares-for-sale-list th.views-field-title-1 {
  padding-right: 4px;
}
.view-horses-for-sale-list table tr td:first-child a {
  color: #000;
  font-weight: normal;
}
.view-horses-for-sale-list table tr td:nth-child(2) {
  color: #000;
  font-weight: bold;
}
.view-horses-for-sale-list table tr td:nth-child(3) {
  font-weight: bold;
}

@media screen and (min-width: 1024px) {
  .view-horses-for-sale-list table th:nth-child(3),
  .view-horses-for-sale-search table th:nth-child(3),
  .view-broodmares-for-sale-list table th:nth-child(3) {
    width: 150px;
  }
}

/* BASIC PAGE - E.G. ACCESSIBILITY, DISCLAIMER, PP, CP */

.node--type-page.node--view-mode-full .field-name-node-title {
  margin-bottom: 16px;
}
.node--11298.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--11299.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--11300.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--11186.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--28796.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--28797.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--28798.node--type-page.node--view-mode-full .field--name-body .table-wrapper,
.node--28799.node--type-page.node--view-mode-full .field--name-body .table-wrapper {
  width: 100%;
  overflow-x: scroll;
}
.node--11298.node--type-page.node--view-mode-full .field--name-body table td,
.node--11299.node--type-page.node--view-mode-full .field--name-body table td,
.node--11300.node--type-page.node--view-mode-full .field--name-body table td,
.node--11186.node--type-page.node--view-mode-full .field--name-body table td,
.node--28796.node--type-page.node--view-mode-full .field--name-body table td,
.node--28797.node--type-page.node--view-mode-full .field--name-body table td,
.node--28798.node--type-page.node--view-mode-full .field--name-body table td,
.node--28799.node--type-page.node--view-mode-full .field--name-body table td {
  padding: 8px;
}
.node--11298.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--11299.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--11300.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--11186.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--28796.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--28797.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--28798.node--type-page.node--view-mode-full .field--name-body table tr:first-child td,
.node--28799.node--type-page.node--view-mode-full .field--name-body table tr:first-child td {
  font-weight: bold;
}

/*** TEMP UK-IE CONTACT PAGE FOR FACEBOOK CAMPAIGNE ***/

.page-node-30483 .area--sub-nav,
.page-node-30483 h1,
.page-node-30483 .field--name-dynamic-block-fieldnode-the-team {
  display: none;
}
.page-node-30483 .node--type-contact-page.node--view-mode-full {
  transform: translateY(-20px);
}
body.page-node-30483 .field-name-field-generic-contact-info .contact-info-wrapper .item-wrapper {
  column-count: 1;
}
.page-node-30483 .field-name-field-generic-contact-info {
  margin-top: 80px;
  margin-bottom: 40px;
}
.page-node-30483 .field-name-field-generic-contact-info .cell {
  padding: 8px;
  box-sizing: border-box;
  margin-top: -62px;
}
.page-node-30483 .field-name-field-generic-contact-info .cell:last-child {
  margin-top: 8px;
}
.page-node-30483 .field-name-field-generic-contact-info h2 {
  color: #0037b2;
  font-size: 25px;
  line-height: 27px;
  font-weight: normal;
  margin: 0;
}
.page-node-30483.pweb-logged-in .field-name-field-generic-contact-info .item-wrapper:not(.for-pweb-user) h2 {
  margin-bottom: 0;
}
.page-node-30483 .field-name-field-generic-contact-info p {
  font-size: 16px;
  line-height: 24px;
}
.page-node-30483 .field-name-field-generic-contact-info .uk-ie--location {
  font-size: 18px;
}
.page-node-30483 .field-name-field-generic-contact-info .uk-ie--contacts {
  color: #00B1EF;
  font-weight: 600;
}
@media screen and (min-width: 568px) {
  .page-node-30483 .field-name-field-generic-contact-info {
    margin-top: 100px;
  }
  .page-node-30483 .field-name-field-generic-contact-info .cell:last-child {
    margin-top: -62px;
  }
}
@media screen and (min-width: 768px) {
  .page-node-30483 .field-name-field-generic-contact-info {
    margin-top: 100px;
    margin-bottom: 140px;
  }
  .page-node-30483 .field-name-field-generic-contact-info .cell {
    padding: 8px 24px;
    box-sizing: border-box;
    margin-top: -78px;
  }
  .page-node-30483 .field-name-field-generic-contact-info .cell:last-child {
    margin-top: -78px;
  }
  .page-node-30483 .field-name-field-generic-contact-info h2 {
    font-size: 40px;
    line-height: 40px;
  }
}
@media screen and (min-width: 1024px) {
  .page-node-30483 .field-name-field-generic-contact-info .cell {
    padding: 8px 40px;
    box-sizing: border-box;
  }
}

/* Australian stallion parade 2019 NSW form */
.page-node-31071 .messages,
.page-node-31072 .messages {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}
.node--31071 .field-name-node-title h1,
.node--31072 .field-name-node-title h1,
.node--31073 .field-name-node-title h1,
.node--31074 .field-name-node-title h1 {
  display: none;
}
.node--type-page.node--view-mode-full .field-name-field-image {
  margin-bottom: 24px;
}
.webform-submission-australian-email-gathering-form--form,
.webform-submission-australian-email-gathering-form-form {
  margin-bottom: 24px;
}
.webform-submission-australian-email-gathering-form--form tbody,
.webform-submission-australian-email-gathering-form-form tbody {
  border: none;
}

.webform-submission-australian-email-gathering-form--form table tr,
.webform-submission-australian-email-gathering-form-form table tr {
  border: none;
  background: none;
}
.webform-submission-australian-email-gathering-form--form table th,
.webform-submission-australian-email-gathering-form-form table th {
  border-bottom: none ;
}
.webform-submission-australian-email-gathering-form--form table td,
.webform-submission-australian-email-gathering-form-form table td {
  padding: 4px;
  border: none;
}
.webform-submission-australian-email-gathering-form--form .form-actions input,
.webform-submission-australian-email-gathering-form-form .form-actions input {
  display: inline-block;
  width: 150px;
  margin-left: auto;
  margin-right: auto;
}
.webform-multiple-table--operations .image-button:first-child {
  width: 0;
  height: 21px;
  padding-right: 100px;
  margin-top: 4px;
  background-image: url(/themes/drly/images/add-guest-button.jpg);
  background-size: cover;
  border-radius: 0;
  border: none;
  opacity: 1;
}
.webform-multiple-table--operations .image-button:first-child:active,
.webform-multiple-table--operations .image-button:first-child:focus,
.webform-multiple-table--operations .image-button:first-child:hover {
  background-image: url(/themes/drly/images/add-guest-button.jpg);
  background-size: cover;
  opacity: .90;
}
.webform-multiple-table--operations .image-button:last-child {
  width: 0;
  height: 21px;
  padding-right: 120px;
  margin-top: 4px;
  background-image: url(/themes/drly/images/delete-guest-button.jpg);
  background-size: cover;
  border-radius: 0;
  border: none;
  opacity: 1;
}
.webform-multiple-table--operations .image-button:last-child:active,
.webform-multiple-table--operations .image-button:last-child:focus,
.webform-multiple-table--operations .image-button:last-child:hover {
  background-image: url(/themes/drly/images/delete-guest-button.jpg);
  background-size: cover;
  opacity: .90;
}
.webform-submission-australian-email-gathering-form--form td.webform-multiple-table--operations,
.webform-submission-australian-email-gathering-form-form td.webform-multiple-table--operations {
  display: block;
}
@media screen and (min-width: 768px) {
  .webform-submission-australian-email-gathering-form--form td.webform-multiple-table--operations,
  .webform-submission-australian-email-gathering-form-form td.webform-multiple-table--operations {
    display: table-cell;
  }
}

/* AU Fees release 2020 */

.au-fees-2020 {
  margin: 20px auto;
  background-color: #0037b2;
  max-width: 1280px;
}
.au-fees-2020 h3 {
  font-family: Meta-Serif, serif;
  font-size: 24px;
  line-height: 26px;
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 32px;
}
.au-fees-2020 h4 {
  color: #00abee;
  font-size: 22px;
  line-height: 24px;
  font-weight: normal;
  font-family: Meta-Serif, sans-serif;
  margin-bottom: 16px;
}
.au-fees-2020 .img-wrapper {
  text-align: center;
}
.au-fees-2020 .field-name-field-image {
  outline: none !important;
  margin-bottom: 32px !important;
  max-width: 600px !important;
}
.au-fees-2020 .img-wrapper a {
  display: inline-block;
}
.au-fees-2020 .au-fees-2020__stable {
  padding: 0 20px;
  box-sizing: border-box;
}
.au-fees-2020 .au-fees-2020__stable_content {
  max-width: 300px;
  margin: 0 auto;
}
.au-fees-2020 table {
  border: none;
  width: 100%;
  margin-bottom: 20px;
}
.au-fees-2020 table td {
  border: none;
  padding: 4px;
  font-size: 16px;
}
.au-fees-2020 table td:first-child {
  text-align: left;
}
.au-fees-2020 table td:last-child {
  text-align: right;
  color: #00abee;
}
.au-fees-2020 .au-fees-2020__stable td a {
  color: #fff;
}
.au-fees-2020 .au-fees-2020__stable td a:hover {
  color: #00abee;
}
.au-fees-2020 .au-fees-2020__stable td .au-fees-2020__new {
  color: #00abee;
}
.au-fees-2020__download {
  margin-top: 36px;
  text-align: center;
  padding-bottom: 12px;
}
.au-fees-2020__download a {
  color: #fff;
  font-size: 14px;
}
.au-fees-2020__download a:hover {
  color: #00abee;
}

/** COMPETITION POLICY **/
.competition-policy.accordion{
  margin:10px auto;
}
.competition-policy.accordion .accordion__content p:first-child{
  margin-top:20px;
}
.competition-policy.accordion .accordion__content p{
  margin-left: 10px;
  margin-right: 10px;
}

.is-page-node-type-stallion .field--name-dynamic-block-fieldnode-stallion-progeny-video-footage-b {
  margin-top:20px;
}

.field--name-field-takeover-subtitle {
  font-size:24px;
  display:inline-block;
  padding: 32px 0 8px 8px;
}

.node--type-takeover .field--name-node-title {
  display:inline-block;
  padding: 32px 0 8px 0;
}

.node--type-takeover .field--name-node-title h2 {
  font-weight: 600;
}

body.takeover.takeover-blue.regions-menu-open .area--header .header,
body.takeover.takeover-blue .view-site-takeover,
body.takeover.takeover-blue .header-wrapper,
body.takeover.takeover-blue .area--header .header,
body.takeover.takeover-blue .area--header .menus .menu-section--main
{
  background-color: #0037b2;
}

body.takeover.takeover-black.regions-menu-open .area--header .header,
body.takeover.takeover-black .view-site-takeover,
body.takeover.takeover-black .header-wrapper,
body.takeover.takeover-black .area--social-media,
body.takeover.takeover-black .area--footer,
body.takeover.takeover-black .area--copyright,
body.takeover.takeover-black .area--header .header,
body.takeover.takeover-black .area--header .menus .menu-section--main
{
  background-color: #222222;
}

body.takeover .logo svg .cls-1  {
  fill: #fff;
}

body.takeover.domain-www_darleyamerica_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a,
body.takeover.domain-darleyeurope_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a,
body.takeover.domain-www_darley_com_au .menu--main .menu-level-0 > .menu-item[data-title="Store"] a,
body.takeover .area--header .search .form-search::placeholder,
body.takeover  .area--header .menu-section--regions .menu-title .fa-angle-down,
body.takeover .area--header .menu-section--regions .menu-title,
.view-site-takeover p,
.view-site-takeover h1,
.view-site-takeover h2,
.view-site-takeover h3,
.view-site-takeover h4,
.view-site-takeover h5,
.view-site-takeover h6,
.view-site-takeover a,
.view-site-takeover .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child a,
.view-site-takeover .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child a:hover
{
  color: #fff !important;
}

body.takeover:not(.domain-www_darley_co_jp) .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child {
  border-color: #fff;
}
@media only screen and (max-width: 1023px) {
  body.takeover .area--header .menu-section--main ul.menu li.menu-item--collapsed .menu-arrow, .view-site-takeover .area--header .menu-section--main ul.menu li.menu-item--expanded .menu-arrow {
    background: url(/themes/drly/images/menu-arrow-left-white.png) no-repeat;
    background-size: 9px 15px;
  }

  body.takeover .area--header .menu-section--main .menu.menu-level-0 > .menu-item:last-child .menu-arrow {
    background: url(/themes/drly/images/menu-arrow-left-white.png) no-repeat;
    background-size: 9px 15px;
  }

}

body.takeover.domain-www_darleyamerica_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a:after,
body.takeover.domain-darleyeurope_com .menu--main .menu-level-0 > .menu-item[data-title="Store"] a:after,
body.takeover.domain-www_darley_com_au .menu--main .menu-level-0 > .menu-item[data-title="Store"] a:after{
  background: url(/themes/drly/images/basket-white.png) right top no-repeat;
  background-size: 20px auto;
}

body.takeover .area--header .menu-section--main .menu .menu-item:last-child a {
  border-color: white;
  color: white;
}

body.takeover .area--header .search .form-search {
  border-bottom: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

body.takeover .area--header .search .form-submit {
  background: url(/themes/drly/img/common/search-white.png) no-repeat transparent;
  background-size: 20px 20px;
}

.view-site-takeover {
  overflow:hidden;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}
