@font-face {
	font-family: 'linux_libertineregular';
	src: url('fonts/linlibertine_r-webfont.eot');
	src: url('fonts/linlibertine_r-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/linlibertine_r-webfont.woff2') format('woff2'),
	url('fonts/linlibertine_r-webfont.woff') format('woff'),
	url('fonts/linlibertine_r-webfont.ttf') format('truetype'),
	url('fonts/linlibertine_r-webfont.svg#linux_libertineregular') format('svg');
	font-weight: normal;
	font-style: normal;

}


/* GENERAL */ 
.lh1 {
	line-height: 1;
}

html {   
	background: #000;
}
body {
	font-family: 'linux_libertineregular';
	color:#d7d7d7;
	position: relative;
	top:0;
	background: #000;
}
h1 {
	text-transform: uppercase;
	letter-spacing: .2em;
	font-weight: 400;
	font-size: 1.2em;
	text-align: center;
	padding-bottom: .6em;
	margin-bottom: .6em;
	border-bottom: solid .5px rgba(200,200,200,.75);
}
h2 {
	text-transform: uppercase;
	letter-spacing: .2em;
	font-weight: 400;
	font-size: 1em;
}
p {
	text-align: left;
}
a {
	color: #6fb5f5;
	text-decoration: none;
	font-weight: bold;
}
a:hover,
a:active,
a:focus {
	color: #ffffff;
}
strong {
	color: #fff;
	font-weight: bold;
	font-style: italic;
	letter-spacing: .1em;
}
.bgwhite {
	background: white;
}
.bgblack {
	background: black;
}
.colorwhite {
	color :white;
}

.cta {
	padding: 12px 18px;
	background: #6fb5f5;
	color:  white;
	text-transform: uppercase;
	display: block;
	margin:  0 auto;
	border: 1px solid #6fb5f5;
	transition:  all .3s ease-in-out;
}

.cta:hover {
	background-color: white;
	color:   #6fb5f5;
}

/* BACKGROUNDS */
.bg {
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
}
.bgaccueil{
	background-image: url('../img/bgaccueil3.jpg');
}
.bgengagement {
	background-image: url('../img/bgengagement.jpg');
	background-position: center center;
}
.bgsavoirfaire{
	background-image: url('../img/bgsavoir-faire2.jpg');
}
.bgbureautechnique{
	background-image: url('../img/bgbureau-technique7.jpg');
	background-position: center center;
}
.bgproduction{
	background-image: url('../img/bgproduction2.jpg');
}
.bgatelierterminaison{
	background-image: url('../img/bgatelierterminaison.jpg');
}
.bgrealisations{
	background-image: url('../img/bgrealisations2.jpg');
}
.bghabillageshorlogers{
	background-image: url('../img/bghabillageshorlogers.jpg');
	background-size: cover;
}
.bgclients{
	background-image: url('../img/bgclients.jpg');
}
.bgnotrevision {
	background-image: url('../img/bgnotrevision.jpg');
}
.bghorlogerie{
	background-image: url('../img/bghorlogerie.jpg');
	background-position: center center;
}
.bgetampage{
	background-image: url('../img/bgetampage.jpg');
	background-position: center center;
}

#bg-container {
	position: fixed;
	width: 100%;
}
#bg {
	height: 100vh;
	width: 100%;
}

@media (min-width : 1200px) {
	#bg {
		width: 115%;	
	}
}
@media (min-width : 1500px) {
	#bg {
		width: 105%;	
	}
}
@media (min-width : 1900px) {
	#bg {
		width: 100%;	
	}
}




/* HEADER */
.header-container{
	height: 10%;
	position: fixed;
	width: 100%;
	z-index:10000;
}
header {
	padding-top:10px;
}
header .logo {
	height: 85px;
	position: relative;
	z-index: 10;
}
header .picto {
	width: 75px;
	left:8px;
}
header a .picto .fillcolor {
	fill:#6fb5f5;
}
header a:hover .picto .fillcolor,
header a:focus .picto .fillcolor,
header a:active .picto .fillcolor {
	fill:#c7c7c7;
}
header .background-picto {
	position: absolute;
	background-color: rgba(31,33,37,1);
	width: 90px;
	height: 90px;
	top: 0;
	left: 1em;
	z-index: 0;
}
header .background{
	position: absolute;
	background-color: rgba(31,33,37,.75);
	width: 100%;
	height: 36px;
	top:38px;
	left:0;
	z-index: 0;
}

/* NAVIGATION */


/*lang */

header nav .lang{
	position: absolute;
	right:1.3em;
}

header nav{
	margin-top:100px;
	position: relative;
	max-width: 1200px;
	margin:auto;
	z-index: 10;
	padding-left: 1em;
	padding-right: 1em;
}
header nav ul {
	position: absolute;
	top:10px;
	right:0;
}
header nav > ul li {
	display: inline-block;
	position: relative;
}
header nav > ul li a {
	position: relative;
	z-index: 100000;
}
header nav .submenu {
	display: none;
	left: 0; 
	right: 0;
	width: 200%;
	margin: 0;
	padding: 0;
	top: 0px;
	padding-top:40px;
	text-align: center;
	list-style: none;
	transform: translateX(-25%);
}
header nav .submenu li  {
	width: 100%;
}
header nav .submenu li a {
	background: black;
	padding: .5em 1em;
	margin: 0;
	font-size: .8em;
	width:100%;
	display: block;
}
header nav .submenu .arrow-container {
	width: 50px;
	height: 16px;
	position: absolute;
	overflow: hidden;
	left: 50%;
	transform: translateX(-50%)translateY(-100%);
}
header nav .submenu .arrow-container .arrow {
	background:black;
	position: relative;
	width: 50px;
	height: 50px;
	transform: translateX(-50%)rotate(45deg);
	top: 10px;
	left: 50%;
}
header nav .submenucontainer:hover .submenu,
header nav .submenucontainer a:focus .submenu {
	display: block;
}


header nav ul li {
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}
header nav ul li a {	
	color: #6fb5f5;
	font-weight: normal;
	text-decoration: none;
	padding: 10px 20px;
}
header nav ul li a:hover,
header nav ul li a:focus,
header nav ul li a:active,
header nav ul li a.selected
{	
	color: #c7c7c7;
}


/* CONTENUS */
.main-container {
	/*pointer-events: none;*/
	padding: 1em;
	position: relative;
	max-width: 1200px;
	margin: auto;
	min-height: 100vh;
	overflow: hidden;
}

.main.wrapper {
	pointer-events: all;
	width: 50%;
	max-width: 550px;
	margin-bottom: 8em;
	margin-top: 8em;
	padding: 30px;
	background-color: rgba(31,33,37, .45);
}

.main.wrapper.light-bg {
	background-color: rgba(255,255,255, .45);
	color:#000000;
}
.main.wrapper.light-bg h1 {
	border-bottom: solid .5px rgba(20,20,20,.75);
}

/* Galerie Atelier */
.main.wrapper.galerie {
	background-color: transparent;
	padding: 0;
	max-width: none;
	width: 50%;
	display: flex;
	flex-wrap: wrap;
}
.main.wrapper.galerie a {
	margin-left: 16px;
	width: calc(33.3% - 16px);
	margin-bottom: 16px;
	display: block;
}
.main.wrapper.galerie a:first-of-type {
	margin-left: 0;
}
.main.wrapper.galerie a:nth-of-type(3n+1) {
	margin-left: 0;
}


/* Positions contenus textes */
.main.wrapper.content-accueil {

}
.main.wrapper.content-savoir-faire {
	float: left;
}
.main.wrapper.content-bureau-technique {
	width: 40%;
	float: right;
}
.main.wrapper.content-production {
	float: right;
}
.main.wrapper.content-atelier-terminaison {
	float: right;
}
.main.wrapper.content-realisations {
	float: right;
}
.main.wrapper.content-pieces-horlogeres {
	float: left;
	padding-left: 0;
	width: 100%;
}
.main.wrapper.content-vision {
	background-color: rgba(31,33,37, .8);
}
.main.wrapper.content-engagement {
	background-color: rgba(31,33,37, .8);
}
.main.wrapper.content-horlogerie {
	margin-bottom: 2rem;
}

.luxeforyou {
	margin-bottom: 6rem;
	width: 50%;
	max-width: 550px;
}

/* Réalisations */
.modale {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 10000;
	background: rgba(0,0,0,.75);
	padding: 2rem;
	overflow-y: auto;
	transition:  all .3s ease-in-out;

	opacity: 0;
	pointer-events: none;
}

.modale .main.wrapper {
	pointer-events: none;
}

.modale.open {
	opacity: 1;
	pointer-events: all;
}

.modale.open >div {
	transform: scale(1);	
}

.modale.open .main.wrapper {
	pointer-events: all;
}

.close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 40px;
	padding: 2rem;
	opacity: .75;
	color: #286eae;
	transition:  all .3s ease-in-out;
	z-index: 2;
}

.close:hover {
	color:  black;
}

.modale >div {
	display: flex;
	align-items: center;
	min-height: 100%;
	width: 100%;
	transform: scale(.2);
	transition:  all .5s ease-in-out;
}


.modale >div .slickslider {
	width: 100%;
}

.modale .slick-slide {
	height: auto;
}

.modale .slick-slide img,
.modale .slick-slide.slick-current img {
	position: static;
	transform: none;
	opacity: 1;
	display: inline-block;
}

.slide .flex {
	display: flex;
	flex-direction: column;
}

@media (min-width : 800px) {
	.slide .flex {
		flex-direction: row;
	}
}

.slide h2 {
	font-weight: 600;
	letter-spacing: 5.6px;
	text-align: center;
	text-transform: uppercase;
	border-bottom: solid .5px rgba(20,20,20,.75);
	padding-bottom: 18px;
}

.slide figure.image {
	text-align: center;
}
@media (min-width : 800px) {
	.slide figure.image {
		width: 50%;
	}
}

.slide figcaption {
	color: rgb(20,20,20); 
	font-weight: 500;
}

.slide .contenu {
	display: flex;
	align-items: center;
}

@media (min-width : 800px) {
	.slide .contenu {
		width: 50%;
	}
}

.slide .main.wrapper {
	margin-top: 0;
	margin-bottom: 0;
}

/* Contact */
.main.wrapper.content-contact {
	width: 50%;
	margin-top: 6em;
	float: right;
	background: rgba(230,230,230,.7);
	padding: 2em;
	color:#000000;
}
.main.wrapper.content-contact h1 {
	border-bottom: solid .5px rgba(20,20,20,.75);
	margin-bottom:1em;
}

.main.wrapper.content-contact .employee .profil{
	margin-bottom:1em;
}
.main.wrapper.content-contact .employee .profil img{
	border-radius: 50%;
}
.main.wrapper.content-contact .employee {
	text-align: center;
	line-height: 1;
}
.main.wrapper.content-contact .employee .email {
	text-transform: uppercase;
	color: #323675;
	font-size: .8em;
}
.main.wrapper.content-contact .employee .name {
	text-transform: uppercase;
	letter-spacing: 1px;
}

.main.wrapper.content-contact .employee .jobTitle {
	font-size: .8em;
}

.main.wrapper.content-contact .contact-adresse {
	max-width: 350px;
	margin: auto;
	border-top: solid .5px rgba(20,20,20,.75);
	border-bottom: solid .5px rgba(20,20,20,.75);
	padding: 1em 1em 0 1em;
	text-align: center;
}
.main.wrapper.content-contact .contact-adresse h4 {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: normal;
	font-size: 1em;
}

.main.wrapper.content-contact .contact-adresse p {
	text-align: center;
}

/* formulaire */
.formulaire input,
.formulaire textarea {
	width: 100%;
	background : white;
	border: none;
	margin:0;
}
.formulaire p {
	text-align: left;
}
.formulaire label {
	display: none;
}
.formulaire input::-webkit-input-placeholder,
.formulaire textarea::-webkit-input-placeholder
{ /* Chrome/Opera/Safari */
	color: rgba(100,100,100,.5);
}
.formulaire input::-moz-placeholder,
.formulaire textarea::-moz-placeholder
{ /* Firefox 19+ */ 
	color: rgba(100,100,100,.5);
}
.formulaire input:-ms-input-placeholder,
.formulaire textarea:-ms-input-placeholder
{ /* IE 10+ */
	color: rgba(100,100,100,.5);
}
.formulaire input:-moz-placeholder,
.formulaire textarea:-moz-placeholder
{ /* Firefox 18- */
	color: rgba(100,100,100,.5);
}
.formulaire input[type="submit"] {
	background: #6d92b5;
	border:1px solid #6d92b5;
	color: white;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .8em;
}
.formulaire input[type="submit"]:hover {
	background: white;
	color: #6d92b5;
}
.popup {
	width: 100%;
	height: 100%;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	background: rgba(0,0,0,.2);
}

.popup .box {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: rgba(0,0,0,.5);
	padding: 2em;
	color: white;
}
.popup .closer {
	position: absolute;
	top: 0;
	right: 0;
	width: 2em;
	height: 2em;
	text-align: center;
	line-height: 2;
	font-family: sans-serif;
	background: gray;
}

/* FOOTER */
.footer-container {
	position: fixed;
	width: 100%;
	bottom: 0;
	background-color: #1F2125;
	padding-bottom: .6rem;
}
footer {
	max-width: 1200px;
	margin: auto;
	position: relative;
	z-index:10;
	color:#8c8c8d;
	letter-spacing: 1px;
	font-size: .8em;
	padding-top: .6em;
}
footer a{
	color: #6fb5f5;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: normal;
	letter-spacing: 1px;
	font-size: .8em;
}
footer a:hover,
footer a:focus,
footer a:active
{	
	color: #c7c7c7;
}
.footer-container .background {
	position: absolute;
	background-color: rgba(31,33,37,.75);
	width: 100%;
	height: 30px;
	top:0px;
	left:0;
	z-index: 0;
}
.ref,.ref2 {text-align: center;}
.ref img,
.ref2 img{
	width: 25.5%;
	margin: auto;
}
.ref2 img {
	width: 11%;
}

/* Petits  écrans ----------- */
@media only screen and (max-width : 1000px) {
	/* Contact */
	.main.wrapper.content-contact{
		width: 60%;
	}
	
	.bgaccueil { 
		background-position: 59% 0;
		background-size: auto 165%;
	}
}
/* Smartphones (portrait) ----------- */
@media (max-width : 840px) {
	
	

	/*GENERAL */

	.nofloatmobile{
		float: none;
	}
	.mobaligncenter{
		text-align: center;
	}
	.inlinemob{
		display: inline;
	}

	/* MENU */
	header nav .lang {
		position: static;
		right: auto;
		text-align: center;
		margin-bottom: 1em;
	}

	header nav ul {
		margin-top: 1em;
		margin-bottom: 0;
	}

	header nav ul li {
		width: 100%;
		margin: 0;
	}

	header nav ul .menu {
		background: black;
		margin-top: 1em;
	}
	header nav ul li {

		padding-top: .2em;
		padding-bottom: .2em;
	}
	nav>a {
		background-color: black; 
		text-align: center;
		width: 100%;
		display: block;
	}
	header nav .submenu {
		display: block;
		width:100%;
		font-size: .85em;
		transform: none;
		padding-top:0;
	}
	header nav .submenu li{
		background: none;
	}
	header nav .submenu .arrow-container {
		display: none;
	}

	/* HEADER */
	.header-container {
		position: inherit;
	}
	header nav {
		font-size: 1.2em;
		line-height: 1;
		padding-left: 0;
		padding-right: 0;
	}
	header nav ul {
		position: inherit;
		margin-left: 0;
		padding-left: 0;
	}
	header nav > ul > li {
		margin: 0;
		display: block;
		text-align: center;
	}
	header .background {
		display: none;
	}
	header .background-picto {
		display: none;
	}
	header .logo {
		height: 85px;
		position: inherit;
	}

	
	
	/* CONTENT */
	.main-container{
		min-height: auto;
	}
	.main.wrapper p{
		font-size: 1.2em;
		text-align: justify;
	}
	.main.wrapper p.aligncenter{
		text-align: center;
	}
	.main.wrapper {
		width: 100%;
		margin-bottom: 15em;
		margin-top: 2em;
		padding: 1em;
		margin-left: auto;
		margin-right: auto;
		background-color: rgba(31,33,37, .85);
	}
	/* Acceuil */
	.main.wrapper.content-accueil{
		float: none;
		width: 100%;
		margin-top: 1em;
		margin-right: auto;
		margin-left: auto;
	}
	.bgaccueil {    
		background-position: 67.7% 0;
		background-size: auto 155%;
	}

	/* Ateliier Galerie*/ 

	.main.wrapper.galerie {
		width: 100%;
		margin-bottom: 1rem;
	}
	.main.wrapper.galerie a {
		margin-left: 16px;
		width: calc(33.3% - 16px);
		margin-bottom: 16px;
	}
	.main.wrapper.galerie a:first-of-type {
		margin-left: 0;
	}

	.main.wrapper.galerie a:nth-of-type(3n+1) {
		margin-left: 0;
	}

	/* Savoir-faire */
	.main.wrapper.content-savoir-faire{
		float: none;
		width: 100%;
		margin-top: 1em;
		margin-left: 0;
	}
	.bgsavoirfaire {
		background-position: 70% 0;
		background-size: auto 130%;
	}
	/* Bureau Technique */
	.main.wrapper.content-bureau-technique{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	.bgbureautechnique {
		background-position: 73.5% 0;
		background-size: auto 140%;
	}
	/* Production */
	.main.wrapper.content-production{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	/* Atelier de terminaison */
	.main.wrapper.content-atelier-terminaison{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	/* Réalisations */
	.main.wrapper.content-realisations{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	/* Pieces horlogères */
	.main.wrapper.content-pieces-horlogeres{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	/* Habillages horlogers */
	.main.wrapper.content-habillages-horlogers{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	/* Clients */
	.main.wrapper.content-clients{
		float: none;
		width: 100%;
		margin-top: 1em;
	}
	/* Contact */
	.main.wrapper.content-contact{
		float: none;
		width: 100%;
		margin-top: 15em;
	}


	.luxeforyou {
		margin-bottom: 6rem;
		width: 100%;
		max-width: 100%;
	}

	
	/* SLIDER */
	.ref img{
		width: 70%;
		margin: auto;
	}
	.ref2 img{
		width:30%;
		margin: auto;
	}

	/* FOOTER */

	.footer-container{
		position: relative;
		margin-bottom: 0;
		padding-bottom: 2em;
		font-size: 1.5em;
		background-color: #1F2125;
	}

	.footer-container .wrapper{
		padding-top: 1em;
		padding-bottom: 1em;
	}
	.footer-container .wrapper span{
		color: #8c8c8d;
	}
	.footer-container .wrapper a{
		padding-top: .5em; 
		padding-bottom: .5em;
		display: block;
	}

	.footer-container .wrapper a:nth-of-type(2){
		padding-top: 0;
	}

	.footer-container .background {
		display: none;
	}
	
	footer>div>div  {
		display: block;
		text-align: center;
	}
	
}
