@charset "UTF-8";

.body-div {
  width: 800px;
	margin-left:auto;
	margin-right:auto;
	
	background-color: #eee;
	padding-left: 10px; padding-right: 10px;
}
/* ------------------------------------------------------------------------- */
header {
	min-height: 100px;
	
	font-family: "Open Sans", sans-serif ;
	font-size: 14pt;
  line-height: 1.5em;
  padding-bottom: 20px;
}
header h1 {
  padding-top: 12px;
	height: 2em;
  font-size: 2em;
	font-weight: bold;
}
header h2 {
  font-size: 1.4em;
}


/* ------------------------------------------------------------------------- */
main {
	float: right;	width: 610px;
	padding: 0 10px 20px 10px;
	margin-left: 10px;
	
	font-family: "Mongolian Baiti", "Times New Roman", Times, serif;
	font-size: 14pt;

	color: #123;
	background-color: #eee; 
}

main p {
	line-height:1.3em;
	margin-top: 0.5em;
}

main h1, main h2, main h3, main h4 {
    font-family: 'Open Sans', sans-serif;
}

main h1 {
    width: 100%; 
    margin: 0 0 0 -10px; padding: 0.5em 10px 0 10px;
    
    background-color: #6cf;
    border-bottom: 1px solid  #fff;
    
    font-size: 2em;
		font-weight: bold;
}

main h2 {
	width: 50%;
	line-height: 24px;
	margin: 2em 0 1em -10px; padding-left: 10px;
	
	background-color: #6cf;
	border-bottom: 1px solid white;
	
	font-size: 1.5em;
	font-weight: bold;
}

main h3 {
	margin-top: 1em;
	font-size: 1.17em;
	font-weight: bold;	
}

main h4 {
	margin-top: 1em;
	font-size: 1em;
	font-style: italic;
	color: #6cf;
}

/* ------------------------------------------------------------------------- */
nav {
	float: left;
	width: 160px;
}

nav li {
	display: table; list-style: none ;
	height: 100px; width: 100%;
	
	font-family: "Open Sans", sans-serif ;
	font-size: 18px; font-weight: bold;
	text-align: center;
	
	color: #369;
	background-color: #6cf;
	border-bottom: 2px solid #fff ;
}
nav li:hover, nav li:active {
	color: #fff;
	background-color: #6fc;
	
	cursor: default;
}

nav li a{
	display: table-cell;
	width: 100%; height: 100%;
		
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	
	color: inherit;
	background-color: transparent;
}

nav li {
	display: table; list-style: none ;
	height: 100px; width: 100%;
	
	font-family: "Open Sans", sans-serif ;
	font-size: 18px; font-weight: bold;
	text-align: center;
	
	color: #369;
	background-color: #6cf;
	border-bottom: 2px solid #fff ;
}
nav li:hover, nav li:active {
	color: #fff;
	background-color: #6fc;
	
	cursor: default;
}

main a.button {
	display: inline-block;
	padding: 20px;
		
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	
	color: #369;
	background-color: #6cf;
  border: 3px solid white;
  margin: 10px 0 0 0;
}

main a.button:hover, main a.button:active {
  color: #fff;
	background-color: #6fc;
}
/* ------------------------------------------------------------------------- */
footer {
	clear: both;
	padding-top: 20px;
	text-align: right;
	font-family: "Open Sans", sans-serif ;
	font-size: 10pt;
}
/* ------------------------------------------------------------------------- */
aside {
	position: relative;
	float: right;
	width: 220px;
	margin-right: -20px;
	margin-left: 5px;
	padding: 5px;
	font-size: 0.8em;
	background-color: #ccc;
	border: 2px solid #fff;
	clear: both;
}

aside h1 {
	font-size: 1em;
	border: none;
	padding: 0; margin: 0;
	background-color: inherit;
}

aside p {
	margin-top: 0; padding: 0;
	line-height:1em;
}


/* ------------- on n utilise pas la balise var finalement ---------------- */
/*var {
	font-family: Georgia, serif;
	font-size: 0.9em;
}
var.vector {
	font-size: 1.0em;

}
*//*var.vector::after {   fonctionne mais j'ai peur que le support pour le 20d7 ne soit pas bon
  position: relative;   aime mieux utiliser la fleche de base
	content: "\20d7";
  margin-left: -0.4em;
  padding-right: .4em;
  bottom: 0.2em;
}*/
/*
var.vector::after {
  content: "\2192";
  position: relative;
  font-size: 0.6em;
  bottom: 1.2em;
  left:-1em;
  margin-right:-1em;
}
*/
/* ------------------------------------------------------------------------- */
ul.eqn-list {
  margin-top: 0.5em;
}
ul.eqn-list li {
	display: inline-table;
	width: 30%;
	height: 4.5em;
	margin-right: 0.8em;
	vertical-align: middle;
}
ul.eqn-list li div {
	display: table-cell;
  vertical-align: middle;
	position: relative;
}
ul.eqn-list li div:before {
	content : "";
  position: absolute;
  left    : 0;
  bottom  : 0.75em;
  height  : 3em;
  width   : 100%;
  border: 1px #ccc solid;
}
/* ------------------------------------------------------------------------- */
svg {
	outline: #eee solid 2px;
}

.draggable{
	cursor: move;
}
.draggable:hover{
	stroke: yellow;
  stroke-width: 2;
}

.electric-ball:hover {
  fill: blue;
}

/* ------------------------------------------------------------------------- */
.nobr {
  white-space: nowrap;
}