/* User-interface controls for OFPS application */

#ofps_metadata {
    display:none;
}
/* Comment handling */

/* Holds all comments on this content */
#all_comments {
    display:none;
}

.comment {
  margin-left: 1em;
  display:none;
}

div.comment_resolved {
  font-size: smaller; 
  font-style: italic;
}

a.comment_count {
  color: gray;
  text-decoration:underline;
}

.comment_container {
  position: relative;
}
blockquote .comment_container p.comment_count {
  right: -183px;
}

.comment_container p.comment_count {
  position: absolute;
  right: -143px;
  bottom: 12px;
}
.note p.comment_count,
.tip p.comment_count,
.caution p.comment_count,
.warning p.comment_count,
.sidebar p.comment_count {
  right: -183px; /* Narrower */
}  
table.simplelist p.comment_count {
  right: -146px;
}  


div.reset {
  display:block;
  margin-bottom: 1em;
}
p.comment_count {
  font-size:80%;
  text-align: right;
}
h4.make_comment {
  margin-left: 20px;
}
a.make_comment:hover, a.make_comment:link, a.make_comment:visited {
  text-decoration:underline;
}
#comment_form_main {
  display:none;
}
div.comment ol {
  list-style-type: none;        
}
div.comment ol li {
  background:rgb(238, 238, 255);
  border: 1px solid navy;
  margin-top: .5em;
  padding:.4em;
  margin-left:0;
}
.comment_author {
  font-weight: bold;
  padding-right: 2em;
}
.comment_created {
  color: gray;
}
.comment_content {
  font-size: .8em;
  margin-top: 1em;
}
.comment_form {
  margin: 1em;
  margin-left: 20px;
}
.comment_form .required {
  display:none;
}
.comments_instructions a {
  text-decoration: underline;
}
.comments_instructions  {
  font-size: small;
  color:gray;
}

fieldset {
    border: none;
}

/* Header Styles */
.oreilly-header { 
  height: 32px;
  background-image: url(../images/oreilly-header.jpg);
  background-repeat: repeat-x;
  max-width: 100%;
  font-size: 12px;
  color: rgb(169,169,169);
  text-transform:uppercase;
}
.oreilly-header ul { 
  margin-left: 0;
  padding-left: 0;
  display: inline;
  /*line-height: 32px;*/ /* half the height */
}  

.oreilly-header ul li { 
  list-style: none;
  display: inline;
  margin-left: 3em;
}  

.oreilly-header ul li p { 
  display: inline;
}  

.oreilly-header a { 
  color: rgb(214,214,214) !important;
  padding-left: 0.3em;
  padding-right: 0.3em;
}

.oreilly-header img { 
  border: 0; 
  margin: 0; 
  padding: 0;
  display: block; 
  float: left;
}

/* Navigation */
.navheader {
  margin-top: 1em;
  padding-bottom: 0;
  border-bottom: 1px solid #fff; /* fix overflow bug */
}

.navfooter {
  padding-top: 1em;
}

.navheader th, .navfooter td {
  color: #999;
}
.navheader table tbody tr th {
  display: none; /* Also consider DocBook param navig.showtitles */
}

/* Footer */
#feeds {
  text-align: center;
}
#feeds p {
  padding-top: 1em;
}

#ofps_last_updated {
    font-size: small;
    margin-top: 1em;
    background: #eee; /* To match main background color */
}
a.box img {
    border: none; /* IE 8 wants to put a default border here */
}
#lightbox {
    position: absolute;
    width: 700px;
    display: none;
    padding: 20px;
    -webkit-box-shadow: 5px 5px 5px #777;
    -moz-box-shadow: 5px 5px 5px #777;
    box-shadow: 5px 5px 5px #777;
    border: 3px solid gray;

}

/* Placeholder page when a title is no longer available */
#placeholder {
    max-width: 80%;
    min-height: 100%;
}
#placeholder table td {
    vertical-align: top;
}
#placeholder .book-content {
    padding: 2em;
}
#placeholder .book-content h1 {
    line-height: 1.2em;
}

/* Show/hide TOC; by default hide below the sect1 level */
div.toc dl dd dl dd {
    display:none;
}
div.toc_toggle {
    text-align: right;
}

/* Don't show a tap color in mobile lightboxes */
a.box {
 -webkit-tap-highlight-color: rgba(0,0,0,0);
}

div.pagination {
    padding-top: 1em;
    clear:both;
}

div#search-form-container {
    float: right;
}

p#search-results {
    clear: both;
}
.index ul {
    position:relative;
}
.index li {
    clear:both;
    width: 90%;
    list-style-type: none;
    padding-top: 2em;
}
.index li img {
    float:left; 
    border: none;
}
.index li div {
    float: left;
    max-width: 340px;
    margin-left: 2em;
}

.index li img {
    width: 100px;
}
