/* Mobile Layout (Portrait/320px) 
----------------------------------------------- */
@media only screen 
and (max-width: 767px) 
{

/* Generic Styles */

html {
	-webkit-text-size-adjust: none;
	}
	
img {
	max-width: 100%;
	min-width: auto;
	height: auto;
	width: auto\9; /* ie8 */
	}

.twtr-hd h4 a {
	margin: 20px 0 0 26px !important;
	}

.twtr-hd {
	padding: 10px 10px 0px 10px !important;
	}	
/* Main Nav */
#topnav ul.ddmx {
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	overflow: hidden;
}

/* 2nd Nav */
#nav2 {
	width: 95%;
	}
	
/* Page Structure */
#container {
	width: 95%;
	}

/* Home Page Styles */	
.col_wrapper {
	float: none;
	clear: both;
	width: 100%;
	left: 0px;
	margin: 0 auto;
	}
	
#col1,
#col2,
#col3 {
	width: 100%;
	position: relative;
	}

#col1 {
	left: 0;
	}
	
#col2 {
	left: 0;
	}
	
#col3 {
	left: 0;
	}
	
#content .box {
	background: #fff;
	width: 304px;
	height: 193px;
	margin: 0px auto 18px auto;
	overflow: hidden;
	}
	
#box1 {
	width: 304px;
	height: auto;
	margin: 0px auto 18px auto;
	}

#box2 {
	width: 304px;
	height: auto;
	margin: 0px auto 18px auto;
	}

#box8 {
	width: 304px !important;
	height: auto !important;
	padding: 0 0 0 0;
	margin: 0px auto 18px auto;
	}
	
/* Home Page Double Box Styles */
#col2_double {
	clear: both;
	float: none;
	width: 100%;
	left: 0px;
	}

#col2_double #box3 {
	width: 100%;
	}

#col2_double #box4,
#col2_double #box5 {
	float: none;
	}

#col2_double #box7,
#col2_double #box8 {
	float: none;
	}

/* Header */
#top_wrapper {
	height: 100%;
	position: relative;
	padding: 17px 0px 17px 0px;
	}
	
#header {
	width: 100%;
	position: relative;
	}

#logo a {	
	margin: 0px auto;
	float: none;
	position: relative;
	}

#top_wrapper_right {
	float: none;
	width: 100%;
	}
	
#annual_race {
	float: none;
	margin: 10px 0px 0px 0px;
	}
	
#annual_race img {
	margin: 0px auto;
	display: block;
	}
	
#countdown {
	float: none;
	margin: 8px 0px 0px 0px;
	}

#marathon_timer {
	float: none;
	margin: 0px auto;
	}
	
#socialbar_sm {
	float: none;
	clear: both;
	margin: 0px auto;
	display: block;	
	height: 14px;
	}

/* Home Rotator */	
.flex-control-nav {
	display: none;
	}

.wrapper_name {
	background: url('/media/structure/bg_000_50.png');
	width: 100%;
	font-size: 9px;
	padding: 0px 0px 0px 2%;
	bottom: 0%;
	}

.flex-direction-nav li a.next {
	right: -1.8%;
	top: 8%;
	}
	
.flex-direction-nav li a.prev {
	left: 85% !important;
	top: 8%;
	}

/* Content Page Styles */
#content_banner {
	background: #000;
	width: 95%;
	height: auto;
	padding: 10px;
	}

#content_banner img {
	width: 100%;
	}

.wrapper_left_header {
	float: none;
	margin: 0 0 8px 0;
	width: 100%;
	}

h1.left_header {
	font-family: Verdana;
	font-weight: bold;
	font-size: 22px;
	color: #333;
	text-align: center;
	}
	
#mobileMenu_sidenav.mobileMenu {
	width: 100%;
	padding: 8px;
	margin: 0 0 12px 0;
	display: block;
	background: url('/media/structure/bg_drop.png') no-repeat 97% 50% #EF2C26;
	-webkit-appearance: none;
	color: #fff;
	position: relative;
	top: 0px;
	font-size: 16px;
	border: 1px solid #777;
	text-transform: uppercase;
	}

#content_col1 {
	width: 100%;
	float: none;
	padding: 0 0 0 0px;
	}

#content_col2 {
	width: 100%;
	float: none;
	clear: both;
	border-top: 1px dotted #333;
	padding: 20px 0 0 0;
	}

#content_col2 h1.page_title {
	margin: 0 0 20px 0;
	/*text-align: center;*/
	font-size: 26px;
	}	
	
#content_col2 h2 {
	font-size: 20px;
	margin: 6px 0px 12px 0px;
	line-height: 120%;
	}	

#content_col2 h3 {
	font-size: 16px;
	font-weight: bold;
	line-height: 120%;
	margin: 0px 0px 12px 0px;
	}

#content_col2 h4 {
	font-size: 14px;
	font-weight: bold;
	line-height: 120%;
	margin: 0px 0px 12px 0px;
	}
	
#content_col2 P {
	margin: 0 0 12px 0;
	font-size: 15px;
	line-height: 175%;
	}

#content_col2 ul li {
	background: url('/media/structure/bullet.gif') no-repeat 1px 12px;
	margin: 0 15px 7px 15px;
	font-size: 15px;
	line-height: 175%;
	}

/* content_charity.php Styles */
.charity_top img {
	display: block;
	margin: 0px auto;
	}
	
.charity_title {
	clear: both;
	position: relative;
	}

.charity_links {
	position: relative;
	display: inline-block;
	margin: 0px auto;
	}
	
/* Tables */
#content_col2 table {
	width: 100% !important;
	}
	
/* Footer */
#footer_wrapper {
	background: url('/media/structure/bg_footer_wrapper_mobile.png') no-repeat 50% 25%;
	}

#sponsorbar {
	padding: 4px 0px 6px 0px;
	float: none;
	}

#sponsorbar a {
	display: block;
	width: 50%;
	float: left;
	text-align: center;
	background: #000;
	}
	
#footercols {
	clear: both;
	width: 100%;
	margin: 75px auto;	
	}
	
.fcol {
	float: none;
	}	

.fcol a {
	font-size: 16px;
	line-height: 160%;
	}
	
#footercol1,
#footercol2,
#footercol3,
#footercol4 {
	padding-bottom: 25px;
	}	

#footercol1,
#footercol2,
#footercol3,
#footercol4,
#footercol5 {
	width: 100%;
	max-width: 95%;
	padding: 0 1.8% 0 1.8%;
	}

.fcol h1 {
	font-size: 20px;
	margin: 6px 0px 12px 0px;
	padding: 12px 0 0 0;
	line-height: 120%;
	}
	
#footercol5 {
	padding-top: 25px;
	max-width: 95%;
	width: 100%;
	}
	
.badgecontent {
	clear: both;
	margin-top: 35px;
	font-family: Verdana;
	font-size: 16px;
	line-height: 140%;
	padding: 2.8%;
	}	

.socialbar a {
	display: block;
	float: left;
	padding: 0 8% 0 0;
	}
	
.socialbar {
	width: 75%;
	float: none;
	padding-left: 20%;
	}
	
.webDesignBy {
	clear: both;
	float: none;
	width: 95%;
	padding-top: 20px;
	}
	
span.copyright {
	display: block;
	float: none;
	padding-left: 20%;
	}
	
span.impello {
	display: block;
	float: none;
	padding-left: 26%;
	}
} /* End Mobie Layout Portrait */

/* Mobile Layout (Landscape/480px) 
----------------------------------------------- */
@media only screen 
and (min-width: 480px) 
and (max-width: 767px)
and (orientation : landscape) {
/* Generic Styles */
html {
	-webkit-text-size-adjust: none;
	}
	
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
	}

.twtr-hd h4 a {
	margin: 20px 0 0 26px !important;
	}

.twtr-hd {
	padding: 10px 10px 10px 10px !important;
	}
	
/* Page Structure */
#container {
	max-width: 95%;
	width: 100%;
	margin: 0px auto;
	}

	
#col1 {
	width: 100%;
	float: left;
	left: 0;
	}

#col2 {
	width: 50%;
	left: 0;
	float: left;
	margin-top: 18px;
	}
	
#col3 {
	width: 50%;
	left: 0;
	float: right;
	margin-top: 18px;
	}

#col2 {
	clear: both;
	}

#content .box {
	width: 260px !important;
	height: 200px;
	margin-bottom: 10px;
	}
	
#box1 {
	float: left;
	}

#box2 {
	float: right;
	}	
	
#box1,
#box2{
	width: 50%;
	height: auto;
	}

#box8 {
	width: 100% !important;
	height: 200px !important;
	overflow: hidden !important;
	padding: 0;
	}
	
/* Home Page Double Box Styles */
#col2_double {
	clear: both;
	float: none;
	width: 100%;
	left: 0px;
	}

#col2_double #box3 {
	width: 100% !important;
	}

#col2_double #box3 {
	width: 646px;
	}

#col2_double #box4,
#col2_double #box5 {
	float: left;
	}

#col2_double #box7,
#col2_double #box8 {
	float: right;
	}
	
#col2_double #box6 {
	display: none;
	}

/* content_charity.php Styles */
.charity_top img {
	display: block;
	margin: 0px auto;
	}
	
.charity_title {
	clear: both;
	position: relative;
	}

.charity_links {
	position: relative;
	display: inline-block;
	margin: 0px auto;
	}
	
/* Header */
#top_wrapper {
	height: 98px;
	}
	
#logo a {
	float: left;
	margin: 0 0 0 2.8%;
	}
	
#top_wrapper_right {
	float: right;
	width: 50%;
	margin: 0 2.8% 0 0;
	}
	
#annual_race {
	float: right;
	}
	
#countdown {
	float: right;
	}

#socialbar_sm {
	float: right;

	}	

	
/* 2nd Nav */
#nav2 {
	width: 95%;
	}
		
/* Home Rotator */
.flex-control-nav {
	display: none;
	}

.wrapper_name {
	background: url('/media/structure/bg_000_50.png');
	width: 100%;
	font-size: 9px;
	padding: 0px 0px 0px 2%;
	bottom: 0%;
	}

/* Tables */
#content_col2 table {
	width: 100% !important;
	}
	
/* Footer */
#footer_wrapper {
	background: url('/media/structure/bg_footer_wrapper_mobile.png') no-repeat 50% 100%;
	}

#sponsorbar {
	padding: 4px 0px 6px 0px;
	background: #000;
	float: left;
	width: 100%;
	}

#sponsorbar a {
	display: block;
	width: 50%;
	float: left;
	text-align: center;
	background: #000;
	}
	
.fcol a {
	font-size: 16px;
	line-height: 160%;
	}

#footercol1,
#footercol2,
#footercol3,
#footercol4 {
	padding-bottom: 25px;
	}
	
#footercol1,
#footercol2,
#footercol3,
#footercol4,
#footercol5 {
	width: 100%;
	max-width: 45%;
	}

#footercols h1 {
	font-size: 20px;
	margin: 6px 0px 12px 0px;
	padding: 12px 0 0 0;
	line-height: 120%;
	}
	
#footercol1 {
	float: left;
	}
	
#footercol2 {
	float: left;
	}
	
#footercol3 {
	clear: both;
	float: left;
	}
	
#footercol4 {
	float: left;
	}
	
#footercol5 {
	clear: both;
	float: left;
	max-width: 95%;
	width: 100%;
	margin-top: 25px;
	}
	
.badges {
	float: left;
	width: 45%;
	}
	
.badgecontent {
	margin-top: 0px;
	clear: none;
	float: left;
	padding-top: 1.6%;
	font-family: Verdana;
	font-size: 16px;
	line-height: 140%;
	}		
		
.socialbar {
	padding: 0 0 0 2%;
	width: 45%;
	}

.socialbar a {
	padding: 0 8% 0 0;
	}
	
span.copyright {
	float: right;
	padding: 0 4% 0 0;
	}
	
span.impello {
	float: right;
	padding: 0 4% 0 0;
	}	
} /* End Mobie Layout Landscape*/

/* Tablet Layout (Portrait)
----------------------------------------------- */
@media only screen 
and (min-width: 768px) 
and (max-width: 991px) 
{

/* 2nd Nav */
#nav2 {
	width: 95%;
	}

/* Page Structure */
#container {
	width: 712px;
	}

/* Home Page Styles */
.col_wrapper {
	float: none;
	clear: both;
	left: 0px;
	margin: 0 auto;
	}
	
#col1 {
	width: 100%;
	float: left;
	left: 0;
	}

#col2 {
	width: 50%;
	left: 0px;
	float: left;
	margin-top: 18px;
	}
	
#col3 {
	width: 50%;
	left: 8px;
	float: right;
	margin-top: 18px;
	}

#col2 {
	clear: both;
	}
	
#box1 {
	float: left;
	}

#box2 {
	float: right;
	}	
	
#box1,
#box2{
	width: 50%;
	height: auto;
	}

/* home Page Double Box Styles  */
#col2_double {
	float: none;
	clear: both;
	left: 0px;
	margin: 0 auto;
	}
	
/* Header */	
#top_wrapper {
	width: 95%;
	}
	
#logo a {
	margin-left: 0;
	}

/* Content Page Styles */
#content_banner {
	background: #000;
	width: 100%;
	height: auto;
	padding: 10px;
	}

#content_banner img {
	width: 100%;
	}

#content_col1 {
	width: 35%;
	float: left;
	padding: 0 0 0 0px;
	}

#content_col2 {
	width: 60%;
	float: right;
	}
	
#content_col2 img {
	max-width: 100%;
	height: auto;
	}

/* content_charity.php Styles */
.charity_top img {
	display: block;
	margin: 0px auto;
	}
	
.charity_title {
	clear: both;
	position: relative;
	}

.charity_links {
	position: relative;
	}

/* Tables */
#content_col2 table {
	width: 100% !important;
	}
	
/* Footer */	
#footercols {
	width: 95%;
	margin: 75px auto;
	}
	
.fcol {
	float: none;
	}	
	
#footercol1 {
	float: left;
	width: 25%;

	}
	
#footercol2 {
	float: left;
	width: 25%;
	}
	
#footercol3 {
	float: left;
	width: 25%;
	}
	
#footercol4 {
	float: left;
	width: 25%;
	}
	
#footercol5 {
	clear: both;
	float: left;
	max-width: 95%;
	width: 100%;
	margin-top: 25px;
	}
	
.badges {
	float: left;
	width: 33%;
	}
	
.badgecontent {
	margin-top: 0px;
	clear: none;
	float: left;
	padding-top: 1.6%;
	}

.socialbar {
	padding: 0 0 0 4%;
	width: 30%;
	}

span.copyright {
	float: right;
	white-space: nowrap;
	padding: 0 4% 0 0;
	}
	
span.impello {
	float: right;
	padding: 0 4% 0 0;
	}	
} /* End Tablet Layout (Portrait) */
