* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;

}


/******************************************
            LOGO TOP
******************************************/

.logo_top {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.logo_top img {
    width: 100px;
}

/******************************************
            HEADER / DESKTOP
******************************************/



header {
    width: 100%;
    margin: auto;
	margin-bottom:0px;
    background-color: #a4201c;
    padding-bottom: 20px;
    opacity: 1;
    border-radius: 0px;


}

.header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 5px;
}

/******************************************
            HEADER / LOGO GAUCHE
******************************************/

.logo {
    width: 25%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-block;
    text-decoration: none;
    padding-left: 40px;
    padding-top: 5px;
}

.logo a {
    color: white;
    text-decoration: none;

}


.logo h1 {
    font-size: 27px;
    padding-top: 5px;
    text-shadow: 2px 2px black;
}

.logo p {
    font-size: 14px;
    color: white;
    text-shadow: 1px 1px black;

}

/******************************************
            HEADER / NAV
******************************************/
#show_menu {
	display: none;
}
.nav {
    width: 75%;
}

.nav ul {
    text-align: right;
}

.nav ul li {
    padding-top: 30px;
    display: inline-block;
    padding-right: 30px;
  
    
}
.nav ul li:nth-child(5) {
    padding-top: 30px;
    display: inline-block;
    padding-right: 30px;
  
    
}

nav ul li a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: color 1s ease;
    position: relative;
}

nav ul li:hover a {
    position: relative;
    color: #dcdde1;
    text-decoration: none;
}

nav ul li a:before {
    content: '';
    position: absolute;
    width: 100%;
    border-top: 1px solid #f5f6fa;
    border-bottom: 1px solid #f5f6fa;
    top: -10px;
    left: 0px;
    right: 0px;
    bottom: -10px;
    transform: scale(0, 0);
    transition: transform 0.5s ease-in-out;


}

nav ul li:hover a:before {

    transform: scale(0, 0);

}

nav ul li a:after {
    content: '';
    position: absolute;
    border-left: 1px solid #f5f6fa;
    border-right: 1px solid #f5f6fa;
    top: 0px;
    left: -10px;
    right: -10px;
    bottom: 0px;
    transform: scale(1, 0);
    transition: transform 0.5s ease-in-out;


}

nav ul li:hover a:after {

    transform: scale(1, 1);


}
 nav ul .on_page a:before, .on_page nav ul .on_page:hover a:before,  nav ul .on_page a:after,  nav ul .on_page:hover a:after {
	display:none;
}
.on_page a {
	padding:6px;
	
	border-radius: 10px;
	border:2px solid white;
}
    

/******************************************
            HEADER / SMARTPHONE
******************************************/


@media screen and (max-width: 885px) {
    
    .header {
        display: block;
		position: relative;
		height:40px;
		
    }
	
    .logo p {
        display: none;
    }
	.logo h1 {
		font-size: 16px;
		width: 100px;
		line-height: 30px;
	}
  	
	.nav {
		position: absolute;
		z-index:10;
		top:50px;
		background-color:#a4201c;
		opacity:1;
		width: 100%;
		padding-bottom: 0px;
		
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 50px;

		display: none;
		
		
	}
	.nav ul li {
		display: block;
		text-align: left;
		padding-top:20px;
		padding-bottom:20px;
		border-bottom: 1px solid white;
		
	}
	
	.nav ul li a {
		font-size: 16px;
		padding-left:20px;
		padding-right:20px;
		color:white;
		margin-left:15px;
	}
	.nav ul li:nth-child(5) {
    padding-top: 30px;
    display: block;
    padding-right: 0;
	}	
	
	nav ul li a:hover {
		font-size: 16px;
		padding-left:20px;
		color:white;
		text-shadow: 0 0 5px #000;
		
		
	}

	#show_menu {
		display:block;
		position: absolute;
		right:20px;
		font-size: 20px;
		top:15px;
		color:white;
	}
	
	nav ul li a:before, nav ul li:hover a:before, nav ul li a:after, nav ul li:hover a:after  {
   display:none;
	}
	.on_page a {
	padding:0px;
	
	border-radius: 0px;
	border:none;
	
	border-left:2px solid white;
}

	
}




/******************************************
            SECTION 1/ BANDEAU
******************************************/
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

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

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

/* 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: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

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

/* 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;
}

.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}
}

/******************************************
       SECTION 1/ BANDEAU / SMARTPHONE
******************************************/

@media screen and (max-width: 469px) {
	
	.bandeau figcaption h2 {
    
    
    text-shadow: 1px 1px black;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
    
    
}

.bandeau:hover figcaption  h2 {
    
    color:white;
    text-shadow: 1px 1px black;
    font-size: 14px;
    opacity: 1;
    
    
}	
	
	
.bandeau figcaption {
   
    top:70%;
    left:50%;
    
} 
	.bandeau figcaption:before, .bandeau:hover figcaption:before, .bandeau figcaption:after, .bandeau:hover figcaption:after  {
    display:none;
    
}

	
}


/******************************************
          SECTION 2 
******************************************/

#section_2 {
	margin:auto;
	padding-top:60px;
	width:90%;
	display:flex;
	justify-content: space-around;
	text-align: center;
} 
#section_2 li {
	list-style-type: none;
}

#section_2 .digital, #section_2 .relations_medias, #section_2 .creation_contenu {
	width:30%;
	
}
#section_2 .digital li, #section_2 .relations_medias li, #section_2 .creation_contenu li {
	text-align: center;
	padding-bottom:10px;
}
 

#section_2 i {
	
	font-size:50px;
	color:#a4201c;
	padding-bottom:20px;
}

#section_2 h1 {
	
	font-size:25px;
	color:#a4201c;
	padding-bottom:20px;
}


/******************************************
          SECTION 2 / SMARTPHONE
******************************************/
@media (max-width:850px) {
	#section_2 {
	display: flex;
	flex-direction: column;
	width:90%;
}
#section_2 .digital, #section_2 .relations_medias, #section_2 .creation_contenu {
	width:100%;
	padding-bottom: 10px;

}
}


/******************************************
          FOOTER
******************************************/

footer {
    width: 100%;
    background-color: #a4201c;
    color:white;
    margin-top: 60px;
}
.footer_title {
    padding-top: 40px;
    width: 80%;
    margin:auto;
    text-align: center;
    font-size: 18px;
    color:white;
}
.footer_title h1 {
	font-size:25px;
}

.footer_title span {
    font-size: 50px;
    
}
.footer_title span a {
    color:white;
    
}

.footer {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    width: 60%;
    margin: auto;
    font-size: 20px;
    padding-bottom: 40px;
    
    
}

.footer_left {
    width: 33%;
    
}

.footer_left h3, .footer_center h3, .footer_right h3  {
    margin-bottom:10px;
	text-align: center;
    
}

.footer_center {
   width: 33%;
}
 

.footer_left p, .footer_center p, .footer_right p {
	font-size:16px;
	text-align: center;
}

.footer_right {
    width: 33%;
  

}
.footer_right a {
	text-decoration: none;
	color:white;	
}




@media screen and (max-width: 469px) {
	
	.footer_title h1 {
		font-size:18px;
	}
	.footer_title i {
		font-size:25px;
	}
	.footer {
		display:block;
		width:100%;
		font-size: 16px;
		text-align: center;
	}
	
	.footer_left {
		width: 100%;
		margin-bottom:20px;
	}
	.footer_center {
		width: 100%;
		padding-left:0;
		margin-bottom:20px;
	}
	.footer_right {
		width: 100%;
		padding-left:0;
	}
	.footer_right a {
	text-decoration: none;
	color:white;	
}

}































