/**
 * Common styles
 */

/* Setup: Page defaults and base font */
html, body, form, fieldset {
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;
	font-size: 70%;
	line-height: 1.2;
	font-family: Arial, Helvetica, sans-serif;
  background-color: #666;
}

/* Neutralize styling: Elements with a vertical margin: */
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address {
	margin: 1em 0;
	padding: 0;
}

/* Apply left margin: Only to the few elements that need it: */
li, dd, blockquote {
	margin-left: 1em;
}

/* Miscellaneous conveniences: */
form label {
	cursor: pointer;
}
fieldset, iframe, object {
	border: none;
}
input, select, textarea {
	font-size: 100%;
	font-family: inherit;
	margin: 0;
}
table {
	font-size: 1em; /* to avoid sizing problems */
}
img {
	border: none;
	vertical-align: bottom;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}

/* easy clearing for block elements */
.clear-block:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	font-size: 0;
}
.clear-block {display: inline-block;}

/* Hides from IE-mac \*/
* html .clear-block {height: 1%;}
.clear-block {display: block;}
/* End hide from IE-mac */

/**
 * Layout
 */
#wrapper {
	width: 765px;
	margin: 0 auto;
}
#header {
  background-image: url("../img/logos.png");
  background-repeat: no-repeat;
  background-color: #fff;
  height: 150px;
}
#header p {
	padding: 0 10px 0 0;
	margin: 0;
	font-size: 2em;
	color: #555;
	text-align: right;
}
#footer a {
	color: #c33;
}
#footer a:hover {
	color: #f00;
}
#content-wrapper {
	background-color: #ccc;
	margin-top: 1px;
}
#sidebar-left {
  width: 165px;
  float: left;
  background-color: #ccc;
}
#content-column {
  width: 580px;
  float: right;
  background-color: rgb(255,255,255);
  padding: 10px;
}
#footer {
  clear: both;
  padding: 5px 0;
  margin-bottom:2em;
  text-align: center;
  background-color: #aaa;
}

/**
 * spécifique à candy-recrutement.fr
 */
 
h1 {
	margin-top: 0;
	font-size: 1.8em;
}

h2 {
	margin: 1em 0;
	font-size: 1.5em;
}
 
/* Menu */
#menu {
	list-style: none;
	margin-top: 18px;
}
#menu li {
	margin-top: 6px;
	margin-left: 2px;
}
#menu a {
	font-family: verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	color: #cc3333;
	padding: 3px 5px;
}
#menu.admin a {
	font-size: 1em;
}
#menu a:hover {
	color: #ff0000;
	background-color: #eee;
}


/* Le formulaire job alert */
#jobalertform input {
	margin-top: 2px;
	margin-right: 4px;
}
#jobalertform dt {
	margin-top: 4px;
	font-weight: bold;
}
#jobalertform #email {
	width: 50%;
}
#jobalertform ul.errors {
	margin-top: 3px;
	color: #f00;
	list-style: none;
}
#jobalertform ul.errors li {
	margin-left: 0px;
}

/* L'offre */
.contenu {
	margin: 0 25px;	
}
.offre_wrapper {
	margin-bottom: 15px;
}
.offre_wrapper a {
	color: #c33;
}
.offre_wrapper a:hover {
	color: #f00;
}
.offre_wrapper .fonction {
	font-weight: bold;
	font-size: 1.3em;
}
.offre_wrapper .ligneresume {
	font-size: 1.1em;
	margin: 2px 0;
}
.offre_wrapper .seemore {
	margin: 2px 0;
}


/* Spécial mon bouton */
.monbouton {
	margin: 5px 0;
}
.monbouton a {
	background-color: #cc3333;
	padding: 2px 5px;
	color: #fff;
}
.monbouton a:hover {
	background-color: #f00;
	color: #fff;
}


/* Le formulaire pour postuler */
#postulerform dt {
	float: left;
	font-weight: bold;
	margin-top: 4px;
}
#postulerform dd {
	margin: 4px 0 0 250px;
}
#postulerform #nom,
#postulerform #prenom,
#postulerform #email,
#postulerform #pretentionsmin,
#postulerform #pretentionsmax,
#postulerform #dept,
#postulerform #fk_secteur,
#postulerform #code_type_contrat
{
	width: 250px;
}
#postulerform ul.errors {
	margin-top: 3px;
	color: #f00;
	list-style: none;
}
#postulerform ul.errors li {
	margin-left: 0px;
}
#autreError {
	color: #f00;
	margin-left: 250px;
}
#retourliste {
	float: right;
}
#retourliste a {
	color: #c33;
}
#retourliste a:hover {
	color: #f00;
}


/* Le formulaire de login */
#loginFailed {
	color: #f00;
	margin: 4px 0 0 100px;
}
#loginform dt {
	float: left;
	font-weight: bold;
	margin-top: 4px;
}
#loginform dd {
	margin: 4px 0 0 100px;
}
#loginform #login,
#postulerform #password {
	width: 190px;
}
#loginform ul.errors {
	margin-top: 3px;
	color: #f00;
	list-style: none;
}
#loginform ul.errors li {
	margin-left: 0px;
}


/* Les tablesorter */
.tablesorter a.lien {
	color: #080;
}
.tablesorter a.lien:hover {
	color: #c00;
}


/* Le tableau des offres */
#offretable tbody .etat_1 td {
	/* En cours de rédaction */
	background-color: #FFBEBE; 
}
#offretable tbody .etat_2 td {
	/* En ligne */
	background-color: #BFFFBF; 
}
#offretable tbody .etat_3 td {
	/* Suspendue */
	background-color: #ddd; 
}
#offretable tbody .etat_4 td {
	/* Archivée */
	background-color: #555; 
}


/* Le formulaire Offre / detail */
#offreeditform dt {
	float: left;
	font-weight: bold;
	margin-top: 4px;
}
#offreeditform dd {
	margin: 4px 0 0 100px;
}
#offreeditform #reference,
#offreeditform #fonction,
#offreeditform #fk_secteur,
#offreeditform #code_type_contrat,
#offreeditform #etat,
#offreeditform #lieu,
#offreeditform #commentaires,
#offreeditform #html_content_tbl {
	width: 453px !important;
}
#offreeditform ul.errors {
	margin-top: 3px;
	color: #f00;
	list-style: none;
}
#offreeditform ul.errors li {
	margin-left: 0px;
}


/* La liste des candidatures */
#candidattable tr.nonlu {
	font-weight: bold;
}
#candidattable a {
	color: #c33;
}
#candidattable a:hover {
	color: #f00;
}
#telecharger a {
	color: #c33;
}
#telecharger a:hover {
	color: #f00;
}
#telecharger li {
	list-style-type: none;
}
#telecharger li a {
	background: url("../img/x-office-document.png") no-repeat center left;
	padding: 10px 0 10px 35px;
	line-height: 3.5em;
}
td.argent {
	text-align: right;
}

/* Historique d'un candidat */
#historiquewrapper {
  margin-left: 15px;
}

#historiquewrapper li {
  list-style-type: none;
  margin-left: 0px;
}
#historiquewrapper a {
	color: #c33;
}
#historiquewrapper a:hover {
	color: #f00;
}

/* Le formulaire de recherche */
#searchform dt {
	float: left;
	font-weight: bold;
	margin-top: 4px;
}
#searchform dd {
	margin: 4px 0 0 150px;
}
#searchform #fk_secteur,
#searchform #code_type_contrat,
#searchform #departement,
#searchform #pretentionsmin,
#searchform #pretentionsmax,
#searchform #nom,
#searchform #prenom,
#searchform #email
 {
	width: 400px;
}
#searchform #departement {
	height: 80px;
}
#searchform ul.errors {
	margin-top: 3px;
	color: #f00;
	list-style: none;
}
#searchform ul.errors li {
	margin-left: 0px;
}

#noCandidat {
	color: #f00;
	margin: 15px 0px;
	padding: 5px;
	border: 1px solid #e00;
	background-color: #fff0f0;
}
