html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    font: 80% "Trebuchet MS", tahoma, verdana, arial, sans-serif;
    line-height: 1.3em;
    color: #4F4F4F;
    background: #fff;
}

#container_hg {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    padding: 0px;
}

#container {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    padding: 0px;
    position : relative; /* référent du footer */
    min-height : 100%;
}

#left_menu {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    height: 445px;
    width: 100px;
    padding: 0px;
}

#banner {
    height: 110px;
    padding: 0px;
    text-align: center;
    margin: 0;
    border-bottom: none;
}

#banner h1 {
    color: #fff;
    margin: 0 15px 0 0;
    padding-top: 250px;
    border-bottom: none;
    border-top: none;
    font-size: 175%;
    text-align: right;
}

#content {
    border: 1px solid #eee;
    font: 70% Tahoma, verdana, arial, sans-serif;
    padding: 10px;
}

.dialog-box {
    font: 92% Tahoma, verdana, arial, sans-serif;
}

#sidebar {
    float: left;
    width: 150px;
    margin: 0 5px 5px 5px;
    padding: 3px;
    line-height: 1.4em;
    border-right: 1px solid #dfd0b9;
}

#footer {
    display: block;
    height: 50px;
    clear: both;
    padding: 3px;
    margin: 0 0 0 0;
    font: 11px Tahoma, verdana, arial, sans-serif;
    text-align: center;
    border-top: 1px solid #dfd0b9;
    color: #fff;
    background: #2a3942;
	width : 100%;
    position : absolute;
    bottom : 0px;
    overflow:hidden;
}

#footer a:link, #footer a:visited {
    background: inherit;
    color: #FFDA2F;
    border-bottom: none;
}

#footer a:hover {
    border-bottom: none;
    background-color: inherit;
    color: #FFFCEF;
}

p {
    padding: 3px 5px 0px 5px;
}

#content h1, #sidebar h1 {
    margin: 5px;
    font-size: 110%;
    text-transform: uppercase;
    padding: 3px;
    border-bottom: 1px solid #dfd0b9;
    color: #2A3942;
    background: inherit;
}

h2 {
    font-size: 110%;
    padding: 5px;
    margin: 5px;
    color: #508B4B;
    background: #CFE4CD;

}

h3 {
    margin: 0 3px 5px 3px;
    padding: 3px;
    text-align: left;
    font-size: 1.1em;
    color: #508B4B;
    background: inherit;
    border-top: 1px solid #dfd0b9;
    border-bottom: 1px solid #dfd0b9;
}

h4 {
    text-align: left;
    padding: 3px;
    margin: 0 0 0 0;
    font-size: .85em;
}

a {
    text-decoration: none;
    border-bottom: none;
    color: #666;
    background: inherit;
}

a:hover {
    color: #333;
    background: inherit;
    text-decoration: underline;
    border-bottom: 1px dotted #333;
}

a img {
    border: 0;
}

form {
    margin: 0;
}

ul.tabs {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 28px; /*--Set height of tabs--*/
    border-bottom: 1px solid #999;
    border-left: 1px solid #999;
    width: 100%;
}

ul.tabs li {
    float: left;
    margin: 0;
    padding: 0;
    height: 27px; /*--Subtract 1px from the height of the unordered list--*/
    line-height: 27px; /*--Vertically aligns the text within the tab--*/
    border: 1px solid #999;
    border-left: none;
    margin-bottom: -1px; /*--Pull the list item down 1px--*/
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
}

ul.tabs li a {
    text-decoration: none;
    color: #000;
    display: block;
    font-size: 1.2em;
    padding: 0 20px;
    border: 1px solid #fff; /*--Gives the bevel look with a 1px white border inside the list item--*/
    outline: none;
}

ul.tabs li a:hover {
    background: #ccc;
}

html ul.tabs li.active, html ul.tabs li.active a:hover {
/*--Makes sure that the active tab does not listen to the hover properties--*/
    background: #fff;
    border-bottom: 1px solid #fff; /*--Makes the active tab look like it's connected with its content--*/
}

.tab_container {
    border: 1px solid #999;
    border-top: none;
    overflow: hidden;
    clear: both;
    float: left;
    width: 100%;
    background: #fff;
}
.tab_content {
    padding: 20px;
    font-size: 1.2em;
}

/***********************
Formulaire
************************/
form fieldset {
  margin: 10px 0;
  width: 600px;
  position: relative;
  border: 1px solid #cfcfcf;
  display: block;
  padding: 10px;
}

form fieldset.mini {
  width: 578px;  
}

form.mini-editor fieldset {
  margin: 0;
  width: 582px;
  position: relative;
  border: 2px solid #D3D9CE; border-width: 2px 0 0 0;
  display: block;
  padding: 15px 0 0 0;
}

legend img {
  vertical-align: middle;
}

label {
  float: left;
  width: 120px;
  margin: 0;
  padding: 2px 5px 2px 20px;
}

span label { /* label yes_no */
  float: none;
  width: auto;
  padding: 0;
}

form.mini-editor br {
  clear: left;
  margin: 5px;
}

form.mini-editor label {
  float: left;
  width: 140px;
  margin: 0;
  padding: 3px 5px 0 5px;
}

form.mini-editor #type_dossier_label,
form.mini-editor #type_dossier,
form.mini-editor #origine_dossier_label,
form.mini-editor #num_enreg_label,
form.mini-editor #num_enreg {
  margin-left: 5px;
  width: 50px;
}

form.mini-editor #origine_dossier {
  margin-right: 10px;
  width: 180px;
}

form.mini-editor .shorty {
  margin-left: 5px;
  width: 64px;
}

label.certification {
    float: none;    
    padding-left: 0;
    padding-right: 0;
}

label.error, form.mini-editor label.error {
  float: right;
  font-weight: normal;
  color: red;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
  /*background: transparent url(../images/50.png) no-repeat scroll left;*/
  width: 34%; 
}

input.error, select.error, textarea.error {
	border: 1px solid red;
    color: red;
}

div.error {
    background: #FEDEE1 url(../images/51.png) no-repeat scroll 12px;
	border: 1px solid red;
	color: red;
    padding: 10px;
    padding-left: 36px;
    margin-top: 10px;
}

form div.error {
    width: 574px;
}

div.error a {
	color: #336699;
	font-size: 12px;
	text-decoration: underline
}

label.label {
   float: right;
   font: 10px Tahoma !important;
   background: none; color: #333; padding-left: 0; width: 180px;
   text-align: left;
}

#submit_btn {
  position: relative;
  right: 168px;
}


input.search {
    width: 100px;
    border: none;
    background: url( img/input.gif );
    padding: 4px;
}

input.login {
    width: 100px;
    border: none;
    background: url( img/logininput.gif );
    padding: 4px;
}

textarea {
    border: 1px solid #DFD0B9;
    color: #666;
    font-size: 12px;
}

input, select, textarea {
    color: #666;
    font: bold 11px Tahoma, Arial, Helvetica, sans-serif;
}

select {
    padding: 1px;    
}

.select_first_option {
    font-weight: normal !important;
}

.date_input {
    width: 34% !important;
}

.date_input_without_year {
    width: 32% !important;
}

.date_img {
    cursor: pointer; border: 1px solid #eee; padding: 2px; margin-left: 6px;
}

.date_img:hover {
    border: 1px solid #999;
}

.separator {
    clear: both;
    margin-top: 4px;
}

.hidden{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

.tools {
    clear: both;
    padding-bottom: 8px;
    padding-top: 4px;
}


.flag {
    margin-left: 8px;
}

#grid_container {
    border: 1px solid #999; width: 690px;
}
/***********************
End Formulaire
************************/

#resultata {
    height: 150px;
    overflow: auto;
}
