/* CSS Spirit of Limba */

/************************************ 
FONT FACE
************************************/
@font-face {
	font-family: SimplonNorm-Regular;
	src: url(../font/SimplonNorm-Regular.otf);
	font-weight: normal;
}

@font-face {
	font-family: SimplonNorm-Medium;
	src: url(../font/SimplonNorm-Medium.otf);
	font-weight: normal;
}

/************************************ 
HTML LAYOUT & STYLE
************************************/
body {
	background-color: white;
	font-family: SimplonNorm-Regular;
	color: #A7A9AB;
}

span.nobreak {
	white-space: nowrap;
}

#header {
	position: fixed;
	top: 0;
	width: calc(100% - 100px);
	height: 80px;
	display: block;
	background: #fff;
	z-index: 9;
	/*padding: 16px 0 16px 0;*/
	/*text-align: center;*/
	/*padding: 0px 0 6px 0;*/
	padding: 0 50px;
}

nav.menu {
	text-align: center;
	height: 100%;
	margin: 16px 0 0 0;
	float: left;
	width: calc(100% - 168px);
}

img.logo {
	width: 84px;
	height: 48px;
	margin: 16px 0 0 0;
	display: block;
	float: left;
}

nav.menu ul {
	margin: 16px 0 0 0;
}

nav.menu ul li {
	display: inline;
	padding: 0 10% 0 0;
}

nav.menu ul li:last-child {
	padding: 0;
}

nav.menu ul li a {
	font-family: SimplonNorm-Regular;
	font-size: 1.2em;
	text-decoration: none;
	color: #A7A9AB;
}

a.fb-link {
	float: right;
	margin: 16px 0 0 0;
}

img.fb-icon {
	width: 38px;
	height: 38px;
	margin: 5px;
}

#fullpage .bg {
	height: 60%;
	max-height: 800px;
	text-align: center;
}

#fullpage .bg h1 {
	font-family: SimplonNorm-Medium;
	letter-spacing: 6pt;
	font-size: 8em;
	color: white;
	padding: 25vmin 0 0 0;
}

#section0 .bg {
	background: url(../img/bienvenue.jpg) no-repeat center bottom;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    background-size: cover;
}

#section1 .bg {
	background: url(../img/maulem5.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    background-size: cover;
}

#section2 .bg {
	background: url(../img/formation.jpg) no-repeat center top;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    background-size: cover;
}

#section3 .bg {
	background: url(../img/contact.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    background-size: cover;
}

.wrap {
	display: table;
	width: 100%;
	height: 40%;
}

.subwrap {
	display: table-cell;
	vertical-align: middle;
}

.colwrap {
	display: table;
	width: 100%;
	margin: 0 auto;
	padding: 15px;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.col1 h2 {
	font-size: 2.4vmin;
	line-height: 1.2em;
	font-family: SimplonNorm-Medium;
	text-transform: uppercase;
	text-align: left;
}

.col2, .col3 {
	font-size: 2.3vmin;
	line-height: 1.2em;
	text-align: left;
}

.col1, .col2, .col3 {
	display: table-cell;
	width: 30%;
	padding: 30px;
	vertical-align: top;
}

.contact1, .contact2, .contact3 {
	display: table-cell;
	width: 30%;
	padding: 15px 20px 15px 20px;
	vertical-align: center;
	text-align: center;
	/*box-sizing: border-box;*/
}

.contact2 {
	border-right: 2px solid #A7A9AB;
	border-left: 2px solid #A7A9AB;
}

@media screen and (max-width: 900px) {
	
	#header {
		height: auto;	
	}
	
	img.logo {
		margin: 0 0 0 20px;
	}

	nav.menu ul {
		display: inline-block;
		padding: 0;
	}

	nav.menu ul li {
		display: block;
		padding: 0;
	}
	
	nav.menu ul li a {
		font-size: 0.8em;
	}

	#fullpage .bg {
		margin-top: 25px;
		height: 30%;
	}

	#fullpage .bg h1 {
		padding: 1.7em 0 0 0;
		font-size: 1.8em;
	}

	.col1, .col2, .col3, .contact1, .contact2, .contact3 {
		display: block;
		width: 100%;
		margin: 0 auto;
		padding: 10px 20px 10px 20px;
		border: 0;
		font-size: 2.8vmin;
		-webkit-box-sizing: border-box;
     	-moz-box-sizing: border-box;
        box-sizing: border-box;
	}
}