@media (min-width:1201px) and (max-width:1400px) {
	footer #footer-about {
		padding-right: 10px;
	}

	footer .footer-images {
		margin-right: 10px;
	}

	nav #nav #main-nav a {
		padding: 0 20px;
	}

	#form {
		overflow: hidden;
	}

}
@media (min-width:0) and (max-width:1200px) {
	#race-categories .race-category .default-content img{
		max-height: 100%;
		min-height: 0;
	}
}
@media (min-width:992px) and (max-width:1200px) {
	#home-content .home-image{  
		background-position: top right; 
		background-size: contain;
	} 

	#our-stories img,#home-content img{   
		width: 50%;
		height: auto;
	}

	#tribe-events-content.tribe-events-single {
		padding: 0 15px;
	}

	#upcoming table tbody tr td {
		padding: 0 5px;
		font-size: 12px;
	}

	#upcoming br {
		display: none;
	}

	#events-results .event-content span {
		font-size: 14px;
		word-spacing: 0;
	}

	#our-stories p + p {
		padding-top: 0;
		padding-right: 0;
	}

	#race-categories .race-category {
		height: 250px;
	}

	#newsletter input[type="submit"] {
		width: calc(100% - 15px);
		margin: 8px 0 0 0;
	}

	#shop table tbody tr td {
		padding: 0 5px;
	}

	#shop table tbody tr td:last-child {
		text-align: right;
		width: 45%;
	}

	#shop table tbody tr td:nth-child(1) {
		width: 10%;
	}

	#shop table tbody tr td:nth-child(2) {
		width: 40%;
	}

	#shop table tbody tr td:nth-child(3) {
		width: 5%;
	}

	#form div[role="form"] {
		margin: 0 -15px;
	}

	#form .wpcf7-form-control-wrap.Topic span.wpcf7-list-item {
		margin-right: 35px;
	}

	#form .form-item {
		padding: 0 15px;
	}

	#ovr-board .ovr-member:nth-child(4n+5) {
		clear: left;
	}

	nav #nav #logo {
		width: 350px;
		font-size: 20px;
		background-size: cover;
		background-position: right;
	}

	nav #nav #main-nav a {
		padding: 0 15px;
	}

	footer #footer-menu,
	footer #footer-about {
		width: 50%;
	}

	footer #footer-menu {
		padding-left: 15px;
	}

	footer #footer-menu ul:nth-child(1) {
		width: 38%;
	}

	footer #footer-menu ul:nth-child(2),
	footer #footer-menu ul:nth-child(3) {
		width: 30%;
	}

	footer .footer-images {
		max-width: 200px;
	}

	footer .footer-images img:nth-child(2) {
		margin-bottom: 0;
	}

}
@media screen and (min-width:992px){
	#get-started img{
		right: -105px;
	}
}
@media (min-width:768px) and (max-width:991px) {


	header{
		padding-top: 200px;
	}
	#events-results > div.active {
		/*  margin-bottom: 247px;*/
		height: 375px;
	}

	.tribe-events-sub-nav li a {
		background: transparent;
		color: black !important;
		display: block;
		margin-bottom: 0;
		padding-bottom: 0;
		padding: 0;
		position: relative;
		white-space: normal;
	}

	#event_documents li {
		margin-right: 15px;
	}

	a.document-link {
		font-size: 12px;
		letter-spacing: 0;
	}

	.learn-button,
	.registration-button {
		display: block;
		float: none;
		clear: both;
		margin: 7.5px auto;
	}

	#upcoming table tbody tr td:nth-child(5) .inner {
		display: block;
	}

	#upcoming table tbody tr td {
		padding: 0 5px;
		font-size: 12px;
	}

	#upcoming br {
		display: none;
	}

	#tribe-events-pg-template {
		margin: 0 auto;
		max-width: 100%;
		padding: 0 15px;
	}

	.flexslider .slides li {
		height: calc(100vh - 200px);
	}

	#get-started img {
		right: -200px;
	}

	#events-results .event-content span {
		word-spacing: 0;
	}

	.post .excerpt .image {
		margin: 0 15px 0 0;
	}

	.post .excerpt .image img {
		max-width: 150px;
		height: auto;
	}

	.post.post .excerpt.with-image {
		margin-top: 15px;
	}

	.post .excerpt.with-image .content {
		padding-top: 0;
	}

	#home-content .home-image {
		position: static;
		height: 40vw;
	}

	#get-started {
		background-position: 65%;
	}

	#our-stories p + p,#home-content p + p {
		padding-top: 0;
		padding-right: 0;
	}

	#newsletter .newsletter-item.signup-container {
		padding: 0 30px 0 15px;
	}

	#newsletter > .container {
		padding: 0;
	}

	#newsletter input[type="submit"] {
		width: calc(100% - 15px);
		margin: 8px 0 0 0;
	}

	#shop .button-add-to-cart {
		display: block;
		margin: 0 0 0 auto;
		top: -30px;
		position: relative;
		width: 160px;
	}

	#shop .quantity {
		margin: 0;
		vertical-align: middle;
	}

	#shop table tbody tr td {
		padding: 0 5px;
	}

	#shop table tbody tr td:last-child {
		text-align: right;
		width: 10%;
	}

	#shop table tbody tr td:nth-child(1) {
		width: 10%;
	}

	#shop table tbody tr td:nth-child(2) {
		width: 75%;
	}

	#shop table tbody tr td:nth-child(3) {
		width: 5%;
	}

	#form .wpcf7-form-control-wrap.Topic .wpcf7-list-item-label:after {
		margin-left: 5px;
	}

	#form div[role="form"] {
		margin: 0 -15px;
	}

	#form .wpcf7-form-control-wrap.Topic span.wpcf7-list-item {
		margin-right: 15px;
	}

	#form .form-item {
		padding: 0 15px;
	}

	#ovr-board .ovr-member:nth-child(3n+4) {
		clear: left;
	}

	nav #top-nav a {
		margin: 0 15px;
	}

	#menu-top-menu {
		text-align: center !important;
	}

	nav #nav {
		background-repeat: repeat;
	}

	#logo {
		width: 100%;
		float: none !important;
		background-size: cover;
		text-align: center;
	}

	nav #nav {
		background-position: top;
	}

	nav #nav #main-nav ul {
		text-align: center;
	}

	nav #nav #main-nav a {
		padding: 0 15px;
	}

	nav #nav #main-nav {
		width: 100% !important;
		float: none !important;
	}

	footer #footer-about {
		border-right: 0px solid #878787;
		width: 100%;
		float: none;
		padding-right: 0;
		border-bottom: 1px solid #878787;
		padding-bottom: 30px;
		margin-bottom: 30px;
	}

	footer #footer-menu {
		width: 100%;
		float: none;
		padding-left: 0;
		margin: 0;
	}

	footer #footer-menu ul {
		width: 32.5% !important;
	}

}
@media screen and (min-width:768px){
	#home-content .home-image img{
		display:none;
	}
}
@media (min-width:481px) and (max-width:767px) {
	#event_documents li  a.document-link {
		line-height: 1.3;
		margin-bottom: 0;
		padding: 7.5px 0;
		display: block;
	}
	#event_documents li {
		display: block;

	}
	#event_documents {
		padding: 7.5px 15px;
	}
	



	#race-categories .race-category > div{
		padding: 0;
	}

}
@media (min-width:0px) and (max-width:767px) {
	#tribe-events-pg-template{
		padding-top:0!important;
	}
	#tribe_events_filters_wrapper label{
		margin-bottom:0!important;
	}
	.page-template-page-results .list-item {
		padding-bottom:0!important;
	}
	.page-template-page-results .list-item .documents{
		position: relative;
		width: calc(100% + 30px);
		margin-left: -15px;
		left: inherit;
		bottom: inherit;
		margin-top:15px;
	}
	.page-template-page-results .list-item .event-title{
		margin-top:0;
	}
	#race-categories .race-category .default-content img{
		max-width:70%;
	}
	.tribe-events-sub-nav .tribe-events-nav-left a span,
	.tribe-events-sub-nav .tribe-events-nav-right a span {
		display: inline-block;
		content: none;
		position: inherit;
		left: inherit;
		top: inherit;
		right:inherit;
	}
	#tribe-events div.tribe-events-single-event-description{
		padding: 15px;
	}
	.tribe-events-sub-nav li a[rel="prev"],
	.tribe-events-sub-nav li a[rel="next"]{
		padding: 0!important;
	}
	.float-num{
		display: none;
	}
	#tribe-events-content .tribe-events-calendar td{
		padding-top: 5px;
	}

	#events-results > div.active   .event-li{
		width: 100%;
		float:none;
	}
	.list-item {  
		height: auto; 
		padding: 30px 15px 80px 15px !important;
	}
	.list-item .event-title {
		font-size: 24px;
	}
	.events-gridview h2.tribe-events-page-title {
		margin-bottom: 60px;
	}
	#events-results > div.active {
		/*  margin-bottom: 247px;*/
		height: 375px;
	}

	header .page-title{
		height: 200px;
	}
	header .page-title .title-inner h2:before, header .page-title .title-inner h2:after{
		display: none!important;
	}
	.no-results td{
		font-size: 16px!important;
	}
	#color-area + div img.alignleft,
	#color-area + div img.alignright {
		max-width: 100%;
		height: auto;
	}

	#event-links a {
		display: block !important;
		max-width: 100% !important;
		margin: 15px 0 !important;
		float: none !important;
	}

	#event-links + .add-to-calendar {
		width: 100%;
	}

	#color-area + div img.alignleft,
	#color-area + div img.alignright {
		float: none;
		margin: 0 0 15px 0;
		display: block;
	}

	.single-tribe_events .tribe-events-sub-nav li a[rel="prev"],
	#results .tribe-events-sub-nav li a[rel="prev"],
	#results-archive .tribe-events-sub-nav li a[rel="prev"] {
		margin-left: 0 !important;
		padding-left: 0 !important;
	}

	#color-area .details > div:not(:nth-child(3)) {
		margin-bottom: 15px;
	}

	#upcoming .table-heading {
		font-size: 26px;
	}

	body:not(.single-tribe_events) #color-area + div p {
	}

	#upcoming,
	#upcoming tr,
	#upcoming table,
	#upcoming tbody,
	#upcoming thead,
	#upcoming th,
	#results,
	#results tr,
	#results table,
	#results tbody,
	#results thead,
	#results th ,
	#results-archive,
	#results-archive tr,
	#results-archive table,
	#results-archive tbody,
	#results-archive thead,
	#results-archive th {
		display: block;
		width: 100% !important;
		font-size: 0;
	}

	#upcoming tr,
	#upcoming tr {
		results: 7.5px 0;
	}

	#upcoming thead,
	#results thead,
	#results-archive thead {
		display: none;
	}

	#upcoming table tbody tr td:nth-child(5) {
		display: block;
		width: 100% !important;
	}

	#upcoming table tbody tr td {
		padding: 7.5px 15px !important;
		font-size: 14px;
		display: inline-block;
		width: 50% !important;
		height: auto;
	}

	#results table tbody tr td,
	#results-archive table tbody tr td {
		padding: 7.5px 7.5px !important;
		font-size: 14px;
		display: inline-block;
		width: auto !important;
		height: auto;
	}

	#results .shop-table li,
	#results-archive .shop-table li {
		margin-right: 10px;
		margin-bottom: 0;
	}

	.list-item .documents a,
	.header .documents a {
		font-size: 12px!important;
	}

	.list-item .documents li ,
	.header.documents li {
		margin-right: 10px!important;
	}


	#upcoming br {
		display: none;
	}

	#tribe-events-footer:after,
	#tribe-events-footer:before,
	#tribe-events-header:after,
	#tribe-events-header:before {
		display: none;
	}

	.tribe-events-sub-nav li a[rel="prev"] {
		background: #666;
		color: #fff;
		display: block;
		margin-bottom: 0;
		padding-bottom: 0;
		padding: 3px 0 0 25px;
		position: relative;
		white-space: normal;
		font-size: 12px;
		background: transparent;
		color: black !important;
	}

	.tribe-events-sub-nav li a[rel="next"] {
		background: #666;
		color: #fff;
		display: block;
		margin-bottom: 0;
		padding-bottom: 0;
		padding: 3px 25px 0 0;
		position: relative;
		white-space: normal;
		font-size: 12px;
		background: transparent;
		color: black !important;
	}

	.list-item .flag {
		width: 50px;
		height: 50px;
	}

	.list-item .event-title,
	.list-item .event-category {
		z-index: 2;
	}

	.list-item .tribe-reg {
		position: static;
	}

	.tribe-events-loop .tribe-events-event-meta {
		background: transparent !important;
		border: 0 !important;
		margin-top: 0 !important;
		padding: 0 !important;
	}

	#inner-nav ul li a {
		font-size: 12px;
	}

	#tribe_events_filters_wrapper label span {
		font-size: 10px;
	}

	.tribe-events-calendar td div[id*=tribe-events-daynum-],
	.tribe-events-calendar td div[id*=tribe-events-daynum-] a {
		margin: 0;
	}

	#get-started > .container >div.col-sm-4 {
		text-align: center;
	}

	#get-started img {
		position: relative;
		bottom: -70px;
		margin: 0 auto;
		max-width: 100%;
	}

	#events-results .event-content span {
		font-size: 14px;
		word-spacing: 0;
	}

	#events-results .event-image img {
		max-width: 30px;
	}

	.post.download-post .document a {
		font-size: 14px;
		line-height: 1;
		margin: 0;
	}

	.post.download-post .document a:after {
		position: relative;
		top: 2px;
	}

	.post.download-post .document {
		text-align: left;
		padding: 0;
	}

	.post {
		padding: 15px;
	}

	.post .excerpt.with-image .content {
		padding-top: 0 !important;
	}

	.post .excerpt .image {
		margin: 0 15px 0 0 !important;
	}

	.post .excerpt .image img {
		max-width: 150px;
		height: auto;
	}

	.post .excerpt p {
		margin: 0;
		text-align-last: left;
	}

	#sidebar {
		position: static;
		height: auto;
		margin-bottom: 30px;
	}

	#sidebar .inner {
		border-bottom: 1px solid #150d49;
		border-right: 0;
	}

	#home-content .home-image div {
		font-size: 30px;
		width: 202px;
		line-height: 1;
		top: -20px;
		left: -5px;
		position:absolute;
	}
	#home-content .home-image img{
		width:100%;
	}

	#home-content .home-image {
		position: relative;
		height: auto;
		float: none;
	}

	#home-content .home-content {
		float: none;
		padding: 15px 0;

	}

	#get-started > .container >div {
		padding-right: 15px;
	}

	#our-stories img {
		float: none;
		max-width: 100%;
		height: auto;
		width:100%;
	}

	#our-stories p ,#home-content p{
	}

	#our-stories p + p {
		padding-top: 0;
		padding-right: 0;
	}

	#partners li {
		width: 50%;
		padding: 15px;
		text-align: center;
	}

	footer {
		background-size: cover;
	}

	.newsletter-item,
	#newsletter .container .container {
		padding: 0;
	}

	#newsletter input[type="submit"] {
		width: calc(100% - 30px);
		margin: 30px 0 0 0;
		float: none;
	}

	#newsletter .signup-container {
		text-align: center;
	}

	#shop .button-add-to-cart {
		display: block;
		margin: 0 0 0 auto;
		top: -30px;
		position: relative;
		width: 160px;
	}

	#shop .quantity {
		margin: 0;
		vertical-align: middle;
	}

	#shop table tbody tr td,
	#upcoming table tbody tr td {
		padding: 0 5px;
	}

	#shop table tbody tr td:last-child {
		text-align: right;
		width: 10%;
	}

	#shop table tbody tr td:nth-child(1) {
		width: 10%;
	}

	#shop table tbody tr td:nth-child(2) {
		width: 75%;
	}

	#shop table tbody tr td:nth-child(3) {
		width: 5%;
	}

	#upcoming table tbody tr td:nth-child(1) {
		width: 20%;
	}

	#upcoming table tbody tr td:nth-child(2) {
		width: 25%;
	}

	#upcoming table tbody tr td:nth-child(3) {
		width: 10%;
	}

	#upcoming table tbody tr td:nth-child(4) {
		width: 15%;
	}

	#upcoming table tbody tr td:nth-child(5) {
		width: 10%;
	}

	#upcoming table tbody tr td:nth-child(6) {
		width: 10%;
	}

	h2 {
		font-size: 20px;
	}

	#form .wpcf7-form-control-wrap.Topic {
		height: auto;
		line-height: 25px;
		padding: 15px;
	}

	#form .wpcf7-form-control-wrap.Topic .wpcf7-list-item-label:after {
		margin-left: 5px;
	}

	#form div[role="form"] {
		margin: 0 -15px;
	}

	#form .wpcf7-form-control-wrap.Topic span.wpcf7-list-item {
		margin-right: 15px;
	}

	#form .form-item {
		padding: 0 15px;
	}

	#ovr-board .ovr-member:nth-child(2n+3) {
		clear: left;
	}

	#gallery-content .lg_thumb:not(.with-caption) {
		margin-bottom: 30px !important;
	}

	#gallery-content .lg_thumb:not(.with-caption) img {
		width: 100%;
	}

	nav #nav #logo a {
		padding: 0 15px;
	}

	nav #nav #logo {
		font-size: 28px;
	}

	div#logo {
		width: 100%;
		font-size: 20px;
		background-size: cover;
		background-position: right;
	}

	a#logo {
		width: 75%;
	}

	.mn-navigation-wrap {
		position: absolute;
		width: auto;
		top: 42px;
		right: 0;
		background-color: transparent;
	}

	html {
		margin-top: 0 !important;
	}

	p {
		font-size: 14px;
	}

	footer .footer-images img:nth-child(2) {
		margin-bottom: 0;
	}

	footer .footer-images {
		max-width: 200px;
	}

	footer #footer-about {
		border-right: 0px solid #878787;
		width: 100%;
		float: none;
		padding-right: 0;
		border-bottom: 1px solid #878787;
		padding-bottom: 30px;
		margin-bottom: 30px;
	}

	footer #footer-menu {
		width: 100%;
		float: none;
		padding-left: 0;
		margin: 0;
	}

	footer #footer-menu ul {
		width: 32.5% !important;
	}

}

@media (min-width:0px) and (max-width:600px) {
	.list-item .documents a,
	.list-item .documents{
		line-height: 30px;
	}
	.list-item .documents li {
		margin-right: 0;
		display: block;
	}
	.page-template-page-results #tribe_events_filter_item_eventcategory .tribe-events-filter-group li{
		width: 100%!important;
	}
	#inner-nav ul li {
		width: 100%;
	}

	#tribe_events_filter_item_eventcategory .tribe-events-filter-group li {
		width: 100% !important;
		text-align: center;
		padding: 0;
	}

	#tribe_events_filters_wrapper label span {
		font-size: 14px;
	}

	#tribe_events_filters_wrapper label span {
		width: 100% !important;
		text-align: center;
		padding: 0;
	}

}

@media (min-width:0px) and (max-width:550px) {
	

	#partners li {
		width: 100%;
		padding: 15px 0;
		text-align: center;
	}

	#shop .quantity input.minus,
	#shop .quantity input.plus {
		width: 30px;
	}

	#shop .button-add-to-cart {
		width: 130px;
	}

	#shop .table-heading {
		font-size: 16px;
		line-height: 20px;
		padding: 15px 5px;
	}

	#shop table tbody tr td:nth-child(2),
	#shop table thead tr th:nth-child(2) {
		display: none;
	}

	#ovr-board .ovr-member,
	#form .form-item {
		width: 100% !important;
		clear: both;
		float: none;
		text-align: center;
	}

	#form h2,
	#ovr-board h2 {
		text-align: center;
	}

	div.wpcf7 img.ajax-loader {
		display: none;
	}

	#form input[type="submit"] {
		float: none;
	}

	#ovr-board .ovr-member > img {
		margin: 0 auto 20px auto;
	}

	#form .wpcf7-form-control-wrap.Topic span.wpcf7-list-item {
		margin-right: 0;
		display: block;
	}

	#form .wpcf7-form-control-wrap.Topic .wpcf7-list-item-label:after {
		display: none;
	}

	#form .wpcf7-form-control-wrap.Topic .wpcf7-list-item-label:before {
		content: "";
		border: 1px solid #1b144e;
		width: 14px;
		height: 14px;
		border-radius: 50%;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		margin: 0px auto 10px auto;
		display: block;
		cursor: pointer;
		position: relative;
		top: 0;
	}

	#form .wpcf7-form-control-wrap.Topic {
		padding: 0 15px 15px 15px;
	}

}

@media (min-width:0px) and (max-width:480px) {
	footer #footer-menu ul{
		margin-bottom: 15px;
		text-align: center;
	}
	#race-categories {
		display:none;
	}
	#race-categories .race-category {
		width: 100%;
	}
	header svg{
		position: absolute;
		right: 15px;
		bottom: 15px;
		z-index: 222;

	}
	#results-archive .archive-row .header .title{
		font-size: 16px;
	}
	#results table tbody tr td,
	#results-archive table tbody tr td{
		display: block!important;
	}
	#event_documents li  a.document-link {
		line-height: 1.5;
		margin-bottom: 0;
		font-size: 12px;
		padding: 7.5px 0;
		display: block;
	}
	#event_documents li {
		display: block;
		margin: 0;
	}
	#event_documents {
		padding: 7.5px 15px;
	}
	

	#event_documents,
	#results-archive .archive-row .header .documents {
		line-height: 30px;
	}

	#color-area .header h1 {
		font-size: 20px;
		line-height: 1.3;
	}

	#upcoming table tbody tr td {
		padding: 15px 15px !important;
		font-size: 14px;
		display: block;
		width: 100% !important;
		height: auto;
	}

	.tribe-events-page-title {
		font-size: 24px !important;
	}

	.list-item .event-title {
		font-size: 20px;
	}

	.list-item .tribe-event-schedule-details  > div,
	.list-item .tribe-venue {
		font-size: 14px;
		line-height: 1.3;
	}

	.list-item .add-to-calendar {
		position: static;
		margin: 15px 0 30px 0;
	}

	header .scroll-down {
		bottom: 15px !important;
	}

	.flexslider .slides li {
		height: calc(100vh - 110px) !important;
		min-height: 0 !important;
	}

	#events-results {
		display: none;
	}

	.post .info {
		font-size: 10px;
	}

	.post .title a {
		font-size: 16px;
	}

	.post.post .excerpt.with-image {
		margin-top: 0;
	}

	.post .excerpt .image {
		float: none;
		margin: 0 auto !important;
	}

	#gallery-content .lg_thumb:not(.with-caption) {
		margin-bottom: 30px !important;
	}

	#gallery-content .lg_thumb:not(.with-caption) img {
		width: 100%;
	}

	#gallery-content .lgf-item {
		width: 100% !important;
	}

	nav #top-nav a {
		font-size: 10px;
		margin: 0 5px;
	}

	nav #nav #logo {
		font-size: 16px;
	}

	nav #top-nav #menu-top-menu {
		text-align: center !important;
	}

	footer .footer-images img {
		margin: 0 auto 30px auto;
	}

	footer .footer-images {
		float: none;
		padding-top: 0;
		margin-right: 0;
		max-width: 100%;
	}

	footer .footer-content {
		margin-top: 30px;
	}

	footer .footer-content p {
	}

	footer #footer-menu ul {
		width: 100% !important;
	}

	footer:after {
		height: 100%;
	}

}