html, body {
    --webkit-overflow-scrolling: touch;
    overscroll-behavior-block: none;
    overscroll-behavior: none;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/***************************************************
 *  1. ROOT VARIABLES & RESETS
 ***************************************************/

 :root {
    /* Core Colors */
    --rh-global-black: black;
    --rh-global-red: red;
    --rh-global-navy: navy;
    --rh-global-white: white;
    --rh-global-table-grey: #f6f6f6;
    --rh-global-yellow: #ffd401;
    --rh-global-body-font-color: #333;

    /* Theme Colors */
    --rh-themecolor-primary: #0f4a75;
    --rh-themecolor-primary-rgba: rgba(15, 74, 117, 1);
    --rh-themecolor-primary-rgba-opacity-01: rgba(15, 74, 117, 0.1);
    --rh-themecolor-primary-rgba-opacity-08: rgba(15, 74, 117, 0.8);
    --rh-themecolor-secondary: #2b84c2;
    --rh-themecolor-secondary-hover: #2f87cc;
    --rh-themecolor-secondary-rgba: rgba(43, 132, 194, 1);
    --rh-themecolor-gradient: linear-gradient(225deg, rgba(15, 74, 117, 1) 0%, rgba(43, 132, 194, 1) 100%);
    --rh-themecolor-gradient-radial: radial-gradient(circle, rgba(43, 132, 194, 1) 0%, rgba(15, 74, 117, 1) 100%);
    --rh-themecolor-third: #4e8db9;
    --rh-themecolor-fourth: #888;
    --rh-themecolor-fifth: #e8f6ff;
    --rh-themecolor-highlight: #e2c85b;
    --rh-themecolor-highlight-active: #ffd630;
    --rh-themecolor-btn-bg: #e2c85b;
    --rh-themecolor-btn-bg-active: #ffd630;
    --rh-themecolor-btn-bg-hover: #ffd630;
    --rh-themecolor-basic-line-color: #cccccc;
    --rh-themecolor-icon-base-color: #e2c85b;

    /* Buttons */
    --rh-btn-font-size: 1rem;
    --rh-btn-min-width: 200px;
    --rh-btn-margin-bottom: 1rem;
    --rh-btn-add-to-calendar-font-size: 1.3rem;
    --rh-btn-add-to-calendar-width: 200px;
    --rh-btn-register-now-font-size: 16px;
    --rh-btn-register-now-width: 200px;
    --rh-btn-hover-opacity: 0.8;
    --rh-global-btn-shadow: 0px 3px 6px rgba(0, 0, 0, 0.5);

    /* ATC */
    --rh-atc-border-color: var(--rh-themecolor-primary);
    --rh-atc-text-color: var(--rh-global-white);
    --rh-atc-text-color-hover: var(--rh-global-white);
    --rh-atc-bg-color-hover: var(--rh-themecolor-primary);
    --rh-atc-bg-color: var(--rh-themecolor-primary);

    /* Video Play Icon */
    --rh-video-play-icon-w: 100px;
    --rh-video-play-icon-h: var(--rh-video-play-icon-w);
    --rh-video-play-icon-border-radius: 100em;
    --rh-video-play-icon-bg-color: var(--rh-themecolor-third);
    --rh-video-play-icon-shadow: 10px 10px 9px 1px rgba(0, 0, 0, 0.3);

    /* Fonts */
    --rh-global-eng-font-family: "Red Hat Text";
    --rh-global-eng-special-font-family: "Red Hat text", sans-serif;
    --rh-global-eng-Chromatica-font-family: "Chromatica";
    --rh-global-eng-kv-font-family: 'Bebas Neue', sans-serif;
    --rh-global-chi-font-family: "Noto Sans HK";
    --rh-global-chi-special-font-family: var(--rh-global-chi-font-family);
    --rh-global-chi-kv-font-family: var(--rh-global-chi-font-family);
    --rh-global-sc-font-family: "Noto Sans SC";
    --rh-global-sc-special-font-family: var(--rh-global-sc-font-family);
    --rh-global-sc-kv-font-family: var(--rh-global-sc-font-family);
    --rh-global-font-size: 18px;
    --rh-global-font-size-mobile: 16px;
    --rh-global-body-line-height: 2;
    --rh-global-eng-font-size: var(--rh-global-font-size);
    --rh-global-eng-font-size-mobile: var(--rh-global-font-size-mobile);
    --rh-global-chi-font-size: var(--rh-global-font-size);
    --rh-global-chi-font-size-mobile: var(--rh-global-font-size-mobile);
    --rh-global-table-th-chi-font-size: 1em;

    /* Spacers & Borders */
    --rh-spacer: 1rem;
    --rh-global-button-border-radius: 4px !important;
    --rh-global-border-radius: 8px !important;
    --rh-global-border-radius-lv2: 6px !important;

    /* Tables */
    --rh-table-font-size: 0.9125em;
    --rh-table-bgcolor-odd: var(--rh-global-white);
    --rh-table-bgcolor-even: var(--rh-global-white);
    --rh-table-padding: 20px 10px;
    --rh-table-line-height: 1.5em;
    --rh-global-table-ijc-grey: #ddd;

    /* Icons */
    --rh-icon-base-font-size: 1.5em;

    /* Contenders */
    --rh-contender-btn-color01: #000b38;
    --rh-contender-btn-color02: #eb2927;
    --rh-contender-primary-color: var(--rh-themecolor-secondary);
    --rh-contender-secondary-color: var(--rh-themecolor-third);
    --rh-contender-highlight-color: var(--rh-themecolor-highlight);

    /* Accordion */
    --rh-accordion-keys-date-item-bg-gradient: linear-gradient(30deg, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.6) 100%);
    --rh-accordion-keys-date-item-bg-gradient-0deg: linear-gradient(0deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.75) 100%);
    --rh-accordion-keys-date-item-bg-gradient-123deg: linear-gradient(123deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.75) 100%);

    --rh-section-video-text-color: var(--rh-global-white);

    /* Popup */
    --popup-alert-inner-bg-color: #fff;
    --popup-alert-h1-color: #263c88;
    --popup-alert-close-btn-bg-color: #263c88;
    --popup-alert-close-btn-text-color: #fff;

	--jc-common-footer-margin: 400px;
}

section#opening-ceremony {
    padding-top: 0;
}

.mrd-page-tab-link a {
    line-height: 1.3em;
}

/***************************************************
 *  2. BASE & TYPOGRAPHY
 ***************************************************/

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    color: var(--rh-global-body-font-color);
    font-size: var(--rh-global-font-size);
    line-height: var(--rh-global-body-line-height);
}

body {
    margin: 0;
    overflow-x: hidden;
}

*:lang(en-US) body {
    font-family: var(--rh-global-eng-font-family);
    font-size: var(--rh-global-eng-font-size);
}

*:lang(zh-TW) body {
    font-family: var(--rh-global-chi-font-family);
    font-size: var(--rh-global-chi-font-size);
}

*:lang(zh-CN) body {
    font-family: var(--rh-global-sc-font-family);
    font-size: var(--rh-global-sc-font-size);
}

@media (max-width: 767px) {

    html {
        font-size: var(--rh-global-font-size-mobile);
    }

    *:lang(en-US) body {
        font-size: var(--rh-global-eng-font-size-mobile);
    }
    
    *:lang(zh-TW) body {
        font-size: var(--rh-global-eng-font-size-mobile);
    }
    
    *:lang(zh-CN) body {
        font-size: var(--rh-global-eng-font-size-mobile);
    }

}


a,
a:visited {
    text-decoration: underline;
    outline: none;
}

a {
    color: var(--rh-themecolor-third);
    text-decoration: none;
    outline: none;
}

a:focus,
a:hover {
    color: var(--rh-themecolor-primary);
    text-decoration: underline;
    outline: none;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    margin-top: 0px;
    margin-bottom: 20px;
}

b,
strong {
    font-weight: 800;
}

/* Headings */
*:lang(en-US) h1,
*:lang(en-US) .h1 {
    font-family: var(--rh-global-eng-Chromatica-font-family);
    color: var(--rh-themecolor-primary);
}

*:lang(zh-TW) h1,
*:lang(zh-TW) .h1 {
    font-family: var(--rh-global-chi-special-font-family);
    color: var(--rh-themecolor-primary);
}

*:lang(zh-CN) h1,
*:lang(zh-CN) .h1 {
    font-family: var(--rh-global-sc-special-font-family);
    color: var(--rh-themecolor-primary);
}

*:lang(en-US) h2,
*:lang(en-US) .h2 {
    font-family: var(--rh-global-eng-special-font-family);
    color: var(--rh-themecolor-primary);
}

*:lang(zh-TW) h2,
*:lang(zh-TW) .h2 {
    font-family: var(--rh-global-chi-special-font-family);
    color: var(--rh-themecolor-primary);
}

*:lang(zh-CN) h2,
*:lang(zh-CN) .h2 {
    font-family: var(--rh-global-sc-special-font-family);
    color: var(--rh-themecolor-primary);
}

*:lang(en-US) h3,
*:lang(en-US) .h3 {
    font-family: var(--rh-global-eng-special-font-family);
    color: var(--rh-themecolor-secondary);
}

*:lang(zh-TW) h3,
*:lang(zh-TW) .h3 {
    font-family: var(--rh-global-chi-special-font-family);
    color: var(--rh-themecolor-secondary);
}

*:lang(zh-CN) h3,
*:lang(zh-CN) .h3 {
    font-family: var(--rh-global-sc-special-font-family);
    color: var(--rh-themecolor-secondary);
}

*:lang(en-US) h4,
*:lang(en-US) h5,
*:lang(en-US) h6,
*:lang(en-US) .h4,
*:lang(en-US) .h5,
*:lang(en-US) .h6 {
    font-family: var(--rh-global-eng-special-font-family);
    color: var(--rh-themecolor-fourth);
}

*:lang(zh-TW) h4,
*:lang(zh-TW) h5,
*:lang(zh-TW) h6,
*:lang(zh-TW) .h4,
*:lang(zh-TW) .h5,
*:lang(zh-TW) .h6 {
    font-family: var(--rh-global-chi-special-font-family);
    color: var(--rh-themecolor-fourth);
}

*:lang(zh-CN) h4,
*:lang(zh-CN) h5,
*:lang(zh-CN) h6,
*:lang(zh-CN) .h4,
*:lang(zh-CN) .h5,
*:lang(zh-CN) .h6 {
    font-family: var(--rh-global-sc-special-font-family);
    color: var(--rh-themecolor-fourth);
}

.h1,
h1 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.20;
}

.h2,
h2 {
    /*font-size: 2.25rem;*/
    font-size: 30px;
    line-height: 1.22;
}

.h3,
h3 {
    font-size: 1.875rem;
    line-height: 1.2;
}

.h4,
h4 {
    font-size: 1.5rem;
    line-height: 1.33;
}

.h5,
h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.h6,
h6 {
    font-size: 1.125rem;
    line-height: 1.44;
}

.h7,
h7 {
    font-size: 1rem;
    line-height: 1.5;
}
.vc_column_container>.vc_column-inner {
    padding-left: 16px;
    padding-right: 16px;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: var(--rh-global-body-line-height);
}

mark {
    color: #000;
    background: #ff0;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

.section-margin {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.font-size-10 {
    font-size: 0.625rem;
}

.font-size-12 {
    font-size: 0.75rem;
}

.font-size-14 {
    font-size: 0.875rem;
}

.font-size-16 {
    font-size: var(--rh-global-font-size);
}

.font-size-18 {
    font-size: 1.125rem;
}

.font-size-20 {
    font-size: 1.25rem;
}

.font-size-24 {
    font-size: 1.5rem;
}

.font-size-30 {
    font-size: 1.875rem;
}

.font-size-32 {
    font-size: 2rem;
}

.font-size-48 {
    font-size: 3rem;
}

.hidden {
    display: none !important;
}

/***************************************************
 *  3. BUTTONS
 ***************************************************/

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: var(--rh-global-border-radius);
}

/***************************************************
 *  4. TABLES
 ***************************************************/

table {
    background-color: transparent;
}

th {
    text-align: left;
}

.table {
    border-collapse: collapse !important;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.table td,
.table th {
    background-color: #fff !important;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #ddd !important;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

.table>tbody+tbody {
    border-top: 2px solid #ddd;
}

.table>.table {
    background-color: #fff;
}

.table-condensed>tbody>tr>td,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>td,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td,
.table-condensed>thead>tr>th {
    padding: 5px;
}

.table-bordered {
    border: 1px solid #ddd;
}

.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    border-bottom-width: 2px;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.entry-content th,
.comment-content th {
    text-transform: inherit !important;
}

.entry-content td,
.comment-content td {
    border-top: 0px solid #ddd !important;
}

/* Generic Custom Tables */
.generic-table {
    letter-spacing: 0px;
    font-size: var(--rh-table-font-size);
}

.generic-table table {
    width: 100%;
}

.generic-table table th {
    color: var(--rh-global-white);
    padding: var(--rh-table-padding);
    line-height: var(--rh-table-line-height);
}

.generic-table table th:first-child {
    border-radius: .25rem 0 0 .25rem !important;
}

.generic-table table th:last-child {
    border-radius: 0 .25rem .25rem 0 !important;
}

.generic-table table td {
    padding: var(--rh-table-padding);
    line-height: var(--rh-table-line-height);
}

.generic-table table thead {
    background: var(--rh-themecolor-gradient) !important;
}

.generic-table table tbody tr:nth-child(2n+1) {
    background: var(--rh-table-bgcolor-odd);
    border-bottom: 1px solid #ddd;
}

.generic-table table tbody tr:nth-child(even) {
    background: var(--rh-table-bgcolor-even);
    border-bottom: 1px solid #ddd;
}

.generic-table__number-center {
    text-align: center;
}

.num-center {
    text-align: center !important;
}

.generic-table--racecard img {
    width: inherit;
}

.arial {
    font-family: arial !important;
}

.generic-table--racecard-index table tr:first-child td:first-child {
    border-radius: 10px 0 0 0;
}

.generic-table--racecard-index table tr:first-child td:last-child {
    border-radius: 0 10px 0 0;
}

.generic-table--racecard-index table tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.generic-table--racecard-index table tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

.generic-table--winning-horse table td {
    vertical-align: top;
}

.generic-table.generic-table--racecard-index table {
    border-bottom: none;
}

.result-winning-horse-blk hr {
    margin-top: 0px;
    margin-bottom: 0px;
}

.entry-content td.raceInfo,
.generic-table td.raceInfo {
    color: var(--rh-themecolor-third);
}

.entry-content td.raceInfo:hover,
.generic-table td.raceInfo:hover {
    color: var(--rh-themecolor-fourth);
    text-decoration: underline;
    outline: none;
}

.entry-content td.contendersInfo,
.generic-table td.contendersInfo {
    color: var(--rh-themecolor-third);
    cursor: pointer;
}

.entry-content td.contendersInfo:hover,
.generic-table td.contendersInfo:hover {
    color: var(--rh-themecolor-fourth);
    text-decoration: underline;
    outline: none;
    cursor: pointer;
}

.am-table td,
.am-table th {
    padding: 0.5em;
}

.am-table table th,
.am-table table td {
    padding-left: 5px;
    line-height: 18px;
}

.am-table table th {
    background: var(--rh-themecolor-primary);
    color: var(--rh-global-white);
    line-height: 1.2em;
    text-transform: capitalize;
}

.cuisines-table {
    font-size: 0.875em;
    line-height: 1.2;
}

.cuisines-table td,
.cuisines-table th {
    padding: 10px;
}

.cuisines-table th {
    line-height: 1.2;
    letter-spacing: normal;
    font-weight: 700;
    background: var(--rh-themecolor-secondary);
    color: var(--rh-global-white);
}

/***************************************************
 *  5. LAYOUT & STRUCTURE
 ***************************************************/

/* General */
#content {
    padding-top: 0px !important;
}

.home .racing-promotion-banner-container {
    margin-bottom: 0px !important;
}

.racing-promotion-banner-container {
   margin-bottom: 80px !important;
   /* margin-top: -2px !important;*/
    position: relative;
}

.new-mrd-h2 h2 {
    /* border-bottom: 3px solid var(--rh-themecolor-highlight);*/
    /* padding-bottom: 16px;*/
    margin-bottom: 48px !important;
}

.section-padding-01 {
    padding-top: 80px !important;
    padding-bottom: 65px !important;
}

.home-section-bg-color {
    background-color: #f4f5f6;
}

.section-bg {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Headers & Footers */
#masthead {
    position: relative;
    z-index: 999 !important;
}

div#subnav {
    margin-top: -2px;
}

body.overflow footer#colophon {
    display: none;
}

/* Footer */
footer#colophon {
    background: var(--rh-themecolor-gradient) !important;
    z-index: 1;
    position: relative;
}

.footer-nav-raw {
    background-color: transparent !important;
    height: auto;
}

.footer-container {
    background: var(--rh-themecolor-gradient) !important;
    background-color: transparent;
    display: inline-block;
    width: 100%;
}

.footer-first-row {
    padding-bottom: 0px;
}

.footer-second-row,
.footer-third-row,
.footer-fourth-row {
    display: none;
}

.footer-nav ul {
    display: block;
}

ul#menu-footer {
    padding: 0;
}

ul#menu-footer li {
    width: 50%;
}

ul#menu-footer li>h4>a {
    text-decoration: none;
}

ul#menu-footer li>h4>a:hover {
    color: var(--rh-themecolor-highlight);
}

.footer-sixth-row-left ul li {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-right: 5px;
    border: none !important;
    margin-bottom: 20px;
}

.footer-sixth-row-left ul li:after {
    content: "|";
    margin-left: 5px;
}

.footer-sixth-row-left ul li:last-child:after {
    content: none;
}

.footer-sixth-row-left ul li:last-child {
    margin-right: 0px !important;
}

.footer-nav-raw>aside>.container {
    background: transparent !important;
    padding: 0;
}

.racing-social-media ul {
    list-style: none;
    padding-left: 0;
    text-align: right;
}

.racing-social-media h3 {
    color: #fff !important;
    margin-bottom: 20px;
    text-align: right;
    line-height: 1.5em;
}

.racing-social-media ul li {
    display: inline-block;
    margin-right: 20px;
}

.racing-social-media ul li:last-child {
    margin-right: 0px;
}

.racing-social-media ul>li>a:hover>svg>.st0,
.racing-social-media ul>li>a:hover>svg>g>.st0 {
    fill: var(--rh-themecolor-highlight);
}

ul#menu-menu-1 {
    float: left;
    display: inline-block;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100% !important;
}

/* Top Navigation */
#site-navigation .navbar-header {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: table !important;
}

#site-navigation .navbar-nav>li>a {
    text-transform: uppercase;
    font-weight: normal;
}

/* MMenu */
#mmenu .langToggle a,
#mmenu .ewin_link a {
    color: #fff;
}

#mmenu .followUs p,
#mmenu .followUs span {
    color: #fff;
}

#mmenu {
    background-color: #666;
}

#mmenu #menu-main-menu>.menu-item {
    background: #787878;
}

/* Banner */
#racing-promotion-banner {
    background-size: cover;
    background-attachment: fixed;
    background-color: #04223e !important;
}

.racing-promotion-static-banner {
    background-image: url(https://res.hkjc.com/campaigns/wp-content/uploads/sites/895/hkir2025-hero-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.racing-promotion-banner-container>div>ul {
    position: absolute;
    /*bottom: 10px !important;*/
    bottom: 0px !important;
    right: 20px;
    margin-left: 0;
    /*padding-left: 0;*/
}

.racing-promotion-banner-container>div>ul>li {
    display: inline-block;
    margin-right: 20px;
}

.racing-promotion-banner-container>div>ul>li:last-child {
    margin-right: 0;
}

.racing-promotion-banner-container>div>ul>li>button {
    text-indent: 101%;
    white-space: nowrap;
    overflow: hidden;
    width: 14px;
    height: 14px;
    padding: 0;
    border-radius: var(--rh-global-border-radius);
    border: 2px solid;
    border-color: var(--rh-themecolor-third);
    background-color: transparent;
    display: inline-block;
    float: left;
}

.racing-promotion-banner-container>div>ul>li.slick-active>button {
    background-color: var(--rh-themecolor-third);
}

.racing-promotion-banner-container .slick-slide {
    margin: 0px !important;
}

#racing-promotion-banner img {
    margin-top: 0px !important;
}

.promotion-banner-mobile {
    display: none !important;
}

.promotion-banner-desktop {
    display: block !important;
}

.slider-left {
    float: left;
    width: 26.04% !important;
}

.slider-right {
    float: left;
    width: 73.96% !important;
}

.slick-dots>li {
    display: inline-block;
}

.slick-dots>li:only-child {
    display: none;
}

li.nav-ewin {
    border: none !important;
}

#menuIcon {
    display: none !important;
}

/* Page Loading */
.page-loading {
    position: fixed;
    left: 0;
    top: 0;
    background: var(--rh-themecolor-gradient-radial);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 1s 0.5s ease;
    z-index: 99999;
}

.page-icon {
    position: relative;
    left: 4px;
}

.page-loading .page-icon-box {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-loading .page-icon-box.show {
    opacity: 1;
}

.page-loading .page-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.page-loading h3 {
    font-size: 32px !important;
    margin: 0;
    color: #fff !important;
    opacity: 0;
    transition: 0.5s ease;
    text-transform: uppercase;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
}

*:lang(en-US) .page-loading h3 {
    font-family: var(--rh-global-eng-kv-font-family);
}

*:lang(zh-TW) .page-loading h3 {
    font-family: var(--rh-global-chi-kv-font-family);
}

.page-loading path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    stroke: #fff;
    stroke-width: 1.5px;
    animation: dash 10s 1 forwards ease;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.page-loading.finish {
    opacity: 0;
    transition: opacity 0s 0.6s ease;
}

.page-loading.finish .page-icon-box {
    opacity: 0;
}

.page-loading h3 span {
    transform: translateY(30px);
    display: inline-block;
    color: #fff !important;
}

.page-loading h3.show {
    opacity: 1;
}

.page-loading h3.show span {
    animation: textMoveUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(0px);
    color: #fff !important;
}

@keyframes textMoveUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 0.4s infinite ease-in-out alternate;
    width: 180px !important;
    height: 180px !important;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale(1);
    }
}

body #page,
body .site-footer {
    /* opacity: 0; */
}

body .preload-blk {
    display: block;
    z-index: 99999;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
}

body.isReady #page,
body.isReady .site-footer {
    /* opacity: 1; */
}

body:not(.isReady) {
    /* background: var(--rh-themecolor-gradient-radial); */
}

/* Breadcrumbs */
.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: var(--rh-global-border-radius);
}

.breadcrumb>li {
    display: inline-block;
}

.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.breadcrumb>.active {
    color: #777;
}

/* Pagination */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: var(--rh-global-border-radius);
}

.pagination>li {
    display: inline;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.pagination>li>a:focus,
.pagination>li>a:hover {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pagination>.disabled>a,
.pagination>.disabled>span {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/***************************************************
 *  6. COMPONENTS
 ***************************************************/

/* Blockquote */
blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote footer {
    display: block;
    font-size: 80%;
    line-height: 1.42857143;
    color: #777;
}

blockquote footer:before {
    content: '\2014 \00A0';
}

/* Key Dates & Buttons */
a.btn-keydate {
    display: flex;
    align-items: center;
    margin-bottom: 20px !important;
    text-decoration: none;
    border-radius: var(--rh-global-border-radius) !important;
}

a.btn-keydate:hover {
    opacity: 0.6;
}

a.btn-keydate--not-selected {
    opacity: 0.6;
}

.btn-keydate__box {
    background: var(--rh-themecolor-primary);
    width: 60px !important;
    height: 60px !important;
    color: var(--rh-global-white);
    margin-right: 13px;
    font-family: var(--rh-global-eng-special-font-family);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: var(--rh-global-border-radius) !important;
}

.btn-keydate__box--themecolor-secondary {
    background: var(--rh-themecolor-secondary);
}

.btn-keydate__box--themecolor-third {
    background: var(--rh-themecolor-third);
}

.btn-keydate__box--themecolor-highlight {
    background: var(--rh-themecolor-highlight);
    color: var(--rh-themecolor-primary);
}

.btn-keydate__month {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--rh-global-eng-font-family);
    text-decoration: none !important;
}

.btn-keydate__date {
    font-size: 38px;
    letter-spacing: -0.05em;
    font-family: var(--rh-global-eng-special-font-family);
    line-height: 2.2rem;
    position: relative;
    top: -2px;
    text-decoration: none !important;
}

.btn-keydate__textlink {
    color: var(--rh-global-black);
}

/* Buttons - Generic Styles */
.btn--primary {
    border: 2px solid var(--rh-themecolor-third);
    color: var(--rh-global-white);
    background-color: var(--rh-themecolor-third);
    border-radius: 0px;
    font-size: var(--rh-btn-font-size);
    min-width: var(--rh-btn-min-width);
    border-radius: var(--rh-global-border-radius) !important;
}

.btn--secondary {
    border: 2px solid var(--rh-themecolor-highlight);
    color: var(--rh-themecolor-primary);
    background-color: var(--rh-themecolor-highlight);
    border-radius: 0px;
    font-size: var(--rh-btn-font-size);
    min-width: var(--rh-btn-min-width);
    border-radius: var(--rh-global-border-radius) !important;
}

.btn--third {
    border: 2px solid var(--rh-themecolor-third);
    color: var(--rh-themecolor-primary);
    background-color: var(--rh-global-white);
    border-radius: 0px;
    font-size: var(--rh-btn-font-size);
    min-width: var(--rh-btn-min-width);
    border-radius: var(--rh-global-border-radius) !important;
}

.btn--add-to-calendar {
    border: 2px solid var(--rh-themecolor-third);
    color: var(--rh-themecolor-primary);
    border-radius: 0px;
    font-size: var(--rh-btn-register-now-font-size);
    min-width: var(--rh-btn-add-to-calendar-width);
    border-radius: var(--rh-global-border-radius) !important;
}

.btn--register-now {
    border: 2px solid var(--rh-themecolor-highlight);
    color: var(--rh-themecolor-primary);
    background-color: var(--rh-themecolor-highlight);
    border-radius: 0px;
    font-size: var(--rh-btn-register-now-font-size);
    min-width: var(--rh-btn-register-now-width);
    border-radius: var(--rh-global-border-radius) !important;
}

.btn--add-to-calendar:hover,
.btn--register-now:hover,
.btn--primary:hover {
    opacity: var(--rh-btn-hover-opacity);
    color: var(--rh-themecolor-secondary);
}

.btn--secondary:hover {
    border: 2px solid var(--rh-themecolor-highlight);
    color: var(--rh-themecolor-primary);
    background-color: var(--rh-global-white);
    opacity: var(--rh-btn-hover-opacity);
    color: var(--rh-themecolor-secondary);
}

.btn--third:hover {
    border: 2px solid var(--rh-themecolor-third);
    color: var(--rh-global-white) !important;
    background-color: var(--rh-themecolor-third);
    opacity: var(--rh-btn-hover-opacity);
    color: var(--rh-themecolor-secondary);
}

.btn-disabled-cta {
    border: 2px solid grey !important;
    color: grey !important;
    pointer-events: none !important;
    cursor: default !important;
}

.atcb-text {
    text-align: left !important;
}

/* Swiper */
.swiper-default {
    width: 100%;
    height: 100%;
}

.swiper-default .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-default .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-left {
    text-align: left !important;
}

.swiper-default--slidesPerViewAuto .swiper-wrapper {
    padding-bottom: 45px;
}

.swiper-default--slidesPerViewAuto .swiper-slide {
    height: auto;
    align-items: stretch;
}

.swiper-default--filter .swiper-slide {
    width: 330px;
}

.swiper-default--button .swiper-slide {
    width: auto;
}

.swiper-pagination-bullet-active {
    background: var(--rh-themecolor-third) !important;
}

.swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
}

/* Card */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.10));
    background-color: #fff;
    border: 1px solid #ededed;
}

.card-body {
    display: flex;
    flex-direction: column;
    padding: 30px 20px 30px 20px;
    flex: 1 1 auto;
}

.card h3 {
    color: var(--rh-themecolor-secondary);
    margin-bottom: 20px;
}

.card p {
    flex: 1 1 auto;
    margin-bottom: 20px;
}

.card__default {
    text-align: left;
}

.card__swiper {
    margin-bottom: 15px !important;
    border-radius: var(--rh-global-border-radius) !important;
}

.btn-swiper {
    text-decoration: none;
    border: 0px;
    color: var(--rh-themecolor-fourth);
    padding-bottom: 10px;
    cursor: pointer;
}

.btn-swiper:hover,
.btn-swiper:focus {
    color: var(--rh-themecolor-third);
    text-decoration: none;
}

.btn-active {
    color: var(--rh-themecolor-third);
}

.btn-active::after {
    content: "";
    position: absolute;
    background-color: var(--rh-themecolor-third) !important;
    left: 0;
    right: 0;
    height: 4px;
    bottom: 0;
    width: 50px;
}

/* Gallery & Video Icons */
.icon-base {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    padding: 0.1em;
    border-radius: 100em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 9px 1px rgba(0, 0, 0, 0.2);
}

.icon-base--photo {
    color: var(--rh-global-white);
    background: var(--rh-themecolor-third);
    font-size: var(--rh-icon-base-font-size);
}

.icon-base--video {
    color: var(--rh-global-white);
    background: var(--rh-themecolor-third) !important;
    font-size: var(--rh-icon-base-font-size);
}

.icon-base--video-trainer {
    transform: scale(0.75);
    bottom: 0.1em;
    right: 0.1em;
}

.icon-base--video-center-align {
    color: var(--rh-global-white);
    background: var(--rh-themecolor-highlight);
    font-size: var(--rh-icon-base-font-size);
    position: absolute;
    top: 45%;
    left: 47%;
    bottom: inherit;
    right: inherit;
    transform: translate(-50%, -50%) scale(1.5);
}

.icon-base--video i,
.icon-base--video-center-align i {
    position: relative;
    left: 0.1em;
}

.video_open img {
    border-radius: var(--rh-global-border-radius) !important;
}

.video_open:after {
    position: absolute !important;
    z-index: 99;
    bottom: 0em;
    right: 0.2em;
    font-size: 3em;
    color: var(--rh-themecolor-highlight);
    text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}

.video_open--icon-align-center:after {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: inherit;
    right: inherit;
    transform: translate(-50%, -50%);
    font-size: 5em;
}

.video_open--small-icon:after {
    font-size: 2em;
}

.photo_open:after {
    position: absolute !important;
    z-index: 99;
    bottom: 0em;
    right: 0.2em;
    font-size: 3em;
    color: var(--rh-themecolor-highlight);
    text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}

.photo_open--icon-align-center:after {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: inherit;
    right: inherit;
    transform: translate(-50%, -50%);
    font-size: 5em;
}

.section-gallery__blk {
    position: relative;
}

.fa-play:before {
    content: url("https://campaign.hkjc.com/magnificent-raceday/images/global/svg-icon/svg-logo-play-video.svg");
    width: 23px;
    height: 26px;
    display: block;
}

.fa-image:before {
    content: url("https://campaign.hkjc.com/magnificent-raceday/images/global/svg-icon/svg-logo-photo.svg") !important;
    transform: scale(0.52);
    display: block;
}

/* Activities / Things to Do */
.section-activities__soild-text {
    font-size: 140px;
    color: var(--rh-themecolor-secondary);
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    min-width: auto;
    font-weight: 800;
    opacity: 0.2;
}

.section-activities__soild-text-right {
    font-size: 8rem;
    color: var(--rh-themecolor-secondary);
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    min-width: auto;
    font-weight: 600;
    opacity: 0.05;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.section-activities__soild-text-left {
    font-size: 8rem;
    color: var(--rh-themecolor-secondary);
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    min-width: auto;
    font-weight: 600;
    opacity: 0.05;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.section-activities__d-flex {
    display: flex;
    position: relative;
}

.section-activities__d-flex:nth-child(even) {
    flex-direction: row-reverse;
}

.section-activities__d-flex img {
    border-radius: var(--rh-global-border-radius) !important;
}

.section__activities-margin {
    margin-bottom: 5rem;
}

.align-self-center {
    -ms-flex-item-align: center !important;
    align-self: center !important;
}

.align-self-bottom {
    -ms-flex-item-align: end !important;
    align-self: end !important;
}

.activities-info-container {
    color: var(--rh-themecolor-third);
    font-weight: 600;
}

.activities-info-container i {
    padding-right: 10px;
    font-size: 1.3em;
    color: var(--rh-themecolor-highlight);
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.mb-8 {
    margin-bottom: 6rem !important;
}

.event-msg-box {
    background: var(--rh-themecolor-fifth);
    padding: 15px;
}

/* TV Programmes */
.section-tv-programmes__d-flex {
    display: flex;
}

.section-tv-programmes__d-flex img {
    border-radius: var(--rh-global-border-radius) !important;
}

/* Race Info Blocks */
.race-info-blk {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    min-height: 200px;
    padding: 20px 5px;
}

.race-info-blk.race-intro {
    padding: 20px 20px;
    align-items: self-start;
}

.race-info-blk__icon {
    max-width: 85px;
    margin-bottom: 8px;
}

.race-info-blk__desc {
    text-align: center;
}

.race-info-blk__title {
    color: var(--rh-themecolor-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.race-info-other-blk {
    border: 1px solid #ddd;
}

#four-boxes-raceinfo .vc_column_container>.vc_column-inner,
#three-boxes-raceinfo .vc_column_container>.vc_column-inner {
    padding-left: 0px;
    padding-right: 0px;
}

/* Trackwork Calendar */
.listing {
    border: 1px solid #cdcdcd;
    border-bottom: 0px solid #cdcdcd;
}

.calendar-title {
    color: var(--rh-themecolor-primary);
    font-weight: bold;
    font-size: 18px;
    line-height: 47px;
    font-family: var(--rh-global-eng-special-font-family) !important;
}

.calendar-tab-content {
    display: none;
}

/* FullCalendar Overrides */
.fc {
    direction: ltr;
    text-align: left;
}

.fc-unthemed .fc-content,
.fc-unthemed .fc-divider,
.fc-unthemed .fc-list-heading td,
.fc-unthemed .fc-list-view,
.fc-unthemed .fc-popover,
.fc-unthemed .fc-row,
.fc-unthemed tbody,
.fc-unthemed td,
.fc-unthemed th,
.fc-unthemed thead {
    border-color: #ddd;
}

.fc-unthemed .fc-popover {
    background-color: #fff;
}

.fc-unthemed .fc-divider,
.fc-unthemed .fc-list-heading td,
.fc-unthemed .fc-popover .fc-header {
    background: #eee;
}

.fc-unthemed .fc-popover .fc-header .fc-close {
    color: #666;
}

.fc-unthemed td.fc-today {
    background: #0b589c;
}

.fc-highlight {
    background: #bce8f1;
    opacity: .3;
}

.fc-bgevent {
    background: #8fdf82;
    opacity: .3;
}

.fc button {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    height: 2.1em;
    padding: 0 .6em;
    font-size: 1em;
    white-space: nowrap;
    cursor: pointer;
}

.fc-state-default {
    border: 1px solid;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}

.fc-state-active,
.fc-state-disabled,
.fc-state-down,
.fc-state-hover {
    color: #333;
    background-color: #e6e6e6;
}

.fc-state-hover {
    background-position: 0 -15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position .1s linear;
}

.fc-state-active,
.fc-state-down {
    background-color: #ccc;
    background-image: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
}

.fc-state-disabled {
    cursor: default;
    background-image: none;
    opacity: .65;
    box-shadow: none;
}

.fc table {
    width: 100%;
    box-sizing: border-box;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1em;
}

.fc td,
.fc th {
    border-style: solid;
    border-width: 1px;
    padding: 0;
    vertical-align: top;
}

.fc td.fc-today {
    border-style: double;
}

.fc .fc-row {
    border-style: solid;
    border-width: 0;
}

.fc-row .fc-bg {
    z-index: 1;
    border-bottom: 1px solid #EEEEEE;
}

.fc-row .fc-bgevent-skeleton {
    z-index: 2;
}

.fc-row .fc-highlight-skeleton {
    z-index: 3;
}

.fc-row .fc-content-skeleton {
    position: relative;
    z-index: 4;
    padding-bottom: 2px;
}

.fc-row .fc-helper-skeleton {
    z-index: 5;
}

.fc-event {
    position: relative;
    display: block;
    font-size: .85em;
    line-height: 1.3;
    border-radius: 3px;
    border: 1px solid #3a87ad;
    font-weight: 400;
    background-color: #3a87ad;
    color: #fff;
    text-decoration: none;
}

.fc-event-dot {
    background-color: #3a87ad;
}

.fc-day-grid-event {
    margin: 1px 2px 0;
    padding: 0 1px;
}

.fc-day-grid-event .fc-content {
    white-space: nowrap;
    overflow: hidden;
}

.fc-day-grid-event .fc-time {
    font-weight: 700;
}

.fc-toolbar.fc-header-toolbar {
    margin-bottom: 0em !important;
}

.fc-toolbar h2 {
    font-size: 16px !important;
    color: #000 !important;
    font-weight: normal;
    margin-top: 5px;
    line-height: 2.1em;
}

.fc-header-toolbar {
    height: 47px;
    border-bottom: 1px #d0d0d0 solid;
}

.fc-corner-left,
.fc-corner-right {
    background-color: var(--rh-themecolor-primary) !important;
    width: 46px;
    height: 46px;
    cursor: pointer;
}

.fc-icon {
    height: 3em;
    line-height: 3.2em;
    overflow: hidden;
    font-family: "Courier New", Courier, monospace;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fc-icon-right-single-arrow::after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 3rem;
}

.fc-icon-left-single-arrow::after {
    content: "\f104";
    font-family: FontAwesome;
    font-size: 3rem;
}

td.fc-day,
td.fc-bgevent {
    vertical-align: middle;
    text-align: center;
    color: #999;
    background: #fff;
}

td.fc-day {
    border-right: 1px solid #fff;
}

td.fc-today {
    border-left: 1px solid #fff;
    background-color: var(--rh-themecolor-primary) !important;
}

td.fc-track-today {
    border-left: 1px solid #fff;
    background-color: var(--rh-themecolor-primary) !important;
    color: #ffffff;
}

td.fc-track-today>a {
    color: #ffffff !important;
}

td.fc-track-day {
    border-left: 1px solid #fff;
    background-color: var(--rh-themecolor-fifth);
    color: #000000;
}

td.greyText {
    color: #ccc;
}

td.noText {
    color: #eee;
}

.fc th {
    border-width: 0px !important;
    font-size: 12px !important;
    line-height: 44px !important;
    border-bottom: 1px solid #ddd !important;
    border-right: 1px solid #fff !important;
    color: #000;
    font-weight: normal;
}

.fc td {
    border-width: 0px !important;
    line-height: 44px !important;
    border-bottom: 1px solid #ddd !important;
    border-right: 1px solid #fff !important;
}

th.fc-sun {
    color: #cc6666 !important;
}

.calendarLegend {
    border-top: 1px solid #ddd !important;
    padding-top: 5px;
}

.calendarLegend li {
    float: left;
    width: 50%;
    padding: 3px 3% 10px 3% !important;
    color: #666;
}

.calendarLegend img {
    max-width: 12px;
}

/* Sub Menu */
.submenu-container-slider {
    margin-bottom: 0px !important;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 1.5rem;
}

.submenu-container-slider .btn-submenu a {
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
    border: 1px solid var(--rh-themecolor-secondary);
    color: var(--rh-themecolor-primary);
    border-radius: 0px;
    font-size: var(--rh-btn-register-now-font-size);
    min-width: var(--rh-btn-add-to-calendar-width);
    padding: 10px 20px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.8);
}

.submenu-container-slider .btn-submenu:hover a {
    border: 1px solid var(--rh-themecolor-fourth);
    color: var(--rh-global-white);
    background-color: var(--rh-themecolor-fourth);
    border-radius: 0px;
    font-size: var(--rh-btn-font-size);
    min-width: var(--rh-btn-min-width);
    padding: 10px 20px;
    font-weight: 600;
}

.submenu-container-slider .swiper-slide {
    width: auto !important;
    padding: 10px 5px;
}

/* Race Sub Tab */
.race-submenu .pagination>li {
    display: inline-block;
    float: left;
    margin-bottom: 10px;
    margin-right: 25px;
}

.race-submenu .pagination>li a {
    padding: 8px 30px;
    background-color: var(--rh-global-white);
    border: 1px solid var(--rh-themecolor-secondary);
    color: var(--rh-themecolor-secondary);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.race-submenu .pagination>li a:hover,
.race-submenu .pagination>li.active>a,
.race-submenu .pagination>li.active>a:hover,
.race-submenu .pagination>li.active>a:focus {
    background-color: var(--rh-themecolor-secondary);
    color: var(--rh-global-white);
    border: 1px solid var(--rh-themecolor-secondary);
}

ul.event-list {
    box-sizing: border-box;
    padding-left: 40px;
}

ul.event-list li {
    margin-bottom: 10px;
}

/* Related Links */
.related-links ul {
    list-style: none;
    padding: 8px;
    margin: 0;
    border: 2px solid var(--rh-themecolor-third);
    color: var(--rh-themecolor-primary);
    text-align: center;
    font-weight: 700;
}

.related-links ul li a {
    color: var(--rh-themecolor-primary);
}

.related-links {
    margin-top: 20px;
}

img.flag {
    margin-right: 5px;
}

/* Attention Bar */
.attention-icon path {
    fill: #0C2677 !important;
}

.displaynone-icon {
    display: none !important;
}

.attention-bar {
    background-color: #ffcc00;
    color: #000 !important;
    height: 2.5rem;
    display: flex;
    margin: 0 auto;
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 99;
}

.attention-bar__content {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.attention-bar__content::after {
    background-color: #ffcc00;
    position: absolute;
    left: 0;
    top: 0;
    height: 2.5em;
    width: 0.5em;
    content: " ";
}

.attention-bar__list-item span {
    margin-right: 0.1875rem;
}

.attention-bar__notice {
    display: flex;
    align-items: center;
    height: 100%;
    color: #0C2677 !important;
    font-size: 1.25em;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #ffcc00;
}

*:lang(en-US) .attention-bar__notice {
    width: 5em;
    background-color: var(--rh-themecolor-highlight);
}

*:lang(zh-TW) .attention-bar__notice {
    width: 5em;
}

*:lang(zh-CN) .attention-bar__notice {
    width: 5em;
}

.attention-bar__text {
    animation: marquee 20s linear infinite;
}

.attention-bar__list {
    white-space: nowrap;
    padding-top: 10px;
}

.attention-bar__list li {
    margin-right: 50px;
    display: inline;
    list-style: none;
}

.attention-bar__list li::after {
    content: "";
    margin-left: 50px;
}

@keyframes marquee {
    0% {
        transform: translate(calc(800px - 8em), 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.has-alertbar .burger-container {
    top: 40px;
}

.has-alertbar #masthead {
    padding-top: 40px;
}

.has-alertbar .burger {
    top: 55px;
}

.rh-header-blk--has-attention-bar #navbar {
    padding-top: 40px;
}

.rh-header-blk--has-attention-bar #rh-header {
    margin-top: 40px;
}

.attention-bar__text:hover {
    -moz-animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

/* News */
.article-list .article-list-container .othersList blockquote {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0px;
    margin-bottom: 0;
    border-top: 0px solid #cecece;
    border-right: 0px solid #cecece;
    border-bottom: 1px solid #cccccc;
    border-left: 0px solid #cecece;
}

p.article-mauthor {
    font-size: 14px;
    width: 100%;
}

.article-mdate {
    width: 100%;
    font-size: 12px;
}

.article-search-items.col-md-12.article-item-search--list p.article-mauthor {
    font-size: 0.95em;
    width: 100%;
    margin-bottom: 0rem !important;
    margin-top: 5px !important;
}

.article-search-items.col-md-12.article-item-search--list .article-mdate {
    width: 100%;
    margin-bottom: 0rem !important;
    margin-top: 0px !important;
}

.article-search-items.col-md-12.article-item-search--list h3 {
    width: 100%;
    margin-bottom: 0rem !important;
    margin-top: 0px !important;
}

.search.search-results h1.page-title {
    display: block !important;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 30px;
}

.search.search-results .entry-title {
    margin-bottom: 5px;
    font-size: 1.2em !important;
    line-height: 1.4em;
}

.search-results span {
    color: var(--rh-themecolor-fourth);
}

.search-results .container {
    max-width: 800px;
}

.category-news .index-template {
    padding: 0 30px;
}

.category-news .article-list-name-container {
    margin-bottom: 1em;
}

.category-news .article-items.article-item--list a {
    transition: box-shadow 0.5s ease;
}

.category-news .article-items.article-item--list:hover>a {
    box-shadow: 0 0 24px 6px rgba(53, 52, 52, 0.3);
    transition: box-shadow 0.5s ease;
}

.category-news .article-items.article-item--list:hover .entry-title {
    text-decoration: underline;
}

input.search-submit.btn.btn-primary {
    float: none;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 2px solid var(--rh-themecolor-third);
    color: var(--rh-global-white);
    background-color: var(--rh-themecolor-third);
    border-radius: var(--rh-global-border-radius) !important;
    font-size: var(--rh-btn-font-size);
    width: 120px !important;
}

input.search-submit.btn.btn-primary:hover {
    opacity: var(--rh-btn-hover-opacity);
    color: var(--rh-themecolor-primary);
}

.article-list-name-container {
    background: var(--rh-themecolor-gradient);
    height: 42px;
}

.article-list-name-container>h2 {
    padding: 10px 10px;
    color: #fff !important;
    font-weight: normal;
    font-size: 18px !important;
    margin-bottom: 0px;
    background: none !important;
}

.article-list .article-list-container h2 {
    padding: 8px 5px;
    background: var(--rh-themecolor-gradient) !important;
    color: #fff !important;
    font-size: 1.3em !important;
}

.othersList h3,
.othersList p {
    margin: 3px 0px;
}

.othersList .article-mdate {
    line-height: 1em;
}

.othersList .article-mauthor {
    line-height: 1em;
}

.article-content h1.page-title {
    margin-top: 10px;
    font-size: 1.4em !important;
    line-height: 1.4em;
    display: block;
}

.article-mdate {
    font-size: 0.75rem;
    color: #000000;
    line-height: 1.5rem;
}

.article-mauthor {
    color: #000000;
    font-size: 0.875rem;
    width: 100%;
    line-height: 1.5rem;
}

.expert-container {
    margin: 20px 0px;
    background: #eee;
    padding: 20px 0px 20px 0px;
    border-radius: var(--rh-global-border-radius) !important;
}

.caption {
    margin-top: 0.2em;
    font-size: .8em;
    color: #666;
    line-height: 1.5em;
}

.racing-news-float-left-photo {
    position: relative;
    float: left;
    width: 40%;
    margin-right: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.racing-news-float-right-photo {
    position: relative;
    float: right;
    width: 40%;
    margin-left: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.racing-news-float-right-photo .wpb_single_image .vc_figure {
    width: 90%;
}

.racing-news-float-left-photo .wpb_single_image .vc_figure {
    width: 90%;
}

.racing-news-caption {
    color: #666;
    padding: 0.3em;
}

/* MRD News */
.category-news #main>.row {
    display: block;
}

.mrd-news-container-highlight-row {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    row-gap: 0px;
}

.mrd-news-container-highlight-row .article-items.article-item--list {
    padding-left: 0px;
    padding-right: 0px;
}

#loadMore {
    background-color: var(--rh-themecolor-third);
    color: #fff;
    padding: .8em 1.5em;
    border-radius: 50px;
}

.mrd-news-page-sub-title h1 {
    padding-bottom: 0px;
}

.mrd-news-page-title h1 {
    padding-top: 0px;
}

.mrd-news-page-title .mb-5 {
    margin-bottom: 0rem !important;
}

.mrd-news-page-title .mt-4 {
    margin-top: 15px !important;
}

/* IJC */
.generic-table--ijc-results table thead tr {
    background: var(--rh-global-table-ijc-grey);
}

.generic-table--ijc-results table thead tr.legs {
    font-size: var(--rh-table-font-size);
}

.generic-table--ijc-results .am-table table th {
    background: var(--rh-themecolor-primary);
}

/***************************************************
 *  7. SIDE FLOATING MENU (CUPS)
 ***************************************************/

.side-cups.float-blk.isActive {
    z-index: 99;
}

.float-blk {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 100;
    transform: translate(102%, -50%);
    transition: transform 0.3s ease;
}

.float-blk.isActive {
    transform: translate(0, -50%);
    transition: transform 0.3s ease;
}

.side-cups__button {
    display: flex;
    flex-wrap: wrap;
    width: 80px;
    height: 88px;
    background: rgba(0, 34, 59, 0.93);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 90%);
    align-items: center;
    justify-content: center;
    border-radius: 4px 0px 0px 4px;
}

.side-cups__button-text {
    display: block;
    margin-bottom: 1em;
    color: #fff;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 12px;
    margin-top: -3px;
}

.side-cups__button>img {
    transition: transform 0.3s ease;
    max-width: 60px;
}

.side-cups__button:hover>img {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.side-cups__button:hover .side-cups__button-text {
    color: red;
    transition: color 0.3s ease;
}

.side-cups-panel {
    width: 80px;
    background: rgba(0, 34, 59, 1);
    align-items: center;
    justify-content: center;
    z-index: 10000;
    top: 60%;
    border-radius: 4px 0px 0px 4px !important;
}

.side-cups-panel__close {
    display: block;
    text-align: center;
    color: red;
    margin-top: 0.5em;
    font-size: 1.5em;
}

.side-cups-panel__list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.side-cups-panel__item {
    flex: 0 0 100%;
}

.side-cups-panel__item.current {
    background: #ffd300;
}

.side-cups-panel__button {
    color: #fff;
    display: block;
    width: 100%;
    padding: 5px 2px;
    text-align: center;
    position: relative;
}

.side-cups-panel__button::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    content: '';
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.side-cups-panel__close:hover,
.side-cups-panel__button:hover,
.side-cups-panel__button:focus {
    color: red;
}

.side-cups-panel__ico {
    margin-right: 0.5em;
}

.side-cups-panel__hkir-ico {
    display: block;
    margin: 0 auto;
    max-width: 60px;
    border-bottom: 1px solid var(--rh-themecolor-fourth);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

a.side-cups-panel__button>img {
    max-width: 32px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.side-cups i.fa.fa-chevron-right {
    color: red;
}

/* Floating Icon Animations */
.blinker-1 {
    animation: blinker-am-1 1s linear infinite;
}

.blinker-2 {
    animation: blinker-am-2 1s linear infinite;
    animation-delay: 0.5s;
}

@keyframes blinker-am-1 {
    50% {
        opacity: 0;
    }
}

@keyframes blinker-am-2 {
    50% {
        opacity: 0;
    }
}

.side-cups-panel__close .fa-sort-up {
    transform: none;
}

/***************************************************
 *  8. POPUPS & OVERLAYS
 ***************************************************/

/* Jump Page Popup */
div#jumppage-popup_background {
    background-color: rgba(1, 20, 78, 1) !important;
    opacity: 0.95 !important;
}

#activities-popup-link {
    cursor: pointer;
}

#activities-popup-link:hover {
    text-decoration: underline;
    color: #25509F;
}

div#jumppage-popup h2 {
    font-size: 26px;
}

button.jumppage-popup_close::before {
    content: url(https://campaigns.hkjc.com/wp-content/themes/campaigns-revamp/css/images/cross.png);
    color: #fff;
    cursor: pointer;
    float: right;
    font-family: 'fontawesome';
}

button.jumppage-popup_close {
    background-color: transparent !important;
    border: none;
    padding: 0;
    position: absolute;
    top: 2%;
    right: 2%;
    border: 0px !important;
}

button.jumppage-popup_close:hover {
    background-color: transparent !important;
}

div#jumppage-popup {
    position: initial !important;
    text-align: left;
    width: 90%;
    max-width: 800px;
    display: none;
}

div#jumppage-popup p {
    text-align: left;
    width: 100%;
    line-height: 1.5em;
    color: #fff !important;
}

div#jumppage-popup h2 {
    color: #fff !important;
}

div#jumppage-popup_wrapper {
    text-align: left;
    color: #fff;
}

p.jumppage-link-style a {
    color: #F8D30D;
    border: 1px solid #F8D30D;
    padding: 10px 20px;
    border-radius: var(--rh-global-border-radius);
    display: inline-block;
    overflow-wrap: break-word;
    word-break: break-all;
}

p.jumppage-link-style a:hover {
    background-color: #F8D30D;
    color: #000;
    opacity: 1;
}

p.jumppage-link-style {
    display: inline-block;
}

.event__info__value.jumppage-trigger {
    word-wrap: break-word;
}

.jumppage-trigger {
    color: #25509F !important;
    text-decoration: underline;
}

/* Snackbar Overlay (Old Event Popup) */
.sn-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
}

.sn-overlay.close {
    display: none;
}

.sn-overlay__context {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 765px;
}

.entry-overlay-layout {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--popup-alert-layout-bg-color);
    height: auto;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    padding-top: 10px;
    padding-bottom: 20px;
    border-radius: var(--rh-global-border-radius);
}

.entry-overlay-layout-top {
    display: inline-block;
    width: 100%;
}

img.entry-overlay-logo {
    max-width: 160px;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.entry-overlay-layout-bottom {
    margin-left: 20px;
    margin-right: 20px;
    background-color: var(--popup-alert-inner-bg-color);
    border-radius: var(--rh-global-border-radius);
    padding: 0px;
    box-sizing: border-box;
    margin-top: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.entry-overlay-layout-bottom h1 {
    font-size: 24px;
    font-weight: bold;
    color: var(--popup-alert-h1-color);
    line-height: 1.2em;
    margin-bottom: 20px;
}

.entry-overlay-layout-bottom p {
    line-height: 1.5em;
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 0px;
}

.entry-overlay-layout-button {
    display: inline-block;
    width: 100%;
    margin-top: 20px;
}

.sn-overlay__close-btn {
    text-decoration: none;
    background-color: var(--popup-alert-close-btn-bg-color);
    color: var(--popup-alert-close-btn-text-color);
    padding: 10px 20px;
    display: inline-block;
    border-radius: var(--rh-global-border-radius);
    border: 0;
    outline: none;
    cursor: pointer;
}

.sn-overlay__close-btn:hover {
    opacity: 0.8;
    background-color: var(--popup-alert-close-btn-bg-color) !important;
}

.pop-up-banner-text-container {
    padding: 20px;
}

img.pop-up-banner-image {
    border-radius: 10px 10px 0px 0px;
}

/* Confetti */
.wrapper-confetti-container {
    position: fixed;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

[class|=confetti] {
    position: absolute;
}

/* 150 confetti items - only first and last shown for brevity in output */
.confetti-0 {
    width: 5px;
    height: 2px;
    background-color: #263672;
    top: -10%;
    left: 32%;
    opacity: 0.802;
    transform: rotate(140.291deg);
    animation: drop-0 4.773s 0.785s infinite;
}

@keyframes drop-0 {
    100% {
        top: 110%;
        left: 36%;
    }
}

/* ... (confetti-1 to confetti-150 would be here) ... */
.confetti-150 {
    width: 3px;
    height: 1.2px;
    background-color: #ffbf00;
    top: -10%;
    left: 45%;
    opacity: 1.46;
    transform: rotate(311.373deg);
    animation: drop-150 4.148s 0.809s infinite;
}

@keyframes drop-150 {
    100% {
        top: 110%;
        left: 54%;
    }
}

/***************************************************
 *  9. UTILITY & MISC
 ***************************************************/

/* Headings Underline */
.h1--underline {
    border-bottom: 4px solid var(--rh-themecolor-highlight);
    width: 50px;
}

.h2--underline {
    border-bottom: 3px solid var(--rh-themecolor-highlight);
    width: 50px;
}

.h3--underline {
    border-bottom: 2px solid var(--rh-themecolor-highlight);
    width: 50px;
}

/* Misc */
.themecolor-box {
    width: 100%;
    height: 60px;
    text-align: center !important;
    padding: 20px !important;
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav.paging-navigation {
    display: none !important;
}

.raw-html {
    height: auto;
    margin-top: 0px;
    background-color: transparent !important;
}

.raw-html>aside>.container {
    padding: 0px;
    background-color: transparent;
}

li.nav-left-column-first-child {
    margin-bottom: 0px !important;
}

ul.nav-left-column>li.menu-social-icon {
    display: none;
}

.racing-mobile-navigation ul {
    margin-bottom: 0px;
    list-style-type: none;
    padding-left: 0;
}

.left-1 {
    width: 100%;
    padding-right: 0px !important;
}

.left-2,
.left-4 {
    display: none;
}

.left-1>ul>li.ewin-horse-icon {
    display: none;
}

.dropdown>button:after {
    content: none !important;
}

.subpage-top-container {
    background: #fff;
}

.subpage-top-container>.container {
    background: #fff !important;
}

.page-template-page-fullwidth #content,
#content>.container,
.widget>.container,
.content-header>.container,
#content .subpage-top-container .container,
.vc_section.container {
    /* background-color: #f7efe2; */
}

.maincolor {
    color: #888888;
}

.secondarycolor {
    color: #f7efe2;
}

#article-list-right .dropdown.otherlist-dropdown {
    display: none !important;
}

.article-list .article-list-container h2 {
    padding: 5px 10px;
    background: #888888;
    color: #fff;
}

.othersList h3 {
    font-weight: normal;
    line-height: 1.5em;
    font-size: 1em !important;
}

.article-list .article-list-container .othersList a:not(.active):hover blockquote,
.article-list .article-list-container .othersList a.active blockquote {
    background: var(--rh-themecolor-primary-rgba-opacity-01);
    transition: background-color 0.5s ease;
}

.race-icon {
    background: #888888;
}

.pastwinnerlist table th {
    color: #fff !important;
}

.subStarContent {
    background: rgba(255, 255, 255, 0.2) none repeat scroll 0px 0px !important;
    border-bottom: 1px solid #ccc !important;
}

.subStarContent:hover {
    color: #888888;
    opacity: 0.7;
}

.rating.ng-binding {
    background: #888888 !important;
}

.messageFirst {
    background: #888888 !important;
    color: #fff;
}

.messagebox {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0px 0px;
    border: 1px solid #ccc;
}

.graphTitle {
    font-size: 1.2em;
}

.highlight-box h4 {
    background-color: #888888 !important;
}

.highlightTable table tr:first-child>td {
    background-color: #ccc;
}

.btn-primary {
    color: #888888;
    background-color: #ccc;
    border-color: #fff;
}

.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #888888;
    border-color: #fff;
}

.otherlist-dropdown button {
    width: 100%;
}

.otherlist-dropdown ul.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
}

.ewinIcon .ewin_link a {
    color: #fff;
}

.gotoTop .fa {
    color: #888888;
    opacity: 0.8;
}
.gotoTop {
    z-index: 9999999;
    margin-bottom: 80px;
    display:none !important;
}
h1.page-title {
    display: none;
}

.container.experts h1.page-title,
.container.news h1.page-title,
.container.trackwork h1.page-title,
.container.videos h1.page-title,
.container.photos h1.page-title {
    display: block;
    margin-bottom: 30px;
    position: relative;
}

.wpb_single_image .vc_figure-caption {
    line-height: 1.5em !important;
    padding-bottom: 20px !important;
    margin-top: 0.2em !important;
    font-size: .8em !important;
}

.videoThumbnail {
    /* max-height: 161px; */
}

input {
    outline: none;
}

.content-header h1.page-title:after {
    /*content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 50px;
    margin-top: 1.35em;
    border-bottom: 4px solid var(--rh-themecolor-highlight);*/
}

/* Voting Page */
.voting-txt-center {
    text-align: center;
}

.voting-24px-blue,
.voting-24px-blue span {
    font-size: 24px;
    color: var(--rh-themecolor-secondary);
    line-height: 1.5;
}

span.voting-hl-red {
    font-weight: 700;
    color: var(--rh-themecolor-highlight);
}

.br-decktop {
    display: block;
}

.voting-hl-container {
    padding: 20px;
    text-align: center;
    background: var(--rh-themecolor-highlight);
}

.voting-hl-container p {
    color: #fff;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 800;
    margin-bottom: 0px;
}

.voting-grey-bg {
    background-color: #F7F7F7;
    padding: 24px;
}

/* Things To Do - Package */
.introduction-and-info-card__heavy-traffic-container {
    padding: 24px;
    display: flex;
    gap: 24px;
    border-radius: var(--rh-global-border-radius);
    border: 1px solid var(--rh-themecolor-primary);
    align-items: center;
    background: #F7F7F7;
}

.thing-to-do__package-container {
    padding: 24px;
    display: flex;
    gap: 24px;
    border-radius: var(--rh-global-border-radius);
    align-items: center;
    background: var(--rh-themecolor-primary);
    color: #fff;
}

.thing-to-do__package-container .title {
    color: var(--rh-global-yellow);
    line-height: 1.5;
    font-weight: 700;
    margin: auto;
}

.thing-to-do__package-container div {
    border-left: 3px solid var(--rh-global-yellow);
    padding-left: 15px;
}

.thing-to-do__package-container p {
    color: var(--rh-global-white);
}

/* Live Cast */
.notify h1:before {
    padding-right: 0px;
    content: "" !important;
}

.notify[data-notify="info"] {
    background-color: rgba(0, 0, 0, 0.85) !important;
    max-width: 700px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background-image: none !important;
    border-bottom: 0px solid #fecf13 !important;
}

.live-watch-btn {
    width: 80%;
    margin-top: 2px;
}

.notify-close {
    color: #fff !important;
    font-size: 36px !important;
    transform: scale(1.3, 1.3);
    background: rgba(0, 0, 0, 0);
    padding: 5px 15px 8px 15px !important;
    border: 0px solid #fff !important;
}

.notify {
    padding: 5px 20px !important;
}

.notify-content {
    text-align: center;
    line-height: 1.5em;
    padding-top: 20px;
}

.super {
    color: #fff;
    line-height: 1.4em;
}

.notify,
.live-dec {
    color: #fff;
}

img.icon-video-livecast {
    width: 26px;
}

.notify .button-livecast-on {
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    border-radius: 0em;
    padding: 10px 20px;
    font-size: 16px !important;
    text-align: center;
    text-decoration: none;
    animation: glowing 1500ms infinite;
    margin-bottom: 15px;
    margin-top: 20px;
}

.notify .button-livecast-on:hover {
    color: #FFFFFF !important;
    background-color:  #104d79 !important;
}

@-webkit-keyframes glowing {
    0% {
        background-color: #277bb6;
        box-shadow: 0 0 3px #277bb6;
    }

    50% {
        background-color: #104d79;
        box-shadow: 0 0 40px #104d79;
    }

    100% {
        background-color: #277bb6;
        box-shadow: 0 0 3px #277bb6;
    }
}

.fas.fa-video {
    color: #fff !important;
    font-size: 20px !important;
    position: relative;
    top: 2px;
}

.notify .button-livecast-stay {
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    border-radius: var(--rh-global-border-radius);
    padding: 10px 20px;
    font-size: 16px !important;
    text-align: center;
    text-decoration: none;
    margin-bottom: 15px;
    margin-top: 20px;
    background: #2b84c2 !important;
}

.notify .button-livecast-replay {
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    border-radius: var(--rh-global-border-radius);
    padding: 10px 20px;
    font-size: 16px !important;
    text-align: center;
    text-decoration: none;
    margin-bottom: 15px;
    margin-top: 20px;
    background: #2b84c2 !important;
}

.notify .button-livecast-replay:hover {
    color: #FFFFFF !important;
    background: #449BE2 !important;
}

span.replaytitle {
    color: var(--rh-themecolor-third) !important;
}

/* Sticky Bar */


.stickyBar .book-btn {
    height: fit-content!important;
    padding: 8px 16px;
    gap: 2rem;
    /* min-width: 111px; */
    border-radius: 100px;
    background: rgb(254, 207, 19);
    font-size: 14px!important;
    line-height: 1.5rem;
    font-weight:500!important;
    	min-width: inherit!important;
    color: #022169;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}


.stickyBar .stickyBar__content .book-btn {
    background: rgb(254, 207, 19) !important;
}

.stickyBar.active {
    z-index: 998 !important;
}

/* Misc */
.footer-nav ul li {
    line-height: 1.2;
}

.wc-racinginfo .subnav-list-lv2 {
    min-width: 360px;
}

.video-play-icon__base {
    opacity: 0.95;
}

.menu-item-2033 span.topItem>button {
    font-size: 28px !important;
}

.subnav-list .subnav-list-lv2--is-active a.subnav__link-anchor {
    color: var(--rh-global-white);
}

.subnav__link.subnav__link--active .subnav__link-anchor {
    color: var(--rh-global-white) !important;
}

.subnav-list-lv2--is-active {
    color: var(--rh-themecolor-highlight);
}

.subnav-list-lv2 {
    top: -5px !important;
    z-index: 99999 !important;
}

.footer-nav-group {
    margin-bottom: 15px;
}

.remark-container {
    background: #eee;
    padding: 15px;
    border-radius: var(--rh-global-border-radius) !important;
}

#activities-page .col-xs-12 {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.footer-fifth-row-left i {
    margin-right: 5px;
}

.burger {
    top: 20px !important;
}
.things-to-do-header h1{
/*    font-size: 48px !important; */
}
/***************************************************
 *  10. RESPONSIVE BREAKPOINTS
 ***************************************************/

/* Large Screens */
@media (min-width: 1200px) {
    .swiper.stickyBar__swiperdesktop {
        max-width: 750px !important;
    }
}

@media (min-width: 992px) {

    .page-template-page-withchilds .content-header h1.page-title,
    .single-post .content-header h1.page-title {
        width: 80%;
    }

    .rh-header .rh-header-logo {
        margin-right: 20px;
    }
}

@media (min-width: 767px) {
    #racing-promotion-banner .kv-video-container {
        max-height: 604px;
        padding-bottom: 31.3% !important;
    }

    #racing-promotion-banner .kv-video-container__video-blk {
        top: -100px !important;
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    .mrd-news-container-highlight-row .highlight {
        grid-row: 1 / span 1;
    }
}

/* Tablet */
@media (max-width: 1200px) and (min-width: 768px) {
    #subnav li {
        margin-right: 30px !important;
    }
}

@media (max-width: 1024px) {
    .mrd-page-tab-link a {
        padding: 12px 16px !important;
        font-size: 16px !important;
    }

    .things-to-do-header h1{
        /* padding: 1rem 0 0 !important;*/
       /* font-size: 30px !important;*/
    }

    .voting-24px-blue,
    .voting-24px-blue span,
    .voting-hl-container p {
        font-size: 16px;
    }

    .br-decktop {
        display: inline;
    }
.racing-promotion-banner-container {
    margin-bottom: 48px !important;
}
}

@media (max-width: 991px) {
    .article-items.col-md-12.article-item--list {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .article-item--list blockquote,
    .article-item-search--list blockquote {
        height: auto;
        padding: 1em 0;
        border-left: none;
        margin-bottom: 0;
        background: var(--rh-themecolor-primary-rgba-opacity-01);
    }

    .racing-news-float-left-photo {
        float: left;
        width: 45%;
        margin-right: 1em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    .racing-news-float-right-photo {
        float: right;
        width: 45%;
        margin-left: 1em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    .swiper-default--filter .swiper-slide {
        max-width: 300px;
    }
}

@media (max-width: 990px) {
    .section-padding-01 {
        padding-top: 48px !important;
        padding-bottom: 38px !important;
    }

    .mrd-news-container-highlight-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .mrd-news-page-title .mt-4 {
        margin-top: 0px !important;
    }
}

/* Small Tablet / Large Mobile */
@media (max-width: 900px) {
    .footer-nav-raw {
        width: 100%;
    }

    .footer-nav-group {
        width: 100%;
    }

    .racing-social-media {
        display: inline-block;
        float: left;
        width: 100%;
        text-align: left;
        margin-bottom: 30px;
    }

    .racing-social-media h3 {
        text-align: left;
    }

    .racing-social-media ul {
        text-align: left;
    }

    ul#menu-footer li:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .promotion-banner-mobile {
        display: block !important;
    }

    .promotion-banner-desktop {
        display: none !important;
    }

    img.racing-promotion-banner-title-en {
        position: absolute;
        top: 10%;
        left: 4.5%;
        width: 50% !important;
    }

    img.racing-promotion-banner-title-ch {
        position: absolute;
        top: 11.8%;
        left: 4.5%;
        width: 55% !important;
    }

    .slider-left {
        width: 100% !important;
    }

    .slider-right {
        width: 100% !important;
    }

    .footer-fifth-row-right>.hidden-xs {
        display: block !important;
    }

    .footer-fifth-row-right>.visible-xs {
        display: none !important;
    }

    #content {
        /*padding-top: 15px !important;*/
    }

    .notify-close {
        font-size: 36px !important;
        transform: scale(1.1, 1.1);
        padding: 5px 10px 5px 10px !important;
    }
}

@media (max-width: 767px) {
    .section-activities__d-flex {
        flex-direction: column-reverse;
    }

    .section-activities__d-flex:nth-child(even) {
        flex-direction: column-reverse;
    }

    .section-activities__d-flex:nth-child(odd) {
        flex-direction: column-reverse;
    }

    .section-tv-programmes__d-flex {
        display: inherit !important;
    }

    .icon-base--video-center-align {
        top: initial;
        left: initial;
        bottom: inherit;
        right: inherit;
        transform: translate(-50%, -50%) scale(1);
        bottom: 0.5em !important;
        right: 0.5em !important;
    }

    .group-photo-no-margin-bottom {
        margin-bottom: 0px !important;
    }

    .group-photo-caption {
        margin-top: .2em;
        font-size: .8em;
        margin-top: -10px;
    }

    .article-content .wpb_single_image .vc_single_image-wrapper {
        margin-bottom: 15px;
    }

    .submenu-container-slider {
        margin-left: 30px;
        margin-right: 30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        background-color: rgba(255, 255, 255, 0) !important;
    }

    .h1,
    h1 {
        font-size: 2.25rem;
        line-height: 1.22;
    }

    .h2,
    h2 {
        font-size: 1.875rem;
        line-height: 1.2;
    }

    .h3,
    h3 {
        font-size: 1.5rem;
        line-height: 1.33;
    }

    .h4,
    h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .h5,
    h5 {
        font-size: 1.125rem;
        line-height: 1.44;
    }

    .h6,
    h6 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .h7,
    h7 {
        font-size: 0.875rem;
        line-height: 1.428;
    }

    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

    .table-responsive>.table {
        margin-bottom: 0;
    }

    .table-responsive>.table>tbody>tr>td,
    .table-responsive>.table>tbody>tr>th,
    .table-responsive>.table>tfoot>tr>td,
    .table-responsive>.table>tfoot>tr>th,
    .table-responsive>.table>thead>tr>td,
    .table-responsive>.table>thead>tr>th {
        white-space: nowrap;
    }

    .table-responsive>.table-bordered {
        border: 0;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .race-info-blk-container .col-xs-6.col-sm-3.mb-3 {
        padding: 5px !important;
        margin-bottom: 0px !important;
    }

    .footer-nav {
        width: 100% !important;
    }
}

@media (max-width: 550px) {
    .single-post .content-header h1.page-title {
        /* text-align:left; */
    }

    #fontSizeSelecter {
        display: none;
    }

    .wpb_gallery_slides.wpb_image_grid .wpb_image_grid_ul .isotope-item {
        width: 49% !important;
        margin: 0 2px 2px 0 !important;
    }

    .racing-news-float-right-photo {
        padding-left: 0px !important;
        padding-right: 0px !important;
        width: 100% !important;
    }

    .racing-news-float-left-photo {
        width: 100% !important;
    }

    .racing-news-float-right-photo .wpb_single_image .vc_figure {
        width: 100% !important;
    }

    .racing-news-float-left-photo .wpb_single_image .vc_figure {
        width: 100% !important;
    }

    .contender-infobox .upper-info .mobile-container {
        width: 70%;
    }
}

@media (max-width: 413px) {
    .race-info-blk__desc {
        transform: scale(0.85);
    }
}

@media (max-width: 400px) {
    ul#menu-footer li {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 393px) {
    .mrd-page-tab-link a {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .things-to-do-header {
       /* padding: 0.5rem 0 0 !important;*/
    }
}

@media (max-width: 374px) {
    .index-template .article-items .entry-title {
        font-size: 14px;
    }

    .block-news__thumbnail.col-md-3 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .block-news__content.col-md-9 {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 330px) {
    .contender-infobox .upper-info .mobile-container .small-title-container {
        text-align: left;
        display: block;
    }
}

/* Nav Bar Override */
.nav-bar-raw-html {
    background: #fff !important;
}

@media (max-width: 992px) {

    .navbar-header,
    .navbar.navbar-default,
    .desktopEwin {
        display: none;
    }

    .pageHeader,
    #menuIcon {
        z-index: 90;
    }

    #menuIcon {
        display: block;
    }

    ul.nav-language-column li a:hover {
        color: var(--rh-themecolor-third);
    }

    .racing-promotion-banner-container .inner-banner-mobile,
    .burger-container,
    .burger:not(.clicked) {
        display: block !important;
    }
}

/***************************************************
 *  11. INTERNET EXPLORER FALLBACKS
 ***************************************************/

@media all and (-ms-high-contrast:none) {
    .side-cups-panel {
        width: 10em;
    }

    .side-cups__button {
        width: 8em;
    }
}

*::-ms-backdrop,
.side-cups-panel {
    width: 10em;
}

*::-ms-backdrop,
.side-cups__button {
    width: 8em;
}

/***************************************************
 *  12. COUNTDOWN CLOCK (HKIR)
 ***************************************************/

#sponsor-clock {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    top: 50%;
    margin-top: -10rem;
}

.kv-embed-blk__item {
    background-color: #04223e;
    cursor: pointer;
}

.count-down-end #sponsor-clock {
    margin-top: -7rem;
}

@media (min-width: 1600px) {
    #sponsor-clock {
        margin-top: -8rem;
        left: 50%;
        transform: translateX(-36%);
        scale: 1.3;
    }

    .count-down-end #sponsor-clock {
        margin-top: -4rem;
    }
}

@media (max-width: 1120px) {
    #sponsor-clock {
        scale: 0.75;
        height: 120%;
    }

    .count-down-end #sponsor-clock {
        scale: 1;
        margin-top: -6rem;
    }
}

@media (max-width: 865px) {
    #sponsor-clock {
        height: 150%;
    }
}

@media (max-width: 768px) {
    #sponsor-clock {
        scale: 1.1;
        left: 50%;
        margin-top: -10rem;
        margin-left: -220px;
    }

    .count-down-end .kv-embed-blk {
        padding-bottom: 50%;
    }

    .count-down-end #sponsor-clock {
        margin-top: -7rem;
        margin-left: -240px;
    }
}

@media (max-width: 580px) {
    .kv-embed-blk {
        padding-bottom: 86.5% !important;
    }

    .count-down-end .kv-embed-blk {
        padding-bottom: 65% !important;
    }
}

@media (max-width: 470px) {
    #sponsor-clock {
        margin-top: -11rem;
        margin-left: -50%;
        scale: 0.9;
    }

    .kv-embed-blk {
        padding-bottom: 90% !important;
    }

    .count-down-end #sponsor-clock {
        margin-left: -50%;
    }
}

@media (max-width: 390px) {
    .kv-embed-blk {
        padding-bottom: 87% !important;
    }

    .count-down-end .kv-embed-blk {
        padding-bottom: 75% !important;
    }
}

@media (max-width: 375px) {
    #sponsor-clock {
        scale: 0.75;
    }

    .count-down-end #sponsor-clock {
        scale: 0.9;
        margin-top: -8rem;
    }
}

@media (max-width: 320px) {
    #sponsor-clock {
        margin-top: -10rem;
    }

    .count-down-end #sponsor-clock {
        margin-top: -7rem;
    }

    .count-down-end .kv-embed-blk {
        padding-bottom: 85% !important;
    }
}

/***************************************************
 *  13. PHASE 1 VIDEO RATIO
 ***************************************************/

#racing-promotion-banner .kv-video-container__video-blk {
    left: unset;
    height: 100%;
    top: 0px !important;
}

@media (min-width: 767.99px) {
    #racing-promotion-banner .kv-video-container {
        padding-bottom: 42.5% !important;
    }
}

/* Home Slider Blur */
#racing-promotion-banner .slick-slide {
    animation: slideOut 0.4s cubic-bezier(0.4, 0.29, 0.01, 1);
}

#racing-promotion-banner .slick-slide.slick-current.slick-active {
    animation: slideIn 2.4s cubic-bezier(0.4, 0.29, 0.01, 1);
}

@keyframes slideIn {
    from {
        filter: blur(15px);
    }

    to {
        filter: blur(0);
    }
}

@keyframes slideOut {
    from {
        filter: blur(0);
    }

    to {
        filter: blur(15px);
    }
}

/* Misc Overrides */
#bg-svg-logo-horseshoe {
    display: none !important;
}

body.archive.category.category-news .content-header h1 {
    /*font-weight: 600 !important;*/
}

#content {
    background: #fff;
}

.jc-common-footer-wrapper {
    background: #f5f5f5;
}


/***************** 2026 Additional CSS START ******************************/
@media (min-width: 1400px) {
    .jc-common-header-nav {
        padding: 0 40px;
        padding-left: calc(50vw - 928px);
        padding-right: calc(50vw - 928px);
    }
}


@media (min-width: 1200px) {
    &[data-jc-common-header-type="campaign"] .jc-common-header-top {
        display: flex;
        padding-left: calc(50vw - 928px);
        padding-right: calc(50vw - 928px);
    }
}

.book-btn, .container__stickyBarBottom .e-win-btn  {
    border-radius:  var(--rh-global-button-border-radius)!important;
}

.jc-common-header-fixed {
    max-width: unset;
}

#displaynone-icon {
    display: none;
}

.stickyBar {
    /*max-width: 1920px;
    margin: auto;
    margin-bottom: -35px;*/
}

.container__stickyBarBottom {
	max-width: 1920px;
    margin: 0 auto;
}

#content {
    max-width: 1920px;
    margin: auto;
    /* overflow: hidden; */
    clip-path: inset(0);
}

body {
    background: #f5f5f5;
}

footer#colophon {
    max-width: 1920px;
    margin: auto;
}

.jc-common-footer-wrapper {
    background: var(--rh-themecolor-primary-rgba-opacity-01);
}

.home-section-bg-color {
    background-color: var(--rh-themecolor-primary-rgba-opacity-01);
}


.jc-common-header-nav {
    background: var(--rh-themecolor-primary) !important;
}

.jc-common-header-scroll-btn.is-right {
    background: linear-gradient(270deg, var(--rh-themecolor-primary) 50%, transparent) !important;
}


.jc-common-header-scroll-btn {
    background: linear-gradient(90deg, var(--rh-themecolor-primary) 50%, transparent) !important;
}



/*.h1, h1 {
.h1 {    
    font-weight: 700;
    font-size: 48px;
}*/

.page-loading, #block-2 {
	display: none !important; 
}

.racing-promotion-banner-container {
	opacity: 0;
}

.isReady .racing-promotion-banner-container { 
	opacity: 1;
}

.side-cups__button {
    display: none;
}

img.img-responsive.wp-post-image {
    border-radius:  var(--rh-global-border-radius)!important;
}

/*************** Home Top KV pagination Start **************/
.racing-promotion-banner-container>div>ul {
    border-radius: 20px;
}

ul.slick-dots {
    /*padding: 5px 20px 2px;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);*/
}

.racing-promotion-banner-container>div>ul>li>button {
    border: 1.5px solid;
    border-color: var(--rh-global-white);
}

/*************** Home Top KV pagination End **************/    


/*********** Live cast START  ***************/

.media, .media-body {
    overflow: hidden;
    zoom: 1;
}


/*********** Live cast END  ***************/

/************* News CSS Start *************/
.index-template .article-items .entry-title {
    margin-bottom: 5px;
    font-size: 1.2em;
    line-height: 1.4em;
}

*:lang(en-US) .index-template .article-items .entry-title {
    margin-bottom: 5px;
    font-size: 1.2em;
    line-height: 1.4em;
}

.block-news__content.col-md-9 {
    padding-left: 0px;
    padding-right: 10px;
}
.block-news__content {
    display: flex;
    flex-wrap: wrap;
    align-content: baseline;
    min-width: 58.33333333%;
}

/************* News CSS End *************/

/*************** overlay video CSS START ***************/
.video_close, .popup_close {
    height: 60px!important;
}

div#div_videoHolder {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
}
/*************** overlay video CSS END ***************/

/*********** trackwork page calendar CSS Start *********/

.fc-icon-left-single-arrow:after {
    font-weight: 700;
     top: -7%;
    }
    
    
    .fc button .fc-icon {
     color: #ffffff;
    }
    
    
    .fc th, .fc-basic-view td.fc-week-number, .fc-icon, .fc-toolbar {
        text-align: center;
    }
    
    .fc-toolbar .fc-left {
        float: left;
        width: 46px;
        height: 46px;
        display: inline-block;
    }
    
    .fc-toolbar .fc-right {
        float: right;
        width: 46px;
        height: 46px;
        display: inline-block;
    }
    
    .fc-toolbar .fc-center {
        display: inline-block;
    }
    
    .fc-clear {
        clear: both;
    }

    .fc-state-default.fc-corner-left {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    
    .fc-state-default.fc-corner-right {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    .fc button {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        margin: 0;
        height: 46px !important;
        padding: 0 .6em;
        font-size: 1em;
        white-space: nowrap;
        cursor: pointer;
    }
    
    .fc-corner-right, .fc-corner-left {
        background-color: var(--rh-themecolor-primary) !important;
        width: 46px;
    }

    .fc-state-default {
        background-image: none !important;
        border: 0px;
    }

    .fc-icon-left-single-arrow:after, .fc-icon-right-single-arrow:after {
        font-weight: 700;
        top: -7%;
        position: relative;
    }

    
/*********** trackwork page calendar CSS End *********/

/************* For _grid.scss enhance START  ***************/
@media (min-width: 768px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    flex: unset;
}
}
/************* For _grid.scss enhance END  ***************/
.jc-common-header-notification-trigger { display: none !important; }

.jc-common-header-icon-btn:hover,
.jc-common-header-icon-btn button:hover,
.jc-common-accordion-toggle:hover,
.jc-common-accordion-toggle:focus {
    background: transparent !important;
}


/************** bottom stickybar CSS START *******************/

.stickyBar__content-cta {

  gap:8px!important;
}


.container__stickyBarBottom .book-btn {
    height: 44px !important;
}

@media only screen and (max-width: 767px) {
.container__stickyBarBottom .book-btn {
    height: 46px !important;
}

}

@media only screen and (max-width: 767px) {
.container__stickyBarBottom .panel.active, .stickyBar:not(.floating) .container__stickyBarBottom .panel {
height: fit-content!important;
}
}


@media only screen and (max-width: 767px) {
   .stickyBar  .e-win-btn img {
        width: 74px!important;
        height: 30px!important;
      
        max-width: inherit!important;
    }
}


.container__stickyBarBottom .e-win-btn {
   background-color: var(--rh-global-white);
   
    gap: 0rem;
    min-width: inherit!important;
    border-radius: 100px;
	width:auto!important;
	height:fit-content!important;
    /* width: 77px; */
    /* height: 39px; */
    display: flex;
    align-items: center;
	display: flex;
padding: var(--spacing-8, 8px) var(--spacing-8, 8px) var(--spacing-8, 8px) var(--spacing-12, 12px)!important;
}


.stickyBar .panel-content {
gap:8px;
padding:16px!important;
}

.stickyBar__text {
  padding:0px!important;
}


.swiper.stickyBar__swiperdesktop .swiper-slide, .swiper.stickyBar__swipermobile .swiper-slide {
    text-align: left!important;
    justify-content: left!important;
}

.stickyBar .panel-content {
    max-width: 1360px;
}


.stickyBar__raceday {
    color: #fff;
    line-height: 1;
}

span.stickyBar__info {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
}

.stickyBar__swiperdesktop .swiper-slide.swiper-slide-active {
    width: unset !important;
}

.stickyBar__content-cta {
    min-width: unset!important;
}

.stickyBar__text .mobile-br{
    display:inline;
    color: #fff;
    /*font-size: 14px;*/
    font-weight: normal;
    line-height: 1.3;
}

.swiper.stickyBar__swiperdesktop {
    margin-left: 0!important;
}


.swiper-pagination-horizontal.swiper-pagination-bullets span.swiper-pagination-bullet {
    width: 20px !important;
    height: 2px !important;
    border-radius: 0% !important;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
position: absolute!important;
    margin-top: 0px !important;
    justify-content: left !important;
    /*margin-left: 15px;*/
    gap: 2px !important;
     bottom: 0 !important;
    top: 0 !important;
}

    

@media (min-width: 1200px) {
    .swiper.stickyBar__swiperdesktop {
        /*max-width: unset !important;*/
    }
}

@media (min-width: 767px) {
.swiper.stickyBar__swiperdesktop {
    max-width: 550px !important;
}

.stickyBar__text {
    min-width: 550px;
}
}

@media only screen and (max-width: 800px) {
    .swiper.stickyBar__swiperdesktop {
        /*max-width: 450px;*/
    }
}

@media only screen and (max-width: 767px) {
    .container__stickyBarBottom .toggle-btn {

        top: 12px!important;
        
    }
}

@media only screen and (max-width: 767px) {
    .swiper.stickyBar__swiperdesktop {
        display: block!important;
    }

    .stickyBar .panel-content {
        flex-direction: row!important;
        justify-content: flex-start!important;
        padding: 16px!important;
    }

.stickyBar__content-cta {
        gap: 0.5rem!important;
    }

.stickyBar__content-cta.hidden-xs {
        display:none !important;
    }
 .stickyBar .panel.active .stickyBar__content-cta.hidden-xs {
        display: flex !important;
    }


    .stickyBar .mobile-cta-container {
        display: none!important;
    }

    .container__stickyBarBottom .toggle-btn.isClicked~.panel .stickyBar__swipermobile {
        display: none !important;
    }

    .stickyBar__swiperdesktop .swiper-slide.swiper-slide-active {
        width: 100% !important;
        line-height: 1;
    }

    .stickyBar:not(.floating) .swiper.stickyBar__swipermobile {
        display: none!important;
    }

    .stickyBar__text .mobile-br{
        display: inline-block;
    }

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
            top: 20px !important;
            margin-left: 0px;
        }

        .swiper.stickyBar__swiperdesktop .swiper-slide {
            width: 100% !important;
        }

}


@media only screen and (max-width: 800px) {
.stickyBar .swiper-wrapper {

     display: flex!important;
}

span.stickyBar__info {
    line-height: 10px;
}
}

@media only screen and (max-width: 767px) {
    .panel-content {
        align-items: unset!important;
    }
    
    .stickyBar__content-cta.hidden-xs {
        /*display: flex !important;
        visibility: hidden;*/
        display: none !important;
        align-items: start;
        /*margin-top: 40px;*/
        align-items: center;
    }

    .panel.active .stickyBar__content-cta.hidden-xs {
        /*visibility: visible;*/
 }
}

@media only screen and (max-width: 500px) {
span.stickyBar__info {
    font-size: 13px;
}
}



/************** bottom stickybar CSS END *******************/

/*****************highlight button CSS Start ****************/
#desktop-highlight-ver .featured-title {
    color: var(--rh-themecolor-primary) !important;
}

#desktop-highlight-ver .btn-secondary {
    color: var(--rh-themecolor-primary) !important;
    border: 2px solid var(--rh-themecolor-primary) !important;
}

#desktop-highlight-ver .news-item.active {
    background-color: var(--rh-themecolor-primary) !important;
}

#desktop-highlight-ver .news-item.active .news-title {
    color: #fff !important;
}

#desktop-highlight-ver .news-title {
    color: var(--rh-themecolor-primary) !important;
}

/***************** 2026 Additional CSS END ******************************/

/*****************hidden book now button in header CSS Start ****************/
a.jc-common-cta.jc-common-header-cta.is-mobile {
    display: none !important;
}

/*****************hidden book now button in header CSS End ****************/




@media only screen and (max-width: 767px) {
    .container__stickyBarBottom .panel {
        height: 0px!important;
    }
}


/***************** re-defined the container padding and width CSS Start ****************/
@media (min-width: 1512px) {
    .container {
        max-width: 1440px;
        padding: 0px 40px;
    }
}


 
 
@media (max-width: 1199px) {
    .container {
        max-width: 1120px;
        padding: 0px 16px;
    }

.container .container {
        
        padding: 0px ;
    }
}

.container.news, .container.Experts {
 margin: 0px auto;
 max-width: 800px !important;
}

/***************** re-defined the container padding and width CSS End ****************/

/************ Drawer and overlay CSS START *************/
table.cuisines-table tr td {
    border: 1px solid #ccc;
}

#Popupcrowdsafety ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.5em;
}
/************ Drawer and overlay CSS END *************/

/**************** News post gallery CSS Start ************/
.wpb_gallery_slides.wpb_image_grid .wpb_image_grid_ul .isotope-item {
    width: 32%!important;
    margin: 2px!important;
}

.prettyphoto.cboxElement:not(.imageThumb)::after {
    display:none;
}

*:lang(en-US) .mrd-news-page-sub-title h1 {
    padding-bottom: 15px;
    font-size: 36px;
    font-family: var(--rh-global-eng-font-family);
}

@media (max-width: 550px) {
    .wpb_gallery_slides.wpb_image_grid .wpb_image_grid_ul .isotope-item {
        width: 49% !important;
    }
}


/**************** News post gallery CSS End ************/


/***************** top watch CSS START *********/

@media (min-width: 1512px) {
    .category-media .container {
        padding: 0px 5px;
    }
}

@media (min-width: 768px) {
    .media-hl .col-sm-12 {
    width: 100%;
}
}

@media (min-width: 992px) {
    .media-hl .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 820px) {
    #media-content .col-md-4 {
        width: 33.33333333%;
    }
}

@media (max-width: 819px) {
#media-content .col-xs-12 {
    width: 100%;
}
}


/***************** top watch CSS START *********/

/***************** addon css *********/
@media only screen and (max-width: 374px) {
    #Column4Info .mrd-race-info-detail-top-group {
    grid-template-columns: repeat(1, 1fr)!important;
}
}
/***************** addon css *********/