/*
Theme Name: CTSM
Theme URI: http://www.crosstrainingsanmarco.com/blog
Description: To get the word out. Word.
Version: 1.0
Author: Onrelease Inc.
Author URL: http://www.onrelease.com
Tags: red, black, custom header, fixed width, two columns, widgets
 
 <!-- Thanks Mike -->

*/



/* Begin Typography & Colors */

/* ---- clear all ---- */
/* ---------------- */

html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td  { margin : 0; padding : 0; }
h1,h2,h3,h4,h5,h6 { font-size : 100%; }
ol,ul { list-style : none; }
table { border-collapse : collapse; border-spacing : 0; }
fieldset,img { border : 0;}

body {
	font : 90%/1.6em "Trebuchet MS", "Lucida Grande","Lucida Sans Unicode", Verdana, sans-serif;
	text-align: center;
	background: transparent url(images/body_back_tall.gif) repeat-x 0 0;
}


#wrapper {
	position: relative;
	width: 850px;
	margin: 0 auto;
	text-align: left;
}

#header {
	position: relative;
	margin:0;
	padding: 0 10px;
 	width: 830px;
 	float: left;
 	border-bottom: 1px solid #000;
 	height: 350px;
 	background:transparent url(images/header_bckgrd.jpg) no-repeat 0 0;
}

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

.thread-alt { background-color: #f8f8f8; }

.thread-even { background-color: white; }

.depth-1 { border: 1px solid #ddd; }

/* .even, .alt { border-left: 1px solid #ddd; } */

small {
	font-size: 0.8em;
	padding-btottom: 10px;
	}

h2, h3 {
	font-weight: bold;
	}

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

h2 { font-size: 1.25em; }

h2.pagetitle { font-size: 1.2em; }

#sidebar h2 { font-size: 1.2em; }

h3 { font-size: 1.1em; }

cite { text-decoration: none; }

/* .sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
} 

.sticky h2 { padding-top: 10px; }*/

.commentlist li, #commentform input, #commentform textarea { font-size: 0.9em; }

.commentlist li ul li { font-size: 1em; }

.commentlist li { 
	background-color: #f8f8f8;
	border: none;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	 }

.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;
	}

.commentmetadata { font-weight: normal; }

#sidebar { font-size: .9em; }

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

code { font-size: 1.1em; }

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
}


/* End Typography & Colors */



/* Begin Structure */

body {
	margin: 0 0 20px 0;
	padding: 0;
	}

#page {
	background-color: white;
	margin: 20px auto;
	padding: 0;
	width: 760px;
	border: 1px solid #959596;
	}

.narrowcolumn, .widecolumn {
	padding: 15px 20px 15px 10px;
	position: relative;
	float: left;
	width: 445px;
	margin-bottom: 15px;
}

.post {
	margin: 0 0 40px;
	text-align: letf;
	}

.widecolumn .post { margin: 0; }

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

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

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

.postmetadata { 
	font-size: .875em;
	clear: both;
}

.clear { clear: both; }

/* End Structure */

/*	Begin Headers */

h2 { color: #c73520; }

h2.pagetitle {
	margin-top: 0;
	text-align: left;
}

#sidebar h2 {
	margin: 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 10px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* 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;
	margin: 0 0 2px 7px;
	display: inline;
	}

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

.alignright { float: right; font-size: .875em; }

.alignleft { float: left; font-size: .875em;}

/* 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 {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -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 0 0 35px;
	margin: 0;
	}

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

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

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select { margin: 5px 0 8px; }

#sidebar ul ul, #sidebar ul ol { margin: 5px 0 0 0; }

#sidebar ul ul ul, #sidebar ul ol { margin: 0; }

ol li, #sidebar ul ol li { list-style: decimal outside; }

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* 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; }

/* This is mainly for password protected posts, makes them look better. */
.entry form { 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*/
.alt {
	margin: 0;
	padding: 10px;
	}

.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 Sidebar */
#sidebar {
	padding: 15px 10px 15px 20px;
	text-align: left;
	float: left;
	width: 345px;
}

#sidebar form { margin: 0; }

/* End Sidebar */



/* Begin Calendar */

#wp-calendar a:link, #wp-calendar a:visited { 
	color: #666;
	text-decoration: underline;
	font-weight: bold;
}
	
#wp-calendar a:hover, #wp-calendar a:active { color: #c73520; text-decoration: underline; }

#wp-calendar caption {
	color: #c73520;
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	text-align: center;
	}
	
#wp-calendar caption { text-decoration: none; }

#wp-calendar {
	empty-cells: show;
	margin: 0;
	width: 189px;
}


#wp-calendar #next a {
	padding-right: 0;
	text-align: right; 
	text-decoration: none;
}

#wp-calendar #prev a { 
	padding-left: 0;
	text-align: left;
	text-decoration: none;
}

#wp-calendar a { display: block; }

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

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


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

acronym, abbr { border-bottom: 1px dashed #999; }

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; }
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

/* a img { border: none; } */

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* 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;
}

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


/* ---- footer ---- */
#clearfooter {
	clear: both;
}

#footer { 
	/* background: transparent url(../images/ifooter_back.gif) repeat-x 0 0; */
	width: 100%;
	color: #000;
	height: 50px;
} 

#innerFooter {
	text-align: center;
	margin: 0 auto;
	position: relative;
	width: 850px;
}

/* ---- type ---- */
/* ---------------- */

.entry p, .entry ol, .entry ul {
	padding-bottom: 15px;
	font-size: .9em; 
}

#innerFooter p {
	padding-left: 15px;
	padding-top: 25px;
	padding-bottom: 0;
	font-size: 70%;
}

/* ---- Links ---- */
/* ---------------- */

a:link, a:visited { color: #666; text-decoration: underline; }
a:hover, a:active { color: #c73520; }
#innerFooter a:link, #innerFooter a:visited { color: #666; }
#innerFooter a:hover, #innerFooter a:active { color: #c73520; }
h2 a:link, h2 a:visited, h3 a:link, h3 a:visited { color: #c73520; text-decoration: none; }
h2 a:hover, h2 a:active, h3 a:hover, h3 a:active { color: #c73520; text-decoration: underline; }

/* ---- Header ---- */
/* ---------------- */

h1 {
	position: absolute;
	top: 15px;
	left: 21px;
 	width: 282px;
 	height: 63px;
 	text-indent: -9999px;
 	background: transparent url(images/logo.gif) no-repeat 0 0;
 }
	
h1 a {
	display: block;
 	margin: 0;
 	padding: 0;
 	width: 100%;
 	height: 100%;
 	text-decoration: none;
}

/* ---- Main Nav ---- */
/* ---------------- */

#mainNav {
	position: absolute;
	top: 55px;
	right: 10px;
	list-style: none;
	width: 492px;
}

#mainNav li {
	float: left;
	margin: 0;
	padding: 0;
	height: 55px;
	text-indent: -9999px;
}
	
#mainNav a {
	display: block;
	width: 100%;
	height: 55px;
	text-decoration: none;
}
	
#mainNav #navApproach, #mainNav #navApproach a {
	width: 100px;
	background: transparent url(images/fitness_nav.gif) no-repeat 0 0;
}
	
/*#mainNav #navBootcamp, #mainNav #navBootcamp a {
	width: 94px;
	background: transparent url(images/bootcamp_nav.gif) no-repeat 0 0;
}*/
	
#mainNav #navPrograms, #mainNav #navPrograms a {
	width: 99px;
	background: transparent url(images/program_nav.gif) no-repeat 0 0;
}
	
#mainNav #navFacility, #mainNav #navFacility a {
	width: 80px;
	background: transparent url(images/facility_nav.gif) no-repeat 0 0;
}
	
#mainNav #navStaff, #mainNav #navStaff a {
	width: 60px;
	background: transparent url(images/staff_nav.gif) no-repeat 0 0;
}

#mainNav #navBlog, #mainNav #navBlog a {
	width: 64px;
	background: transparent url(images/blog_nav.gif) no-repeat 0 0;
}
	
#mainNav #navContact, #mainNav #navContact a {
	width: 89px;
	background: transparent url(images/contact_nav.gif) no-repeat 0 0;
}
	
/* hover states */

#mainNav #navApproach a:hover,  
#mainNav #navPrograms a:hover, 
#mainNav #navFacility a:hover, 
#mainNav #navStaff a:hover,
#mainNav #navBlog a:hover, 
#mainNav #navContact a:hover { background-position: 0 -55px; }

/* here states */

body.approach #mainNav #navApproach a, 
body.programs #mainNav #navPrograms a, 
body.facility #mainNav #navFacility a,
body.staff #mainNav #navStaff a, 
body.newstaff #mainNav #navStaff a, 
body#blog #mainNav #navBlog a,
body.contact #mainNav #navContact a { background-position: 0 -55px; }
