
#codex-main 
{
	position: absolute; 
	left: 10px; 
	right: 10px; 
	top: 0px; 
	bottom: 0px; 
}

#codex-main .content { padding: 30px; } 

#codex-main #codex-summary
{
	position: absolute; 
	left: 0px; 
	top: 0px; 
	bottom: 0px; 
	width: 350px; 
	overflow: auto; 
}

#codex-main #codex-summary .content
{
	bottom: 35px; 
	overflow: auto; 
}

#codex-main #codex-content
{
	position: absolute; 
	left: 360px; 
	right: 0px; 
	top: 0px; 
	bottom: 0px; 
}

#codex-main #codex-summary ol ol
{
	padding-left: 40px; 
	margin-bottom: 10px; 
	display: none; 
}

#codex-main #codex-summary ol li { margin-top: 5px; }

#codex-main #codex-summary ol li .arrow 
{ 
	margin-right: 5px; 
	cursor: pointer; 
}

#codex-iframe
{
	background: none; 
	position: absolute; 
	left: 0px; 
	right: 0px; 
	top: 0px; 
	bottom: 0px; 
	width: 100%; 
	height: 100%; 
}

/* Intérieur de l'iframe */

#codex-main-iframe 
{
	background: none; 
	padding: 20px; 
	color: rgb(255, 255, 255); 
	text-shadow: 2px 2px 2px rgb(0, 0, 0);
	font-family: Arial;
}

#codex-main-iframe h2 { text-align: center; }
#codex-main-iframe h3 { margin-left: 10px; }
#codex-main-iframe h4 { margin-left: 20px; }
#codex-main-iframe h5 { margin-left: 30px; }

#codex-main-iframe p, #codex-main-iframe ul 
{ 
	margin-left: 30px; 
	margin-right: 30px; 
}

#codex-main-iframe li ul
{
	margin-left: 0px; 
	margin-right: 0px; 
}

#codex-main-iframe pre 
{
	padding: 0px; 
	margin: 0px; 
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

#codex-main-iframe .math 
{
	text-align: center; 
}

#codex-main-iframe pre, #codex-main-iframe .math
{	
	background-color: rgb(55, 55, 55); 
	padding: 10px; 
	color: rgb(255, 241, 212); 
	margin-left: 40px; 
	margin-right: 20px; 
	box-shadow: -2px -2px rgb(0, 0, 0), 
				2px 2px rgb(70, 70, 70);
}

#codex-main-iframe ol
{
	margin-left: 10%; 
}

#codex-main-iframe .area, #codex-main-iframe .schema, #codex-main-iframe .schema h4 
{ 
	color: black; 
	text-shadow: 0px 0px 0px rgb(0, 0, 0);
}

#codex-main-iframe .table-border
{
	/*
	width: 80%;
	margin-left: 10%; 
	*/
	
	background-image: linear-gradient(to bottom, rgb(40, 40, 40) 0%, 
												rgb(20, 20, 20) 100%);
	padding: 4px; 
	border-radius: 4px; 
	border-left: 3px solid rgb(60, 60, 60); 
	border-top: 3px solid rgb(60, 60, 60); 
	border-right: 3px solid rgb(0, 0, 0); 
	border-bottom: 3px solid rgb(0, 0, 0); 
}

#codex-main-iframe .table-border table 
{
	width: 100%; 
	border-collapse: collapse; 
}

#codex-main-iframe .table-border th 
{
	background-image: -webkit-linear-gradient(top, rgb(40, 40, 40) 10%, 
												rgb(65, 65, 65) 45%, 
												rgb(20, 20, 20) 50%, 
												rgb(35, 35, 35) 100%);
	background-image: linear-gradient(to bottom, rgb(40, 40, 40) 10%, 
												rgb(65, 65, 65) 45%, 
												rgb(20, 20, 20) 50%, 
												rgb(35, 35, 35) 100%);
												
	text-aligne: center; 
	text-shadow: 0px 2px 5px rgb(0, 0, 0); 
}

#codex-main-iframe .table-border td
{
	background-image: linear-gradient(to bottom, rgb(50, 50, 50) 0%, 
												rgb(20, 20, 20) 100%);
}

#codex-main-iframe .table-border th, #codex-main-iframe  .table-border td 
{
	padding: 10px; 
	border: rgb(100, 100, 100) 1px solid;
}

#codex-main-iframe strong
{
	color: rgb(255, 241, 212); 
	font-weight: bold; 
}

#codex-main-iframe em
{
	color: rgb(255, 241, 212); 
	font-style: italic;
}

#codex-main-iframe .img
{
	text-align: center; 
	margin: 5px; 
}

#codex-main-iframe .img img
{
	max-width: 800px; 
	margin-bottom: 5px; 
	border-style: solid; 
	border-width: 1px; 
	border-color: white; 
	box-shadow: 5px 5px 5px #000000;
  	-moz-box-shadow: 5px 5px 5px #000000;  
  	-webkit-box-shadow: 5px 5px 5px #000000;  
  	border-radius: 5px; 
}

#codex-main-iframe .img .no-deco
{
	border: none; 
	box-shadow: none; 
}

#codex-main-iframe .red { color: rgb(255, 50, 0); }
#codex-main-iframe .green { color: rgb(0, 255, 0); }
#codex-main-iframe .blue { color: rgb(102, 196, 255); }
#codex-main-iframe .yellow { color: rgb(255, 200, 0); }
#codex-main-iframe .grey { color: rgb(200, 200, 200); }
