

body {
margin: 0px;
padding: 0px;
}

h1 {
    font-size: 1.8em;
}

h2 {
  font-size: 1.2em;
}

#main-content {
  display: block;
  margin: 0 auto;
  padding: 3px;
  background-color: #ffe;
/*   border:5px solid red; */
  text-align: center;
}

#main-content section {
    text-align: justify;
}

.animation {
    display: inline-block;
}


/* Border colors */

.b-red {
    border:1px solid red;
}

.b-blue {
    border:1px solid blue;
}

.b-green {
    border:1px solid green;
}


/* Float blocks */

.float-left {
    float: left;
    border-right: 10px solid rgba(0, 0, 255, .1);
    border-bottom: 10px solid rgba(0, 0, 255, .1);
}
.float-right {
    float: right;
    border-left: 10px solid rgba(0, 0, 255, 0);
    border-bottom: 10px solid rgba(0, 0, 255, .1);
}

.clear {
    clear: both;
}

/* Classes for main blocks */

.animation {
/*width: 1150px;*/
display: inline-block;
/*border: 3px solid black;*/
}

.plot {
    width:400px;
    height:300px;
    border:1px solid red; 
}

.base {
    display: inline-block;
    z-index: 0;
    position: relative;
    padding:0;
}

#konva {
    border:2px solid blue;
}

.description {
/*border: 3px dotted red;*/
text-align: justify;
margin : 10px;
}

.index {
    float: right;
/*    background-color: red;*/
    border: 10px transparent;
    padding:10px;
}

.index img {
    width: 30px;
    border: 1px solid red;
}

/*  Permet de positionner un div.over par dessus div.base
 *  UtilisÃ© ici pour positionner le menu de changmeent de convention
 */

.over {
    position: absolute;
    z-index: 10;
    background-color: white;
}

/* position au nord-ouest */
.over-nw {
    position: absolute;
    z-index: 10;
    left: 10px;
    top: 10px;
    background-color: white;
}

/* position au nord-est */
.over-ne {
    position: absolute;
    z-index: 10;
    right: 10px;
    top: 10px;
    background-color: white;
}


/* Barre de menus horizontale */

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.navbar li {
  float: left;
}

.navbar li a {
  display: block;
  padding: 8px;
  vertical-align: middle;
  cursor: pointer;
  font-size: 30px;
  color: #fff;
  background-color: #000;
  text-decoration: none;
}

.navbar li a:hover {
  color: #9ff;
}

/* disposition en tableau */

.trow {
    display: table-row;
}

.cell {
    display: table-cell;
    box-sizing: border-box;
    vertical-align: top;
}



/* Popup pour message */

#message {
    display: none;
    border: 10px solid red;
    position: absolute;
    z-index: 20;
    left: 50px;
    top: 50px;
    width: 500px;
    height: 300px;
    background-color: rgb(255, 255, 153);
}

/* Messages d'erreur */

#message img {
    margin: 20px;
    float: left;
    width: 200px;
}

#message h1 {
    font-size: 6mm;
    color: red;
    text-align: center;
}

#message p {
    font-size: 6mm;
    color: black;
    text-align: center;
    margin : 5mm;
    clear: both;
}

#message button {
    margin:0 auto;
    display: block;
    bottom : 5mm;
}
