@import "balloonHelp.css";
@import "form-lr.css";

/* 2 columns, header and footer layout working with NN4
   thanks to http://realworldstyle.com/ */

html, body {
	margin: 0;
	padding: 0;
	color: black;
	font-family: Verdana, Geneva, Lucida, Helvetica, Arial, sans-serif;
}

	
/*#nav {
	width: 12em;
	float: left;
	margin-left: -1px;
	padding: 10px;
	margin-right: 10px;
}*/
#nav {
	position: absolute;
	left: 0px;
	top: 120px; /* with the banquise */
	/*top: 103px;*/
	width: 12em;
	padding: 10px;
}

#main-content {
	padding: 10px;
	margin-left: 13em;
	margin-top: 10px;
	margin-right: 170px;
	height: 100%;
}

#header {
	margin-bottom: 0px;
	padding: 0px;
}
	
#footer {
	font-size: 70%;
	text-align: right;
	padding: 2px 10px 0 0;
	margin-top: 5%;
	margin-left: 30%;
	border-top: 1px dashed black;
}



.spacer {
	clear: both;
}


p {
	padding: 0;
	margin-top: 0px;
}


/* left and right, same place*/

.left {
	float: left;
	text-align: left;
	width: 47%;
}

.right {
	float: right;
	text-align: right;
	width: 47%;
}



/* what follows is mine */

body {
	background: white url(../images/fond-croissant.jpeg) fixed top left no-repeat;
}

img {
	border: 0px;
}

a:link, a:visited {
	color: #3e4e67;
}

a:hover {
	color: #ffb20e;
	text-decoration: none;
}

h1 {
	margin-top: 0;
	color: #3e4e67;
}

#header h1 {
	margin: 0px;
	margin-left: 210px;
}

#header a:hover {
	background-color: white;
}

hr {
	color: #3e4e67;
	background-color: #3e4e67;
	width: 80%;
	border: 0;
	height: 1px;
}


/* the navbar */

#nav {
	font-size: 100%;
}

#nav h2 {
	font-size: 100%;
	display: block;
	border: 1px solid #3e4e67;
	/*border: 1px solid #ffb20e;*/
	margin-bottom: 0;
	margin-top: 10px;
	overflow: hidden;
}

#nav h2#homeLink a {
	padding: 0;
	padding-left: 5px;
	margin:  0;
}

#nav h2.navH2 {
	padding-left: 5px;
}

#nav a {
	text-decoration: none;
	display: block;
	padding-left: 10px;
}

#nav a:hover {
	color: #3e4e67;
	background-color: #ffb20e;
}

span.navindent {
	display: block;
	font-size: 90%;
	margin-left: 0px;
	margin-right: 0px;
	border: 1px dotted #3e4e67;
	border-top: 0px;
}

span.navindent a {
	padding-left: 20px;
}

span.navselected {
	text-decoration: none;
	font-size: 90%;
	display: block;
	padding-left: 5px;
	/*margin-left: 20px;*/
	padding-right: 5px;
	border: 1px solid #3e4e67;
	border-top: 0px;
	background-color: #cfd3dc;
	text-align: right;
}

#nav a.sel {
	color: red;
}

/* the main content */

#main-content p {
	text-align: justify;
}

#main-content img {
	float: left;
	padding-top: 1em;
	padding-right: 1em;
	padding-bottom: 0.6em;
}

#main-content ul {
	margin-left: 0em;
	padding-left: 1.5em;
	list-style-type: circle;
	list-style-position: outside;
	text-align: justify;
}

#main-content ol {
	margin-left: 0em;
	padding-left: 1.5em;
	list-style-position: outside;
	text-align: justify;
}

/* the footer */

#footer div.left {
	position: relative;
	top: -8px;
	margin-left: 10px;
}

#footer div.left a {
	font-size: 120%;
}


/* UI */

a.button {
	border: 1px solid #808080;
	background: #f0f0f0;
	padding-right: 5px;
	padding-left: 5px;
	text-decoration: none;
}


a.button:hover {
	background-color: #e0e0e0;
}

input, select, textarea {
	border: 1px solid #808080;
	background: #f0f0f0;
}

input.button {
	padding-right: 5px;
	padding-left: 5px;
	cursor: pointer;
}

/* coloring the diffs */

div.diff-context {
}

div.diff-error {
	font-size: 80%;
}

div.diff-new {
	background-color: #80ff80;
	border-style: none;
	border-width: thin;
	width: 100%;
}

div.diff-old {
	background-color: #ffff80;
	border-style: none;
	border-width: thin;
	width: 100%;
}

hr.diff {
}

span.diff-equal {
}

span.diff-new {
	background-color: #80ff80;
}

span.diff-old {
	background-color: #ffff80;
}


form.urls-choice {
	float: right;
	padding-left: 1em;
}

form.urls-choice input {
	font-size: 90%;
}


/* Spip */

a.spip-note {
	font-size: 80%;
	position: relative;
	top: -2px;
}

div.spip-notes {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px dashed black;
	font-size: 80%;
}

table.spip {
	border: 1px black solid;
	border-collapse: collapse;
	empty-cells: show;
	width: 50%;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 100%;
}

html>body table.spip { width: 100%; }

table.spip th {
	background-color: #fcf4d0;      /* light orange */
}

table.spip tr.odd {
	background-color: #e1e4e9;
}

table.spip tr.even {
	/*background-color: white;*/
}

table.spip td {
	border: 1px black solid;
	padding-left: 5px;
	padding-right: 5px;
	text-align: left;
	vertical-align: middle;
}

/* column tables (used when listing objects) */

table.objects-table {
	border: 1px black solid;
	border-collapse: collapse;
}

table.objects-table td {
	border: 1px black solid;
	padding-right: 5px;
	padding-left: 5px;
}

table.objects-table td a {
	text-decoration: none;
}

/* absolutely position Debian and GNU logo */

div#logoGnu {
	position: absolute;
	width: 160px;
	right: 0px;
	top: 20%;
	text-align: center;
}

div#logoDebian {
	position: absolute;
	width: 160px;
	right: 0px;
	bottom: 5%;
	text-align: center;
}

/* vue d'une article */

p#dateModif {
	margin-top: 2em;
	font-size: 80%;
}

/* boîte 'actualités' */

div#news {
	border: 1px solid #3e4e67;
	text-align: right;
	margin-left: 15%;
	margin-bottom: 2em;
}

div#news h2 {
	font-size: 100%;
	border-bottom: 1px dashed #3e4e67;
	padding-right: 10px;
	margin: 0px;
}

div#news a {
	text-decoration: none;
	display: block;
	font-size: 90%;
	padding-right: 10px;
}

/* boîtes 'membres' */

div#rubricDashMembers {
	position: float;
	float: right;
	border: 1px solid #3e4e67;
	text-align: right;
}

div#rubricDashMembers h1 {
	font-size: 100%;
	border-bottom: 1px dashed #3e4e67;
	padding-right: 10px;
	padding-left: 10px;
	margin: 0px;
}

div#rubricDashMembers a {
	text-decoration: none;
	display: block;
	font-size: 90%;
	padding-right: 10px;
	padding-left: 10px;
}

div#rubricDashMembers a:hover {
	color: #3e4e67;
	background-color: #ffb20e;
}

/* boîte "you are here" */

div#youAreHere {
	font-size: 80%;
	margin-bottom: 10px;
}


/* "metadata" des objets (idea from devedge) */

div#metadata {
	float: right;
	border: 1px solid #ffb20e;
	font-size: 60%;
	width: 13em;
	margin: 0;
	padding: 0;
	text-align: right;
	color: #3e4e67;
	margin: 0px;
	padding-right: 2px;
	margin-left: 1em;
	margin-bottom: 0.5em;
	position: relative;
	top: -16px;
	background: white;
}

div#metadata:hover {
	background: #ffb20e;
	color: white;
}

div#main-content h1, h1#title {
	font-size: 160%;
	font-weight: bold;
	border-bottom: 1px solid #ffb20e;
	margin-bottom: 15px;
	padding-left: 5px;
	padding-bottom: 2px;
	color: #3e4e67;
}

h3 {
	color: #3e4e67;
}

h3:first-letter {
	color: #ffb20e;
}

/*
div#index > p:first-child:first-letter {
	color: #ffb20e;
	font-size: 200%;
	line-height: 100%;
}
*/

/*li > strong:first-child {
	color: #3e4e67;
	font-weight: bold;
}
*/

#searchForm {
	position: absolute;
	width: 160px;
	right: 10px;
	top: 2em;
	text-align: right;
}

#searchForm input, #searchForm span {
	padding: 0;
	font-size: 80%;
}

div.field {
	clear: both;
	padding-top: 5px;
}

div.field span.label, div.field label {
	float: left;
	width: 30%;
	text-align: right;
	padding-right: 1em;
	font-weight: bold;
}

div.field .formw {
	float: right;
	margin-left: auto;
	text-align: left;
} 

div.cell, table.cell {
	float: right;
	width: 65%;
}

span.cell, input.cell, select.cell {
	float: right;
	text-align: left;
	width: 65%;
}

table.cell {
	margin: 0;
	padding: 0;
	margin: 0;
	padding: 0;
	position: relative;
	left: -3px;
}

div.clear {
	clear: both;
}

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

div.buttons-bar input,
div.buttons-bar a {
	margin-right: 0.5em;
}

fieldset {
	border: 0;
}

fieldset span.cell, fieldset input.cell, fieldset select.cell, fieldset div.cell {
	width: auto;
	text-align: left;
	float: none;
}

