/* Styles éléments généraux */

html {
  background: url("../img/textures/background-agorapolis-minecraft.jpg") no-repeat fixed 0% 0%;
}

body {
  min-width: 976px;
  background-color: transparent;
}

a, p {color: white; font-size: 0.9em; margin-left: 5px;}

h1, h2, h3, h4 {font-weight: bold; line-height: 2.0em;}
h1 {font-size: 3.5em; text-align: center; color: #F7941D;}
h2 {font-size: 2.5em; text-decoration: underline; text-align: center; color: #F7941D;}
h3 {font-size: 2.0em; margin: 0; margin-left: 50px; color: white;}
h4 {font-size: 1.0em; margin: 0; margin-left: 25px; color: white;}

.centrer {
  text-align: center;
}

.centrer-droite {float: right;}

.centrer-gauche {float: left;}

.tab {margin-left: 4vh;}

.form-label, .form-input {display: inline-block; vertical-align: middle;}

/* Styles sections principales */

  /* -- Style entête site -- */

#logo {
  line-height: 205px;
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
  height: 209px;
}

#logo img {
  padding-left: 25px;
  padding-top: 25px;
  vertical-align: middle;
}

#erreur-connexion {
    height: 18px;
    margin: auto;
    margin-bottom: 5px;
    padding: 2px;
    text-align: center;
    background-image: linear-gradient(to bottom, #F2DEDE 0%, #E7C3C3 100%);
    background-repeat: repeat-x;
    background-color: #F2DEDE;
    border-color: #DCA7A7;
    border-radius: 5px;
    color: #A94442;
    border-color: #EBCCD1;
}

#form-connexion {
  float: right; margin-right: 40px;
}

#form-connexion input {
  margin-left: 15px;
  margin-bottom: 5px;
  height: 25px;
  width: 250px;
  background-color: black;
  border: #353535 solid 1px;
  color: #808080;
  font-size: 1.1em;
  font-style: italic;
}

#pannel-utilisateur {
  background-image: url("../img/textures/userpanelbg.png");
  background-color: #000;
  background-repeat: no-repeat;
  border-radius: 5px;
  width: 306px;
  padding-bottom: 8px;
  float: right;
  font-family: Arial;
  color: #FFF;
  height: 160px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 10px;
  display: inline-block;
}

#pannel-titre {
  margin-top: 10px;
  padding-left: 7px;
  padding-top: 5px;
}

#pannel-avatar {
  float: left;
  margin-bottom: 10px; margin-left: 25px;
}

#pannel-stats {
  float: right;
  line-height: 21px;
  text-align: center;
  margin-right: 75px;
  width: 100px;
}

.libelle-stat {margin: 10px;}

.valeur-stat {color: #F7941D;}

#pannel-controls {
  float: left; margin-left: 15px;
  text-align:center;
}

.pannel-button {
  margin:0 5px;
  display:inline-block;
  vertical-align:middle;
  text-align:left;
}

.bouton-sans-style {
  background: none;
  border: none;
}

header {
  max-width: 990px;
  margin: 0px auto;
}

nav {
  display: block;
  font-weight: bold;
  font-size: 12px;
  font-family: Arial;
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-transform: uppercase;
  height: 40px;
}

.menu-horizontal {
  display: inline-block;
}

  /* -- Style pied de page -- */

#pied-page-site {
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-weight: bold;
  font-size: 12px;
  font-family: Arial;
  text-transform: uppercase;
  height: 40px;
  max-width: 990px;
  margin: 0px auto;
  margin-bottom: 1.0em;
  padding-bottom: 0.5em;
}

#pied-page-site li {height: 1.5em;}

#credits {
  max-width: 990px;
  margin: 0px auto;
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
  display: block;
  font-weight: bold;
  font-size: 12px;
  font-family: Arial;
  clear: both;
}
#credits a {color: #0066FF;}
#credits span { margin: 20px;}


/* Gestion du contenu */

.page {
  max-width: 990px;
  margin: 0px auto;
}

.contenu-page {
  padding: 5px 10px 5px 10px;
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
}

.section-principale {
  float: left;
  width: 100%;
  margin-right: -260px;
}

.section-pleine {
  float: left;
  width: 100%;
}

.section {
  padding: 10px;
  margin-right: auto;
  margin-left: auto;
}

.contenu-principal {
  margin-right: 260px;
  padding: 5px;
}

.contenu-plein {padding: 5px;}

.contenu-secondaire {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #464444;
  border-right-style: none;
  border-left-style: none;
  border-bottom: 1px solid #2A2A2A;
  color: #E6E3E3;
}

.sidebar {
  width: 260px;
  float: right;
}

.aligne {display: inline-block; margin-left: 15px;}

.info {color: #3399cc;}
.valide {color: #339900; font-size: 0.7em;}
.erreur {color: #FF0000; font-size: 0.7em;}

.bbcode-gras {
  font-weight: bold;
}

.bbcode-italic {
  font-style: italic;
}

.bbcode-souligne {
 text-decoration: underline;
}

.bar-bbcodes {
  border: 2px solid #232323;
  margin: none; padding: none;
  height: 30px; width: 655px;
}

.bar-bbcodes button {padding: none; margin: none;}

article {
  border: 1px solid #232323;
  border-radius: 5px;
  background-color: #464444;
}

section header h4, article header h4 {
  background-image: url("../img/textures/grass.png");
  background-repeat: repeat-x;
  padding: 10px;
  margin: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-transform: uppercase;
  height: 40px;
}

article a {color: #F7941D;}


/* Liste des forums */

.forum {
  margin: 10px;
  min-height: 100px;
  border: #353535 solid 1px;
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
}

.section-forum {
  height: 60px;
  border: #353535 solid 1px;
  margin: 0; padding: 0;
}

.section-forum-lue {
  height: 40px;
  margin: 10px;
}

.infos-section-forum {
  margin: 10px;
  display: inline-block;
}

.titre-section-forum {
  padding-left: 0px;
  color: #F7941D;
}

.nb-disscussions-section-forum {
  color: #FFFFFF;
}

#liste-articles table {
  color: white;
  margin-top: 2.0em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#liste-articles thead {
  background-image: url("../img/textures/dirt.jpg");
}

#articles-col-titre {width: 50%;}

/* Création d'une nouvelle discussion */

#creation-discussion {
  margin-left: 15%;
  width: 100%;
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
  border: none;
}


/*formulaire d'enregistrement*/

#enregistrement {
  margin-left: 15%;
  width: 100%;
  background: #5D5D5D url("../img/textures/dark-bedrock.png") repeat scroll 0% 0%;
  border: none;
}

#enregistrement label {
  width: 240px;
  margin-top: 15px;
  margin-left: 30px;
  color: #F7941D;
}

#enregistrement .icone {margin-left: 25px;}

/* Pannel Facebook */

.facebook-box {
  margin-top: -5px;
  overflow: hidden;
  height: 258px;
}


/* Pannel derniers status */

#dernier-status p {
  font-size: 0.7em;
}

.status {padding: 5px;}

.status-avatar {display: inline-block;}
.message-status {
  width: 175px;
  display: inline-block;
  float: right;
}


/* Mise en forme infos utilisateurs */

.avatar {
  width: 40px;
  border: #708090 solid 1px;
  border-radius: 5px;
  padding: 2px;
}
.avatar-profil {
  width: 76px;
  border: #708090 solid 1px;
  border-radius: 5px;
}

.pseudo-citoyen {
  color: #6FA2EF;
  font-size: 1.4em;
  line-height: 75%;
}

.pseudo-moderateur, .pseudo-super-moderateur {
  color: #FFFF00;
  font-size: 1.4em;
  line-height: 75%;
}

.pseudo-administrateur, .pseudo-super-administrateur {
  color: #FF0000;
  font-size: 1.4em;
  line-height: 75%;
}

/* Mis en forme du pannel utilisateur */

#vue-pannel-utilisateur {
  display: inline-block;
  width: 700px;
  float: right;
}

#vue-pannel-utilisateur {color: white;}

#vue-pannel-utilisateur textarea {background-color: #404040;}

#vue-pannel-utilisateur div{
  text-align: center;
}

#pannel-utilisateur-menu {
  display: inline-block;
  width: 250px;
  float: left;
}

#pannel-utilisateur-menu .sous-menu {
  border: solid 1px black;
}

#erreur-aucunes-alertes {margin-top: 1.0em;}

#liste-alertes {
  border: solid 1px black;
}

#liste-alertes div {text-align: left; padding: 10px 10px 10px 0px;}

.ligne-alerte {margin-left: 10px;}

.libelle-alerte {background-color: #404040;}

/* Mise en forme du chat */

#chat {}

#messages-chat {
  border: white solid 1px;
  height: 500px; width: 100%;
  overflow: auto;
}

#input-saisie-chat {
  margin-top: 2.0em;
  width: 60%;
  border-radius: 5px;
}