/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single column layout depending on whether blocks are enabled in the left or right columns.
 *
 * This layout is based on the Zen Columns layout method : http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be listed here. Such as:
 *   display, position, float, clear, width, height, min-width, min-height, margin, border, padding, overflow
 */

/** Body */
html {
}
body {
}
#page-wrapper,
.region-bottom {
  /*
   * If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. See also the ie6.css file
   * for the necessary IE5/IE6quirks hack to center a div.
   */
  margin-left: auto;
  margin-right: auto;
  /*width: 940px;*/
  width: 960px;
}
#page-wrapper {height:100%;padding-bottom:75px;}
#page {width:940px; padding:10px 10px 30px  10px;}

/** Header */
#header {}
#header .section {}
.region-header {}

/** Main (container for everything else) */
#main-wrapper {position:relative;}
#main {
}

/** Content */
/* fiches collegiums */
.field-name-field-photo-col {float:right; padding:20px;}
/*.field-name-field-direction-col {border:1px solid #ccc; margin-top:30px; padding:10px;}*/

.region-content,
.no-sidebars .region-content {
  float:left; /* LTR */
  margin-left:0; /* LTR */
  margin-right:-940px; /* LTR */ /* Negative value of #content's width + left margin. */
  padding:0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
  width:940px;
}
.region-sidebar-first {}
.two-sidebars .region-content {
  margin-left:200px; /* LTR */ /* The width of .region-sidebar-first */
  margin-right:-760px; /* LTR */ /* Negative value of #content's width + left margin. */
  width:540px;
}
#portal .region-content, 
.sidebar-first .region-content {
  margin-left:215px; /* LTR */ /* The width of .region-sidebar-first. */
  /*margin-right:-960px; /* LTR */ /* Negative value of #content's width + left margin. */
  width:725px;
}
.sidebar-second .region-content {
  margin-left:0; /* LTR */
  margin-right:-760px; /* LTR */ /* Negative value of #content's width + left margin. */
  width:740px;
}
body.front .region-content {
  float:left; /* LTR */
  margin-top:0; /* A RETIRER LORSQUE BARRE NAVIGATION REMISE margin top à 3em cf code ci -dessous */
  margin-left:0; /* LTR */
  margin-right:-960px; /* LTR */ /* Negative value of #content's width + left margin. */
  padding:0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
  width:940px;
}

.node-type-article .region-sidebar-first, 
.node-type-article .region-sidebar-second,

.node-type-hdr .region-sidebar-first, 
.node-type-hdr .region-sidebar-second,

.node-type-page .region-sidebar-second,
.node-type-page .region-sidebar-first,

.node-type-fiche-laboratoire .region-sidebar-second,
.node-type-fiche-laboratoire .region-sidebar-first,

.node-type-fiche-ps .region-sidebar-first,
.node-type-fiche-ps .region-sidebar-second,

.node-type-page-de-base-galerie .region-sidebar-first,
.node-type-page-de-base-galerie .region-sidebar-seoond

.node-type-webform .region-sidebar-first,
.node-type-webform .region-sidebar-seoond,

.node-type-fiche-composantes .region-sidebar-first,

.node-type-fiche-composantes .region-sidebar-second,
.node-type-fiche-contact .region-sidebar-first,

.node-type-fiche-contact .region-sidebar-second,
.page-views .region-sidebar-first,

.page-views .region-sidebar-second,
.node-type-webform .region-sidebar-first,

.node-type-fiche-coll-gium .region-sidebar-first {margin-top:340px;}

.book-navigation .page-links {border-bottom: 0px solid #888; border-top: 0px solid #888;}

/*positionnement region content en-dessous du fil ariane**

.node-type-article .region-content div.field-name-body, 
.node-type-page .region-content div.field-name-body 
 {padding-top:30px;}    
  ****/  



/** Navigation */
#navigation {
/* float: left;  LTR */
  width: 100%;
  margin-left: 0; /* LTR */
  /*margin-right: -100%; /* LTR */ /* Negative value of #navigation's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
  height: 3em; /* The navigation can have any arbritrary height. We picked one
                    that is the line-height plus 1em: 1.3 + 1 = 2.3
                    Set this to the same value as the margin-top below. */
}
.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {
  /*margin-top: 3em;*/ /* Set this to the same value as the navigation height above. */
}
#navigation .section {
}
#content .section {margin:0 0 0 0;}


/** First sidebar */
.region-sidebar-first {
  float: left; /* LTR */
  width: 190px;
  margin-left: 0; /* LTR */
  margin-right: -200px; /* LTR */ /* Negative value of .region-sidebar-first's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-first .section. */
}
.region-sidebar-first .section {
  margin: 0 20px 0 0; /* LTR */
  padding: 0;
}

/** Second sidebar */
.region-sidebar-second {
  float: left; /* LTR */
  width: 190px;
  margin-left: 750px; /* LTR */ /* Width of content + sidebar-first. */
  margin-right: -960px; /* LTR */ /* Negative value of .region-sidebar-second's width + left margin. */
  padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}
.region-sidebar-second .section {
  margin: 0 0 0 20px; /* LTR */
  padding: 0;
}

/** Footer */
.region-footer {
}

/** Page bottom */
.region-bottom /* See also the #page-wrapper declaration above that this div shares. */ {bottom:0; display:block; height:30px; position:fixed; width:100%; z-index:300;}

/** Prevent overflowing content */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
.region-footer,.region-bottom
 {
  overflow: visible;
  word-wrap: break-word; /* A very nice CSS3 property */
}

/*
 * If a div.clearfix doesn't have any content after it and its bottom edge
 * touches the bottom of the viewport, Firefox and Safari will mistakenly
 * place several pixels worth of space between the bottom of the div and the
 * bottom of the viewport. Uncomment this CSS property to fix this.
 * Note: with some over-large content, this property might cause scrollbars
 * to appear on the #page-wrapper div.
 */
/*
#page-wrapper {overflow-y: hidden;}
*/
