/*
Theme Name: courtyardclinic
Theme URI: http://www.courtyardclinic.com
Description: Custom theme for Courtyard Clinic
Version: 1
Author: Steve Mellor
Author URI: http://www.19dozen.com
*/

*{
	margin:0;
	padding:0;
}
html {
	height:100%;
}

body{
	background: #003399 url(images/page-bg.jpg) repeat-x;
	margin:0;
	padding:0;
	text-align:center;
	height:100%;
}
.entry div {margin:15px 10px}
p {margin:15px 0}
h1 {
	margin:15px 0 25px;
	color: #039;
}
h2 {
	margin:0 0 15px 0;
	color: #039;
	clear:both;
}
h3 {
	margin:0;
	color: #039;
}
a:link {color:#039;}      /* unvisited link */
a:visited {color:#039}  /* visited link */
a:hover {color:#cadafb}  /* mouse over link */
a:active {color:#cadafb}  /* selected link */
ul {margin:15px}

img {
	border-width:3px;
	border-style:inset;
	border-color:#039;
}

#container{ /*main frame*/
	margin:0 auto;
	text-align:left;
	width:900px;
    height:auto;
	padding:0;
	background: #039;
    font-family: Verdana, San-serif;
    font-size: 13px;
	line-height:16px;
	overflow: hidden; /* This is to get the columns to line up */
}

.banner{
	display:block;
	height:195px;
	width:100%;
	background:url(images/Courtyard-Clinic-header5111.jpg);
	background-repeat:no-repeat;
	background-color:#0d0d71;
	text-indent:-9999px;
}

#menu{
	height:30px;
	width:100%;
    padding: 0;
	background:#fff url(images/nav-bg.jpg) repeat-x;
    font-size: 12px;
    font-weight:bold;
}
#dropmenu, #dropmenu ul {
	margin:0; padding:0; list-style-type:none; list-style-position:outside;
	position:relative; line-height:1.7em; z-index:2; width:100%;  font-weight:bold;}
#dropmenu a {display:block; padding:0.25em 1em; color:#FFFFFF; text-decoration:none;}
#dropmenu a:hover {background:#039; color:#cadafb;}
#dropmenu li {float:left; position:relative;}
#dropmenu ul {position:absolute;margin:16px 0 0 0px; display:none; width:12em; top:.5em; left:10px;}
#dropmenu ul a {background:#039;}
#dropmenu li ul {width:14.1em;}
#dropmenu li ul a {width:12em; height:auto; float:left;}
#dropmenu ul ul {top:auto;}
#dropmenu li ul ul {left:13em; margin:0;}
	
.entry ul {
	margin:15px;
	list-style:none;
}
.entry ul li {
	margin-bottom: 5px;
	list-style:none;
}
.entry ul li ul {
	margin:0 0 0 15px;
	list-style:none;
}

.navigation {
	float:left;
	margin:0 0 10px 0;
	width:100%;
}

#content {
	float:left;
    padding:20px;
    width:580px;
	height:auto;
    background-color:white;
	background-image:url(images/page-spine-bg.jpg);
	background-repeat:no-repeat;
	background-position:top left;
	margin-bottom: -3000px; /* This is to get the columns to line up */
    padding-bottom: 3000px; /* This is to get the columns to line up */
}
#content div.breadcrumb {
	margin-top:-5px;
	margin-bottom:10px;
	color:gray;
	font-size:11px;
}
#content div.breadcrumb a {color:gray}

/* home-page template */
.home div.post {
	width:580px;
	float:left;
}
.home #hometeambox {
	clear:both;
	width: 245px;
	border:1px solid #039;
	float:left;
	background-color:white;
	margin-right:20px;
	font-size:11px;
	padding:0 15px;
	height:253px;
}
.home #homecontactbox {
	width: 245px;
	border:1px solid #039;
	float:left;
	background-color:white;
	font-size:12px;
	padding:0 15px;
	height:253px;
}
/* End of content home template */

/* Services page template */
.services div.post {
	width:580px;
	float:left;
}
/* End of services page template */

/* Team page template */
.team div.post {
	width:370px;
	float:left;
}
.team #rightbox {
	float:right;
	width:160px;
	margin-left:40px;
	margin-top:30px;
}
.team ul {
	margin:0;
	list-style-type:square;
}
.team ul ul {
	margin-left:20px;
	list-style-type:disc;
}
/* End of Team page template */

/* Special page template */
.special div.post {
	width:410px;
	float:left;
}
.special #rightbox {
	float:right;
	width:237px;
}
/* End of Special page template */



/* Pilates page template */
.pilates div.post {
	width:580px;
	float:left;
}
.pilates #bottomlayer1 {

}
/* End of Pilates page template */

/* Events page template */
.events div.post {
	width:580px;
	float:left;
	font-size:12px;
}
.events div.post ul {
	list-style-type:none;
	margin:0;
}
.events div.post #coursetitle {
	font-size:14px;
	font-weight:bold;
	margin-top:10px;
	color:#039;
}

/* End of Events page template */

#sidebar{
	float:right;
	width:260px;
	height:auto;
	background-color: #eef2f4;
	margin-bottom: -3000px;
	padding: 10px 10px 3000px 10px;
}
#sidebar .widgettitle {
	width:100%;
	padding:10px;
	background-color:#bdccd4;
	font-size:13px;
	margin:-10px -10px 0 -10px;
}
#sidebar h2 {
	width:100%;
	padding:10px;
	background-color:#bdccd4;
	font-size:13px;
}
#sidebar #excerpt {
	height:50px;
	overflow:hidden;
}
#sidebar ul {
	list-style-type:none;
	padding:0;
	margin:0;
}
#sidebar #coursedate {color:#999999}
#sidebar .viewallbutton {
	/*background:#039 url(images/button-bg2.jpg) no-repeat;*/
	float:right;
	margin-top:5px;
}
#sidebar p {margin:0 auto}
#sidebar #coursetitle {margin-top: 10px}
#sidebar li.widget_text{margin-top:60px}
#sidebar li.widget_categoryposts {margin-top:60px}
#sidebar li.cat-post-item {margin-top:10px}
#sidebar li.widget_newsletter {margin-top:60px}
#sidebar li.widget_newsletter form {margin-top:10px}
#sidebar li.widget_newsletter form input {margin-top:5px; width:98%}
#sidebar li.widget_newsletter a {display:none}
#sidebar li.widget_newsletter form input[type="submit"] {width:auto; float:right; margin-bottom:20px;}
#sidebar li.widget_sp_image img {display:block}

#footer{
	text-align:left;
	width:880px;
	height:20px;
	padding:5px 10px 5px 10px;
	background:#fff url(images/nav-bg.jpg) repeat-x;
	color:white;
}
#footer a {color: white}

#copyright{
	float:left;
	margin-right:20px;
}
#terms {float:left; margin-right: 20px}
#privacy {float:left}
#designer {
	float:right;
	text-align:right;
}

/*	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.aligncenter {
	display: inline;
	padding:0;
	margin: 10px auto;
	}

img.alignright {
	padding: 0;
	margin: 10px 0 10px 10px;
	display: inline;
	}

img.alignleft {
	padding: 0;
	margin: 10px;
	display: inline;
	}

.alignright {
	float: right;
	text-align:right;
	}

.alignleft {
	float: left;
	}
p.wp-caption-text {
	font-size:11px;
	margin:2px 0 10px 0;
	text-align:center;
}
/* End Images */

html, body, #container {height: 100%;}

body > #container {
	height: auto;
	min-height: 100%;
	}

#container {
	_min-height: 100%;
	_height: auto !important;
	_height: 100%;
	_margin: 0 auto -30px;
	_overflow:visible;
}

.push {padding-bottom: 30px; _height: 30px; _clear:both}  /* must be same height as the footer */

#footer {
	position: relative;
	margin: 0 auto 0 auto; /* negative value of footer height */
	height: 20px;
	clear:both;
	font-family: Verdana, San-serif;
    font-size: 13px;
	line-height:16px;
}
.entry {margin-bottom: 20px}
.entry .wp-caption {margin:0 10px}

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}

.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

