/* body, general settings
------------------------- */

body {
    font-family:sans-serif;
    padding:0;
    margin:0 10px;
    font-family:Verdana,sans-serif;
}

body, p, div, li, td {
    font-size:11px;
    color:#222;
}

div {
    margin:0;
    padding:0;
}

div.catalogie {

    width: 64%;


}

img {
    border:0;
}

pre, code {
    font-family:'andale mono','lucida console',monaco,monospace;
    color:#036;
}

pre {
    clear: both;
    overflow: auto;
    /*width:100% !important;*/
    width: 600px; /*for IE, which doesn't obey !important or width:100% on pre */
    padding-bottom: 0 !important;
    padding-bottom: 1.5em; /* for IE which doesn't make room at the bottom of the pre for a horizontal scrollbar */
}

.pre-wrap {
white-space: pre-wrap;
}

#lte-ie7 .pre-wrap {
white-space: pre;
display: block;
clear: both;
width: 344px;
overflow-x: auto;
overflow-y: hidden;
height: auto;
padding: 10px 0 20px;
}

a, a:visited {
    text-decoration:none;
}

a {
    color:#00f;
}

a:visited {
    color:#551a8b;
}

a:hover {
    text-decoration:underline;
}

img[align=left] {
    margin-right:0.5em;
}

img[align=right] {
    margin-left:0.5em;
}

hr {
    border:none;
    color: #ccc;
    background-color: #ccc;
    height: 1px;
    width:100%;
    clear:both;
}

hr.divider {
    color:#333;
    background-color:#999;
}

#page {
    width:90em; /* was 72em */
    margin:0 auto 1em;
    background-color:#fff;
    border-left: 1px solid #d4d4d4;
    border-right: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
}

/* header settings
------------------ */
#header {
    height:67px;
    width:90em;
}

#header .main-logo {
    width:293px;
    height:98px;
    margin:0 0 0 180px;
    padding:0;
    text-align:center;
	float:left;
}

#header #logo {
float:left;
height:67px;
margin:0;
padding:0;
width:228px;
}

#header h1 {
    float:left;
    width:228px;
    height:67px;
    margin:0;
    padding:0;
    /*background:url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/oreilly.gif) no-repeat 0 0;
    font-size:0;
    text-indent:-9999px;*/
}

#header ul {
    width:266px;
    float:right;
    list-style:none;
    margin:36px 0 0 0;
    padding:0;
}


#header ul li {
    font-size:0;
    text-indent:-9999px;
    float:left;
    display:inline-table; /* css 2.0 won't stack the <li>s, so we add display property */
}

#header a {
    display:block;
    margin:0;
    padding:0;
    height:22px;
    text-decoration:none; 
}

#header a.sign {
    width:54px;
    background:url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/button_sign.gif) no-repeat 0 0;
}

#header a.signout {
    width:65px;
    background:url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/button_signout.gif) no-repeat 0 0;
}

#header a.acct {
    width:86px;
    background:url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/button_acct.gif) no-repeat 0 0;
}

#header a.cart {
    width:100px;
    background:url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/button_cart.gif) no-repeat 0 0;
}

#header a.sign:hover, #header a.acct:hover, #header a.cart:hover, #header a.help:hover {
    background-position: 0 -22px;
}


/* navigation - main
-------------------- */
#nav {
    background:#000 url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/bg_nav.gif) repeat-x 0 0;
    margin:0;
    padding:0;
    width:90em;
    clear:both;
}

#nav ul, #subnav ul {
    list-style:none;
    margin:0;
    padding:0;
    overflow:hidden;
    clear:both;
}

/* this is new, replacing the below */
#nav ul li{
      float:left;
      display:block;
}
/* removing this as it breaks the nav on FFox 1.7
#nav ul li {
    float:left;
    display:inline-table;
} */

#nav ul li a {
    display:block;
    line-height:30px;
    padding:0 1em;
    text-decoration:none;
    font-size:12px;
    color:#fff;
    float:left;
    border-right:1px solid #000;
    margin:2px 0;
}

#nav ul li.searchbox {
    padding-right:2em;
    float:right;
}   
    
#nav ul li input {
    margin:8px 0 0 2px;
    padding:0;
    vertical-align:middle;
    font-size:95%;
    color:#666;
}   
    
#nav form {    margin:0;
    padding:0;
}

/* Commented Backslash Hack
     hides rule from IE5-Mac \*/
#nav ul li a {
    float:none;
}
/* End IE5-Mac hack */

#nav ul li a:hover {
    background:#000 url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/bg_nav_hover.gif) repeat-x 0 0;
    color:#bbb;
}

#nav li.nav_selected a, #nav li.nav_selected a:hover {
    line-height:34px !important;
    margin:0 !important;
    background: #990000 !important;
    background-image:none !important;
}

fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

/* navigation
--------------------- */
div#netnav {
    width:16em;
    float:left;
    padding:1em 0 0 2em;
}

#netnav * {
    /* font-size:1em; */
    font-size:.99em;
}

#netnav h3 {
    font-weight:normal;
    margin:1em 0 0 0;
    padding: 4px 0;
    border-bottom:1px solid #666;
    text-transform:uppercase;
}

#netnav ul, #netnav li {
    margin:0;
    padding:0;
    list-style:none;
}

#netnav li {
    display:inline;
}

#netnav ul li a {
    text-decoration:none;
    display:block;
    margin:0;
    padding:4px 6px;
    color:#990000;
    border-bottom:1px solid #aaa;
}

#netnav ul ul li a {
    padding-left:18px;
    color:#666;
}

#netnav ul li a:hover {
    background-color:#F6F6F6;
}

#netnav a.selected {
   background-color:#ececec;
}

#search label {
    text-transform:uppercase;
    position: absolute;
    left: -9999px;
}

#search legend {
    display: none;
}

/* NEW SEARCH */

/* Search bar
===================================== */
	
	#search-box {
		padding-top: 11px;
		padding-bottom: 0;
		background-color: #f6f6f6;
		border-bottom: 1px solid #ccc;
		text-align: center;
	}
	
	#search-form {
		width: 400px;
		margin: 0 auto;
		text-align: left;
	}
	
	#search-title {
		display: block;
		float: left;
		padding: 5px 5px 4px 0;
		font-size: 17px;
		color: #474747;
	}
	
	#search-input {
		display: block;
		float: left;
		width: 260px;
		padding: 0 5px 0 0;
		background: transparent url(https://web.archive.org/web/20100911113254im_/http://oreilly.com/images/oreilly/search_bar_mid.gif) top left repeat-y;
	}
	
	#search-input-top {
		display: block;
		width: 260px;
		background: transparent url(https://web.archive.org/web/20100911113254im_/http://oreilly.com/images/oreilly/search_bar_top.gif) top left no-repeat;
	}
	
	#search-input-bot {
		display: block;
		width: 260px;
		background: transparent url(https://web.archive.org/web/20100911113254im_/http://oreilly.com/images/oreilly/search_bar_bot.gif) bottom left no-repeat;
	}
	
	#search-field {
		float: left;
	}
	
	#search-field input {
		width: 215px;
		padding: 3px 0 4px 10px;
		margin: 0;
		border: 0;
		background: transparent;
		font-size: 16px;
		color: #990000;
		font-family:Verdana, Arial, Helvetica, sans-serif;
	}
	
	#search-field input:focus {
		outline: 0;
	}
	
	#search-button {
		float: right;
	}
	
	#search-button input {
		padding: 0;
		margin: 4px 4px 2px 0;
		height: 18px;
		width: 28px;
		
		font-size: 0;
		line-height: 0;
	}
	
	#search-tips {
		display: block;
		float: left;
		padding: 6px 0 0 0;
		font-size: 10px;
	}
	
	#search label {
		text-transform:uppercase;
	}
		#search legend {
		display: none;
	}
	#search label {
		position: absolute;
		left: -9999px;
	}
	fieldset {
		padding: 0;
		margin: 0;
		border: 0;
	}
	
.clear {
display: block;
line-height: 0;
}


/* navigation - second level
---------------------------- */
#subnav {
    width:90em;
    background-color:#990000;
    padding:6px 0 6px 0;
    border-bottom:1px solid #990000;
    /*margin-top:expression(-2+"px"); causing problems in IE Win*/
}

#subnav ul li {
    float:left;
    display:inline-table;
}

#subnav ul li a {
    padding:0 1em;
    text-decoration:none;
    color:#fff;
    float:left;
}

#subnav ul li + li a {
    border-left:1px solid #fff;
}

#subnav ul li a:hover {
    text-decoration:underline;
}

#subnav .nav_selected a, #subnav .nav_selected a:hover {
    color:#cc9999;
} 

/* menu nav states */
.hideSwitch {
    display:none;
}

.showSwitch {
    display:block;
}

.rollup {
    padding-left:18px !important;
    background:#fff url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/bullet_menu.gif) no-repeat 6px;
}

.rolldown {
    padding-left:18px !important;
    background:#F6F6F6 url(/web/20100911113254im_/http://www.oreillynet.com/images/oreilly/bullet_menu_open.gif) no-repeat 6px;
}

.showtopic {
    padding-left:25px !important;
}

/* content - main
----------------- */

#content {
    width:68em;
    float:right;
    margin:0;
    padding:2em 2em 2em 0;
}

#contentShip {

    width:68em;
    float:right;
    margin:0;
    /* margin-bottom: 200pt; */
    margin-bottom: 100%;
    /* padding: 2em 0 0 1em; */
    padding: 2em 0 5em 1em;
}

#contentShip2 {

    width:65em;
    float:right;
    margin:0;
    /* margin-bottom: 200pt; */
     /* margin-bottom: 100%; */
    /* padding: 2em 0 0 1em; */
    padding: 2em 0 2em 3em;
}




#upsell {
    width:18em;
    margin:0;
    padding:0;
    float:right;
} 

#fullcontent {
    width:86em; 
    margin:2em;
}

#fullcontent2 {

    width:79em;
    margin:2em;

}

#content h3 {
    font-weight:bold;
    color:#000;
    margin:0.5em 0 1em 0;
    font-size:14px;
}

#newsarchive h3 {
   padding:0;
   margin:1em 0 0.25em 0;
}
#newsarchive h3 a {
   color:#444444;
   text-decoration:none;
}
#newsarchive h3 a:hover {
   color:#990000;
   text-decoration:none;
}
#newsarchive h3 a:visited {
   color: #444444;
}
#newsarchive p.cbox a {
   line-height:28px;
   padding-right:8px;
}


#content-rc {
    width:68em;
    float:right;
    margin:0;
    padding:2em 2em 2em 0;
}


#content-rc h4 {
    margin:0 0 0em 0;
    padding:0;
    font-size:11px;
}


#content h4 {
    margin:0 0 0.5em 0;
    padding:0;
    font-size:12px;
}

#content h5 {
    margin:0 0 0 7px;
    padding:0;
    font-size:11px;
}


/* footer
-------------------- */
#footer {
    width:90em;
    border-top:1px solid #ccc;
    padding:1em 0 2em 0; 
    /* z-index: 1;  */
    clear:both; 
}

#footer p {
    text-align:center;
    line-height:1.2em;
}

#footer p.footer-links {
    font-size:12px;
}

#footer img {
    vertical-align:bottom;
    border:1px solid #000;
}

#footer td img {
    border: none;
}

#footer table {
	border: none;
}

#footer td {
	width: 25%;
	padding: 0 20px;
	vertical-align: top; 
}

#footer ul {
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
}

#footer ul li {
	margin:0 0 5px 0;
}


.aleft {
    float:left;
    margin:0 0.5em 0 0.3em;
}

.aright {
    float:right;
    margin:0.5em 0 0 0.5em;
}

.clear, hr.clear {
    font-size:0;
    clear:left;
    width:100%;
    height:0;
    margin:0;
    padding:0;
    background:transparent;
    border:none;
    color:#fff;
}

.more {
    text-align:left;
    padding-left: 11px;
    background-image: url(/web/20100911113254im_/http://www.oreillynet.com/images/icons/arrow.gif);
    background-repeat: no-repeat;
    background-position: center left;
}

.price {
    color:#900;
}

.banner {
    padding:12px 0 0;
    text-align:center;
    background-color:#efefef;
}

.banner p, .banner a, .ad, .ad a {
    text-align: center;
    text-transform:uppercase;
    font-size:9px !important;
    color:#bbb;
    letter-spacing:0.1em;
    padding:0.2em 0;
    margin:0;
}

.sidebar-item {
    padding:0;
    margin:0 0 20px 0;
}

.sidebar-item-ak {
   padding:0;
   margin:0 0 0 20px;

}

.sidebar-item h3 {
    border-top: 1px solid #999;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    line-height:2em;
    font-size:11px !important;
    text-align:center;
    background-color:#eee;
    background:url(/web/20100911113254im_/http://www.oreillynet.com/images/box-item-header.gif) no-repeat 0 0;
    margin:0 !important;
}

.sidebar-item-content {
    border: 1px solid #999;
    margin:0;
    padding:10px;
    overflow: hidden;
}

.sidebar-item-content2 {
    margin:0;
    padding:10px;
}




/* comments
------ */ 
.tb_left {
    width: 30%;
    height: 20px;
    float: left;
    margin-top:0.5em;
}
.tb_right {
    text-align: right;
    width: 60%;
    height: 20px;
    float: right;
    margin-top:0.5em;
}

/* ads
------ */
.box {
    padding:0.2em 0.5em;
    margin:1em 0 0.5em 0;
    border: 1px solid #999;
}

.boxright {
    padding:1em 2em 1em 2em;
    margin:.5em .5em .5em 2.5em;
    float:right;
    width:18em;
    border-left: 5px;
    border: 1px dashed #999;
}

.alerts {
    background-color:#F8D108;
}

.pick {
   padding:50px 1em 0.5em 1em;
   margin:0 0 20px 0;
   border: 1px solid #999;
   background-image: url(/web/20100911113254im_/http://www.oreillynet.com/images/icons/staff_picks.gif); 
   background-repeat: no-repeat; 
   background-position: right top;
}

/* GOOGLE */
a.hl:link, a.hl:visited, a.hl:active, a.hl:hover {
    font-family: arial,sans-serif;
    font-size: 10px;
    color: #fff;
    text-decoration: underline;
}

.ch {
    cursor:pointer;
    background-color:#ffffff;
    border-bottom: 1px solid;
    border-top: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
    border-color: #FFFFFF;
    padding-top:0px;
    padding-left:4px;
    padding-right:3px;
    overflow:hidden;
}

  .listen {
    display: block;
    height: 1.8em;
    float: right;
    list-style: none;

    margin: .5em 0 0 10px;
    padding: 0 0 0 10px;

    font-size: .75em;

    line-height: 1.5em;
    text-align: right;
}



    .listen li {
    margin: 0;
    padding: 5px 0;
    display: inline;
    text-align: right;
}

    .listen a {
    display: block;
    float: left;
    padding: 0 14px 0 0;
    height: 1.8em;
}
/*
    .listen a:hover {
    color: #990000;
    text-decoration: none;
}
*/

    .listen .button {
    font-size:12px;    
    margin-left: 10px;
}
    .listen .option {
    font-size:12px;    
    display: none;
}

/*

    .listen:hover {
    background: transparent url(/web/20100911113254im_/http://www.oreillynet.com/images/tools_corner.gif) left bottom no-repeat;
}

    .listen:hover .option {
    display: inline;
}


  .listen.sfhover {
    background: transparent url(/web/20100911113254im_/http://www.oreillynet.com/images/tools_corner.gif) left bottom no-repeat;
}

  .listen.sfhover .option {
    display: inline;
}
*/


 
  div#gsfn_search_widget img { border: none; }
  div#gsfn_search_widget { font-size: 12px; width: 420px; border: 1px solid #999; margin-bottom: 16px; }
  div#gsfn_search_widget a.widget_title { color: #000; font-weight: bold; display: block; padding: 6px 10px; border-bottom: 1px solid #999; background-color: #DDD; }
  div#gsfn_search_widget .powered_by { padding: 6px 10px; border-top: 1px solid #DDD; } 
  div#gsfn_search_widget .powered_by a { color: #333; font-size: 90%; }      
  div#gsfn_search_widget form { margin-bottom: 8px; }
  div#gsfn_search_widget form label { margin-bottom: 5px; display: block; }
  div#gsfn_search_widget form #gsfn_search_query { width: 70%; }
  div#gsfn_search_widget div.gsfn_content { padding: 10px; }
  div#gsfn_search_widget div.gsfn_content li { text-align:left; margin-bottom:6px; }
  div#gsfn_search_widget div.gsfn_content a.gsfn_link { line-height: 1; }
  div#gsfn_search_widget div.gsfn_content span.time { font-size: 90%; padding-left: 3px; }
  div#gsfn_search_widget div.gsfn_content p.gsfn_summary { margin-top: 2px }


/* clouds */
/* CSS Document */

div#netnav1 {
    width:16em;
    float:left;
    padding:1em 0 0 2em;
}

div#netnav2 {
    width:16em;
    float:left;
    padding:0em 0 0 2em;
}

div#netnav3 {
    width:16em;
    float:left;
    padding:0em 0 0 2em;
}

#netnav1 * {
    font-size:1em;
}

#netnav3 * {
    font-size:1em;
}

#netnav1 h3 {
    font-weight:normal;
    margin:1em 0 0 0;
    padding: 4px 0;
    border-bottom:1px solid #666;
    text-transform:uppercase;
}

#netnav2 h3 {
    font-weight:normal;
    margin:1em 0 0 0;
    padding: 4px 0;
    border-bottom:1px solid #666;
    text-transform:uppercase;
}

#netnav3 h3 {
    font-weight:normal;
    margin:1em 0 0 0;
    padding: 4px 0;
    border-bottom:1px solid #666;
    text-transform:uppercase;
}

#netnav1 ul, #netnav1 li {
    margin:0;
    padding:0;
    list-style:none;
}

#netnav3 ul, #netnav3 li {
    margin:0;
    padding:0;
    list-style:none;
}

#netnav1 li {
    display:inline;
}

#netnav3 li {
    display:inline;
}

.cbox
{
font: normal normal 62.5%/normal Verdana, Arial, Helvetica, sans-serif;
text-align: left;

}

.cbox a:link {
	color: #990000;
	text-decoration: none;
}

.cbox a:visited {
color: #990000;
	text-decoration: none;
}

.cbox a:hover {
color: #990000;
	text-decoration: underline;
}

/* Errata */

.colorkey .typo, .colorkey .minortechnical, .colorkey .serioustechnical, .colorkey .question, .colorkey .language  {
padding: 2px 3px;
margin:0 2px;
}

#errata .serioustechnical {
background-color: #ffe5e5;
}

#errata .minortechnical {
background-color: #fff1da;
}

#errata .language {
background-color: #fbffe3;
}

#errata .typo {
background-color: #eaffef;
}

#errata .question {
background-color: #F1EFFF;
}

/* Reusable content titles */

.red-title {
border: 1px solid #666;
color:#990000;
font-family:Verdana,helvetica,arial,sans-serif;
font-size:11px;
font-weight:bold;
line-height:1.09em;
margin-bottom:4pt;
padding: 0.4em 0;
text-transform:uppercase;
}


/*
     FILE ARCHIVED ON 11:32:54 Sep 11, 2010 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 05:22:58 Jul 04, 2022.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 105.224
  exclusion.robots: 0.182
  exclusion.robots.policy: 0.175
  cdx.remote: 0.058
  esindex: 0.008
  LoadShardBlock: 77.84 (3)
  PetaboxLoader3.datanode: 199.979 (4)
  CDXLines.iter: 14.132 (3)
  load_resource: 194.812
  PetaboxLoader3.resolve: 61.458
*/