/***** Conteneur principal *****/

main {
	background-color: transparent;
	display: block;
	margin: 58px auto 15px auto;
	left: 0; right: 0;
	position:relative; 
        height: auto;
	width: 1280px;
}

@media screen and (max-width: 1280px) {
	main {
		width: 1066px;
	}
}

@media screen and (max-width: 1080px) {
	main {
		width: 640px;
	}
}

@media screen and (max-width: 639px) {
	main {
		width: 360px;
	}
}


/***** Navigation *****/

nav {
	background-color: #FFF;
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
	display: block;
	height: auto;
	left: 864px;
	top: 0;
	padding: 15px;
	position: absolute;
	text-align: justify;
	width: 386px;
}

.item {
	border-bottom: 1px solid #E8E8E8;
	display: block;
	clear: both;
	margin-bottom: 5px;
	padding-bottom: 5px;
	min-height: 94px;
}

#last {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.preview {
	display: block;
	float: left;
	height: 94px;
	margin: 0 5px 0 0;
	width: 168px;
}

@media screen and (max-width: 1280px) {
	nav {
		left: 650px;
	}
}

@media screen and (max-width: 1080px) {
	nav {
		left: 0px;
		top: 650px;
		height: 305px;
		overflow: scroll;
		width: 610px;
	}
}

@media screen and (max-width: 639px) {
	nav {
		font-size: 0.8em;
		top: 730px;
		width: 330px;
	}
}

nav a {
	color: #401E59; /* Indigo */
 	text-decoration: none;
}

nav a:hover {
	color: #9B4E8D; /* Digitaline */
}


/***** Lecteur vidéo *****/

#player {
	background-color: transparent;
	display: block;
	margin: 0 0 5px 0;
	width: 854px;
}

iframe {
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
	height: 480px;
	width: 854px;
}

@media screen and (max-width: 1280px) {
	#player, iframe {
		width: 640px;
		height: 360px;
	}
}

@media screen and (max-width: 639px) {
	#player, iframe {
		width: 360px;
		height: 202px;
	}
}


/***** Description vidéo *****/

#description {
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
	color: #401E59; /* Indigo */
	background-color: #FFF;
	margin: 0;
	padding: 15px;
	text-align: justify;
        width: 824px;
}

@media screen and (max-width: 1280px) {
	#description {
		width: 610px;
	}
}

@media screen and (max-width: 1080px) {
	#description {
		height: 240px;
		margin-bottom: 360px;
		overflow: scroll;
	}
}

@media screen and (max-width: 639px) {
	#description {
		height: 480px;
		width: 330px;
	}
}


/***** Pied de page *****/

footer {
	color: #FFF;
	font-size: 0.6em;
	letter-spacing: 1px;
	margin-bottom: 5px;
	position: relative;
	text-align: center;
	width: 100%;
}

@media screen and (max-width: 639px) {
	footer img {
		max-width: 340px;
	}
}
