@font-face {
    font-family: myFont;
	src: url(fonts/Source_Sans_Pro/SourceSansPro-Light.ttf);
    
	font-family: myFont2;
	src: url(fonts/Parisienne/Parisienne-Regular.ttf);
}


/* LES MENUS --------------------------------------------------------------------------- */
.topMenu {
    font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #666666;
	text-decoration:none;
	line-height: 25px;
	}

.topMenu a {
    text-decoration: none;
	color: #333333;
	}

.topMenu a:hover {
	color: #00385b; 
	text-decoration: none;
	}


/* Menu déroulant */
#menu ul {
 margin: 0px 0px;
 padding:0px;
 list-style-type:none;
 text-align:center;
 }
#menu li {
 margin:auto;
 padding:0px;
 /*background-color:#ffffff;
 background: rgba(255,255,255,0.05);*/
 display:inline-block;
 }
#menu li a {
 font-family: myFont, Arial, Helvetica, sans-serif;
 font-size: 20px;
 font-weight: normal; 
 font-variant: small-caps;
 line-height:40px;
 transition: transform 0.5s ease, color 0.3s linear, background-color 0.3s linear;
 display:inline-block;
 /*width:190px;*/
 /*height:50px;*/
 color:#ffffff;
 text-decoration:none;
 padding:5px 30px;
 }
#menu li a:hover {
 color:#80B35D;
 /*background-color: #0075bb; */
 background: rgba(255,255,255,0.6);
 }
#menu ul li ul {
 display:none;
 }
#menu ul li:hover ul {
 display:block;
 }
#menu li:hover ul li {
 float:none;
 background-color: #eeeeee;
 border-style: solid;
 border-width: 0px;
 border-color: #0075bb; 
 }
#menu li ul {
 position:absolute;
 } 


/* BALISES hn ET TITRES -------------------------------------------------------- */

.TitreSite {
	font-family: myFont2, Arial, Helvetica, sans-serif;
	font-size: 48px;
	font-weight: normal;
	color: #666666; 
	line-height: 120%; 
	text-decoration: none;
}

.titre1, h1 {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: lighter;
	color: #666666;
}

.titre1 a, h1 a {
	color: #666666;
	text-decoration:none;
}

.titre1 a:hover, h1 a:hover {
	color: #FF6633;  /* orange */
	text-decoration: none;
}

.titre2, h2 {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: lighter;
	font-variant: small-caps;
	color: #F88937; /* organge */	
}
.titre2 a, h2 a {
	text-decoration:none;
}
.titre2 a:hover, h2 a:hover {
	color:#F88937;  /* orange */
	/*text-decoration:underline;*/
}



/* DIVERS TEXTES ---------------------------------------------------------*/

.main {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #666666;
	text-decoration:none;
}

.main a {
	color: #80B35D; /* vert */
	text-decoration: none;
}

.main a:hover {
	color: #F88937; /* organge */
	text-decoration: none;
}

.legend {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #404040;
	text-decoration:none;
}

.legend a {
	color: #0075bb; /* bleu */
	text-decoration: none;
}

.legend a:hover {
	/*color: #404040;*/ 
	text-decoration: underline;
}

.leitmotiv {
    font-family: myFont2, Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: bold; 
	color: #80B35D;
	text-decoration:none;
	}

.box {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #ffffff;
}
.box a {
	color: #ffffff;
	text-decoration: none;
}
.box a:hover {
 	color: #ffffff;
	text-decoration: underline;
}
.bottom {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #999999;
}
.bottom a {
	text-decoration:none;
}
.bottom a:hover {
	color:#FF6633;  /* orange */
	/*text-decoration:underline;*/
}

.avertissement {
	font-family: myFont, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #ff6633;
	text-decoration:none;
}


 
/* BOUTONS ----------------------------------------------------------------- */
.bouton a {
font-family: myFont, Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
/*font-weight: bold;*/
display:block;
/*width:98px;*/
/*line-height:40px;*/
text-align:center;
vertical-align:middle;
background-color: #0075bb; 
color:#ffffff;
text-decoration: none;
float: right;
margin: 15px 0px;
padding: 4px 20px;
text-align: center;
border-radius: 5px;
border-style: solid;
border-width: 1px;
border-color: #0075bb;
}

.bouton a:hover {
background-color: #ffffff;
color: #0075bb; 
} 


/* ESSAIS VIDEO BACKGROUND ------------------- */

.vidContain {
    /*background: rgba(100,100,100,0);*/
	opacity: 1; 
	width:100%; 
	height:400px;
    position:relative;
	left: 0;
	top: 0;
    display: block;
	overflow: hidden;
    margin:0px;
}

video#bgvid {
  position: relative; 
  right: 0; 
  top: -140;
  min-width: 100%;
  min-height: 100%;
  width: auto; 
  height: auto; 
  overflow: hidden;
  z-index: -100;
  background: rgba(100,100,100,0.5);
  /* background-size: cover; */
}

video#vid {
  position: relative; 
  right: 0; 
  top: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%; 
  height: auto; 
  /*overflow: hidden;
  z-index: -100; */
  background: rgba(100,100,100,0.5);
  /* background-size: cover; */
}


/* POPUP images EN css ------------------------------------------------ */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 60%;
  position: relative;
  transition: all 0.1s ease-in-out;
}

.popup .close {
  position: absolute;
  top: 28px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}
.popup .close:hover {
  color: #ff0000;
}

.popup .nav {
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
.popup .nav a {
  color: #666666;
  text-decoration: none;
}
.popup .nav a:hover {
  color: #333333;
}

.popup .contentpopup {
  max-height: 90%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .popup{
    width: 70%;
  }
}
/* Fin Popup en CSS --------------------------------------- */


/* RESPONSIVE css IMAGE slider ---------------------------- */

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

body { margin: 0; } 
div#slider { overflow: hidden; }
div#slider figure img { width: 20%; float: left; }
div#slider figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite; 
}
