.sharethis {
    float: right;
    position: relative;
}
body {
	background-color:white;
    background-repeat: repeat;
}
.top-header header {
    background-color: #001c38 !important;
}
.top-bar {
    display: none;
}

h1 a:hover{
	color: #051d35;
}

.name {
    padding: 3.5em 0 0 0;
}
.name a {
    color: #051d35;
}
.news a {
    color: #051d35;
}
.news a:hover {
    color: #ffa200;
}
.news .accordion a:hover {
    color: #fff;
}
.news small {
    font-size: 0.8em;
}
small.date {
    font-weight: 700;
    font-size: 0.975em;
    margin-bottom: 1.5em;
    padding-bottom: 2.5em;
}
.news .skinny-panel {
    margin-top: 1.5em;
    margin-left: 1.5em;
}
.skinny-panel {
    border-style: solid;
    border-width: 1px;
    border-color: #d9d9d9;
    margin-bottom: 0;
    padding: 0.625rem;
    background: #fff;
}
.name h1 {
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.6em;
    margin-top: 0.2rem;
    margin-bottom: 0;
    font-size: 2.125rem;
}
.small-name {
    font-size: 0.55em;
}
hr {
    position: relative;
    display: block;
    border: 0;
    top: 0.5em;
    height: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: solid 1px rgb(128, 128, 128);
    border-top: solid 1px rgba(128, 128, 128, 0.2);
    border-bottom: solid 1px rgb(128, 128, 128);
    border-bottom: solid 1px rgba(128, 128, 128, 0.2);
}
hr:before,
hr:after {
    content: '';
    position: absolute;
    top: -8px;
    display: block;
    width: 1px;
    height: 21px;
    background: rgb(128, 128, 128);
    background: rgba(128, 128, 128, 0.2);
}
hr:before {
    left: -1px;
}
hr:after {
    right: -1px;
}
hr {
    width: 85%;
    top: 0.5em;
    margin-bottom: 2em;
    border-bottom-color: #001d37;
    -webkit-box-shadow: inset 0 1px 0 0 #001d37;
    box-shadow: inset 0 1px 0 0 #001d37;
}
hr:before,
hr:after {
    background: #001d37;
}
.slider {
    position: relative;
    max-height: 375px;
    max-height: 27.5em;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}
.slider .row {
    padding: 0;
}
.slider-over {
    display: none
}
.common-slider-over {
    display: inline-block;
    position: absolute;
    bottom: 0;
    height: 100%;
    padding: 0 0.625em;
    background: white;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
}
.slider-over .name {
    padding: 1.55em 0 0 0;
}
.slider-over .name h1 {
    font-size: 2.35rem;
    text-transform: uppercase;
}
.slider-over h4 {
    font-weight: 700;
    text-transform: uppercase;
}
.common-slider-over {
    display: none;
    text-transform: uppercase;
}
.static-slider-legal {
    margin-top: -35em;
}
.small-panel-overlay {
    position: absolute;
    width: 100%;
    padding: 0.75em;
    top: 0;
    margin: 0;
    color: #fff;
    font-family: Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
    font-weight: 500;
    font-style: normal;
    text-rendering: optimizeLegibility;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 1.6875rem;
    z-index: 1;
    text-shadow: 1px 1px 1px #000;
}
.stackla-panel {
    background: #fff;
    margin-top: 0.625em;
    padding-bottom: 0.625em;
}
.stackla-header {
    background-color: #051d35;
    width: 100%;
    padding: 0.625em 1.25em;
}
.stackla-header h3 {
    color: white;
    margin: 0;
}
.panel-overlay {
    position: absolute;
    background-color: #051d35;
    width: 100%;
    height: 40%;
    padding: 0.05em;
    bottom: 0;
    margin: 0;
    color: #fff;
    font-family: Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.6875rem;
}
.panel-overlay h4 {
    text-align: center;
}
.countdown-panel {
    padding: 0.05em;
    color: #fff!important;
}
.countdown {
    margin-left: 0;
}
#container_jbeeb_5 {
    display: none;
}
#textbox_jbeeb_8 {
    display: none;
}
#textbox_jbeeb_12 {
    color: #fff!important;
}
#textbox_jbeeb_16 {
    color: #fff!important;
}
#textbox_jbeeb_20 {
    color: #fff!important;
}
#textbox_jbeeb_24 {
    color: #fff!important;
}
#textbox_jbeeb_28 {
    color: #fff!important;
}
/*.main{
			background-image: url('../img/main-bg.png');
			background-size: cover;
			background-position: center center;
			background-attachment: fixed;}*/

.nav-panel {
    padding: 0;
}
.nav-panel a {
    display: block;
    padding: 0.625em 2em;
    margin: 0 0 0.625em 0;
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.5);
    color: white;
    font-size: 0.95em;
    line-height: 1.6;
    list-style: none;
    list-style-position: outside;
}
.nav-panel a:hover {
    background-color: #ffa200;
    color: white;
}
.nav-panel .active {
    background-color: #051d35;
    color: white;
}
.nav-panel a {
    color: white;
}
/* 	Full Width Image Rotator */

.fwpanel {
    padding: 0;
    margin-bottom: 1.25rem;
    height: 250px;
}
.fwrotator {
    position: relative;
    margin: 3em auto 5em auto;
    width: 100%;
}
.fwrotator .fwcontent {
    position: absolute;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
    top: 0;
    opacity: 0;
    width: 100%;
}
.no-js .fwrotator .fwcontent {
    border-bottom: none;
}
.fwrotator .fwcontent.fwcurrent,
.no-js .fwrotator .fwcontent {
    position: relative;
    z-index: 100;
    pointer-events: auto;
    opacity: 1;
}
.fwrotator .fwcontent:before,
.fwrotator .fwcontent:after {
    content: " ";
    display: table;
}
.fwrotator .fwcontent:after {
    clear: both;
}
.fwprogress {
    position: absolute;
    background: #ffa200;
    height: 2px;
    width: 0%;
    top: 0;
    z-index: 0;
}
.fwrotator .fwcontent img {
    position: absolute;
    top: 0;
    display: inline-block;
    width: 100%;
    min-width: 420px;
    margin: 0;
    vertical-align: top;
}
/* 	Quote Rotator */

.qtpanel {
    padding: 0;
    margin-bottom: 1.25rem;
}
.qtrotator {
    position: relative;
    margin: 3em auto 5em auto;
    width: 100%;
    height: 6.667em;
}
.qtrotator .qtcontent {
    position: absolute;
    height: 6.667em;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
    top: 0;
    z-index: 0;
    opacity: 0;
    width: 100%;
}
.no-js .qtrotator .qtcontent {
    border-bottom: none;
}
.qtrotator .qtcontent.qtcurrent,
.no-js .qtrotator .qtcontent {
    position: relative;
    z-index: 100;
    pointer-events: auto;
    opacity: 1;
}
.qtrotator .qtcontent:before,
.qtrotator .qtcontent:after {
    content: " ";
    display: table;
}
.qtrotator .qtcontent:after {
    clear: both;
}
.qtprogress {
    position: absolute;
    background: #ffa200;
    height: 2px;
    width: 0%;
    top: 0;
    z-index: 1000;
}
.qtrotator blockquote {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 75%;
    height: 100%;
    border-left: 0px solid white;
}
.qtrotator blockquote p {
    font-size: 0.775em;
    color: #051d35;
    font-weight: 300;
    padding: 0.75em 1.25em 0 1.25em;
    margin: 0;
}
.qtrotator blockquote footer {
    color: #051d35;
    font-size: 0.65em;
    padding: 0 1.5em;
}
.qtrotator blockquote footer:before {
    content: '― ';
}
.qtrotator .qtcontent img {
    display: inline-block;
    height: 100%;
    margin: 0;
    vertical-align: top;
}
.qtrotator .qtcontent img.right {
    display: none;
}
.qtrotator .qtcontent .right {
    margin-right: 0;
}
.qtcontent footer {
    background-color: transparent;
}
/* info slider */

.infopanel {
    margin-bottom: 0;
    padding: 1.25em;
}
.infopanel h3 {
    text-align: center;
    text-transform: uppercase;
}
.inforotator {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 6.667em;
}
.inforotator .infocontent {
    position: absolute;
    height: 6.667em;
    top: 0;
    z-index: 0;
    opacity: 0;
    width: 100%;
    color: white;
}
.infocontent h4 {
    color: white;
    margin: 0!important;
}
.infocontent h5 {
    height: 55%;
    color: white;
    margin: 0!important;
}
.infocontent p {
    display: none;
}
.infocontent .button {
    color: white!important;
}
.no-js .inforotator .infocontent {
    border-bottom: none;
}
.inforotator .infocontent.infocurrent,
.no-js .inforotator .infocontent {
    position: relative;
    z-index: 100;
    pointer-events: auto;
    opacity: 1;
}
.inforotator .infocontent:before,
.inforotator .infocontent:after {
    content: " ";
    display: table;
}
.inforotator .infocontent:after {
    clear: both;
}
.infoprogress {
    position: absolute;
    height: 2px;
    width: 0%;
    top: 0;
    z-index: 1000;
}
.inforotator .infocontent img {
    display: inline-block;
    height: 100%;
    margin: 0;
    vertical-align: top;
}
.inforotator .infocontent .right {
    margin-right: 0;
}
.fwrotator {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 6.667em;
}
.fwrotator .fwcontent {
    position: relative;
    top: 0;
    width: 100%;
    color: white;
}
/* Caption boxes */

.grid {
    max-width: 1300px;
    margin: 0 auto;
    list-style: none;
    text-align: center;
}
.grid figure {
    margin: 0;
    position: relative;
}
.grid figure img {
    display: block;
    position: relative;
}
.grid figcaption {
    position: absolute;
    bottom: 0;
    background: #051d35;
    background-color: rgb(5, 29, 53);
    background-color: rgba(5, 29, 53, 0.75);
    color: #ed4e6e;
}
.grid figcaption h3 {
    margin: 0;
    padding: 0.5em 0 0 0;
    color: #fff;
    font-size: 1.25em;
    text-transform: uppercase;
}
.grid figcaption span:before {
    content: 'by ';
}
.grid figcaption a {
    text-align: center;
    padding: 5px 10px;
    display: inline-block;
    background: #ffa200;
    -webkit-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
    color: #fff;
}
.grid figcaption a:hover {
    background: #051d35;
}
.grid figcaption a.button.small {
    opacity: 0;
}
/* Individual Caption Styles */

/* Caption Style  */

.cs-style li {} .cs-style figure {
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.cs-style figure > div {
    overflow: hidden;
}
.cs-style figure img {
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
}
.no-touch .cs-style figure:hover img,
.cs-style figure.cs-hover img {
    /* -webkit-transform: translateX(25%);
				-moz-transform: translateX(25%);
				-ms-transform: translateX(25%);
				transform: translateX(25%); */
}
.cs-style figure:hover .small-panel-overlay {
    display: none;
}
.cs-style figcaption {
    height: 30%;
    width: 100%;
    padding: 7.5px;
    opacity: 1;
    bottom: 0;
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}
.wide figcaption {
    height: 50%;
    width: 100%;
    padding: 17.5px;
    opacity: 1;
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s
}
.wide figcaption h3 {
    padding: 0;
    line-height: 1.25em;
    font-size: 1em!important;
}
.no-touch .cs-style figure:hover.cs-style p,
.cs-style figure.cs-hover.cs-style p {
    opacity: 1;
    -webkit-transition: opacity 0.4s;
    transition: opacity 0.4s;
}
.no-touch .cs-style figure:hover a.button.small,
.cs-style figure.cs-hover a.button.small {
    opacity: 1;
    -webkit-transition-delay: 0.4s, 0.4s;
    transition-delay: 0.4s, 0.4s;
    -webkit-transition: height 0.6s, opacity 0.6s;
    transition: height 0.6s, opacity 0.6s;
}
.no-touch .cs-style figure:hover figcaption,
.cs-style figure.cs-hover figcaption {
    height: 100%;
    width: 100%;
    opacity: 1;
    -webkit-transition: height 0.4s, opacity 0.1s;
    transition: height 0.4s, opacity 0.1s;
}
.cs-style figcaption a {
    position: absolute;
    bottom: 1.75rem;
    width: 130px;
    left: 50%;
    margin-left: -65px;
    margin-bottom: 0;
}
.wide figcaption a {
    position: absolute;
    bottom: 1rem;
    width: 130px;
    left: 50%;
    margin-left: -65px;
    margin-bottom: 0;
}
/* nav boxes */

.array {
    padding: 0;
    overflow: hidden;
    line-height: 1.4;
}
.cs-style p {
    padding-top: 1em;
    opacity: 1;
    color: #fff;
}
.array p {
    font-size: 0.75rem;
    line-height: 1.15;
}
.array .button.small {
    padding-top: 0.875rem;
    padding-right: 1.25rem;
    padding-bottom: 0.9375rem;
    padding-left: 1.25rem;
    font-size: 0.65rem;
}
.tickets {
    /* 		background-image: url('../img/tickets.png'); */
    overflow: hidden;
    padding: 0;
}
.tickets img {} .array,
.tickets,
.races {
    height: 205px;
    margin-bottom: 0.625em;
    overflow: hidden;
}
.array figure,
.tickets figure,
.races figure {
    height: 205px;
}
.array img,
.tickets img,
.races img {
    max-width: 100%;
}
.tickets img {
    margin-top: 0;
}
.races {
    position: relative;
    background-image: url('../img/races-overlay.png')!important;
    background-position: -50% 50%;
    padding: 0;
}
.races.callout.panel {
    padding: 0;
}
.hospitality {
    overflow: hidden;
    padding: 0;
}
.royal-randwick {
    overflow: hidden;
    padding: 0;
}
.race-conditions {
    overflow: hidden;
    padding: 0;
}
.trip {
    overflow: hidden;
    padding: 0;
}
.hospitality,
.royal-randwick,
.race-conditions,
.trip {
    margin-bottom: 0.625em;
}
.hospitality img,
.royal-randwick img,
.race-conditions img,
.trip img {
    width: 100%;
}
.main {
    padding-bottom: 0.625em;
}
.footer footer {
    height: auto;
    background-color: #001c38;
    color: white;
}
.footer footer a {
    color: white;
    text-align: center;
}
.footer footer a:hover {
    color: #ffa200;
}
.footer footer .name a:hover {
    color: white;
}
.footer .footer-logos {
    padding: 0;
}
.footer-logos .small-12 {
    width: 100%;
}
.footer-logos .small-4 {
    width: 33.3333%;
}
.footer .footer-logos a {
    margin: 0;
}
.footer .logos {
    height: 27px;
}
.footer .logos-big {
    margin-top: -5px;
}
.footer footer .terms {
    padding: 2em 0 0 0;
    font-size: 0.8em;
    text-align: center;
}
.footer .name {
    padding: 0 0 1.333em 0;
}
.footer footer .name h1 {
    width: 100%;
    font-size: 2rem;
}
.search,
.search-btn {
    padding: 0;
    display: none;
}
.search-btn img {
    margin-top: -5px;
}
.search-btn a:hover {
    background: #ffa200;
}
/* Common Pages */

.winner-panel {
    padding: 0.625em!important;
    margin: 0 0 0.25em 0;
    color: white!important;
}
/* Program Panel */

.program h2 {
    border-bottom: 3px solid #b9bbba;
    margin-bottom: 1.25em;
}
.program-panel {
    height: 220px;
    position: relative;
    padding: 1.25rem;
    margin: 0 0 1.25em 0;
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.5);
    color: white;
    cursor: pointer;
}
.program-panel h4,
.program-panel h5 {
    color: white;
    font-weight: bold;
}
.program-panel:hover {
    text-shadow: 1px 1px 1px #000;
}
.program-panel:hover h4 {
    font-size: 2.5rem;
}
.program-panel:hover p {
    display: none;
}
.info-icon {
    position: absolute;
    padding: 0.625rem;
    bottom: 0;
    right: 0;
    background-color: #ffa200;
    color: white;
}
.hidden-panel {
    position: relative;
    padding: 0.625rem;
}
.hidden-panel ul {
    list-style: circle inside none;
}
.hidden-panel li {
    padding: 0.625em;
    border-bottom: 1px solid #666666
}
.hidden-panel h4 {
    font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
    font-weight: normal;
    color: #ffa200;
}
.hidden-panel h3 {
    font-weight: bold;
}
.prize-money {
    padding: 0.625rem;
    margin: 0 0 0.25em 0;
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.5);
    color: white;
    font-weight: bold;
}
.program-hidden {
    padding: 0.625rem;
    background: white;
    color: #051d35;
    z-index: 1;
    -webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
}
.program-hidden-ie {
    display: none;
}
.program-hidden {
    position: absolute;
    top: 40%;
    Left: 12.5%;
    display: none;
}
.program-hidden .close {
    font-weight: 700;
    font-size: 1.5em;
}
.doncaster-p:hover {
    background-image: url('../img/doncaster-mile-overlay.png');
}
.dtjss-p:hover {
    background-image: url('../img/tj-smith-overlay.png');
}
.bmwad-p:hover {
    background-image: url('../img/australian-derby-overlay.png');
}
.isps-p:hover {
    background-image: url('../img/sires-produce-overlay.png');
}
.qes-p:hover {
    background-image: url('../img/queen-elizabeth-stakes-overlay.png');
}
.ssc-p:hover {
    background-image: url('../img/sydney-cup-overlay.png');
}
.ao-p:hover {
    background-image: url('../img/australian-oaks-overlay.png');
}
.qotts-p:hover {
    background-image: url('../img/queen-of-the-turf-overlay.png');
}
.rss-p:hover {
    background-image: url('../img/royal-sovereign-overlay.png');
}
.rrstakes-p:hover {
    background-image: url('../img/royal-randwick-stakes-overlay.png');
}
.doncaster {
    margin-top: 150px;
}
.dtjss {
    margin-top: 375px;
}
.bmwad {
    margin-top: 650px;
}
.isps {
    margin-top: 850px;
}
.qes {
    margin-top: 550px;
}
.ssc {
    margin-top: 800px;
}
.ao {
    margin-top: 1050px;
}
.qotts {
    margin-top: 1250px;
}
.rss {
    margin-top: 1450px;
}
.rrstakes {
    margin-top: 1650px;
}
.rrstakes-p:hover p {
    display: none;
}
.program-hidden.active-p {
    z-index: 999;
}
.program-hidden.hidden {
    display: none;
}
.second-day {
    top: 675px;
}
/* calendar Wrap Panel */

.calendar-wrap h2 {
    border-bottom: 3px solid #b9bbba;
    margin-bottom: 1.25em;
}
.calendar-wrap {
    margin-bottom: 0.625em;
}
.calendar-columns {
    position: relative;
    padding-left: 0.125em;
    padding-right: 0;
    float: left;
}
.calendar-panel {
    position: relative;
    padding: 1.25rem;
    height: 90px;
    margin: 0 0 0.125em 0;
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.5);
    color: white;
    cursor: pointer;
}
.calendar-panel:hover {
    background-color: #ffa200;
}
.small-calendar {
    position: relative;
    width: 100%;
}
.small-day {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-weight: 300;
    color: white;
}
.large-day {
    display: none;
}
.small-info {
    font-weight: 300;
}
.no-day {
    cursor: default;
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.40);
}
.no-day:hover {
    cursor: default;
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.40);
}
.calendar-date {
    position: absolute;
    top: 5px;
    left: 5px;
    color: white;
}
.no-hover strong {
    margin-bottom: 5px;
}
.tabs dd > a {
    padding: 0.625rem 0.625rem;
}
.tabs-content .content {
    background-color: #051b32;
    background-color: rgba(5, 27, 50, 0.5);
}
.tabs-content .panel.callout {
    margin-bottom: 0;
}
.modal-video iframe {
    width: 100%;
    height: 300px;
}
.year {
    display: none;
}
.ie-link {
    display: none;
}





/* min-width: 40.063em = 600px */

@media only screen and (min-width: 40.063em) {
    

    
    
    
    .name {
        padding: 0.625em 0 0 1.875em;
    }
    .name h1 {
        font-size: 3.175rem;
    }
    .top-bar {
        height: 80px;
        overflow: hidden;
    }
    .slider {
        max-height: 26.5em;
    }
    .slider-over {
        display: inline-block;
        position: absolute;
        bottom: 0;
        height: 85%;
        padding: 0 0.625em;
        background: white;
        background-color: rgb(255, 255, 255);
        background-color: rgba(255, 255, 255, 0.75);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
        z-index: 800;
        -webkit-transition: -webkit-transform 0.4s;
        transition: transform 0.4s;
    }
    .common-slider-over {
        display: inline-block;
        position: absolute;
        bottom: 0;
        height: 100%;
        padding: 0 0.625em;
        background: white;
        background-color: rgb(255, 255, 255);
        background-color: rgba(255, 255, 255, 0.75);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
    }
    .fwpanel {
        height: 375px;
    }
    .qtrotator {
        height: 4.800em;
    }
    .qtrotator blockquote {
        width: 60%;
    }
    .qtrotator .qtcontent {
        height: 4.800em;
    }
    .qtrotator blockquote {
        width: 65%;
        font-size: 1em;
    }
    .qtrotator .qtcontent img.right {
        display: inline-block;
    }
    .grid figcaption h3 {
        font-size: 1.25em;
    }
    .cs-style figcaption {
        padding: 20.5px;
    }
    .wide figcaption {
        height: 40%;
    }
    .wide figcaption h3 {
        line-height: 1.125em;
        font-size: 1.125em!important;
    }
    .infocontent h5 {
        height: 50%;
    }
    .panel-overlay {
        height: 30%;
    }
    .array,
    .tickets,
    .races {
        height: 270px;
    }
    .array figure,
    .tickets figure,
    .races figure {
        height: 270px;
    }
    .array img {
        max-width: 400px;
        height: 300px;
    }
    .tickets img,
    .races img {
        max-width: 300px;
    }
    .races {
        background-image: url('../img/races-overlay-small.png')!important;
    }
    .cs-style p {
        padding-top: 1.75em;
        opacity: 1;
        color: #fff;
    }
    .array p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .infocontent p {
        display: block;
        font-size: 0.7em;
        line-height: 1.2em;
        margin: 0!important;
        text-align: left!important;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        width: 100%;
        overflow: hidden;
    }
    .footer footer {
        height: 29.25em;
		clear:both;
    }
    .footer footer .name h1 {
        width: 360px;
        font-size: 3.175rem;
    }
    .footer footer a {
        color: white;
        text-align: left;
    }
    .arrow-icon,
    .icon {
        
        margin-right: 0.625em;
    }
    .small-calendar {
        position: relative;
        width: 50%;
    }
    .program-hidden {
        position: absolute;
        top: 0;
        Left: 0;
        display: none;
    }
    .doncaster {
        margin-top: 0;
    }
    .dtjss {
        margin-top: 175px;
    }
    .bmwad {
        margin-top: 350px;
    }
    .isps {
        margin-top: 550px;
    }
    .qes {
        margin-top: 1100px;
    }
    .ssc {
        margin-top: 1300px;
    }
    .ao {
        margin-top: 1600px;
    }
    .qotts {
        margin-top: 1800px;
    }
    .rss {
        margin-top: 2000px;
    }
    .rrstakes {
        margin-top: 2250px;
    }
    .top-arrow {
        background: #ffffff;
        border: 2px solid #ffffff;
        -webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
    }
    .top-arrow:after,
    .top-arrow:before {
        left: 100%;
        top: 20%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }
    .top-arrow:after {
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #ffffff;
        border-width: 20px;
        margin-top: -20px;
    }
    .top-arrow:before {
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #ffffff;
        border-width: 23px;
        margin-top: -23px;
    }
    .middle-arrow {
        background: #ffffff;
        border: 2px solid #ffffff;
    }
    .middle-arrow:after,
    .middle-arrow:before {
        left: 100%;
        top: 20%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }
    .middle-arrow:after {
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #ffffff;
        border-width: 20px;
        margin-top: -20px;
    }
    .middle-arrow:before {
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #ffffff;
        border-width: 23px;
        margin-top: -23px;
    }
    .bottom-arrow {
        position: relative;
        background: #ffffff;
        border: 2px solid #ffffff;
    }
    .bottom-arrow:after,
    .bottom-arrow:before {
        left: 100%;
        top: 20%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }
    .bottom-arrow:after {
        border-color: transparent;
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #ffffff;
        border-width: 20px;
        margin-top: -20px;
    }
    .bottom-arrow:before {
        border-color: transparent;
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #ffffff;
        border-width: 23px;
        margin-top: -23px;
    }
    .countdown {
        margin-left: -5.5%;
    }
    .wide figcaption h3 {
        font-size: 1em!important;
    }
    .array p {
        padding-top: 2em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        line-height: 16px;
        /* fallback */
        max-height: 130px;
        /* fallback */
        -webkit-line-clamp: 5;
        /* number of lines to show */
        -webkit-box-orient: vertical;
    }
    .footer-logos .medium-6 {
        width: 50%;
    }
    .footer-logos .medium-2 {
        width: 16.66667%;
    }
    .footer .footer-logos {
        padding: 2em 0 0 0;
    }
    .tabs dd > a {
        padding: 0.625rem 3.25rem;
    }
    .modal-video iframe {
        width: 100%;
        height: 400px;
    }
}
/* min-width: 64.063em = 960px */

@media only screen and (min-width: 64.063em) {
    .name {
        padding: 1.25em 0 1.25em 0;
    }
    nav.tab-bar {
        display: none;
    }
    .slider-over {
        margin-left: 0.625em;
        min-width: 300px;
        max-width: 300px;
        height: 65%;
    }
    .slider.common {
        height: 320px;
    }
    .top-bar {
        overflow: visible;
        display: block;
        z-index: 999;
    }
    .fwslider nav span {
        top: 40%;
    }
    .common-slider-over {
        margin-left: 0.625em;
        min-width: 300px;
        max-width: 300px;
    }
    .common-slider-over .name {
        padding-top: 60%;
        padding-bottom: 0;
    }
    .nav-panel {
        padding: 0 0.625em;
    }
    .qtrotator {
        height: 4.800em;
    }
    .qtrotator .qtcontent {
        height: 4.800em;
    }
    .qtrotator blockquote {
        font-size: 1.125em;
        width: 75%;
    }
    .array p {
        padding-top: 1.75em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        line-height: 16px;
        /* fallback */
        max-height: 150px;
        /* fallback */
        -webkit-line-clamp: 8;
        /* number of lines to show */
        -webkit-box-orient: vertical;
    }
    .array,
    .tickets,
    .races {
        height: 290px;
    }
    .array figure,
    .tickets figure,
    .races figure {
        height: 290px;
    }
    .array img,
    .races img {
        height: 290px;
        width: auto;
    }
    .tickets img {
        height: 390px;
        width: auto;
        margin-top: -55px;
    }
    .fwcontent.first > img {
        margin-top: -25%;
    }
    .fwcontent.second > img {
        margin-top: -17.5%;
    }
    .fwcontent.third > img {
        margin-top: -17.5%;
    }
    .fwcontent.fourth > img {
        margin-top: -17.5%;
    }
    .program-panel {
        height: 300px;
    }
    .calendar-panel {
        height: 100px;
        padding: 1.75rem 0.5rem 0 0.5rem;
    }
    .large-calendar {
        position: relative;
        width: 14.2857143%;
    }
    .small-day,
    .small-logo {
        display: none;
    }
    .large-day {
        display: inline-block;
    }
    .large-info {
        font-size: 0.95rem;
    }
    .doncaster,
    .dtjss,
    .bmwad,
    .isps {
        margin-top: 0;
    }
    .qes,
    .ssc {
        margin-top: 680px;
    }
    .ao,
    .qotts {
        margin-top: 850px;
    }
    .rss,
    .rrstakes {
        margin-top: 950px;
    }
    .top-arrow:after,
    .top-arrow:before {
        left: 100%;
        top: 25%;
    }
    .middle-arrow:after,
    .middle-arrow:before {
        left: 100%;
        top: 50%;
    }
    .bottom-arrow:after,
    .bottom-arrow:before {
        left: 100%;
        top: 85%;
    }
    .grid figcaption h3 {
        font-size: 1.5em;
    }
    .countdown {
        margin-left: 0;
    }
    .cs-style figcaption {
        padding: 22.5px;
    }
    .wide figcaption {
        height: 30%;
    }
    .wide figcaption h3 {
        font-size: 1.125em!important;
    }
    .footer-logos .large-6 {
        width: 41%;
    }
    .footer-logos .large-2 {
        width: 19.66667%;
    }
    .modal-video iframe {
        width: 100%;
        height: 550px;
    }
    .day-twelve-p {
        background-image: url('../img/day-one.png');
        color: #ffa200;
    }
    .day-twelve-p .large-info {
        font-weight: 700;
        text-shadow: 2px 2px 2px #051d35;
    }
    .day-twelve-p .calendar-date {
        font-weight: 700;
        text-shadow: 2px 2px 2px #051d35;
    }
    .day-twelve-p:hover {
        background-image: url('../img/day-one-hover.png');
        color: white;
    }
    .day-nineteen-p {
        background-image: url('../img/day-two.png');
        color: #ffa200;
    }
    .day-nineteen-p .large-info {
        font-weight: 700;
        text-shadow: 2px 2px 2px #051d35;
    }
    .day-nineteen-p .calendar-date {
        color: white;
        font-weight: 700;
        text-shadow: 2px 2px 2px #051d35;
    }
    .day-nineteen-p:hover {
        background-image: url('../img/day-two-hover.png');
        color: white;
    }
    img.medium {
        width: 80%;
        margin-left: 12.5%;
    }
}
/* min-width: 90.063em = 1350px */

@media only screen and (min-width: 90.063em) {
    .slider-over {
        margin-left: 0.625em;
        min-width: 300px;
        max-width: 300px;
        height: 60%;
    }
    .slider-over .name h1 {
        font-size: 2rem;
    }
    .fwcontent.first > img {
        margin-top: -25%;
    }
    .fwcontent.second > img {
        margin-top: -17.5%;
    }
    .fwcontent.third > img {
        margin-top: -17.5%;
    }
    .fwcontent.fourth > img {
        margin-top: -17.5%;
    }
    .common-slider-over {
        margin-left: 0.625em;
        min-width: 300px;
        max-width: 300px;
    }
    .qtrotator {
        height: 4.800em;
    }
    .qtrotator .qtcontent {
        height: 4.800em;
    }
    .qtrotator blockquote {
        width: 80%;
        font-size: 1.225em;
    }
    .array figure,
    .tickets figure,
    .races figure {
        height: 295px;
    }
    .grid figcaption a.button.small,
    .wide .button.small {
        padding: 0.875rem 1.5rem 0.9375rem;
        font-size: 0.65rem;
    }
}
/* min-width: 120.063em = 1800px */

@media only screen and (min-width: 120.063em) {}@media only screen and (max-width: 600px) {
    /* Force table to not be like tables anymore */
    .responsive table,
    .responsive thead,
    .responsive tbody,
    .responsive th,
    .responsive td,
    .responsive tr {
        display: block;
        min-width: 100%;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    .responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .responsive tr {
        border: 1px solid #ccc;
    }
    .responsive td {
        /* Behave  like a "row" */
        min-width: 100%;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 15%;
        padding-top: 15%;
        white-space: normal;
        text-align: left;
    }
    .responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 10%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #051d35;
    }
    /*
	Label the data
	*/
    .responsive td:before {
        content: attr(data-title);
    }
    .program-panel:hover > h5 {
        display: none;
    }
    .program-panel:hover h4 {
        font-size: 2rem;
    }
    .hidden-panel li {
        font-size: 0.85em;
    }
    .program-hidden.small-9 {
        width: 90%;
    }
    .program-hidden {
        left: 5%;
    }
    .cs-style figcaption p {
        padding-top: 2.25em;
    }
    .arrow-icon {
        display: none;
    }
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-device-width: 800px) {
    #textbox_jbeeb_12 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_16 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_20 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_24 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_28 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    .countdown {
        margin-left: 6%;
    }
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1280px) {
    #textbox_jbeeb_12 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_16 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_20 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_24 {
        font-size: 9px!important;
        /*        display: none;*/
    }
    #textbox_jbeeb_28 {
        font-size: 9px!important;
        /*
        display: none;
*/
    }
    .countdown {
        margin-left: 6%;
    }
}
@media only screen and (-webkit-min-device-pixel-ratio: 3) and (max-device-width: 1920px) {
    #textbox_jbeeb_12 {
        font-size: 9px!important;
        /*
        display: none;
*/
    }
    #textbox_jbeeb_16 {
        font-size: 9px!important;
        /*
        display: none;
*/
    }
    #textbox_jbeeb_20 {
        font-size: 9px!important;
        /*
        display: none;
*/
    }
    #textbox_jbeeb_24 {
        font-size: 9px!important;
        /*
        display: none;
*/
    }
    #textbox_jbeeb_28 {
        font-size: 9px!important;
        /*
        display: none;
*/
    }
    .countdown {
        margin-left: 6%;
    }
}


.imagesize{
	width:200px;

}



.imagesizefooter{
	width:100px;
	margin: auto;
    display: block;
}

@media screen and (max-width: 1024px) {
.imagesizefooter{
	margin-top:20px;
}

}

tbody{
	background-color:#ededed;
	
}


/*=================Twitter feed ==================*/

iframe[id^='twitter-widget-'] {
width: 100% !important;

}

@media screen and (max-width: 320px) {
iframe[id^='twitter-widget-'] {
width: 320px !important;

}
}






/*=================================================================*/


/*=================Hidding Nes South Wales Title ==================*/
h2.first{
	
	display:none;
}
/*=================================================================*/

.ContactUsP{
	width:100%;
}



/*=================Back To Top style ==================*/
@media screen and (min-width: 1024px) {
#back-top {
	margin-left: 50% !important;
}
}

#back-top {
	position: fixed;
	bottom: 10px;
	margin-left: 33%;
}
#back-top a {
	width: 108px;
	display: block;
	font-size: 11px;
	font-family: 'Montserrat';
	text-transform: uppercase;
	text-decoration: none;
	color: #00abec;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
	text-align: -webkit-center;
}
#back-top a:hover {
	color: #00abec;
}
/* arrow icon (span tag) */
#back-top span {
	width: 50px;
	height: 50px;
	display: block;
	margin-bottom: 7px;
	background: #00abec url(../img/BackToTop/up-arrow2.png) no-repeat center center;
	background-size: 50%;
	/* rounded corners */
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover span {
	background-color: #00abec;
}


/* Landing Page */
.top-headerLanding header {
	background-color: #001c38;
	margin-top:3%;
}

.main-sectionLanding {
	background-color: #001c38;
}

.TitleLanding {
  color:#00abec;
  line-height:150%;
  font-size: larger;
  text-align: center;
  font-weight: 600;
	
}

.LandingStyle{
	background-color: #001c38;
}


@media screen and (max-width: 320px) {

	

	
	div.left1 p {
		font-size:13px;
		
	}
	
		div.left2 p {
		font-size:13px;
		
	}
	
	
		div.left1 img {
		width:50%;
		
	}
	
		div.left2 img {
		width:50%;
		
	}


}


.LandingTable{
	background-color: #00abec;
	border-color: #00abec;
}


.Iconwrapper{
   position: relative;
   float: left;
   width: 100.00%;
   background-color: #00abec;
   text-align: center;
}

.MainIconwrapper{
	  padding-top: 2%;

}

.left1{
  position: relative;
  float: left;
  width: 49.50%;
  height: 50%;
  background-color: white;
  color: #00abec;
  margin-right: 1%;
}
.left2{
  position: relative;
  float: left;
  /* left: 1%; */
  width: 49.5%;
  height: 50%;
  background-color: white;
  color: #00abec;
}

.left3{
  position: relative;
  float: left;
  width: 49.50%;
  height: 50%;
  background-color: white;
  color: #00abec;
  margin-right: 1%;
  margin-top: 1%;
}
.left4{
  position: relative;
  float: left;
  /* left: 1%; */
  width: 49.5%;
  height: 50%;
  background-color: white;
  color: #00abec;
  margin-top: 1%;
}

.liveraces
{
  background-color: #00abec;
  text-shadow: .5px 2px #D8AB2F;
  line-height: 25px;
  width: 115px;
  height: 20%;
  border-radius: 50%;
  margin-left: 23%;
  margin-top: 61px;
  position: absolute;
}


@media all and (max-width: 373px) and (min-width: 321px) {
	.left1{
		height:220px;
		
	}
	
	.left2{
		height:220px;
	}
}

@media screen and (max-width: 303px){
	.left1{
		height:133px;
		
	}
	
	.left2{
		height:133px;
	}
}

	div.left1 a {
		color:#00abec ;
		
	}
	
		div.left2 a {
		color:#00abec ;
		
	}
	
.LiveWebsite{
	margin-top:10px;
	color:White;  
	text-align: center;	
}

.LiveWebsite a{
	margin-top:10px;
	color:White;  
	text-align: center;	
}
	
	
.Smallresponsivemenu
{
	color: #00abec;
    margin-left: 17px;
    font-size: 1em;
	
}

.Smallresponsivemenu2
{
	color: #00abec;
    margin-left: 17px;
    font-size: 1em;
	
}


.trackinghidden{
display:none;	
}

.latestNewsdiviframe
{
    font-family: 'Montserrat';
    background-color: white;
    width: 95%;
    height:100%;
    display: table;
    margin: auto;
    border-radius: 5px;
    overflow:auto;
    resize:both;
 
}

.latestNewsdiviframe iframe
{
   
    font-family: 'Montserrat';
    width:100%; 
    height:98%;
    border:none;
    min-height: 320px;
  
     
}



.latestNewsdiviframe a
{
    color:#00abec;
    text-decoration:none;
    font-size: 1em;
        font-family: 'Montserrat';
       
}

.latestnewsdiv
{
    text-align: center;
    color: #00abec;
    font-weight: bold;
    font-size: 1.5em;  
        font-family: 'Montserrat';
    
}

ul.ulimagelistimage
{   
  list-style-image: url('../images/BluePoint.png');  
  margin: 0px;
  padding: 3%;
}



.morenewslink
{
    text-align: center;
    margin: 2% 0%;
  
    
}

.morenewslink a
{
    text-align: center;
    color: #00abec;
    font-weight: bold;
    font-size: 1em;  
    text-decoration:none;   
    
}


.jointheconversation
{
    text-align: center;
    color: white;
    font-weight: bold;
    margin:2% 0;
}

.jointheconversation img
{

    margin:0 0 0 2%;
}

.ulimagelistimage p
{
    
 margin:2% 0;   
}



/* ===================Images for the Cahmpionships Ad============================================*/

@media only screen and (max-width: 320px) 
{
        .thechampionships {
    background: url('../design/images/Champs_Mobile Banner_300x60.jpg');
    background-repeat:no-repeat;
    background-position:center;
    }
    
}



@media only screen and (max-width: 727px) 
{
        .thechampionships {
    background: url('../design/images/Champs_Desktop Banner2_520x150.jpg');
    background-repeat:no-repeat;
    background-position:center;      
    }
    
}



@media only screen and (min-width: 728px) 
{
    .thechampionships {
    background: url('../design/images/Champs_Tablet Banner_728x110.jpg');
    background-repeat:no-repeat;
    background-position:center;             
    }
    
}


/* ===================end Images for the Cahmpionships Ad============================================*/
