body {
	margin: 0 auto;
	max-width: 1200px;/*90%;*/
	width: 100%;
	background-image: url("../images/bg.webp");
  background-repeat: repeat;
  background-attachment: fixed;
  font-family: Helvetica, sans-serif;
	font-size: 16px;
}

a:link {color:#0000ff;}
a:visited {text-decoration: underline; color: #0000ff;}
a:hover {color: #333366; text-decoration: none;}

a.devenirmembre {/* Specific for the Devenir membre button*/
  text-decoration: none; 
	color: black;
}

h6 { 
  display: block;
  font-size: 2.2em;
  margin-top: 0em;
  margin-bottom: 0.5em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

img {
max-width: 100%;
height: auto;
}

.border-left {/* Left border on page Mission. */
			padding: 2px;
			margin: 15px;
			border-left: solid peru;
			float: left;
}

#shadow {/* Box shadow on page Mission. */
			padding: 8px;
			margin: 15px;
			background: Peru;
			float: left;
			border-radius: 5px;
			box-shadow: 4px 4px 3px 1px #999;
			font-size: 18px;
}

/* START Sticky navigation*/
.sticky {
	background-color: #ffffff;
	position: -webkit-sticky;
	position: sticky;
  top: 0;
	background-color: black;
	width: 99.6%;
	height: 104px;
	padding-top: 5px;
	padding-left: 5px;
	z-index: 2;
}

/*  New */
div#menu {
  height: 25px;
  color: white;
}

div#menu ul {
  padding: 0px;
  margin: 0;
  list-style: none;
}

div#menu ul li {
  float: left;
  position: relative;
  width: 120px;/*Width of the menus*/
	height:30px;
	background-color: black;

}

div#menu ul li ul {
  display: none;
  position: absolute;
  top: 20px;
  left: 0;
	width: auto;
  white-space: nowrap;
}

div#menu li > ul {
  top: auto;
  left: auto;
}

div#menu li:hover ul, div#menu li.over ul {
  display: block;
  background: black;
  border: #999999 1px solid;
  padding: 8px;
  top: 30px;/*Top position of the sub menu*/
  left: 0px;/*Left position of the sub menu*/
  transition-duration: .5s, 0s; /*Delay closing the sub menu */
	/*transition-delay: .5s, 0s; Delay displaying the sub menu */
}

div#menu ul li ul li {
  float: none;
  position: relative;
}

div#menu li.inner {
  width: 100%;
}

div#menu li a {
  color: white;/*Menu text color*/
  font: bold 10pt Arial, Helvetica, sans-serif;/*Menu text size*/
  text-decoration: none;
}

div#menu li a:hover {
  color: Tan;/*Menu hover text color*/
}

div#menu li.inner a  {
  color: #FFFFFF;/*Sub Menu text color*/
  font: normal 8pt Verdana, Arial, Helvetica, sans-serif;
  text-decoration: none;
}

div#menu li.inner a:hover {
  color: Tan;/*Sub Menu hover text color*/
}

/** 2nd level coding **/

div#menu ul li:hover > ul {
   visibility: visible;
   display: block;
   position: absolute;
}
       
div#menu ul ul {
  position:absolute;
  visibility: hidden;
	z-index: 2;
	left: 100%;					                 
}

div#menu ul ul ul {
  margin-left: 100%;
  margin-top: -39px;
}
/* END Sticky navigation*/

/* START Box containing all the elements within the page. */
.section {
	  display: flex;
    justify-content: space-evenly;
    align-items: center;
		margin-top: 10px;
}


#main {/* Box containing the Child items */
	padding: 10px;
	border: solid 4px;
	border-radius: 15px;
}

#child1 {
	display: inline-block;
	background-color: black;
	width: 100%;
	border-radius: 10px;
	color: black;
	border: 1px solid;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 16px;
}

#child2 {
	background-color: beige;
	width: 298px;	
	border: 3px solid;
	padding: 5px;
	border-radius: 10px;
}

#child3 {/* This one is used to style all the pages except for the home page. */
	background-color: white;
	width: 1200px;
	border: 3px solid;
	padding: 15px;
	margin-top: 10px;
	border-radius: 10px;
}

#child4 {/* Page element container inside "child3". */
  position: relative;
	background-color: white;
	border: 3px solid;
	padding: 12px;
	margin: 10px;
}

#child5 {/* Box containing the the text above the table on the page "devenirmembre" */
	padding: 5px;
  margin: auto;
	width: 70%;
}

#child6 {
	background-color: white;
	color: black;
	border: 1px solid;
	padding: 2px;
	font-size: 16px;
	max-width: 1000px;
}

/* END Box containing all the elements within the page. */

.container {/*Container for the images and text on partenaire.htm*/
  display: inline-block;
	background-color: white;
	color: black;
	border: 1px solid;
	padding: 2px;
	font-size: 16px;
}

.footer {
  position: relative;
	top: 10px;
  /*height: 200px;*/
  background-color: black;
	bottom: 10px;
  padding: 10px;
}

.img2 {/* Positioning the text on the right side of the image. */
  float: left;
	padding-right:10px;
}

.header { 
  background-color: black;
}

.souvenir{ /* Positioning "Souvenir d'antan" */
  background-color: DimGray;
	border-radius: 8px 8px 0px 0px; 
}

.footer-local{ /* Positioning Local de la société  */
  position: relative;
  width: 210px;
	font-size: 13px;
}

#footer-liens{ /* Positioning Autres liens(Fédération Histoire Québec)  */
  position: absolute;
	top: 10px;
	left: 300px;
	width: 180px;
	font-size: 13px;
}

#footer-loi25{ /* Positioning Loi 25  */
  position: absolute;
	top: 10px;
	left: 600px;
	width: 180px;
	font-size: 15px;
	color: white;
	border-style: solid;
  border-color: white;
	text-align: center;
	padding: 2px;
}

#facebook{/* Positioning Facebook  */
  position: absolute;
	top: 10px;
	right: 10px;
}

#title{/* Positioning the title "Societe d'histoire ...." */
  position: absolute;
	top: 60px;
	left: 25%;
	color: white;
}

/* START positioning Devenir membre button  */
#devenirmembre{
  position: absolute;
	top: 25px;
	right: 10px;
}

#button1 {/*Devenir membre button  */
  background-color: white; 
  color: black; 
  border: 5px outset #4CAF50;
	width: 118px;
	height: 27px;
	font-size: 12px;
	font-weight: bold;
	padding-top: 0px;
	text-transform: uppercase;
}

#button1:hover {/*Devenir membre button  */
  background-color: #5cd761;
	transition: 1s all ease;
}
/* END positioning Devenir membre button  */

/* START TABLE "conseil" */
.wrap {
  max-width: 880px;
  display: flex;                   
  flex-wrap: wrap;   
	border:2px solid;               
}
.header-table {
  flex: 0 0 100%;                   
  background-color: BurlyWood;
}
.one {
  flex: 1 0 16.66%;                 
  background: wheat;
	border: 1px solid;
}
.two{
  flex: 1 0 16.66%;                  
  background: wheat;
	border: 1px solid;
}
.three {
  flex: 1 0 16.66%;                  
  background: wheat;
	border: 1px solid;
}
.four {
  flex: 1 0 16.66%;                 
  background: wheat;
	border: 1px solid;
}
.five {
  flex: 1 0 16.66%;                 
  background: wheat;
	border: 1px solid;
}
.six {
  flex: 1 0 16.66%;                  
  background: wheat;
	border: 1px solid;
}

.one-2 {
  flex: 1 0 16.66%;                 
  background: BlanchedAlmond;
	border: 1px solid;
}
.two-2 {
  flex: 1 0 16.66%;                 
  background: BlanchedAlmond;
	border: 1px solid;
}
.three-2 {
  flex: 1 0 16.66%;                 
  background: BlanchedAlmond;
	border: 1px solid;
}
.four-2 {
  flex: 1 0 16.66%;                 
  background: BlanchedAlmond;
	border: 1px solid;
}
.five-2 {
  flex: 1 0 16.66%;                 
  background: BlanchedAlmond;
	border: 1px solid;
}
.six-2 {
  flex: 1 0 16.66%;                 
  background: BlanchedAlmond;
	border: 1px solid;
}

.wrap > * {
  padding: 4px;
  box-sizing: border-box;
}
/* END TABLE "conseil" */

/* START Image NEW ZOOM */
.zoom { 
display: inline-block; 
overflow: hidden; 
} 
.zoom img { 
display: block; 
transition: transform 0.5s ease; /* Smooth zoom */ 
} 
.zoom:hover img { 
transform: scale(1.2); /* Zoom in */ 
} 
/* END Image NEW ZOOM */


#gradient { /* Used to style the home page news articles.*/ 
  /*height: 600px;*/
  border: 3px solid;
	padding: 15px;
	margin-top: 10px;
	border-radius: 10px;
	width: 1200px;
  background-image: linear-gradient(white, gray); 
}

/* START Index sliding image */
.container {
  position: relative;
}
.image {
  display: block;
  width: 100%;
  height: auto;
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: 1.4s ease;
}
.container:hover .overlay {
  width: 100%;
}
/* END Index sliding image */

/* START Title typewriter effect */
.container {
  overflow: hidden;
	background: black;
	margin-top: -9px;
}
.is-animated {
  font-family: 'Helvetica Neue';
  font-weight: bold;
  padding: 0;
  position: relative;
}
.is-animated span {
  display: block;  
	width: 630px;
}
.property {
  text-align: right;
  border-right: 2px solid #000;
  width: 0;
  overflow: hidden;
  float: left;
  -webkit-animation-name: expandProperty;
  -webkit-animation-delay: .5s;
  -webkit-animation-duration: 4s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-timing-function: ease-in;
}
.value {
  font-size: 300%;
  float: left;
  overflow: hidden;
}
.value span {
  margin-left: -100%;
  -webkit-animation-name: expandValue;
  -webkit-animation-duration: 2.5s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-timing-function: ease-in;
}
@-webkit-keyframes expandProperty {
  from {
    width: 0px;
  }
  to {
    width: 630px;
  }
}
@-webkit-keyframes expandValue {
  from {
    margin-left: -200px;
  }
  to {
    margin-left: 0;
  }
}
/* END Title typewriter effect */