/* The Lilley Clinic Stylesheet */
body, p, td, tr, th, input, h1, h2, h3, h4, h5, h6, select, option, textarea, li, ol, ul {
font-family: verdana, sans-serif;
} 
body {
margin:10px;
padding:0px;
color:#757575;
background:#EBE5F0 url(images/backing.jpg) repeat-x;
font-size:1.0em;
}
p {
font-size:0.8em;
line-height:1.6em;
margin:2px 10px;
padding:4px;
}
td {}
th {
font-weight:bold;
}
h1 {
font-family: arial, verdana, sans-serif;
font-size:1.4em;
color:#0F3063;
font-weight:bold;
margin:10px 2px;
padding:3px 4px;
}
h2 {
color:#757575;
font-weight:normal;
font-size:1.2em;
line-height:1.6em;
margin:2px 10px;
padding:0px 4px;
}
h3 {
font-weight:bold;
font-size:0.9em;
line-height:1.6em;
margin:2px 10px;
padding:0px 4px;
text-decoration:none;
}
h4 {
font-weight:bold;
font-size:0.8em;
line-height:1.6em;
margin:2px 10px;
padding:0px 4px;
text-decoration:underline;
}
th.right {
font-weight:bold;
text-align:right;
}
li {
font-size:0.8em;
line-height:1.6em;
}
li ul li, li ol li {
font-size:0.8em;
line-height:1.6em;
}
ul, ol {
margin:2px 40px;
padding:2px;
}

a, a:link, a:active {
color:#865387;
text-decoration:underline;
font-weight:bold;
}
a:visited {
color:#865387;
text-decoration:underline;
font-weight:bold;
}
a:hover {
color:#865387;
text-decoration:none;
font-weight:bold;
}
a.flink, a:link.flink, a:active.flink, a:visited.flink, a:hover.flink {
color:#FFF;
text-decoration:underline;
font-weight:bold;
}
/*ID's*/
#redframe {
position:relative;
margin:0 auto;
padding:0px;
width:764px;
background:#ffffff;
border:2px solid #865387;
}
#frame {
position:relative;
margin:0;
padding:0;
}
#header {
height:110px;
background:transparent url(images/headerimages.jpg) no-repeat top right;
border-bottom:2px solid #865387;
}
#header img {
padding:16px 10px 15px 10px;
}
#headernav {
background:#8A568A url(images/topnav.jpg) repeat-x top left;
height:31px;
color:white;
margin:0;
padding:0 0 0 30px;
overflow: hidden;
border-bottom:1px solid #DCD3E5;
border-top:1px solid #DCD3E5;
}
#headernav a {
color:white;
font-weight:bold;
text-decoration:none;
}
#headerlist {
list-style-type: none;
margin: 0;
padding: 0;
}
#headerlist li {
float: left;
margin: 0 0;
padding: 0 4px;
padding-top:6px;
height:31px;
}

#maincontent {
position:relative;
float:left;
padding:0px;
margin:0;
width:764px;
border-top:2px solid #865387;
border-bottom:2px solid #865387;
}
#content {
position:relative;
padding:10px;
margin:5px;
background:transparent url(images/curve.jpg) no-repeat top;
}
#footer {
clear:both;
text-align:center;
font-size:0.6em;
padding:0;
margin:0;
line-height:2.5em;
height:31px;
background:#8A568A url(images/bottomnav.jpg) repeat-x top left;
border-bottom:1px solid #DCD3E5;
border-top:1px solid #DCD3E5;
color:#fff;
}

/*classes*/
.subsection {
float: left;
margin:5px 7px 5px 6px;
padding:0;
width:150px;
border:2px solid #865387;
}
.subimage {
border:2px solid #fff;
}
.subcat {
border-top:2px solid #865387;
}
.images {
padding:3px;
float:right;
margin:10px;
border:2px solid #BDA8CC;
}
.tabletext {
font-size:0.8em;
}

#quicklinks {
text-align:center;
font-size:0.7em;
font-weight:normal;
}
#quicklinks a, .backtotop a {
font-weight:normal;
}

.backtotop {
float:right;
font-size:0.7em;
font-weight:normal;
}