/*
red - 901319

dark grey - 4A4A4A
grey - 333333
black - 404040

burnt orange - C54A22
grey - B0B0B0
cream - D3C8A3
brown - 5e5352
*/

body { padding: 0; color: #404040; font-family: 'Lato', sans-serif; }
a, a:link, a:focus, a:active, a:visited { color: #404040; text-decoration: underline; }
a:hover  { color: #901319; }
h1 { color: #901319; margin-top: 0; padding-bottom: 10px; font-size: 2em; }
h2  { color: #000; font-size: 1.6em; padding-bottom: 5px; }
h3  { font-size: 1.3em; font-weight: bold; }
.row { margin: 0; }
.table { color: #404040; }
.table a { color: #404040; }
.table a:hover { color: #4A4A4A; }
.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td  { background-color: #F0F0F0; }
.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th { background-color: #E0E0E0; }
.table-bordered td, .table-bordered th { border: 1px solid #FFF; }
img { max-width: 100%; display: block; } 

@media all and (min-width: 0px) and (max-width: 768px) 
{
	body { font-size: 20px !important; }
	#logo { float: none; margin: 20px auto; width: 300px !important; }
	.navbar { margin-top: 20px !important; }
	.navbar-nav > li > a { border-bottom: 1px solid #000; border-right: none !important; }
	.carousel-caption { display: none !important; }
	.home_background_photo  { height: 2000px !important; }
}

#logo { margin: 0 auto; padding-top: 15px; padding-bottom: 15px;  }
.container_menu_full { margin: 0 auto; width: 100%; padding: 0; background: #FFF; }
.navbar { margin-top: 0.3em; }
.navbar-nav > li > a { padding: 12px 15px 10px 15px; text-align: center; text-decoration: none; border-radius: 0; font-size: 1.1em; font-weight: bold; letter-spacing: 1px; color: #404040; }
.navbar-nav > li > a:hover, .navbar-nav > li > a:focus, .navbar-nav  .open > a, 
.navbar-nav  .open > a:hover, .navbar-nav  .open > a:focus { color: #901319; text-decoration: none;  }
.navbar-nav > li > a.active, .navbar-nav > li > a:active {  text-decoration: underline; }
.navbar-nav > li:first-child > a, .navbar-nav > li:last-child > a  { border-bottom: 0; }
.nav .caret { border-top-color: #000; border-bottom-color: #000; }
.navbar-nav .dropdown-menu { background: #FFF; border-radius: 0; border: none; padding: 0; margin: 0; width: 280px; }
.navbar-nav .dropdown-menu > li { padding: 0; margin: 0; border-bottom: 1px solid #ebebeb; }
.navbar-nav .dropdown-menu > li  a { color: #404040; padding: 10px 20px !important; width: 100%; display: block; border-bottom: 1px solid #FFF; font-size: 1em; text-decoration: none; text-align: left; }
.navbar-nav .dropdown-menu > li  a.active, .dropdown-menu > li  a:hover, .dropdown-menu > li  a:active , .dropdown-menu > li  a:focus { color: #901319; background: #FFF; }
.dropdown:hover .dropdown-menu { display: block; }
.navbar-toggler-icon { color: #000; }

.container_slideshow_full { margin: 0 auto; width: 100%; padding: 0; background: #FFF; border-top: 3px solid #901319; border-bottom: 3px solid #901319; }
.carousel-caption h5 { font-size: 3em; color: #FFF; text-shadow: 2px 2px #404040; }
.carousel-caption { display: none; margin-bottom: 60px; background: rgba(10, 10, 10, 0.5); }
.carousel-caption p { font-size: 1.3em;  }

.container_content_full { background: #FFF; }
#main_content { padding: 30px 0 40px 0; font-size: 1.1em; }
#main_content li { margin: 1em 0; }
#plain_page_photos { margin-top: 60px;  }
#plain_page_photos img { margin-bottom: 10px; }
#contact_page_map { margin-top: 0; }

.container_banner_photo_full { border-top: 2px solid #901319; border-bottom: 2px solid #901319; }

/* promos */
.container_promos_full { background: #EFEFEF; padding-top: 60px; padding-bottom: 120px;  }
.promotions_cell_container { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; }
.promotions_cell {  background: #FFF; margin: 3px 5px 10px; box-shadow: 0 0 8px rgba(0,0,0,0.1); display: flex; flex-direction: column; position: relative; }
.promotions_cell_description { padding: 10px 20px; }
.promotions_cell:hover { box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.promotions_cell_button a { position: absolute; right: 30px; bottom: 20px; }
   
.home_background_photo { height: 650px; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
.home_links_cell { text-align: center; padding-top: 150px; color: #FFF; font-size: 1em; }
.home_links_cell div { background: rgba(10, 10, 10, 0.5); padding: 25px 50px; }
.home_links_cell h3 { color: #FFF; margin-top: 20px; }
.home_links_cell a, .home_links_cell a:link, .home_links_cell a:focus, .home_links_cell a:active, .home_links_cell a:visited { color: #FFF; text-decoration: none; }
.home_links_cell a:hover { color: #FFF; }

/* venues */
.venues_photos img { margin-bottom: 15px; }

/* facilities */
.facilities_container_1 { background-color: #E8E8E8; padding: 40px 0 60px 0; }
.facilities_container_2 { background-color: #C7C7C7; padding: 40px 0; }
.facilities_row_1 { margin-top: 30px; margin-bottom: 30px;}

/* activities */
.activity_cell_container { margin-top: 40px; }
.activity_cell_container a { text-decoration: none; }
.activity_cell_description h4 { font-size: 0.9em; font-weight: bold; margin-top: 5px; }
.activity_photos img { margin-bottom: 15px; }

/* events */
#calendar { margin-bottom: 40px; }
.events_dates { font-size: 0.9em; font-style: italic; margin-bottom: 10px; }
.main_pavilion_event { background-color: #B0171F!important; }
.trade_pavilion_event { background-color: #c31a51!important; }
.showring_event { background-color: #bb57b2!important; }
.exhibition_centre_event { background-color: #9f76d8!important; }
.showground_complex_event { background-color: #7692f2!important; }
/* added so titles arent cut off*/
.fc-event-title { padding: 2px; white-space: normal; text-overflow: ellipsis; max-height: 80px; }
.fc-event-title:hover { max-height: none!important; }

.grecaptcha-badge { visibility: hidden; }
#recaptcha_help { font-size: 0.85em; }
label.error { font-weight: bold; color: #FF3030; padding: 2px 8px; margin-top: 2px; }
.btn-primary, .btn-primary:link, .btn-primary:focus, .btn-primary:active, .btn-primary:visited, .btn-primary[disabled] { padding: 8px 20px; background: #901319; color: #FFF; border: none; text-decoration: none; }
.btn-primary:hover  { background: #333333; color: #FFF; }
.btn-slideshow, .btn-slideshow:link, .btn-slideshow:focus, .btn-slideshow:active, .btn-slideshow:visited, .btn-slideshow[disabled] { padding: 10px 30px; background-color: transparent; background-repeat: no-repeat; cursor: pointer; overflow: hidden; outline: none; color: #FFF; border: 1px solid #FFF; text-decoration: none; }
.btn-slideshow:hover  { background: #901319; color: #FFF; }

.container_footer_full { margin: 0 auto; width: 100%; padding: 10px 0; background: #4A4A4A; }
#footer_links { padding: 20px 0 10px 0; text-align: left; color: #FFF; font-size: 0.9em; }
#footer_links h2 { color: #FFF !important; font-size: 1.6em; }
#footer_links h3 { color: #FFF !important; font-size: 1.2em; }
#footer_links ul li { padding: 10px 0 20px 0; }
#footer_links a, #footer_links a:link, #footer_links a:focus, #footer_links a:active, #footer_links a:visited { color: #FFF; font-weight: normal; }
#footer_links a:hover { color: #901319; }
#footer_links .table thead>tr>th, #footer_links .table tbody>tr>th, #footer_links .table tfoot>tr>th, #footer_links .table thead>tr>td, #footer_links .table tbody>tr>td, #footer_links .table tfoot>tr>td  { color: #FFF; background-color: #4A4A4A; }
#footer_links .table-striped > tbody > tr:nth-child(2n+1) > td, #footer_links .table-striped > tbody > tr:nth-child(2n+1) > th { color: #FFF;background-color: #4A4A4A; }
#footer_links .table-bordered td, .table-bordered th { border: 1px solid #FFF; }
#footer_phone { padding-bottom: 10px; }
#footer_email { padding-bottom: 20px; }

#footer { color: #FFF; padding: 5px 0; }
#footer a, #footer a:link, #footer a:focus, #footer a:active, #footer a:visited { color: #FFF; text-decoration: none; font-weight: normal; }
#footer a:hover  { text-decoration: underline; }
.footer_map { margin-bottom: 15px; }
.container_footer_credits_full { margin: 0 auto; width: 100%; padding: 10px 20px; background: #000; font-size: 0.75em; border-bottom: 5px solid #4A4A4A; }
#copyright { padding-left: 0; }
#social_media { text-align: center; }
#credits { text-align: right; padding-right: 0; }