/* 
Theme Name: Ebb Magazine
Theme URI: http://www.ebbrell.org
Description: A magazine-style layout for Wordpress with multiple functionalities inspired by Michael Oeser's PRiNZ BranfordMagazine 2.6 and in turn the themes of Brian Gardner and Darren Hoyt
Version: 0.1
Author: Graham Ebbrell
Author URI: http://www.ebbrell.org

/******************************************
*   HTML Elements                        
******************************************/

* {
    margin:0;
    padding:0;
    }

body,html { min-height:101%; }
   
body {
    background: #333;
    color: #333;
    padding: 13px 0 25px 0;
    }

body, select, input, textarea {
    font: 12px Verdana;
    line-height:1.5em;
    }
   
p {    margin: 9px 0;    }


hr {
    display: block;
    height:1px;
    background:#333;
    border:0;
    }

small {
    font-size: 0.9em;
    padding:0px 0px;
    }


/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited {
    color:#990000;
    text-decoration: none;
    }
a:hover    {
    color:#990000;
    text-decoration: underline;
    }

.blogtitle a { text-decoration: none; }

/* Title area links */
.title:link, .title:active, .title:visited {
    color: #000084;
    text-decoration: none;
    }
.title:hover {
    color: #000084;
    text-decoration: underline;
    }
   
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {text-decoration:none;}
h3 a:hover {text-decoration:underline;}

h4 a:link, h4 a:active, h4 a:visited  {color:#666; text-decoration:none;}
h4 a:hover {text-decoration:underline;}


/* Links in the sidebar */
.subnav li a:link, .subnav li a:visited { /* .subnav is the categories list */
    background: #fff;
    display:block;
    padding:4px 4px 4px 20px;
    border-bottom: 1px solid #999;
    }
       
.subnav li a:hover, .subnav li a:active {
    background: #F4F4EC;
    text-decoration:none!important;
    }

#sidelist a:link, #sidelist a:active, #sidelist a:visited {text-decoration:none;}
#sidelist a:hover {text-decoration:underline;}
#sidelist .children li a, #sidelist .children li a:visited {
    border:0;
    background:#F4F4EC;
    color: #666;
    }
#sidelist .children li a:hover, #sidelist .children li a:active    {
    color:#000;
    text-decoration:none!important;
    }

/* Links in unordered lists */
.bullets li a { text-decoration:none!important;    }
.bullets li a:hover { text-decoration:underline!important;    }

/* How tags appear */
.tags a {text-decoration:none;}
.tags a:hover {text-decoration:underline;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:none;}
.commentmetadata a:hover {text-decoration:underline;}

/* Links in the footer */
#footer a {text-decoration: none;}
#footer a:hover    {text-decoration: underline;}



/******************************************
*   Images                        
******************************************/

/*** default image behaviour ***/
img { border:1px solid #999; padding:1px; }

/*** default image behaviour ***/
img1 { border:1px solid #999; padding:1px; }

/*** WordPress specific image classes ***/
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin: 4px 15px 5px 0;
}

.alignright {
display: block;
float: right;
margin: 0px 0px 15px 5px;
}

.wp-caption {
   text-align: center;
   background-color: #fff;
   margin-top:5px;
   margin-right: 15px;
   margin-bottom:0px;
}

.wp-caption img{
   padding:2px;
   border:1px solid #999;
}

.wp-caption img:hover{
   border:1px solid #333;
}

.wp-caption p.wp-caption-text {
   color:#666;
   font-size: 10px;
   line-height: 12px;
   padding: 7px 4px 2px 5px!important;
   margin: 0!important;
}


       
/******************************************
*   General Structure                        
******************************************/

#page { /*the main container*/
    width:961px;
    margin:0 auto;
    font-size:1em;
    background:#FFF;
    padding: 0px 0px 35px 0px;
    border:3px double #333;
    }

.logo, .logo img {
    float:left;
    border: none;
    padding: 0px;
    margin: 0px;
}
   
.left, .logo {
    float:left;
    }

.right {
    float:right;
    }

#sidebar {/*you guessed it: it´s the sidebar container*/
    width: 219px;
    float:right;
    margin:0 22px 0 0;
    }

#ebbsidebar{/*you guessed it: it´s the sidebar container*/
    padding:0 0 10px 3px;
    }

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
width:308px;
    border-right:1px solid #b6b6b6;
    padding-right:18px;
    text-align:justify;
    }

#leftcol, #rightcol {
    margin-top:10px;
    float:left
    }   
   
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
    width:320px;
    padding-left:18px;
    margin-top: -2px;
    text-align:justify;
    }


       
/******************************************
*   Sidebar                        
******************************************/

.subnav li {/*.subnav is mainly the categories list*/
    list-style:none;
    }

#sidelist li {
    list-style:none;
    }
   
.bullets li {
    margin:0 0 5px 15px;
    list-style:square;
    }
   
#sidelist .bullets li {
    list-style:square;
    margin-bottom:5px;
    margin-left:22px;
    }

#sidelist .children {
    background:#F4F4EC;
    }

#sidelist .children li {
    background: #F4F4EC;
    list-style: none;
    margin-left:15px;
    padding-left:15px;
    border-bottom:1px solid #fff;
    }

#sidelist .feed li{
    margin-bottom:5px;
    padding-left:20px;
    background:url(images/rss.gif) no-repeat;
    }

   
/******************************************
*   Headlines                        
******************************************/

.blogtitle, .blogtitle a {
    color: #000;
    font-size: 1.8em;
    font-family: Verdana;
    font-weight: regular;
    padding: 20px 0px 10px 0px;
    }

h1 {
    color: #990000;
    font-size: 1.9em;
    font-family: Verdana;
    font-weight: bold;
    margin: 0px 5px 0px 0px;
    padding: 20px 0;
}
   
h2 {
    color: #990000;
    font-size: 1.5em;
    font-family: Verdana;
    padding-bottom:8px;
    margin: 0px 5px 0px 0px;
}

h3 {
    font: 0.9em Verdana;
    text-transform:uppercase;
    letter-spacing:0.3em;
    margin-bottom:4px;
    font-weight:bold;
    color:#990000;
    }

#sidebar h2, #sidebar h3 a {
    font: 0.9em Verdana;
    letter-spacing:0.3em;
    text-transform:uppercase;
    margin-bottom:4px;
    font-weight:bold;
    color:#990000;
    }

#sidebar h3, #sidebar h2 {
    font-family: Verdana;
    font-size:0.9em;
    letter-spacing:0.2em;
    background-color:#f4f4ec;
    text-align:center;
border-top:solid 1px black;
border-bottom:solid 1px black;
    padding:5px 0 5px 2px;
    margin:0 0 10px 0;
    color:#990000;
    }

h3#respond {
    font-size:1.1em;
    border-top:1px solid #666;
    margin-top:25px;
    padding-top:20px
    }

h3#comments {
    margin-top:32px
    }

h3 a:link, h3 a:visited {
    color: #990000;
    }

h4 {
    font-size:1.2em;
    margin-bottom:6px;
    }
   

.accessonly {display:none;}
   
/******************************************
*   Content                       
******************************************/


#content {
    width:678px;
    float:left;
    margin:0 0 0 22px;
    }
   
.description {
    font-size: 1.3em;
    font-weight: bold;
    color:#999;
    }

#content1 {
    width:924px;
    float:left;
    margin:15px 15px 15px 22px;
    }
   
.description {
    font-size: 1.3em;
    font-weight: bold;
    color:#999;
    }

/* Featured Articles formatting "leftcol" */

.feature {
    background: url(images/bg_featured.jpg) repeat-x #ffeff0;
    padding:15px;
    border: 1px solid #ccc;
    }

.feature p, #rightcol p { margin:0px;    }

#leftcol img, #rightcol img {
    padding:1px;
    border:1px solid #999;
    float:left;
    margin:0px 5px 5px 0px;
    }

#leftcol .feature {    margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
           
#leadpic {
    float:left;
    margin: 0 18px 8px 0;
    padding:1px;
    border: 1px solid #999;
    }

.title, a.title  {
    font-family: Verdana;
    font-size:1.1em;
    font-weight:bold;
    color: #000084;
    letter-spacing:normal;
    }
       
#lead p {
    margin-bottom:10px;
    }

.read-on a { /* This can be used to format the "[...]" link in the lead story */
    color:#000084!important;
    text-decoration:none;
    }
   
.read-on a:hover {
    text-decoration:underline;
    }

/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
    float:left;
    margin:3px 10px 4px 0;
    }

#leftcol img {
    margin-bottom: 4px;
    display:block
    }
   
#rightcol .clearfloat {
    border-bottom:1px solid #999;
    padding:12px 0;
    }   
   


/* Post Formatting */

.entry {
    padding-bottom:20px;
    text-align:justify;
    }

.resultsentry {
    padding-bottom:20px;
    text-align:left;
    }

.post blockquote {
    color:#666;
    background:#F4F4EC;
    padding:6px 14px;
    margin:18px 35px;
    border-right:1px solid #DDD;
    border-bottom:1px solid #DDD;
    }   

.post ul li {
    list-style:square;
    margin-bottom:5px;
    margin-left:42px;
    }

.post ol li {
    margin-bottom:5px;
   
    margin-left:48px;
    }
   
#tags {
    padding:3px;
    border-bottom:1px solid #DDD;
    border-top:1px solid #DDD;   
    }   
   
.postmetadata {
    font-size:0.9em;
    margin:0 0 10px 0;
    padding:5px 10px;
    background:#F4F4EC;
    border-top:1px solid #ffd7d7;   
    border-bottom:1px solid #ffd7d7;   
    }
               

/* Form Elements */

select {
    background:#f2f2f2;
    border:1px solid #9c9c9c;
    width:100%
    }
   

#searchform {     padding:16px 5px 0 0;     }

.button {
    padding: 1px;
    background:#333;
    color:#fff;
    border:none;
    }

.button:hover {
    background:#666;
    color:#FFF;
    text-decoration:none
    }

#commentform input {
    width: 170px;
    margin: 5px 5px 1px 0;
    }

#commentform textarea {
    width: 100%;
    margin-top:5px;
    }

/* Comments*/

.commentlist {
    padding-left:30px;
    }
   
.commentlist li {
    margin: 15px 0 3px;
    padding: 8px 15px 10px 15px;
    background:#F4F4EC;
    border:1px solid #ffd7d7;
    }

.commentlist blockquote {
    color:#666;
    background:#fff;
    padding:6px 14px;
    margin:18px 35px;
    border-right:1px solid #ccc;
    border-bottom:1px solid #ccc;
    }   

#commentform small {
    background:#FFF;
    font-weight:bold;
    padding:0;
    }
   
.commentmetadata {
    display: block;
    }

.commentlist small {
    background:#fff;
    border:1px solid #ffd7d7;
    }



/* Float Properties*/

.clearfloat:after {
    display:block;
    visibility:hidden;
    clear:both;
    height:0;
    content:".";
    }
   
.clearfloat {
    display:inline-block;
    }   

.clearfloat {
    display:block;
    }
   
   
/******************************************
*   Footer                       
******************************************/

#footer {
    margin: 0 auto;
    width: 900px;
    font-size:0.9em;
    text-align:center;
    padding-top:15px;
    color:#fff;
    }

#footer a {
    color:#006;
    }

.arcthumb {
float: left;
margin-right: 10px;
}

/*****************************************************
*   Special styles for the various page templates                     
****************************************************/

/* Styles for the "3-columns-page template" */

#pageleft {
    float: left;
    width: 265px;
    margin: 20px 20px 0px 0px;
    padding: 0 20px 0 0;
    border-right: solid 1px #999;
    text-align:justify;
    }
   
#pagemiddle {
    float: left;
    width: 265px;
    margin: 20px 20px 0px 0px;
    padding: 0px;
    text-align:justify;
    }
   
#pageright {
    float: right;
    width: 265px;
    margin: 20px 0px 0px 0px;
    padding: 0 0 0 20px;
    border-left: solid 1px #999;
    text-align:justify;
    }

#pageleft .bullets li, #pagemiddle .bullets li, #pageright .bullets li {
    list-style:square;
    margin-bottom:5px;
    margin-left:22px;
    }

/* Styles for the "featured-page template" */

#featured-top {
    width:880px;
    float:left;
    padding: 0 0 15px 0;
    margin: 0 0 25px 0;
    border-bottom: double 3px #999;
    }

#featured-content {
    width:600px;
    float:left;
    }
   
   
#featured-sidebar {
    width: 250px;
    float:right;
    }
   
#featured-sidebar h3 {
    border-bottom:1px solid #999;
    padding:5px 0 5px 2px;
    margin:0 0 20px 0;
    }   
   
#featured-sidebar .sidebar_widget {
    margin:0 0 20px 0;
    text-align:justify;
    }
   
#featured-leftcol {
    width:600px;
    float:left;
    margin:20px 20px 0 0;
    padding: 0 25px 0 0;
    border-right: 1px solid #999;
    }

#featured-leftcol h2, #featured-rightcol h2, #featured-content h2{
    color: #840000;
    font: 1.8em Verdana;
    margin: 0 0 10px 0;
    border:none;
    }

#featured-leftcol img{
    float:left;
    margin:0 20px 10px 0;
    padding:1px;
    border: 1px solid #999;
    }

#featured-rightcol{
    width:230px;
    float:right;
    margin-top:20px;
    }

#featured-rightcol li {
    list-style:none
    }

#featured-rightcol .bullets li {
    list-style:square;
    margin-bottom:5px;
    margin-left:22px;
    }

.featured_post blockquote {
    color:#666;
    background:#F4F4EC;
    padding:6px 14px;
    margin:18px 35px;
    border-right:1px solid #DDD;
    border-bottom:1px solid #DDD;
    }   

.featured_post ul li {
    list-style:square;
    margin-bottom:5px;
   
    margin-left:42px;
    }

.featured_post ol li {
    margin-bottom:5px;
   
    margin-left:48px;
    }
/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none!important;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none!important;
    }
}

/* Skin */
#container-4 { /* the whole container with all elements of the tabbed section */
    margin: 20px 0 20px 0!important; /* defines a static height to the tabed section and avoids "jumping" - part 1 of 2 */
}

.ui-tabs-panel { /* the main content-section of the tabbed area NOT the tabs themselfes */
    width:648px!important;
    padding: 15px!important;
    border-top: 1px solid #ccc!important;
    border-left: 1px solid #ccc!important;
    border-right: 2px solid #999!important;
    border-bottom: 2px solid #999!important;
    background: url(images/bg_leadarticle.jpg) repeat-x #ffd7d7!important; /* declare background color for container to avoid distorted fonts in IE while fading */
}

/* the "fragments" which are the single tab areas. each tab is defined by a fragment.
you can add as many as you want following the scheme "#fragment-x" */
#fragment-1, #fragment-2, #fragment-3, #fragment-4, #fragment-5, #fragment-6, #fragment-7, #fragment-8, #fragment-9 {
   
}

.ui-tabs-panel .title { /* for the headlines in the tabbed section */
    font:1.8em Verdana!important;
    line-height:100%!important;
    display:block!important;
    padding-bottom:7px!important;
    color: #000084!important;
    text-transform:none!important;
    letter-spacing:normal!important;

}

.ui-tabs-nav { /* the whole area of the tabs navigation above the tabbed-content */
    list-style:none!important;
    margin:0px!important;
    padding:0px!important;
}

.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block!important;
    clear: both!important;
    content: " "!important;
}
.ui-tabs-nav li {
    float: left!important;
    margin:0 1px 0 0!important;
    min-width: 85px!important; /* be nice to Opera */
}
.ui-tabs-nav .ui-tabs {
    display:block!important;
    padding:5px!important;
    background:#ffd7d7!important;
    margin:1px 0 0 0!important; /* position: relative makes opacity fail for disabled tab in IE */
    position: relative!important;
    top:1px!important;
    z-index:2!important;
    color: #333!important;
    font-weight:bold!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
    border:1px solid #ccc!important;
    white-space:nowrap!important; /* required in IE 6 */   
    outline:0!important; /* prevent dotted border in Firefox */
}


.ui-tabs-nav .ui-tabs:hover { /* here´s to define the hover effect of the tabs */
    background:#333!important;
    color:#fff!important;
}


.ui-tabs-selected .ui-tabs { /* the effects of the currently selected tab */
    background-color:#fff!important;
    color:#333!important;
    border-bottom:1px solid #fff!important;
}

.ui-tabs-nav .ui-tabs-selected .ui-tabs,
.ui-tabs-nav .ui-tabs a:hover,
.ui-tabs-nav .ui-tabs a:active {
    background-position: 100% -150px!important;
}

.ui-tabs-nav .ui-tabs,
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:hover,
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:active {
    background-position: 100% -100px!important;
}

.ui-tabs-nav .ui-tabs-selected .ui-tabs a:link,
.ui-tabs-nav .ui-tabs-selected .ui-tabs a:visited,
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:link,
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text!important;
}

.ui-tabs-nav .ui-tabs a:hover,
.ui-tabs-nav .ui-tabs a:active,
.ui-tabs-nav .ui-tabs-unselect .ui-tabs a:hover,
.ui-tabs-nav .ui-tabs-unselect .ui-tabs a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer!important;
    background-color:#333!important;
    color:#fff!important;
}

.ui-tabs-disabled {
    opacity: .4!important;
    filter: alpha(opacity=40)!important;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block!important;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block!important;
}

/* Grid */

.comparison *, .comparison {
padding: 0px;
spacing: 0px;
margin: 0px;
border: 0px;
}
.comparison {
border-collapse: collapse;
}
.comparison td, .comparison th {
    border: 1px solid #000;}
.packA { background-color: #F9C; }
.packB { background-color: #CFC; }
.packC { background-color: #FC9; }
.packD { background-color: #9CF; }
.packE { background-color: #C9F; }
.packF { background-color: #FF9; }
.packG { background-color: #9CC; }
.packH { background-color: #C0C0C0; }
.comparison td { text-align: center; }
.comparison th {font-size:7pt;line-height:7pt;padding:2px;}
.comparison thead th {white-space:nowrap;}
.comparison tbody th {text-align:right;}
.comparison .toprowis {border-left:0px;border-top:0px;color:#fff;}
.comparison .bottom {border-left:0px;border-top:0px;border-bottom:0px;color:#FFF;}
.comparison tr.newday td, .comparison tr.newday th {border-top:2px solid #000;}

.comparison tfoot tr.newday td, .comparison tfoot tr.newday th {margin-top:3px;}
.comparison .no, .comparison .yes {
width: 56px;
}
.no {
opacity: 0.5;
/* background-color:#666 !important; */
}
.booklink a {
text-decoration: none;
font-weight: bold;
}
.booklink a:hover {
text-decoration: underline;
font-weight: bold;
}

.postimage {
padding:0px 0px 5px 10px;
text-align: center;
}

.textwidget {
padding:0px 0px 10px 10px;
}