/* For smartphone----------------------------- */
@media only screen and (max-width: 1100px) {

/* Section */
section
{
	width:100%;
}

.section_container
{
	width:100%;
	height:100%;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

/* Bloc Section 1 - Main Title */
.bloc_section:nth-child(1)
{
	width:90%;
	text-align:center;
	padding:5% 0 5% 0;
}

/* Bloc Section 2 qnd 7 - Management & Employees */
.bloc_section:nth-child(2), .bloc_section:nth-child(7)
{
	width:80%;
	padding:10% 0 10% 0;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.bloc_section_management, .bloc_section_employees
{
	width:100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;

	text-align: center;
}

.bloc_section_management img, .bloc_section_employees img
{
	width:100%;
	height:auto;
	margin:auto;
	box-shadow: 5px 5px 5px #aaaaaa;
}

.paragraphe_description a
{
	color: rgb(81,109,117); /* Color 6 - Blue */
	text-decoration: none;
}

.paragraphe_description a:hover
{
	color: rgb(81,109,117); /* Color 6 - Blue */
	text-decoration: underline;
}

.legende
{
	color:rgb(157,157,156); /* Color 4 - Text - Light Grey */
	font-size: 1em;
	text-align: center;
	font-style: italic;
}

.bloc_section:nth-child(3), .bloc_section:nth-child(4), .bloc_section:nth-child(5), .bloc_section:nth-child(6)
{
	width:80%;
	padding:10% 0 10% 0;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.bloc_section_team
{
	width:90%;
	text-align:center;
	padding:5% 0 5% 0;
	margin:5% 0 5% 0;
	border: solid 0.5px rgb(200,200,200);
	box-shadow: 5px 5px 5px #aaaaaa;
	border-radius: 2%;

	display:flex;
	flex-direction:column;
	justify-content:top;
	align-items:center;
}

.bloc_section_team img
{
	width:50%;
	height:auto;
	margin:auto;
}

.overlay
{
	width:90%;
	font-style: italic;
	padding: 5% 0 5% 0;
}

}

/* For desktop----------------------------- */
@media only screen and (min-width: 1100px) {

/* Slideshow Container */
.slideshow_container
{
	background-image: url("../photos/slideshow_equipe.jpg");
}

/* Nav */
.dropdown:nth-child(7) a
{
	color: rgb(81,109,117); /*Color 6 - Blue*/
	font-weight: bold;
	background-color: rgba(255,255,255,1);
}

/* Section */

.section_container
{
	width:100%;
	height:100%;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.bloc_section
{
	width:90%;
	padding:5% 0 5% 0;
}

.bloc_section:nth-child(1)
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* Bloc section 2 - Management & Employees */
.bloc_section:nth-child(2), .bloc_section:nth-child(7)
{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}

.bloc_section_management, .bloc_section_employees
{
	width:45%;

	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	text-align: center;
}

.bloc_section_management img, .bloc_section_employees img
{
	width:100%;
	height:auto;
	margin:auto;
	box-shadow: 5px 5px 5px #aaaaaa;
}

.paragraphe_description a
{
	color: rgb(81,109,117); /* Color 6 - Blue */
	text-decoration: none;
}

.paragraphe_description a:hover
{
	color: rgb(81,109,117); /* Color 6 - Blue */
	text-decoration: underline;
}

.legende
{
	color:rgb(157,157,156); /* Color 4 - Text - Light Grey */
	font-size: 1em;
	text-align: center;
	font-style: italic;
}

.bloc_section:nth-child(3), .bloc_section:nth-child(4), .bloc_section:nth-child(5), .bloc_section:nth-child(6)
{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: top;
}

.bloc_section_team
{
	width:20%;
	text-align:center;
	padding:5% 0 5% 0;
	border: solid 0.5px rgb(200,200,200);
	box-shadow: 5px 5px 5px #aaaaaa;
	border-radius: 2%;

	display:flex;
	flex-direction:column;
	justify-content:top;
	align-items:center;
}

.bloc_section_team img
{
	width:50%;
	height:auto;
	margin:auto;
}

/* Overlay */

.bloc_section_team
{
	position: relative;
	width:20%;
}

.image_team
{
	display: block;
	width: 20%;
	height: auto;
}

.overlay
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	/*background-color:rgb(230,230,230); Background 4 - Light Grey */
	background-color:white;
	border: solid 0.5px rgb(200,200,200);
	box-shadow: 5px 5px 5px #aaaaaa;
	border-radius: 2%;
	cursor: pointer;
}

.bloc_section_team:hover .overlay
{
	opacity: 1;
}

.text
{
	color: rgb(81,109,117); /* Color 6 - Blue */
	font-style: italic;
	width:90%;
	font-size: 0.8em;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

}