
/*** UNIVERSALS ***/

body {
	font-family: verdana;
    line-height: 1.4;
    background-color: #0f1e2b; 
    background-image: url('../images/bg.png');
    margin:0;
    width:100%;
    font-size: 1em;
}


h1{
    margin: 0px 0 20px 0;
    font-size: 2em; 
    background: url(../images/banniere.jpg) center center no-repeat;
    height: 100px;
    text-indent: -9999px;
}
h2{
    font-size: 1.7em;
}
h3{
    font-size: 1.5em;
    border-bottom: 1px solid gray;
    text-align: center;
    margin-top: 20px;
}
p{
}
.wrapper{
    width: 960px;
    margin: 0 auto;
}


/******** HEADER ***********/

#head{
    margin: 0;
    width: 100%;
    background-color:#EEE;
    background-image: url('../images/bg_head.png');
    -webkit-box-shadow:  0px 5px 7px 7px rgba(0, 0, 0, 0.5);
    box-shadow:  0px 5px 7px 7px rgba(0, 0, 0, 0.5);
    padding: 0 1em;
    position: absolute;
    position: fixed;
    top: 0;
    z-index: 3;
}
#nav li a{
    text-transform: uppercase;
    margin: 0px 30px;
    padding: 20px 40px;
    font-size: 1.1em;
    display:block;
    line-height: 35px;
}
#nav li a#fb{
    background: url(../images/fb_g.png) center center no-repeat ;
    text-indent: -9999px;
    width: 10px;
}
#nav li a#fb:hover{
    background: url(../images/fb.png) center center no-repeat ;
    text-indent: -9999px;
}
#nav li a:hover{
    text-decoration: underline;
}
#nav li{
    display: inline-block;

}
li a#current{
    text-decoration: underline;
}



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


#content{
    background: #FFF;
    margin-top: 40px;
    -moz-box-shadow:  0px 5px 10px 10px rgba(0, 0, 0, 0.5);
    -o-box-shadow:  0px 5px 10px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow:  0px 5px 10px 10px rgba(0, 0, 0, 0.5);
    box-shadow:  0px 5px 10px 10px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    width: 900px;
    padding:30px;
    margin: 100px auto 60px ;
}

/**** ACCUEIL *****/
#main{
    width: 580px;
    display: block;
    float: left;
    padding: 10px;
}
#sideBar{
    width: 300px;
    display: block;
    float: left;
}
#tiers li{
    width: 170px ;
    margin: 10px;
    float: left;
    height: 100px;
    text-indent: -9999px;
}
#dnd:hover{
    background: url('../images/games/DnD_n.jpg') center center no-repeat;
}
#dnd{
    background: url('../images/games/DnD_c.jpg') center center no-repeat;
}
#mm:hover{
    background: url('../images/games/mm_n.jpg') center center no-repeat;
}
#mm{
    background: url('../images/games/mm_c.jpg') center center no-repeat;
}
#mtg:hover{
    background: url('../images/games/mtg_n.png') center center no-repeat;
}
#mtg{
    background: url('../images/games/mtg_c.png') center center no-repeat;
}
#sw:hover{
    background: url('../images/games/sw_n.jpg') center center no-repeat;
}
#sw{
    background: url('../images/games/sw_c.jpg') center center no-repeat;
}
#sc:hover{
    background: url('../images/games/sc_n.jpg') center center no-repeat;
}
#sc{
    background: url('../images/games/sc_c.jpg') center center no-repeat;
}
#sr:hover{
    background: url('../images/games/sr_n.jpg') center center no-repeat;
}
#sr{
    background: url('../images/games/sr_c.jpg') center center no-repeat;
}
#coc:hover{
    background: url('../images/games/coc_n.jpg') center center no-repeat;
}
#coc{
    background: url('../images/games/coc_c.jpg') center center no-repeat;
}
#aoe:hover{
    background: url('../images/games/aoe_n.jpg') center center no-repeat;
}
#aoe{
    background: url('../images/games/aoe_c.jpg') center center no-repeat;
}
#monopoly:hover{
    background: url('../images/games/monopoly_n.jpg') center center no-repeat;
}
#monopoly{
    background: url('../images/games/monopoly_c.jpg') center center no-repeat;
}
#catane:hover{
    background: url('../images/games/catane_n.jpg') center center no-repeat;
}
#catane{
    background: url('../images/games/catane_c.jpg') center center no-repeat;
}
#arkham:hover{
    background: url('../images/games/arkham_n.jpg') center center no-repeat;
}
#arkham{
    background: url('../images/games/arkham_c.jpg') center center no-repeat;
}
#warhammer:hover{
    background: url('../images/games/warhammer_n.jpg') center center no-repeat;
}
#warhammer{
    background: url('../images/games/warhammer_c.jpg') center center no-repeat;
}
#inva:hover{
    background: url('../images/games/inva_n.jpg') center center no-repeat;
}
#inva{
    background: url('../images/games/inva_c.jpg') center center no-repeat;
}
#thunderstone:hover{
    background: url('../images/games/thunderstone_n.jpg') center center no-repeat;
}
#thunderstone{
    background: url('../images/games/thunderstone_c.jpg') center center no-repeat;
}
#proposition{
    background: url('../images/games/proposition_n.jpg') center center no-repeat;
}
#proposition:hover{
    background: url('../images/games/proposition_c.jpg') center center no-repeat;
}

#preloadedImages
{
    width: 0px;
    height: 0px;
    display: inline;
    background-image: url(../images/games/proposition_n.jpg);
    background-image: url(../images/games/thunderstone_n.jpg);
    background-image: url(../images/games/warhammer_n.jpg);
    background-image: url(../images/games/inva_n.jpg);
    background-image: url(../images/games/coc_n.jpg);
    background-image: url(../images/games/aoe_n.jpg);
    background-image: url(../images/games/monopoly_n.jpg);
    background-image: url(../images/games/catane_n.jpg);
    background-image: url(../images/games/arkham_n.jpg);
    background-image: url(../images/games/DnD_n.jpg);
    background-image: url(../images/games/mm_n.jpg);
    background-image: url(../images/games/mtg_n.png);
    background-image: url(../images/games/sw_n.jpg);
    background-image: url(../images/games/sc_n.jpg);
    background-image: url(../images/games/sr_n.jpg);

}


#proposition a{
    width: 100%;
    height: 100%;
    display: block;
}
/**** SIDE BAR DES JEU ****/
.des_jeu{
    border: 5px solid #BBB;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    padding: 10px;
    width: 565px !important;
    text-indent: 0px !important;
    height:auto !important;
    font-size: 0.9em;
    display: none;

}
/************ INVENTAIRE ********/
.section{
    border-top: 1px solid gray;
    padding-top: 25px;
    margin-top: -6px;
}
.section ul li ul li:last-child{
    text-align: right
}
h4{
    padding: 8px 0 0 ;
    font-size: 1.2em;
    color:black;
    margin-bottom: 8px;
    text-align: center;
    border-bottom: 1px solid gray;
}
b{
    font-weight: bold;
}
#types{
    display:block;
    width: 790px;
    margin: 15px auto 0;
    position: relative;
}
#types li{
    cursor: pointer;
    display: inline-block;
    padding: 12px 35px;
    margin: 5px 25px;
    border: 1px solid gray;
    background: #EFEFEF;
}
.current{
    background: #FFF !important;    
    border-bottom: 1px solid #FFF!important;
}
.unItem{
    display: block;
    float: left;
    width: 410px;
    margin: 10px;
    padding: 5px 8px;
    background-color: #EFEFEF;
    -moz-box-shadow:    3px 3px 5px 2px #CDCDCD;
    -webkit-box-shadow: 3px 3px 5px 2px #CDCDCD;
    box-shadow:         3px 3px 5px 2px #CDCDCD;
  /*  cursor: pointer; */
    height: 150px;
}
.unItem:hover{ 
    -moz-box-shadow:    3px 3px 5px 2px #888;
    -webkit-box-shadow: 3px 3px 5px 2px #888;
    box-shadow:         3px 3px 5px 2px #888;
}
.unItem ul li{
  /*  padding-left: 10px;*/
}

#recherche{
    width: 100%;
    display: block;
    height: 200px;
    border-radius: 15px;
    -o- border-radius: 15px;
    -moz- border-radius: 15px;
    -webkit- border-radius: 15px;
    border: 1px solid gray;
    margin-top: 20px;
}
#recherche h2{
    font-size: 1.4em;
    margin: -20px 0 0 10px;
    background: #FFF;
    display: block;
    float: left;
    padding: 0 10px;
}
/***** ADMIN *******/
#content.login{
    width: 600px;   
}
.login form{
    width: 320px;
    margin: 0 auto;
}
.login table td{
    padding: 5px;
}
.login table td:last-child{
    text-align: right;
}

#content.admin{
    width: 700px;   
}




/******* FOOTER ****/
#footer{
    margin: 20px 0 0 0;
    width: 100%;
    background-color:#DDD;
    position: absolute;
    position: fixed;
    bottom: 0;
    -webkit-box-shadow:  -10px 5px 10px 10px rgba(0, 0, 0, 0.5);
    box-shadow:  -10px 5px 10px 10px rgba(0, 0, 0, 0.5);
}
#footer ul li {
    display: inline-block;
    padding: 10px;
    text-transform: uppercase;
    color: #555;
    font-size: 0.7em;
}
#footer ul li.middle{
    margin-left:140px;
}

/********************/

/* For image replacement */
.last { margin-right: 0!important; 
    float:right;}

/* For image replacement */
.ir { display: block; text-indent: -999em;}
.ir br { display: none; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
