html {
  font-size: 67.5%;
}

body {
  background: #000;
  color: #000;
  width: 998px;
  padding: 5px;
  margin: 0 auto;
  font-size: 1.3em;
}

body, p, ol, ul, td {
  font-family: helvetica, arial, sans-serif;
}

#container {
  overflow: hidden;
  background: #fff;
  padding: 10px 20px;
}

h1 {
  font-size: 1.8em;
}

h2 {
  font-size: 1.3em;
  margin-top: 2em;
}

p {
  margin: 0.4em 0;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a {
  color: #000;
}

a:link, a:visited {
  text-decoration: underline;
}

a:visited {
  color: #000;
}

a:hover {
  color: #333;
  text-decoration: underline;
}

a img {
  border: none;
}

button, input, textarea {
  font-size: 1em;
}

textarea {
  font-family: helvetica, arial, sans-serif;
}

button {
  padding: 0.2em 0.4em;
  background: #000;
  color: #fff;
  border: none;
}

div#flash {
  position: absolute;
  top: 1em;
  width: 472px;
}

div#flash p {
  padding: 0.4em;
}

div#flash p.notice {
  background: #fff08d;
  border: 1px solid #ffa500;
}

div#flash p.error {
  background: #ffbdbd;
  color: #cc0000;
  font-weight: bold;
  border: 1px solid #cc0000;
}

fieldset {
  background: #f5f5f5;
  border: 1px solid #999;
  margin-bottom: 1.5em;
}

legend {
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  color: #666;
}

form#new_contact_request {
  margin-left: 0.5em;
  margin-top: -0.5em;
  padding-top: 1em;
}

form#new_contact_request fieldset {
  float: left;
  width: 45%;
  margin-right: 2%;
}

div#two #contact_information.text {
  margin-bottom: 2em;
  background: #000 url('/images/immeuble-page-contact.jpg') bottom left no-repeat;
}

div#two #contact_information.text div {
  margin-left: 180px;
  margin-top: 180px;
}

/* Validation */

.fieldWithErrors {
  background-color: #c00;
  display: table;
  color: #fff;
  padding: 1px;
}

.fieldWithErrors label {
  background: #fff;
  color: #c00;
  margin: -1px;
  font-weight: bold;
}

#errorExplanation {
  padding: 3px;
  padding-bottom: 1em;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px;
  font-size: 0.9em;
  margin: -3px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  font-size: 0.8em;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  margin-left: 0.4em;
  overflow: hidden;
  font-weight: bold;
}

#errorExplanation ul li {
  font-size: 0.8em;
  padding: 0;
  margin-right: 2em;
}

form p {
  margin: 1em 0;
}

label {
  display: block;
  font-weight: normal;
  color: #555;
}

/* Home */

#letters {
  margin-top: 6em;
}

#letters p.line_0 {
  width: auto;
}

#letters p.line_0 img {
  width: 75px;
  height: 100px;
}

#letters p.line_1 {
  width: auto;
}

#letters p {
  display: table;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 2em;
  border: 1px solid #000;
}

#letters p img {
  float: left;
}

#language {
  float: right;
  list-style: none;
  margin-top: 3em;
}

#language li, #language li a {
  padding: 0.2em;
}

#language li.current a {
  color: #777;
  background: #000;
}

#nav_container {
  width: 100%;
  padding-bottom: 2em;
  overflow: hidden;
  text-align: right;
  position: relative;
}

#nav_container #home {
  clear: right;
  float: right;
}

#nav_container #home a {
  padding: 0 0.3em;
  display: block;
  width: 210px;
  height: 17px;
  background: transparent url('/images/chainpurdesign.png') left top no-repeat;
}

ul#nav {
  padding: 0;
  margin: 0;
  float: right;
  font-size: 0.85em;
  list-style: none;
  text-transform: lowercase;
}

ul#nav li {
  float: left;
}

ul#nav li a {
  text-align: right;
  display: block;
  width: 80px;
  height: 84px;
  vertical-align: bottom;
  background-position: center 20px;
  background-repeat: no-repeat;
  color: #000;
}

ul#nav li.current a, ul#nav li a:hover {
  color: #da2351;
}

ul#nav li.services a {
  background-image: url('/images/icons/menu_services.jpg');
}

ul#nav li.references a {
  background-image: url('/images/icons/menu_references.jpg');
}

ul#nav li.references a {
  background-image: url('/images/icons/menu_references.jpg');
}

ul#nav li.news a {
  background-image: url('/images/icons/menu_news.jpg');
}

ul#nav li.profiles a {
  background-image: url('/images/icons/menu_profiles.jpg');
}

ul#nav li.contact a {
  background-image: url('/images/icons/menu_contact.jpg');
}

#current_customer_container {
  position: absolute;
  top: 1em;
  width: 500px;
}

#current_customer {
  display: table;
  height: 120px;
  margin-left: 60px;
  overflow: hidden;
}

#current_customer p {
  display: table-cell;
  vertical-align: middle;
}

ul#customers {
  overflow: hidden;
  display: block;
  width: 862px;
  list-style: none;
  margin: 4em;
  margin-top: 0;
  padding: 0 1px;
  background: transparent url("/images/grid.png") left top repeat;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

ul#customers li {
  padding: 0;
  margin: 0;
  margin-top: 1px;
  margin-right: 1px;
  float: left;
}

ul#customers li.one {
  margin-left: 96px;
  margin-right: 1px;
}

ul#customers li.two {
  margin-left: 96px;
}

ul#customers li.three {
/*  margin-left: 96px;*/
}

ul#customers li.four {
  margin-left: 96px;
/*  margin-right: -1px;*/
}

ul#customers li.five {
}

ul#customers li.six {
}

ul#customers li.seven {
  margin-left: 96px;
}

ul#customers li.eight {
  margin-right: 97px;
}

ul#customers li a {
  display: block;
  height: 95px;
  width: 95px;
}

.image {
  margin: 0 auto;
  text-align: center;
}

.image img {
  vertical-align: bottom;  
}

.image ul.information {
  text-align: left;
  list-style: none;
  padding: 0;  
  margin: 0;
  overflow: hidden;
}

.image ul.information li.description {
  float: left;
  width: 70%;
}

.image ul.information li.credits {
  text-align: right;
  float: right;
  width: 25%;
}

#products .nav {
  width: 472px;
}

.nav {
  list-style: none;
  padding: 0.2em;
  margin: 0;
  overflow: hidden;
}

.nav li.current {
  background: #000;
  color: #777;
  padding: 0.3em;
}

.nav li.current a {
  color: #777;
}

.nav * a {
  display: block;
  width: 35px;
  height: 21px;  
}

.nav span {
  display: none;
}

.news_nav {
  width: 100%;
  margin-top: 4em;
}

.news_nav li {
  width: 45%;
}

.news_nav li a {
  width: auto;
  margin-top: 0.2em;
}

#previous {
  float: left;
}

#next {
  float: right;
}

#previous a {
  padding: 0.5em;
  padding-left: 2.2em;
  background: transparent url('/images/back.png') left center no-repeat;
}

#next a {
  text-align: right;
  padding: 0.5em;
  padding-right: 2.2em;
  background: transparent url('/images/forward.png') right center no-repeat;
}

div#products #previous {
  padding-top: 0;
  padding-left: 0;
}

div#products #next {
  padding-top: 0;
  padding-right: 0;
}

#products .nav {
  padding: 0 0.4em;
}

div#one {
  width: 482px;
  height: 600px;
  overflow: hidden;
  float: left;
  border: 1px solid #545252;
  position: relative;
  margin-top: -52px;
}

div#one.contact_request {
  height: auto;
}

div#one #logo {
  margin-left: 1em;
  margin-top: 1em;
}

div#main_container #one #products {
  margin: 0 auto;
  text-align: center;
  height: 578px;
}

div#one ul#actions {
  text-transform: lowercase;
  list-style: none;
  padding: 0;
  right: 0;
  position: absolute;
  top: 526px;
  width: 150px;
}

ul#actions a {
  padding: 2px;
  display: block;
}

ul#actions li {
  background: #fff;
}

ul#actions li.current a {
  color: #777;
  background: #000;
}

div#main_container ul.customer_nav {
  list-style: none;
  text-align: right;
  clear: both;
  float: right;
  margin-right: 20px;
  margin-top: 0.5em;
  width: 400px;
}

div#main_container ul.customer_nav li {
  display: block;
  padding: 0.5em 0;
}

div#two {
  overflow: hidden;
  height: 620px;
  background: transparent url('/images/summary_line.gif') 0 209px no-repeat;
  margin-top: -46px;
}

div#two p#logo {
  clear: both;
  text-align: right;
  height: auto;
  padding-top: 1.5em;
  padding-right: 2em;
}

div#main_container #logo {
  height: 100px;
}

div#two div.text {
  line-height: 1.5;
  float: right;
  padding: 8px 12px;
  width: 392px;
  height: 354px;
  background: #000;
  color: #777;
  margin-top: 54px;
  margin-right: 20px;
}

div#two div.text a {
  color: #777;
  text-decoration: underline;
}

div#two div.text strong {
  color: #fff;
  font-weight: normal;
}

div#two div.image {
  float: right;
  padding: 8px 12px;
  margin-top: 54px;
  margin-right: 20px;
}

div#two #description, div#two #comments {
  overflow: auto;
  height: 334px;
}

div#two div#website {
  text-align: right;
  padding: 0.3em;
}

div#world-map {
  position: absolute;
  float: left;
  display: block;
  top: 170px;
  margin-left: 10px;
  z-index: 0;
}

div#main_container dl {
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  padding-top: 0.3em;
  margin-bottom: 1em;
}

div#main_container dl dt, div#main_container dl dd {
  display: inline;
  margin: 0;
}

div#main_container dl dd {
  margin-left: 0.2em;
}

div#main_container dl dd.highlight {
  background: #fff;
  color: #1b1818;
  padding: 0.2em;
}

/* Profiles */

div#profiles_container {
  margin-top: 1em;
}

div#one.profiles p {
  padding: 0;
  margin: 0;
}

div#one.profiles .one {
  padding: 0;
  margin-top: 40px;
  margin-left: 20px;
}

div#one.profiles .two {
  margin-top: 60px;
  margin-right: 15px;
  float: right;
}

div#one.profiles .three {
  position: absolute;
  top: 513px;
}

ul#profiles {
  position: absolute;
  top: 1em;
  font-size: 0.9em;
  padding: 0;
  margin: 0;
  margin-top: 0.3em;
  list-style: none;
  overflow: hidden;
}

ul#profiles li {
  margin-right: 1em;
}

ul#profiles li {
  float: left;
  padding-bottom: 2em;
}

ul#profiles a {
  padding: 0.3em;
}

ul#profiles li.current a {
  background: #000;
  color: #777;
}


/* News */
abbr.published {
  font-size: 0.9em;
  color: #666;
}

h1.entry-title, h2.entry-title {
  margin-top: 0;
  margin-bottom: 0.2em;
}

.hentry {
  margin-bottom: 3em;
}

/* Testimonies */

#testimonies_image {
  position: absolute;
  height: 600px;
  background: #fff;
}

ul#testimonies {
  list-style: none;
  padding: 0;
  margin: 0;
  margin: 1.5em 1.8em;
  height: 480px;
  width: 450px;
  overflow: auto;
}

ul#testimonies li {
  float: left;
  margin-right: 25px;
  margin-bottom: 25px;
}

ul#testimonies li a {
  text-align: center;
  display: block;
  height: 118px;
  width: 118px;
  border: 1px solid #000;
  color: #fff;
}

/* Services */

#universes {
  height: 585px;
  margin-left: 180px;
  margin-top: -7.5em;
  padding-bottom: 4em;
}

#universes h2 {
  padding: 0.2em 0;
  padding-bottom: 6em;
  margin: 0;
  font-size: 1.4em;
  text-transform: lowercase;
  font-weight: normal;
  text-align: left;
}

#universes h2 span {
  background: #000;
  color: #999;
  padding: 0.2em;
}

#universes p {
  margin: 0;
}

#universes img {
  display: block;
}

#mission {
  height: 400px;
  margin: 0 auto;
  text-align: center;
  margin-top: 10em;
}

#services .line {
  margin-top: 1em;
  clear: both;
}

#services #competences {
  width: 228px;
  height: 219px;
  margin-left: 80px;
  background: transparent url('/images/competences.png') left top no-repeat;
  clear: left;
  float: left;
}

#services #qualites {
  width: 462px;
  height: 135px;
  background: transparent url('/images/qualites.png') left top no-repeat;
  float: right;
  margin-right: 100px;
  margin-top: 50px;
}

#services #domaine {
  width: 263px;
  height: 263px;
  background: transparent url('/images/domaine.png') left top no-repeat;
  float: right;
  margin-right: 120px;
}

.text_replacement span, .text_replacement li {
  display: none;
}

#footer {
  clear: both;
  text-align: right;
  font-size: 0.9em;
  color: #666;
}

#footer a:link, #footer a:visited {
  font-weight: bold;
}

/* Buttons */

a.button {
  text-decoration: none;
  border: 1px solid #ddd;
  background: #eee;
  padding: 0.4em;
  color: #065bda;
}

a:hover.button {
  border-color: #666;
  
}

a.button.add {
  background: #eee url('/images/icons/add.png') 4px center no-repeat;
  padding-left: 28px;
}

a.button.print {
  background: #eee url('/images/icons/printer.png') 4px center no-repeat;
  padding-left: 28px;
}

/* Collection form */

fieldset fieldset {
  border-color: #ddd;
}

fieldset fieldset legend {  
  color: #000;
  text-transform: none;
}

form .inline p {
  float: left;
  margin-right: 2em;
}

form .container {
  overflow: hidden;
}

/* Tabs */

#tabs_container {
  overflow: hidden;
  width: 100%;
}

#tabs_nav {
  padding: 0;
  margin: 0;
  float: left;
  width: 18%;
}

#tabs_nav li.current {
  background: #eee;
}

#tabs_nav li a {
  display: block;
  padding: 0.5em;
}

#tabs_content {
  background: #eee;
  padding: 0.5em;
  width: 80%;
  float: left;
  position: relative;
  min-height: 450px;
}

/* Collections nav */

ul#collection_nav { /* general settings */
  text-align: left; /* set to left, right or center */
  margin: 1em 0 1em 0; /* set margins as desired */
  margin-bottom: 20px;
  font: bold 11px verdana, arial, sans-serif; /* set font as desired */
  border-bottom: 1px solid black; /* set border COLOR as desired */
  list-style-type: none;
  padding: 3px 10px 3px 10px; /* THIRD number must change with respect to padding-top (X) below */
}

ul#collection_nav li { /* do not change */
  display: inline;
}

ul#collection_nav li.current { /* settings for selected tab */
  border-bottom: 1px solid white; /* set border color to page background color */
  background-color: white; /* set background color to match above border color */
}

ul#collection_nav li.current a { /* settings for selected tab link */
  background-color: white; /* set selected tab background color as desired */
  color: black; /* set selected tab link color as desired */
  position: relative;
  top: 1px;
  padding-top: 4px; /* must change with respect to padding (X) above and below */
}

ul#collection_nav li a { /* settings for all tab links */
  padding: 3px 4px; /* set padding (tab size) as desired; FIRST number must change with respect to padding-top (X) above */
  border: 1px solid black; /* set border COLOR as desired; usually matches border color specified in #tabnav */
  background-color: #eeeeee; /* set unselected tab background color as desired */
  color: #666; /* set unselected tab link color as desired */
  margin-right: 0px; /* set additional spacing between tabs as desired */
  text-decoration: none;
  border-bottom: none;
}

ul#collection_nav a:hover { /* settings for hover effect */
  background: white; /* set desired hover color */
}

ul#collection_nav li a.add {
  border: none;
  background: white url('/images/icons/add.png') 4px center no-repeat;
  padding-left: 24px;
}

form.edit_collection p.checkboxes label,
form.edit_product_project p.checkboxes label {
  display: inline;
  margin-right: 20px;
}

form.edit_collection h2,
form.edit_product_project h2 {
  display: inline;
  margin: 10px;
}

form.edit_collection button,
form.edit_product_project button {
  font-weight: bold;
  background-color: #da2351;
  cursor: pointer;
  margin-bottom: 20px;
}

a.send_collection {
  display: inline;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 0.4em;
  color: white;
  font-weight: bold;
  background-color: #da2351;
  cursor: pointer;
  margin-left: 10px;
}

.collection_title h2 {
  display: inline;
}

.collection_title {
    margin-bottom: 40px;
}

form.edit_collection button:hover,
form.edit_product_project button:hover {
  background-color: #eb3462;
}

form.edit_collection .hint,
form.edit_product_project .hint {
  display: block;
  font-style: italic;
  color: #999;
}