/*
Theme Name: J. Richard Lilly MD 1042
Theme URI: http://www.e-rehab.com/
Version: 1.0
Description: Designed by John Mason
Author: John Mason
Author URI: http://www.e-rehab.com
Template: ptcng
*/
@import url(superfish.css);

/*STRUCTURE - header, footer, etc*/
html{ background:#fff !important;
color:#000;
overflow-y:scroll;
}
.wrapper{
	min-height:100%;
	height:auto !important;
	height:100%;
	margin:0 auto -40px;
	 0 );
	background: linear-gradient(top, #fcfcfc 17%,#2d5f8e 46%,#2d5f8e 72%,#71beba 100%);
}
#insidewrap {
min-height:100%;
height:auto !important;
height:100%;
width:990px;
margin:0 auto;
background: url('images/sidething.png') repeat-y right;
}
header{height:20px;width:990px;margin:0 auto;text-align:left;background-color:transparent;position:relative;}

#headerbg {width: 990px; height: 223px; background: url('images/header2.png') top center no-repeat;margin: 0px auto; z-index: -500;}

#navsidebox {width: 200px;  position: relative; top: 0px; left: 0px; float: right; clear: left;}

h1 {font-family: 'Droid Serif', serif; color: #0082C8; font-weight: 400;}
h1 span {font-size: 24px;}

ul li, ol li {padding-bottom:12px;}
ul li:last-child, ol li:last-child {padding-bottom:0px;}
ul ul li:last-child, ol ol li:last-child {padding-bottom:0px;}
ul ul li:first-child, ol ol li:first-child {padding-top:0px;}

#topaddrwrapper {width: 150px; margin: 0px auto; text-align: right; position: absolute; right: 20px; top: 50px; z-index: 89 !important;}

.topaddr {
font-family: 'Droid Serif', serif;
font-size: 14px;

position: relative;
right: 0px;
text-align: right;

width: 155px;
margin:  10px 0px 10px 0px;

 color: #030;
 font-weight:700;
}

.topaddr *{ color: #45701d;text-decoration:none;text-shadow: 1px 1px 0px #a6ff54;}
.topaddr span {font-size:12px; color: #060;text-shadow: 1px 1px 0px #C4EBA2;}

.topaddr a:hover {color: #52a209;text-shadow:  0px  0px 3px #ddffbd;}
.topaddr a:hover span {font-size:12px;color: #deffc0;text-shadow: -1px -1px 0px #42691e;}


.main {clear: both;padding:0px;width:990px;text-align:left;margin:0 auto;text-align:left;overflow:hidden; background: url('images/side.png') repeat-y;}

#weblogo {width:500px; height: 177px; background: url('images/lillylogo.jpg') no-repeat; position: relative; top: 25px; left: 145px;}

#footer {color:#FFFFFF;width:990px; height: 102px; background: url('images/footer2.png') top center no-repeat; text-align:left;margin:0 auto;text-align:left;padding:3px 0;}
#footer a:link,#footer a:visited {color:white;}
#footer  p {padding:0 8px;margin:0; position: relative; top: 50px; left: 0px;}


.icon16 {width:16px;height:16px;margin-right:3px;}

#leftcol {float:left;width:770px; position: relative; top: 0px; left: 20px;display:inline;margin:0;padding:0px 19px 0px 0px;}

#rightcol {float:left;width:201px;min-height:700px;display:inline;margin:0;padding:0; background: url('images/sidething.png') repeat-y; z-index: 9999 !important;}

#rightcol .mbbrd1 {margin:0 0 2px 0;border-bottom:1px solid #7A7A7A;}

#wrap {padding:0 8px; margin: 20px 0px 0px 0px;}

#homeleft {background-color:#31582D;color:white;padding:14px;width:200px;height:370px;float:left;font-size:200%;}
#homemain {padding:12px;color:#505050;width:500px;float:left;}

#horimenu {background: url('images/navbg.png') right no-repeat;width:990px;margin:0 auto; z-index:100;height:26px;}

#navCenter {  position:relative; top:1px; left: 10px;width: 990px; height: 26px;}

 .current_page_item a {color:#fff !important}

.sf-menu a {
font-family: 'Droid Serif', serif;
text-shadow:1px 1px 0px #086fb8;
font-size: 12px;
font-weight:700;
letter-spacing: 1px;
padding: 		6px 7px;
border:none;
text-decoration:none;
}


.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #e2f3ff;  /*Match color above*/
}

.sf-menu {
	float:			left;
	/*margin-bottom:	1em;*/
}

.sf-menu li {
	/*background:		transparent;*/
}


.sf-menu li li a {
	border-right:none;
}
.sf-menu li li {
background:#1098f8;
}
.sf-menu li li li {
background:#1098f8;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	color:#fff;
	outline:		0;
	text-shadow: 0px 0px 6px #fff;

}
.sf-menu li li:hover, .sf-menu li li.sfHover,
.sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
	color:#e2f3ff;
	outline:		0;
	text-shadow: 0px 0px 6px #fff;
	background:#91dc4b;
}

/*Text Elements*/
h1,h2,h3,h4,h5,h6{
	padding:.4em 0;
}

.underline{text-decoration:underline;}


.green{color:#8dc73f;}
.greenbrd{border:solid 1px #8dc73f;}
.greenbg{background:#8dc73f;padding-top:3px;padding-bottom:3px;color:#0082c8;font-weight:bold;text-align:center;}

.blue{color:#0082c8;}
.bluebrd{border:solid 1px #0082c8;}
.bluebg{background:#0082c8;padding-top:3px;padding-bottom:3px;color:#8dc73f;font-weight:bold;text-align:center;}


/*DESIGN ELEMENTS - boxes and such*/
.fullbar {background:#00f !important;height:130px;width:990px;}
.fullbar:after,.fullbar:before {background:#00f !important;}
.fullbar>* {color:white;text-shadow:1px 1px 1px #000;}
.fullbar .minibanner {float:left;margin:0 13px;}
.fullbar .minibanner:first-child {margin-left:90px}

.crisplogo {width: 175px;
height: 59px;
background: url('/files/images/crisp_logo.png');
float: right;
margin-top: -32px;
margin-right: 3px;}

/* Column Layouts ----------------------------------------------------- */
.one_half{width:48%;}
.one_third{width:30.66%;}
.two_third{width:65.33%;}
.one_fourth{width:22%;}
.three_fourth{width:74%;}
.one_fifth{width:16.8%;}
.two_fifth{width:37.6%;}
.three_fifth{width:58.4%;}
.four_fifth{width:79.2%;}
.one_sixth{width:13.33%;}
.five_sixth{width:82.67%;}
.custom_column{position:relative;margin:0;float:left;}
.one_half,.one_third,.two_third,.three_fourth,.one_fourth,.one_fifth,.two_fifth,.three_fifth,.four_fifth,.one_sixth,.five_sixth{position:relative;margin-right:4%;float:left;min-height:1px;margin-bottom:0;}
.last{margin-right:0!important;clear:right;}