/*
Theme Name: Hapu - Houy
Theme URI: http://www.kingcosmonaut.de/blix/
Description: Thème pour le Blog JD par Ralph Davidovits, septembre 2006, adapté de Blix. MàJ pour WP 2.9, Jan 2010
Version: 1.0.3
Author: Sebastian Schmieg / Ralph Davidovits
Author URI: http://www.kingcosmonaut.de/blix/
*/

/*****************
* LAYOUT
******************/
/* reset */
body,h1,h2,h3,h4,h5,h6,p,form,fieldset {margin:0; padding:0;}
.low {display:none;}

/* body */
body {margin:0; padding:15px 0; font:79% Arial, Helvetica, 'DejaVu Sans Condensed','Nimbus Sans L', Aerial, Summersby, Lorna, sans-serif; line-height:1.4em; text-align:center;}
body#commentspopup {padding:0;}

/* headings */
h1 {font-size:33px; font-weight: normal; font-family:  Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif;}
.description {font-size:13px; text-align:left; padding:10px 0px 0px 20px;}
#content h2 {margin:10px 0 4px 0; font-family: Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif; font-size:1.65em; font-weight:normal; line-height:20px;  /* IEWin */}
#content h3 {margin:10px 0 4px 0; font-family: Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif; font-size:1.4em; line-height:1.4em; font-weight:normal;}
#content h4 {margin:0; font-size:1.1em; font-weight:bold;}
#content.archive h2 {margin:0 0 26px 0;}
#content.archive h3 {margin:0 0 10px 0; font-family: Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif; font-size:1.4em; font-weight:normal;}
#content.archive h4 {margin:0 0 18px 0; font-size:1em;}
#content.archive h5 {margin:0; font-size:1em;}

/* links */
a {}
a img {border:none;}

/* paragraphs, lists, etc */
p {margin:0; padding:0 0 10px 0;}
ul {margin:0 0 0 1.4em; padding:0 0 18px 0;}
ul ul {padding:0;}
pre {overflow:auto; margin:0 0 18px 0; padding:4px;}
pre, code, kbr {font-family:Courier, Monaco, monospace;}
code, kbr {padding:0 2px;}
abbr, acronym {font-size:0.9em; letter-spacing:1px;}
em {font-style:italic;}
strong {font-weight:bold;}

/* images */
img.left, img.alignleft {float:left; margin:0 12px 0 0;}
img.right, img.alignright {float:right; margin:0 0 0 12px;}
.aligncenter, div.aligncenter, img.aligncenter, img.center, img.centered {display:block; margin:0 auto;}

/* CADRES AVEC ICONES */
.alert {background:#FFF6BF url(/wp-content/themes/hapu/images/exclamation.gif) 15px center no-repeat; border-top:2px solid #FFD324; border-bottom:2px solid #FFD324; margin:10px auto; padding:5px 20px 5px 45px; text-align:center;}
.download {background:#D0F29D url(/wp-content/themes/hapu/images/package_go.gif) 15px center no-repeat; border-top:2px solid #9CD941; border-bottom:2px solid #9CD941; margin:10px auto; padding:5px 20px 5px 45px; text-align:center;}
.link {background:#EEEEEC url(/wp-content/themes/hapu/images/anchor.gif) 15px center no-repeat; border-top:2px solid #BABDB6; border-bottom:2px solid #BABDB6; margin:10px auto; padding:5px 20px 5px 45px; text-align:center;}
.message {background:#93BFEF url(/wp-content/themes/hapu/images/script.gif) 15px center no-repeat; border-top:2px solid #5687C6; border-bottom:2px solid #5687C6; margin:10px auto; padding:5px 20px 5px 45px; text-align:center;}
.pdf {background:#FBDB8F url(/wp-content/themes/hapu/images/page_white_acrobat.gif) 15px center no-repeat; border-top:2px solid #E39F33; border-bottom:2px solid #E39F33; margin:10px auto; padding:5px 20px 5px 45px; text-align:center;}
blockquote {font-size:1.1em; font-style:italic; font-family: Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif; margin:20px 0; padding:0 20px 0 50px; background:url(/wp-content/themes/hapu/images/quote.gif) 10px top no-repeat; border:none;}

/* DIVERS (IMAGE, ALIGNEMENT, TAILLE) */
.small {font-size:smaller;}
.clear {clear:both; margin:0; padding:0;}
.right {float:right;}
.left {float:left}
img {padding:0px 4px; max-width:100%; overflow:visible; border:none;}
div.figureright {float:right; border:none; margin:0; padding:5px; text-align:center;}
div.figurecenter {margin-left:auto; margin-right:auto; border:none; padding:5px; text-align:center;}
div.figureleft {float:left; border:none; margin:0; padding:5px; text-align:center;}
div.figureright p, div.figureleft p, div.figurecenter p, div.figureright br, div.figureleft br, div.figurecenter br {font-style:italic; font-size:smaller; text-indent:0;}
.wp-caption {border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
.wp-caption img {margin: 0; padding: 0; border: 0 none;}
.wp-caption p.wp-caption-text {font-style:italic; font-size:0.95em; line-height:1.2em; padding: 0 4px 5px; margin: 0;}

/* container */
#container {width:690px; margin:0 auto; padding:30px 30px 0 30px; text-align:left;}
#commentspopup #container {width:455px; padding:0 15px;}

/* header */
#header {height:115px; padding:0 0 0 18px;}
#header h1 {/*display:none;  This will hide the text in your header */ padding-top:50px;}

/* navigation */
#navigation {height:2.1em; line-height:2.1em;}
#navigation ul {margin:0; padding:0;}
#navigation li {float:left; margin:0; padding:0; list-style-type:none; white-space:nowrap;}
#navigation li a {display:block; padding:0 18px; font-size:11px; text-transform:uppercase; letter-spacing:1px;}
* html #navigation a {width:1%;} /* see http://www.positioniseverything.net/explorer/escape-floats.html */
#subcontent form {display:block; padding:0 15px;}
#subcontent form fieldset {border:0 solid;}

/* content */
#content {float:left; width:455px; padding-top:32px;}
.singlecol #content {float:none; width:550px; margin:0 70px;}
#commentspopup #content {float:none; padding-top:0;}

/* entry */
.entry {margin:0 0 5px 0;}
.entry .info {position:relative; margin-top:3px; padding:0px 4px; border-top:1px solid; border-bottom:1px solid; font-size:0.8em;}
.entry.single {clear:both;}
.entry.single .info {margin:0 0 20px 0;}
.entry .info .date, .entry .info a {margin-right:6px; padding-right:9px; border-right:1px solid;}
.entry .info em {padding-right:6px; font-style:normal;}
.entry .author, .entry .editlink a {margin:0; padding:0 0 0 10px; border-left:1px solid; border-right:none}
.entry #filedunder {clear:both; padding:3px 0 0 0; font-size:0.8em; border-top:1px solid;}
.entry .tagdata {position:relative; margin:-15px 0 20px 0; font-size:0.8em;}

/* mini-entry */
.minientry {position:relative; margin:0px 0 35px 0; padding:10px 0; border-top:1px dotted; border-bottom:1px dotted;}
.minientry p {padding:0;}
.minientry .commentlink {margin-left:3px; padding-right:7px; border-right:1px solid; font-size:0.9em;}
.minientry .permalink {margin-left:3px; font-size:0.9em; font-style:normal;}
.minientry .author, .minientry .editlink a {margin-left:6px; padding:0 8px 0 10px; border-left:1px solid; font-size:0.9em; font-style:normal;}
.minientry .editlink a {margin:0;}

/* comments */
#comments h2 {margin-bottom:24px;}
#comments h2 a {margin-left:2px; padding-left:6px; border-left:1px solid; font-family:Arial, Helvetica, 'DejaVu Sans Condensed','Nimbus Sans L', Aerial, Summersby, Lorna, sans-serif; font-size:0.55em;}
#comments ul {margin:0 0 0 20px;}
#comments li {position:relative; margin-bottom:18px;}

#comments li p {padding:0 0 10px 0;}
#comments .header {position:relative; min-height:19px;  /* 19 + 3 +3 = 25px = height of gravatar */margin:0 0 10px 0; padding:3px 6px;}
* html #comments .header {height:19px;} /* IEWin */
#comments .header strong {font-family: Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif;}
#comments .header .gravatar {position:absolute; top:1px; right:1px;}

/* form */
form {padding:6px 0;}
#commentform, #contactform {margin-bottom:18px;}
form fieldset {border:0 solid;} /* Opera */
form p {padding:6px 0; border-bottom:1px solid;}
form label {display:block; float:left; width:110px;}
#commentform label {margin:0 15px 0 15px;}
#contactform label {margin:0 15px 0 0;}
form em {margin-left:5px; font-style:normal;}
form input, form textarea {padding:3px; border:1px solid; font-family:Arial, Helvetica, 'DejaVu Sans Condensed','Nimbus Sans L', Aerial, Summersby, Lorna, sans-serif; font-size:1em;}
form textarea {overflow:auto;}
#commentform input {width:200px;}
#commentform textarea {width:325px;}
#contactform textarea, #contactform #bx_subject {width:500px;}
* html #commentform textarea {width:320px;} /* IE WIN;  but why? */
* html #contactform textarea, * html #contactform #bx_subject {width:450px;} /* IE WIN;  but why? */
form .button {border:1px outset; font-weight:bold;}
#commentform .button {margin-left:90px;}
#contactform .button {margin-left:130px;}
form .hiddenfield {display:none;}
form .info {padding-left:90px;}
input#s {height:1.5em; width:65%; margin:0 5px 0 0; padding:0; border:1px solid; font-size:1em; vertical-align:middle;}
input#button_search {}

/* archives */
.archive .postspermonth {margin:0; list-style:none;}

/* content misc */
#entrynavigation {text-align:center; margin:0 0 70px 0; padding:0; width:100%; border-bottom:1px solid; font-size:0.9em; line-height:1.2em;}
#entrynavigation .next {float:right; width:45%; text-align:right;}
#entrynavigation .previous {float:left; width:45%; text-align:left;}
#entrynavigation p {margin:0; padding:0;}
#pagenavigation {text-align:center; padding:0; width:100%; font-size:1em;}
#pagenavigation .next {float:right; width:45%; text-align:right;}
#pagenavigation .previous {float:left; width:45%; text-align:left;}

/* subcontent */
#subcontent {float:right; width:205px; font-size:1em; line-height:1.3em; padding:15px 0 0 15px;}
* html #subcontent {padding-top:32px;} /* dirty fix for IEWIN;  temporary! */
#subcontent ul, #subcontent p {margin:0 10px;}

/* subcontent headings */
#subcontent h2 {margin:18px 0 10px 0;font-family: Georgia, 'DejaVu Serif Condensed', 'Bitstream Charter', Palatino, 'URW Palladio L', freeserif, serif; font-size:11px; line-height:1em;}
#subcontent h2 em {display:block; padding:5px 10px; font-style:normal;}

/* subcontent list */
#subcontent ul li {margin:2px 0 2px 18px; padding-bottom:2px; border-bottom:1px solid; font-size:0.9em; line-height:1.2em;}
#subcontent li a {display:block; padding:1px 0; height:1%;  /* IE WIN */}
#subcontent ul li.cat-item {margin:2px 0 2px 18px; padding-bottom:2px; border-bottom:1px solid; font-size:1em; line-height:1.3em;}
#subcontent ul li.cat-item ul.children {margin:0; font-size:1em; line-height:1.2em;}
#subcontent ul li.cat-item li {margin:0 0 0 5px; padding:0 0 3px 3px; border-bottom:none;}
#subcontent ul li.cat-item ul.chlidren ul {margin:0 0 0 16px;}

/* calendar */
#wp-calendar {display:inline-table; border-collapse:collapse; width:185px; margin:0px 10px 0 10px; text-align:center;}
#subcontent table caption {margin:0px 10px 0 10px; padding-bottom:5px; border-bottom:1px solid; letter-spacing:0.1em;}
#subcontent table thead tr {border-bottom:1px solid;}
#subcontent table th {border-bottom:1px solid;}
#subcontent table td {width:200px;  /* maximize width;  honestly, I don't know much about tables... */padding:1px; font-size:0.8em;}
#subcontent table td#today {padding:0; border:1px solid; font-size:0.9em; font-weight:bold;}
#subcontent table td a {display:block; border-bottom:1px solid; font-weight:bold; font-size:1.1em;}
#subcontent table tfoot {border-top:1px solid;}
#subcontent table tfoot a {border:none; font-weight:bold;}
#subcontent table tfoot #prev a {text-align:left;}
#subcontent table tfoot #next a {text-align:right;}

/* footer */
#footer {clear:both; padding:20px 0 10px 0; font-size:0.9em;}
.singlecol #footer {padding:20px 0 10px 0;}
#footer p {padding:7px 0 8px 0; border-top:1px solid;}
#footer strong {font-weight:normal;}
.singlecol #footer p {padding:7px 70px 8px 70px;}

/***********************
* MINIMAL FLAVOUR
************************/
/* body */
body {color:#111; background:#fff;}
body#commentspopup {background:white;}

/* headings */
h1, h1 a, h1 a:hover {color:#444; text-decoration:none;}
h2, h2 a, h3, h3 a, h4 a {color:#5b4777; text-decoration:none;}
h2 a:hover, h3 a:hover, h4 a:hover {color:#5b4777; text-decoration:none;}

/* links */
a {color:#3E367C; text-decoration:none;}
a:hover {color:#111; text-decoration:none;}
a.commentlink {padding-left:16px; background:url(/wp-content/themes/hapu/images/comments.gif) center left no-repeat;}
a.more {padding-right:10px; background:url(/wp-content/themes/hapu/images/more.gif) center right no-repeat;}
#content p a[href], #content ul li a[href] {border-bottom:1px dashed #B4AED6;}
#content .entry.single a[href] {border-bottom:1px dashed #B4AED6;}
#content .entry.single h2 a[href] {border-bottom:none; text-decoration:none;}
#content .entry h2 a[href] {border-bottom:none; text-decoration:none;}
#content .entry.single .info a[href] {border-bottom:none; text-decoration:none;}
#content .entry .info a[href] {border-bottom:none; text-decoration:none;}

/* paragraphs, lists, etc */
pre, code {background-color:#F8FAF2;}
kbr {color:#009193;}

/* container */
#container {padding-top:0; border-top:0px solid white; background:white url(/wp-content/themes/hapu/images/container_bg.gif) 500px 0px repeat-y;}
#container.singlecol, #commentspopup #container {background-image:none;}

/* header */
#header {background-color:#fff; background-image:url(/wp-content/themes/hapu/images/header_bg-b.jpg);}
.description {font-style:italic; color:#444;}

/* navigation */
#navigation {background-color:#fff; border-top:1px solid #666; border-bottom:1px solid #666;}
#navigation li {}
#navigation li.page_item a {color:#222; text-decoration:none;}
#navigation li.page_item a:hover {color:#fff !important; background-color:#666;}
#navigation ul li.current_page_item a{color:#fff !important; background-color:#666; text-decoration:none;}

/* Entry */
.entry {margin:0 0 20px 0;}
.entry .author {}
.entry .info {border-color:#EEE; background-color:#F5F5F5;}
.entry .info .date, .entry .info a {border-color:#949494; text-decoration:none;}
.entry a.more {padding-left:9px; background:url(/wp-content/themes/hapu/images/more.gif) center left no-repeat; text-decoration:none;}
.entry .info .date {padding-left:12px; background:url(/wp-content/themes/hapu/images/post.gif) center left no-repeat;}
.entry .info .category, .entry.single .info .category {padding-left:15px; background:url(/wp-content/themes/hapu/images/categories.gif) center left no-repeat;}
.entry .info .author {padding-left:20px; border-color:#949494; background:url(/wp-content/themes/hapu/images/author.gif) 10px 2px no-repeat;}
.entry #filedunder {border-color:#F3F4F4;}
.entry .excerpt {display:block; font-size:0.9em; font-style:italic; color:#444;}
.entry .tagdata {display:block; font-size:0.8em; color:#444;}
#content .entry.single .tagdata a[href] {border-bottom:none; text-decoration:none;}


/* Mini-Entry */
.minientry  {border-color:#D9D9D9;}
.minientry .commentlink {border-color:#949494;}
.minientry .permalink {padding-left:15px; background:url(/wp-content/themes/hapu/images/post.gif) center left no-repeat;}
.minientry .author {padding-left:23px; border-color:#949494; background:url(/wp-content/themes/hapu/images/author.gif) 10px 2px no-repeat;}

/* Comments */
#comments h2 {margin-bottom:24px;}
#comments h2 a {color:#5b4777; text-decoration:none;}
#comments li.comment {list-style-image:url(/wp-content/themes/hapu/images/comments.gif);}
#comments li.trackback,#comments li.pingback {list-style-image:url(/wp-content/themes/hapu/images/pingtrackback.gif);}
#commentform {background-color:#EDF3DE;}
#comments .header {background-color:#EDF3DE;}
#comments .header.alt {background-color:#E9F7F6;}

/* form */
form p {border-color:white;}
form label { font-size:1em; color:#5b4777;}
form em { font-size:0.9em; color:#5b4777;}
form input {color:#111;}
form input, form textarea {border-color:#999 #BBB #BBB #999; background-color:#F0F0F0;}
form .button {border-color:#999 #BBB #BBB #999; background-color:#DDD;}
input#s {background-color:#F0F0F0;}
input#button_search {height:20px; width:30px; border:0px #fff !important; background-color:#fff !important; padding:0px !important; text-align:center; vertical-align:middle;}

/* Archives */
.archive .postspermonth {color:#A0A0A0;}

/* content misc */
.next a {text-decoration:none; border-bottom:none;}
.previous a {text-decoration:none; border-bottom:none;}
#entrynavigation {border-bottom-color:#fff}
#pagenavigation .next {font-weight:bold;}
#pagenavigation .previous {font-weight:bold;}
.editlink {position:absolute; height:14px; width:14px; right:2px; background:url(/wp-content/themes/hapu/images/edit.gif) 0 -14px;}
html>body .editlink {bottom:6px;}
.entry .info .editlink a, .minientry .editlink a, #comments li .editlink a {display:block; height:14px; width:14px; margin:0; padding:0; border:none; font-size:1px; /* IEWin */ line-height:0; /* IEWin */ text-indent:-9999px; background:url(/wp-content/themes/hapu/images/edit.gif) 0 0; text-decoration:none;}
.entry .info .editlink a:hover, .minientry .editlink a:hover, #comments li .editlink a:hover {background:none;}

/* subcontent */
#subcontent {background:url(/wp-content/themes/hapu/images/subcontent_bg.gif) top left no-repeat;}

/* subcontent headings */
#subcontent h2 {color:white; background:#666 url(/wp-content/themes/hapu/images/corner_top_left.gif) top left no-repeat;}
#subcontent h2 em {background:url(/wp-content/themes/hapu/images/corner_top_right.gif) top right no-repeat;}

/* subcontent list */
.current-cat {font-weight:bold;}
#subcontent ul li {border-bottom-color:#DDDDDD;}
#subcontent ul li.cat-item {border-bottom-color:#DDDDDD;}
#subcontent li a {text-decoration:none;}
#subcontent li a:hover {background-color:#F3F3F3; text-decoration:none;}
#subcontent ul.pages li {list-style-image:url(/wp-content/themes/hapu/images/post.gif);}
#subcontent ul li.cat-item, #subcontent ul.months li {list-style-image:url(/wp-content/themes/hapu/images/categories.gif);}
#subcontent ul.links li {list-style-image:url(/wp-content/themes/hapu/images/links.gif);}
#subcontent ul.feeds li {list-style-image:url(/wp-content/themes/hapu/images/feeds.gif);}
#subcontent ul li {list-style-image:url(/wp-content/themes/hapu/images/post.gif);}
#subcontent ul li.cat-item li.cat-item {list-style-image:url(/wp-content/themes/hapu/images/sub_categories.gif);}

/* calendar */
#wp-calendar {color:#999;}
#subcontent table caption {border-bottom-color:#EEE;}
#subcontent table thead tr {border-bottom-color:#EEE; color:#333;}
#subcontent table th {border-bottom-color:#EEE;}
#subcontent table td#today {border-color:#EEE; color:#333;}
#subcontent table td a {border-bottom-color:#C1956C; background-color:#EEE;}
#subcontent table tfoot {border-top-color:#DDD;}
#subcontent table tfoot a {background:none;}

/* footer */
#footer {color:#999; background:white url(/wp-content/themes/hapu/images/footer_bg.gif) 470px 0px no-repeat;}
.singlecol #footer {background-image:none;}
#footer p {border-top:3px solid #ddd;}
#footer a {color:#999;  text-decoration:none;}
#footer a:hover {color:#555;}
