/*  
Theme Name: Hemingway meets CognitiveCombine III
Theme URI: http://www.cognitivecombine.com/?p=33
Description: Yet another modification of the Hemingway theme. This time I have implemented rounded corners and given the whole thing a unified structure. I have also added a Support Box, please view the supportbox_readme.txt file to understand how to use  it, turn it on or off. For support requests please visit the <a href="http://www.cognitivecombine.com/?p=33">support page</a>.
Version: 1.00
Author: CognitiveCombine
Author URI: http://www.cognitivecombine.com/
*/

/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0;}
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }

.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none;}

object{
	background:#fff;
}

/*---------------------------------------------------*/
/*        ---------  modif sfc 25-10 ----------      */
/*     gestion des menus de la colonne 'rubriques'   */
/*     (cf modif de l'id de la balise li a la fin    */
/*      de blocks/recent_entries.php)                */
/*---------------------------------------------------*/

#menu_ppal ul, #menu_ppal li {
   margin: 0px 0px 7px 0px; 
   padding: 0;
   list-style-type: none;
}

#menu_ppal a {
   display: block;
   width: 200px;
   margin-left: 35px;
   margin-bottom: 0px;
   margin-top: 0px;
   padding: 2px 2px 2px 10px;
   border: 1px solid #E9EADA;
   /*background: #E9EADA;*/
   text-decoration: none; /*to remove the link underlines*/
   text-align: center;
} 

#menu_ppal a:link, #menu_ppal a:active, #menu_ppal a:visited {
   color: #000000;
}

#menu_ppal a:hover {
   border: 1px solid #C6085A;
   background:#C6085A;
   /*border: 1px solid #445162;
   background:#445162;
   border: 1px solid #555555;
   background:#555555;
   background: url(/paper012.jpg);*/
   font-weight: bold;
   color: #fff;
} 

/*---------------------------------------------------*/
/*    ------------  modif sfc 25-10 ------------     */
/*   gestion des menus de la colonne 'livres audio'  */
/*     (cf modif de l'id de la balise ul a la        */
/*            fin de blocks/pages.php)               */
/*---------------------------------------------------*/

#menu_la ul, #menu_la li {
   margin: 0px 0px 7px 0px; 
   padding: 0;
   list-style-type: none;
   color: #000;
}

#menu_la a {
   display: block;
   width:200px;
   margin-left: 35px;
   padding: 2px 2px 2px 10px;
   border: 1px solid #E9EADA;
   /*background: #E9EADA;*/
   text-decoration: none; /*lets remove the link underlines*/
   text-align: center;
} 

#menu_la a:link, #menu_la a:active, #menu_la a:visited {
   color: #000000;
}

#menu_la a:hover {
   border: 1px solid #C6085A;
   background:#C6085A;
   /*border: 1px solid #445162;
   background:#445162;
   /*background: url(/paper012.jpg);*/
   font-weight: bold;
   color: #fff;
} 

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling - bottom
-----------------------------------------------------------------------------------------------*/

body{
	background:#1A1A1A;
	background: url(/bg_waves.jpg) repeat;
      color:#000; 
	font-size:11px;
	font-family:Verdana, Arial, sans-serif;
    	margin-left: auto;
    	margin-right: auto;
      margin-bottom: 30px;
	width:990px;
      background-attachment:fixed;
}

/* This class sets the width and position for all rows */
.inside{
	width:98%;
	min-width:65em;
	max-width:85em;
	margin:0 auto;
}


a {color: #888; text-decoration: none; background:#fff;}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover{font-weight: bold; color: #C6085A; background:#fff;}
a:active {text-decoration: none;}

p a {color: #888; text-decoration: none; background:#fff;}
p a:link {text-decoration: none;}
p a:visited {text-decoration: none;}
p a:hover{font-weight: bold; color: #C6085A; background:#fff;}
p a:active {text-decoration: none;}

/* voici le titre de la rubrique (ou du livre audio) dans la partie haute */
h1{
	/*color:#C6085A;
         color:#C20E59;*/
         color:#000;
	font-size:1.5em;;
	font-weight:bold;
	margin:0 0 1em 0;
}

h2, h3{
	font-size:1.15em;
	color:#FFF;
	font-weight:normal;
}
#primary h2{
	color:#777e6f;
	font-weight:bold;
}

#ancillary h2{
	color:#000;
	background:#E9EADA;
	font-weight:bold;
	text-align:center;
         font-size: 1.2em;
         padding-top: 2px;
         padding-bottom: 2px;
}

/*
b.rtop3, b.rbottom3{display:block;background: #fff}
b.rtop3 b, b.rbottom3 b{display:block;height: 1px;
    overflow: hidden; background: #ccc1a3}
b.r13{margin: 0 5px}
b.r23{margin: 0 3px}
b.r33{margin: 0 2px}
b.rtop3 b.r43, b.rbottom3 b.r43{margin: 0 1px;height: 2px}
*/

p{
	line-height:1.75em;
}

ul li{
	list-style-type:square;
	margin:0.5em 0 0.5em 2em;
}

blockquote{
	margin-left:1em;
	padding-left:1em;
	margin-right:1em;
	padding-right:1em;
	border-left:2px solid #777e6f;
	border-right:2px solid #777e6f;
	color: #000;
	background: #b4b59e;
}

code{
	font-size: 1em;
	margin: 3em 0;
	padding: 0 1.2em 0 1.2em;
	border-left:2px solid #777e6f;
	border-bottom:1px dashed #777e6f;
}

pre{
	width:100%;
	padding:1em 0;
	overflow:auto;
	border-top:1px dotted #333;
	border-bottom:1px dotted #333;
}

table{
	width:100%;
	border-spacing:2px;
	margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
	background:#CCC;
	color:#000;
	text-align:left;
}
table td{
	background:#333;
	color:#FFF;}

#tab_distrib table{
	width:100%;
	border-spacing:0px;
	margin:0 0;
         text-align: center;}
#tab_distrib  table tr, table td{ padding:0em 0em; width:50%; }
#tab_distrib  table tr{
	background:#fff;
	color:#000;
	text-align:center;}
#tab_distrib table td{
	background:#fff;
	color:#000;
         line-height:1.5em;}
#tab_distrib a {color: #888; text-decoration: none; background:#fff;}
#tab_distrib a:link {text-decoration: none;}
#tab_distrib a:visited {text-decoration: none;}
#tab_distrib a:hover{font-weight: bold; color: #C6085A; background:#fff;}
#tab_distrib a:active {text-decoration: none;}

.rule{
	border-top:1px solid #CCC;
	height:1px;
	font-size:1px;
	line-height:1px;
	margin:1.5em 0;
}

.bottom {margin: 0 0 10px}

/*-----------------------------------------------------------------------------------------------
  Header - top
-----------------------------------------------------------------------------------------------*/
#header{
         /*background:#333333;
	background:#E9EADA;*/
         background:#fff;
	width:990px;
}

#headcontainer{
	background:#fff;
    	margin-left: auto;
    	margin-right: auto;
	margin-top: 25px;
	width:990px;
}
/*
b.rtop, b.rbottom{display:block;background: #796646}
b.rtop b, b.rbottom b{display:block;height: 1px;
    overflow: hidden; background: #fff}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
*/
#header .inside{
	padding:0.25em 0 0.25em 0;
}

#header h2{
	font-size:1em;
	

	margin:0.25em 0.5em 0.25em 0;
	padding:0.25em 0.5em 0.25em 0;
	border-right:2px solid #fff;
	float:left;
	font-weight: bold;
	color: #FFFFFF;
}
#header h2 a{ text-decoration:none; color: #FFFFFF; }
#header h2 a:active{ outline:none; }
#header h2 a:focus
{
  -moz-outline-style: none;
}

#header p{
	padding:1em 0;
	margin:0;
	line-height:1em;
	margin:0.25em 0.5em 0.25em 0;
	padding:0.25em 0.5em 0.25em 0;
}

.description {
	color: #606060;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items - middle
-----------------------------------------------------------------------------------------------*/

#primary{
	background:#ffffff;
	/*padding:10px 0 2em 0;
	margin:20px 0 2em 0;*/
	padding:25px 0 5px 0;
	margin:20px 0px 0 5px 0;
	color:#000;
    	margin-left: auto;
    	margin-right: auto;
	width:990px;
         /*width:550px;*/
         border:0px solid red;
}

#primary.onecol-stories .primary{
	float:left;
	width:50%;


}
#primary.onecol-stories .secndary{
	float:right;
	width:40%;
	margin:0 0 0 10%;

}

#primary.twocol-stories .story{
	float:center;
	text-align:left;
	width:48%;
	margin:0 0 0 4%;
	display:inline;

}


* html #primary.twocol-stories .story{
	margin-left:2%;

}
#primary.twocol-stories .first, * html #primary.twocol-stories .first{
	margin:0 0 0 0;

}

.story h3{
	font-size:1.15em;
	margin:1.5em 0 1.5em 0;
	font-weight:normal;
	color:#cc0000;
}
.story h3 a{
	color:#cc0000; font-weight:bold;
	text-decoration:none;

}

.story .details{
	text-align:left;
	width:90%;
	padding:5px;
	font-size:0.95em;
	color:#777e6f;
}

.story .detailbox{
	margin:1em 0;
	text-align:center;
	width:100%;
	font-size:0.95em;
	color:#777e6f;
	background: #eaeada;
}

/*
b.rtop4, b.rbottom4{display:block;background: #fff}
b.rtop4 b, b.rbottom4 b{display:block;height: 1px;
    overflow: hidden; background: #eaeada}
b.r14{margin: 0 5px}
b.r24{margin: 0 3px}
b.r34{margin: 0 2px}
b.rtop4 b.r44, b.rbottom4 b.r44{margin: 0 1px;height: 2px}*/


.story .read-on{
	text-align:right;
	background:url(images/readon_black.gif) 100% 60% no-repeat;
	padding-right:20px;
	display:block;
}
.story .details a{
	color:#777e6f; font-weight:bold;
	text-decoration:none;
}
.story .details a:hover{ color:#777e6f; }

/* Single Post Styles */

#primary .primary{
	float:left;
	width:100%;

}
#primary .secondary{
	float:left;
	width:30%;
	margin-right:5%;
	padding-top:0.65em;
	display:inline;
}
* html #primary .secondary{ margin-right:3%; }

.secondary .featured p{
	border-bottom:1px dashed #777e6f;
	border-top: 1px dashed #777e6f;
	padding:0em 0 0 0;
	line-height:1.5em;
	margin:0 0 0 0;
	padding: 3px;
	color:#777e6f;
}
.secondary .featured dl{
	margin:0 0;
	border-bottom:1px dashed #777e6f;
	padding:0.5em 0 0.6em 0;
	padding: 3px;
}
.secondary dt{
	display:inline;
	margin:0;
	padding:0;
	color:#777e6f;
}
.secondary dd{
	display:inline;
	margin:0;
	padding:0;
	color:#777e6f;
}
.secondary dd a{ color:#777e6f; }
.secondary dd a:hover{ color:#777e6f; }

.single-post h1, .single-post h2{ margin-top:0; }

/*-----------------------------------------------------------------------------------------------
	Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{
        /* SFC 28-10 retrait du trait horizontal pleine largeur
            en bas des articles juste avant les 3 blocs du bas
	background:#eaeada;
	padding:1px 2em;
	border-top:1px solid #291c0e;*/
}

.comment-head{
	border-bottom:1px solid #929b89;
	padding:0.8em 2em 1.0em 2em;
}
.comment-head h2{
	font-size:1.5em;
	margin:0;
	color:#929b89;
}
.comment-head a{
	text-decoration:none;
	color:#000;
}
.comment-head .details{
	font-size:0.95em;
}

ol#comments{
	list-style-type:none;
	margin:2em 0;
}
ol#comments li{
	list-style-type:none;
	margin:2em 0;
}

#comments cite{
	float:left;
	width:31%;
	font-style:normal;
	text-align:right;
}
* html #comments cite{ width:30.6%; }
#comments cite span{
	display:block;
}
#comments cite .author{ font-size:1.2em; color:#929b89; font-weight:bold; }
#comments cite .author a{
	text-decoration:none;
	color:#929b89;
	font-weight:bold;
}
#comments cite .date{
	text-decoration:none;
	color:#929b89;
	font-weight:bold;
}
#comments cite .admin-tools{
	margin:5px 0;
}
#comments cite .admin-tools a{
	float:right;
	margin:0 5px;
	padding:0px 3px 3px;
	background:#666;
	border:1px solid #999;
	text-decoration:none;
}
#primary .secondary .admin-tools{ margin:1em 0; }

#preview{
	margin:1em 0;
	padding:0.5em;
	border:1px solid #333;
}
#preview p{ margin:1em 0 0 0; }
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
	display:block;
	padding-top:68px;
	background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
}

#comments .content{
	float:left;
	width:60%;
	margin-left:1.9%;
	border-left:1px solid #868686;
	padding: 0 0 0 2%;
}
#comments .content p{
	margin:0 0 1em 0;
}
#comments .content h3{
	margin:0;
	font-size:1em;
}

#comment-form{
	margin:5em 0 5em 35.4%;
	width:36em;
	color:#000;
}

#comment-form h3{
	color:#000;
	font-weight:bold;
}

input.textfield{
	width: 15em;
	margin:5px 0;
}
textarea.commentbox{
	width:28em;
	height:10em;
	padding:0.25em;
	margin:5px 0;
	font-size:1.25em;
	font-family:Arial, Helvetica, sans-serif;
}
label.text{
	position:relative;
	left:0.5em;
	top:-0.5em;
}
.formactions input.submit{ 
	float:right; 
	margin:-1em 0 0 0;
	padding:0 0.5em;
}
.formactions .spinner{
	float:right;
	margin:-8px -20px 0 0;
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/

#ancillary{
	padding:1em 0 0 0;
	background:#fff;
}
#ancillary .block{
	float:left;
	width: 30%;
	margin:0 0 0 5%;
}
* html #ancillary .block{
	margin-left:3.9%;
}
#ancillary .twice-length{ width:65%; }
#ancillary .thrice-length{ width:100%; }
#ancillary .first, * html #ancillary .first{
	clear:both;
	margin:0;
}
#ancillary .block-separator{
	clear:both;
	height:2.5em;
}

#ancillary .block h2, #ancillary .block h3{
	margin:0 0 1em 0;
}

ul.dates, ul.counts, ul.blogroll ul, ul.pages{
	list-style-type:none;
	margin:0em 0 1em 0;
	border-top:0px dashed #929b89;
}
ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
	list-style-type:none;
	margin:0;
	padding:0.5em 0;
	border-bottom:1px dashed #929b89;
}
ul.dates .date{
	color:#000;
	padding:0 1em 0 0;
}

ul.counts .count{
	float:right;
	color:#000;
}

ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
	color:grey;
	text-decoration:none;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ 
	color:#C6085A;
}

ul.blogroll{ margin-top:0; }
ul.blogroll li{
	list-style-type:none;
	margin:0;
}

ul.pages ul{
	margin:0;
}
ul.pages ul li{
	border:none;
	margin-left:2em;
	list-style-type:square;
}
/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
	clear:both;
	color:#000;
	margin:0em 0em 0em 0em;
	background:#eaeada;
	width:990px;
    	margin-left: auto;
    	margin-right: auto;
	border-top:0px solid #878870;
}
#footer .inside{
	padding:1em 0;
}
#footer p{
	margin:0;
	font-size:0.95em;
}
#footer p.copyright{ float:left; color:#000; }
#footer p.attributes{ float:right; }
#footer p.attributes a{
	padding:0 0 0 1em;
	text-decoration:none;
	color:#000;
}
#footer p.copyright a{
	text-decoration:none;
	font-weight: bold;
	color:#000;
}
#footer p.attributes a:hover{
	color:#000;
}


/*-----------------------------------------------------------------------------------------------
  Support Box
-----------------------------------------------------------------------------------------------*/

#supportbox{
	clear:both;
	color:#624740;
	background:#fff;
	padding:2px;
}
#supportbox p{
	margin:0;
	font-size:0.95em;
}
#supporttitle{ float:left; color:#624740; font-weight:bold; padding:2px;}

#supportinside{
	clear:both;
	padding:2px;
	background:#fff;
    	margin-left: auto;
    	margin-right: auto;
	
}
#supportinside p.attributes{ /*float:center;*/ }
#supportinside p.attributes a{
	text-decoration:none;
	color:#fff;
}
#supportinside p.copyright a{
	text-decoration:none;
	font-weight: bold;
	color:#fff;
}
#supportinside p.attributes a:hover{
	color:#fff;
}

#supportcontainer{
	background:#fff;
    	margin-left: auto;
    	margin-right: auto;
	width:990px;
	margin-bottom: 25px;
}

/*
b.rtop2, b.rbottom2{display:block;background: #796646}
b.rtop2 b, b.rbottom2 b{display:block;height: 1px;
    overflow: hidden; background: #fff}
b.r12margin: 0 5px}
b.r22{margin: 0 3px}
b.r32{margin: 0 2px}
b.rtop2 b.r42, b.rbottom2 b.r42{margin: 0 1px;height: 2px}
*/




/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
	float:right;
	margin:0 0 0 0;
        margin-top:8px;
	-moz-opacity:0.8;
	text-align:right;
}
#search:hover{
	-moz-opacity:1.0;
}
#search input{ 
	width:175px; 
	font-size: 1em; 
        /*background:#ccc;*/
	background:#fff;
	margin-top:2px;
}
#search input:focus{
	background:#FFF;
}

#searchform{
	margin:1em 0;
}

#searchform #s{
	background:#222;
	border:none;
	border-bottom:1px solid #333;
	width:30em;
	color:red;
	padding:0.25em;
}

#searchform #searchsubmit{
	background:#000;
	color:#666;
	border:none;
	font-size:0.9em;
	text-transform:uppercase;
	letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
	width:30%;
	background:#333;
	padding:0 0 0 0;
	float:right;
	-moz-opacity:0.9;
	border-top:1em solid #000;
}
#search-results h3{
	font-weight:bold;
	text-align:left;
	margin:0;
	padding:0 0 1em 0;
	background:#000;
	
}
#search-results small{
	display:block;
	text-align:left;
	font-size:0.9em;
	padding:0.5em 1em 0.7em 1em;
	border-top:1px solid #666;
	border-bottom:1px solid #555;
}
#search-results small a{
	color:#CCC;
}
#search-results ul li{
	list-style-type:none;
	padding:0 1em 0.5em 1em;
	margin:0.5em 0;
}
#search-results ul li:hover{
	background:#202020;
}
#search-result ul{ margin:0; }
#search-results ul li a{
	text-decoration:none;
	border-bottom:1px dotted #CCC;
}

#search img.archives-icon{
	margin:0 7px 0 0;
	top:1px;
}

#close {
        text-align:center;
        padding-bottom: 5px;
        margin: 8px 0px 3px 0px;
        border:0px solid red;
        background: #fff;}

#margebas{

        padding: 0px 0px 10px 0px;
	margin:-20px 0px 0px 0px;
        /*background: #1A1A1A;*/
        background-color: yellow;
        border:1px solid red;
}