/*BODY STYLE*/
html {
	min-height:100%;
	position:relative;
	max-width:100%;
}

body{
	/*background-color: #e5e8e0;*/
	height:100%;
	font-family:Arial;
}


body:after{
	content:"";
	position: absolute;
	background: url("backgrounds/tiles1small.jpg") repeat;
	/*tiles1big.jpg , tiles1small.jpg , tiles 2 to 5.jpg*/
	opacity:0.15;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
	overflow:hidden;
}
/******************************************************/


/*MAIN CONTENT STYLE*/
.content {
  max-width: 1000px;
  margin: auto;
  background-color: white;
  text-align:justify;
}
/******************************************************/


/*HEADER STYLE*/
#header {
  position: relative;
  top: -25px;
  left: 3%;
  max-width: 94%;
  height: 310px;
  background-image: url("backgrounds/banner1.jpg");
  /*banner 1 to 8 .jpg , black 1 to 3 . jpg*/
  background-position: center;
}

.photo {
	max-height: 100%;
	float:left;
}

.nom{
	position: relative;
	top: 65px;
	left: 70px;
	font-size: 45pt;
	font-weight: bold;
	color: #4a4a4a;
	letter-spacing: -2px;
	font-family:"Arial Rounded MT Bold";
	max-width: 80%;
}

.nom a:link, .nom a:visited {
  color: #4a4a4a;
  text-decoration: none;
}

.nom a:hover {
	text-decoration: none;
	color: #5f9e7a;
}
/******************************************************/


/*MENU STYLE*/
#divmenu{
  left: 3%;
}

.menu {
	position: relative;
	top:25px;
	width: 150px;
	font-weight: bold;
}

.menu ul {
  list-style-type: none;
  /*border-radius: 25px;*/
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #f1f1f1;
  height: 30%; /* Full height */
  position: relative; /* Make it stick, even on scroll */
  overflow: auto; /* Enable scrolling if the sidenav has too much content */
}

.menu li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

.menu li a:hover { /* Change the link color on hover */
  background-color: #555;
  color: white;
}

.active {
  background-color: #a9e6ac;
  color: white;
}
/******************************************************/


/*CONTENT STYLE*/
#contenu {
	margin: auto;
	position: relative;
	top: -300px;
	left: 60px;
	max-width: 700px;
	color: #4a4a4a;
}

.monstyle a:link, .monstyle a:visited {
  color: #569965;
  text-decoration: none;
}

.monstyle a:hover {
	text-decoration: underline;
}

.monstyle th, .monstyle td {
  padding: 15px;
}

.monstyle img {
	display:block;
	position: relative;
	margin:auto;
	padding: auto;
	width:95%;
	background-color:white;
}

.withborder td, .withborder th, .withborder table{
	border: 1px solid black;
	padding: 2px;
}

.subsection{
	position:relative;
	padding:auto;
	left:10px;
	width:102%;
	background-color: #f2fbf4;
}

.biotab{
	width:100%;
}

.subsection2 {
	position:relative;
	padding:auto;
	left:120px;
	width:70%;
	background-color: #f2fbf4;
}

.marge {
margin-left: 1.2em;
}

.marge2 {
margin-left: 3.6em;
}

.topicon {
	background: url(images/top.png);
	height:20px;
	width:20px;
	display:block;
}
/******************************************************/

/*FOOTER STYLE*/
#icon {
	height:50px;
	width:50px;
}

#footer {
  max-width: 1000px;
  margin: auto;
  background-color: white;
  text-align: center;
  color: gray;
  position: relative;
  top: 50px;
  bottom:20px;
}
/******************************************************/

/*FOR IMAGES MINIATURES*/
.mini {
	padding:auto;
	margin:auto;
	max-width:20%;
}

.mini:hover {
	opacity: 0.7;
	cursor: zoom-in;
}
/******************************************************/

/*REDUCE SCREEN*/
@media (max-width:960px){
	#contenu {
		position: relative;
		top: -265px;
		left: 90px;
		max-width: 500px;
	}
	.subsection2{
		left:0;
		width:100%;
	}
	.marge2{
		margin-left:2em;
	}	
	
}
/*SMALL SCREEN*/
@media (max-width:800px) {
	#header {
		  top: -25px;
	  height: 250px;
	}
	.nom{
		top: 65px;
		left: 60px;
		font-size: 30pt;
		max-width:90%;		
	}

	#contenu {
		max-width: 350px;
	}
	.subsection2{
		left:0;
		width:120%;
	}
	.marge2{
		margin-left:1em;
	}
}
/*SMALLER SCREEN*/
@media (max-width:600px) {
	#header {
		top: -25px;
		height: 140px;
	}
	.nom{
		top:15%;
		left:5%;
		font-size: 20pt;
		max-width:90%;
	}
	#contenu {
		max-width: 300px;
	}
	.subsection2{
		left:0;
		width:100%;
	}
	.marge2{
		margin-left:1em;
	}
}

/*EVEN SMALLER SCREEN*/
@media (max-width:530px) {
	#contenu {
		max-width: 250px;
	}	
	.biotab th, td{
		padding:2px;
	}
}

@media (max-width:510px) {
	#divmenu {
		margin:auto;
	}
	#contenu {
		position:relative;
		top:35px;
		left: 3%;
		max-width: 350px;
	}
	#topbut {
	position:relative;
	top:30px;
	}
}

/*VERY SMALL SCREEN*/
@media (max-width:425px) {
	#divmenu {
		margin:auto;
	}
	#contenu {
		position:relative;
		margin:auto;
		max-width: 220px;
	}
  	.subsection{
      position:relative;
      margin:auto;
      max-width:100%;
  	}

	.mini {
		max-width:40%;
	}
	.monstyle ul {
		position:relative;
		left:-20px;
	}
	.biotab th{
		padding:0px;
	}
	.biotab td{
		padding:1px;
	}
	.biotab th{
		font-size:10pt;
	}
}

/********************************************************/


/*FOR IMAGE ZOOM*/
#tozoom {
  border-radius: 5px;
  cursor: zoom-in;
  transition: 0.3s;
}

#tozoom:hover {
	opacity: 0.7;
	width: 85%;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: white; /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 1300px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1000px;
  font-size: 18pt;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  margin-top:50px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
/********END IMAGE ZOOM******************************/