.main__popup {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 150px;
	// background-color: #fff;
	display: none;
	z-index: 20;
	@include mq(sm-down) {
		right: 0;
	}

	.is-popup-open & {
		display: block;
	}
	.mw {
		position: relative;
	}
	&.is-preparing {
		display: block;
		opacity: 0;
		@include moveY(-300px);
	}
	&.is-showing {
		@include transition(all, 600ms);
		@include ease-out();
		opacity: 1;
		@include moveY(0);
	}
	&.is-hiding {
		@include transition(all, 400ms);
		@include ease-sharp();
		opacity: 0;
		@include moveY(-300px);
	}
	&.is-zoomable {
		.main__popup__zoomin,
		.main__popup__zoomout {
			display: block;
		}
	}
	&.is-changeable {
		.main__popup__prev,
		.main__popup__next {
			display: block;
		}
	}
}

.main__popup__head {
	position: absolute;
	width: 100%;
	height: 150px;
	bottom: 0;
	// background-color: #f00;
	&.is-active {
		display: block;
	}
	&:before {
		content: '';
		position: absolute;
		width: 80px;
		height: 80px;
		bottom: 35px;
		right: 100px;
		background: url('imgs/tech-title-north.png') no-repeat 50% 50%;
		background-size: contain;
		@include mq(xs) {
			display: none;
		}
	}
	text-align: center;
	img {
		max-width: 60%;
		max-height: 30px;
		width: auto;
		@include vam()
		margin: 0 auto;
	}
	@include transition();
	.is-switching & {
		opacity: 0;
	}
}

.main__popup__content {
	position: absolute;
	width: 100%;
	height: 100%;
	height: auto;
	top: 0;
	bottom: 150px;
	@include transition();
	.is-switching & {
		opacity: 0;
	}
}
 
.main__popup__logo {
	position: absolute;
	margin-top: 20px;
	margin-left: 10px;
}

.main__popup__title {
	text-align: center;
	padding-top: 20px;
}


 
.main__popup__prev,
.main__popup__next {
	position: absolute;
	left: 20px;
	top: 50%;
	margin-top: -30px;
	cursor: pointer;
	z-index: 1000;
	display: none;
	font-size: 24px;
	color: $blue;
	@include mq(xs) {
		margin-top: -15px;
		padding: 10px;
		background: rgba(255, 255, 255, 0.9);
		img {
			width: 21px;
		}
	}
}

.main__popup__next {
	left: auto;
	right: 20px;
}

.main__popup__cta {
	position: absolute;
	z-index: 100000000;

	right: 0px;
	top: 0px;
	> div {
		cursor: pointer;
		width: 40px;
		height: 40px;
		text-align: center;
		vertical-align: middle;
	}
}

.main__popup__close {
	img {
		@include transition(transform, .4s);
		@include ease-sharp();
		// @include rotate(45deg);
	}
	&:hover {
		img {
			// @include rotate(225deg);
			@include ease-out();
		}
	}
	margin-bottom: 10px;
	background-color: #4abba3;
	line-height: 40px;
	font-size: 24px;
	color: #fff;
	span {
		line-height: 40px;
	}
	&:hover {
		&:before {

		}
	}
}

.main__popup__zoomin,
.main__popup__zoomout {
	display: none; 
}

.main__popup__zoomin,
.main__popup__zoomout,
.main__popup__close {
	position: relative;
	font-size: 22px;
	color: $gold;
	color: #fff;
	background-color: #4abba3;
	background-color: $blue;
	line-height: 40px;
	span {
		line-height: 40px;
	}
	&:before {
		content: "";
		position: absolute;
		width: 40px;
		height: 40px;
		background-color: rgba(255,255,255,0.2);
		left: 0;
		top: 0;
		@include moveX(40px);
		@include transition();
	}
	&:hover {
		&:before {
			@include moveX(0);
		}
	}
}

.main__popup__close {
	font-size: 26px;
}


.main__popup--ml {

	.main__popup__close {
		position: absolute;
		right: 0;
		width: 40px;
		height: 40px;
		text-align: center;
		z-index: 3;
		background-color: transparent;
		color: #888;
		cursor: pointer;
	}
}

.main__popup__content--ml {
	// position: static;
	bottom: 0;
	.ml {
		position: relative;
		height: 100%;
	}
	.ml__titre {
		font-size: 24px;
		text-align: center;
		padding: 20px;
	}
	.nano > .nano-pane {
		top: 40px;
	}
}

.main__popup--home {
	.main__popup__bg {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: rgba(0, 0, 0, 0.9);
	}
}

.main__popup--pdfdl {
	background-color: transparent;
	@include vamib()
	text-align: center;
	.main__popup__bg {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: rgba(0, 0, 0, 0.9);
	}
	.main__popup__content__wrap {
		// position: absolute;
		overflow: hidden;
		position: relative;
		display: inline-block;
		vertical-align: middle;
		width: 440px;
		background-color: #fff;
		@include mq(xs) {
			max-width: 440px;
			width: 90%;
		}
	}
	.main__popup__close {
		position: absolute;
		right: 0;
		background-color: transparent;
		color: #666;
		cursor: pointer;
		z-index: 2;
		width: 40px;
		text-align: center;
		&:before {
			display: none;
		}
	}
	.main__popup__content {
		position: relative;
		padding: 20px;
		line-height: 1.2;
	}
	.pdfdl__form__sstitre {
		margin-top: 5px;
		font-weight: 900;
		text-transform: uppercase;
		font-size: 18px;
	}
	.pdfdl__form__infos {
		font-weight: 300;
		margin-top: 15px;
		font-size: 18px;
	}
	.inputline {
		border: 1px solid #666;
		width: 290px;
		margin-top: 10px;
		@include mq(xs) {
			width: 100%;
		}
	}
	.labelform {
		a {
			font-size: 12px;
			line-height: 1.2;
			vertical-align: middle;
			text-decoration: underline;
		}
	}
	.inputunikcheckbox {
		vertical-align: middle;
		margin-right: 2px;
	}
	.submitline {
		text-align: center;
	}
	.form__submit {
		background-color: #000;
		.submit {
			vertical-align: middle;
			color: #fff;
			font-weight: 400;
		}
	}
	.form__submit__spin__wrap {
		vertical-align: middle;
	}
	.form__submit__spin {
		border: 2px solid #fff;
		border-top-color: transparent;
	}
	.pdfdl__form__content__inner {
		position: relative;
	}
	.pdfdl__form__content__inner.is-ok {
		.pdfdl__form__content__res {
			pointer-events: all;
			opacity: 1;
		}
	}
	.pdfdl__form__content__res {
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: #fff;
		@include vamib();
		pointer-events: none;
		opacity: 0;
		@include transition(opacity, .5s)
		a {
			text-decoration: underline;
			display: inline-block;
			vertical-align: middle;
			line-height: 1.2;
		}
	}
}