* {
  margin:0;
  padding:0;
}

body {
  background-color: #fff;
	color: #2C6877;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
}

#cp_header {
  margin: 0;
/*  border: 1px solid red; */
  background-color: #fff;
}
#cp_header h1 {	
  margin: 0;
  font-weight: bold;
  background: url('../img/bg_texte.png') no-repeat;
  height: 110px;
	border: 2px solid green;
  padding-left: 140px;
  display: compact;
	vertical-align: bottom;
}

#cp_header a {
  display: block;
  margin: 0;
  text-decoration: none;
  height: 100%;
	vertical-align: bottom;
}

#cp_header a:hover {
  text-decoration: underline;
}
#cp_header span {
	height: 100%;
	font-size: 140%;
	text-decoration: underline;
	border: 1px solid red;
	margin-top: 50px;
	vertical-align: bottom;
}

h1#banner {
	/* Margin around */
  width: 90%;
	margin-left: 5%;
	margin-right: 5%;

	/* Banner itself as an image */
	/* 131px W x 110px H */
  background: url('../img/bg_texte.png') no-repeat;
	height: 110px;
/*	border: 1px solid yellow;*/
}
	/* Position of the text */
h1#banner a {
	display: block;
	/* height is 110px (image H) minus padding-top: 50 = 60px */
	height: 60px;

	/* Just move the text to the right: (without the image) */
	padding-left: 140px;
	padding-top: 50px;
/*	border: 1px solid red;*/
} 

#cp_menu {
/*  border: 1px solid blue; */
  clear:both;
	font-size: 95%;
	padding:0px 0px 10px 0px;
	width:20%;
	float:left;
}

#cp_menu ul {
  margin-top: 10px;
  list-style-type: none;
}

#cp_menu li a {
  text-decoration: none;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
#cp_menu li a:hover {
  text-decoration: underline;
}
#cp_menu a.external {
  background: url(../img/external.png) center right no-repeat;
  padding-right: 16px;
}

#cp_container {
/*  border: 1px solid green; */
  
  font-size: 90%;
	padding:0px 0px 5px 0px;
/*  float:left;*/

  width: 90%;
	margin-left: 5%;
	margin-right: 5%;
/*	
margin:5px 10px 10px 20px;
	width:530px;
*/	

}

#cp_breadcrumbs {
/*  text-align: right; */
  margin-right: 10px;
  color: #2C6877;
  background-color: #fff;
  padding-bottom: 20px;
}
#cp_breadcrumbs a {
  margin: 4px;
}

.cp_submenu {
  border-bottom: 2px solid #c89af7;
  margin-bottom: 10px;
}

.cp_submenu ul {
  display: inline;
  list-style-type: none;
}
.cp_submenu li {
  display: inline;
  border: 1px solid #c89af7;
}
.cp_submenu li.active {
  border: 2px solid #c89af7;
  border-bottom: 2px solid #fff; /* background color to make it disappear */
}
.cp_submenu li a {
  padding: 6px;
  text-decoration: none;
}
.cp_submenu li a:hover {
  text-decoration: underline;
}

/* Flash boxes */

#cp_flash {
/*  color: #900;
	font-size: 120%;
	font-weight: bold;
	margin: 8px 0px;*/
}


div.flash-info, div.flash-error {
	margin: 2px;
	padding: 4px;
	padding-left: 10px;
	font-weight: bold;
}
div.flash-info {
	border: 1px solid green;
	color: green;
 	background-color: #caffcc;
}
div.flash-error {
	border: 1px solid red;
	background-color: #ffcaca;
	color: red;
}



#cp_content {
  /*
  font-size: 80%;
  */
}

/* Forms */
label {
  display: inline;
}
input {
  display: inline;
}
select {
  display: inline;
}
fieldset {
  padding: 0;
  margin: 0;
}


form {
  clear: both;
	margin-right: 20px;
	padding: 0;
}
fieldset {
  border: 1px solid #ccc;
/*	margin-top: 30px; */
	padding: 16px 20px;
	margin-bottom: 10px;
}
fieldset legend {
  color: #2C6877;
	font-size: 120%;
	font-weight: bold;
}
form div {
/*  clear: both; */
/*  width: auto; */
	margin-bottom: 1em;
	padding: .5em;
/*	vertical-align: text-top; */
	display: inline;
}

form div.required {
  color: #333;
	font-weight: bold;
}
form div.optional, form div.input {
  color: #444;
}

form div.submit {
  border: 0;
	margin-top: 10px;
	display: inline;
}
label {
  padding-right: 20px;
}

input, textarea {
  font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
}

select {
  vertical-align: text-bottom;
}
select[multiple=multiple] {
  width: 100%;
}
option {
/*  padding: 0 3px; */
}
input[type=checkbox] {
  /*
  clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
  */
}
input[type=submit] {
  display: inline;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}


/* Headtitles */
h1, h2, h3, h4 {
  background-color: inherit;
	font-weight:normal;
}
h1 {
  color: #003d4c;
	font-size: 140%;
	margin: 0.1em 0;
}
h2 {
  color: #2C6877;
	font-size: 140%;
	margin: 0.3em 0;
	padding-top: 1em;
}
h3 {
  color: #c6c65b;
	font-size: 120%;
	padding-top: 2em;
}
h4 {
  color: #c6c65b;
	font-weight: normal;
	padding-top: 0.5em;
}
/* Links */
a {
  background-color: inherit;
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
  background-color: inherit;
	color: #003d4c;
	text-decoration:none;
}
a img {
  border:none;
}

/* Lists */
ul, li {
  margin: 0 12px;
}


/* Tables */
table {
  background-color: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
  clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
  background-color: #f2f2f2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	text-align: center;
}

th a {
  display: block;
	padding: 2px 4px;
	text-decoration: none;
}

th a:hover {
  background-color: #ccc;
	color: #333;
	text-decoration: none;
}

table tr td {
  background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
  background: #f4f4f4;
}
td.actions {
  text-align: center;
	white-space: nowrap;
}
td.actions a {
  display: inline;
	margin: 0px 6px;
}
.cakeSqlLog table {
  background: #f4f4f4;
}
.cakeSqlLog td {
  padding: 4px 8px;
	text-align: left;
}


/* Paging */

div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}


/* Scaffold View */
dl {
  line-height: 2em;
	margin: 0em 0em;
	width: 50%;
}
dl .altrow {
  background: #f4f4f4;
}
dt {
  font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
  margin-left: 16em;
	margin-top: -2em;
	vertical-align: top;
/* 	border: 1px solid red; */
/* 	width: 450px; */
	width: 400px;
}


/* Notices and Errors */
div.message, p.error, div.error-message {
  color: #900;
	font-size: 100%;
	font-weight: bold;
	margin: 8px 0px;
}
div.error-message {
  clear: both;
}
div.error em {
  font-size: 140%;
	color: #003d4c;
}
span.notice {
  background-color: #c6c65b;
	color: #fff;
	display: block;
	font-size: 140%;
	padding: 0.5em;
	margin: 1em 0;
}

/*  Nav & Actions */
div.nav {
  text-align: left;
	position: absolute;
	top: 9em;
	left: 60%;
}
div.nav ul li a {
  display: block;
	background: #fff;
	color: #003d4c;
	padding: 3px 8px;
	text-decoration: none;
}
div.nav ul {
  background: #003d4c;
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div.nav li {
  list-style-type: none;
	margin: 0;
	padding: 0;
}
div.nav ul li a {
  background: #fff;
	color: #003d4c;
	padding: 3px 8px;
	text-decoration: none;
}
div.nav ul li a:hover {
  background: #003d4c;
	color: #fff;
}

/*  Actions  */
div.actions {
  clear: both;
	margin-top: .2em;
	text-align: left;
}
div.actions ul {
  margin: 0;
	padding: 0;
}
div.actions li {
  display: inline;
	list-style-type: none;
	margin: 0 2em 0 0;
	padding: 0;
}
div.actions ul li a {
  background: #fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
  background: #003d4c;
	color: #fff;
}

/* Related */
div.related {
  clear: both;
	display: block;
}

/* Debugging */
pre {
  background: #000;
  color: #fff;
	padding: 1em;
	text-align: left;
}

pre.cake_debug {
  background: #ffcc00;
	font-size: 120%;
	line-height: 18px;
	margin: 4px 2px;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
  background: #fff;
	color: #333;
	margin: 4px 2px;
	padding: 4px;
	font-size: 120%;
	line-height: 18px;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
  position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
  color: #000000;
	background-color: #F0F0F0;
	border: 1px dotted #606060;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
  clear: both;
	font-size: 12px;
	line-height: 5px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
  background-color: #FFFF00;
}

/* Boxes */
div.message {
	background: url(images/bg_float.png) bottom repeat-x #f7f26f;
	border: 2px solid #facf06;
	color: #8650b3;
	font-weight: bold;
	margin: 1em;
	padding: 0em 0em 0em 5px;
}

/** Messages **/

table.messages tr, table.messages td, table.messages th, table.messages {
	border: 0;
	background-color: #fff;
}
table.messages td { /* tr aint working ?? */
	border-bottom: 1px solid #e0e0e0;
}
table.messages td {
	text-align: justify;
}

table.messages tr td a {
	font-weight: normal;
}
table.messages tr td a.new {
	font-weight: bold;
}

/* Users/Login big link */
a.big {
	display: block;
	margin-top: 28px;
	margin-bottom: 10px;
	margin-left: 50px;
	font-size: 22px !important;
}

/* Blocked websites style */
#blocked-message {
	margin-top: 50px;
	margin-bottom: 100px;
	background-color: #facf06;
	border: 2px solid #ffc000;
	padding: 10px;
}
#blocked-message h1 {
	font-weight: bold;
	font-size: 22px;
	color: #9d640a;
}
#blocked-message p {
	text-align: justify;
	font-size: 18px;
	color: #7b510e;
}
#blocked-message p#reason {
	margin-top: 20px;
}
#blocked-message a {
  color: #9d640a;
  font-weight: bold;
  font-size: 18px;
}

tr.evenrow {
	background-color: white;
}
tr.oddrow {
	background-color: grey;
}
tr.altrow {
	background-color: grey;
}

/* Errors in forms */
input.form-error {
	border: 1px solid red;
}

input[type=radio] {
	margin-right: 10px;
	margin-left: 10px;
}

/* Login experiments */
/* fieldset#login { */
fieldset {
 	border: 1px solid #ff8400;
}
fieldset#login dd {
	width: 100%;
}
fieldset#login input {
/* 	border: 1px solid #ff8400; */
/* 	background-color: #ff8400; */
}
/* fieldset#login { */
fieldset {
/* 	background-color: #ffe4c7; */
/* 	color: #ff8400; */
/* 	background-color: #f5eefb; */
	border: 1px solid #c19ae1;
}
/* fieldset#login legend { */
fieldset legend {
	color: #ff8400;
	font-size: 20px;
}

/* Alerts */
div#alerts {
/* 	float: left; */
	width: 750px;
/* 	border: 1px solid black; */

}
div.alert {
/* 	width: 750px; */
	border: 1px solid black;
	padding: 2px;
	margin: 2px;
/* 	background-color: green; */
	border: 1px solid green;
	color: green;
 	background-color: #caffcc;

}
div.alert a.del {
	background-image: url('../img/editdelete.png');
	display: block;
	width: 22px;
	height: 22px;
	float: right;
}
div.alert p.date {
	font-style: italic;
}
div.alert p.msg {
	font-weight: bold;
}

/* Admin */

table.admin tr td {
	padding: 1px;
	vertical-align:middle;
}
table.admin tr:hover td {
	background-color: #FF8400;
}

/* Order */


div.menu ul {
	margin: 0px;
	padding: 0px;
  list-style: none;
	background-color:#edebeb;
	text-align: center;
	border: 1px solid #804e4e;
}

div.menu ul li {
	display: inline;
	padding: 0;
	margin: 0;
}

div.menu ul li a {
	display: inline-table;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1em;
	padding-right: 1em;
	font-size: 16px;
/* 	font-family: Arial, Tahoma, Verdana, Geneva, Helvetica, sans-serif; */
	font-weight: normal;
	letter-spacing: 1px;
	color:#ccc;
	text-decoration: none;
}

div.menu ul li:hover a {
/* 	color: #acabab; */
	color: #804e4e;
	text-decoration: none;
}

div.menu ul li.active a {
	color: #a4a4a4;
	color: black;
}
div.menu ul li.active:hover a {
	color: #804e4e;
}

div.order div.right {
/* 	margin-left: 75%; */
	margin-left: 80%;
}

div.order {
  min-height: 450px;
}

/** Step for order */
ul.menu {
  padding: 0;
  margin: 0;
  list-style-type: none;
  
  width: 100%;
  float: left;  
  color: #fff;
  background-color: #8650b3;
  
  margin-bottom: 40px;
}
ul.menu li {
  display: inline;
}
ul.menu li.active a {
  background-color: #b17fdc;
}
ul.menu li a {
  float: left;
  color: #fff;
  background-color: #8650b3;
  padding: 0.6em 2em;
  border-right: 1px solid #fff;
}
ul.menu li a, ul.menu li a:hover {
  text-decoration: none;
}
ul.menu li a:hover {
  background-color: #9673b3;
}

/* Table for plans */
div.order table {
/*   width: 100%; */
  margin-bottom: 30px;
}
div.order table th {
  font-size: 14pt;
  text-align: left;
  padding: 0.2em 1em;
  background-color:#9673b3;
  color: #fff;
}
div.order table tr.altrow td {
  background:none repeat scroll 0 0 #f7effd;
/* background:none repeat scroll 0 0 #F4F4F4; */
}
div.order table td {
  vertical-align: middle;
}
div.order table a {
  color: #8650b3;
  font-size: 16pt;
}
div.order h3 {
/*   color: #ff8400; */
  color: #ffa100;
  padding: 0;
  margin: 0;
  padding: 0em 1em;
  padding-bottom: 1em;
  font-size: 14pt;
}
br.clear {
  clear: both;
}

table.p {
/*   width: 100%; */
  margin-bottom: 30px;
}
table.p th {
  font-size: 14pt;
  text-align: left;
  padding: 0.2em 1em;
  background-color:#9673b3;
  color: #fff;
}
table.p tr.altrow td {
  background:none repeat scroll 0 0 #f7effd;
/* background:none repeat scroll 0 0 #F4F4F4; */
}
table.p td {
  vertical-align: middle;
}
table.p a {
  color: #8650b3;
  font-size: 16pt;
}

/* Form buttons test */
/*
input[type="submit"] {
	padding: 0;
	margin: 0;
	background:#FFFFFF none repeat scroll 0 0;
	border-style: solid;
	color: #8650B3;
	border-color: #8650B3;
	font-weight: bold;
	border-width: 1px 2px 2px 1px;
	padding-top: 3px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
}
input[type="submit"]:hover {
	color: #003D4C;
	border-color: #003D4C;
}
input[type="submit"]:active {
	border-width: 2px 1px 1px 2px;
	color: #003D4C;
	border-color: #003D4C;
}
*/

/* Round borders */
fieldset {
  -moz-border-radius: 8px; 
  border-radius: 8px;
}




