@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700,800');

/* General Styles */
body, html {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	font-family: Arial, sans-serif;
	color: #333;
	line-height: 1.4;
}

p {
	color: #727272;
	text-align: justify;
}

a {
	text-decoration: none;
	color: #333;
}

a:hover {
	color: #3c55a2;
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

ul, li {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}


h1, h2, h3, h4, h5, .button, footer, a {
	font-family: 'Open Sans', sans-serif;
}

h1 {
	color: #3c55a2;
	text-transform: uppercase;
	margin-bottom: 0;
}

h2 {
	margin-top: 15px;
	color: #b4a59d;
}

h4 {
	font-size: 1.5em;
	color: #3c55a2;
}

/* Components */
h3.sub-heading {
	position: absolute;
	background-color: white;
	text-align: center;
	width: 50%;
	min-width: 300px;
	text-transform: uppercase;
	color: #868686;
	margin: 0;
	left: 0;
	font-size: 1em;
	font-weight: 700;
	padding: 8px 5px;
	transform: translateY(-50%) translateX(-50%);
	margin-left: 50%;
}

a.button {
	padding: 7px;
	background-color: #3c55a2;
	color: white;
	font-size: .85em;
	text-transform: uppercase;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
}

a.button--white {
	color: #333;
	font-weight: bold;
	height: 30px;
	border-right: 1px solid #cfcfcf;
	border-left: 1px solid #cfcfcf;
	background-color: white;
}

.button--white:hover {
	color: #3c55a2;
}

a.button--important {
	padding: 12px 5px;
	width: 100%;
	pointer-events: none;
}

/* Specifics */
#logo {
	background-color: white;
	border-left: 1px solid #cfcfcf;
	padding: 5px;
	flex: 0 0 auto;
	max-height: 114px;
	border-right: 1px solid #cfcfcf;
}

.nav {
	display: flex;
	flex: 1 1 auto;
}

.nav .nav__elt {
	background-color: #eaeaea;
	padding: 3px;
	text-transform: uppercase;
	align-self: flex-start;
	flex: 1 1 25%;
	min-height: 30px;
	font-weight: bold;
	display: flex;
	font-size: 0.9em;
	align-items: center;
	justify-content: center;
}

.nav .nav__elt:not(:last-child) {
	border-right: 1px solid #cfcfcf;
}

header .wrapper {
	display: flex;
}

.header-wrapper {
	display: flex;
}

#banner {
	background-color: #eaeaea;
	min-height: 255px;
	padding: 25px 0px;
	justify-content: center;
}

#banner .wrapper {
	position: relative;
	z-index: 2;
}

#banner img {
	position: absolute;
	right: 0;
	height: 255px;

}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.horizontal-menu {
	display: flex;
	position: relative;
}

.horizontal-menu li {
	flex: 1 1 35%;
	display: flex;
	min-height: 70px;
	align-items: center;
	justify-content: center;
	border-left: 1px solid #cfcfcf;
}

.horizontal-menu li:last-child {
	border-right: 1px solid #cfcfcf;
}

.contact-icon {
	cursor: pointer;
}

.contact-icon a {
	display: flex;
	align-items: center;
}

.contact-icon:hover img, .contact-icon:hover:last-child img {
	filter: brightness(1.3);
}

.popup-container {
}

.popup {
	position: absolute;
	background-color: #dfdfdf;
	min-height: 110px;
	font-size: .9em;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: auto;
	z-index: 3;
	width: 200px;
	margin-left: -10px;
	text-align: center;
	padding: 20px;
	transform: translateY(100%);
}

.popup.hidden {
	display: none;
}

.libelle {
	color: #686868;
	margin-bottom: .5em;
}

.adresse {
	color: #3c55a2;
	line-height: 1.5em;
}

.association-description {
	background-color: #b4a59d;
	display: flex;
	align-items: center;
	color: white;
	padding: 30px 25px 10px 25px;
}

.association-description img {
	margin-right: 25px;
}

.association-description p {
	color: white;
}

.info-bloc {
	margin-top: 35px;
	border: 4px solid #3c55a2;
	padding: 30px;
}

.info-bloc img {
	max-width: 100%;
}

.info-bloc .dynamic-list {
	align-items: flex-start;
}

.info-bloc .sub-heading {
	margin-top: -30px;
}

.pdf-bloc {
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 35px;
}

.pdf-bloc img {
	margin: 5px 25px;
}

.pdf-description {
	color: #686868;
	margin-right: .5em;
}

.pdf-link {
	/*color: #3c55a2;
	white-space: normal;
	/*border-bottom: 2px solid #3c55a2;*/
}

.pdf-link:hover {
	color: #3676c8;
	/*border-bottom: 2px solid #3676c8;*/
}

.pdf-description:after {
	content: ':';
}

.partenaires-bloc {
	margin-top: 35px;
	background-color: #eaeaea;
	padding: 25px;
}

.partenaires-bloc .dynamic-list {
	justify-content: space-around;
}

.partenaires-bloc h3 {
	font-size: 1.5em;
	text-transform: uppercase;
	align-self: flex-start;
	display: flex;
	align-items: flex-start;
	margin-top: 0;
	color: #6a6a6a;
}

.partenaires-bloc h3:before {
	content: '';
	display: inline-block;
	flex: 0 0 auto;
	width: 45px;
	height: 45px;
	margin-right: 1em;
	background-image: url('./assets/loupe.png');
	background-size: contain;
	background-repeat: no-repeat;
}

.partenaire-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 33%;
	margin-top: 15px;
	max-width: 225px;
	text-align: center;
}

.partenaire-unit img {
	height: 100px;
}

.partenaire-unit h5 {
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 0;
	font-size: 1.1em;
	color: #6a6a6a;
	text-transform: uppercase;
}

.partenaire-unit p {
	margin-top: 5px;
	text-align: center;
}

footer {
	text-align: center;
	font-weight: bold;
	font-size: .95em;
	text-transform: uppercase;
	padding: 10px;
}

footer p {
	color: #333;
	font-size: .9em;
	text-align: center;
}

/* Style for page centering */
.wrapper {
	width: 90%;
	max-width: 1200px;
	position: relative;

}

.dynamic-list {
	display: flex;
}

.big-link {
	text-align: center;
	justify-content: center;
	color: #3c55a2;
	font-size: 1em;
	text-decoration: underline;
}

.big-link2 {
	text-align: center;
	justify-content: center;
	color: #3c55a2;
	font-size: 0.8em;
	text-decoration: underline;
}

/* Resolution specific */
@media screen and (max-width: 1000px) {
	.wrapper {
		max-width: 700px;
	}

	#banner img {
		display: none;
	}

	.horizontal-menu.nav {
		opacity: 0;
	}

	.dynamic-list {
		flex-direction: column;
		align-items: center;
	}

	.info-bloc .dynamic-list {
		flex-direction: column-reverse;
		align-items: center;
	}

	nav {
		justify-self: flex-end;
	}

	.info-bloc img {
		margin-bottom: 15px;
	}

	.pdf-list {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.pdf-bloc img {
		margin-right: 0;
	}

	.association-description img {
		margin-top: 30px;
	}
}

@media screen and (max-width: 600px) {
	header .wrapper {
		width: 100%;
	}

	.horizontal-menu.nav {
		opacity: 0;
	}

	.nav .nav__elt {
		font-size: .1em;
		border: none;
		padding: 0px;
	}

	.partenaires-bloc h3:before {
		width: 35px;
		height: 35px;
		margin-right: 10px;
		margin-top: 15px;
	}
}
