/***** GENERAL *****/

html, body {
	font-family: 'PT Sans Narrow', sans-serif;
	height: 100%;
	width: 100%;
}

h1,h2,h3,h4,h5,h6 {
	margin: 10px 0;
	font-family: inherit;
	font-weight: bold;
	line-height: 18px;
	color: inherit;
	text-rendering: optimizelegibility;
}

h1 small,h2 small,h3 small,h4 small,h5 small,h6 small {
	font-weight: normal;
	line-height: 1;
	color: #999999;
}

h1 {
	font-size: 20px;
	line-height: 30px;
}

p {
	line-height: 20px;
}

ul {
	list-style-type:square;
	margin-left: 3%;
}

ul li {
	line-height: 23px;
}

/***** CONTENT *****/

.container {
	height: 100%;
	margin: 0px auto;
	max-width: 1024px;
}

.content {
	width:90%;
	min-height: 100%;
	margin: 300px auto; 
	position: relative; 
	padding: 0 4% 0 2%;
	z-index: 6;
}

/***** NAVIGATION *****/

.nav {
	position: fixed;
	right: 0;
	list-style: none;
	background-color:rgba(171,171,171,0.5);
	z-index: 9;
	margin-right: 10%;
	min-width: 370px;
}

.nav li {
	line-height: 1.9em;
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	position: relative;
	margin: 0;
	padding: 0;
	text-align: center;
	padding: 0 5% 0 5%;
}

.nav li a{
	font-weight: bold;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
}

.nav li a:hover{
	color: #cc1042;
}

/***** BACKGROUND AND FIXED ELEMENTS *****/

.logo{
	z-index: 5;
	width: 100%;
	max-width: 1024px;
	position: fixed;
	top: 10%;
}
.logo img { 
	display: block; 
	margin-left: auto; 
	margin-right: auto;
	max-width: 15%;
	min-width: 8%;
}

#background {
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: transparent url('../img/bg.png') no-repeat;
	background-size: 90%;
	background-position: 0px 381px;
	z-index: 4;
}

#background-rouge {
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	right: 0;
	background: transparent url('../img/bg2.png') no-repeat;
	background-size: 40%;
	background-position: 100% 0px; 
	z-index: 4;
}

#gradient-top {
	z-index: 4;

	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-8 */

	position: fixed;
	top: 0;
	right: 0;
	height: 40%;
	width: 100%;
}

#gradient-bottom {
	bottom: 0;

	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */

	z-index: 4;
	position: fixed;
	right: 0;
	height:  30%;
	width: 100%;
}

#contact img {
	max-width: 70%;
}


/***** HELPER CLASSES *****/

.transparent {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}

.align-right {
	text-align: right;
}

.align-left {
		text-align: left;
	}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 640px) {
	.logo {
		padding-top: 15%;
	}

	.logo img{
		min-width: 100px;
	}

	#background {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	}

	#background-rouge {
	top : 50%; 
	
	}

	.align-right {
		text-align: center;
	}

	.align-left {
		text-align: center;
	}

	.nav {
		margin: auto;
		width: 100%;
	}

	.nav li {
		padding: 0;
		font-size: .9em;
	}

	#gradient-top {
		padding-top: 100px;
		height: 50%;
	}
}

@media only screen and (max-width : 768px) {
.align-right {
		text-align: center;
	}

	.align-left {
		text-align: center;
	}
	}



@media only screen and (max-width : 1024px) {
	.logo img{
		max-width: 10%;
	}

		h1 {
		line-height: 1em;
		font-size: 1em;

	}

	p, ul li {
		font-size: .9em;
	}

}

@media only screen and (max-width : 1336px) {
	.logo img{
		max-width: 20%;
	}

	h1 {
		line-height: 1.2em;
		font-size: 1.2em;

	}

	p, ul li {
		font-size: 1em;
	}

}

.overall {
	position: relative;
	z-index: 10 !important;
}
