/*
	GLOBAL
	Mise en page generale

	SOMMAIRE
		Header
		Footer
*/

/* HEADER */
.header {
	position: relative;
	padding-top: 10px;
	background: #fff;
}
.header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 10px;
	background: linear-gradient(-90deg, #5CC5ED 0%, #59BFAC 100%);
}
.header-layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
@media(max-width: 991px) {
	.header-layout {
		height: 110px;
	}
}
.logo {
	width: 140px;
}
@media(min-width: 992px) {
	.logo {
		width: auto;
		flex: 1 0 196px;
	}
}
.nav-main {
	flex: 1;
	display: flex;
	align-items: center;
	font-size: 1.8rem;
	height: 165px;
}
@media(max-width: 991px) {
	.nav-main {
		display: none;
	}
}
.nav-main a {
	text-decoration: none;
	transition: all .1s ease-in-out;
}
.nav-main a:hover, .nav-main > li:hover > a {
	color: #007AA5;
}
.nav-main li {
	list-style: none;
}
.nav-main > li {
	position: relative;
	text-align: center;
	padding: 20px 0;
	line-height: 1.2;
}
.nav-main > li > a {
	display: block;
	position: relative;
	z-index: 6;
	padding: 0 20px;
	color: #000;
	font-weight: 700;
	text-align: center;
}
.nav-main > li > a[href="#"] {
	cursor: default;
}
.nav-main .sub-menu {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 5;
	background: #EFEFEF url(../img/arrow-menu.svg) no-repeat center 60px;
	padding: 80px 20px 20px;
	border-radius: 3px;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
	text-align: left;
}
.nav-main > li:hover .sub-menu {
	visibility: visible;
	opacity: 1;
	transition: all .2s ease-in-out;
}
.nav-main .sub-menu a {
	display: block;
	padding: 10px 0;
	font-size: 1.5rem;
	font-weight: 500;
	color: #333;
}
.nav-main .sub-menu a:hover {
	color: #007AA5;
}
.header-search {
	width: 80px;
	text-align: right;
}
.header-search__btn {
	display: inline-block;
	width: 50px;
	height: 50px;
	border-radius: 50px;
	background: #EFEFEF url(../img/search.svg) no-repeat center center;
}
@media(max-width: 991px) {
	.header-search {
		display: none;
	}
}

/* Mobile */
#menu-btn {
	position: absolute;
	z-index: 10;
	top: 50%;
	right: 30px;
	width: 50px;
	height: 50px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50px;
	cursor: pointer;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	background: #EFEFEF url(../img/menu.svg) no-repeat center center;
}
@media (min-width: 992px) {
	#menu-btn {
		display: none;
	}
}
.header-mobile {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 100%;
	width: 250px;
	padding: 40px 0 15px;
	z-index: 10;
	background: #fff;
}
@media (min-width: 992px) {
	.header-mobile {
		display: none;
	}
}
#menu-close {
	position: absolute;
	top: 5px;
	right: 15px;
	border: 0;
	margin: 0;
	padding: 0;
	color: #000;
	background: transparent;
	line-height: 1;
	font-size: 3.6rem;
	font-weight: 200;
	cursor: pointer;
}
#menu-close::before {
	content: "×";
	font-weight: 200;
	line-height: 1;
}
.nav-main-mobile li {
	list-style: none;
}
.nav-main-mobile a {
	display: block;
	padding: 10px 20px;
	color: #000;
	text-decoration: none;
}
.nav-main-mobile > li {
	border-bottom: 1px solid #efefef;
}
.nav-main-mobile > li > a {
	position: relative;
	font-weight: 700;
	font-size: 1.6rem;
}
.nav-main-mobile > li.menu-item-has-children > a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 15px;
	width: 13px;
	height: 9px;
	margin-top: -4px;
	background: url(../img/arrow-menu.svg) no-repeat 0 0;
	transition: all .2s ease;
}
.nav-main-mobile > li.menu-item-has-children.is-open > a::after {
	transform: rotate(-180deg);
}
.nav-main-mobile .sub-menu {
	padding: 5px 0;
	background: #EFEFEF;
}
.nav-main-mobile .sub-menu a {
	font-size: 1.5rem;
	font-weight: 500;
	color: #333;
}

/* FOOTER */
.footer {
	padding: 60px 0;
	background: #4A4A4A;
}
.footer-layout {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 50px;
}
.footer-logo {
	width: 20%;	
}
@media (max-width: 991px) {
	.footer-logo {
		width: 100%;
		margin-bottom: 50px;
	}
}
.footer-logo img {
	display: block;
	margin: 0 auto;
	opacity: .45;
}
.footer-menu {
	width: 65%;
}
@media (max-width: 991px) {
	.footer-menu {
		width: 100%;
		margin-bottom: 20px;
	}
}
.footer-social {
	width: 15%;
}
@media (max-width: 991px) {
	.footer-social {
		width: 100%;
		text-align: center;
	}
}
.nav-footer {
	display: flex;
	flex-wrap: wrap;
	font-size: 1.5rem;
}
.nav-footer li {
	list-style: none;
}
.nav-footer > li {
	width: 100%;
	margin-bottom: 30px;
	list-style: none;
	text-align: center;
}
@media (min-width: 768px) {
	.nav-footer > li {
		width: 25%;
		padding-right: 30px;
		text-align: left;
	}
}
.nav-footer a {
	display: inline-block;
	margin-bottom: 10px;
	color: #fff;
	text-decoration: none;
}
.nav-footer > li:last-child > a {
	display: none;
}
.nav-footer > li > a, .nav-footer > li:last-child .sub-menu a, .footer-social__title {
	color: #fff;
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
}
.nav-footer > li:nth-child(1) .sub-menu a,
.nav-footer > li:nth-child(2) .sub-menu a,
.nav-footer > li:nth-child(3) .sub-menu a {
	opacity: .8;
}
.footer-social__title {
	margin-bottom: 10px;
}
.footer-social__pictos li {
	display: inline-block;
	vertical-align: middle;
	list-style: none;
	margin-right: 15px;
}
.footer-social__pictos a {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	line-height: 37px;
	background: url(../img/picto-social.svg) no-repeat 0 0;
	text-align: center;
}
.footer-social__pictos img {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
}
.nav-bottom {
	display: flex;
	justify-content: center;
	text-align: center;
	font-weight: 600;
	font-size: 1.1rem;
	font-family: 'Poppins', sans-serif;
	color: rgba(255, 255, 255, 0.8);
}
.nav-bottom li {
	list-style: none;
}
.nav-bottom li:not(:last-child)::after {
	content: '|';
	padding: 0 3px;
	font-weight: 400;
}
.nav-bottom a {
	color: rgba(255, 255, 255, 0.8);
}