/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */
a:focus{outline:0;} /* Fix firefox bug */
a:hover{text-decoration: underline; }
body {
  margin: 0;
  padding: 0;
  background: transparent url(../images/bg.jpg) repeat-x;
  font-family: Tahoma;
}

#page {
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
background: transparent url(../images/bg-banner.jpg) no-repeat 10px 0;
width: 938px;
height: 200px;
position: relative;
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: 0;
  padding: 40px 0 0 30px;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 2em;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  color: #FFF;
  margin: 0;
  font-size: 1.6em;
  position: absolute;
  top: 140px;
  left: 40px;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

#main {
}

/*
 * Content
 */

#content {
}

article.node-page{
 color: #3b3838;
 font-size: 0.75em;
 line-height: 1.25em;
}

.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
	display: none;
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  margin: 0;
}
h1.title{
  clear:both;
}
h1#page-title{
  /* text-transform: uppercase; */
  color:#7b1515;
}
.not-front h1#page-title{
	padding-top: 40px;
} 
tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
  clear: both;
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
}

/*
 * Footer
 */

#footer {
color: #434343;
background-color: #d4d4d4;
margin-top: 50px;
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}
/* 
 * Language Switcher block 
 */
 ul.language-switcher-locale-url{
  list-style: none;
  float: right;
  margin:0;
}
 html.lt-ie8  ul.language-switcher-locale-url{
  margin-top:22px;
  padding-left: 20px;
}
ul.language-switcher-locale-url li {
	float: left;
}
ul.language-switcher-locale-url li a, ul.language-switcher-locale-url li span  {
  color: #5a5a5a;
  font-size: 0.8em;
  text-decoration: none;
  padding-right: 5px;
}
ul.language-switcher-locale-url li span{
  display: none;
  text-decoration: line-through;
}
ul.language-switcher-locale-url li.active a{
  text-decoration: underline;
  font-weight: bold;
  font-family: Arial;
}

 /*
 * Front page
 */
body.front  #page  #main article{
	line-height: 1em;
	color: #484747;
	margin-top: 50px;
	width: 50%;
	float: left;
}
body.front  #page  #main article img{
	border: 1px solid #ededed;
	padding: 10px;
	float: left;
	margin-right: 10px;
}
body.front  #page  #main article h2,body.front  #page  #main article h3{line-height: 1em;font-weight: normal;}
body.front  #page  #main article h2{
	color: #4f91bb;
	font-size: 0.9em;
	margin: 0 0 20px 0;
}
body.front  #page  #main article.first h2{
	font-size: 2.2em;
	color: #7B1515;
	margin-bottom: 30px;
}
body.front  #page  #main article h3{
	color: #4f91bb;	
}
body.front  #page  #main article.first{
	padding-top: 40px;
	float: none;
	width: 100%;
}

body.front  #page  #main article .body{
	font-size: 0.8em;
	padding-right: 5px;
}
body.front  #page  #main article .body ul, body.front  #page  #main article .body ol{
	margin:0;
	padding: 0;
	list-style-position: inside;
}
body.front  #page  #main article .body li{
	position: relative;
	left: 1em;
	padding-right: 1em;
}
body.front  #page  #main article .body li p{
	margin: 0;
	display: inline;
}
body.front  #page  #main article .body .more{
	font-weight: bold;
	text-align: right;
	text-transform: uppercase;
	margin: 0;
	
}
body.front  #page  #main article .body .more a{
	color: #464545;
	text-decoration: none;
}
 /*
 * Page contact
 */
.page-contact #page #main #contenth1{
  font-weight: normal;
}
.page-contact #page #main #content h2{
   color: #4f90ba;
   font-size: 1.0em;
   margin: 0;
}
.page-contact #page #main #content p {
  color: #3f3b3b;
  font-size: 0.8em;
  line-height: 1.1em;
  margin: 14px 0;
}
.page-contact #page #content a {
  color: #3f3b3b;
}

 /*
 * Page produit & partners
 */
 body.section-produits #page h1, body.section-partners #page h1 {
  font-weight: normal;
}

 body.section-produits #page .node-page h2 {
   color:#7b1515;
  }
  body.section-produits #page #content h2 {
	font-weight: normal;
	clear:both;
  }
  
 body.section-produits #page h3,  body.section-produits #page article h2 , body.section-partners #page #main article h2{
   color: #4f90ba;
   font-size: 1.2em;
   margin: 0;
}
 /*body.section-produits #page p, body.section-produits #page article p, body.section-partners #page p, article.node-produits p {
  color: #3f3b3b;
  font-size: 1em;
  margin: 14px 0;
  padding-right: 250px;
}*/
body.section-produits #page #main #content p{
  color: #3f3b3b;
  line-height: 1.2em;
  text-align:justify;
}
body.section-produits #page #main #content .preview img{
  float:left;
  margin:0.5em 1em 1em 0;
  padding:5px;
  border:1px solid #ccc;
 }
body.section-produits #page #content a, body.section-partners #page #content a, article.node-produits a {
  font-family: tahoma;
  color: #3f3b3b;
}
body.section-produits #page #content h2 a{
  color: #7B1515;
  text-decoration: none;
}
body.section-produits #page #content a.pdf, article.node-produits a.pdf{
background: transparent url(../images/pdf_logo.gif) no-repeat bottom left;
padding: 10px 25px 0;
}

 body.section-produits #page article > img,  body.section-produits #page article > a.lightbox img, article.node-produits > img, article.node-produits > a.lightbox img{
	float: right;
 }
  body.section-produits #page article, article.node-produits {
     color: #3B3838;
    font-size: 0.8em;
    line-height: 1.25em;
}
 /*
 * Page Partners
 */
body.section-partners #page  h1 {
	clear: left;
}
 body.section-partners #page p {
	padding-right: 20px;
 }
 body.section-partners #page #main #content p {
  color: #3f3b3b;
  font-size: 0.8em;
  line-height: 1.1em;
  margin: 14px 0;
}
 body.section-partners #page article{
  
 }
 body.section-partners #page  article .field-name-field-partners-logo img{
	float: left;
	margin: 1em 15px 10px 0;
	padding: 5px;
	border: 1px solid #ccc;
 }
 /*
 * Page Articles
 */

body.node-type-article  #page  #main article{
	line-height: 1em;
	color: #484747;
	margin-top: 50px;
}
body.node-type-article  #page  #main article img{
	border: 1px solid #ededed;
	padding: 10px;
	float: left;
	margin-right: 10px;
}
body.node-type-article  #page  #main article h2,body.front  #page  #main article h3{line-height: 1em;font-weight: normal;}

body.node-type-article  #page  #main article h2{
	font-size: 2.2em;
	color: #7B1515;
	margin-bottom: 30px;
}
body.node-type-article  #page  #main article h3{
	color: #4f91bb;	
}

body.node-type-article  #page  #main article .field-name-body{
	font-size: 0.8em;
	padding-right: 5px;
}
body.node-type-article  #page  #main article .field-name-body ul, body.front  #page  #main article .field-name-body ol{
	margin:0;
	padding: 0;
}
body.node-type-article  #page  #main article .field-name-body li{
	position: relative;
	left: 1em;
	padding-right: 1em;
}
body.node-type-article  #page  #main article .field-name-body li p{
	margin: 0;
}
/*
 * Page Documents
 */
.node-documents{
	font-size: 0.8em;
	color: #3b3838;
}
.node-documents h2{
 	color: #4f91bb;	
}

.node-documents h2.node-title{
 	clear: both;
}
.node-documents > a img{
	background-color: #fff;
	padding: 5px;
	margin-top: 20px;
	float: right;
	border: 1px solid #ccc;
}
 .node-documents .field-name-body{
	padding-right: 240px;
	line-height: 1em;
 }
 
.page-documents #toc, .page-documents #toc a {
  color: #4F91BB;
  }
.page-documents #toc a{
	text-decoration: none;
}
.page-documents #toc  .separator{
margin: 0 10px;
}
.page-documents #main a.buttondesign, input.buttondesign{
  color: #fff;
  border: 1px solid #162134;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #477a9f; /* Old browsers */
  /*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iIzQ3N2E5ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM1JSIgc3RvcC1jb2xvcj0iIzQwNjc4NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzYzVjN2EiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
  background: -moz-linear-gradient(top, #477a9f 1%, #406786 35%, #3c5c7a 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#477a9f), color-stop(35%,#406786), color-stop(100%,#3c5c7a)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* IE10+ */
  background: linear-gradient(to bottom, #477a9f 1%,#406786 35%,#3c5c7a 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#477a9f', endColorstr='#3c5c7a',GradientType=0 ); /* IE6-8 */	
  -webkit-box-shadow: inset -1px 1px 1px -1px white;      
  box-shadow: inset -1px 1px 1px -1px white;  
  padding: 5px 10px;
  text-decoration: none;
}
.page-documents #main a.buttondesign:hover, input.buttondesign:hover{
	text-decoration: underline;
}
/*
 * Page webmaster
 */

body.page-webmaster  table {
  width: 100%;
  font-size: 0.923em;
  margin: 0 0 10px;
  border: 1px solid #bebfb9;
}
body.page-webmaster  table td,
body.page-webmaster  table th {
  vertical-align: middle;
  padding: 8px 10px;
  border: 0;
  color: #000;
}
body.page-webmaster  tr.even,
body.page-webmaster  tr.odd {
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #bebfb9;
  background: #f3f4ee;
}
body.page-webmaster  tr.odd {
  background: #fff;
}
body.page-webmaster  tr.drag {
  background: #fe7;
}
body.page-webmaster  tr.drag-previous {
  background: #ffb;
}
body.page-webmaster  table th {
  text-transform: uppercase;
  background: #e1e2dc;
  font-weight: normal;
  border-width: 1px;
  border-style: solid;
  border-color: #bebfb9;
  padding: 3px 10px;
}
body.page-webmaster  table th.active {
  background: #bdbeb9;
}
body.page-webmaster  table th a {
  display: block;
  position: relative;
}
body.page-webmaster  table th.active a {
  padding: 0 25px 0 0; /* LTR */
}
body.page-webmaster  table th.active img {
  position: absolute;
  top: 3px;
  right: 3px; /* LTR */
}
body.page-webmaster  table td.active {
  background: #e9e9dd;
}
body.page-webmaster  table tr.odd td.active {
  background: #f3f4ee;
}
body.page-webmaster  table tr.selected td.active,
body.page-webmaster  table tr.selected td {
  background: #ffc;
  border-color: #eeb;
}

body.page-user-documents .item-list .preview img{display:none}
body.page-user-documents #preview {
	background: #fff;
	display: block;
	float: right;
	width: 250px;
	min-height: 300px;
	border-left: 1px dashed #ccc;
	margin-left: 3em;
	padding-left: 1em;
}

body.page-user-documents .view-content .item-list ul{
  list-style: none;
  margin:0 280px 0 0;
  padding: 0;
}
body.page-user-documents .view-content .item-list ul li{
background: transparent linear-gradient(#E9E9E9, rgba(233, 233, 233, 0));
border: 1px solid #bbb;
-webkit-border-radius: 4px;
border-radius: 4px;
margin: 10px 0;
padding: 0 5px;
}
body.page-user-documents .view-content .item-list ul li a{
	color: #333;
	font-size: 0.9em;
	text-decoration: none;
}