﻿BODY {font-size:12px; font-family:Courier New Verdana Arial Tahoma; background-color:#FDBE00;padding:0px; margin:0px;}
#masterbody  { width:1000px; padding:0; margin:0px;margin-left:auto; margin-right:auto; }

#masterbody #left { padding:5px;background-image: url(../img/shadowl.png); background-repeat:repeat-y;}
#masterbody #right {padding:5px;background-image: url(../img/shadowr.png); background-repeat:repeat-y;}
/*#masterbody #back {padding:5px;background-image: url(../img/shadowb.png); background-repeat:repeat-x;}*/
#mastercontent { height:575px;  border-collapse:collapse;}
#mastercontent #header {background-image:url(../img/HeaderJ3.jpg);height:100px; background-repeat:no-repeat;}
#mastercontent #content {background-color:#FFFFFF; height:90%;vertical-align:top;}
#mastercontent #footer {background-color:orange; height:25px;}

/* header*/
#mastercontent #header h1 { padding:0px; margin:0px;}
#mastercontent #header { vertical-align:bottom; }
#mastercontent #header #homelink { position:absolute;margin-top:25px; margin-left:35px;}
#mastercontent #header #homelink A { text-decoration:underline; color:#FFFFFF; font-weight:bold; }
#mastercontent #header A { font-size:13px;text-decoration:none; color:Black;}
#mastercontent #header #menu {background-color:Fuchsia; width:860px;margin-left:144px;}
#mastercontent #header #menu #tmenu { background-color:black;height:100%; border-collapse:collapse;} 
#mastercontent #header #menu .rmenu TD { width:95px;  text-align:center;}
#mastercontent #header #menu #tmenu .selected A,
#mastercontent #header #menu #tmenu .mitem A {display:block;background-color:#EDD98C;padding:3px 2px;}
#mastercontent #header #menu #tmenu .mitem A:Hover {display:block; background-color:#FDBE00;padding:3px 2px; color:#FFFFFF;}
#mastercontent #header #menu #tmenu .selected A { background-color:#FDBE00; color:#FFFFFF;}

/* menu gauche */
#mastercontent #mainmenu { width:144px; background-color:#EDD98C; vertical-align:top; text-align:center; border-right:solid 1px #000000;}
#mastercontent #mainmenu #ctlmenu .mitem {font-size:12px; background-color:#EDD98C;font-weight:bold; }
#mastercontent #mainmenu #ctlmenu .mitem A { padding:3px;color:#000000; text-decoration:underline;background-color:transparent;display:block; border-bottom:solid 1px #EDD98C; border-top:solid 1px #EDD98C;}
#mastercontent #mainmenu #ctlmenu .mitem.selected A, 
#mastercontent #mainmenu #ctlmenu .mitem A:Hover {text-decoration:none;background-color:#FDBE00; color:#FFFFFF; border-bottom:solid 1px #000000; border-top:solid 1px #000000;}
#mastercontent #mainmenu .adminmenu { margin-top:10px; padding-top:5px; border-top:solid 2px #000000;}
#mastercontent #mainmenu .adminmenu #admtitle { font-size:14px; font-weight:bold; border-bottom:solid 2px #000000;}


/* main */
#mastercontent #content { width:575px;border-right:solid 1px #000000;padding:2px; background-color:#F0F0EE;background-image:url(../img/jo.png); background-repeat:no-repeat; background-position:center bottom;_background-image:none;}
#mastercontent #content TEXTAREA { width:570px; height:420px;}
#mastercontent #content IMG { border:solid 1px #000000;}
#mastercontent #content A IMG { border:solid 1px #000000;}
 
/* menu droite */
#mastercontent .rightmenu {vertical-align:top;width:284px; background-color:#F0F0EE;padding:2px; background-image:url(../img/chrono.png); background-repeat:no-repeat; background-position:right bottom;_background-image:none;}
#mastercontent .rightmenu TEXTAREA {height:420px; width:280px;}
#mastercontent .rightmenu IMG { border:solid 1px #000000;}
#mastercontent .rightmenu A IMG { border:solid 1px #000000;}

/* footer */
#mastercontent #footer { text-align:center; border-top:solid 1px #000000; border-bottom:solid 1px #000000;}
#mastercontent #footer A { color:#000000;}

/* admin */
#mastercontent .admbutton { text-align:center; border:solid 1px #000000; padding:5px;}


/* hack IE6 pour les png */
* html img,
* html .png {
	behavior: expression(
			(this.runtimeStyle.behavior="none") && (this.pngSet ? this.pngSet = true : (
				this.nodeName == "IMG" ? (
					this.src.toLowerCase().indexOf('.png') > -1 ? (
						this.runtimeStyle.backgroundImage = "none",
						this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
						this.src = "../img/dot.gif"
					) : 0
				) : (
					this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
					this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
					(this.currentStyle.backgroundRepeat != 'no-repeat') ? (
						this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='scale')"
					) : 0,
					this.runtimeStyle.backgroundImage = "none"
				),this.pngSet=true
			)
		)
	);
}

