/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
        font-family: "Trebuchet MS", arial, helvetica, sans-serif;
	font-size: 87.5%;
	line-height: 1em;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link a:active {
	text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
	color: #f00;
}
a:visited {
	text-decoration: none;
	background-color: inherit;
	color: #900;
/* a different color can be used for visited links */
}
/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #f00;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #222;
/* you can set your own image and background color here */
	/*background: #f4f4f4 url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/body.png) repeat-x left top;*/
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
	max-width: 99em;
	min-width: 60em;
/* now that width is set this centers wrapper */
	margin: 0 auto;
	background-color: #ffffff;
	/*color: black;*/
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
	height: 128px;
	margin: 0;
	padding: 0;
	/* you can set your own image here, will go behind h1 a image */
	background-color: #FFFFFF;
/* border just the bottom */
	border-bottom: 1px solid #c01010;
}
div#header h1 a {
/* you can set your own image here */
	background: url(http://macaon.lif.univ-mrs.fr/uploads/macaon/images/macaon.png) no-repeat left top;
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 128px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
	line-height: 0;
	font-size: 0;
/* this will keep IE6 from flickering on hover */
	background-color: #ffffff;
}
div#header h2 {
/* this is where the site name is */
	float: right;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: 35px 500px 0px 0px;
/* adjust according your text size */
	color: #222;
}
div#header h2.headright {
       font-style: bold;
       font-size: 3.5em;
       color: #000;
}

.headlogo {
        float:left;
	margin: 35px 0px 0px 400px;
}

.headlogoname {
        line-height: 1.2em;
	font-style: bold;
        font-size: 3.5em;
        color: #000;
}
.headlogologo {
        text-align:right;
        color: #000;
        width: 100%;
        font-size: 0.8em
}

div.crbk {
vertical-align: middle;
/* sets all to 0 */
	margin: 0;
	padding: 0;
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainrtup.gif) no-repeat right bottom;*/
       border: 1px solid #c01010;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
	font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
	margin: 0px;
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainleftup.gif) no-repeat left bottom;*/
}
div.breadcrumbs span.lastitem {
	font-weight: bold;
}
div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
        vertical-align: middle;
	width: 27em;
	text-align: right;
	padding: 0.5em 0 0.2em 0;
	margin: 0 1em;
}
/* a class for Submit button for the search input box */
input.search-button {
	border: none;
	height: 22px;
	width: 53px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
        background-color: #ffffff;
        color: #900;
        font-style: bold;
        border: 1px solid #c01010;
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/search.gif) no-repeat center center;*/
}
div#content {
/* some air above and under menu and content */
	margin: 1.5em auto 2em 0;
	padding: 0px;
}
/* this gets all the outside calls that were used on the div#main before  */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
	margin-left: 2%;
/* and some air on the right */
	margin-right: 2%;
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainrt1.gif) no-repeat right top;*/
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
	float: right;
	width: 92%;
/* and we take this out or it will stop at the bottom  */
	margin-left: 0%;
/* and some air on the right */
	margin-right: 10px;
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainrt1.gif) no-repeat right top;*/
}
div.back2 {
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainleft1.gif) no-repeat left top;*/
}
div.back3 {
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/wbtmleft.gif) no-repeat left bottom;*/
}
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
	padding: 10px 15px;
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/rtup.gif) no-repeat right bottom;*/
}
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 26%;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 0px 0px 20px;
	padding: 0px;
/* you can set your own image here */
/*	background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainrt.gif) no-repeat right top;*/
}
div#sidebarb {
	padding: 10px 15px 10px 20px;
/* this one is for sidebar with content and no menu */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainrtup.gif) no-repeat right bottom;*/
}
div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
	margin: 2em 0 1em 0em;
}
div#sidebara {
	padding: 10px 15px 15px 0px;
/* this one is for sidebar with menu and no content */
/*	background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/mainrtup.gif) no-repeat right bottom;*/
}
div.footback {
/* keep footer below content and menu */
	clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
	padding: 0px 10px 0px 0px;
/* you can set your own image here */
	/*background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/wfootrt.gif) no-repeat right top;*/
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
	padding: 0px 0px 0px 10px;
/* color of text, the link color is set below */
	color: #595959;
/* you can set your own image here */
/*	background: url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/wtopleft.gif) no-repeat left top;*/
border-top-width: 1px;
border-top-style: solid;
border-top-color: #c01010;
}
div.leftfoot {
	float: left;
	width: 30%;
	margin-left: 20px
}
div#footer p {
/* sets different font size from default */
	font-size: 0.6em;
/* some air for footer */
	padding: 1.5em;
/* centered text */
	text-align: center;
	margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #595959;
}
/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted #c01010;
	margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #222;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #c01010;
	border-left: 1.1em solid #c01010;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}
div#content h3 {
	color: #222;
/* font size for h3 the higher the h number the smaller the font size, most times */
	font-size: 1.3em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #c01010;
	border-left: 1.1em solid #c01010;
/* and some air under the border */
	line-height: 1.3em;
	/*margin: 0 0 0.5em 0;*/
        margin: 0px 0px 0.5em 1.6em;
}
div#content h4 {
	color: #222;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 2em;
        text-decoration: underline;
}
div#content h5 {
	color: #222;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #222;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
pre {
        font-family: Monaco,'DejaVu Sans Mono','Bitstream Vera Sans Mono','Lucida Console',monospace;
/* black border for pre blocks */
	border: 0px solid #000;
        -moz-border-radius:25px; /* Firefox */
        border-radius:25px;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.6em;
	line-height: 1.5em;
	font-size: 90%;
        overflow: auto;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */

/* CODE */
code{
        width: 100%;
        height: 100%;
        border: 3px solid #cccccc;
        padding: 5px;
        font-family: Tahoma, sans-serif;
        font-family: Monaco,Courier;
        font-style: normal;
        font-variant: normal;
        font-weight: normal;
        font-size: 13px;
        line-height: 18px;
        font-size-adjust: none;
        font-stretch: normal;
        -x-system-font: none;
        padding-top: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        display: block;
        background-color: #f0f0f0;
        background-image: none;
        background-repeat: repeat;
        background-attachment: scroll;
        background-position: 0% 0%;
        overflow-x: auto;
        overflow-y: auto;
        margin-top: 5px;
        margin-right: 0pt;
        margin-bottom: 5px;
        margin-left: 0pt;
        position: relative;

}
/* fin code*/
/* NOTE et WARN */
div .note {
        color: #AA0000;
        padding: 3px 10px 3px 10px;
}

div .warn {
        color: #AA0000;
        padding: 0px 0px 0px 0px;
}
/*fin note et warn*/
/*xml*/
i .attribut {
        font-size:15px;
        font-weight:bold;
}

.tag {
        font-size:16px;
        font-weight:bold;
}
/**/

/*TABLE*/
.tabledist{
        margin: 0em 2em 1em 2em;
        border: 1px solid #000000;
        border-collapse: separate;
        vertical-align:middle;
        width:auto;
        text-align:center;
}

.tabledist tr td{
    padding: 0em 1em 0em 1em
}
/* Stylesheet: macaoncss Modified On 2012-03-08 12:54:45 */
/* by Alexander Endresen and mark and Nuno */
#menu_vert {
/* no margin/padding so it fills the whole div */
	margin: 0;
	padding: 0;
}
.clearb {
/* needed for some browsers */
	clear: both;
}
#menuwrapper {
/* set the background color for the menu here */
	background-color: #ffffff;
/* IE6 Hack */
	height: 1%;
	width: auto;
/* one border at the top */
	border-top: 1px solid #222;
	margin: 0;
	padding: 0;
}
ul#primary-nav, ul#primary-nav ul {
/* remove any default bullets */
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul#primary-nav {
/* pushes the menu div up to give room above for background color to show */
	padding-top: 10px;
/* keeps the first menu item off the left side */
	padding-left: 10px;
}
ul#primary-nav ul {
/* make the ul stay in place so when we hover it lets the drops go over the content below else it will push everything below out of the way */
	position: absolute;
/* top being the bottom of the li it comes out of */
	top: auto;
/* keeps it hidden till hover event */
	display: none;
/* same size but different color for each border */
	/*border-top: 1px solid #C8D3D7;
	border-right: 1px solid #C8D3D7;
	border-bottom: 1px solid #ADC0C7;
	border-left: 1px solid #A5B9C0;*/
}
ul#primary-nav ul ul {
/* now we move the next level ul down from the top a little for distinction */
	margin-top: 1px;
/* pull it in on the left, helps us not lose the hover effect when going to next level */
	margin-left: -1px;
/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
/* sets the top of it inline with the li it came out of */
	top: 0px;
}
ul#primary-nav li {
/* floating left will set menu items to line up left to right else they will stack top to bottom */
	float: left;
/* no margin/padding keeps them next to each other, the padding will be in the "a" */
	margin: 0px;
	padding: 0px;
}
#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 220px;
/* removes any left margin it may have picked up from the first li */
	margin-left: 0px;
/* keeps them tight to the one above, no missed hovers */
	margin-top: -1px;
/* removes the left float set in first li so these will stack from top down */
	float: none;
/* relative to the ul they are in */
	position: relative;
}
/* set the "a" link look here */
ul#primary-nav li a {
/* specific font size, this could be larger or smaller than default font size */
	font-size: 1em;
/* make sure we keep the font normal */
	font-weight: normal;
/* set default link colors */
	color: #900;
/* pushes out from the text, sort of like making links a certain size, if you give them a set width and/or height you may limit you ability to have as much text as you need */
	padding: 12px 15px 15px;
	display: block;
/* sets no underline on links */
	text-decoration: none;
}
ul#primary-nav li a:hover {
/* kind of obvious */
color: #f00;
	background-color: transparent;
}
ul#primary-nav li li a:hover {
/* this is set to #000, black, below so hover will be white text */
	color: #f00;
}
ul#primary-nav li a.menuactive {
	color: #f00;
/* bold to set it off from non active */
	font-weight: bold;	
}
ul#primary-nav li a.menuactive:hover {
	color: #f00;
/* keep it the same */
	font-weight: bold;
}
#primary-nav li li a.menuparent span {
/* makes it hold a shape */
	display: block;
/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	/*background:  url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/parent.png) no-repeat 98% center;*/
}
/* gif for IE6, as it can't handle transparent png */
* html #primary-nav li li a.menuparent span {
/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	/*background:  url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/parent.gif) no-repeat 98% center;*/
}
ul#primary-nav li ul a {
/* insures alignment */
	text-align: left;
	margin: 0px;
/* keeps it relative to it's container */
	position: relative;
/* less padding than first level no need for large links here */
	padding: 6px 3px 6px 15px;
/* if first level is set to bold this will reset this level */
	font-weight: normal;
/* first level is #FFF/white, we need black to contrast with light background */
	color: #900;
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
}
ul#primary-nav li ul {
/* very lite grey color, by now you should know what the rest mean */
	background: #FFFFFF;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
        border: 1px solid #c01010;
	border-top: 1px solid #c01010;
	border-bottom: 1px solid #c01010;
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 0.95;
/* CSS 3 */
}
ul#primary-nav li ul ul {
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 95;
/* CSS 3 */
}
/* Styling the appearance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
/* set your image here, dark grey image */
	/*background:  url(http://macaon.lif.univ-mrs.fr/uploads/ngrey/darknav.png) repeat-x left center;*/
	color: #222
}
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited, for fourth level add
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul ul ul,
*/
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul {
	display: none;
}
/* for fourth level add
#primary-nav ul ul ul li:hover ul,
#primary-nav ul ul ul li.menuparenth ul,
*/
#primary-nav li:hover ul,
#primary-nav ul li:hover ul,
#primary-nav ul ul li:hover ul,
#primary-nav li.menuparenth ul,
#primary-nav ul li.menuparenth ul,
#primary-nav ul ul li.menuparenth ul {
	display: block;
}
/* IE6 Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	height: 1%;
}
/* Stylesheet: macaoncssMenuH Modified On 2011-03-28 16:00:09 */
#footertalep table{
margin: auto;
text-align: left;
vertical-align: middle;
font-size: 12px;
padding-bottom: 10px;
}

#footertalep .right{
text-align: right;
font-size: 11px;
}

#footertalep a:link img {
        text-decoration: none;
        border: none;
        filter:alpha(opacity=50);
        -moz-opacity:0.5;
        -khtml-opacity:0.5;
        opacity:0.5;

}
#footertalep a:visited img {
        text-decoration: none;
        border: none;
        filter:alpha(opacity=50);
        -moz-opacity:0.5;
        -khtml-opacity:0.5;
        opacity:0.5;

}
#footertalep a:active img {
        text-decoration: none;
        border: none;
        filter:alpha(opacity=100);
        -moz-opacity:1;
        -khtml-opacity:1;
        opacity:1;

}
#footertalep a:hover img {
        text-decoration: none;
        border: none;
        filter:alpha(opacity=100);
        -moz-opacity:1;
        -khtml-opacity:1;
        opacity:1;

}
/* Stylesheet: macaonfooter Modified On 2010-10-01 13:09:30 */
