

/*
 *  START  html-sdapa.css
 *
 *    This stylesheet match classes on html tags
 *
 *    frederic.glorieux@ajlsm.com
 */

/* TODO matching margin ? */

	/* global margin */
	body {
			margin: 0; 
	}
	
	div.body { 
			margin: 2em; 
	}
	
	.description {
			margin-left: 0; 
			margin-right: 2em;  
	}
	
	table.glossary td {
			white-space: nowrap;
	}


  /* floating contextual navbar */      
  
  tt.nav { 
  		position: absolute; 
  		right: 2em; 
  }
  
  /* short glossary summary when concepts */      
  
  div.glossary div.contents dl dl dt {
  		display: inline; 
  }

  p.para { 
  		text-align: justify; 
  		text-indent: 0;   
  }

	/* info */
	/* Bug sous IE
	div.info {  
		background: #EFF3F5;
	}*/
	
	div.navbar {
		border-top: 2px outset; 
		padding-top: 2px;
		border-bottom: 2px outset;  
		padding-bottom: 2px;
    background-color: #D0DAE0; 
    color: #000000;
    font-family: sans-serif;
	}
	
	div.navbar a:link, div.navbar a:visited { 
    background-color: #D0DAE0; 
    color: #333333; 
    text-decoration: none; 
	} 
	
	div.navbar a:hover { 
    background-color: #E0EAF0; 
    color: #000000; 
    text-decoration: none; 
	} 

	caption .info { 
		padding: 0; 
		margin: 0; 
	}

  /* biblio */

    div.resource { 
    		margin-top: 0.5ex; 
    		margin-bottom: 0.5ex; 
    		background: #FFFFF0;
    		padding: 1ex; 
    }
    
  /*.creator .family, .creator .orgtitle { 
   			text-transform: uppercase; 
   	}*/
   	
    .given { 
    		text-transform: capitalize; 
    }
    
    .resource .title { 
    		font-weight: bold; 
    }
    
    .serial .title { 
    		font-weight: normal; 
    }
    
    .source .title { 
    		font-weight: normal; 
    		font-style: italic; 
    }
    
    .resource .event .title { 
    		font-weight: normal; 
    		font-style: normal; 
    }

  /* index */
  
  	.index { 
  			margin-top: 1em; 
  			margin-bottom: 2em; 
  	}
  	
  	.letters { 
  			white-space: nowrap; 
  			margin-bottom: 0.5ex; 
  			margin-top: 0.5ex; 
  	}
  	
    .index .concept .name { 
    		font-weight: bold; 
    }
    
    .index .concept .title { 
    		display: block
    }
    
  	.links { 
  			font-family: sans-serif; 
  			font-size: smaller; 
  			font-weight: normal; 
  			font-style: normal; 
  	}

	/* glossary */

	/* titres */
		.subtitle { 
				font-weight: normal; 
				font-size: 120%; 
				display: block; 
				font-style: italic; 
				font-family: serif; 
		}

	/* blocs */

	/* lettrine sur le premier paragraphe */
		body p.first { 
				text-indent: 0; 
		}
		
		body p.first:first-letter {
				float: left; 
				font-size: 400%; 
				font-style: italic; 
				font-weight: 900;
				margin-right: 0.2ex; 
				padding:0.1ex;
		/* line-height: 80%; 
				padding-top: -0.5ex; 
				padding-bottom: -0.5ex; */
		}

	/* inlines */
		
		.literal { 
				font-family: monospace, sans-serif; 
		}
		
		.tag { 
				font-family: "Lucida Console", monospace, sans-serif; 
				color: #333333; 
		}
		
		a.tag:visited { 
				color: #333333;
		}
		
		.group { 
				font-style: italic; 
		}

  /* blocs */

    .xml { 
    		display: block; 
    		background: #EEEEEE; 
    		font-family: "Lucida Console", monospace, sans-serif; 
    		color: Navy; 
    		padding: 1ex; 
    }
    
/*
    .xml pre { 
    		margin: 0; 
    		font-size: 110%; 
    }
    
    .xml a {
    		text-decoration: none; 
    }
    
    .xml a:hover {
    		text-decoration: underline; 
    }
    
    .xml a:active, .xmlblock a:active *  {
    		background: #CC3333;
    		color: #FFFFFF;
    }
    
    .xml a {
    		text-decoration: none; 
    }
    
*/

    div.help , tr.help, td.help, table.help {
		    color: red;
		    width: 80ex; 
		    border: 2 ridge; 
		    background-color: InfoBackground;
		    padding: 1ex; 
		    font-size: smaller; 
		    white-space: normal; 
		    font-weight: normal; 
		    text-align: justify;
		    white-space: normal; 
		    margin-top: 1ex; 
		    margin-bottom: 1ex;
   	}

    @media all {
    }
	

/* Traitement des figures */

/* Un div autour d'une figure et de ses métadonnées */
div.figure {
	text-align: center;
	margin-top: 40pt;
	border-width: 2pt;
	border-style: solid;
	border-color: black;
}

/* Un div pour les métadonnées des images */
div.image-metadata {
	margin-top: 5pt;
	margin-bottom: 5pt;
}

/* L'enrichissement sémantique */
span.persname {
	background-color: yellow;
	font-weight: bold;
}

span.geoname {
	background-color: green;
	font-weight: bold;
	color: white;
}

span.topicname {
	background-color: blue;
	font-weight: bold;
	color: white;
}

span.orgname {
	background-color: red;
	font-weight: bold;
	color: white;
}

span.event {
	background-color: #CCCCCC;
	font-weight: bold;
}

/* Le bloc info au début */
div.document-info {
	background-color: #EEEEEE;
	margin-top: 10pt;
	margin-bottom: 30pt;
	font-size: 9pt;
}

table.document-info {
	font-size: 9pt;
}

/* Les tables des matières */
div.toc {	
	width: 90%;
	padding: 5pt;
	border-width: 1pt;
	border-style: solid;
	border-color: black;
	background-color: #EEEEEE;
}

ul.toc-part {
}

ul.toc li.part {
	font-weight: bold;
}

p.toc-title {
	font-weight: bold;
	font-size: 110%;
}

/* Barre de navigation pour le projet complet */
div.header-projet {
	padding-top: 4px;
	padding-bottom: 4px;
	background-color: #FFFFFF;
	color: #000000;
	font-family: sans-serif;
}

/* Barre de navigation pour le document lui-même */
div.header-document {
	padding-top: 5px;
	padding-left: 15pt;
	padding-right: 15pt;
	padding-bottom: 5px;
	font-size: 10pt;
	font-family: Verdana, Arial, Sans Serif;
	/* background-color: #CC0000; */
	background-color: #C0B899;
	color: black;
	font-weight: bold;
}

div.header-document a, div.header-document a:hover, div.header-document a:visited {
	color: white;
	font-weight: bold;
}

/* Le lien vers la version XML */
p.xml-link {
	font-size: 8pt;
	/* text-align: right; */
}

/* L'étiquette pour une note */
span.label-note {
	color: darkblue;
	font-weight: bold;
}

/* Une note au complet */
span.note {
	background: #FFFFA0;
	font-size: 80%;
}

/* Une bibliographie et son titre automatique */
div.bibliography {
	background: #EEEEEE;
	border-color: black;
	border-style: solid;
	border-width: 1pt;
	padding: 5pt;
	margin-top: 10pt;
	margin-bottom: 20pt; 
}
p.title-bibliography {
	font-weight: bold;
	font-size: 105%;
}

/* En-tête des pages */
p.schema-title {
	font-weight: bold;
	font-size: 110%;
	font-style: italic;
	margin-bottom: 0pt;
}
p.schema-nav, p.schema-title {
	margin-top: 0pt;
	padding-left: 15pt;
}

p.formalpara-title {
	color: darkblue;
	font-weight: bold;
}

/* END  html-sdapa.css */
