/**
 * @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
 */
body {
  margin: 0;
  padding: 0;
  background: white;
}

#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 {
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: 40px 20px 10px 10px;
  padding: 0;
}
#logo img {
  vertical-align: bottom;
  height: 70px;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
}

#site-name { /* The name of the website */
  font-size: 2em;
  line-height: 1em;
  margin-top: 40px;
  margin-bottom: 5px;
}
#site-name a:link,
#site-name a:visited {
  color: #729fcf;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  font-size: 1em;
  margin: 0;
  font-style: italic;
  color: #555753;
}

.compteur {
  margin-top: 40px;
  float: right;
  color: #eeeeec;
  font-size: 2.5em;
  padding: 15px 10px;
  border: 1px solid #204a87;
  border-radius: 10px;
  background-color: #729fcf;
}

a:hover .compteur {
  border: 1px solid #f57900;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.7em;
  padding-right: 20px;
}
.toolbar .region-header {top: 30px;}
.toolbar.toolbar-drawer .region-header {top: 65px;}

.region-header > .block {
  display: inline-block;
  vertical-align: middle;
}

.region-header #search-block-form {
  margin: 0;
  margin-top: 1px;
}

.region-header #search-block-form .form-text {
  padding: 2px 25px 2px 5px;
  border: 0;
  background-color: #eeeeec;
}

.region-header #search-block-form .form-text:focus {
    border: 1px solid #f57900;
}

.region-header #search-block-form .form-submit {
  background: transparent url('../images/loupe.png') no-repeat center center;
  font-size: 0;
  height: 20px;
  width: 25px;
  padding: 0 2px;
  border: 0;
  position: relative;
  left: -25px;
  top: 2px;
  vertical-align: top;
  /*background-color: green;*/
}

.region-header #block-locale-language ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.2em;
}
.region-header #block-locale-language li {
  display: inline;
}
.region-header #block-locale-language li + li::before {
  content: " | ";
  display: inline;
  color: #eeeeec;
}

.region-header #block-locale-language a {
  color: #eeeeec;
}
.region-header #block-locale-language a:hover,
.region-header #block-locale-language a:focus {
  color: #fff;
  text-decoration: underline;
}

/*
 * Main (container for everything else)
 */

#main {
    padding: 10px;
}

/*
 * Content
 */

#content {
    padding-top: 10px;
}

#content .block.first {
    margin-top: 5px;
}

h1.title {
  /*border-bottom: 1px solid #d3d7cf;*/
  border-bottom: 1px solid #888a85;
  font-size: 1.7em;
}

h3.title {
  font-size: 1.3em;
}

.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
}
.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;
  color: #2e3436;
}

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 */
}
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 */
}

/*
 * 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 {
}

.region-sidebar-second .block {
    border: 1px solid #d3d7cf;
    margin: 15px 0;
}

.region-sidebar-second .block-title {
    position: relative;
    margin: 0 auto;
    padding-left: 20px;
    line-height: 2em;
    background: #729fcf;
    color: white;
}

.region-sidebar-second .block .content {
    background-color: #eeeeec;
    padding: 10px;
}

.region-sidebar-second .block .content p {
    margin: 0 0 1em 0;
}

.region-sidebar-second .block .content ul,
.region-sidebar-second .block .content p:last-child {
    margin: 0;
}

.region-sidebar-second .block .center {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/*
 * Footer
 */

#footer {
  border-top: 1px solid #d3d7cf;
  background-color: #eeeeec;
  margin-top: 30px;
  width: 100%;
  padding: 15px 2% 25px 2%;
}

#footer .block {
    display: inline-block;
    width: 20%;
    vertical-align: top;
    margin: 0;
}

#footer .block .block-title {
    color: #729fcf;
    font-size: 1.1em;
    margin-bottom: 10px;
}

#footer .block .content {
    padding: 0;
    margin: 0;
    font-size: small;
    color: #555753; 
}

#footer .block .content ul {
    padding: 0;
    margin: 0;
}

#footer .block .content li {
    list-style-image: none;
    list-style-type: none;
}

#footer .block .content a:link, 
#footer .block .content a:visited {
  color: #555753; 
}

#footer .block .content a:hover {
  color: #f57900;
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
    background-color: #888a85;
    font-size: small;
    color: #eeeeec;
    text-align: right;
    padding-right: 10px;
}

.region-bottom #block-system-powered-by {
  display: inline-block;
}

.region-bottom #block-system-powered-by a {
  color: #eeeeec;
  font-weight: bold;
}

.region-bottom #block-locale-language {
  display: inline-block;
  position: absolute;
  left: 10px;
}

.region-bottom #block-locale-language a {
  color: #eeeeec;
}

.region-bottom #block-locale-language ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.region-bottom .language-switcher-locale-url li {
  display: inline;
  padding: 3px 5px;
  /*border: 1px solid #eeeeec;*/
}
.region-bottom .language-switcher-locale-url li.first {
  display: inline;
  padding: 3px 5px;
  border-right: 1px solid #eeeeec;
}

