@import "custom.css";

/* ========================================================================
   Defaults
   ======================================================================== */

.left
{
  float: left;
}

.right
{
  float: right;
}

img
{
  border : none;
}

a
{
  color: #3767a7;
  text-decoration: none;
}

a:visited
{
  font-style: italic;
}

a img
{
  border-width: 0px;
}

a h3
{
  color: white;
}

th
{
  font-weight: bold;
  vertical-align: top;
}

dt
{
  font-weight: bold;
  text-decoration: underline;
}

pre
{
  padding: 10px;

  border: 1px solid #4e4d49;
  background: white;
}


/* ========================================================================
   Page structure
   ======================================================================== */

body
{
  padding: 0px;

  color: white;
  background-image: url(http://www.lrde.epita.fr/~didier/.common/background.jpg);
  font-size:   11px;
  font-family: sans-serif;
}

#pagediv
{
  position: fixed;
  top:      30px;
  bottom:   60px;
  left:     30px;
  right:    30px;

  background-image: url(http://www.lrde.epita.fr/~didier/.common/page_background.jpg);
  background-position: -31px -31px;
  border: 1px solid white;
}

#topbardiv
{
  position: absolute;
  top:      100px;
  left:     180px;
  right:    180px;
}

#topbartable #topbarrow #topbarmiddle
{
  width: 100%;

  color: black;
  background-image: url(http://www.lrde.epita.fr/~didier/.common/topmiddle.jpg);
  font-weight: bold;

  text-align:     center;
  vertical-align: middle;
}

#contentsdiv
{
  position: absolute;
  overflow: auto;
  top:      124px;
  left:     180px;
  right:    180px;
  bottom:   40px;

  padding: 10px;

  color: black;
  background-image: url(http://www.lrde.epita.fr/~didier/.common/contents_background.jpg);

  text-align: justify;
}

#btmbardiv
{
  position: absolute;
  left:     180px;
  right:    180px;
  bottom:   20px;
}

#btmbartable #btmbarrow #btmbarmiddle
{
  width: 100%;
  background-image: url(http://www.lrde.epita.fr/~didier/.common/btmmiddle.jpg);
}

#leftfooter, #rightfooter
{
  position: fixed;
  height: 30px;
  bottom: 25px;

  font-size:  smaller;
  font-style: italic;

  vertical-align: top;
}

#leftfooter
{
  left: 35px;
}

#rightfooter
{
  right: 35px;
  text-align: right;
}

#rightfooter A
{
  color: white;
}


/* ========================================================================
   Rubrics
   ======================================================================== */

#rubricsdiv
{
  position: absolute;
  top:      20px;
  left:     180px;
}

.rubriccell
{
  text-align: center;

  font-weight: bold;
}

.selectedrubriccell
{
  text-align: center;

  font-weight: bold;

  color: #e45930;
  background-color: white;

  padding-left:  8px;
  padding-right: 8px;

  border-top-width:    1px;
  border-bottom-width: 1px;
  border-style: solid;
  border-color: white;
}

.rubriccell A
{
  display: block;

  color: white;

  padding-left: 10px;
  padding-right: 10px;

  border-width: 1px;
  border-style: solid;
  border-color: white;
}

.rubriccell A:visited
{
  color: white;
  font-style: normal;
}

.rubriccell A:hover
{
  color: #e45930;
  background-color: white;

  filter: alpha(opacity=50);
  opacity: .5;
}


/* ========================================================================
   Permalinks
   ======================================================================== */

#permalinksdiv
{
  position: absolute;
  left:     0px;
  bottom:   39px;
  width:    180px;

  text-align:     center;
  vertical-align: bottom;
}




.error
{
  border: 1px dashed #fff;
  padding: 6px 0 6px 10px;
  margin: 20px 0 0 0;
  color: #fff;
  background: #E2001A;
}

.message { color: #000; margin: 6px 0 6px 10px; }


/* ========================================================================
   Posts
   ======================================================================== */

.post, .post-content, .footnotes, .attachments, .post-info-co, #comments
{
  clear: both;
}

.post, .post.odd
{
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 30px;
}

.post-content
{
  text-align: justify;
  border-bottom: 1px solid black;
}

.read-it, .post-chapo
{
  padding: 6px 10px 6px 20px;
}

.post-content code, .post-excerpt code
{
  font-family: monospace;
}

.post-content blockquote, .post-excerpt blockquote
{
  padding: 0px 10px 0px 10px;
  font-style: italic;
  border-left: 2px solid #4e4d48;
}

.post-content acronym, .post-excerpt acronym
{
  cursor: help;
  border-bottom: 1px dashed #c1c1c1;
}

.footnotes
{
  font-size: 0.9em;
}

.footnotes, .footnotes p
{
  margin-top : 1em; text-indent : 0;
}

.post-content h2, .post-excerpt h2, .post-content h3, .post-excerpt h3, .post-content h4, .post-excerpt h4, .post-content h5, .post-excerpt h5, #attachments h3
{
  color: #4e4d49;
}

.day-date
{
  display: none;
}

a.feed {}

.post-title
{
  color: #3767a7;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.post-title a:link, .post-title a:visited
{
  color: #3767a7;
  font-style: normal;
}

.post-info a:link, .post-info a:visited, .post-info a:hover
{
  color: #777;
  text-decoration: underline;
}

.post-info, .page-info
{
  color: #777;
  font-style: italic;
  margin-top: 3px;
}

.post-tags
{
  padding-left: 0px;
  padding-top:  0px;
}

.post-tags li
{
  display: inline;
  white-space: nowrap;
}

.post-tags li a:link, .post-tags li a:visited
{
  padding: 5px 8px 2px 18px;
  background: transparent url(img/tag.png) no-repeat 0 0;
}

.pagination, #navlinks
{
  clear: left;
  color: #777;
  text-align: center;
}

#attachments h3
{
  padding: 6px 0 0px 20px;
  margin-left: -10px;
}


/* Comment */

.comment_count
{
  padding-left: 15px;
  margin-right: 5px;
  background: transparent url(img/comment.png) no-repeat 0 50%;
}

.ping_count
{
  padding-left: 18px;
  background: transparent url(img/trackback.png) no-repeat 0 50%;
}

.attach_count
{
  padding-left: 15px;
  background: transparent url(img/attach.png) no-repeat 0 50%;
}

#co, #tb
{
  margin : 0 0 1.33em 0;
  padding : 12px 0 0 0;
  text-align : left;
  font-weight : normal;
  border-top : 2px solid #4e4d49;
}

#comments h3, #pings h3, #pr h3
{
  padding: 6px 0 0px 20px;
  margin-left: -10px;
  color: #4e4d49;
}

#comments dl, #pings dl
{
  padding : 0px 10px 4px 20px;
  margin : 0;
}

#comments dd, #comments dt, #pings dd, #pings dt, dd.comment-preview
{
  margin : 0;
}

#comments dd, #pings dd
{
  padding-bottom : 12px;
}

#comments dd.me
{
  font-style: italic;
}

#comments dt.me a
{
  font-weight: bold;
}

#comments dd li, #pings dd li, #comment-form li, #comments dd ol, #pings dd ol, #comment-form ol { margin-left: 15px; }

#comments-feed
{
  font-weight: bold;
  padding-left: 10px;
}

#comments-feed a:link, #comments-feed a:visited
{
  background: transparent url(img/rss.png) no-repeat 0px 50%;
  padding: 3px 5px 2px 22px;
}

#ping-url
{
  padding-left: 10px;
}

/* Comments forms */
#comment-form
{
  padding-left: 10px;
}

#pr, #pr dl {padding-bottom: 10px;}

#comment-form h3
{
  color: #4e4d49;
}

#comment-form fieldset p.field { padding: 7px 0; width: auto; margin: 0; clear: left; }

#comment-form p.form-help { color: #000; width: 65%; margin: 0 0 0 30%; font-style: italic; text-align: justify;}

#comment-form p label { color: #000; width: auto;}

#comment-form p.field label
{
  font-weight: bold;
  color: #000;
  display: block;
  padding: 0 4px 4px 0;
  width: 29%;
  float: left;
}
#comment-form input, #comment-form textarea
{
  font: 1em Arial,sans-serif;
  color: #000;
  border: 1px solid #4e4d49;
  padding: 1px 2px;
  width: 65%;
}

#comment-form input#c_remember
{
  width: auto;
  border: 0;
  margin: 0 5px 0 30%;
}

#comment-form input.preview
{
  margin-left: 30%;
}

#comment-form input.preview, #comment-form input.submit
{
  width: auto;
  color: #4e4d49;
  background: #c1c1c1;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid #4e4d49;
}

#comment-form input.preview:hover, #comment-form input.submit:hover { background: #c7c7c7; }


/* ========================================================================
   Sidebar
   ======================================================================== */

#leftmenu
{
  position: absolute;
  top: 124px;
  left: 20px;

  width:  140px;
  height: 410px;

  text-align: right;
  vertical-align: top;
}

#rightmenu
{
  position: absolute;
  top: 124px;
  right: 20px;

  width:  140px;
  height: 410px;

  text-align: left;
  vertical-align: top;
}

.menudiv h2
{
  font-size: 12px;
}

.menudiv a
{
  color: white;
}

.menudiv a:visited
{
  font-style: normal;
}

.menudiv a:hover
{
  color: yellow;
}

.menudiv h2
{
  margin-bottom: 0px;
  border-bottom: 2px solid white;
}

.menudiv ul
{
  list-style-type: none;

  padding: 3px;
  margin-top: 2px;

  border: 1px solid white;
}

.menudiv ul a:hover
{
  display: block;

  color: black;
  background-color: yellow;
}

#search h2
{
  display: none;
}

#search form fieldset
{
  margin: 0;
  padding: 0 5px 0 0;

  border: none;
}

#search form fieldset p
{
  margin: 0;
}

#search #q
{
  width: 100%;
}

#search input.submit
{
  display: none;
}

.content-inner h2
{
  color: black;
  font-size: 12px;
  margin: 0 20px;
}

.content-inner h2.post-title a
{
  font-size: 13px;
}

.content-inner h3
{
  margin: 0 20px;
}

#content-info h2
{
  color: #3767a7;
}

#content-info p a.feed:link, #content-info p a.feed:visited
{
  padding: 3px 0 3px 22px;
  background: transparent url(img/rss.png) no-repeat 1px 3px;
}

.dc-archive-month .post-title, .dc-archive-month .post-info
{
  background: white;
  text-align: left;
}

.dc-category #content-info
{
  text-align: justify;
}


/* ========================================================================
   Widgets
   ======================================================================== */

.navlang ul, .languagewidget ul
{
  text-align: center;
}

.navlang ul li, .languagewidget ul li
{
  display: inline;
}

.navlang ul li a:hover, .languagewidget ul li a:hover
{
  display: inline;

  color: yellow;
  background: transparent;
}

.navlang ul li:after, .languagewidget ul li:after
{
  content: ' -- ';
}

.navlang ul li:last-child:after, .languagewidget ul li:last-child:after
{
  content: '';
}

.categories ul li a:hover
{
  display: inline;

  color: yellow;
  background: transparent;

}

.tags ul li
{
  display: inline;
}

.tags ul li a:hover
{
  display: inline;

  color: yellow;
  background: transparent;
}

.tag0 { font-size: 75%; }
.tag10 { font-size: 80%; }
.tag20 { font-size: 85%; }
.tag30 { font-size: 90%; }
.tag40 { font-size: 100%; }
.tag50 { font-size: 110%; }
.tag60 { font-size: 120%; }
.tag70 { font-size: 130%; }
.tag80 { font-size: 140%; }
.tag90 { font-size: 150%; }
.tag100 { font-size: 160%; }

p.post-translations
{
  padding: 3px;
  margin-top: 2px;

  border: 1px solid white;
}