/* layout -------------------------------------------------- */

/* right sidebar */

#main {
  float: left;
  width: 100%;
}

#sidebar { 
  margin: 0em 0em 1em 1.5em;
  width: 15em;
  clear: both;
  float: right;
}

.sidebox {
  padding: 0.5em 0em 1em 0.75em;
} 

.sidebox li {
  font-size: 0.8em;
}

@media print {
  #main { 
    width: 100%;
  }
  #sidebar { 
    display: none;
  }
}

/* two equal columns */

#left_column {
  width: 48%;
  float: left;
  margin: 0em;
  padding: 0em;
  margin-top: -1em;
  margin-bottom: 2em;
}

#right_column {
  width: 48%;
  float: right;
  margin: 0em;
  padding: 0em;
  margin-top: -1em;
  margin-bottom: 2em;
}


/* links --------------------------------------------------------- */
/* Arial Unicode MS */

a:link, a:visited, a:active { 
  color: #303b97; 
  text-decoration: none; 
  background-color: transparent;
}
a:active { background-color: #FD0; }
a:hover { border-bottom: 1px dashed #ccc; }
a.offsite:hover { 
  background-color: #d0dbe7; 
  text-decoration: none;
  border-bottom: none;
}
a.offsite:hover:after { 
  content: " \2708 "; 
  color: white;
}
a img { 
  border: none;
}

[id]:hover:after { 
  content: " #" attr(id) " "; 
  font-size: 50%;
  color: #ccc;
  text-decoration: none;
}
div[id]:hover:after {
  content: "";
}

@media print {
  a.offsite:after {
    content: " <" attr(href) "> ";
    font-size: 85%;
    font-weight: lighter;
  }
} 

         
/* blocks ------------------------------------------------------- */

p { 
  margin: 0;
}
p + p { 
  margin-top: 0.5em;
}

@media screen {
  body {
    color: black;
    background-color: #fcfcfc;
    margin: 36pt 80pt;
  }
  p, td, th, li, dt, dd, blockquote { 
    font: 0.9em/1.35em Optima, Lucida Sans, sans-serif;
    /*font: 0.9em/1.35em "Calibri", Georgia, "Times New Roman", Times, serif;*/
    color: black;
  }
  pre {
    font-family: monospace;
  }
}

@media print {
  body {
    color: black;
    background-color: white;
    margin: 18pt 48pt 18pt 32pt;
  }
  p, td, th, li, dt, dd, blockquote { 
    /*font: 8.5pt/10.5pt Palatino Linotype, palatino, Book Antiqua, serif;*/
    font: 8.5pt/10.5pt "Calibri", Georgia, "Times New Roman", Times, serif;
  } 
}


/* headings  -------------------------------------------------- */

h1, h2, h3, h4, h5 {
  page-break-after: avoid;
  page-break-inside: avoid;
  background-color: transparent;
  font-weight: normal;
  padding: 0;
}

@media screen {
  h1, h2, h3, h4 {
    margin: 0.75em 0 0 0; 
    color: #369;
    font-family: Helvetica Neue, Geneva, sans-serif;
    font-weight: bold;
  }
  
  h1 {
    font-size: 3em;
    line-height: 1em; 
    padding: 0;
    border-bottom: 1px solid #333;
    background-color: transparent;
  }
  
  h1 + .subtitle {
    margin: 0;
    font-family: sans-serif;
    font-weight: lighter;
    color: #a86;
  }

  h1 + .navtop, 
  h1 + .subtitle + .navtop {
    color: black;
    margin: 0.5em 0 0 0;
    font-size: 1em;    
    position: relative;
    text-align: right;
    top: -3.25em;
  }

  h1 + .navtop {
    top: -2em;
  }

  h1 + p {
    margin-top: 1.5em;
  }

  h2 {
    font-size: 1.8em;
    color: #a86;
  }

  h3 {
    font-size: 1.2em;
  }

  h4 {
    margin-top: 0.5em;
    font-size: 1em;
    color: #a86;
  }

  h4 + .navtop {
    position: relative;
    top: -1.3em;
    text-align: right;
  }

  h5 {
    margin: .5em 0 .25em 0; 
    font-size: 1em;
  }
}

@media print {
  h1, h2, h3, h4 {
    font-family: Palatino, Palatino Linotype, serif; 
    margin: 8pt 0 0 0;
    color: black;
  }

  h1 + .navtop {
    display: none;
  }

  h2 {
    font-size: 14pt;
    margin-top: 16pt;
    margin-bottom: 10.5pt;
  }

  h3 {
    font-size: 12pt;
    margin-top: 10.5pt;
    margin-bottom: 0pt;
  }

  h4 {
    font-size: 10pt;
    margin-top: 5.5pt;
    margin-bottom: 0pt;
  }
  
  .navtop {
    display: none;
  }
}

/* tables -------------------------------------------------------- */

table.grid th {
  font-weight: normal;
  text-align: right;
  color: white;
  background-color: #333;
  padding: 3px 6px;
}

table.grid td {
  background-color: #d0dbe7;
  padding: 3px 6px;
}


/* lists -------------------------------------------------------- */

ul { list-style-type: disc; margin: 0 0 0.5em 0.5em; padding-left: 1.5em; }
dt { font-weight: bold; }
dd { padding-top: 0.5em; padding-bottom: 0.8em; }

@media screen {
    ul { list-style-type: none; padding-left: 0em; }
    ul li:before { content: '\FF0A\00A0 '; color: #740; font-size: 0.9em; } 
}

ul.inline { list-style-type: none; }
ul.inline li { display: inline; margin-right: 1em; white-space: nowrap}
ul.inline li:before { content: ''; }

/* other redefinitions ------------------------------------------ */

@media screen {
  strike {
    text-decoration: none;
  }
  strike:after {
    content: "^H^H^H^H^H";
  }
}

acronym:hover,
abbrev:hover {
  cursor: help;
}
abbrev[title],
acronym[title],
span[title] {
  border-bottom: thin dotted;
  cursor: help;
}

@media print {
  form {
    display: none;
  }
}

hr {
  border-style: none;
  background-color: #ddd;
  padding: 1px;
}

h1 + pre hr {
  display: none;
}

blockquote {
  border-style: solid;
  border-color: #d0dbe7;
  border-width: 0 0 0 .25em;
  padding-left: 0.5em;
  font-size: 1em;
}


q {
  quotes: '\201C' '\201D' '\2018' '\2019'; 
}
          
q:before {
  content: "\201C";
  content: open-quote;
  font-size: 1.5em;
}

q:after {
  content: "\201D";
  content: close-quote;
  font-size: 1.5em;
}

/* specialisations --------------------------------------------------- */

p.intro {
  font-size: 1.05em;
  line-height: 1.35em;
  font-family: Helvetica Neue, Geneva, sans-serif;
  page-break-inside: avoid;
}

p.intro a {
  font-weight: bolder;
}

p.intro+h2, p.intro+h3, p.intro+h4 {
  margin-top: 2em;
}

.callout {
  width: 33%;
  font: 1.3em/1.3em Garamond, "Times New Roman", Times, serif;
  padding: 0em 0em 0em 1em;
  border-left: #a30 solid 0.25em;
  page-break-inside: avoid;
}

.left {
  float: left;
  margin: .5em 2em .5em 0em;
}

.right {
  float: right;
  margin: .5em 0em .5em 2em;
}


@media screen {
  .disclaimer,
  .banner {
    margin: 2em 0;
    padding: 1em;
    background-color: #ececda;
    font-size: 0.9em;
  }
  .disclaimer { 
    border-left: #a30 solid 1em;
  }
  .banner { 
    border-left: #369 solid 1em;
  }
}

@media print {
  .disclaimer,
  .banner {
    margin: 8pt 0;
    padding: 12pt;
    border-left: solid black 12pt;
    font-size: 0.9em;
  }
}

.footnote {  /* piddling detail */
  text-align: right;
  font-size: 0.8em;
  margin-top: 0px;
}

p.navtop {
  font-family: arial, helvetica, sans-serif;
  font-size: 0.9em;
}

/* navigation banner at the bottom of the page */
p.navigation {
  font-family: arial, helvetica, sans-serif;
  font-weight: bold;
  color: white;
  font-size: 0.85em;
  text-align: right;
  margin-top: 2em;
  padding: 0.1em 80pt 0.5em 80pt;
  background-color: #369;
  opacity: .9;
  border-top: white solid 3px; 
  clear: both;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
}

p.navigation a {
  color: white;
  margin-left: 1.5em;
}
p.navigation a.home {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

@media print {
  .navigation {
    display: none;
  }
}

.detail {
  font-size: 0.8em;
  page-break-inside: avoid;
}

.warning {
  background-color: #F60;
  border: #C30 solid 1px;
  padding: 3px;
  text-align: center;
}

.author {
  text-align: right;
  font-style: italic;
  font-size: 0.8em;
  margin: 0pt;
}

.version {  /* bottom right or in the top right header */
  text-align: right;
  font-style: italic;
  font-size: 0.8em;
  margin: 0pt;
  padding: 12px 0px;
  color: #999;
}

.copyright {
  text-align: right;
}

.example {
  font-size: 0.8em;
  font-family: Courier, monospace; 
  background:#E9EAEB; 
  width: auto; 
  padding: 5px 5px 5px 10px; 
  margin: 1em 0; 
  overflow: auto;
}

@media print {
  .example {
    font: 9pt/10pt monospace;
    page-break-inside: avoid;
    text-align: left;
    border-color: black;
    border-style: solid;
    border-width: 0.5pt;
    padding: 6pt 3pt;
  }
}


/*
 * www.specifiche.it CSS file: Main CSS
 *
 */


/* -------------------------------
             GLOBAL
------------------------------  */


/* -------------------------------
              GLOBAL
------------------------------  */

.rfc2119 {
  text-transform: uppercase;
  font-size: 0.9em;
}


/* -------------------------------
              RSS 2.0
------------------------------  */

.example-dc {
  color: blue;
}
.example-taxo {
  color: green;
}
.example-syn,
.example-other {
  color: red;
}
.example-co {
  color: purple;
}
.example-ti {
  color: #ff9900; /* orange */
}
.example-rdf {
  color: #996633; /* brown */
}

.rss-spec-elem {
  border: 1px solid #DDDDDD;
  background-color: #FAFAFA;
  padding: 10px;
  margin-bottom: 25px;
  line-height: 160%;
}

.elem-title {
  font-weight: bold;
  font-variant: small-caps;
}
