/*
	Relation France-Québec screen styles
*/


/* Reset
--------------------------------------------- */
/* Eric Meyer's Reset Reloaded: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}


/* Base styles
--------------------------------------------- */
body {
	font-size: 62.5%;
	background: #cdd4cd url(../cssimg/bg.gif) repeat-x;
	background-attachment: fixed;
	font-family: Arial, Helvetica, sans-serif;
}

small { font-size: small; }
big { font-size: large; }
sub { vertical-align: sub;}
sup { vertical-align: super;}
strike { text-decoration: line-through;}

p, form, table { font: 1.2em/1.8em Arial, Helvetica, sans-serif; margin-bottom: 10px; }
li { font: 1.2em/1.8em Arial, Helvetica, sans-serif;}
table li {font-size: 1em; }
p { margin-top: 1em; }
h1 { font: 3.0em Arial, Helvetica, sans-serif; }
h2 { font: 2.0em Arial, Helvetica, sans-serif; margin-bottom: 10px; }
h3 { font: 1.8em Arial, Helvetica, sans-serif; margin-bottom: 10px; }
ol, ul { margin-left: 25px; list-style-type: disc;}
img { border: none; }

hr {
	border: 1px solid #abb0b5;
	border-width: 1px 0 0;
	height : 1px;
}

form {}
input, textarea, select { color: #282b31;}
legend { font-weight: bold; color: #333; text-indent: 0; }
fieldset { border:none;}

b, strong { font-weight: bold; }
em { font-style: italic; }


/* Links
--------------------------------------------- */
a:link { text-decoration: none; color : #4e6c8a; border: 0;}
a:active { text-decoration: underline; color : #4e6c8a; border: 0;}
a:visited { text-decoration: none; color : #4a6c88; border: 0;}
a:hover { text-decoration: underline; color : #333; border: 0;}
a:focus { outline: none;}


/* Structure
--------------------------------------------- */
/* Shrinks to 780px, Grows to 1260px! http://css-tricks.com/the-perfect-fluid-width-layout/ */
#MainContainer {
	background: #cdd4cd url(../cssimg/bg.gif) repeat-x;
	background-attachment: fixed;
	min-width: 780px;
	max-width: 1260px;
	margin: 0 auto;
	width:expression(document.body.clientWidth < 782? "780px" : document.body.clientWidth > 1262? "1260px" : "auto"); /* CSS Validator doesn't like this */
}

#MainContainer #MainContainer-inner {
	background: white;
	margin: 0 20px;
	padding: 0;
}

#MainContent {
	padding: 20px;
	border-top: solid 2px #c0c0c0;
	border-bottom: solid 2px #c0c0c0;
	background: #f1f4f9 url(../cssimg/bg_main-repeat.jpg);
	position: relative;
}


/* Headings
--------------------------------------------- */
.PageTitle { text-transform: uppercase; }


/* Header
--------------------------------------------- */
#Header {}
#Header .Logo {}
#Header .Tagline { display: none; }


/* Footer
--------------------------------------------- */
#Footer { text-align: center; padding: 1.5em 20px; }
#Footer p { font-size: 1em; line-height: 1.2em; color: #999; }
#Footer a { text-decoration: underline;}

#ExtraNav { width: 100%;}

ul#ExtraNav {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	position: relative;
}

ul#ExtraNav li {
	display: inline;
	font-size: 1.1em;
	line-height: 1.2em;
	color:#999;
}

ul#ExtraNav li a:hover {
	color:#666;
	text-decoration: underline;
}

ul#ExtraNav li.ExtraLeft { position: absolute; left: 0; }
ul#ExtraNav li.ExtraRight { position: absolute; right: 0; }
ul#ExtraNav li.ExtraCenter {}


/* Components
--------------------------------------------- */


/* --- Suckerfish dropdown */
#MainNav {
	padding-right: 20px;
	position: absolute;
	right: 5em;
	top: 55px;
	z-index: 999;
	font-size: 1em;
}

#MainNav ul {
	float: left;
	list-style: none;
	line-height: 20px;
	background: white;
	letter-spacing: 1px;
	white-space: nowrap;
}

#MainNav a {
	display: block;
	text-decoration: none;
	color: #35383d;
	padding: 0.25em 1em;
}

#MainNav li {
	float: left;
	padding: 0;
	border-right: 1px solid #b4c0c9;
	color: #35383d;
	margin: 0;
	padding: 0;
}

#MainNav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 14.4em;
	w\idth: 13.9em;
	font-weight: normal;
	border-width: 0.25em;
	margin: 0;
	letter-spacing: 0;
}

#MainNav li li {
	padding-right: 1em;
	width: 13em;
	border-top: 1px solid #fff;
	font-size: 1em;
}

#MainNav li ul a {
	width: 12em;
}

#MainNav li ul ul {
	display: none;
}

#MainNav li:hover ul, #MainNav li li:hover ul, #MainNav li li li:hover ul, #MainNav li.sfhover ul, #MainNav li li.sfhover ul, #MainNav li li li.sfhover ul {
	left: auto;
}

#MainNav li:hover a, #MainNav li.sfhover a {
	color:#fff;
}

#MainNav li:hover li a, #MainNav li.sfhover li a {
	background:#fff;
	color: #35383d;
}

#MainNav li:hover li, #MainNav li.sfhover li, #MainNav li:hover li a, #MainNav li.sfhover li a {
	color:#35383d;
	background:#b8d3e6;
}

#MainNav li:hover, #MainNav li.sfhover,
#MainNav li:hover li:hover, #MainNav li.sfhover li.sfhover,
#MainNav li:hover li:hover a, #MainNav li.sfhover li.sfhover a {
	color:#fff;
	background: #4a6c88;
}

#MainNav li a.activelink, #MainNav li:hover a.activelink {
	background-color:#e6eff8;
	color:#000;
}

/* En attendant que les browsers supportent uniformement les selectors: first-child, last-child (+CSS3) */
#MainNav ul li.last { border-right: 0; }


/* --- Tabs */

#Tabs {
	position:relative;
	float: left;
	z-index: 15;
	margin: 0;
	padding: 0;
}

#TabsNav {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#TabsNav li {
	float:left;
	margin-right: 3px;
	text-align: center;
	font-size: 14px;
	line-height: 18px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

#TabsNav li a {
	float: left;
	width: 150px;
	padding: 5px 0;
	text-decoration: none;
	background-color: #fff;
	color: #666;
	white-space:nowrap;
}

#TabsNav li a:hover{
	background-color: #4a6c88;
	color: #fff;
}

#TabsNav li.activelink, ul#TabsNav li.activelink a,ul#TabsNav li.activelink a:hover{
	background: #e1eaf3;
	color: #003;
}

/* Wrap classes used with jQuery.corner */
ul#TabsNav li span.TabsNavLiWrap {
	float: left;
	background: #abc3de;
	width: 150px;
	position: relative;
	height: 28px;
}

ul#TabsNav li.activelink span.TabsNavLiWrap a {
	position:relative;
	height: 20px;
}

div.TabsContentWrap {
	float: left;
	position: relative;
	background: #abc3de;
	top: -2px;
	z-index: 10;
	width: 100%;
}

div#TabsContent {
	position: relative;
	padding: 20px;
	background: #abc3de url(../cssimg/bg_formulaire.gif) repeat-x;
}

div#TabsContent h2, div#TabsContent h3, div#TabsContent h4, div#TabsContent h5, div#TabsContent h6 {text-transform: none; }

div#TabsContent .right a { margin-left: 20px; }


/* --- jQuery.Cluetip */

#cluetip-waitimage {
	position: absolute;
	width: 16px;
	height: 16px;
	background-image: url(../cssimg/waitIcons/spinner06.gif);
}

.cluetip-default {
	background: #abc3de url(../cssimg/bg_formulaire.gif) repeat-x;
}
.cluetip-default #cluetip-outer {
	position: relative;
	margin: 0;
	background: #abc3de url(../cssimg/bg_formulaire.gif) repeat-x;
}
.cluetip-default h3#cluetip-title {
	margin: 0;
	padding: 18px 20px 0px;
	font-size: 1.5em;
	font-weight: bold;
	background: #abc3de url(../cssimg/bg_formulaire.gif) repeat-x;
	color: #000;
}
.cluetip-default #cluetip-title a {
	color: #4a6c88;
	font-size: 1em;
}
.cluetip-default #cluetip-inner {
	padding: 0 20px 20px;
}
.cluetip-default div#cluetip-close {
	text-align: right;
	margin: 0 5px 5px;
	color: #000;
}
.cluetip-default #cluetip-outer div {
	margin: 0;
}


/* Forms 
--------------------------------------------- */
#searchFormSimple, #searchFormAvancee { font-size: 1em; }

/* N'utilise pas l'élément 'legend' car ie crée des problèmes lorsque stylisé (7px margin)... */
#searchFormSimple legend, #searchFormAvancee legend { display: none; }
#searchFormSimple .formLegend, #searchFormAvancee .formLegend { font-weight: bold; color: #333; text-indent: 0; width: 125px; padding: 0; margin: 0; }

#searchFormSimple .searchLabel, #searchFormAvancee .searchLabel { width: 100px; text-align: right;}
#searchFormSimple input.formOption, #searchFormAvancee input.formOption { width: 245px;}
#searchFormSimple select.formOption, #searchFormAvancee select.formOption { width: 249px;}

#searchFormSimple td, #searchFormAvancee td { padding-right: 20px; }

#searchFormSimple .searchBtn { margin-left: 20px; }
#searchFormAvancee .searchBtn { text-align: center; }
#searchFormAvancee .searchOp { text-align: center; }

#searchFormAvancee .searchBtn, #searchFormAvancee .commentaire { line-height: 3em; }


/* Data tables 
--------------------------------------------- */
#resultTable {
	background-color: #fff;
	border-collapse: collapse;
	border: 1px solid #abb0b5;
	clear: both;
	border-left: 15px solid #4a6c88;
	border-top: 1px solid #4a6c88;
}

#resultTable tr {
	background-color: #fff;
}

#resultTable thead th {
	text-align: left;
	background-color: #4a6c88;
	color: #fff;
}

#resultTable td, #resultTable th {
	border: 1px solid #abb0b5;
	background-color: #fff;
	padding: 0.5em;
	margin: 0;
	vertical-align: top;
}

#resultTable th {
	text-align: left;
	background-color: #4a6c88;
	color: #fff;
	border-top: 1px solid #4a6c88;
}

#resultTable td {
	padding: 0.5em;
}

#resultTable p {
	margin-top: 0;
}

#resultTable li {
	margin: 0;
}

#resultTable td ul {
	padding: 0 13px;
	margin: 0;
}

#resultTable caption, .resultTable th {
	display: none;
}

/* Buggy support of Adjacent Sibling Selectors in WinIE. Dropped for now. :( */
/* Could use the :first-child Selector too. */
/*
#resultTable tr td, tr td { background-color: #4a6c88; color: #fff; }
#resultTable tr td+td { background-color: #fff; color: #000; }
#resultTable tr.zebraAlt td+td { background: #f1f4f9; }
#resultTable tr.zebraOver td { background: #e1eaf3; }
*/

#resultTable tr.zebraAlt td { background: #f1f4f9; }
#resultTable tr.zebraOver td { background: #e1eaf3; }

#resultTable .rownum       { width: 1%; text-align: right; }
#resultTable .date_debut   { width: 100px; }
#resultTable .titre        {  }
#resultTable .typeRelation { width: 200px; }

#resultTable .typeRelation ul { list-style: none; margin: 0; padding: 0; }

#resultTable .entiteTitre {
	font-weight: bold;
	font-size: 1.2em;
	text-transform: none;
	margin-top: 0;
}

#resultTable .entiteEnonce {
	font-size: 1em;
}

#resultTable.evenements { font-size: 1em; position: relative; }

.resultTableDocument td:first-child { padding-right: 20px; }


/* Modules 
----------------------------------------------*/


/* --- Pagination */

.notice { clear: both; }

.hpp { position: relative; clear:both; }
.hpp p { text-align: center; line-height: 2em; }
.hpp img { position: relative; top: 3px; }
p.alphabet { text-align: center;}
.currentPage { background-color: #4a6c88; color: #fff; font-weight: bold; padding: 0.25em 0.5em;}

.alphabet .activelink { font-weight: bold; }
.alphabet .activelink { background-color: #4a6c88; color: #fff; padding: 3px 5px; }

.sortformContainer { position: absolute; }


/* --- Accueil */
.accueilImgPartenaires { text-align: center; margin: 3em 0; }
.accueilImgPartenaires img { margin: 0 20px; }


/* --- Inventaire bibliographique */
ul#ExplorationNav { padding: 0; list-style: none; margin: 10px 0 30px 0; padding: 0;}
ul#ExplorationNav li { padding: 0 1px 0 0; margin: 0; display: inline; }
ul#ExplorationNav li a { padding: 6px 10px; color:#333; text-decoration: none; font-weight: bold; font-size: 1.4em; }
ul#ExplorationNav li a:hover { background-color: #4a6c88; color: #fff; text-decoration: none; }
ul#ExplorationNav li a.activelink { background-color:#4a6c88; color: #fff; }

.themeSubLevel { text-indent: 50px; }
a.themeSubLevelLink { text-decoration: none; }


/* --- Chronologie */

#aProposChronologie {
	text-align: right;
	line-height: 12px;
	margin-top: -2.5em;
	position:relative;
}

#aProposChronologie span {
	margin-left: 20px;
}

.optionTheme61 { background-color: #52c5cc; }
.optionTheme62 { background-color: #7fc85f; }
.optionTheme81 { background-color: #c0875c; }
.optionTheme82 { background-color: #bdc862; }
.optionTheme83 { background-color: #c5598d; }

ul.typeRelation { list-style-type: none; margin: 1em 0 0; padding: 0; }
ul.typeRelation li { margin-bottom: 0.5em; font-weight: bold; letter-spacing: 1px; border-left: 15px solid; padding-left: 5px; line-height: 15px; white-space: nowrap; }
ul.typeRelation .labelTheme61 { border-color: #52c5cc; }
ul.typeRelation .labelTheme62 { border-color: #7fc85f; }
ul.typeRelation .labelTheme81 { border-color: #c0875c; }
ul.typeRelation .labelTheme82 { border-color: #bdc862; }
ul.typeRelation .labelTheme83 { border-color: #c5598d; }

.detailEntites ul.typeRelation { font-size: 1em; }
#resultTable ul.typeRelation li { margin-bottom: 0.5em; }

.detailEntite ul.typeRelation li { display: inline; }
.detailEntiteAjax ul.typeRelation li { display: block; font-size: 1.2em; }

.detailEntiteAjax { position: relative; }


/* --- --- Chronologie: mode liste */
#listChronologieOptions { margin-top: 24px; }
#listChronologieOptions #listeSelection { float: left; white-space: nowrap;}
#listChronologieOptions #listeVisualisation { float: right; text-align: right; margin-bottom: 1em;}
#listChronologieOptions #listeVisualisation img { margin: 0 0 0 5px;}
#listChronologieOptions input, #listChronologieOptions option.instruction { text-transform: uppercase; }

#listChronologieOptions fieldset { padding: 0; margin: 0; }
#listChronologieOptions legend { display: none; }


/* --- --- Chronologie: mode bulles */
.detailEntites { position: relative; }

.detailEntite {
	position: relative;
	color: #000;
	width: 50%;
	width: 485px;
	filter: alpha(opacity=80);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity:0.8;
}

.detailEntite div {
	background: #abc3de;
	margin: 0;
	padding: 0 15px;
}

.detailEntite h3 {
	margin: 0;
	padding: 0;
}

.detailEntite p {
	margin-bottom: 0;
}


.detailEntite .topCorners {
	background: transparent url(../cssimg/detailEntiteTop.png) no-repeat;
	width: 485px;
	height: 15px;
	margin: 0;
	padding: 0;
}

.detailEntite .bottomCorners {
	background: transparent url(../cssimg/detailEntiteBottom.png) no-repeat;
	width: 485px;
	height: 15px;
	margin: 0;
	padding: 0;
}

.detailEntite .more a { text-decoration: underline; font-size: 1.2em; }

.entitePrecedent { float: left; position: absolute; left: -33px; bottom: 15px; }
.entiteSuivant { float: right; position: absolute; right: -33px; bottom: 15px; }

.detailEntite.left0 { left: 0; }
.detailEntite.left1 { left: 10%;}
.detailEntite.left2 { left: 20%;}
.detailEntite.left3 { left: 30%;}
.detailEntite.left4 { left: 40%;}

.detailEntite.top0 {top: 0; margin-top: 0;}
.detailEntite.top1 {top: 0; margin-top: -10px;}
.detailEntite.top2 {top: -10px; margin-top: 0;}
.detailEntite.top3 {top: 10px; margin-top: 10px;}
.detailEntite.top4 {top: 0; margin-top: 0;}

.evenementAjaxImg {
	float: right;
	width: 250px;
	padding: 0 0 1em 20px;
	position: relative;
}


/* Misc.
--------------------------------------------- */
.left { float: left; }
.right { float: right; }
.clearer { clear: both; }
.nowrap { white-space: nowrap; }

img.scaled { width: 100%; }
.imgPresentation  { float: right; margin: 8px 0 20px 20px; position: relative; }
.imgPresentation2 { float: left; margin: 8px 20px 20px 0; position: relative; }

.more { text-align: right; font-size: 1em;}

.sourceImg {
	text-align: left;
	line-height: 1.2em;
	font-size: 1.1em;
	font-weight: bold;
	text-indent: 0;
	margin-bottom: 0;
}
