/* =======================================================================
 * This stylesheet gathers the main formatting styles.
 *
 * The stylesheet "page_template_structure.css" is to be used for styles that
 * define the layout of a page and are related to positionning more than
 * formatting/styling.
 *
 * ========================================================================
 */



/* ========================================================================
==============     REDEFINITION OF BASE HTML ELEMENTS     =================
=========================================================================== */

/* Define the default font: */
BODY, TD, FONT, A, SPAN, P, LI, UL, BR, HR, DIV, TD, TH, H1, H2, H3, H4
{
     font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
     font-size:12px;
}


img {
 	border:none;	
}

/* ----------------- */
/* Main links styles */

a:link, a:visited {
	color: #003399;
	font-weight: bold;
	text-decoration: none;
}

a:hover, a:active {
	color: #0066cc;
	font-weight: bold;
	text-decoration: underline;
}



/* ------- */
/*  titles */
h1 {
	color: #003399;
	font-weight: bold;
	font-size: 150%;
}

h2 {
	color: #003399;
	font-weight: bold;
	font-size: 130%;
}

h3 {
	color:  #003399;
	font-weight: bold;
	font-size: 120%;
}

h4 {
	color: #ff6600;
	font-weight: normal;
	font-size: 110%;
}


/* ------------ */
/* default cells*/
td, th {
	color: Black;
}

td.highlight {
	background-color: #FBCA6D;
}

h2.page-title
{
    background-image: url(../images/local/skin/arrows.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left:15px;
}

/* =====================================================================
 * --------------     form elements      -------------------
 * ===================================================================== */
form {
	margin: 0;
	padding: 0;
}

form.default-form
{
    margin: 0;
}


form.default-form fieldset
{
    border: 1px dotted Black;
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    padding: 10px;
}
form.default-form label.text-label, form.default-form label.combo-label,form.default-form label.textarea-label
{
    float:left;
    text-align: right;
    width: 40%;
    margin-right: 5px;
}

form.default-form label.checkbox-label, form.default-form label.radio-label
{

    text-align: left;
    margin-left: 5px;
}
form.default-form input.checkbox-field, form.default-form input.radio-field
{
    margin-left: 20px;
}
form.default-form p.buttons
{
	text-align: center;
}

form.default-form .error
{
	border: 2px groove red;
}

/* main search screen */
form#main-search fieldset
{
    background-repeat: no-repeat;
	border: none;
    border-bottom: 1px dotted Black;
    text-align: left;
    margin-left: 15px;
    margin-right: 30px;
    padding: 10px;
}
form#main-search-previous
{
    float:left;
    width:40%;
    text-align:right;
    margin-bottom:15px;
}
form#main-search-next
{
    float:right;
    width:40%;
    text-align:left;
    margin-bottom:15px;	 	  
}


/* ------------------------------------- */
/* Styles to display the list of results */
/* ------------------------------------- */
ul.main-search-results {
  list-style-type: none;
}
ul.main-search-results li {
  margin-bottom: 30px;
}


/* =====================================================================
 * --------------      Documents style      -------------------
 * ===================================================================== */

/* box containing the document buttons (send, print, comment, back) */
div.document-buttons {
   float: left;
   width: 100px;
   margin-bottom: 8px;
}

div.document-buttons p {
	/*display: inline;*/
	margin: 0px;
	margin-bottom: 2px;
	padding: 0px;
}

div.document-buttons p a:hover, div.document-buttons p a:link, div.document-buttons p a:visited, div.document-buttons p a:active {
	text-decoration: none;
}

div.document {
	border: 1px solid #C6C9C1;
	margin-left: 110px;
	margin-bottom: 10px;
}
div.document-content {
	background-color: white;
	border: 0;
	margin: 0;
	padding: 15px;
}

/* box containing the comments associated with the documents */
div.documents-comments {
	margin-left: 150px;
}

/* =====================================================================
 * ------------------      styles for portlets     ---------------------
 * ===================================================================== */

/* ========================================================================
 * styles for the basic portlets
 * ------------------------------------------------------------------------ */
/* the box "portlet" contains a header & a content */
div.portlet {
	border: 0px solid #C6C9C1;
	margin-bottom: 10px;
}

/* the portlet header  */
h3.portlet-header {
	padding-left: 4px;
	background-image: url(../images/local/skin/arrows2.gif);
    background-repeat: no-repeat;
	background-position: left;
	padding-left: 0px;
	background-color: #ffffff;
	border-bottom: 0px dotted #ffffff;
	color: #3366CC;
	font-size: 150%;
	font-weight: bold;
	margin: 0;
	padding-left: 25px;
}

/* the portlet header  */
div.portlet-header {
	background-color: #E6EAF3;
	border-bottom: 1px dotted #C6C9C1;
	color: #1C2861;
	font-size: 120%;
	font-weight: bold;
	margin: 0;
	padding: 5px;
}

/* the portlet content  */
div.portlet-content {
	background-color: white;
	border: 0;
	margin: 0;
	padding: 15px;
}
/* a footer for the portlet */
/* Not currently used */

div.paragraphe
{ 
position: left;
clear: right;

}

div.image 
{ 
	float: right; 
	padding: 15px;
}
div.portlet-footer {
}
div.portlet-footer p {
}




/* ========================================================================
 * styles for portlets with a background of a colour other than white
 * ------------------------------------------------------------------------ */

/* The box "portlet-background-colored" is  similar to "portlet" but
 * provides different settings.
 */
div.portlet-background-colored {
	border: 0px solid #C6C9C1;
	color: #ff6600;
	margin-bottom: 10px;
}
/* the portler header */
h3.portlet-background-colored-header {
	background-image: url(../images/local/skin/fond_main_menu_small.gif);
    	background-repeat: no-repeat;
	background-position: left;
	background-color: #3399FF;
	border-bottom: 1px dotted #C6C9C1;
	color: #ffffff;
	font-size: 110%;
	font-weight: bold;
	margin: 0;
	padding: 5px;
	padding: 6px;
	padding-left: 27px;
}
/* the portlet content  */
div.portlet-background-colored-content {
	background-color: #99ccff;
	background-image: url(../images/local/skin/vague_verticale.jpg);
	border:1px;
	boder-color: #3399cc;
	text-color: #cccccc;
	align-bottom: 0px;	
	margin-bottom: 1px;
	padding: 1px;
}
/* special style for lists */
div.portlet-background-colored li {
	background-color: none;	
	text-color : #000000;
	border:1px;
	margin-bottom: 0px;
	color: #ffffff;
	text-align: left;
	
	list-style-type: square;
}





/
/* ========================================================================
 * styles for portlets with no background
 * ------------------------------------------------------------------------ */
/* The box "portlet-no-background" is  similar to "portlet" but
 * provides different settings.
 */
div.portlet-no-background {
	text-align: left;
	border: none;
	margin-bottom: 10px;
}
/* portler header  */
h3.portlet-no-background-header {
	background-color: White;
	color: #1C2861;
	font-size: 120%;
	font-weight: bold;
	margin: 0;
	padding: 5px;
}
/* portlet content  */
div.portlet-no-background-content {
	border: 0px;
	margin: 0;
	padding: 15px;
}




/* =====================================================================
 * -----------------      styles for alert box      --------------------
 * ===================================================================== */
div.alert {
	color: Red;
	font-weight: bold;
	font-size: 120% ;
	text-align: center;
}
div.alert a:link, div.alert a:visited, div.alert a:hover, div.alert a:active {
	color: Red;
}

/* =====================================================================
 * -------------------      styles for table      ----------------------
 * ===================================================================== */

/* --------------------------------------------------------------------
 * ------------- data-table : used to display data in rows ------------
 */
table.data-table {
	background-color: White;
	border: 0px solid #C6C9C1;
	border-collapse: collapse;
	margin-bottom: 0px;
	width: 90%;
}
/* table cell */
table.data-table td {
	border-left: 0px solid #C6C9C1;
	border-right: 0px solid #C6C9C1;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	vertical-align: top;
}
/* table header, eg. : columns names */
table.data-table th {
	background-color: #E6EAF3;
	border-bottom: 0px dotted #C6C9C1;
	border-left: 0px solid #C6C9C1;
	border-right: 0px solid #C6C9C1;
	color: #1C2861;
	font-weight: bold;
	height: 20px;
	vertical-align: middle;
}
/* basic row style */
table.data-table tr {
	background-color: #F8F8F8;
}
/* style for even rows */
table.data-table tr.even-row {
	background-color: White;
}
/* styles for odd rows */
table.data-table tr.odd-row {
	background-color: #F8F8F8;
}

/* --------------------------------------------------------------------
 * ---------------------- external-border-only  -----------------------
 * a border only around the table, no border for cells, white bg-color
 */
 table.external-border-only {
	background-color: White;
	border: 1px solid #C6C9C1;
	border-collapse: collapse;
	margin-bottom: 10px;
}
table.external-border-only th {
	background-color: #E6EAF3;
	border-bottom: 0px dotted #C6C9C1;
	color: #1C2861;
	font-weight: bold;
	height: 20px;
	vertical-align: middle;
}

/* --------------------------------------------------------------------
 * ------------------- external-border-only-bgcolored  ----------------
 * a border only around the table, no border for cells with
 * a non white bg color
 */
 table.external-border-only-bgcolored {
	background-color: #F8F8F8;
	border: 0px solid #C6C9C1;
	border-collapse: collapse;
	margin-bottom: 10px;
}

table.external-border-only-bgcolored th {
	background-color: #E6EAF3;
	border-bottom: px dotted #C6C9C1;
	color: #1C2861;
	font-weight: bold;
	height: 20px;
	vertical-align: middle;
}


/* =====================================================================
 * --------------      styles for horizontal menu      -----------------
 * ===================================================================== */
/* Horizontal menu : for menu-main */

ul#menu li ul{
    display:none;
}

ul#menu li:hover>ul{
    display:block;
}


ul#menu{
    margin:0px;
    padding:0px;
    list-style:none;
   width: 940px;
    background:#859ECF;
	height:40px;
background-image: url(../images/local/skin/fond_main_menu2.gif);
    float:center;
    /*font:0.7em Arial;*/
}

ul#menu hr{
    margin-right: 6px;
    margin-left: 6px;
}

ul#menu li{
    float:left;
    display:block;
    padding:3px 6px;
    background-image: url(../images/local/skin/banner_arrows.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left:15px;
}

ul#menu li.first{
    /*padding-left:2px;*/
    padding-left:15px;
}

ul#menu li.last{
    padding-right:8px;
}

ul#menu li a{
    display:block;
    padding:2px 6px;
    /*border:1px solid #CCCCCC;*/
    color:White;
    text-decoration:none
}

ul#menu li a:hover{
    /*border-color: #000099;*/ /*needed for hover background of submenu to work */
}

ul#menu ul{
    position:absolute;
    background:#3399CC;
    border: 1px solid #99CCCC;
    list-style:none;
    margin:0px;
    padding:0px;
    width:160px;
    z-index:1;
}

ul#menu ul ul{
    top:2px;
    left:155px;
    z-index:2;
}

ul#menu ul li{
    position:relative;
    float:none;
    background-image:none;
    margin:0px;
    padding:0px;
    border-top: 1px solid #99CCCC;
    _display:inline;
}

ul#menu ul li a{
    display:block;
    margin:0px;
	padding:0px;
	width:160px;
    border:none;
}
ul#menu ul li a span{
    display:block;
    width:144px;
    width:156px;
    padding:2px 6px;
    margin:0px 2px;
    border:none;
    cursor: pointer;
	cursor:hand;
}
ul#menu ul li a.next span{}
ul#menu ul li a.next:hover span{
    background-position: -160px 50%;
}

ul#menu ul li a:hover span{
    color: #003399;
	background-color:#ffffff;
    border:none;
}

ul#menu ul li.first{
    padding-left:0px;
    border-top: none;
}

ul#menu ul li.first a{
    padding-top:2px;
}

ul#menu ul li.last{
    padding-right:0px;
}

ul#menu ul li.last a{
    padding-bottom:2px;
}



/* =====================================================================
 * ---------------      styles for vertical menu      ------------------
 * ===================================================================== */
/* vertical menu */
ul#menu-verti li ul{
    display:none;
}

ul#menu-verti li:hover>ul{
    display:block;
}

ul#menu-verti{
    float:left;
}

ul#menu-verti, ul#menu-verti ul{
    background: #EE9C00;
    border: 1px solid #990000;
    list-style:none;
    margin:0px;
    padding:0px;
    width:148px;
    _width:150px;
}

ul#menu-verti ul{
    position:absolute;
    top:-1px;
    left:148px;
}

ul#menu-verti li{
    position:relative;
    margin:0px;
    padding:0px;
    _display:inline;
}

ul#menu-verti a{
    display:block;
    width:100%;
    color:Black;
    text-decoration:none
}

ul#menu-verti a:hover{
    background:Black;
    color:White;
}



/* =====================================================================
 * -------------      styles for the footer content     ----------------
 * ===================================================================== */
#footer-content {
	width:940px;
	background-image: url(../images/local/skin/fond_footer.gif);
	background-color: White ;
	border: 0px;
	color: #ff6600;
	font-weight: bold;
	text-align: center;

}

#footer-content a:link, #footer a:visited {
	color: #003399;
	font-weight: bold;
	text-decoration: none;
}

#footer-content a:hover, #footer a:active {

	color: #003399;
	font-weight: bold;
	text-decoration: underline;
}




#menu-init a:link, #menu-init a:visited, #menu-init a:hover, #menu-init a:active {
	color: White;
	text-decoration: none;
}




/* =====================================================================
 * --------------    styles for the page-path content   ----------------
 * ===================================================================== */
#page-path-content {
background-color: #ffffff;
	border: none;
	color: #003399;
	font-weight: bold;
	padding: 0px;
	text-align: left;
}

#page-path-content a:link, #page-path a:visited {
	color: #0099CC;
	font-weight: normal;
	text-decoration: none;
}
#page-path-content a:hover, #page-path a:active {
	color: #E47F00;
	font-weight: normal;
	text-decoration: underline;
}



/* ------------------------------------- */
/* styles to display lines of 4 elements */
/* ------------------------------------- */
 /* to work ok, the last div line should be followed
    by a div of class clear :<div class="clear">&nbsp;</div>
    in order to fill the container and not to display the line
    outside this container.
 */

/* each group of line-elements should be surronded by a line */
div.line {
 	clear: both;
 }

div.line-first {
 	clear: none; /* first line should not clear */
 }
/* as we put 4 elements per line, the max we can size each element
is 25% */
div.line-element {
    float: left;
    width: 0%;
    margin-bottom: 20px;

}
div.line-element p {
    text-align: left;
}
div.line-element a {
    background-image: url('../images/local/skin/arrows.gif');
	background-position: left top ;
	background-repeat: no-repeat;
	padding-left: 15px;
}

/* ------------------------------------- */
/* Styles to display a polaroid */
/* ------------------------------------- */
/* This style is used to contain an image of
   width and height of 80 pixel and renders a
   polaroid effect */
div.polaroid {
    /*margin:auto;*/ /* margin auto will center the polaroid in its container */
    width:84px;
    height:84px;
    background-image: url('../images/local/skin/fd_images.gif');
    background-position: top center;
    background-repeat: no-repeat;

}
div.polaroid img {
    margin-left:2px;
    margin-top:2px;
}

/* ====================================================================
 * -----------------      styles for the site map     -----------------
 * ==================================================================== */
ul.site-map-level-one
{
	margin-left:20px;
	list-style:none;
}

ul.site-map-level-one li
{
   background-image: url(../images/local/skin/arrows.gif);
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 15px;
	margin-bottom: 20px;
	border-bottom: 1px dotted Black;
}


ul.site-map-level-one a:link, ul.site-map-level-one a:visited
{
   color: #ff6600;
	font-weight: bold;
	font-size: 120%;
	text-decoration: none;

}
ul.site-map-level-one a:hover
{
    color: #ff6600;
 	font-weight: bold;
	font-size: 120%;
	text-decoration: underli

}

/* Postion of the image displayed for level one  */
ul.site-map-level-one div.level-one-image
{
	float:left;
	width:100px;
	margin:0px;
	margin-top: 10px;
	margin-bottom: 10px;
}


ul.site-map-level-two
{
	margin-left:60px;
	margin-bottom:10px;
	margin-top:5px;
	list-style:none;
}


ul.site-map-level-two li
{
   background-image: url(../images/local/skin/arrows.gif);
	background-repeat: no-repeat;
	background-position:  top left;
	padding-left:15px;
	margin-bottom: 5px;
	border: none;
}

ul.site-map-level-two a:link, ul.site-map-level-two a:visited
{
   color: #1C2861;
 	font-weight: bold;
	font-size: 110%;
	text-decoration: none;

}

ul.site-map-level-two a:hover
{
   color: #1C2861;
	font-weight: bold;
	font-size: 110%;
	text-decoration: underline;

}

ul.site-map-level-three
{
	margin-left:20px;
	margin-bottom:5px;
	margin-top:5px;
	list-style:none;
}

ul.site-map-level-three li
{
    background-image: none;
    margin-bottom: 5px;
    border: none;
}

ul.site-map-level-three a:link, ul.site-map-level-three a:visited
{
   color: #1C2861;
	font-weight: bold;
	font-size: 100%;
	text-decoration: none;
}
ul.site-map-level-three a:hover
{
   color: #1C2861;
	font-weight: bold;
	font-size: 100%;
	text-decoration: underline;
}

ul.site-map-level-highest
{
	margin-left:0px;
	margin-bottom:5px;
	margin-top:5px;
	list-style:none;
}

ul.site-map-level-highest li
{
    background-image: none;
    margin-bottom: 0px;
    border: none;
}

ul.site-map-level-highest a:link, ul.site-map-level-highest a:visited
{
   color: #1C2861;
	font-weight: normal;
	font-size: 100%;
	text-decoration: none;

}
ul.site-map-level-highest a:hover
{
   color: #1C2861;
	font-weight: normal;
	font-size: 100%;
	text-decoration: underline;
}

/* Styles for admin preview*/
div.admin-buttons input
{
    border: 1px solid #364C5E;
    background-color: #F7F2B0;
    font-family: Arial, Tahoma, Helvetica, sans-serif;
    font-size: 100%;
    color: #364C5E ;
    cursor: pointer;
    cursor: hand;    
}

/* Pages document */

input.mandatory{
	background-color: #FBCA6D;
}

div.windows-header{
	margin: 5px 5px 5px 5px;
	float: left;
	font-size: 14px;
	color: #1C2861;
}

div.windows-content{
	clear: both;
	margin: 5px 5px 5px 5px;
	float: left;
	color: #1C2861;
	width: 80%;
}

div.windows-form{
	color: #1C2861;
	width: 80%;
} 
div.windows-form table{
	width: 95%;
}

div.windows-form table label{
	float: right;
	color: #1C2861;
}

div.windows-form table input{
	float: left;
	color: #1C2861;
}

div.error {
    color: red;
    font-weight: bold;
}

div.search-form {
    border: 1px solid #C6C9C1;
    margin: 30px;
    padding: 10px;
}

div.search-form table {
    width: 90%;
    margin: 5px;
    padding: 5px;
}

div.search-results-header {
    border: 1px solid #C6C9C1;
    margin: 30px;
    padding: 10px;
    background-color: #E6EAF3;
}

div.search-results-header a {
    font-weight: normal;
}

div.search-results {
    border: 1px solid #C6C9C1;
    margin: 30px;
    padding: 10px;
}

div.search-results table {
    width: 90%;
    margin: 10px;
    padding: 5px;
}

div.search-results td {
    margin: 5px;
    padding: 10px;
}

div.search-results a {
    font-weight: bold;
}


/* =====================================================================
 * ---------    styles for the buttons on the web site  text-align: center;    ------------
 * ===================================================================== */

input.site-buttons {
    height: 23px; 
    width: 99px; 
    border-style: none; 
    font-weight: bold;
    color: #1C2861; 
    font-size: 12px; 
    cursor: pointer; 
    cursor: hand;
}

div.site-buttons {
    height: 23px;
    width: 105px; 	 
    line-height: 200%;
    text-indent: 26px;
}

div.site-buttons a{
    display: block;
    text-decoration: none;
}

#button-comment 
{
    background-image: url(../images/local/skin/buttons/b_comment.png); 
}

#button-lastresults 
{
    background-image: url(../images/local/skin/buttons/b_lastresults.png); 
}

#button-nextresults 
{
    background-image: url(../images/local/skin/buttons/b_nextresults.png); 
}

#button-print 
{
    background-image: url(../images/local/skin/buttons/b_print.png); 
}

#button-reset 
{
    background-image: url(../images/local/skin/buttons/b_reset.png); 
}

#button-return 
{
    background-image: url(../images/local/skin/buttons/b_return.png); 
}

#button-search 
{
    background-image: url(../images/local/skin/buttons/b_search.png); 
}
#button-send {
    background-image: url(../images/local/skin/buttons/b_send.png); 
}

#button-subscribe 
{
    background-image: url(../images/local/skin/buttons/b_subscribe.png); 
}

