html, body {padding:0; margin:0; background:#7F744B; width:100%;font-family: 'Lato', 'Verdana',sans-serif;font-weight:400}
.clear,.break {clear:left}
#page {padding-top:40px;width:100%;background:#DDD}

/**********************************
	General
***********************************/

#main		{ 	float: left; width: 100%;margin-bottom:15px;background:#DDD }
.videos		{ 	margin: 0 200px 0 230px;background:#DDD }
.folders	{ 	float: left; width: 230px;  }
.side		{	float: left; width: 200px; 	margin-left: -200px;margin-bottom:15px;background:#DDD }
.inner		{	padding: 15px; }
.notice {background:url(../pics/maquette/bg_notice.png) left top;padding:10px 15px;margin-bottom:15px;color:#7F744B;font-size:1.6em;font-weight:bold}

@media screen and (min-width:0em) and (max-width: 50em ) {.side, .folders, .videos {float:none;width:100%;margin-left:0px} .side{clear:left}}

/**********************************
	Menu / Header
**********************************/
header {
position: fixed;
background: #AA9C65;
height: 40px;
max-height: 40px;
width: 100%;
z-index: 500;
}

#menu { width: 100%; }

header .logo {margin:4px 30px 0px 10px;float:left;width:190px;}
#menu ul {float:left;margin:8px 0px;}
#menu li {display:inline;padding-right:20px}
#menu li.icon {padding-right:8px;}
#menu form {display:inline; margin:0px}
#menu A {color:white;font-weight:bold;text-decoration:none}
#menu A:hover {color:#786B3B;}
#menu .search {text-align:left;display:inline-block;float:left;padding:7px 0px 0px}
#menu .search input {color:white;padding:3px 6px;background:#938757;border:0px;font-size:11px}
#menu .search input.submit {width:40px;font-size:10px}
#menu .search input:focus {outline:0}
#menu .choix .options img {display:none}
#menu .choix .options span {display:inline}
#menu .icons {text-align:right;float:left;position:absolute;right:220px;border:0px}
@media screen and (max-width: 70em ) {  #menu .icons  {float:normal;position:relative;right:0px;text-align:left}}
@media screen and (max-width: 50em ) {  #menu .icons  {text-align:right;float:left;position:absolute;right:20px;}}
@media screen and (max-width: 45em ) {  #menu .choix {padding:3px 0px 3px 15px;background:#9A8C55;height:35px;float:none;display:block;clear:left;}  }
@media screen and (max-width: 25em ) {
#menu .choix .options img {display:inline}
#menu .choix .options span {display:none}
#menu .choix .options li {padding:0px;padding-right:8px}
}
@media screen and (max-width: 50em ) {  #menu .search {display:none}  }

.sousmenu {height:50px;width:100%;background:#FFF}
.sousmenu .dedans {padding:15px 15px 0px 25px}
.sousmenu .titre {float:left;text-align-left;color:#AA9C65}
.sousmenu .options {text-align:right;float:left;position:absolute;right:200px;border:0px}
.sousmenu span {padding-right:15px}
.sousmenu A {color:#AA9C65;text-decoration:none;font-weight:bold}
.sousmenu A.plus {color:#CDC5A5;}
.sousmenu A:hover {color:#8A7C45;}
@media screen and (max-width: 50em ) {   .sousmenu .options {position:absolute;right:15px}}


#view .sousmenu .options {right:250px}
@media screen and (max-width: 55em ) {  #view .sousmenu .options {position:absolute;right:15px}}
@media screen and (max-width: 45em ) {  #view .sousmenu {margin-top:30px;}}


.backupmenuoptions {height:50px;width:100%;background:#C9C9C9}
.backupmenuoptions .dedans {padding:15px 15px 0px 35px;color:white}
.backupmenuoptions .titre {float:left;text-align-left;color:#AA9C65}
.backupmenuoptions .options_3 {text-align:right;float:left;position:absolute;right:210px}
@media screen and (max-width: 45em ) {  .backupmenuoptions .options_3 {text-align:left;position:inline;display:block;float:normal;height:50px;background:red;}}
@media screen and (max-width: 60em ) {  .backupmenuoptions .options_3 {background:red;position:relative;margin-top:15px;right:0px;text-align:left;width:100%}}
.backupmenuoptions span {padding-right:15px}

.menuoptions {height:50px;width:100%;background:#C9C9C9}
.menuoptions .dedans {padding:15px 15px 0px 30px;color:white}
.menuoptions .titre {float:left;text-align-left;color:#AA9C65}
.menuoptions span {padding-right:15px}
.menuoptions .options_3 {text-align:right;float:left;position:absolute;right:210px}
@media screen and (max-width: 65em ) {  .menuoptions {height:70px;}
.menuoptions .options_3 {position:relative;margin-top:8px;right:0px;text-align:right;width:100%}}
@media screen and (max-width: 50em ) {  .menuoptions {height:50px;}
.menuoptions .options_3 {float:left;position:absolute;right:15px;margin-top:0px}}
@media screen and (max-width: 35em ) {  .menuoptions {height:70px;}
.menuoptions .options_3 {position:relative;margin-top:8px;right:0px;text-align:right;width:100%}}


.menuoptions A {color:#FFF;text-decoration:none;margin-right:10px;}
.menuoptions A.plus {color:#888;}
.menuoptions A.current {border-bottom:3px #AA9C65 dotted}
.menuoptions A:hover {color:#EAE6D8;}




/**********************************
	Folders / Categories
**********************************/
.folders {background-color:#1F212F}
.folders span {color:#999;}
.folders ul {padding-left:0px;margin-top:0px}
.folders li:hover {background:#303140}
.folders li {padding:2px 10px;list-style-type: none;}
.folders A:hover {color:#FFF;}
.folders .mid A,.folders .mid_2 A  {color:#BBB;text-decoration:none;}
.folders #all_folder {cursor:pointer;margin-left:15px}
.folder_invisible {display:none;}

@media screen and (min-width: 0em ) {
  .folders .mid {float:left;width:30%}
  .folders .mid_2 {border-left:1px solid #444;}
  .folders {font-size:11px}
  .folders .mid A,.folders .mid_2 A  {font-size:12px;line-height:13px}
}

@media screen and (max-width: 45em ) {  .folders{margin-top:35px}}


@media screen and (min-width: 50em ) {
	.folders .mid {float:none;width:100%}
	.folders .mid_2 {border:0px;margin:0px}
	.folders ul {margin:0px}
	.folders .mid A,.folders .mid_2 A  {color:#BBB;text-decoration:none;font-size:13px;line-height:20px}
}


/**************************************
	Videos / Previews (2)
**************************************/
.links {margin:4px 0px}
.thumb_link {width:22%;margin:0px 4px 2px 0px;}

.videos .video,.videos .video_only_one {display:inline-block;vertical-align:top}
.videos .video img.thumb,.videos .video_only_one img.thumb {width:100%}
.videos .aussi {float:left;width:20%;}
.videos .aussi img,.video-view .aussi img {width:100%}
.video-view .aussi {float:left;width:18%;margin:0px 8px 10px 0px}
.video-view .aussi {display:block;vertical-align:top;}

.to_like,.to_dislike {padding:1px 4px;cursor:pointer}
.to_like:hover,.to_dislike:hover {color:#AA9C65;background:white;color:black;font-size:10px;border:1px solid #AA9C65}
#view .to_like:hover,#view .to_dislike:hover {font-size:15px}
@media screen and (min-width: 0em ) 	{	.videos .video {width:97%;} }
@media screen and (min-width: 32em ) 	{	.videos .video {width:46%;} }
@media screen and (min-width: 40em ) 	{	.videos .video {width:30%;} }
@media screen and (min-width: 50em ) 	{	.videos .video {width:97%;} }
@media screen and (min-width: 70em ) 	{	.videos .video {width:47%;} }
@media screen and (min-width: 85em ) 	{	.videos .video {width:31%;} }

/*** Affichage special Index/Homepage + Timeline ****/
@media screen and (min-width: 0em ) 	{	.special .videos .video {width:44%;} }
@media screen and (min-width: 32em ) 	{	.special .videos .video {width:28%;} }
@media screen and (min-width: 40em ) 	{	.special .videos .video {width:21%;} }
@media screen and (min-width: 50em ) 	{	.special .videos .video {width:43%;} }
@media screen and (min-width: 70em ) 	{  	.special .videos .video {width:30%;} }
@media screen and (min-width: 85em ) 	{	.special .videos .video {width:22%;} }

.video,.video_only_one {border:1px solid #CCC;margin:8px 8px 8px 8px;background:#FFF}
.video .info,.video_only_one .info {padding:3px 9px 5px 9px;line-height:19px;background:#FFF;font-size:13px;}
.info A {text-decoration:none;font-weight:700;}
.info A.cat {font-weight:400;}
.info A.titre,.info A.cat {color:#AA9C65}
.info A:hover {color:#8A7C45;}

.videos .info .tags {margin-top:10px; }
.videos .info A.tags,.side .info A.tags {text-decoration:none;color:#7F744B;padding:0px 4px;border-radius:8px;background:#E4E2D7;border:1px #F6F5EF solid }
.videos .info A.tags:hover,.side .info A.tags:hover {background:#DACC95;color:white;border:2px #DACC95 solid }

.video img.vote,.video img.novote,.video_only_one img.vote,.video_only_one img.novote {height:12px}
.video .to_like:hover,.video .to_dislike:hover,.video_only_one .to_like:hover,.video_only_one .to_dislike:hover {
font-size:11px;color:#AA9C65;background:white;color:black;height:10px;border:1px solid #AA9C65
}
.folder {text-align:center;background:#FFF}
.folder A {color:#DDD;text-decoration:none;}
.folder .info {background:#AA9C65;}
.folder .info A {color:white;}
.folder .info:hover A {color:#7A6C35;}



/****** Effets hover ******************/
.video img,.video_only_one img{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}
.video figure:hover img,.video_only_one figure:hover img{opacity:0.5;-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}
.video figure,.video_only_one figure{opacity:1;background:#AA9C65;overflow:hidden;margin:0px;padding:0px}
.video figure img,.video_only_one figure img{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}

/**************************************
	View / Video
**************************************/
#view #main{
float: left;
width: 100%;
}

#view div.gauche{
margin-right: 240px; /*Set right margin to RightColumnWidth*/
}

#view div.droite{
float: left;
width: 240px; /*Width of right column in pixels*/
margin-left: -240px; /*Set left margin to -(RightColumnWidth) */
padding-bottom:15px;
background:#DDD
}

.view-info {
width:100;
background:white;
font-size:14px;
}

.view-info .cat {color:#AA9C65;text-decoration:none;}
.view-info .cat:hover {color:#CABC85;}
.view-info h3 {margin:0px 0px 5px;padding:0px;line-height:18px;font-size:24px }
.view-info .votes {margin-top:10px; }
.view-info .tags {margin-top:10px; }
.view-info A.tag {text-decoration:none;padding:0px 4px;border-radius:8px;background:#AA9C65;color:white;border:2px #AA9C65 solid }
.view-info A.tag:hover {background:#DACC95;color:white;border:2px #DACC95 solid }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,.video-container object,.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#view .droite .video,#view .droite .video_only_one {float:left;}


@media screen and (max-width: 55em ) 	{
	#view #main {float:none; }
	#view div.droite {float:none; width:100%;margin-left:0px}
	#view div.gauche {margin-right:0px}
	#view .droite .video,#view .droite .video_only_one {display:inline-block;width:45%;}
}

@media screen and (max-width: 35em ) 	{
	#view .droite .video,#view .droite .video_only_one {display:inline-block;width:95%;}
}


/**************************************
	Browse categories
**************************************/
.browse {width:97%;margin-bottom:1%;padding:7px 10px;background:#FFF}
.browse .thumb {float:left;width:35%}
.browse .thumb img {width:100%}
.browse .liste {float:left;width:60%}
.browse .cat_level_2 {clear:left;}
.browse .cat_level_3 {float:left;display:inline;padding-left:5px}
.browse .main {font-weight:bold;font-size:1.4em}

.browse li {padding:2px 10px;list-style-type: none;}
.browse A {color:#AA9C65;text-decoration:none;}
.browse A:hover {color:#8A7C45;background:#ECEBE8}


/**************************************
	Browse playlists
**************************************/
.playlist {float:left;width:46%;margin-right:1%;margin-bottom:1%;padding:7px 10px;background:#FFF}
.playlist .thumb {float:left;width:35%}
.playlist .thumb img {width:100%;border:0px}
.playlist .liste {float:left;margin-left:8px;width:60%}
.playlist .cat_level_2 {clear:left;}
.playlist .cat_level_3 {float:left;display:inline;padding-left:5px}
.playlist .main {font-weight:bold;font-size:1.2em}

.playlist li {padding:2px 10px;list-style-type: none;}
.playlist A {color:#AA9C65;text-decoration:none;}
.playlist A:hover {color:#8A7C45;background:#ECEBE8}
@media screen and (max-width: 75em ) 	{
	.playlist {width:97%;margin-right:0}
}

/**************************************
	Pagination
**************************************/
.pagination {padding:0px 0px 5px 10px;}
.pagination a,.pagination span {border:1px solid #AA9C65;padding:2px 4px;color:#AA9C65;text-decoration:none;margin-right:2px}
.pagination span {border:1px solid #D4CDB2;color:#D4CDB2;}
.pagination span.current {border:1px solid #AA9C65;color:#AA9C65;background:white}
.pagination a:hover{border:1px solid #AA9C65;background:white;padding:2px 4px;color:#AA9C65}

/**************************************
	Submit a link
**************************************/
#contact .videos {background:#6F643B;color:#D4CDB2;}
#contact .videos .col {text-align:left;font-size:1.4em;margin:0px;padding:0px;float:left;width:44%}
#contact .videos .sep {border:0px;width:8%;height:20px}
#contact .videos .col.info {font-size:1.2em;text-align:right;line-height:1.8em}
#contact .videos .col.info p {margin:0px 0px 15px 0px}
#contact .videos .form div {margin-bottom:20px;width:97%}
#contact .videos .form input {width:100%;padding:5px 9px;font-size:1.4em;background:#6F643B;border:0px;color:#4F441B; border-bottom:3px solid #4F441B}
#contact .videos .form input[type=submit] {width:100%;background:#2F240B;color:white}
#contact .videos .form textarea {margin-top:15px;width:100%;padding:5px 9px;font-size:1.4em;border:0px;background:#4F441B;color:white}
#contact .videos .notice {color:white;}

#contact .videos .form input:focus {border:0px}
@media screen and (max-width: 57em ) 	{
	#contact .videos .col.info {font-size:1.0em;}
}
@media screen and (max-width: 45em ) 	{
	#contact .videos .col.info {text-align:left;}
	#contact .videos .sep {border-top:1px dashed #4F441B}
}


/**********************************
	Affichage specifique
***********************************/
#timeline .video .header {padding:5px 9px 5px 9px;background:#AA9C65;font-size:13px;}
#timeline .video .header .when {font-size:9px;float:left;text-align:right;width:50%;letter-spacing:2px;color:#6A5C25;}
#timeline .video .header .what {float:left;width:50%;}
#timeline .video .header .what span {letter-spacing:1px;font-size:12px;color:#FFF;}

@media screen and (max-width: 55em ) 	{ #timeline .header .when {float:none;text-align:left} #timeline .header .what {width:90%} }

.rub {padding:8px 5px;margin-bottom:15px;background:url("../pics/maquette/bg_rub.png") top left;}
.rub h3 {margin:0px;margin-left:10px;color:#AA9C65;}

/**********************************
	Footer
***********************************/

footer {
		clear: left;
		width: 100%;
		background: #7F744B;
		color: #FFF;
		text-align: center;
		padding: 4px 0;
}

footer .col3 p {margin:0px;margin-bottom:3px; }

footer .inner{width:80%;margin:0 auto}
footer .col4 img {width:80%}
footer A {color:#CABC85;text-decoration:none}
footer A:hover {color:#FFF}
footer .search {width:50%}
footer .search input {color:white;padding:3px 6px;background:#938757;border:0px;font-size:13px}
footer .search input.submit {width:50px;font-size:10px}
footer .search input:focus {outline:0}

@media screen and (max-width: 45em ) 	{ footer .col2,footer .col3  {padding:3px 0px;border-top:1px solid #7A6B43} footer .col4 {padding:8px 0px} footer .col4 img {width:60%} }


/********************
 	Sides / Modules
********************/
.side .inner		{	padding: 0px; }
.side .video		{	margin: 0px; border: 0px}

.side img.thumb,.droite img.thumb {width:100%}
.cloud A.tag_smallest {font-size:13px;margin-right:2px;color:#B3A675}
.cloud A.tag_small {font-size:16px;color:#BBB084}
.cloud A.tag_medium {font-size:20px;color:#C4BA94}
.cloud A.tag_large {font-size:24px;color:#CCC4A3}
.cloud A.tag_largest {font-size:28px;color:#D5CEB2}
.cloud A {text-decoration:none;}
.cloud A:hover {color:#CCC;background:#B3A675;color:#1F212F}
.cloud {background:#1F212F;padding:7px 10px}

#tags .videos .cloud A.tag_smallest {font-size:1.4em;}
#tags .videos .cloud A.tag_small {font-size:2.0em;}
#tags .videos .cloud A.tag_medium {font-size:2.7em;}
#tags .videos .cloud A.tag_large {font-size:4.0em;}
#tags .videos .cloud A.tag_largest {font-size:5em;}
#tags .videos .cloud A {margin-right:5px}
#tags .cloud {background:#1F212F;padding:12px 15px}
@media screen and (max-width: 50em ) 	{ .cloud {margin:0px;} #tags .videos .inner {padding:0px;} }

.side .playlists_liste div {background:white;padding:7px 10px;margin-bottom:1px}
.side .playlists_liste div.last {margin-bottom:0px}
.side .playlists_liste A {font-size:1em;color:#AA9C65;text-decoration:none;}
.side .playlists_liste span {color:#7F744B;}
.side .playlists_liste A:hover {color:#8A7C45;background:#ECEBE8}
@media screen and (max-width: 50em ) 	{ .side .playlists_liste A {font-size:1.4em} }

#view .droite .inner		{	padding: 0px; margin: 15px;}
#view .droite .header,.side .header {text-align:center;height:38px !important;height:50px;width:100%;background:#AA9C65;padding-top:12px;display:block}
#view .droite .header span,.side .header span {font-weight:bold;color:white;font-size:1.3em;color:#ECEAE2}
@media screen and (max-width: 50em ) 	{ #view .droite .header,.side .header {display:none;} }
#view .droite .entete,.side .entete {text-align:center;height:38px !important;height:50px;width:100%;background:#7F744B;padding-top:12px}
#view .droite .entete span,.side .entete span {font-weight:bold;color:white;font-size:1.3em;color:#ECEAE2}


/********************
	Divers
*********************/
::-webkit-input-placeholder {   color:    #AEA581; }
:-moz-placeholder 		{	color:    #AEA581; }
::-moz-placeholder 		{	color:    #AEA581;}
:-ms-input-placeholder 	{	color:    #AEA581; }



/************************************************************************************
COLUMN
*************************************************************************************/
.col {
	float: left;
	margin-left: 3.2%;
	margin-bottom: 5px;
text-align:left;
}
.fullwidth .col {
	float: none;
	margin-left: 0;
}
/* grid4 col */
.grid4 .col {
	width: 22.6%;
}
/* grid3 col */
.grid3 .col {
	width: 31.2%;
}
/* grid2 col */
.grid2 .col {
	width: 48.4%;
}
/* clear col */
.grid4 .col:nth-of-type(4n+1),
.grid3 .col:nth-of-type(3n+1),
.grid2 .col:nth-of-type(2n+1) {
	margin-left: 0;
	clear: left;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* reset cols to 3-column */
@media screen and (max-width: 1290px) {
	/* grid4 */
	.grid4 .col {
		width: 31.2%;
	}
	.grid4 .col:nth-of-type(4n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid4 .col:nth-of-type(3n+1) {
		margin-left: 0;
		clear: left;
	}
.grid2 .col {
	width: 48.4%;
}
}

/* reset cols to 2-column */
@media screen and (max-width: 920px) {
	/* grid4 */
	.grid4 .col {
		width: 48.4%;
	}
	.grid4 .col:nth-of-type(3n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid4 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}

	/* grid3 */
	.grid3 .col {
		width: 48.4%;
	}
	.grid3 .col:nth-of-type(3n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid3 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
}

/* reset cols to fullwidth */
@media screen and (max-width: 660px) {
	/* grid4 */
	.col {
		width: 100% !important;
		margin-left: 0 !important;
		clear: none !important;
	}
}

.card {
  background: #fff;
  -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.22);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.22);
  border-radius: 4px;
}

.card-wrapper {
  border-radius: 4px;
}

.card-image {
  width: 100%;
}

.card-image img {
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.card-info {
  padding: 10px 16px;
  color: rgb(33, 25, 34);
  text-align: left;
}

.cards {
        margin: auto; /* center grid */
      }

      .card {
        width: 200px;
        overflow: hidden;
        opacity: 1; /* hide card while loading */

      }

      .card--loaded {
        opacity: 1;
      }

      /* change card size for small screens */
      @media (max-width: 600px) {
        .card { width: 156px; }
      }