body {
  padding: 0px;
  font-size: 76%;
  font-family: helvetica, sans-serif;
}

h1.daisy-document-name {
  font-size: 1.4em;
  font-weight: normal;
  color: black;
}

h1 {
  color: #1F5082;
  font-weight: normal;
  font-size: 1.7em;
}

h2, h3, h4, h5 {
    margin-top: 1em;
    margin-bottom: .5em;
}

h4, h5 {
    font-size: 1em;
}

h2 {
  font-size: 1.4em;
  font-weight: normal;
  padding-bottom: 2px;
  border-bottom: 1px solid #e8e800;  
}

h3 {
  font-size: 1.1em;
  font-weight: bold;
}

h5 {
  font-style: italic;
}

p.daisy-error {
  border: 1px solid #c03333;
  background-color: #f1b2b2;
  margin: .5em;
  padding: .2em .5em;
}

span.daisy-unresolved-variable {
  background-color: red;
  color: white;
}

img {
  border: 0px; /* otherwise img's inside a's have those fat blue boxes around them */
}

.doclinks h2 {
    font-size: 1em;
    font-weight: bold;
}

p.note, p.warn, p.consultation-publique-western, p.fixme, pre.query, pre.include, pre.query-and-include {
  border: 1px solid gray;
  margin: 1.5em;
  /* left padding margin is in pixels because the text needs to come
     to the right of the background image */
  padding: .2em .2em .2em 40px;
  background-position: 10px .2em;
  background-repeat: no-repeat;  
}

p.note, p.warn, p.consultation-publique-western, p.fixme{
    min-height: 24px;
}

p.note {
  background-image: url("../images/note.png");
}
p.warn, p.consultation-publique-western{
  background-image: url("../images/important.png");
}
p.fixme {
  background-image: url("../images/fixme.png");
}

/*
 * Usually these styles will only apply in the document editor, and could hence be
 * in htmlarea.css instead, however, they are also useful in the diff view.
 */
pre.query {
  background-image: url("../images/query.gif");
  padding-left: 60px;
}
pre.include {
  background-image: url("../images/include.gif");
  padding-left: 70px;
}
pre.query-and-include {
  /* the query-include icon is extra wide */
  padding-left: 108px;
  background-image: url("../images/query-and-include.gif");
}
pre {
  border: 1px solid gray;
  background-color: #eee;
  font-family: monospace;
}

span.indexentry {
    background-color: #9af6b2;
    border: 1px solid black;
}
span.footnote {
    background-color: #b39cff;
    border: 1px solid black;
}
span.crossreference {
    background-color: #ff86e1;
    border: 1px solid black;
}
span.variable {
    background-color: #e8e6a7;
    border: 1px solid black;
}

/* Tables */

table.borderless, table.content, table.default, table.footnotes, table.plainTable {
  border-spacing: 0em;
  border-collapse: collapse;
  /*font-size: small;*/
  /*margin-top: .3em;*/
  margin-bottom: .3em;
}

table.borderless tbody tr td, table.content tbody tr td, table.default tr td, table.default tr th  {
  padding: .2em .3em .2em .3em;
}

table.borderless tbody tr th, table.content tbody tr th {
  background-color: #ddd;
  padding: .2em .3em .2em .3em;
}

table.content tbody tr td, table.default tr td, table.content tbody tr th, table.default tr th  {
  border: 1px solid gray;  
}

table.footnotes {
    margin: 1em;
    padding-top: 0.5em;
    border-top: 1px solid gray;
}

table.footnotes tbody tr td {
    vertical-align: top;
    padding-bottom: .3em;
}


/*
* Styles specific for the document page
*/
div.info-message {
  border: 1px solid gray;
  padding: 1em;
  margin: 1em;
  background-color: #f5fd9d;
}

.commentsTitle {
  font-size: 130%;
  font-weight: bold;
}

#commentContainer {
  margin-top: 2em;
}

div.comments {
  margin-top: 20px;
  margin: 8px;
}

div.comment {
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

div.publicComment {
  border: 1px solid #729c9a;
  /* background-color: #b4fdf9; */
}

div.editorsComment {
  border: 1px solid #ee7600;
  /* background-color: #eebd8d; */
}

div.privateComment {
  border: 1px solid #de005e;
  /* background-color: #d9a3ba; */
}

div.commentheader {
  font-size: small;
  font-weight: bold;
  padding-left: 20px;
  background-position: 0px 0px;
  background-repeat: no-repeat;
}

div.publicComment div.commentheader {
  background-image: url("../images/public_comment.gif");
}

div.privateComment div.commentheader {
  background-image: url("../images/private_comment.gif");
}

div.editorsComment div.commentheader {
  background-image: url("../images/editors_comment.gif");
}

span.commentActions {
  font-size: small;
}

span.commentVisibility {
  font-size: small;
  font-weight: bold;
}

div.commentbody {
  margin-left: 12px;
  margin-right: 12px;
  margin-top: 6px;
}

div.addCommentTitle {
  font-weight: bold;
  margin-top: 12px;
  padding-left: 23px;
  background-image: url("../images/speak.gif");
  background-position: 0px 0px;
  background-repeat: no-repeat;
}

div.addComment {
  margin-left: 23px;
}

#showCommentsLink {
  font-size: .8em;
}

div.editIncluded {
    float: right;
    position: relative;
    margin-top: .5em;
}


/*
* The following rules are taken from Mozilla's quirck mode stylesheet.
* See http://lxr.mozilla.org/seamonkey/source/layout/html/document/src/quirk.css
* They avoid the top and bottom margin of elements in table cells.
*/
td > form:-moz-first-node, th > form:-moz-first-node,
td > p:-moz-first-node, th > p:-moz-first-node,
td > dl:-moz-first-node, th > dl:-moz-first-node,
td > multicol:-moz-first-node, th > multicol:-moz-first-node,
td > blockquote:-moz-first-node, th > blockquote:-moz-first-node,
td > h1:-moz-first-node, th > h1:-moz-first-node,
td > h2:-moz-first-node, th > h2:-moz-first-node,
td > h3:-moz-first-node, th > h3:-moz-first-node,
td > h4:-moz-first-node, th > h4:-moz-first-node,
td > h5:-moz-first-node, th > h5:-moz-first-node,
td > h6:-moz-first-node, th > h6:-moz-first-node,
td > listing:-moz-first-node, th > listing:-moz-first-node,
td > plaintext:-moz-first-node, th > plaintext:-moz-first-node,
td > xmp:-moz-first-node, th > xmp:-moz-first-node,
td > pre:-moz-first-node, th > pre:-moz-first-node,
td > ul:-moz-first-node, th > ul:-moz-first-node,
td > menu:-moz-first-node, th > menu:-moz-first-node,
td > dir:-moz-first-node, th > dir:-moz-first-node,
td > ol:-moz-first-node, th > ol:-moz-first-node {
   margin-top: 0;
}

td > p:-moz-last-node, th > p:-moz-last-node {
   margin-bottom: 0;
}

td > form:empty:-moz-first-node, th > form:empty:-moz-first-node,
td > p:empty:-moz-first-node, th > p:empty:-moz-first-node,
td > dl:empty:-moz-first-node, th > dl:empty:-moz-first-node,
td > multicol:empty:-moz-first-node, th > multicol:empty:-moz-first-node,
td > blockquote:empty:-moz-first-node, th > blockquote:empty:-moz-first-node,
td > h1:empty:-moz-first-node, th > h1:empty:-moz-first-node,
td > h2:empty:-moz-first-node, th > h2:empty:-moz-first-node,
td > h3:empty:-moz-first-node, th > h3:empty:-moz-first-node,
td > h4:empty:-moz-first-node, th > h4:empty:-moz-first-node,
td > h5:empty:-moz-first-node, th > h5:empty:-moz-first-node,
td > h6:empty:-moz-first-node, th > h6:empty:-moz-first-node,
th > listing:empty:-moz-first-node,
th > plaintext:empty:-moz-first-node,
td > xmp:empty:-moz-first-node, th > xmp:empty:-moz-first-node,
td > pre:empty:-moz-first-node, th > pre:empty:-moz-first-node,
td > ul:empty:-moz-first-node, th > ul:empty:-moz-first-node,
td > menu:empty:-moz-first-node, th > menu:empty:-moz-first-node,
td > dir:empty:-moz-first-node, th > dir:empty:-moz-first-node,
td > ol:empty:-moz-first-node, th > ol:empty:-moz-first-node {
   margin-bottom: 0;
}

td > form:empty:-moz-last-node, th > form:empty:-moz-last-node,
td > p:empty:-moz-last-node, th > p:empty:-moz-last-node,
td > dl:empty:-moz-last-node, th > dl:empty:-moz-last-node,
td > multicol:empty:-moz-last-node, th > multicol:empty:-moz-last-node,
td > blockquote:empty:-moz-last-node, th > blockquote:empty:-moz-last-node,
td > h1:empty:-moz-last-node, th > h1:empty:-moz-last-node,
td > h2:empty:-moz-last-node, th > h2:empty:-moz-last-node,
td > h3:empty:-moz-last-node, th > h3:empty:-moz-last-node,
td > h4:empty:-moz-last-node, th > h4:empty:-moz-last-node,
td > h5:empty:-moz-last-node, th > h5:empty:-moz-last-node,
td > h6:empty:-moz-last-node, th > h6:empty:-moz-last-node,
td > listing:empty:-moz-last-node, th > listing:empty:-moz-last-node,
td > plaintext:empty:-moz-last-node, th > plaintext:empty:-moz-last-node,
td > xmp:empty:-moz-last-node, th > xmp:empty:-moz-last-node,
td > pre:empty:-moz-last-node, th > pre:empty:-moz-last-node,
td > ul:empty:-moz-last-node, th > ul:empty:-moz-last-node,
td > menu:empty:-moz-last-node, th > menu:empty:-moz-last-node,
td > dir:empty:-moz-last-node, th > dir:empty:-moz-last-node,
td > ol:empty:-moz-last-node, th > ol:empty:-moz-last-node {
  margin-top: 0;
}


ol.dsy-liststyle-decimal {
  list-style-type: decimal;
}
ol.dsy-liststyle-lower-latin {
  list-style-type: lower-alpha;
}
ol.dsy-liststyle-upper-latin {
  list-style-type: upper-alpha;
}
ol.dsy-liststyle-lower-roman {
  list-style-type: lower-roman;
}
ol.dsy-liststyle-upper-roman {
  list-style-type: upper-roman;
}

/* Style du resumé dans l'affichage de document */
div#bandeau-resume {
	padding : 5px 5px 5px 15px;
	border-style :solid;
	border-color : #ececec;
	border-width : 1px;
}

div#bandeau-checkbox {
	text-align : right;
}

h1#titre-actualite {
	color: blue;
	font-weight: bold;
	font-size: 120%;
	font-family: Arial, Helvetica, sans-serif;
}

h1#titre-resume {
	color: blue;
	font-weight: bold;
	font-size: 120%;
	font-family: Arial, Helvetica, sans-serif;
}

/* Les styles suivant ont été fournis par la DGFIP lors du mail du 03-03-11 */

div#contentResult h1.daisy-document-name {
  font-size: 1.4em;
  font-weight: normal;
  color: black;
  margin-left: 0cm;
  margin-top: 0cm;
  margin-bottom: 0cm;
}

div#contentResult h1, div.htmlarea h1 { 		
  font-family: Arial, Helvetica, sans-serif;
  font-size: 150%;
  font-weight: bold;
  color: RGB(255,153,102);
  margin-left: 1cm;
}

div#contentResult h2, div.doceditor-parteditor h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 140%;
  font-weight: bold;
  color: RGB(102,114,148);
  margin-left: 1.5cm;
  border-bottom: 1px solid;
}

div#contentResult h3, div.doceditor-parteditor h3 {	
  font-family: Arial, Helvetica, sans-serif;
  font-size: 130%;
  font-weight: bold;
  color: RGB(102,114,148);
  margin-left: 2cm;
  border-bottom: 1px solid;
}

div#contentResult h4, div.doceditor-parteditor h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 120%;
  font-weight: bold;
  color: RGB(102,114,148);
  margin-left: 2.5cm;
  border-bottom: 1px solid;
}

div#contentResult h5, div.doceditor-parteditor h5 {	
  font-family: Arial, Helvetica, sans-serif;
  font-size: 110%;
  color: RGB(102,114,148);
  margin-left: 3cm;
  border-bottom: 1px solid;
}

div#contentResult h6, div.doceditor-parteditor h6 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: bold;
  color: RGB(102,114,148);
  margin-left: 3.5cm;
  border-bottom: 1px solid;
}

/* Styles open office fournis par la DGFIP */

p.commentaire-de-tableau-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  background: RGB(211,211,211);
  margin-left:1.5cm;
  margin-right:1.5cm;
  margin-top:0.20cm;
  margin-bottom:0.20cm;
  border-color: RGB(211,211,211);
  border-style: solid;
  border-width: thin;
}

p.consultation-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  background: white;
  margin-left:1cm;
  margin-right:1cm;
  border-color: black;
  border-style: solid;
  border-width: thin;
}

p.date-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: bold;
  color: black;
  text-align: right;
}

p.decision-du-ccad-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  background: RGB(255,204,153);
  margin-left:2cm;
  margin-right:2cm;
  margin-top:0.30cm;
  margin-bottom:0.30cm;
  border-color: RGB(255,204,153);
  border-style: solid;
  border-width: thin;
}

p.disposition-temporelle-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  background: #e6e64c;
  margin-left:2cm;
  margin-right:2cm;
}

p.exemple-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  padding-left:1.5cm;
}

p.jurisprudence-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  font-style: italic;
  color: black;
  background: RGB(255,255,204);
  margin-left:2cm;
  margin-right:2cm;
  margin-top:0.30cm;
  margin-bottom:0.30cm;
  border-color: RGB(255,255,204);
  border-style: solid;
  border-width: thin;
}

p.numero-de-paragraphe-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: bold;
  color: black;
  padding-left:1cm;
}

p.paragraphe-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  padding-left:1cm;
}

p.qe-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  color: black;
  background: RGB(230,230,255);
  margin-left:2cm;
  margin-right:2cm;
  margin-top:0.30cm;
  margin-bottom:0.30cm;
  border-color: RGB(230,230,255);
  border-style: solid;
  border-width: thin;
}

p.reference-identifiant-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: bold;
  color: black;
  text-align: right;
}

p.remarque-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 80%;
  font-weight: normal;
  color: black;
  padding-left:1.5cm;
}

p.rescrit-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  font-style: italic;
  color: black;
  background: RGB(204,255,255);
  margin-left:2cm;
  margin-right:2cm;
  margin-top:0.30cm;
  margin-bottom:0.30cm;
  border-color: RGB(204,255,255);
  border-style: solid;
  border-width: thin;
}

p.titre-annexe-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 180%;
  font-weight: bold;
  color: black;
  text-align: center;
  text-decoration: underline;
}

p.titre-du-document-western {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 180%;
  font-weight: bold;
  color: black;
  text-align: center;
  text-decoration: underline;
}