/* MENU */
body {margin:0;
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
width:100%}

/*Image bandeau */
body, html {
    height: 100%;
}
.row{
	width: 50%;
	margin: 0 auto;
}
/* The hero image */
.hero-image {
    /* The image used */
    background-image: url("img/bandeau/2017.jpg");

    /* Set a specific height */
    height: 35%;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    		color: white;
	text-align:center;
	display:block;
	font-weight:bold;
	text-shadow: #000000 1px 1px, #000000 -1px 1px, #000000 -1px -1px, #000000 1px -1px;
} 

.ensavoirplus
{
    text-align:center;
	font-weight:bold;
	font-size:1.5em;
}

.ensavoirplus a:hover, 
.titre-grid a:hover
{
    color:#0099cc;
}



.ensavoirplus
{ font-size:1.5em;
font-weight:none;
border:1px solid white;
color:white;
width:250px;
margin:auto;
}


a
{
   color:black;
   text-decoration:none;
}



.caption
{text-align:center;
font-size:0.85em;
} 

.texte-presentation
{text-align:justify;
margin:auto;
width:50%;
padding-top:4%;
padding-bottom:4%;
} 


	@media screen and  (max-width: 1000px) {
	 .texte-presentation
{ width:95%;
}
	.row{
		width: 95%;
		margin: 0 auto;
	}
}
	@media screen and (min-width: 1000px) and (max-width: 1500px) {
	 .texte-presentation
{ width:75%;
}
.row{
	width: 75%;
	margin: 0 auto;
}
}




/* Carousel*/
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container-actu {
  max-width: 100%;
  position: relative;
  margin: auto;
}

.slides-content-1 {
width:31.666%;
padding-top:0.5%;
padding-bottom:0.5%;
float:left;
height:100%;
text-align:center;
margin-left:2%;
}

.slides-content-2 {
width:31.666%;
padding:0.5%;
float:left;
height:100%;
text-align:center;
}
.slides-content-3 {
width:31.666%;
padding-top:0.5%;
padding-bottom:0.5%;
margin-right:2%;
float:left;
height:100%;
text-align:center;
}
@media screen and (max-width:700px)
{
.slides-content-1 {
width:100%
}

.slides-content-2 {
width:100%
}
.slides-content-3 {
width:100%}}

/* Img Actu*/
.imgactu {
width:100%;

}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 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: #e6e6e6;
}

/* Caption text */
.actu-text {
  color: #000;
  font-size: 15px;
  position: relative;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  text-align:center;
}

.dot-class
{margin-left:auto;
margin-right:auto;
text-align:center}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
