/* 
	General styles 
*/
 
body {margin: 0; padding:20px 0 20px 0; color: #000;  background: #736F6E; line-height:normal;
	font-size:14px; font-family: arial, helvetica, sans-serif;  }
   						
p { margin: 0 0 16px 0; line-height: 19px;}

.v { text-decoration:overline; }

.dot { background: url(../images/dot.gif) top center no-repeat; padding-top: 3px; }

a { text-decoration: none; }

a img { border: 0; }
	
img.center  	{ display: block; margin-left: auto; margin-right: auto; border: 1px solid #000000; } 
img.left 	  	{ display: inline-block; float:left; margin:10px 10px 10px 0; border: 1px solid #000000; } 
img.lefttop 	{ float:left; display: inline-block; margin:0px 10px 10px 0px; border: 1px solid #000000; }  
img.right 	 	{ float:right; display: inline-block; margin: 10px 0px 10px 10px; border: 1px solid #000000; }
img.righttop 	{ float:right; display: inline-block; margin: 0px 0px 10px 10px; border: 1px solid #000000; }

img.e_center 	{ display: block; margin-left: auto; margin-right: auto; padding: 8px 8px; }
img.e_left		{ display: inline-block; float: left; margin 8px 8px 8px 0px; }
img.e_lefttop 	{ display: inline-block; float-left: margin 0px 8px 8px 8px; }
img.e_right     { display: block; margin-left: auto; margin-right: auto; padding: 8px 8px; }
img.e_righttop 	{ display: inline-block; float-left: margin 0px 8px 8px 8px; auto; margin-right: auto; padding: 8px 8px; }

td { padding:3px; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.45em; }
sub { bottom: -0.2em; }

pre {
	font-family: arial, helvetica, sans-serif;
	font-size: 13px;
	line-height: 110%;
	margin: 0;
}

.simple { border: 1px solid black; border-collapse:collapse; }
.simple th, .simple td { border: 1px solid black; }



/* 
	Template styles 
*/
		
#wrapper { width: 910px; margin: 0 auto 2px auto; background: #736F6E; padding: 0px; } 

#header { position: relative; }
	#header .logo { left: 0; position: absolute; top: 0; z-index: 10; }

#banner	{ position:relative; text-align:center; font-size:28px; height:160px; overflow:hidden;
	   margin-bottom:10px; border-top:1px solid #000; border-bottom:4px solid #000; } 
	#banner ul { margin:0; padding:0; }
	#banner li { margin:0; padding:0; list-style:none; }

#mainnav { background: #fff; overflow: hidden;  padding: 0 0 6px 0; }
	#mainnav h1 { font-size: 28px; font-weight: normal; text-align: center; }
	#mainnav h2 { font-size: 22px; font-weight: normal; margin: 10px 0 6px; text-align: center; 
		display: block; float: none; line-height: normal; height: auto; }
	#mainnav h3 { font-size: 18px; font-weight: normal; font-style: italic; margin-top: 0; text-align: center;
		display: block; float: none; line-height: normal; height: auto; }

#wrapper #mainnav.full { background: #F0F3EA; }	

#footer { width: 920px; margin: 10px auto; font-size: 11px; }


/*
	Page specific styles
*/

/* Table of contents */
#mainnav .toctext { float:right; padding:12px 30px 0px 30px;  width: 609px; font-size:16px; line-height:110%;
		overflow:hidden; background: #F0F3EA; min-height: 60px; }

table.toc_table { width: 100%; margin: 14px 0 35px; }
	table.toc_table td.num { width: 5%; }
	table.toc_table td.title { width: 75%; padding-left: 30px; }
	table.toc_table td.number { width: 20%; text-align: right; }
	
	table.toc_table ul { margin: 2px 0; padding-left: 18px; list-style: square; }
	
	.toc_table a {color: #330099; text-decoration: none; }	
	.toc_table a:hover { color: #000000;}
	.toc_table a:visited {color: #000000;}
	
/* Table of contents toggle */
a.toggle { font-size:12px; text-decoration:none; float:right; text-indent: 0; color: #330099; }
ul.toggletopic { margin-left: 45px; display: none; }
ul.toggletopic li { display: inline-block; margin: 10px 20px 0 0; text-indent: 0; }
ul.toggleexample { display: none; }
ul.toggleexample li { display: inline-block; margin: 10px 20px 0 0; text-indent: 0; }


/* Tags list styles */
.panel_tags_list { padding:20px 0; margin:2px 6px 1px 6px; overflow:hidden; clear:both; }
.panel_tags_list .tags_list { padding-left: 20px; }
.panel_tags_list .tags_list td { vertical-align: top; }
.panel_tags_list li { margin-bottom: 4px; list-style: none; }

.panel_tags_hierarchical { padding:2px 0 22px 0; margin:2px 6px 1px 6px; overflow:hidden; clear:both; }
.panel_tags_hierarchical .parentrow { padding: 20px 20px 0; }
.panel_tags_hierarchical .childrenrow { padding: 0 20px 0; overflow: hidden; }
.panel_tags_hierarchical .childrenrow .col { float: left; width: 33.3333%; }
.panel_tags_hierarchical .childrenrow ul { margin: 0; padding: 10px 0 0 30px; list-style: square; }
.panel_tags_hierarchical .childrenrow li { list-style: square; margin-bottom: 4px; }
	
	
/* Preview styles */
#excerpt { background: #fff; overflow: hidden;  padding: 0 0 6px 0; margin-bottom: 6px; }

#premise { background: #fff; overflow: hidden;  padding: 0 0 6px 0; margin-bottom: 6px; }                              
      
.panel { padding:0px; margin:2px 6px 1px 6px; clear:both; position: relative; }

.panel_notice { padding:6px; margin:0px 6px 1px 6px; overflow:hidden; background-color:#FFF8C6; }
	.panel_notice p { margin-bottom: 0; padding-bottom: 0; }
	
	.panel_notice .leftbar { padding:14px 0 0 0; background: none; }
	.panel_notice .text { padding:16px 0; background:none; }

.panel_tocheader { padding:14px; margin:6px 6px 1px 6px; overflow:hidden; background-color:#F0F3EA; font-size: 15px; }
	#mainnav .panel_tocheader h1 { display: inline-block;font-size:150%; line-height:150%; margin:0px 14px 0px 0px;
			padding:0px 2px 0px 0px; float:left;display:block; }
	
.panel_header { padding:14px; margin:6px 6px 1px 6px; overflow:hidden; position: relative; background-color:#E0E0E0; font-size: 15px; }
	.panel_header h1 {
		display: inline-block;font-size:23px; line-height:30px; margin:0px 14px 0px 0px;
		padding:0px 2px 0px 0px; float:left;display:block;
	 }
	.panel_header .right { position: absolute; top: 18px; right: 14px; }

.panel_content { padding:14px; margin:6px 6px 1px 6px; overflow:hidden; position: relative; font-size: 15px; }
	.panel_content h1 {
		display: inline-block;font-size:23px; line-height:30px; margin:0px 14px 0px 0px;
		padding:0px 2px 0px 0px; float:left;display:block;
	 }	
	 
.panel_nav { padding:14px 0; margin:0px 6px 1px 6px; overflow:hidden; background-color:#ffffff; }
	.panel_nav p { margin-bottom: 0; padding-bottom: 0; }
	
	.panel_nav .leftbar { padding:3px 0 2px 0; background: none; font-size: 16px; text-align: right; }
	.panel_nav .text { padding-top:0px; padding-bottom: 0px; background: #fff; min-height: 0; }		
   
.leftbar {float:left; width:220px;  padding-top:10px;  /* decrease padding-top to raise.  */  font-size: 14px; }

	.leftbar  ul   { margin-top:0px; padding:0px; list-style-type:none;} 
	.leftbar  li   { font-size: 15px; text-align:right; line-height:170%; padding-right:2px; }
 
	.leftbar  a:link  { text-decoration:none; } 
	.leftbar  a:visited { text-decoration : none; }
	.leftbar  a:hover { color: #000000;}
	
	.leftbar .pagenum, .leftbar .askortell { font-size: 11px; }
	.leftbar .lrg { font-size: 16px; }
	
	.panel .leftbar { padding-bottom: 20px; }
	.leftbar .tagexcerpt { 
		position: absolute; bottom: 10px; width: 220px; text-align: right;
		font-size: 11px; line-height: 17px; margin-top: 2px; }

.text_even, .text 	{float:right; padding:12px 12px 9px 12px;  width: 645px; font-size:16px; line-height:110%;
		background: #F0F3EA; /* green */ }

.text_odd 	{float:right; padding:12px 12px 0px 12px;  width: 645px; font-size:16px; line-height:110%;
	 background: #E0E0E0; } /* grey panel  */ 

.panel::after, .text_odd::after, .text_even::after { display: block; clear: both; content: ""; }	 

.text_odd table, .text_even table { width: 100%; }
	 
.row_even .excerpt .text, .row_even .excerpt .textg { background: #F0F3EA; }
.row_odd .excerpt .text, .row_odd .excerpt .textg { background: #E0E0E0; }

.cont_title { display: inline-block;font-size:140%; line-height:150%; margin:0px 14px 0px 0px;
		padding:0px 2px 0px 0px; float:left;display:block; }
.cont_title a {color:#000000; text-decoration:none;}

/* Ben... "h1" is for the CONT drop-title.  */
/*        "h2" is for the XRPT drop-title */
/*        "h3" is for a paragraph "bold-lead" */

/* .panel h1 {float: left; font-size: 24px;  line-height: 10px;  margin: 0.48em 0.48em 0.33em 0;} 
       .panel h1 a {color:#000000; text-decoration:none;}
       
.panel h2 {float: left;  font-size: 20px; line-height: 0.5em;  margin: 0.50em 0.60em -0.00em 0;}
		.panel h2 a {color:#800000; text-decoration:none;}
        		
.panel h3 {float: left;  font-size: 1.10em;  line-height: 0.5em;  margin: 0.20em 0.42em -0.22em 0;}
       .panel h3 a {color:#800000; text-decoration:none;}
       */
       
       
.panel h1
       {display: inline-block;
		float : left;
		font-size: 1.80em;
		line-height: 1.00em;
		font-family: Helvetica narrow, sans-serif;
		margin-top:  0.20em;
		margin-right: 0.70em;
		margin-bottom: 0.00em;
		margin-left: -0.05em;
		/*border: 1px solid #8AC007; */}
.panel h1 a {color:#000000; text-decoration:none;} 
						
.panel h2
       {display: inline-block;
        float : left;
		font-size: 1.40em;
		line-height: 1.2em;	
		font-family: Helvetica narrow, sans-serif;		
		margin-top:  0.20em;
		margin-right: 0.80em;
		margin-bottom: 0.20em;
		margin-left: -0.05em;
		/* border: 1px solid #8AC007; */}
.panel h2 a {color:#000000; text-decoration:none;}
		
.panel h3
       {display: inline-block;
		float : left;
		font-size: 1.20em;
		line-height: 0.50em;
		font-family: Helvetica narrow, sans-serif;
		margin-top:  0.00em;
		margin-right: 0.70em;
		margin-bottom: -0.10em;
		margin-left: -0.05em; 
        /*border: 1px solid #8AC007;  */}
.panel h3 a {color:#000000; text-decoration:none;} 
		       

/* Ben's h1	
.panel h1 { float:left; height:20px; font-size:33px; margin-top:8px; margin-bottom:0px; margin-right:14px; font-weight: normal; }
	.panel h1 a {color:#000000; text-decoration:none;} */
	
/* Ben's h2 
.panel h2 { float:  left; height:16px; font-size:22px; margin-top:0px; margin-bottom:0px; margin-right:12px; font-weight: normal; }
	.panel h2 a {color:#800000; text-decoration:none;}   */	

/* Topic/Example styles */

.topicPage #footer { padding-left: 240px; width: 650px; }
	.topicPage #footer a { color: #fff; }

#topic {  padding: 0; margin-bottom: 6px; background: #fff; }
	#topic .panel { margin: 0; }
	
	#topic .text_even { border: 6px solid #fff; min-height: 300px; }
		.text_even ul { list-style: square; padding: 0 0 0 30px; margin-bottom: 16px; }
		.text_even ol { list-style: decimal; padding: 0 0 0 30px; margin-bottom: 16px; }
		.text_even li { margin-bottom: 6px; }
		
	#topic .header { width:100%; margin-bottom:20px; border-bottom: 2px solid #000000; font-size: 12px; }
	#topic .header .leftcol { font-size: 13px; }
	#topic .header .rightcol { text-align: right; }
	
	#topic .tags { border-top: 1px solid #000000; font-size: 13px; padding: 10px 0; margin-top: 30px; clear: both; }
		
/* Ask or tell form */
.askortell { overflow:hidden; font-size: 14px; line-height: 18px; }		
		.askortell h2 { margin: 6px 12px 0 0; font-weight: normal; font-size: 22px; line-height: 26px; float: left; }
		.askortell p { clear: both; padding-top: 3px; margin-bottom: 0; }
		.askortell div { overflow: hidden; clear: both; }
		.askortell input { width: 210px; padding: 4px; border: 1px solid #999; font-size: 13px; }
		.askortell textarea { width: 98%; height: 100px; padding: 4px; margin: 4px 0 6px; border: 1px solid #999; font-size: 13px; }
		.askortell input.submit { width: auto; padding: 6px 30px; cursor: pointer; background: #999; color: #fff; }
		.askortell input.submit:hover { background: #666; }
		.askortell .submitrow { padding-bottom: 0px; }
		
		.askortell .formheader1 { margin-bottom: 12px; }
		.askortell .formheader2 { margin-bottom: 2px; }
		.askortell .topic { width: 362px; }
		.askortell .red { color: red; }
		.askortell input.error, #topic .askortell textarea.error { border: 1px solid red; }
		.askortell .honey { visibility: hidden; height: 0; width: 0; padding: 0; margin: 0; }
		
		ul.alerts { padding: 0; margin: 16px 0; font-size: .9em; list-style: none; }
		.alerts li { margin-bottom: 3px; list-style: none; }
		.alerts li.success { background: #c8eebf; border:1px solid green; color:green; 
			padding: 8px; }
		.alerts li.error { background: #fce9e9; border:1px solid red; color:red; 
			padding: 8px; }
			
/* line numbering */
.lined { overflow: hidden; }
.linedwrap { padding: 3px; overflow: hidden; margin-bottom: 16px; }
.linedtextarea { padding: 0px; margin: 0px; }
.linedtextarea textarea, .linedwrap .codelines .lineno { font-size: 10pt; font-family: monospace; line-height: normal !important; }
.linedtextarea textarea { padding-right:0.3em; padding-top:0.3em; border: 0; width: 100%; outline: none; background: transparent; }
.linedwrap .lines { margin-top: 0px; width: 40px !important; float: left; overflow: hidden; border-right: 1px solid #c0c0c0; margin-right: 10px; }
.linedwrap .codelines { padding-top: 5px; }
.linedwrap .codelines .lineno { color:#AAAAAA; padding-right: 0.5em; padding-top: 0.0em; text-align: right; white-space: nowrap; }
.linedwrap .codelines .lineselect { color: red; }	

/* slideshow */
#wrapper .slideshow {
	margin-bottom: 0;
	background: #fff;
	padding-bottom: 10px;
}
#nav {
	border-top: 1px solid #000;
	height: 44px;
}
#nav a {
	position: relative;
	top: -1px;
	display: block;
	padding: 8px 10px 5px;
	float: left;
	color: gray;
	font-size: 18px;
	text-decoration: none;
	background: #F0F3EA;
	border-top: 1px solid #000;
}
#nav a.activeSlide {
	color: #000;
	border: 1px solid #000;
	font-weight: bold;
	border-top: 1px solid #fff;
	background: #fff;
}
#nav a:hover { color: #000; }

/* ask or tell popup */
#askortell {
	display: none;
	border-top: 8px #736F6E solid;

	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 99;
	
	height: 210px;
	width: 100%;
	
	background: #736F6E;
}
#askortell .inner {
	position: relative;
	margin: 0 auto;
	padding: 20px 20px;
	width: 870px;
	
	background: #fff;
}
#askortellclose {
	position: absolute;
	top: 20px;
	right: 30px;	
	color: rgb(0, 0, 238);
	cursor: pointer;
}
#askortellclose:hover {
	color: #000;
}
iframe {
	border: 0;
}

/* dropdown */
.dropdown {
	position: relative;
	display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	left: -15px;
	background-color: #ffffff;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 12px 15px;
	z-index: 1;
	margin-top: 2px;
}
.dropdown-content p:last-child {
	margin-bottom: 0;
}
.dropdown:hover .dropdown-content {
	display: inline-block;
}

		