/*  
Theme Name: Discovery
Theme URI: http://www.asceticmonk.com/
Description: A simple theme for Discovery Medicine.
Version: 1.0
Author: George Yang
Author URI: http://www.asceticmonk.com/
*/

/* General Settings */
* { padding: 0; margin: 0; }
body {
	font-family: Arial, Verdana, sans-serif;
	font-size: 75%;
	color: #000;
	background-color: white;
	margin: 0px 10px;
	padding-right: 10px;
	text-align: center; 
}
#wrapper { width: 1038px; margin: 8px auto; margin-top:0; width: 1038px; background:url(background.gif) top right repeat-y; 
text-align: left; /*position:absolute; left:50%; margin-left:-519px;*/}/*Samuel*/

/* General Typography */
h1, h2, h3, h4, h5 { color: #222; letter-spacing: -1px; }
h1 { font-size: 2em;margin:0;padding:0; }
h1 #individual_home a { color: #cc0000; margin-left: 40px; font-size: 1.1em; }
h1 a span{display:none;}
h1 img{border:none;margin-top:0px; margin-bottom: 0px; }
h2 { font-size: 2em; }
h3 { font-size: 1.7em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.3em; }
h2 a{text-decoration:none;}
a:link, a:active { color: #000; text-decoration: underline; }
a:visited { color: #000;text-decoration: underline; }
a:hover, a:focus { color: #CC0000; text-decoration: underline; }
.alt {
	font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
	font-style: italic;
	font-weight: normal;
}
p.center { text-align: center; }

/* Overall Structure and Main Blocks */
#content.widecolumn {
	width: 1038px;
	padding: 10px 0 10px 0px;
	clear: both;
	background: #fff;
}

#header {
	width: 1038px;
	float: left;
	padding: 0px 0px 0px 0px;/*Samuel*/
	/*padding: 16px 0 32px 0; *//*Samuel remove*/
	background:#FFF;
	/*background-image:url(../home/LF_header.jpg);
	background-repeat:no-repeat;*/
	background-color:#396596;
	height:23px;/*Samuel*/ 
	/*
	border-top: 4px solid #CCC;
	border-bottom: 1px solid #CCC;
	background:#6699FF;
		*/
}

.content-header-title {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:#EAEAEA none repeat scroll 0 0;
	padding:0 4px 8px 10px;
	text-align:left;	
}
.content-header-title h1 {
	color:#CC0000;
	font-size:1.5em;
	margin-left:0;
}
.content-header-meta {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:#EAEAEA none repeat scroll 0 0;
	border-bottom:1px solid #CCCCCC;
	color:#333333;
	font-size:1em;
	font-weight:bold;
	padding:4px 4px 4px 12px;
	width:auto;
}

#belowhead {
	float: right;
	width: 1038px;
	padding:0px;
	/*border-bottom: 1px solid #CCC;*/
	margin-left:0;
	background:#f8fbfe;
}

#leftcolumn {
	width: 636px;
	float: left;
	padding: 5px 4px 10px 0px;
	/*border-right: 1px solid #CCC;*/
	margin-left: 0px;
	min-height:800px;
}
#sidebar {
	float: right;
	width: 361px;
	padding: 10px;
	min-height:800px;
	/*background:#EEE;*/
}
#sidebar h4{
	margin-bottom:10px;
	/*background:#EEE;*/
}
#sidebar li{
	list-style:none;
	padding-left:8px;
}/*Samuel*/

#footer {
	width: 1018px;
	padding: 10px;
	clear: both;
	border-top: 1px solid #CCC;
	border-bottom: 4px solid #CCC;
	background:#FFF;
}

#rightbox {
	padding:0px;
	
	}
#redbox {
	/*padding:20px;*/
	padding-left:20px;
	padding-bottom:15px;
	
	}

/* Styling Things in Header Block */

/*#navigation1 { Samuel Add
	width: 300px;
	float:right;
	margin-top: 2px;
}*/
#navigation { /*Samuel Add*/
	/*width: 568px;*/
	float:right;
	margin-top: 0px;
}


#navigation ul {
	padding: 0;
	margin: 0;
	width: 100%;
	/*float: right;
	margin-top:-36px;  Samuel Remove*/
}
#navigation ul li { font-size:1em;display: inline; }
#navigation ul li a {
	padding: 1px 4px; /*Samuel Change*/
	padding-top:4px;
	padding-bottom:3px;
	float: right;
	margin-left: 3px;
	text-decoration: none;
	
	color:#FFF;
}
#navigation ul li.current_page_item a, #navigation ul li a:hover {
	background:#FF6600;
	color:#FFF;
	padding-top:4px;
	padding-bottom:4px;
	/*text-decoration: underline;*//*Samuel*/
}
#submenu2 {z-index:5999999;
}
#submenu4 {z-index:5999999;
}

#dateunit {
	font-size: 0.9em;
	font-family:Arial, Helvetica, sans-serif;
	font-style:normal;
	text-align: left;
	margin-left:6px;
	color: #ffffff;
	/*margin-top:2px;
	margin-bottom:12px;
	position:absolute;
 	top:2px;
	right:920px;*/
}

#headerdate {
	float: left;
	width: 125px; /*Samuel Add*/
	/*margin-top: 18px;
	margin-bottom: 16px;*/
	text-align:right;
	/*margin-right:500px;*/
	margin-top:4px;
	margin-left:2px;
	}
	
	
#header2 {
	width: 1038px;
	float: right;
	padding: 0px 0px 0px 0px;/*Samuel*/
	/*padding: 16px 0 32px 0; *//*Samuel remove*/
	background:#FFF;
	/*background-image:url(../home/DM_header.jpg);*/
	/*background-repeat: repeat-y;*/
	height:121px;/*Samuel*/ 
	/*
	border-top: 4px solid #CCC;
	border-bottom: 1px solid #CCC;
	background:#6699FF;
		*/
}
#headerlogo {
	float:left;
	width: 260px; /*Samuel Add*/
	/*margin-top:31px;
	padding-top:4px;*/
	margin-bottom:0px;
	left: 0px;
	text-align:left;
	height:60px;
	position:relative;
	}

#headerAD {
	/*margin-top:14px;
	margin-bottom:12px;
 	width:732px;*/
	float:right;
	margin-top:10px;
	position:relative;
	margin-right:0px;
	height:90px;
}

/* Styling Things in Belowhead Block */
#belowhead{ margin-top:-23px; border-bottom: 4px solid #99CCFF; border-top: 4px solid #99CCFF; }
#belowhead ul { padding: 4px 0; }
#belowhead ul.subcat { border-top: 2px solid #99CCFF; /*margin-left:16px;*/}
#belowhead ul.maincat li, #belowhead ul.subcat li {line-height:160%; list-style-type: none; display: inline; margin: 0 0px;font-size: 13px;font-weight: bold; }
#belowhead ul.subcat li a { color: #0016ff; }
#belowhead ul.maincat li a{margin-top:12px; font-size: 15px;line-height:160%; margin-left:0px; margin-right:7px;}
#belowhead ul li a { padding:2px 0px 2px 0px; margin-left:0px; margin-right:5px;}
#belowhead ul li a:hover { text-decoration: none;background:#FF6600;color:#FFF; padding:2px 0px 2px 0px; }
#belowhead li.current_cat a{
	/*text-decoration: underline;*/
	color: #FFF;
	background:#FF6600;
	padding:2px 0px 2px 0px; /*Samuel Add - subtitle background area*/
	
}

#belowhead ul.maincat { /*Samuel Add - fix belowhead background for firefox*/
	/*text-decoration: underline;
	color: #FFF;
	background:#FF6600;*/
	padding:2px 0px 2px 0px; /*Samuel Add - subtitle background area*/
}

#belowhead ul.subcat li.current_cat a {
	/*border-bottom:1px solid #6699FF;*/
	background:#FF6600;
	color:#FFF;
	/*
	color: #FFF;
	background:#6699FF;
	*/
}

.entrytext p {margin: 14px 0; font-size:14px;} /*Samuel Add*/
.two {
	margin:0;   padding:0;
	list-style:none;
	}

/* Left Column Section */
.post { margin: 15px 0 15px 0; padding: 5px 0 20px 0;border-bottom: 3px solid #abe1fa;}/*Samuel*/
.post h2 { margin: 0 0 10px 0; }
.post h2 a { text-decoration: underline; }
.post .entry { margin: 14px 0;}
.post .entry p {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 15px;
}

.entry table td{
padding: 3px 6px ;
border: 1px solid #000000;
}
.post .entry sub, sup {
   font-size: 12px;
}
#cotitle { padding-top: 25px; }
.post .postmeta, .post .postfooter { font-size: 12px; color: #064878; }
.postfooter{padding-bottom:16px;}
.post .postmeta a, .post .postfooter a { color: #064878; font-weight: ;}
.post .postmeta a:hover, .post .postfooter a:hover { color: #cc0000; }
p.author a { font-weight: bold; }
p.cats, p.tags { font-weight: bold; }
p.cats a, p.tags a { font-weight: normal; }

.about_author_details {padding-bottom:10px; border-bottom: 1px solid #ccc;}

/* Left Column Section - Single Post */
#abstract { font-size: 14px;}
.author_info a:hover{
	
}

.related {display: block; clear:both; margin-top: 30px; }
.related h5 { font-weight: normal; font-style: italic; }
.related ul { margin: 5px 0 30px 0; }
.related ul li, ol li {line-height:150%; }
.related ul li { font-size: 1.1em; }
.related ul li { list-style-type: disc; list-style-position: inside; }
.related ol li { list-style-type: decimal; list-style-position: inside; }
.related ul.nobullet li, ol.nobullet li {
	list-style-type: none; list-style-position: inside;
}
blockquote { font-size: .9em; background-color: #F2F2F2; margin: 20px; }
blockquote p { padding: 10px; }
.prev a { float: left; font-weight: bold; font-size: 1.125em; }
.next a { float: right; font-weight: bold; font-size: 1.125em; }
/* Left Column Section - Comments */
#comments, #respond { color: #999; }
#respond { margin-top: 15px; }
ol.commentlist { margin: 10px 0; font-size: 1.1em;}
ol.commentlist li { list-style-type: decimal; list-style-position: inside; }
.commenttext p { margin-left: 1.2em; margin-bottom: 10px; line-height:120%;}
#unapprove {color: red;}
#commentform { margin: 15px 0; }
#commentform input#author { margin-left: 20px; }
#commentform input#email { margin-left: 22px; }
#commentform input#url { margin-left: 9px; }
#commentform #secureimgdiv { margin: 6px 0 0 0; }
span.trackback { margin: 0 10px; }
textarea { width: 95%; margin: 10px 0; }
input { width: 40%; margin: 0; border:1px solid #CCC;}
input#submitComment { width: 15%; margin-top: 6px;}
.caption { display:block; font-size: 1em; color: #666; margin-left:8px; text-align: left; line-height: 120%}

/* Sidebar Section */
#sidebar { font-size: 1.1em;padding: 8px;}
#sidebar h4{color:#003399;padding-top:0px;background:#99CCFF;/*height:34px;background:url(images/hbg.png) repeat-x;*/}
#sidebar h4, #sidebar h5 { text-align:center; margin-top: 15px;width:356px;}
#sidebar a{
	/*text-decoration:none;
	color:#39F;*/
}
#sidebar p { padding: 0; margin: 0; }
#sidebar p.centered {
	text-align: center;
	padding-top: 3px;
}
#searchinput {
	width: 356px;
	font-size: 13px;
	/*padding: 3px 5px;*/
	margin-bottom: 0.5em;
}
form #searchform {
	margin: 0 auto;
	text-align: center;
}
form #searchsubmit { background-color: #eee; width: 32%;}
form div.searchlist { text-align:center; }
#categories{
	background: #EFF5FF;
}
/*#categories .twocol ul li { 
	list-style-type: none; 
  	list-style-position: outside;
	font-weight: bold;
  	font-size: 12px;
}

#categories ul.children li {
	font-weight: normal;
	list-style-position: inside;
	list-style-type: disc;
	font-size: 1em;
}
#categories ul.children ul.children {
	padding-left: 24px;
}
#categories ul.children ul.children li {
	font-weight: normal;
	list-style-position: outside;
	list-style-type: disc;
	font-size: 1em;
}*/
#categories .toplevel { font-size: 14px; }
#categories .sublevel {
	display: block;
	padding: 3px 0 10px 0;
	border-bottom: 1px solid #ccc;
	width: 359px; 
}
#categories .sublevel a, a.tagcloud { margin-right: 4px; }

#tag { margin-top: -12px; }
#tag p span { margin: 0; padding: 0; }

.twocol .right { 
	float: right; 
	position: relative; 
	width: 45%;
	padding:0px 0px 10px 5px;
}

.twocol .left { 
	float: left; 
	position: relative; 
	width: 45%;
	padding: 0px 0px 10px 0;
	
}

.twocol { margin: 0; padding: 0; width: 100%; overflow: auto;}
.twocol ul li a { font-size:12px; }

.cat-item li { 
  font-size: .8em;
}

ul.related_articles li {
  font-size: 1.1em;
}

.author_list ul {
	font-size: 1.05em;	
}
.author_list ul li{
	display: block;
}
.author_list ul li ul{
	list-style-type: disc;
	/*display: inline;	*/
}
.author_profile blockquote {
	font-size: 1.1em;
}

/* Sign-Up Section */
.widecolumn h2 { text-align: center; margin-top: 5px; }
.widecolumn p { margin: 15px 0; }
input { width: 10%; }
.widecolumn tr.error strong { color: #CC0000; }

/* Footer Section */
#footer p { font-size: 1.05em; color: #777; }
.clearer{
	clear:both;
	padding:6px 0;
	/*border-bottom:2px solid #ABC;*/
}
ol.commentlist li.author{
	text-decoration:none;
	background-color: #eff7ff;
}
ol.commentlist li.visitor{
	background-color: #fffff6;
}

table{
    font-size: 1em;
	line-height:160%;
	border-collapse: collapse;
}
table tr{
    line-height: 15px;
}
table th{
	text-align:right;
}
input{
	width:170px;
	padding:2px 0;
}
select{
     width:160px;
}
.extraInput{
     width:333px;
}
#checkbox{
	width:14px;
	height:14px;
	margin-top:0px;
}
/*#signup_approval_field_country,#signup_approval_field_state_province,#signup_approval_field_specialty{
	width:140px;
	margin-bottom:0px;
}*/

#submit{
	border:1px solid #CCC;
	width: 50%;
}
#submit:focus{
	border:1px solid #CCC;

}

#securitycode, #email, #author, #url{
	margin-top: 3px;
}

#tos_content {
	width: 83%;
}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
	text-align:center;
}

.wp-caption p.wp-caption-text {
	font-size: 1em;
	text-align: left;
	line-height: 17px;
	padding: 10px 5px 5px 10px;
	margin: 0;
}

.wp-caption-dd {
   text-align: left;
}
/* End captions */

* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	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.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */
