body {
    line-height: 1;
}

/* Remove the navbar's default margin-bottom and rounded borders */ 
.navbar {
    margin-bottom: 0;
    border-radius: 0;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px;
    background-color: #eee;
    color: black;
}

body {
    margin-bottom: 40px;
}


.imhead {
    height: 4em;
}

.mynb {
    background: #33197a;
    color:white;
    padding-left:1em;
}

.mynb a {
    display:inline-block;
    color:#dddddd;
    padding:1em;
    text-decoration:none;
}

.mynb a:hover {
    display:inline-block;
    color:white;
    padding:1em;
    background-color: #5228c5;
    /*background-color: red;*/

}

.mynb b {
    display:inline-block;
    color:#dddddd;
    padding:1em;
    text-decoration:none;
}

.mynb b:hover {
    display:inline-block;
    color:white;
    padding:1em;
    background-color: #5228c5;

}

.mynb .active {
    background-color: #5228c5;
}

.shadowbox {
    <!--  width: 53em; -->
                       <!--- width: auto; --->
                                          border: 1px solid #333;
    box-shadow: 8px 8px 5px #444;
    padding: 1px 12px;
    text-align: justify;
    text-justify: auto;
    
    background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc);
}   


.shadowbox p {
    text-indent: 1.5em;
}   

.main-image {
    float:right;
    width:45%;
    margin-right:2.5em;
    margin-top:3em;
    margin-left:1em;
    text-align:right;
}
.main-image img {
    width:100%;
}
.main-image div {
    margin:1ex 0.5ex 0.5ex 0ex;
}
h1 {
    display: block;
    font-size: 2em;
    font-weight: bold;
}


/** Pour la vulgarisation. May be not so propre??**/

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  /*color: white;*/
  color: black;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color:green;
  font-size: 12px;
  padding: 8px 12px;  
  position: center;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #eee;
  padding: 2px 16px;
  color: black;

}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Seven columns side by side */
.column {
  float: left;
  width: 14.28%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
    width: 100%;
    border: 1px solid #5228c5;
    border-radius: 25% 10%;
}

.active,
.demo:hover {
  opacity: 1;
  border: 3px solid #5228c5;
  border-radius: 5px;
}

.mySlides img {
    height: 50vh;
}
