/* PostgreSQL.org Documentation Style */

/*
 * Documentation generated by XSL stylesheets has lower-case class
 * names, older documentation generated by DSSSL stylesheets has
 * upper-case class names, so we need to support both for a while.  In
 * some cases, the elements and classes differ further between the two
 * stylesheets.
 */

 /* css for rockdata.net start*/

.BOOK .TITLE, .BOOK .CORPAUTHOR, .BOOK .COPYRIGHT {
	text-align: center;
}

body {
    margin: 0 30px 0 30px;
    font-size: 0.9rem;
    background: #FDFDFD;
    color: #353A3F;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

/* Heading Definitions */

h1, h2, h3, h4, h5, h6 {
  color: #336791;
  font-weight: 600;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.6em;
  margin: 1em 0;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 0.98rem;
}

h6 {
  font-size: 0.9em;
}

img {
  border: 0;
}

dl {
  margin-top: 0;
  margin-bottom: 0.5em;
}

dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}

ol, ul, li {/*
  list-style: none;*/
  font-size: 1.0em;
  line-height: 1.2em;
  margin-top: 0.2em;
  margin-bottom: 0.1em;
}

p {
  font-size: 1.0em;
  line-height: 1.2em;
  margin: 1.2em 0em;
}

td p {
  margin: 0em 0em 1.2em;
}

li > p {
  margin-top: 0.2em;
}

br.table-break {
  display: none;
}

pre {
  font-family: monospace;
  font-size: 0.9rem;
}

code {
  font-family: monospace;
  background-color: #F8F9FA;
  border-radius: 0.25em;
  word-wrap: break-word;
}

strong, b {
  font-weight: bold;
}

.REPLACEABLE > code,
.replaceable > code {
  font-weight: bold;
}

/* css for rockdata.net end*/

div.preheader {
  display: block;
  background-color: #336791;
  color: #fff;
  margin: 0 -30px 0 -30px;
  padding: 10px 30px 15px 30px;
}

div.preheader a {
  text-decoration: none;
  color: #fff;
}

div.navheader {
  background: url('/img/texture-bw.png') center center repeat;
  margin: 0 -30px 0 -30px;
  padding: 60px 30px 0 30px;
}

div.navheader hr {
  border-color: transparent;
}

div.navfooter {
  padding-bottom: 40px;
}

div.navheader table td a,
div.navfooter table td a {
  white-space: nowrap;
}

/* Text Styles */

div.sect2,
div.SECT2 {
  margin-top: 4ex;
}

div.sect3,
div.SECT3 {
  margin-top: 3ex;
}

.txtCurrentLocation {
  font-weight: bold;
}

p, ol, ul, li {
  line-height: 1.5em;
}

.txtCommentsWrap {
  border: 2px solid #F5F5F5;
  width: 100%;
}

.txtCommentsContent {
  background: #F5F5F5;
  padding: 3px;
}

.txtCommentsPoster {
  float: left;
}

.txtCommentsDate {
  float: right;
}

.txtCommentsComment {
  padding: 3px;
}

pre.literallayout,
.screen,
.synopsis,
.programlisting,
.refsynopsisdiv p,
.caution,
.warning,
.note,
.tip,
pre.LITERALLAYOUT,
.SCREEN,
.SYNOPSIS,
.PROGRAMLISTING,
.REFSYNOPSISDIV p,
table.CAUTION,
table.WARNING,
blockquote.NOTE,
blockquote.TIP {
  color: black;
  border-width: 1px;
  border-style: solid;
  padding: 2ex;
  margin: 2ex 0 2ex 0;
  overflow: auto;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  border-radius: 8px;
}

pre.literallayout,
pre.synopsis,
pre.programlisting,
.refsynopsisdiv p,
.screen,
pre.LITERALLAYOUT,
pre.SYNOPSIS,
pre.PROGRAMLISTING,
.REFSYNOPSISDIV p,
.SCREEN {
  border-color: #CFCFCF;
  background-color: #F7F7F7;
}

.note,
.tip,
blockquote.NOTE,
blockquote.TIP {
  border-color: #DBDBCC;
  background-color: #EEEEDD;
  padding: 14px;
  max-width: 572px;
}

.note,
.tip,
.caution,
.warning,
blockquote.NOTE,
blockquote.TIP,
table.CAUTION,
table.WARNING {
  margin: 4ex auto;
}

.note p,
.tip p,
blockquote.NOTE p,
blockquote.TIP p {
  margin: 0;
}

.note code,
.warning code,
.tip code,
.caution code,
blockquote.NOTE code,
blockquote.WARNING code,
blockquote.TIP code,
blockquote.CAUTION code {
  background-color: transparent;
  border: none;
  padding: 0;
}

.caution,
.warning {
  max-width: 600px;
}

.tip h3,
.note h3,
.caution h3,
.warning h3 {
  text-align: center;
  font-weight: initial;
  margin: 0.25rem 0 0.5rem 0;
  color: initial;
}

.emphasis,
.c2 {
  font-weight: bold;
}

.replaceable,
.REPLACEABLE {
  font-style: italic;
}

/* Table Styles */

table {
  border-collapse: collapse;
}

.table table td,
.table table th,
.informaltable table td,
.informaltable table th,
table.CALSTABLE td,
table.CALSTABLE th,
table.CAUTION td,
table.CAUTION th,
table.WARNING td,
table.WARNING th {
  border-style: solid;
}

.table table,
.informaltable table,
table.CALSTABLE,
table.CAUTION,
table.WARNING {
  border-spacing: 0;
  border-collapse: collapse;
}

.table table,
.informaltable table,
table.CALSTABLE
{
  margin: 2ex 0;
  background-color: #E0ECEF;
  border: 2px solid #A7C6DF;
}

.table table tr:hover td,
.informaltable table tr:hover td,
table.CALSTABLE tr:hover td
{
  background-color: #EFEFEF;
}

.table table td,
.informaltable table td,
table.CALSTABLE td {
  background-color: #FFF;
}

.table table td,
.table table th,
.informaltable table td,
.informaltable table th,
table.CALSTABLE td,
table.CALSTABLE th {
  border: 1px solid #A7C6DF;
  padding: 0.5ex 0.5ex;
}

table.CAUTION,
table.WARNING {
  border-collapse: separate;
  display: block;
  padding: 0;
  max-width: 600px;
}

.caution,
table.CAUTION {
  background-color: #F5F5DC;
  border-color: #DEDFA7;
}

.warning,
table.WARNING {
  background-color: #FFD7D7;
  border-color: #DF421E;
}

table.CAUTION td,
table.CAUTION th,
table.WARNING td,
table.WARNING th {
  border-width: 0;
  padding-left: 2ex;
  padding-right: 2ex;
}

table.CAUTION td,
table.CAUTION th {
  border-color: #F3E4D5
}

table.WARNING td,
table.WARNING th {
  border-color: #FFD7D7;
}

td.c1,
td.c2,
td.c3,
td.c4,
td.c5,
td.c6 {
  font-size: 1.1em;
  font-weight: bold;
  border-bottom: 0px solid #FFEFEF;
  padding: 1ex 2ex 0;
}

div.table-contents table.table td.func_table_entry pre.programlisting {
  background-color: inherit;
  font-size: inherit;
  border: 0;
  margin-bottom: 0.1em;
  margin-top: 0.1em;
  padding: 0 0 0 4em;
}

/**
 * Table of contents
 */
div.TOC,
div.toc {
  margin-bottom: 1rem;
}

div.TOC > dl > dd,
div.toc > dl > dd {
  margin-left: 2rem;
}

div.TOC dl dt,
div.toc dl dt {
  margin-bottom: 4px;
}

div.TOC dd, div.TOC dl,
div.toc dd, div.toc dl {
  margin: 0;
}

/* Link Styles */

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
  color: inherit;
}

a {
  color: #840032;
  text-decoration: none;
  transition: color .2s ease-in-out;
}

a:hover, a:active {
  color: #193145;
  text-decoration: none;
}

/* make images not too wide on larger screens */
@media (min-width: 800px) {
  .mediaobject {
    width: 75%;
  }
}

/* Small devices (landscape phones, 576px and up)*/

@media (max-width: 992px) {
  div.table-contents table.table,
  div.informaltable table.informaltable {
    font-size: 70%;
  }
}

@media (max-width: 768px) {
  div.table-contents table.table,
  div.informaltable table.informaltable {
    font-size: 50%;
  }

  body {
    margin: 0 10px 0 10px;
  }

  div.preheader {
    margin: 0 -10px 0 -10px;
    padding: 10px 10px 15px 10px;
  }

  div.navheader {
    margin: 0 -10px 0 -10px;
    padding: 60px 10px 0 10px;
  }
}
