﻿
/* La page prend tout l écran est écrit en verdana si la police n est pas trouvée, le fond est vert */
html 
{
	font-family:Verdana; 
	width:100%;
	height:100%;
	//background:linear-gradient(#FFFFFF, #1C4F7A) no-repeat fixed;
	//background:linear-gradient(#FFFFFF, #5c5a10) no-repeat fixed;
	background-color:#8a8924;
}

/*Le tableau est centré et la taille des caractères est grosse*/
table
{
	font-size:2em;
	margin:auto;
}

/*Taille/couleur/bordure d une cellule*/
td
{
	width:25%;
	border:1px grey solid;
	padding:10px;
	text-align:center;
	background-color:white;
}

body /* corps de la page, centré, a une taille minimale et occupe 80% de l écran */
{
	display:block;
	position:relative;
	width:80%;
	margin:auto;
	font-family:police;
	min-width:875px;
}

/*Le contenu des billet est sous forme d un bloc arrondi blanc aux bordures noirs*/
.contenu
{
	border: 3px solid grey;
	border-radius:10px;
	box-shadow:3px 3px 3px grey;
	padding:7px;
	background-color: white/*rgba(255, 0, 0, 0.5)*/;
}

/*Effet des cartes de billet2.php*/
.cacher{
	transition-property:background-color,display,color; /* Définis les variable a modifier*/
	transition-duration: 1s; /*Temps de lanimation*/
	padding:10px; /*décallage vers l interieur de 10px*/
	top:15px; /*Décalage vers le bas*/
	position:absolute;
	display:inline;
	color:rgba(0,0,0,0); /*invisible*/
	border-radius:30px; /*arrondi les bords*/
	width:180px; /*taille*/
	height:180px; /*taille*/
	text-decoration:none;
}
.cacher a.lien2{color:rgba(255,255,255,0); transition-property:color; transition-duration: 1s;} /*animation pour le lien*/
.cacher:hover a.lien2{color:rgba(255,255,255,1);} /*annimation couleur lien*/
.cacher:hover{display:inline; color:rgba(255,255,255,1); background-color:rgba(0,0,0,0.5);} /* apparition*/

.galery
{
	display:inline-block;
	position:relative;
	margin:10px;
}

.photo_carte
{
	position:absolute;
	display:block;
}

.description_carte
{
	width:70%;
	left:250px;
	position:relative;
	display:block;
}

.comPseudoCarte
{
	display:block;
	position:relative;
	left:65%;
	width:30%;
}

.sujet
{
	border:3px grey solid;
	border-radius:10px;
	padding-left:15px;
	background-color:white;
}

.commentaire
{
	border:3px solid grey;
	border-radius:30px;
	margin:20px;
	padding:10px;
	background-color:white;
}

.div_com
{
	margin-top:20px;
	padding-left:10px;
	border-radius:30px;
	border:3px black solid;
	box-shadow:5px 5px 5px grey;
}

.lien{
	color:white;
	text-decoration:none;
}

.connexion
{
	margin-top:5px;
	margin-bottom:10px;
	padding-top:7px;
	padding-bottom:7px;
	color:white;

	background-color:#824a0f;
	box-shadow:1px 1px 1px grey;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
	.connexion form input{
		border-style:hidden;
	}
/*Titre*/
.tower_defense
{
	display:block;
	position:absolute;
	top:60px;
	left:40px;
	font-size:3em;
	font-family:twdef, arial;
	color:orange;
}

/*.ind cooresspond a l index*/
.ind_description
{
	position:relative;
	display:inline-block;
	width:30%;
}

.ind_photo
{
	position:relative;
	display:inline-block;
}

.ind_score
{
	position:relative;
	display:block;
	font-size:1.5em;
	border:5px grey solid;
	border-radius:10px;
	padding-left: 10px;	
	box-shadow:5px 5px 5px black;
	background-color:white;
}

.banniere
{	
	//border:1px solid blue;
	box-shadow: 1px 1px 1px grey;
	background-image:url("banniere.png");
	background-repeat:repeat;
	border-radius:10px;
	height:150px;
}

/*police d écriture*/
@font-face 
{
    font-family: 'twdef';
    src: url('police4.ttf');
}

@font-face 
{
    font-family: 'police';
    src: url('police3.ttf');
}

input
{
font-family:police;
}
/*-----------------------------   menu   -------------------------------*/
.pli
{
font-size:12px;
color:#999;
}

#menu  /*barre de menu*/
{		
	position:relative;
	width: 100%;
	margin: 0px auto;
	padding: 5px 5px 5px 0px;
	margin-top:10px;
	list-style: none;  
	
	// background: -moz-linear-gradient(#444, #111); 
    // background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));	
	// background: -webkit-linear-gradient(#444, #111);	
	// background: -o-linear-gradient(#444, #111);
	// background: -ms-linear-gradient(#444, #111);
	// background: linear-gradient(#444, #111);
	
	background-color:#824a0f;
	box-shadow:1px 1px 1px grey;
	
	-moz-border-radius: 10px;
	border-radius: 10px;
	// -moz-box-shadow: 0 2px 1px #9c9c9c;
	// -webkit-box-shadow: 0 2px 1px #9c9c9c;
	// box-shadow: 0 2px 1px #9c9c9c;

}

#menu li /*enfant*/
{
	float: left;
	padding: 0 0 10 0; /* Changement 0 0 10 0*/
	position: relative;
	line-height: 0;
	width:auto;
}

#menu a /*titre*/
{
	float: left;
	padding: 15px;
	color: #999;
	text-transform: uppercase;
	font: bold Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
	width:auto;
}

#menu li:hover > a /*illumination*/
{
	color: #fafafa;
}

*html #menu li a:hover /* IE6 */
{
	color: #fafafa;
}

#menu li:hover > ul /*affichage enfant au survol*/
{
	display: block;
}

/* Sub-menu */

#menu ul /*sous menu*/
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 99999;    
	// background: #444;
    // background: -moz-linear-gradient(#444, #111);
    // background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    // background: -webkit-linear-gradient(#444, #111);    
    // background: -o-linear-gradient(#444, #111);	
    // background: -ms-linear-gradient(#444, #111);	
    // background: linear-gradient(#444, #111);
    // -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    // -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    // box-shadow: 0 0 2px rgba(255,255,255,.5);	
	background-color:#824a0f;
	box-shadow:0px 0px 2px blue;
    -moz-border-radius: 5px;
    border-radius: 5px;
	width:auto;
}

#menu ul ul /*enfant de sous menu*/
{
  top: 0;
  left: 150px;
}

#menu ul li /*liste de sous menu*/
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
	width:auto;
}

#menu ul li:last-child /*on enleve les effets*/
{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

#menu ul a /*titre sous menu*/
{    
    padding: 10px;
	height: 10px;
	width: 130px;
	height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
	text-transform: none;
}

*html #menu ul a /* IE6 */
{    
	height: 10px;
}

*:first-child+html #menu ul a /* IE7 */
{    
	height: 10px;
}

#menu ul a:hover /*Coloration au survol*/
{
	// background: #0186ba;
	// background: -moz-linear-gradient(#04acec,  #0186ba);	
	// background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
	// background: -webkit-linear-gradient(#04acec,  #0186ba);
	// background: -o-linear-gradient(#04acec,  #0186ba);
	// background: -ms-linear-gradient(#04acec,  #0186ba);
	// background: linear-gradient(#04acec,  #0186ba);
	background-color:red;
	width:auto	;
	border-radius: 5px;
}

#menu ul li:first-child > a
{
    /*-moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;*/
}

#menu ul li:first-child > a:after /*Triangle bleu*/
{	
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul ul li:first-child a:after /*triangle bleu*/
{	
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #444;
}

#menu ul li:first-child a:hover:after /*triangle bleu tourné ver la gauche*/
{
    border-bottom-color: #04acec; 
}

#menu ul ul li:first-child a:hover:after /*coloration bleu*/
{
    border-right-color: #04acec; 
    border-bottom-color: transparent; 	
}


#menu ul li:last-child > a
{
    /*-moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;*/
}

/* Clear floated elements */
#menu:after /*on cahce tout*/
{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */ 


