/*
Theme Name: M3S Sports
Theme URI: http://www.m3ssports.com/
Description: This is the Wordpress template for M3S Sports.
Version: 2.0
Author: Heavy Robot
Author URI: http://heavyrobot.com/
Tags: m3ssports

*/

@import url("navigation_local.css");
/*@import url("navigation_lucid.css");*/

/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	/*list-style: none;*/
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* END CSS RESET */

/* CLEARFIX */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* END CLEARFIX */


body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Helvetica, sans-serif;
	background: #1b4181;
	color: #333;
	background: #002666 url('images/m3s_main_bg_v2.jpg') repeat-x;
	}
	
#container {
	width: 1024px;
	margin: 0 auto;
	
	font-size: 100%;
	min-height: 920px;
	/* border: 1px solid #000; */
}

p {color: #fff;}
strong {font-weight: bold;}

#header {padding-bottom: 12px;}

#headerimg {
	float: left;
	margin: 26px 0 0 76px;
}

#nav_container {
	float:left;
	margin-left:140px;
	/* margin-top:18px; */
	width:470px;
}
	
#mainnav ul {margin-top: 24px;}

#mainnav ul li {
	display: inline;
	margin-right: 36px;
	height: 60px;
}

#mainnav ul li ul li {
	height: inherit;
	margin-right: 0;
	padding: 4px 10px 6px;
}

#mainnav ul li.page-item-5 ul li a {
	margin-right: 0;
}

#mainnav ul li a {
	font-size: 2.0em;
	color: #fff;
	float: left;
}

#content.home {padding-left:110px;}
#content.internal, #content.events, #content.single, #content.archive {margin-left:95px; padding: 18px; background-color:#fff; width:788px;}

#content.events #sidebar {width: 142px; float: left; margin-top: 36px; border-right:2px solid #525355;}
#content.events #main {
	/* border-left:2px solid #525355; */
	float:left;
	left:-2px;
	margin-top:36px;
	padding-left:28px;
	position:relative;
	width:614px;
}

#content.events #main.halfmarathon {border-left: none; padding-left: 0; width: 100%;}
#content.events #main.fourmiler {border-left: none; padding-left: 0; width: 100%;}
#content.events #main.fivek {border-left: none; padding-left: 0; width: 100%;}

#content.archive #main {margin-top: 26px;}

#content.events .top {
	border-bottom:2px dotted #3F588A;
	margin-bottom:20px;	
}

#content.events .next {
	padding-bottom: 10px;
	border-bottom:2px dotted #3F588A;
}

#content.events .other {
	padding-top: 20px;
}


.important {
	border-bottom:2px dotted #3F588A;
	margin-bottom:20px;
	padding-bottom: 18px;
}

#content .important p { 
	font-size: 1.166667em;
	line-height:1.1;
	color: #646363;
}

#content.archive p { 
	font-size: 1.166667em;
	line-height:1.1;
	color: #646363;
}

#content .important p strong {font-size: 1.1428em; color: #000;}

#content.events h2 {color: #fb7a00; font-size: 1.5em; font-weight:bold; padding-bottom: 6px;}
#content.archive h2 {color: #fb7a00; font-size: 1.5em; font-weight:bold;}
#content.archive h2 a {color: #fb7a00; font-size: 1em; font-weight:bold;}
.post h2 a, .post h2 a:hover, .post h2 a:visited {color: #fb7a00; font-size: 1.5em; font-weight:bold;}

#content.internal #main h1, #content.events #main h1, #content.archive #main h1 {font-size: 2.75em; color: #fb7a00; text-align:left; padding: 10px 0;}
#content.events #main h1 {padding: 0 0 10px 0;}

#content.internal #main .post p, #content.events #main .post p {
	color:#000000;
	/* font-size:1.5em;*/
	line-height:1.3;
	padding:2px 14px 10px 0;
}

#content.internal #main .post p:first-child, #content.events #main .post p:first-child {
	/* padding: 0 14px 0 0; */
}



.calendar iframe html body {background-color: #E7EAF0;}

.home #main, .home #sub {width: 827px;}

.home #main {margin-top: 20px;}

.home #sub p {color: #fff;}

.home #main #imagebox {width: 589px; height: 344px; background: #ccc; float:left;}

.home #main #sidebox {width:184px; float: left; margin-left: 16px;}

.home #main #sidebox #twitterbox {width: 184px; height: 149px; background: #8eaee6; margin-bottom: 12px; overflow-y: auto;}
.home #main #sidebox #twitterbox p {font-size: 1.08333em; padding: 4px 14px; color: #fefefe; line-height:1.2;}
.home #main #sidebox #twitterbox p a {color: #fefefe; text-decoration: none;}
.home #main #sidebox #twitterbox p span.twitter-timestamp {color: #022867; font-size: .84615em; vertical-align:baseline;}
.home #main #sidebox #twitterbox #twitterimg {width: 164; border-bottom: 1px dashed #fff; margin: 0 12px; padding: 8px 0;}
.home #main #sidebox #facebookbox {width: 184px; height: 31px; background: #8eaee6; margin-bottom: 12px;}
.home #main #sidebox #facebookbox img {padding: 8px 12px;}
.home #main #sidebox #newsbox {width: 184px; height: 140px; background: #8eaee6;}
.home #main #sidebox #newsbox #newsimg {width: 164; border-bottom: 1px dashed #fff; margin: 0 12px; padding: 6px 0;}
.home #main #sidebox #newsbox #newsfeed {overflow-y: auto;}
.home #main #sidebox #newsbox #newsfeed p {font-size: 1.08333em; padding: 4px 14px; color: #fefefe; line-height:1.1;}
.home #main #sidebox #newsbox #newsfeed p a {color: #fefefe; text-decoration: none; line-height: 1.2;}
.home #main #sidebox #newsbox #newsfeed p span {color: #022867; font-size: .84615em; vertical-align:baseline;}

.home #sub {width: 788px; margin-top: 44px;}
.home #sub p {font-size: 1.6667em; text-align:center; line-height: 1.1; padding: 0 12px;}



#sidebar ul {
	list-style-image:url(images/dash.gif);
	list-style-position: outside;
	list-style-type: circle;
	margin-bottom: 20px;
	padding:0 16px;
}

#sidebar ul li { padding: 4px 0;}

#sidebar h2 {
	color: #fb7a00;
	font-size: 1.3333em;
	font-weight: bold;
	padding: 0 0 4px;
}

#sidebar ul li a {vertical-align:sub; color: #000; font-size: 1.3333em;}

#content.single .post {
	margin: 30px 0 0;	
}

#content.single .post p {
	color:#000000;
	font-size:1.5em;
	line-height:1.1;
	padding:6px 14px 6px 0;
}

#content.single .post p.editlink {font-size: .9em;}

#page {
	background-color: white;
	border: 1px solid #959596;
	text-align: left;
	}

#content {
	font-size: 1.2em
}

#content p {
	color: #000;
	padding: 2px 0;
	line-height: 1.4;
}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}
	
.narrowcolumn .entry {
	/* padding-bottom: 20px; */
	}

.narrowcolumn .racelist {
	padding-bottom: 20px;
}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

#footer {
	width: 824px;
	margin: 0 auto;
	float:left;
	margin: 10px 0 10px 95px;
	}
	
#footer .facebook {margin-left: 8px;}
#footer .twitter {margin-left: 10px;}
#footer .news {margin-left: 16px;}

a.post-edit-link {color: #DC2A34;}
a.post-edit-link:hover {color: #DC2A34;}
#content p.editlink {padding: 6px 0; font-size: 1.2em;}


.navigation .alignleft a, .navigation .alignright a {vertical-align:middle;}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {

	}

h1 {

	text-align: center;
	}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}

h2 {

	}

h2.pagetitle {

	}



h3 {

	}


.entry p a:visited {
	color:#FB7A00;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}


small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}


a, h2 a:hover, h3 a:hover {
	color: #FB7A00;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {

	}

#page {
	
	}


.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 0 0 0 150px;
	width: 450px;
	float: left;
	}

.post {
	margin: 26px 0 20px;
	text-align: justify;
	}
	
.events .post {margin-top: 0;}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}
/* End Structure */



/*	Begin Headers */
h1 {
	color:#FB7A00;
	font-size:2.75em;
	padding:10px 0;
	text-align:left;
	}

h1 a, h1 a:hover {color:#FB7A00;}

h2 {
	font-size:1.6em;
	font-weight:bold;
	padding-bottom:10px;
	}


h3 {
	padding: 0;
	font-size:1.5em;
	font-weight:bold;
	padding-bottom:10px;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
	
h4 {
	padding: 0;
	font-size:1.5em;
	font-weight:bold;
	padding:10px 0;
	}
	
h5 {
	padding: 0;
	font-size:1em;
	font-weight:normal;
	padding: 10px 0 0;
	color: #FB7A00;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding:4px 4px 0 10px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 4px 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	padding:0 10px 10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	/* content: "\00BB \0020"; */
	}

.entry ol {
	padding:0 10px 0 20px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/


.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */


/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}


blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 20px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

#content.internal #main .post p.wp-caption-text, #content.events #main .post p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* UPDATES */
#sub-container {width: 827px; margin-top: 20px; color: #022867;}
#sub-container p {color: #022867;}
#sub-container a {color: #022867; text-decoration: underline;}
#sub-container a:hover {color:#648fd5;}
/* Featured Race */
#sub-left {width: 281px; height: 206px; background-color: #fff; margin-right: 18px; float: left; border-top:1px solid #6B7EA0;}
#featured {
	height:170px;
	overflow:auto;
	padding:26px 10px 10px 20px;
}
#featured .featured-header {float: left;margin-bottom: 10px;}
.featured-race .thumb, .featured-race .attachment-post-thumbnail {
	float:right;
	padding-bottom:10px;
	padding-left:10px;
}
#featured #featured-text {padding-top: 10px;}
#featured #featured-text h2 {font-size: 16px; line-height:1.5;}
#featured a {text-transform:uppercase;}

#featured .no-thumb a, #featured .no-thumb p, #featured .no-thumb h2 {
	float: left;
}

/* Training Tip of the Day */
#sub-center {
	width: 289px; 
	height: 206px; 
	background: #fff url('images/tip-of-day-bg.jpg') no-repeat top right; 
	margin-right: 17px; 
	float: left;
	border-top:1px solid #6B7EA0;
}
#center-holder {
	height:154px;
	overflow:auto;
	padding:26px 20px;
}
#center-holder a.post-edit-link {font-size: 12px; color:#DC2A34;}
#center-header {margin-bottom: 10px;}

#center-text-holder {width: 190px;}

/* eNewsletter */
#sub-right {width: 184px; height: 206px; background-color: #fff; float: left; border-top:1px solid #6B7EA0;}
#right-holder {padding:26px 17px 18px;}
.newsletter-box {text-align:center;}
.newsletter-box a {color: #022867;}

/* Newsletter header */
#newsletter-header{
	float:right;
	position:relative;
	right:115px;
	top:-22px;
}

#sharethis {margin-bottom: 10px;}


#content.blog {
	margin-left:95px;
	padding: 18px;
	background-color:#fff;
	width:788px;
}

#content.blog #main {width: 570px; float: left; clear: left; text-align: left;}

#content.blog #main .post {text-align: left;}

#content.blog #sidebar {width: 160px;  float: right; clear: right; margin-top: 25px; }

#content.blog #sidebar li a {font-size: 100%;}

#content.blog #sidebar h2 {font-size: 14px;}
#content.blog #sidebar h3 {font-size: 12px; margin-bottom: -.5em;}
#content.blog #sidebar h3 a:hover {text-decoration: underline; }

#content.blog #sidebar ul {list-style-image: none; list-style-type: none; margin-left: 0; padding-left: 0;}
#content.blog #sidebar ul li {margin-left: 0; padding-left: 0}

