// main menu
.menu-main {
	z-index: -1;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;

	@include transition(z-index, 0s, linear, .6s);

	.menu-main__inner {
		position: absolute;
		width: 100%;
		height: 100%;
		opacity: 0;

		@include transform(translateX(-300px));

		@include prefix(transition, "opacity .6s ease-in,transform .6s ease-in,marginTop .6s ease-in");

		&:before {
			content: "";
			display: block;
			position: absolute;
			width: 50%;
			@include mq(medium-down) {
				width: 100%;
			}
			height: 100%;
			opacity: 0.95;
			background: $bluemenu;
		}
	}

	.container {
		height: 100%;
		padding-top: 127px;
		padding-bottom: 30px;
		@include mq(medium-down) {
			padding-top: 18px; // aligne verticalement l'icon x par rapport a l'icon du menu
			padding-bottom: 30px;
		}
	}

	[class^="col-"], 
	[class*=" col-"] {
		height: 100%;
	}

	.menu-main__close {
		position: relative;
		width: 140px;
		height: 100%;
		font-size: 16px;
		color: #fff;
		border-right: 1px solid #fff;
		line-height: 48px;
		span {
			cursor: pointer;
		}
		@include mq(medium-down) {
			text-align: right;
			float: left;
			width: 60px;
			padding-left: 11px; // aligne horizontalement l'icon x par rapport a l'icon du menu
			padding-right: 25px;
		}
		.fa {
			@include transition();
			font-size: 18px;
			line-height: 48px;
			display: inline-block;
			vertical-align: top;
			margin-right: 5px;
			text-align: center;
		}
		@include hover-active {
			.fa {
				@include transform('rotate(180deg);');
				margin-top: 2px;
				margin-right: 10px;
			}
		}
	}

	.menu__wrap {
		height: 100%;
		overflow: auto;
		padding-left: 28px;

		@include mq(medium-down) {
			padding-left: 25px;
			padding-right: 20px;
		}

		li {
			@include hover-active {
				[class^="icon-"], [class*=" icon-"], .fa {
					margin-right: 30px;
				}
			}
		}

		a {
			display: block;
			color: #fff;
			font-size: 16px;
			text-transform: uppercase;
			margin-bottom: 10px;
			height: 44px;
			& > span {
				display: block;
				@include vam;
			}
		}

		[class^="icon-"], [class*=" icon-"], .fa {
			@include transition('margin-right');

			float: left;
			font-size: 30px;
			margin-right: 25px;
			width: 40px;
			line-height: inherit;
		}

	}

	&.is-visible {
		z-index: 1000;
		@include delay(0s);
		.menu-main__inner {
			opacity: 1;
			@include transform(translateX(0px));
			@include prefix(transition, "opacity .6s ease-out,transform .6s ease-out,marginTop .6s ease-out");
		}
	}
}

.header {
	position: fixed;
	left: 0px;
	right: 0px;
	border-bottom: 1px solid #eeece6;
	z-index: 50;
}
// /header first line

.header-top {
	position: relative;
	@include mq(large) {
		background: #fff;
		border-bottom: 1px solid #ebebe7;
		.row > div {
			height: $headerTopHeight;
		}
	}
}

// header second line
.header-menus {
	background: #fafafa;
	height: $headerHeight;
	.row > div {
		height: $headerHeight;
	}
}

// ./menu-btn
.menu-btn {
	cursor: pointer;
	.menu-btn__icon {
		display: inline-block;
		display: none;
		vertical-align: middle;
		width: 25px;
		height: 16px;
		font-size: 16px;
		line-height: 1;
		background: #fff;
		span {
			display: block;
			position: absolute;
			width: 15px;
			height: 2px;
			background: $bluemenu;
			left: 0px;
			&:nth-child(1) {
				margin-top: 3px;
			}
			&:nth-child(2) {
				margin-top: 8px;
			}
			&:nth-child(3) {
				margin-top: 13px;
			}
		}
	}
	.menu-btn__icons {
		display: inline-block;
		vertical-align: middle;
		width: 25px;
		height: 16px;
		font-size: 16px;
		line-height: 1;
		background: #fff;
		span {
			@include transition;
			display: block;
			position: absolute;
			width: 8px;
			height: 2px;
			background: $bluemenu;
			left: 0px;
			@include prefix('transform-origin', '100% 100%');
			@include transform('scaleX(1);');
			@include delay('0.1s');
			&:nth-child(1), &:nth-child(2) {
				margin-top: 3px;
			}
			&:nth-child(3), &:nth-child(4) {
				margin-top: 8px;
				@include delay('0s');
			}
			&:nth-child(5), &:nth-child(6) {
				margin-top: 13px;
			}
			&:nth-child(even) {
				margin-left: 8px;
			}
			&:nth-child(1), &:nth-child(4), &:nth-child(5) {
				@include prefix('transform-origin', '0% 100%');
			}
			&:nth-child(7) {
				margin-top: 3px;
				margin-left: 7px;
				width: 2px;
				height: 12px;
				@include prefix('transform-origin', '50% 0%');
				@include transform('scaleY(0);');
				@include delay('0s');
			}
		}
	}
	.menu-btn__label {
		@include transition;
		display: inline-block;
		vertical-align: middle;
		color: $bluemenu;
		font-size: 16px;
		line-height: 1;
		letter-spacing: 1px;
	}
	@include hover-active {
		.menu-btn__icon {
			span {
				height: 4px;
				// background: $beige;
				&:nth-child(1) {
					margin-top: 2px;
				}
				&:nth-child(2) {
					margin-top: 7px;
				}
				&:nth-child(3) {
					margin-top: 12px;
				}
			}
		}
		.menu-btn__icons {
			span {
				@include delay('0s');
				&:nth-child(1), &:nth-child(2), &:nth-child(5), &:nth-child(6) {
					@include transform('scaleX(0);');
				}
				&:nth-child(3) {
					@include transform('translateY(5px) rotate(40deg);');
					@include delay('0.1s');
				}
				&:nth-child(4) {
					@include transform('translateY(5px) rotate(-40deg);');
					@include delay('0.1s');
				}
				&:nth-child(7) {
					@include transform('scaleY(1);');
					@include delay('0.1s');
				}
			}
		}
		.menu-btn__label {
			// color: $beige;
			// font-weight: bold;
			// @include transform('translateX(5px);');
		}
	}
}


.menu-secondary {
	height: $headerHeight;
	@include mq(medium-down) {
		width: auto;
		float: right;
		padding-right: 60px;
	}
	.menu__wrap {
		@include vam;
		height: 50px;
		@include mq(medium-down) {
			height: 44px;
		}
	}
}



.header-simple {
	background: #fff;
}

.header-info-line {
	@include transition(height);
	background: $bluemenu;
	height: 30px;
	line-height: 30px;
	font-style: italic;
	font-size: 14px;
	color: #fff;
	overflow: hidden;
	.wrapper {
		position: relative;
	}
	&.is-closed {
		height: 0;
	}
}

.header-info-line__blue {
	color: #497191;
}

.header-info-line__close {
	position: absolute;
	right: 0;
	color: #497191;
	background: #fff;
	width: 16px;
	height: 16px;
	top: 7px;
	line-height: 16px;
	text-align: center;
	border-radius: 50%;
	cursor: pointer;
}

.dropdown-menu-profile-infos {
	background: #fff;
	width: 1000px;
	box-shadow:none;
	box-shadow:0 3px 3px #aaa;
	left: -14px;
	border: 0;
	border-radius: 0;
	margin-top: 1px;
	padding: 15px 20px;
	
	@include mq(medium-down) {
		left: -150px;
		top: 81px;
		right: 0;
		width: auto;
	}
	& > li {
		padding: 5px 0;
		& > a {
			padding: 0;
			font-size: 12px !important;
			@include transition();
			@include hover-bs {
				background-color: transparent;
			}
			@include hover-active {
				padding-left: 5px;
				color: $bluemenu;
			}
			white-space: nowrap;
		}
		&.divider {
			max-width: 210px;
			background: $beige;
			padding: 0;
			@include mq(medium-down) {
				max-width: 150px;
			}
		}
	}
	
}

