.body, body {
	background-color: #f6f6f6;
	font-family: "Montserrat", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	color: #161616;
	font-weight: 600;
	margin-bottom: 20px;
	font-family: "Montserrat", sans-serif;
	text-transform: uppercase;
}

h3 {
    font-size: 22px;
}

p{
	color: #161616;
	font-family: "Montserrat", sans-serif;
}

hr {
	background: #f6a007;  
	margin: 70px 0;
}

a, a:hover {
	color: #161616;
	text-decoration: none !important;
}

.header-body.border-top-0.bg-dark.box-shadow-none.overflow-visible {
    background: #f6f6f6 !important;
}

.nav-link, .nav-link:hover, .nav-link:focus {
    color: #161616;
    font-size: 16px;
}

@media only screen and (max-width: 991px){
	.table {
		width: 800px
	}
}

@media (min-width: 992px){
	#header .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a, #header .header-nav.header-nav-line.header-nav-light-text nav > ul > li > a {
    	color: #161616;
		font-size: 15px;
	}
}

@media (min-width: 992px){
	#header .header-nav.header-nav-links nav > ul:not(:hover) > li > a.active {
		background: linear-gradient(to right, #f6a007, #e1ac21, #ffe349) !important;
    	-webkit-background-clip: text !important;
    	-webkit-text-fill-color: transparent;
	}
	
	 #header .header-nav.header-nav-links nav > ul li:hover > a {
		 background: linear-gradient(to right, #f6a007, #e1ac21, #ffe349) !important;
		 -webkit-background-clip: text !important;
		 -webkit-text-fill-color: transparent;
		 border: 0;
	}
	
	.desktop-no {
		display: none;
	}
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #fff;
}

.color-linear {
	background: linear-gradient(90deg,#f6a007,#e1ac21 51%,#ffe349) var(--x,0)/200%;
    -webkit-background-clip: text!important;
    -webkit-text-fill-color: transparent!important;
    background-clip: text!important;
    text-fill-color: transparent;
}

.btn-search-horse, .btn-search-horse:hover, .btn-search-horse:focus  {
	border: 0;
    background: #fff;
	color: #161616;
	width: 100%;
	text-align: left;
}

.btn-search-horse i {
	float: right;
	color: #161616;
	line-height: 1.5;
}

.btn-primary {
	background: linear-gradient(90deg,#f6a007,#e1ac21 51%,#ffe349) var(--x,0)/200%;
	border: 0;
}

.btn-search {
	background: none;
    border: 1px solid #f6a007;
	color: #161616;
	width: 100%;
}

.event-block {
	display: flex;
}

.event-block img {
	width: 30px;
	margin-right: 10px;
}

.eb-cty {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 0;
}

.eb-date {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 0;
	margin-right: 20px;
	margin-left: 20px;
}

.race-card:hover {
    transform: scale(1.05);
    transition-duration: 0.3s;
}

.race-event {
	background: rgba(0,0,0,0.05);
    padding: 3px 10px;
    color: #fff;
    font-weight: 600;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
}

.race-event a {
	color: #161616;
}

.race-event-detail {
	padding: 3px 10px;
    background: #fff;
    border-top: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
	text-align: center;
}

.race-event-detail p {
	margin-bottom: 0;
	text-align: center;
}

.race-event-detail img {
	width: 60px;
}

.completed, .upcoming {
	font-weight: 700;
	margin-bottom: 6.5px !important;
}

/* Tabs */
.nav-tabs {
    margin-bottom: 20px;
    padding: 0;
    border-bottom-color: transparent;
}

li.nav-item {
    padding-right: 10px;
}

.rc-tab {
	background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    color: #161616;
}

.rc-tab.active, .rc-tab:hover, .nav > li > a:hover, .nav > li > a:focus {
    background: #fff;
    color: #e1ac21;
    font-weight: 900;
    border: 1px solid #fff;
}

.tab-content {
    box-shadow: none;
    background-color: transparent;
    border: none;
	padding: 0;
}

@media only screen and (max-width: 991px){
	.race_card_tab_btn {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
	}
}



.owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"] {
    background-color: #f6a007 !important;
    border-color: #f6a007 !important;
    color: #FFF;
}

.news-box img {
	border-radius: 5px;
	position: relative;
}

.news-tag {
	position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(90deg,#f6a007,#e1ac21 51%,#ffe349);
    padding: 2px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
	border-radius: 5px;
}

.news-entry {
    padding-top: 10px;
}

.news-entry h4 {
    margin-bottom: 0;
	word-wrap: break-word;
}

.race-guide {
    border: 0; 
    color: #161616; 
	background: #fff;
    padding: 10px 15px;
	border-radius: 10px;
	font-size: 13px;
}

.news-entry a {
    font-size: 16px;
    font-weight: 600;
    color: #161616;
	text-transform: capitalize;
}

.mode-switch .icons i{
	position: absolute;
	top: 0;
  height: 30px;
  width: 30px;
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}
.mode-switch .dark .icons i{
  background: #fff;
  color: #323840;
}

.mode-switch.dark .icons i.fa-sun{
  opacity: 1;
  pointer-events: auto;
  font-size: 16px;
}

.sidebar > h5 {
    color: #161616;
	font-size: 15px;
}

aside ul.nav-list > li > a {
    color: #161616;
    font-size: 0.9em;
    padding: 8px 0 8px 22px;
	text-transform: capitalize; 
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus, .pagination .page-item.active .page-link {
    background-color: #262626 !important;
    border-color: #262626;
}

.rank-table td:nth-child(3), .rank-table td:nth-child(6), .rank-table td:nth-child(7) {
    font-weight: 600;
}

.result-table tr:nth-child(1) td:nth-child(3),
.result-table tr:nth-child(2) td:nth-child(3),
.result-table tr:nth-child(3) td:nth-child(3),
.result-table tr:nth-child(4) td:nth-child(3) {
    font-weight: 600;
}

.live-btn {
	width: 30px
}

.page-link {
	font-size: 14px !important;
}

.post-content h2 {
    text-transform: capitalize;
}

.owl-carousel.stage-margin .owl-stage-outer {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.guide-card {
	background: #fff;
	padding: 20px;
}

#footer {
	background: #f9f9f9;
	border-top: 0;
}

#footer .footer-copyright {
    background: #f9f9f9;
}

article.post .post-date .day {
    background: #fff;
}

.recent-posts .date .day, article.post .post-date .day {
    color: #262626;
}

.recent-posts .date .month, article.post .post-date .month {
    background-color: #262626;
}

.post-share:hover {
    font-size: 15px;
    transition-duration: 0.5s;
    cursor: pointer;
}

ul.nav-list li > a.active, ul.nav-list li > a:hover {
    font-weight: bold;
	color: #e1ac21;
}

#header .header-btn-collapse-nav {
    background: transparent;
}

#header .header-btn-collapse-nav {
    color: #000;
}

@media (max-width: 991px){
	#header .header-nav-main.header-nav-main-mobile-dark:before {
    	background-color: #fff;
	}
	
	#header .header-nav-main.header-nav-main-mobile-dark nav > ul > li > a {
    	color: #161616;
	}
	
	#header .header-nav-main.header-nav-main-mobile-dark nav > ul li {
    	border-bottom: 0;
	}
	
	#header .header-nav-main.header-nav-main-mobile-dark nav > ul > li > a.active {
        background: linear-gradient(to right, #f6a007, #e1ac21, #ffe349) !important;
    	-webkit-background-clip: text !important;
    	-webkit-text-fill-color: transparent;
	}
	
	#header .header-nav-main.header-nav-main-mobile-dark nav > ul li a:hover, #header .header-nav-main.header-nav-main-mobile-dark nav > ul li a:focus, #header .header-nav-main.header-nav-main-mobile-dark nav > ul li a:active {
        background: linear-gradient(to right, #f6a007, #e1ac21, #ffe349) !important;
    	-webkit-background-clip: text !important;
    	-webkit-text-fill-color: transparent;
	}
	
	#header .header-logo img {
    	z-index: 1;
    	height: 25px;
	}
	
	.mt-5 {
    	margin-top: 1rem!important;
	}
	
	.newsSwiper {
		height: 600px !important;
	}
}

.owl-carousel .owl-dots .owl-dot.active span, .owl-carousel .owl-dots .owl-dot:hover span {
    background-color: #e1ac21;
}

.newsSwiper {
	height: 450px
}

.swiper-pagination-bullet {
	background: #777
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #e1ac21;
}

.cs-row {
	background: #f9f9f9;
}

.home-cs-box {
	display: flex; 
	align-items: center; 
	background-color: #f9f9f9; 
	padding: 10px 30px; 
}

.home-cs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.home-cs p {
    font-size: 12px;
    line-height: 16px !important;
	font-weight: 600;
	margin-bottom: 0;
}

.home-cs-box p {
	font-size: 12px;
    line-height: 16px;
	margin-bottom: 0;
	font-weight: 600;
	color: #161616;
}

.home-cs img {
	width: 40px;
	margin: 20px;
}

.cs-img-2 {
	width: 80px;
	margin-right: 15px;
}

.cs-img-3 {
	width: 40px;
	margin-right: 15px;
}

.cs-img {
	width: 60px;
	margin-right: 15px;
	animation: zoom-in-out 1s infinite;
}

@keyframes zoom-in-out {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

@media only screen and (max-width: 991px){
	.home-cs {
		padding: 5px 10px;
		text-align: center;
		display: block;
	}
	
	.home-cs img {
		width: 18px;
		margin: 5px;
	}
	
	.cs-img {
		width: 25px;
		margin-right: 0;
		margin: 5px;
	}
	
	.cs-img-2 {
		width: 80px;
		margin-right: 0;
		margin: 5px;
	}

	.cs-img-3 {
		width: 25px;
		margin-right: 0;
		margin: 5px;
	}
	
	.text-m-center {
		text-align: center!important;
	}
	
	.home-cs-box {
		border-radius: 5px; 
		padding: 0 10px;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.home-cs-box p {
		text-align: center;
		font-size: 10px;
	}
	
	.home-cs p {
    	text-align: center;
		font-size: 8px;
    line-height: 10px !important;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1280px) {
	.home-cs img {
		width: 30px;
		margin: 10px;
	}
	
	.cs-img {
		width: 40px;
	}
	
	.home-cs-box {
		padding: 10px 20px;
	}
	
	.home-cs-box p {
		font-size: 11px;
	}
	
	.home-cs p {
		font-size: 11px;
	}
}

.pick-img img {
	height: 200px;
	object-fit: cover;
	object-position: top;
}

.new-badge {
	position: absolute;
    width: 30px;
    top: -10px;
    right: -10px;
}

.new-badge-2 {
	position: absolute;
    width: 30px;
    top: -10px;
    right: -20px;
}

@media only screen and (max-width: 991px){
	.new-badge {
	position: absolute;
    width: 20px;
    top: -10px;
    right: 5px;
}

.new-badge-2 {
	position: absolute;
    width: 20px;
    top: -10px;
    right: -3px;
}
}

.modal.show .modal-dialog {
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.modal-header.login-modal-header {
    background: linear-gradient(to right, #f6a007, #e1ac21, #ffe349);
}

.modal-header.login-modal-header h3 {
    margin-bottom: 0;
    color: #fff;
	text-align: center;
    width: 100%;
}

.btn-close {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='white' %3E%3Cpath d='M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z'/%3E%3C/svg%3E") center / 1em auto no-repeat;
}

@media only screen and (max-width: 991px) {
    .modal-header.login-modal-header h3 {
        font-size: 16px;
    }
}