/* Start of CMSMS style sheet 'JointClinic' */
/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }

body {
	background: #ded3ae;
	font: 74%/1.6em Verdana, Tahoma, Arial, Geneva, sans-serif;
	color: #666; 
	text-align: center;
	margin: 0 0 50px 0;
}

/* links */
a, a:visited {	
	color: #5A93C9;
	background: inherit;
	text-decoration: none;	
}
a:hover {
	color: #bf2f1a;
	background: inherit;
	text-decoration: underline;	
}

/* headers */
h1, h2, h3, h4, h5, h6 {
	font-family: Tahoma, Sans-serif;
	color: #a52518;
}
h1 {
	font-size: 230%;	
	font-weight: normal;
	letter-spacing: -1px;
}
h2 {
	font-size: 180%;
}
h3 {
	font-size: 150%;	
	font-weight: normal;	
}
h4 {
        font-size: 120%;
	font-weight: normal;
}
h5 {
        font-size: 110%;
	font-weight: normal;
}
h6 {
        font-size: 100%;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6, p, .NewsSummary {
	padding: 10px 10px 5px 10px;		
	margin: 0;
}
ul, ol {
	margin: 5px 10px;
	padding: 0 20px;
}
ul {
	list-style: none;
}

/* images */
img {
	background: #efecd8;
        border: 1px solid #dcdcdc;
	padding: 5px;
}
img.float-right {
  	margin: 5px 0px 10px 10px;  
}
img.float-left {
  	margin: 5px 10px 10px 0px;
}

code {
  	margin: 5px 0;
  	padding: 10px;
  	text-align: left;
  	display: block;
  	overflow: auto;  
  	font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  	/* white-space: pre; */
  	border: 1px solid #F4F3EC; 
	background: #FAFAE7;  
}
acronym {
  cursor: help;
  border-bottom: 1px dashed #777;
}
blockquote {
	margin: 10px;
 	padding: 0 0 0 35px;  
        border: 1px solid #F4F3EC; 
	background: #FAFAE7 url(uploads/JointClinic/quote.jpg) no-repeat 7px 10px; 
	font: normal 1.1em/1.3em 'Trebuchet MS', Tahoma, Sans-serif;
	color: #976957;
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 10px;	
}
th strong {
	color: #fff;
}
th {
	background: #C12B18 url(uploads/JointClinic/nav-bg.gif) repeat-x;
	height: 35px;
	padding-left: 12px;
	padding-right: 12px;
	color: #fff;
	text-align: left;
	border-left: 1px solid #d73f2d;
	border-bottom: solid 2px #fff;
}
tr {
	height: 32px;
}
td {
	padding-left: 11px;
	padding-right: 11px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
td.first, th.first {
	border-left: 0px;
}
tr.row-a {
	background: #f8f8f5;
}
tr.row-b {
	background: #efede8;		
}
/* end - table */

table.no-padding {
        margin: 0;
}
table.no-padding tr {
        margin: 0;
        padding: 0;
}
table.no-padding td {
        padding: 0;
        border: 0;
}
table.no-padding img {
        padding: 0;
        border: 0;
        margin: 0;
        background: none;
}
img.no-padding {
        padding: 0;
        border: 0;
        margin: 0;
        background: none;
}

#sidebar table {
        margin: 0 0 0 10px;
}
#sidebar td {
        padding: 0;
        border: 0;
}

/* form elements */
form {
	margin:10px; padding: 0 5px;
	border: 1px solid #f1f1f1; 
	background-color: #F6F6EC; 	
}
legend {
        display: none;
}
fieldset {
        border: 0;
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:2px;
	border:1px solid #bbb;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:500px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #bbb;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	font: bold 12px Arial, Sans-serif; 
	height: 24px;
	margin: 0;
	padding: 2px 3px; 
	color: #FFF;
	background: #8EB50C url(uploads/JointClinic/nav.jpg) repeat-x 0 0;
	border: 1px solid #88AD0C;
}
div.captcha {
        padding: 5px 0;
}
div.submit {
        padding: 5px 0;
}

/* logo */
#logo {
        /*background: #fff url(uploads/JointClinic/Joint-Clinic-Logo-1.gif) top left no-repeat;*/
        float: left;
        width: 269px;
        height: 85px;
}

/* search form */
div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 27em;
	text-align: right;
	padding: 0;
	margin: 0;
        color:#333;
}
div#search form {
        background-color: transparent;
        border: 0;
}
div#search form label {
        display: inline;
}
/* a class for Submit button for the search input box */
input.search-button {
	border: none;
	height: 22px;
	width: 53px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: url(uploads/ngrey/search.gif) no-repeat center center;
}

/********************************************
   LAYOUT
********************************************/ 
#wrap {
	position: relative;
	background: #fff;
	width: 950px;	
	margin: 10px auto;
	text-align: left;
        border: 10px solid #fff;
}
#content-wrap {
	position: relative;
	background: #fff;
	clear: both;
	float: left;	
	width: 950px;	
	padding: 0; 			
	margin: 0;
	display: inherit;
}
#header {
	position: relative;
	background: #fff /*url(uploads/JointClinic/header-bg.jpg) repeat-x*/;
	width: 950px;	
	height: 100px;	
	padding: 0;	
	margin: 0px auto;
}
#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: normal 42px Georgia, "Times New Roman", Times, serif;
	letter-spacing: -1.5px;
	color: #111;
	text-transform: none;
	text-decoration: none;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 22px; left: 20px;	
}
#header p#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: normal 12px Georgia, "Times New Roman", Times, serif;
	text-transform: none;
	color: #5b4a29;
	
	/* change the values of top and left to adjust the position of the slogan*/
	top: 67px; left: 25px;		
}

/* header links */
#header #header-links {
	position: absolute;
	top: 25px; right: 10px;	
	color: #5b4a29;
	font: normal 11px Georgia, "Times New Roman", Times, serif;
	text-transform: uppercase;		
}
#header #header-links a {	
	color: #5b4a29;
	text-decoration: none;	
	padding: 0 2px;
	font-weight: bold;
}
#header #header-links a:hover {
	color: #111;		
}

/* header-photo */
#header-photo {
        float: left;
	background: #fff /*url(uploads/JointClinic/flash/David-Selvey-36.jpg) top left no-repeat*/;
	margin: 0 auto;
	padding: 0;		
	height: 250px; 
	width: 660px;
}
#header-photo img {
	border: none;
	margin: 0; padding: 0;
} 
#header-menu {
        float: left;
        width: 285px;
        height: 250px;
        margin-left: 5px;
        background: #fff url(uploads/JointClinic/Header-Menu.gif) top left no-repeat;
}
#header-menu img {
        border: none;
	margin: 0; padding: 0;
}
#header-menu #header-menu-content {
}

/* Navigation */
/* by Alexander Endresen and mark and Nuno */
#nav{
	margin: 0 0 5px 0;
	padding: 0;
        clear: both;
}
.clearb {
/* needed for some browsers */
	clear: both;
}
#menuwrapper {
/* set the background color for the menu here */
	background: #8c8258 url(uploads/JointClinic/nav-bg.gif) top left repeat-x;	
/* IE6 Hack */
	height: 1%;
	width: auto;
	margin: 0;
	padding: 0;
}
ul#primary-nav, ul#primary-nav ul {
/* remove any default bullets */
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul#primary-nav {

}
ul#primary-nav ul {
/* make the ul stay in place so when we hover it lets the drops go over the content below else it will push everything below out of the way */
	position: absolute;
/* top being the bottom of the li it comes out of */
	top: auto;
/* keeps it hidden till hover event */
	display: none;
/* same size but different color for each border */
	border-top: 1px solid #e93b21;
	border-right: 1px solid #e93b21;
	border-bottom: 1px solid #e93b21;
	border-left: 1px solid #e93b21;
}
ul#primary-nav ul ul {
/* now we move the next level ul down from the top a little for distinction */
	margin-top: 1px;
/* pull it in on the left, helps us not lose the hover effect when going to next level */
	margin-left: -1px;
/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
/* sets the top of it inline with the li it came out of */
	top: 0px;
}
ul#primary-nav li {
/* floating left will set menu items to line up left to right else they will stack top to bottom */
	float: left;
/* no margin/padding keeps them next to each other, the padding will be in the "a" */
	margin: 0px;
	padding: 0px;
}
#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 220px;
/* removes any left margin it may have picked up from the first li */
	margin-left: 0px;
/* keeps them tight to the one above, no missed hovers */
	margin-top: -1px;
/* removes the left float set in first li so these will stack from top down */
	float: none;
/* relative to the ul they are in */
	position: relative;
}
#primary-nav li li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 290px;
}
/* set the "a" link look here */
ul#primary-nav li a {
	display: block;
	width: auto;
	margin: 0;
	padding: 6px 14px;
	border-right: 1px solid #e93b21;
	border-left: 1px solid #871d10;
	font: normal 12px/25px "Century Gothic", "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
	text-decoration: none;	
	letter-spacing: 1px;
        font-weight: bold;
	color: #fff;
        background: #8c8258 url(uploads/JointClinic/nav-button.gif) repeat-x;
}
ul#primary-nav li a:hover {
/* kind of obvious */
	background: url(uploads/JointClinic/nav-hover.gif) repeat-x;
}
ul#primary-nav li li a:hover {
	color: #fff;
}
ul#primary-nav li a.menuactive {
	color: #fff;
	font-weight: bold;
/* set your image here */
	background: #90190b;
}
ul#primary-nav li a.menuactive:hover {
	color: #fff;
/* keep it the same */
	font-weight: bold;
}
#primary-nav li li a.menuparent span {
/* makes it hold a shape */
	display: block;
/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(uploads/JointClinic/parent.png) no-repeat 98% center;
}
/* gif for IE6, as it can't handle transparent png */
* html #primary-nav li li a.menuparent span {
/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(uploads/JointClinic/parent.gif) no-repeat 98% center;
}
ul#primary-nav li ul a {
/* insures alignment */
	text-align: left;
	margin: 0px;
/* keeps it relative to it's container */
	position: relative;
/* less padding than first level no need for large links here */
	padding: 3px 14px;
/* if first level is set to bold this will reset this level */
	font-weight: normal;
	color: #fff;
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
}
ul#primary-nav li ul {
	background: #efecd8;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
	border-top: 1px solid #e93b21;
	border-bottom: 1px solid #e93b21;
}
ul#primary-nav li ul ul {

}
/* Styling the appearance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
/* set your image here, dark grey image */
	background: #992012 /*url(uploads/JointClinic/nav-hover.jpg) repeat-x*/;
	color: #000
}
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited, for fourth level add
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul ul ul,
*/
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul {
	display: none;
}
/* for fourth level add
#primary-nav ul ul ul li:hover ul,
#primary-nav ul ul ul li.menuparenth ul,
*/
#primary-nav li:hover ul,
#primary-nav ul li:hover ul,
#primary-nav ul ul li:hover ul,
#primary-nav li.menuparenth ul,
#primary-nav ul li.menuparenth ul,
#primary-nav ul ul li.menuparenth ul {
	display: block;
}
/* IE6 Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	height: 1%;
}



/* Main Column */
#main {
	float: left;
	width: 650px;
	padding: 5px 0 0 0; 
        margin: 5px 5px 10px 5px;
	display: inline;	
}
#main h2 {
	margin-top: 10px;
	padding-bottom: 3px;
	font: normal 2.3em Tahoma, Sans-serif;
	/*color: #895F30; */
	letter-spacing: -1px;	
	text-transform: none;
}
#main h2 a {
	color: #895F30; 
	text-decoration: none;	
}
#main ul li {
	list-style-image: url(uploads/JointClinic/bullet.gif);
}

/* Sidebar */	
#sidebar {
	float: right;
	width: 275px;
	padding: 15px 5px 5px 5px; 
        margin: 5px 0 10px 0;
        background: #f6f6ec;	
}
#sidebar h2 {
        padding: 5px 10px;
	font: normal 1.8em Tahoma, Sans-serif;	
}	
#sidebar h3 {
	margin-top: 10px;
	padding: 5px 10px; 
	font: normal 1.6em Tahoma, Sans-serif;	
	color: #a52518; 			
}
#sidebar ul li {
	list-style-image: url(uploads/JointClinic/bullet.gif);
}
#sidebar ul.sidemenu {
	text-align: left;
	margin: 7px 10px 8px 0px; padding: 0;
	text-decoration: none;		
	border-top: 1px solid #EBEBEB;
}
#sidebar ul.sidemenu li {
	list-style: none;
	border-bottom: 1px solid #EBEBEB;
	padding: 5px 0 5px 5px;
	margin: 0 2px;		
}
#sidebar img {
        background: none;
}
* html body #sidebar ul.sidemenu li {
	height: 1%;
}
#sidebar ul.sidemenu li a {
	text-decoration: none;	
	background-image: none;	
	color: #895F30; 		
}
#sidebar ul.sidemenu li a:hover {	
	color: #1773BC;	
}
#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.sidemenu ul li { border: none; }

/* News */
#sidebar div.news {
        padding: 0 10px 10px 10px;
        margin-top: 10px;
}
#sidebar div.news h2, #sidebar div.news h3 {
        padding: 5px 0;
}

/* Box */
div.box-outer {
        background: url(uploads/JointClinic/box1-middle.gif) 0 0 repeat-y;
        margin: 0 0 0 10px;
        padding: 0;
}
div.box-wrap {
        background: url(uploads/JointClinic/box1-bottom.gif) bottom left no-repeat;
        
}
div.box-inner {
        background: url(uploads/JointClinic/box1-top.gif) top left no-repeat;
        min-height: 55px;
}
div.box-inner h3 {
        color: #fff !important;
        line-height: 1.6em;
}

#NewsPostDetailDate, #NewsPostDetailContent, #NewsPostDetailPrintLink, #NewsPostDetailReturnLink {
        padding-left: 10px;
}

/* footer */
#footer-wrap {
	clear: both;
	width: 950px;
	font-size: 85%;	
	text-align: left;
	padding: 15px 0 0px;		
        margin: 12px 0 0px; 
}
#footer-wrap a:hover {
	color: #000;	
}
#footer-wrap h3 {
	color: #976834;  
	margin: 0;
	padding: 0 10px; 
	text-transform: uppercase;
	font-weight: bold;
}
#footer-wrap p {
        padding: 2px 0;
}
#footer-columns {
	color: #888;
	margin: 0 auto; 
	padding: 0;	
	width: 840px;			
}
#footer-columns a {
	text-decoration: none;
	font-weight: bold;
	color: #666666;
}
#footer-columns ul {
	list-style: none;
	margin: 10px 0 0 0; 
	padding: 0;	
	border-top: 1px solid #e5e5e5;
}
#footer-columns li {
	border-bottom: 1px solid #e5e5e5;	
}
#footer-columns li a {
	display: block;
	font-weight: normal;
	padding: 5px 0 5px 10px;
	width: 96%;
}
#footer-columns .col3, .col3-center {
	float: left;
	width: 32%;
}
#footer-columns .col3-center { 
	margin: 0 15px; 
}

/* bottom */
#footer-bottom {
	clear: both;
	color: #666;	
	margin: 0 auto; 
        background: #efecd8;
	width: 950px;
	padding: 0 0 0 0;
	text-align: center;
        border-top: 1px solid #a52518;
}
#footer-bottom  a {
	color: #976834;
}

/* postmeta */
.postmeta {	
	padding: 5px; margin: 20px 10px 15px 10px;	
	font-size: 95%;	
	color: #99997D;
	border: 1px solid #EAE7DB;
	background: #FAFAE7;
}
.postmeta .date{ margin: 0 10px 0 5px;	}
.postmeta a.comments { margin: 0 10px 0 5px;	}
.postmeta a.readmore { margin: 0 10px 0 5px;	}

.post-info { font-size: .95em;	padding-top: 0; margin-left: 5px;	}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }

/* Photo Gallery */
#main ul.albumlist li.thumb, #main ul.picturelist li.thumb {
        list-style-image: none;
}
#main ul.albumlist li.thumb a, #main ul.picturelist li.thumb a {
        width: 107px;
        height: 84px;
}
#main li.thumb {
        width: 116px;
}
#lightbox img {
        padding:0;
}
/* End of 'JointClinic' */

