/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 14px/24px Helvetica, Arial;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

body{
    outline: none;
    border-top: 8px solid #4c4c4c;
    font-weight: 100;
    background: #f9f9f9;
}

/*RESPONSIVE IMAGES ==========*/
img{
    max-width:100% !important;
    height:auto;
    display:block;
}    

/*HEADINGS ==========*/

h1, h2, h3, h4{
    font-weight: 100;
}

/*LINKS ==========*/

a:link{
    text-decoration: none;
    color: #6495ED;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out; 

}

a:visited{
    color: #6495ED;
}

a:hover{
   color: #252525;
}

a:active{
    color: #ccc;
}

/*SEARCH BUTTON ==========*/
#search_button{
	position: fixed;
	left: 0;
	top: 92px;
	width: 48px;
	height: 48px;
	background-color: #3fa293;
	background-image: url(../img/icon-search-white.png);
	background-repeat: no-repeat;
	background-size: 25px;
	background-position: center center;
	z-index: 9999;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#search_button:hover{
	cursor: pointer;
	width: 64px;
}

#search_form_container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 120px;
	background: url(../img/white_fade_back.png);
	z-index: 1200;
	display: none;
}

#search_form{
	width: 445px;
	margin: auto;
	padding: 40px;
	border: 2px solid #999;
	background: #fff;
	position: relative;
}

#search_close{
	position: absolute;
	top: 10px;
	right: 10px;
}

#search_close:hover{
	cursor: pointer;
}

#search_close img{
	width: 20px;
}

.gsc-input-box{
	padding: 15px;
	border: 1px solid #999 !important;
}

.gsc-search-button{
	box-sizing: content-box !important;
	position: relative;
	top: 2px;
}

/*CONTAINER ==========*/

.container{
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/*COOKIE BANNER ==========*/

#cookie_banner{
	background: #4c4c4c;
	color: #fff;
	/* padding: 0 20px 20px 20px;  */
	padding: 40px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	width: 100%; 
	display: none;
	position: fixed;
	top: 40%;
	text-align: center;
	z-index: 12000;
}

#cookie_banner input{
	display: block !important;
	width: auto !important;
	padding: 10px 40px 10px 10px !important;
	background-color: #3fa293 !important;
	margin: 20px auto !important;
	background-image: url(../img/icon-white-checkbox-filled.png);
	background-repeat: no-repeat;
	background-position: right 5px center;
	background-size: 25px;
	font-size: 1em;
}

#cookie_banner a:hover{
	color: #fff;
}

/*HEADER ==========*/

#top_bar{
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 999;
}

#top_bar_inner{
    margin: auto;
    width: 712px;
}

#header_logo{
    width: 225px;
    height: 63px;
    float: left;
    border-left: 1px solid #e30007;
    border-right: 1px solid #e30007;
    border-bottom: 1px solid #e30007;
    padding: 20px;
    background: #fff;
}

#header_logo img{
    width: 215px;
    margin: auto;
    display: none;
}

/*#header_nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    width: 533px;
    height: 55px;
    border-right: 1px solid #ccc;
}

#header_nav ul li{
    float: left;
    border-right: 1px solid #ccc;
}

#header_nav ul li:last-child{
    border-right: none;
}

#header_nav a:link, #header_nav a:visited, #header_nav a:active{
    color: inherit;
    width: 70px;
    text-align: center;
    padding: 16px 9px 13px 9px;
    display: inline-block;
    font-weight: 100;
    font-size: 0.8em;
}

#header_nav a:hover{
    background: #4c4c4c;
    color: #fff;
}*/

/*#header_nav ul li:nth-child(4){
    clear: left;
}*/

#top_nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 100;
}

#top_nav>ul>li{
    float: left;
    border-right: 1px solid #ccc;
}

#top_nav>ul li ul{
    display: none;
    list-style: none;
    margin: 0;
    margin-left: -1px;
    padding: 0;
    position: absolute;
    border: 1px solid #ccc;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#top_nav>ul li:hover ul{
    display: block;
}

#top_nav>ul>li>a:link, #top_nav>ul>li>a:visited, #top_nav>ul>li>a:active{
    color: inherit;
    text-align: center;
    padding: 16px 9px 13px 9px;
    display: inline-block;
    width: 70px;
    font-size: 0.9em;
}

#top_nav>ul>li>a:hover{
    background: #4c4c4c;
    color: #fff;
}

#top_nav>ul li ul li{
    border-top: 1px solid #ccc;
}

#top_nav>ul li ul li:first-child{
    border-top: none;
}

#top_nav>ul>li>ul a:link, #top_nav>ul>li>ul a:visited, #top_nav>ul>li>ul a:active{
    background: #fdfdfd;
    display: block;
    padding: 12px;
    padding-bottom: 13px;
    font-size: 0.9em;
    color: #4c4c4c;
}

#top_nav>ul>li>ul a:hover{
    background: #ccc;
    color: #fff;
}

#top_bar_social{
    position: absolute;
    top: 15px;
    right: 15px;
}

#top_bar_social img{
    width: 22px;
    opacity: 0.7;
    float: left;
    margin-left: 7px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#top_bar_social img:hover{
    opacity: 0.4;
    cursor: pointer;
}

/*SCROLL HEADER STYLES ==========*/

#scroll_top_bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #4c4c4c;
    border-bottom: 3px solid #4c4c4c;
    display: none;
    z-index: 1100;
}

#scroll_top_bar_inner{
    width: 80%;
    margin: auto;
}

#scroll_header_logo{
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 5px;
    float: left;
}

#scroll_header_logo img{
    width: 125px;
}

#top_scroll_nav{
    float: right;
}

#top_scroll_nav img{
    display: none;
}

#top_scroll_nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 100;
}

#top_scroll_nav>ul>li{
    float: left;
}

#top_scroll_nav>ul li ul{
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 2px;
    position: absolute;
    border-top: 1px solid #4c4c4c;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#top_scroll_nav>ul li:hover ul{
    display: block;
}

#top_scroll_nav>ul>li>a:link, #top_scroll_nav>ul>li>a:visited, #top_scroll_nav>ul>li>a:active{
    color: #f4f4f4;
    font-size: 0.9em;
    font-weight: 100;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 50px;
    border-left: 1px solid #4c4c4c;
    display: block;
}

#top_scroll_nav>ul>li>a:hover{
    background: #ccc;
    color: #4c4c4c;
}

#top_scroll_nav>ul li ul li{
    border-top: 1px solid #ccc;
}

#top_scroll_nav>ul li ul li:first-child{
    border-top: none;
}

#top_scroll_nav>ul>li>ul a:link, #top_scroll_nav>ul>li>ul a:visited, #top_scroll_nav>ul>li>ul a:active{
    background: #666;
    display: block;
    padding: 11px;
    font-size: 0.9em;
    color: #f4f4f4;
}

#top_scroll_nav>ul>li>ul a:hover{
    background: #ccc;
    color: #fff;
}



/*
#scroll_header_nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
    
    overflow: hidden;
}

#scroll_header_nav ul li{
    float: left;
}

#scroll_header_nav a:link, #scroll_header_nav a:visited, #scroll_header_nav a:active{
    color: #f4f4f4;
    font-size: 0.75em;
    font-weight: 100;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 44px;
    border-left: 1px solid #4c4c4c;
    display: block;
}

#scroll_header_nav a:hover{
    background: #ccc;
    color: #4c4c4c;
}*/


/*HOME PAGE STYLES ==========*/

a.home_results_link:link, a.home_results_link:visited, a.home_results_link:active{
    z-index:30; 
    position: absolute; 
    float:none; 
    clear:both; 
    top:80px; 
    right:15px;
    width: 200px;
    height: 24px;
    background: url(../img/scoreboard.png);
}

a.home_results_link:hover{
    background: url(../img/scoreboard_hover.png);
}   

/*#homepage_slideshow{
    border-top: 1px solid #ccc;
    position: relative;
    top: -50px;
    float: none;
    clear: both;
    background: #252525;
}*/

#homepage_slideshow{
    border-top: 1px solid #ccc;
    position: relative;
    top: -51px;
    float: none;
    clear: both;
    background: #000;
}

/*@-moz-document url-prefix() {
    #homepage_slideshow{
        top: -58px;
    }
}*/

#homepage_slideshow_inner{
    overflow: hidden;
    display: none;
    opacity: 0.5;
}

#homepage_slideshow_inner img{
    margin: auto;
}

/*.homepage_headings{
    font-family: 'Oxygen', sans-serif;
    width: 40%;
    float: right;
    opacity: 0;
    position: absolute;
    right: -500px;
    z-index: 3;
    top: 180px;
}*/

.homepage_headings{
    font-family: 'Oxygen', sans-serif;
    position: absolute;
    top: 150px;
    color: #f4f4f4;
}

.homepage_headings p{
	margin: 0 !important;
}

/*.homepage_headings h1{
    font-weight: 100;
    font-size: 1.5em;
    line-height: 1.2em;
    color: #44bc6e;
    padding: 30px;
    background: #f4f4f4;
    margin: 0;
}*/

.homepage_headings h1{
    font-weight: 100;
    font-size: 1.5em;
    line-height: 1.2em;
    padding: 30px;
    width: 70%;
    margin: auto;
    opacity: 0;
    position: relative;
    top: 50px;
}

/*.homepage_headings h2{
    font-size: 1.1em;
    padding: 30px;  
    margin: 0;
    color: #666;
    border-bottom-left-radius: 6px;
    background: url(../img/white_fade_back.png);
    display: none;
}*/

.homepage_headings h3{
    font-size: 0.9em;
    padding: 15px 30px;
    margin-top: 80px;
    color: #f4f4f4;
    background: url(../img/black_fade_back.png);
    display: none;
}

/*.homepage_headings a:link, .homepage_headings a:visited, .homepage_headings a:active {
    color: #44bc6e;
    border-bottom: 1px solid #44bc6e;
    padding-bottom: 2px;
}

.homepage_headings a:hover{
    color: #999;
    border-bottom: 1px solid #999;
}*/

.homepage_options{
    width: 70%;
    margin: auto;
    padding-top: 30px;
    opacity: 0;
    position: relative;
    top: 50px;
}

.homepage_option:first-child{
    border-top: 8px solid #de3a3a;
}

.homepage_option:nth-child(2){
    border-top: 8px solid #3a97de;
}

.homepage_option:nth-child(3){
    border-top: 8px solid #3fa293;
}

.homepage_option:nth-child(4){
    border-top: 8px solid #dedc3a;
}

div.homepage_option, a.homepage_option:link, a.homepage_option:visited, a.homepage_option:active{
    display: block;
    padding: 15px;
    box-sizing: border-box;
    background: url(../img/black_fade_back.png);
    font-size: 0.9em;
    line-height: 1.6em;
    color: #f4f4f4;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out; 
   
}

div.homepage_option:hover, a.homepage_option:hover{
    display: block;
    border-top: 8px solid #fff;
}

.homepage_option h2{
    font-size: 1.2em;
    margin: 0 0 10px 0;
    padding: 0;
}

.homepage_option a:link, .homepage_option a:visited, .homepage_option a:active, .homepage_option .fake_link{
    color: #b0c6ee;
    border-bottom: 1px solid #b0c6ee;
}

.homepage_option a:hover, .homepage_option .fake_link:hover{
    color: #fff;
    border-bottom: 1px solid #fff;
}


.homepage_pull_down{
    position: absolute;
    width: 100%;
    height: 86px;
    bottom: 10px;
    background-image: url(../img/icon-pull-down.png);
    background-size: 90px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    display: none;
    z-index: 5;
}

.homepage_pull_down:hover{
    cursor: pointer;
}

.below_the_fold{
    padding-top: 60px;
    opacity: 0;
    margin-top: -50px;
}

.home_block h3{
    background: #4c4c4c;
    margin: 0;
    color: #fdfdfd;
    padding: 15px;
    width: 50%;
    box-sizing: border-box;
}

.home_block_content{
    background: #fff;
    padding: 15px !important;
    border-top: 3px solid #4c4c4c;
    box-sizing: border-box;
}

.home_twitter{
    margin: 0;
    padding: 0;
    list-style: none;
}

.home_twitter li{
    margin-bottom: 10px;
    padding: 10px 10px 10px 35px;
    border-bottom: 3px solid #3a97de;
    background: url(../img/icon-twitter-blue.png);
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center left;  

}

.home_twitter li:last-child{
    border: none;
}

.home_twitter h3{
    font-size: 0.9em;
    margin: 0;
}

.home_twitter h3 a:link, .home_twitter h3 a:visited, .home_twitter h3 a:active{
    color: #999;
}

.home_twitter h3 a:hover{
    color: #252525;
}

.home_blog_feed{
    margin-top: 25px;
}

.home_blog_feed h3{
    background: #4c4c4c;
    margin: 0;
    color: #fdfdfd;
    padding: 15px;
    width: 50%;
    box-sizing: border-box;
}

.home_blog_list{
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0 25px;
    padding-bottom: 25px;
    overflow: hidden;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-top: 3px solid #4c4c4c;
    margin-bottom: 25px;
}

.home_blog_list li{
    margin: 0;
    padding: 0;
    float: left;
    width: 22.75%;
    margin-right: 3%;
}

.home_blog_list h4 a:link, .home_blog_list h4 a:visited, .home_blog_list h4 a:active{
    display: block;
    padding: 10px;
    font-weight: 400;
    color: #f4f4f4;
}

.home_blog_list li:first-child h4 a{
    background: #de3a3a;
}

.home_blog_list li:nth-child(2) h4 a{
    background: #3a97de;
}

.home_blog_list li:nth-child(3) h4 a{
    background: #3fa293;
}

.home_blog_list li:nth-child(4) h4 a{
    background: #dedc3a;
}

.home_blog_list li:nth-child(4n){
    margin-right: 0;
}

.home_blog_list h4 a:hover{
    opacity: 0.6;
}

/*BOOKING PAGES STYLES ==========*/

.booking_links ul{
    list-style: none;
    margin: 30px 0;
    padding: 0 25px;
}

.slideup_form_container{
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 10000;
}

.slideup_form_container h4{
    background-color: #3fa293;
    color: #fff;
    margin: 0;
    font-size: 1.2em;
    padding: 15px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out; 
    display: inline-block;
    float: right;
    background-image: url(../img/icon-arrow-right-white.png);
    background-repeat: no-repeat;
    background-position: left 15px top 15px;
    background-size: 20px;
    padding-left: 40px;
}

.slideup_form_container h4:hover{
    cursor: pointer;
    color: #fff;
}

.slideup_form_container.active h4{
	background-image: url(../img/icon-arrow-down-white.png);
}

.slideup_form{
    background: #4a4a4a;
    color: #fff;
    padding: 15px;
    float: none;
    clear: both;
    display: none;
}

.slideup_form input[type="text"], .slideup_form input[type="email"]{
    background: #f2f7ff;
    border: none;
}

.slideup_form input[type="text"]:focus, .slideup_form input[type="email"]:focus{
    border: none;
    background: #eaf2ff;
}

.slideup_form input[type="submit"]:hover{
    background: #999;
}

.slideshow img:first-child{
    opacity: 1 !important;
}

/*MEET THE TEAM STYLES ==========*/

.meet_the_team_list_item{
   margin-top: 25px;
}

.meet_the_team_item_image{
    position: relative;
}

.team_item_overlay{
    position: absolute;
    bottom: 0;
    padding: 10px;
    box-sizing: border-box;
    background: url(../img/black_fade_back.png);
    width: 100%;
    height: 53px;
    color: #f6f6f6;
    line-height: 1.3em;
}

.team_item_overlay h3, .team_item_overlay h4{
    margin: 0 !important;
    padding: 0 !important;
}

.team_item_overlay h3{
    font-size: 1em !important;
}

.team_item_overlay h4{
    font-size: 0.85em !important;
}

/*CALENDAR PAGE STYLES ==========*/
#events_calendar{
    padding: 25px;
    line-height: 1.2em;
}

.fc-event-time{
    display: block;
}

#mobile_upcoming_events{
	display: none;
	padding: 25px;	
}

#mobile_upcoming_events > h3{
	padding: 0;
}

/*RESULTS LISTINGS STYLES ==========*/

#results_board_year_links ul{
    list-style: none;
    float: none;
    clear: both;
    overflow: hidden;
    margin: 30px 0 0 30px;
    padding: 0;
}

#results_board_year_links ul li{
    float: left;
    margin-right: 20px;
    margin-bottom: 30px;
}

#results_board_year_links a:link, #results_board_year_links a:visited, #results_board_year_links a:active{
    background: #3fa293;
    padding: 15px 30px;
    color: #fff;
    display: inline-block;
    border-radius: 4px;
    opacity: 0.8;
}

#results_board_year_links a:hover{
    opacity: 1;
}

#results_board_year_links ul li.active a:link, #results_board_year_links ul li.active a:visited, #results_board_year_links ul li.active a:hover, #results_board_year_links ul li.active a:active{
    opacity: 1;
}

.results_board_list{
    list-style: none;
}

.results_board_year_item{
    background: #3fa293;
    color: #fff;
    padding: 15px;
}

.results_board_list_item{
    margin-bottom: 35px;
}

.results_board_list_item a:link, .results_board_list_item a:visited, .results_board_list_item a:active{
    color: #fff;
    display: inline-block;
}

.results_board_list_item a:hover{
    opacity: 0.8;
}

.results_board_list_item_title, .results_board_list_item_date{
	background: #4c4c4c;
	display: inline-block;
	padding: 15px;
}

/*EVENTS RESULTS STYLES ==========*/

.event_results{
    box-sizing: border-box;
    position: relative;
}

.event_quick_links{
    list-style: none;
    padding: 0 30px;
    float: none;
    clear: both;
    width: 80%;
    overflow: hidden;
}

.event_quick_links li{
    float: left;
    margin-right: 10px;
    background: #3fa293;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 0.85em;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0.8;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.event_quick_links li:hover{
    cursor: pointer;
    opacity: 1;
}

a.event_all_results_link:link, a.event_all_results_link:visited, a.event_all_results_link:active{
	position: absolute;
	right: 25px;
	font-size: 0.85em;
	top: 38px;
	color: #fff;
	background: #3fa293;
	opacity: 0.8;
	padding: 5px 10px;
	border-radius: 3px;
}

a.event_all_results_link:hover{
	opacity: 1;
}

.event_results h3{
    margin: 20px 0 20px 0 !important: 
}

.race_info{
    padding: 25px;
    margin-bottom: 20px;
    font-size: 0.9em;
    background: #252525;
    color: #f4f4f4;
}

.event_results h5{
	padding: 25px;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 100;
    background: #252525;
    color: #f4f4f4;
}

.race_info h4{
    font-size: 1.5em;
    margin-bottom: 0;
    display: inline;
}

.race_container table, .page_content table{
    width: 100%;
    line-height: 1.2em;
    margin-bottom: 40px;
}

.race_container table tr th:first-child, .page_content table tr th:first-child{
    opacity: 0;
}

.race_container table tr th, .page_content table tr th{
    text-align: left;
    padding: 10px;
}

.race_container table tr td, .page_content table tr td{
    padding: 10px;
}

.race_container table tr td p, .page_content table tr td p{
    margin: 0;
    padding: 0;
}

.race_container table tr:nth-child(even), .page_content table tr:nth-child(even){
    background: #f6f6f6;
}

.race_container table tr:not(:first-child):hover, .page_content table tr:not(:first-child):hover{
    background: #666;
    color: #fdfdfd;
}

#gallery_pwd_form{
	width: 50%;
}

.event_results_gallery_list{
    list-style: none;
    padding-bottom: 25px;
    overflow: hidden;
}

.event_results_gallery_thumb{
    width: 17.6%;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    -webkit-filter:grayscale(100%);
    -moz-filter:grayscale(100%);
    -ms-filter:grayscale(100%);
    -o-filter:grayscale(100%);
    filter:grayscale(100%);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.event_results_gallery_thumb:hover{
    cursor: pointer;
    opacity: 1;
    border: 1px solid #252525;
    -webkit-filter:grayscale(0);
    -moz-filter:grayscale(0);
    -ms-filter:grayscale(0);
    -o-filter:grayscale(0);
    filter:grayscale(0);
}

.slideshow_modal{
    width: 50%;
}

.prev, .next, .event_gallery_slideshow{
    cursor: pointer;
}

.prev, .next{
    opacity: 0.2;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.prev:hover, .next:hover{
    opacity: 0.4;
}

.slideshow_controlls{
    width: 100%;
    float: none;
    clear: both;
    padding-top: 15px;
}

.prev{
    background: url(../img/icon-gallery-arrow-prev.png);
    width: 30px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 30px;
    float: left;
}

.next{
    background: url(../img/icon-gallery-arrow-next.png);
    width: 30px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 30px;
    float: right;
}

.event_gallery_slideshow{
  
}

.event_gallery_slideshow img{
   
}

.event_gallery_slideshow img:first-child{
    display: block;
}

/*GALLERY PAGE STYLES ==========*/

/*#gallery_video_list li{
    width: 22%;
    margin-right: 3%;
    float: left;
}

#gallery_video_list li:nth-child(4n){
    margin-right: 0;
}*/

#gallery_video_embeded{
    float: none;
    clear: both;
    padding: 0 25px;
}

#gallery_video_embeded iframe{
    margin-bottom: 20px;
}

/*CONTACT PAGE STYLES ==========*/

.contact_page_content{
    padding: 25px;
    overflow: hidden;
}

.contact_email_form{
    float: left;
    width: 48.5%;
    margin-right: 3%;
}

.contact_other_options{
    float: left;
    width: 48.5%;
}

.cotact_social_link{
    display: block;
    margin-bottom: 0.5em;
}

.cotact_social_link img{
    display: inline-block;
    width: 20px;
    margin-right: 3px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.cotact_social_link:hover img{
    opacity: 0.7 !important;
}

/*REUSABLE PAGE STYLES ==========*/

.video_list li{
    position: relative;
    margin-bottom: 20px;
    color: #6495ED;
    height: 200px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.video_list li:hover{
    cursor: pointer;
    color: #252525;
}

.vid_icon{
    position: absolute;
    left: 50%;
    top: 24%;
}

.vid_icon img{
    position: relative;
    left: -50%;
    height: 45px;
}


/*GENERAL PAGE STYLES ==========*/

.body_container{
    padding-top: 80px;
    overflow: hidden;
    width: 100%;
    position: relative;
    top: -51px;
    border-top: 1px solid #ccc;
    margin: auto;
}

.page_container{
    width: 80%;
    margin: auto;
    max-width: 1200px;
}

.page_title{
    margin: 0;
    display: inline-block;
    box-sizing: border-box;
    /*background: #4c4c4c;*/
    background: #4c4c4c;
    color: #fdfdfd;
    padding: 25px;
}

.page_content{
    background: #fff;
    border-left: 8px solid #4c4c4c;
    overflow: hidden;
    /*-moz-column-count: 2; 
    -webkit-column-count: 2;
    column-count: 2;*/
}

.page_content h3{
    margin-bottom: 0;
    padding-left: 25px;
    font-size: 1.5em;
}

.page_content>ul{
    padding: 0 25px;
}

.page_content>p{
    padding-left: 25px;
    padding-right: 25px;
}

.page_content>form{
    padding-left: 25px;
    padding-right: 25px;
}

.page_content img{
    opacity: 0;
}

/*FOOTER STYLES ==========*/

#bottom_bar{
    background: #fff;
    border-top: 1px solid #999;
    padding: 25px 0;
    position: relative;
    z-index: 3000;
}

.footer_nav{
    float: none;
    clear: both;
    overflow: hidden;
    margin-bottom: 25px;
}

.footer_nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_nav>ul>li{
    float: left;
    width: 17.6%;
    margin-right: 3%;
}

.footer_nav>ul>li:last-child{
    margin: 0;
}

.footer_nav ul li ul li{
    float: none;
    clear: both;
}

.footer_nav>ul>li>a{
    border-bottom: 1px solid #ccc;
    display: block;
    margin-bottom: 3px;
}

.footer_nav ul li a:link, .footer_nav ul li a:visited, .footer_nav ul li a:active{
    color: #999;
}

.footer_nav ul li a:hover{
    color: #252525;
}

.footer_left{
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer_right{
    float: right;
}

/*BACK TO TOP STYLES ==========*/

#back_to_top{
    position: fixed;
    bottom: 0;
    right: 10px;
    background: #3fa293;
    color: #fff;
    margin: 0;
    font-size: 1.2em;
    padding: 15px;
    background-position: 15px center;
    background-size: 30px;
    background-repeat: no-repeat;
    display: none;
    z-index: 12000;
}

#back_to_top:hover{
    cursor: pointer;
}


/*THE GRID ==========*/

.column{
    -moz-box-sizing: border-box;
}

.three_columns{
    overflow: hidden;
}

.five_columns .column{
    float:left;
    width: 17.6%;
    margin-right: 3%;
    margin-bottom: 20px;
}

.five_columns .column:nth-child(5n){
    margin-right: 0;
}

.four_columns > li, .four_columns > div, .four_columns > a{
    float: left;
    width: 22.75%;
    margin-right: 3%;
    margin-bottom: 20px;
}

.four_columns > li:nth-child(4n), .four_columns > div:nth-child(4n), .four_columns > a:nth-child(4n){
    margin-right: 0;
}

.three_columns .column{
    float:left;
    width: 31.33%;
    margin-right:3%;
    margin-bottom: 20px;
}

.three_columns .column:nth-child(3n){
    margin-right: 0;
}

.two_columns .column{
    float: left;
    width: 48.5%;
    margin-right: 3%;
    margin-bottom: 20px; 
}

.two_columns .column:nth-child(2n){
    margin-right: 0;
}

@media only screen and (max-width:900px){
    .four_columns .column{
        width: 48.5%
    }

    .four_columns .column:nth-child(4n){
        margin-right: 3%;
    }

    .four_columns .column:nth-child(2n){
        margin-right: 0;
    }
    
    .three_columns .column{
        width: 48.5%;
    }

    .three_columns .column:nth-child(3n){
        margin-right: 3%;
    }

    .three_columns .column:nth-child(2n){
        margin-right: 0;
    }

}

@media only screen and (max-width:600px) {
    
    .two_columns .column, .three_columns .column, .four_columns .column{
        width: 100%;
        margin-right: 0;
        float: none;
        clear: both;
    }
    
}

/*FORMS ==========*/

input, textarea{
    font-weight: 100;
    font-size: 0.9em;
    width: 100%;
    border:none;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
}

input[type="text"], input[type="date"], input[type="password"], input[type="email"], input[type="number"], textarea{
    padding: 8px;
    display: block;
    outline: none;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

input[type="text"]:focus, input[type="date"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus{
    border: 1px solid #999;
}

label{
    display: block;
    margin-top: 10px;
}

input[type="submit"], input[type="button"], input[type="reset"]{
    color: #fff;
    background: #666;
    border-radius: 2px;
    border:none;
    width: auto;
    padding: 10px 0;
    width: 100%;
    margin: 0 5px 0 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out; 
}

input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover{
    background: #4c4c4c;
}

input[type="submit"]:active, input[type="button"]:active, input[type="reset"]:active{
    outline: none;
    border: none;
}

input[type="submit"]:focus, input[type="button"]:focus, input[type="reset"]:focus{
    outline: none;
    border: none;
}

input.icon_check_white[type="checkbox"]{
    display: none;
}

input.icon_check_white[type="checkbox"] + label span {
    display:inline-block;
    width:25px;
    position:relative;
    top:4px;
    height:20px;
    background:url(../img/icon-white-checkbox-blank.png) left top no-repeat;
    background-size: 20px;
    cursor: pointer;
}

input.icon_check_white[type="checkbox"]:checked + label span{
    display:inline-block;
    position:relative;
    top:4px;
    width:25px;
    height:20px;
    background:url(../img/icon-white-checkbox-filled.png) left top no-repeat;
    background-size: 20px;
    cursor: pointer;
    left: 1px;
}

select{
    width: 100%;
    border: 0;
    margin-bottom: 20px;
    -webkit-appearance: none;
    padding: 7px;
    background: #f2f7ff;
    background-image: url(../img/icon-down-arrow.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 98% center;
    border-radius: 0;
    margin-top: 20px;
}

select option{
    padding: 10px;
}

/*MODALS ==========*/

.modal{
    display:none;
    position:fixed;
    text-align: left;
    background: #252525;
    padding: 20px;
    z-index: 30000; 
    border-radius: 6px;   
}

#modal_background{
    position: fixed;
    top:0;
    left:0;
    display: none;
    background: #000;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    z-index: 4000;
}

.close_modal{
    text-align: right;
}

.close_modal img{
    display: inline-block;
    width: 25px;
    padding-bottom: 20px;
}

/*HELPERS ==========*/

.no_list{
    list-style: none;
    margin: 0;
    padding: 0;
}

.fake_link{
    color: #6495ED;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.fake_link:hover{
    color: #252525;
    cursor: pointer;
}

.fake_link img{
    opacity: 0.6;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

a.no_link:link, a.no_link:visited, a.no_link:active{
    color: inherit;
}

a.no_link:hover{
    color: inherit;
}

.play_video{
    width: 20px;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.fake_link:hover img{
    opacity: 1;
}

.error{
    color: red;
}

.input_error{
    color: red;
    position: relative;
    top: -10px;
}

input.error, textarea.error{
    border: 1px solid red !important;
}

.success{
    color: green;
}

.icon{
    opacity: 0.4;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out; 
}

.icon:hover{
    opacity: 1;
    cursor: pointer;
}

.clear_float{
    width:100%;
    float: none;
    clear: both;
}

.small_print{
    font-size: 0.9em;
}

.open{
    z-index: 1100;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1205px) {
    

}

/*Tablet Styles ==========*/
@media only screen and (max-width: 890px){
	.home_results_link{
        display: none !important;
    }
    
    .hide_pad{
        display: none;
    }

    .page_container{
        margin-top: 25px;
        width: 90%;
    }
    
    .page_content{
	    border: none;
    }

    #scroll_top_bar{
        display: block;
    }

    #homepage_slideshow{
        top: -5px;
        display: none;
    }

    #homepage_slideshow_inner{
        height: 200px;
    }

    .homepage_headings{
        position: static;
        background: #252525;
        overflow: hidden;
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .homepage_headings h1{
        width: 80%;
    }

    .homepage_options{
        width: 80%;
    }

    .homepage_pull_down{
        display: none;
    }

    .home_block{
        width: 100% !important;
        margin-right: 0 !important;
        margin-top: 20px;
    }

    .video_list li{
        height: auto !important;
    }

    .vid_icon{
        top: 25%;
    }

    .vid_icon img{
        height: 60px;
    }

    .home_blog_list li{
        float: none;
        width: 100%;
    }

    .contact_email_form{
        width: 100%;
        margin-right: 0;
        float: none;
    }

    .contact_other_options{
        width: 100%;
        float: none;
    }
    
    table{
	    font-size: 0.9em;
	    overflow-x: scroll;
    }
    
    .race_container table tr td, .page_content table tr td {
	    padding: 5px;
    }
    
    #events_calendar{
	    display: none;
    }
    
    #mobile_upcoming_events{
	    display: block;
    }
    
    /* Force table to not be like tables anymore */
/*
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
*/
	
	/* Hide table headers (but not display: none;, for accessibility) */
/*
	tr th { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
*/
		/* Behave  like a "row" */
/*
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
*/
		/* Now like a table header */
/* 		position: absolute; */
		/* Top/left values mimic padding */
/*
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
*/
	
}

/*Mobile Styles =========*/

@media only screen and (max-width: 640px){
	
	#cookie_banner{
		background: #4c4c4c;
		color: #fff;
		/* padding: 0 20px 20px 20px;  */
		padding: 40px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #fff;
		width: 100%; 
		display: none;
		position: fixed;
		top: 5%;
		text-align: center;
		z-index: 12000;
	}
	
	#search_button{
		bottom: 0;
		right: 0;
		top: auto;
		left: auto;
	}
	
	#search_form{
		width: 100%;
		padding: 30px 0 0 0;
	}
	
	.gsc-input-box{
		padding: 5px;
	}
	
	.page_container{
        margin-top: 10px;
        width: 100%;
    }
    
    .page_content{
	    border: none;
    }
    
    .page_title{
	    width: 100%;
    }

    .hide_mobile{
        display: none;
    }
    
    #scroll_top_bar_inner{
	    width: 90%;
    }

    #top_scroll_nav img{
        display: block;
        float: right;
        height: 25px;
        padding-top: 10px;
    }

    #top_scroll_nav ul{
        display: none;
       padding: 15px 0;
    }

    #top_scroll_nav ul li{
        float: none;
    }

    #top_scroll_nav>ul>li>a:link, #top_scroll_nav>ul>li>a:visited, #top_scroll_nav>ul>li>a:active{
        display: block;
        margin: 0;
        padding: 0;
        line-height: 2em;
        text-align: right;
    } 

    #top_scroll_nav>ul>li>a:hover{
        background: none !important;
        color: #fff;
    }

    #top_scroll_nav>ul>li>ul a:link, #top_scroll_nav>ul>li>ul a:visited, #top_scroll_nav>ul>li>ul a:active{
        display: none !important;
    }

    .slideup_form_container{
        display: none;
    }

    .below_the_fold{
        padding: 0;
        margin: 0;
    }
    
    #results_board_year_links ul li{
	    margin-right: 5px;
	    margin-bottom: 5px;
    }
    
    #results_board_year_links a:link, #results_board_year_links a:visited, #results_board_year_links a:hover, #results_board_year_links a:active {
	    padding: 5px 8px;
	    font-size: 0.85em;
    }

    .results_board_list_item{
        margin-bottom: 5px;
        padding-bottom: 5px;
        border-bottom: 1px solid #ccc;
        background: none;
    }

    .results_board_list_item a:link, .results_board_list_item a:visited, .results_board_list_item a:hover, .results_board_list_item a:active{
        padding: 0;
        background: none;
        color: blue;
    }
    
    .results_board_list_item_title, .results_board_list_item_date{
	    background: none;
	    padding: 0;
    }

    .results_board_year_item{
        background: none;
        font-weight: bold;
        border-bottom: 1px solid #ccc;
        padding: 5px 0 10px 0;
        font-size: 1.5em;
        margin-bottom: 5px;
        color: #252525;
    }
    
    .event_quick_links{
	    width: 80%;
    }
    
    .event_quick_links li{
	    float: none;
	    clear: both;
    }
    
    a.event_all_results_link:link, a.event_all_results_link:visited, a.event_all_results_link:active{
	    width: 78%;
	    position: relative;
	    top: -10px;
	    right: auto;
	    left: 30px;
	    display: block;
	    box-sizing: border-box;
	    -moz-box-sizing: border-box;
    }

    .event_results_gallery_thumb{
        float: none;
        width: 100%;
        border: none;
        -webkit-filter: none;
        filter: none;
        margin-right: 0;
    }

    .event_results_gallery_thumb:hover{
        border: none;
    }
    
    #gallery_pwd_form{
	    width: 100%;
    }

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

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

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

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

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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