html, body {
  padding: 0px;
  margin: 0px;
}

body {
  padding: 0px;
  margin: 0px;
  background-color: #DAF1E7;
  color: black;
  font-family: Arial, Helvetiva, Sans-Serif;
  font-size: 80%;
}

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

#contenu {
  padding: 10px;
  border: 1px solid #7AC3AF;
  margin-bottom: 20px;
}

.error {
  color: red;
}

th {
  padding-left: 5px;
  padding-right: 5px;
  background-color: #A7D9C2;
}

p {
  margin: 0px;
  padding: 0px;
  margin-top: 5px;
  margin-bottom: 5px;
}

td {
  text-align: left;
  vertical-align: top;
}

td.r {
  text-align: right;
}

.bold {
  font-weight: bold;
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cal {
  border: 0px;
  vertical-align: sub;
  _vertical-align: middle;
  margin-left: 5px;
}


/* Liens */

a {
  text-decoration: none;
  color: black;
}

a.slink {
  padding-left: 5px;
  padding-right: 5px;
  background-color: #B9E1D0;
  border: 1px solid #000000;
  text-decoration: none;
  line-height: 17px;
  font-size: 80%;
}

a:hover.slink {
  background: yellow;
}

a.sdel {
  padding-left: 5px;
  padding-right: 5px;
  background-color: #E8EBF0;
  border: 1px solid #000000;
  text-decoration: none;
  line-height: 17px;
  font-size: 80%;
}

a:hover.sdel {
  background-color: red;
  color: white;
}

/* Formulaires */

textarea, input.int, input.inb {
  background-color: #EBFFF6;
  color: black;
  border: 1px solid lightblue;
}

tr.titre td {
  font-weight: bold;
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
}

/* Utilisateurs */

#list-utilisateur table {
  width: 600px;
  border-collapse: collapse;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #007D48;
}

#list-utilisateur th, #list-utilisateur tr.titre td {
  border: 1px solid #007D48;
}

#list-utilisateur td.action {
  width: 200px;
  white-space: nowrap;
  text-align: center;
}

#form-utilisateur table {
  border: 1px solid #007D48;
  border-collapse: collapse;
}

#form-utilisateur input.int, #form-utilisateur textarea {
  width: 150px;
}

#list-suivi table {
  width: 400px;
  border-collapse: collapse;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #007D48;
}

#list-suivi th, #list-suivi tr.titre td {
  border: 1px solid #007D48;
}

#list-suivi td.action {
  width: 150px;
  white-space: nowrap;
  text-align: center;
}

#list-suivi form {
	margin: 0px;
	padding: 0px;
}

/* Patients */

#list-patient table {
  width: 600px;
  border-collapse: collapse;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #007D48;
}

#list-patient th, #list-patient tr.titre td {
  border: 1px solid #007D48;
}

#list-patient td.action {
  width: 200px;
  white-space: nowrap;
  text-align: center;
}

/* Menu et sous-menu */

#menu, #sous-menu, #consultation-menu, #dossier-menu {
  text-align: center;
}

#menu p, #sous-menu p, #consultation-menu p, #dossier-menu p {
  margin: 0px;
  padding: 0px;
  padding-top: 10px;
}

#menu p a, #sous-menu p a, #consultation-menu p a, #dossier-menu p a {
  background-color: #BDECDF;
  border: 1px solid #7AC3AF;
  padding-left: 3px;
  padding-right: 3px;
}

#menu p a:hover, #menu p a.highlight, #sous-menu p a:hover, #sous-menu p a.highlight, #consultation-menu p a:hover, #consultation-menu p a.highlight, #dossier-menu p a:hover, #dossier-menu p a.highlight {
  background-color: #7AC3AF;
}

/* Dossier */

#div-alcool, #div-drogue, #div-medic, #div-bio, #div-rosace, #div-proposition, #div-prescription, #div-satisfaction, #div-consultation {
  display: none;
}

/* Alcool / Tabac -> Consommation déclarée d'alcool */

#conso-alcool table {
  border-collapse: collapse;
  border: 1px solid #007D48;
  width: 700px;
}

#conso-alcool th {
  border: 1px solid #007D48;
}

#conso-alcool .border {
  border: 1px solid #007D48;
}

#div-alcool ul {
  margin: 0px;
  padding: 0px;
  margin-left: 15px;
}

/* Informations générales */

#structures input {
  background-color: #EBFFF6;
  color: black;
  border: 1px solid lightblue;
  width: 125px;
}

.bot td {
  border-bottom: 1px solid #007D48;
}

#correspondants textarea {
  background-color: #EBFFF6;
  color: black;
  border: 1px solid lightblue;
  width: 200px;
  height: 61px;
}

.inter td {
	background-color: #CEE7DB;
}

.nobg {
	background-color: #DAF1E7;
}

.hidden {
	display: none;
}

.structures-list {
	border: 1px solid #007D48;
	margin: 3px;
	padding: 3px;
}

.legende {
	float: right;
	border: 1px solid #7AC3AF;
	padding: 5px;
	background-color: #BDECDF;
}

.pager {
	float: right;
	line-height: 20px;
}

#table-prescription {
	width: 600px;
}

#last-user {
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 5px;
	border: 1px solid #7AC3AF;
	background-color: #BDECDF;
}

#last-prop {
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 5px;
	border: 1px solid #7AC3AF;
	background-color: #BDECDF;
}

.list {
  border-collapse: collapse;
  border: 1px solid #007D48;
}

.pad th, .pad td {
	padding-left: 10px;
	padding-right: 10px;
}

#bilan {
	border-collapse: collapse;
}

#bilan td {
	border: 1px solid #007D48;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
}

#bilan .separation {
	border: 0px;
}

#info-box {
	position: absolute;
	display: block;
	top: 1px;
	left: 1px;
	border: 1px solid #7AC3AF;
	font-size: 12px;
}

#info-box table {
	border-collapse: collapse;
}

#info-box td {
	margin: 0px;
	padding: 2px;
}

.usage-med, .inter .usage-med {
	background-color: #C0DCF0;
}

.mesusage-med, .inter .mesusage-med {
	background-color: #F9ADAD;
}

#edit-pass table {
  width: 400px;
  border-collapse: collapse;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #007D48;
}

#edit-pass th, #edit-pass tr.titre td {
  border: 1px solid #007D48;
}

#edit-pass td.action {
  width: 200px;
  white-space: nowrap;
  text-align: center;
}

#bilan ul {
	margin: 0px;
	padding: 0px;
	padding-left: 20px;
}

#compta {
	margin-top: 5px;
	border-collapse: collapse;
}

#compta th, #compta tr, #compta td {
	padding-left: 2px;
	padding-right: 2px;
	padding: 2px;
}


#compta tr.sign td {
	background-color: #B9E1D0;
}