/*	Main screen css for Pro Motion Physiotherapy - 2010 */
	
/*	Begin with Meyer's Reset 
	http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */

	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 meyer */

/*	general layout & global elements */

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #e8e8e8 url(bg-body.png) top left repeat-x;
	font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1.5em;
	margin: 0 0 18px 0;
	color: #004276;
	text-shadow: #999 0px 1px 2px;      
}
h1 {font-size: 22px;}
h2 {font-size: 18px;
	margin-top: 18px;}
h3 {font-size: 16px;
	 margin-top: 18px;}

a {
	color: #004276;
	text-decoration: none;
}
a:hover {
	color: #666;
}
p {
	margin-top: 1em;
	line-height: 1.25em;
}
blockquote {
	margin: 1em 2em;
	border: 1px #ccc solid;
	padding: 1em;
	background: #eee;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

#main em {
	color: #333;
}

/*	#all: page wrapper */

.altem {
	text-decoration: underline;
}

#all {
	margin: 0 auto;
	width: 768px;
	height: auto !important;
	height: 100%; /* IE6 */
	min-height: 100%;
	position: relative;
	padding: 0 32px 0 32px;
	background: #fff;
}

/*	#header includes logo. #menu-indicia is at the end of content, but is 
	positioned up here */

#header {
	padding: 24px 0;
}

#logo a {
	background: url(logo.png) no-repeat;
	display: block;
	height: 76px;
	width: 381px;	
   	text-indent: -9000px;
	overflow: hidden;
}

/*	#content is the wrapper for #main and #menu-main. see below for 
	#menu-main */

#content {
	padding-bottom: 48px;  /* GTE footer height stops it from overlapping */
}

#main {
	border-top: 3px #3f7198 solid;
	width: 554px;
}
#main > *:last-child, .main-last-child {
	/* need to find a markup-free IE compat way to do this */
	padding-bottom: 2em;
}
#splash #main {
	border-top: none;
	margin-top: 1em;
	width: 100%;
}
#main ul, #main ol {
	margin-top: 1em;
	line-height: 1.25em;
}
#main ol {
	margin-left:24px;
}
#main ol li {
	list-style: decimal outside;
}
#main ul li {
	padding-left: 24px;
	background: url(bullet-off.png) 0px 5px no-repeat;
}
#main p {
	text-align: justify;
}

/*	#footer is positioned at the bottom of #all */

#footer {
	margin-bottom: 0;
	width: 740px;
		/* 768 (#all) - 28 (slug+slugpad) */
	height: 46px;
	position: absolute;
	bottom: 0;
	border-top: 2px #efe185 solid;
	background: url(slug.png) 4px 4px no-repeat;
	padding-left: 28px;
}
#footer #slogan {
	margin: 8px 0 0 0;
	line-height: 1em;
	font-style: italic;
}
#footer #notices {
	margin: 8px 0 0 0;
	font-size: 10px;
	color: #666;
}

/* splash page slideshow */

#sp-slideshow {
	position: relative;
	overflow: hidden;
	width: 764px;
	height: 254px;
	border: 2px #3f7198 solid;
	color: #fff;
}

.sp-slide-img {
	width: 764px;
	height: 254px;
	overflow: hidden;
	
}
.sp-slide-cap {
	position: relative;
	top: -254px;
	left: 510px;
	width: 254px;
	height: 254px;
	background: url(bg-splashimgcapt.png) top left repeat;
}	
	
* html .sp-slide-cap {
	/* must be on its own (away from normal bg)
	   src needs to be relative to html document, *not* css file, thus the abs. paths.
	   problem: filter reloads on animated transitions, going full-grey, so maybe switch to the gradient filter.*/
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_res/skin/bg-splashimgcapt.png', sizingMethod='scale');
}
.sp-slide-cap p {
	padding: 0 8px;
	margin: 0;
	line-height: 1.25em;
}
.sp-slide-cap h2 {
	padding: 8px;
	margin: 0;
	line-height: 1.1em;
	font-weight: bold;
	color: #fff;
	text-shadow: none;
}
.sp-slide-cap a {
	color: #5da7e0;
}
.sp-slide-cap a:hover {
	color: #ccc;
	text-decoration: underline;
}

#sp-slideshow-pager {
	width: 254px; 
	text-align: left;
	padding: 5px 10px; 
	position: relative;
	top: -30px;
	left: 510px;
	z-index: 24; /*must be higher than num slides*/
}

#sp-slideshow-pager a {
	padding: 0 5px;
	margin-right: 3px;
	text-decoration: none; 
	color: #fff;
	border: 1px #666 solid; 
	background: url(bg-splashimgcapt.png) top left repeat;
}

* html #sp-slideshow-pager a {
	/* see notes with "* html .sp-slide-cap" above */   
	background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_res/skin/bg-splashimgcapt.png', sizingMethod='scale');
}

#sp-slideshow-pager a:hover, #sp-slideshow-pager a.selected, #sp-slideshow-pager a.activeSlide {
	color: #000;
	background: #ccc; 
}

/* main menu - #menu-main is the container div.
			 - body of splash page is #splash
			 - on splash page, dropdown using "droppy" jquery plugin 
			 - on regular pages, vertical on right side of #main 
			 - top level UL is styled .menu-dropdown for droppy stuff 
			   & classes *must* be applied to it.
			 - top level UL is styled .menu-vertical for standard stuff
*/

#menu-main {
	float: right;
	width: 180px;
	font-size: 12px;
}

#splash #menu-main {
	float: none;
	width: 100%;
	margin-top: -24px; /* height of slideshow navigation */
	border-bottom: 2px #3f7198 solid;
}

/* see also .menu-dropdown li span below*/
#menu-main li span {
	line-height: 1;
	/* The I-bar text cursor is confusing in a menu. s-resize would be nice, but not enough have a down-arrow. The arrow "default" is a happy medium */
	cursor: default;
}

/*	standard/vertical menu */
	.menu-vertical {
		line-height: 32px;
	}
	.menu-vertical ul {
		margin-bottom: 32px; /*line-height + border */
	}
	.menu-vertical li {
        border-top: 3px #3f7198 solid; 
	}
	.menu-vertical li li {
		border-top: 2px #efe185 solid;
		font-size: 11px;
	}
	.menu-vertical li li a {
		padding-left: 24px;
		color: #000;
		background: url(bullet-off.png) left center no-repeat;
	}
	/* Tanchor text is just a little too long for Firefox in a couple of cases */
	.menu-vertical li li a:-moz-any-link {
		word-spacing: -0.1em;
	}
	.menu-vertical li li a:hover {
		color: #004276;
		background: url(bullet-on.png) left center no-repeat;
	}
	
	.menu-vertical li li.last-child {
		border-bottom: 2px #efe185 solid;
	}

/* droppy basic setup: do not modify.  */
	.menu-dropdown { display: block; margin: 0; padding: 0; position: relative; }
	.menu-dropdown li { display: block; list-style: none; margin: 0; padding: 0; float: left; position: relative; }
	.menu-dropdown a { display: block; }
	.menu-dropdown ul { display: none; position: absolute; left: 0; margin: 0; padding: 0; }
	* html .menu-dropdown ul { line-height: 0; } /* IE6 "fix" */
	.menu-dropdown ul a { zoom: 1; } /* IE6/7 fix */
	.menu-dropdown ul li { float: none; }
	.menu-dropdown ul ul { top: 0; }     

/* droppy essential config */

	.menu-dropdown ul { width: 191px; }
	.menu-dropdown ul ul { left: 192px; }
    
/*	skinning */

	.menu-dropdown {
		height: 32px;
		background-color: #fff; 
	}
	
	.menu-dropdown li {
		width: 192px;
	}

	.menu-dropdown ul li {
		width: 192px;
	}
	
	.menu-dropdown a {
		padding: 10px 6px; 
		line-height: 1;
		background: #fff;
		border-bottom: 2px #3f7198 solid; 
/*		standard anchor cosmetics 
		color: #004276; 
		text-decoration: none; */
	}
	.menu-dropdown a.hover {
		border-bottom: 2px #efe185 solid;
/*		standard anchor cosmetics 
		color: #666; */
	}
		/*	IE6 adds height to parent when adding bottom border to top-level anchors. fix tbd */ 
		* html .menu-dropdown a, 
		* html .menu-dropdown a.hover {
			border-bottom: none;
		}
		* html .menu-dropdown ul a {
			border-bottom: 2px #3f7198 solid;   
		}
		* html .menu-dropdown ul li.hover a {
			border-bottom: 2px #efe185 solid;
		}
	/* top level list items are not links. needs an internal element to keep sizing easy. boxed like anchors  */
	.menu-dropdown li span {
		display: block;
		padding: 10px 6px;
		line-height: 1;
	}
	.menu-dropdown ul {
		top: 34px; /*height of parent + border width */
	}
	.menu-dropdown ul a {
		/* maybe replace with 90% alpha png in background if visibility of text is difficult */
		/* opacity: 0.9; */
		/* -moz-opacity: 0.9; */
		/* -webkit-opacity: 0.9; */
		/* -khtml-opacity: 0.9; */
		/* filter: alpha(opacity=90); */
	}  
	/* .menu-dropdown *:hover { background-color: none; } - in droppy defaults, but appears unnecessary */
	/* .menu-dropdown ul a { border-bottom: none; } - droppy dauthor also needed this for IE6/7 */

/*	Indicia menu */

#menu-indicia {
	position: absolute;
	top: 56px;
	right: 16px;
	height: 18px;
	font-size: 11px;
}
#menu-indicia ul {
	display: inline;
}
#menu-indicia li {
	display: inline;
	float: left;	
}
#menu-indicia a {
	display: block;
	color: #000;
	border-right: 1px #000 solid;
	padding: 0 18px;
}
#menu-indicia a.last-child{
	border-right: none;
}
#menu-indicia a:hover {
	color: #004276;
}

/* News items */

.dateline {
	margin: 1em 0 -0.25em 0;
}

/* contact coordinates table */

#contact {
	margin: auto;
	width: 90%;
}
#contact td {
	width: 50%;
	line-height: 1.25em;
}
#contact .tdright {
	text-align: right;
}
#contact address {
	display: block;
	font-style: normal;
}


/* forms */
#gmap {
	margin: 1.5em 0;
}

input {
	font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif; 
	color: #000;
}
#saddr {
	width: 312px;
	padding: 4px;
	border: 1px #3f7198 solid;
}
#go {
	margin-left: 1em;
	border: 1px #3f7198 solid;
	background: #fff;
	padding: 4px 8px;
	color: #004276;
}
* html #go {
	padding: 3px 6px;
}
#go:hover, #go:focus, #go:active {
	cursor: pointer;
}
#go:focus, #go:active {
	color: black;
	background: #e6edf3;
}
.input-default {
	font-style: italic;
	color: #666;
}
.input-entry {
	background: #e6edf3;
}

/* inline objects */ 

.inline-left {
	float: left;
	margin: 0 8px 8px 0;
	border: 8px #3f7198 solid;
}

.inline-right {
	float: right;
	margin: 0 0 8px 8px;
	border: 8px #3f7198 solid;
}

/*	Miscellaneous */

.longitems li {
	margin-bottom: 1em;
}

.lede {
	font-size: 11px;
	margin-top: -15px;
	font-style: italic;
	color: #666;
}
.multilede {
	font-size: 11px;
	margin-top: 1em;
	font-style: italic;
	color: #666;
}

.intro {
	font-size: 16px;
}
.quoteref {
	text-align: right !important;
	margin-right: 2em;
	font-style: italic;
}
.ordinal {
	font-size: 75%;
	vertical-align: text-top;
}
.clearfix {
	clear: both;
}


/*info table */

.infotable {
	margin: 1.5em 0;
}
.infotable th {
	font-weight: bold;
	padding-right: 1.5em;
}
.infotable td {
	padding-bottom: 0.5em;
}
.infotable .lastrow td {
	padding-bottom: 0;
}

