/*   
Theme Name:jQ
Theme URI:http://devolux.nh2.me/jq
Description:jQ comprises a whole stack of jQuery functions as well as a practical theme options page. The design is clean and solid, valid CSS and XHTML. Features: threaded comments, drop-down navigation, different styles and more. 
Author:Devolux
Author URI:http://devolux.nh2.me/
Version:3.4
Tags:two-columns, fixed-width, theme-options, threaded-comments, custom-colors, white, dark, blue
.
Released under the <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>.
.
*/

/*       ###############################
         BASIC TAGS
         ############################### */

* {margin:0; padding:0;}
body {font-family: Helvetica; font-size: 10px; color:#000; background:url(img/bkgrd.jpg) top left #193c74;}
h1, h2, h3, h4, h5, h6 {margin:5px 0 0 0;}
p {margin:0px 0px 20px 0px;}
a {outline:none; text-decoration:underline; color:#8a8a8a;}
a:hover {color:#215c97;}
a img {border:none;}

/*       ###############################
         BASIC LAYOUT
         ############################### */

div#outline {width:826px; margin:15px auto; margin-top: 0; background:url(img/header.gif) no-repeat top center; border: 9px solid #fff;}


div#content {background:#cad0e4; clear:both; z-index:1; width:806px; padding:10px 0px 0 0px; border-left: 10px #cad0e4 solid; border-right: 10px #cad0e4 solid; }

div#left {width:514px; line-height:1.5; float:left; padding:0 5px 10px 0; background: #fff; border:1px solid #ccc; padding: 25px 10px !important; -moz-border-radius:10px; -webkit-border-radius: 10px;}
div#right {background: #fff; width:240px; float:right; padding: 5px 10px; -moz-border-radius:10px; -webkit-border-radius: 10px; }

p#toggle-all {float:right; width:100px; margin: 2px 0 0 0;}
p#sidebar_hide {display: none; float:right; width:100px; font:14px bold Verdana, sans-serif; margin: 4px 0 0 0;}
p#sidebar_show {display: none; float:right; font:14px bold Verdana, sans-serif; margin: 4px 0 0 0;}

div.headline {margin:10px 0 0 20px;}
div.excerpt {padding:0 0 10px 0; border-bottom:dotted 1px #ccc; margin:0 0 0 20px;}
div.post-single {margin:0 0 20px 0;}

div.preview {float:right; background:url(img/preview.png) no-repeat; margin:15px 0 0 0;}
div.preview a {display:block; width:20px; height:20px; color:#ccc !important; font:normal 14px Verdana, serif;}

div.date {position:absolute; width:60px; height:60px; padding:5px 0; margin:0 0 0 -80px; background:#fff; -moz-border-radius:5px;-webkit-border-radius: 5px;}

div.single_content {clear:both; margin:0 0 50px 0px;}

div#appendix {clear:both; background:#cad0e4; width:826px; padding:15px 10px 15px 0px; padding: 0; margin:0 0 0px 0;}
div.app_widget {float:left; width:262px; background:#fff; background:#cad0e4; padding:0px 0px 0px 10px;}
div#appendix div.widget {padding:20px 0 0 0;}

ul#mail_rss a {text-decoration:underline !important;}

/*       ###############################
         WIDGETS
         ############################### */

.widget {border:1px solid #ccc; padding:10px 10px !important; margin:10px 0; -moz-border-radius:5px;-webkit-border-radius: 5px; background: #fff url(img/bg-form-text.gif) repeat-x left top;}
div.widget h4 {border-bottom:1px dotted #ccc; font:bold 120% Helvetica, sans-serif;}

div#right, div#appendix {font-size:120%;}
div#right ul, div#appendix ul {list-style:none; padding:0;}

div.widget h4 {font-size:130%; margin:0; padding:0 0 3px 0;}
div.widget h4 .hide_widget {color:#002f82;font: bold 110% Helvetica, sans-serif;}
div.widget a {display:block; padding:5px 0px; font:normal 110% Helvetica, sans-serif; color:#8a8a8a; text-decoration:none;}
div.widget a:hover {color:#002f82; text-decoration:none;}
div.widget li {padding:0 0 0 5px; margin:0; border-bottom:1px dotted #ccc;}
div.widget li li {padding:0 0 0 10px; margin:0; background:none; border-top:none; border-bottom:none;}

div#tag_cloud a {display:inline;}
div#tag_cloud {min-height:130px;}
div#archives {min-height:130px;}
div#rss-3 a {text-decoration: none;}

.textwidget, .textwidget a {font: normal 100% sans-serif !important; color: #002f82;}
.textwidget p {margin: 0; padding: 0;}

/*calendar*/
table#wp-calendar {margin:0 0 10px 0; border-collapse:collapse; text-align:center; font-size:14px;}
table#wp-calendar a {font:normal 14px Verdana;}
table#wp-calendar caption {padding:0 0 5px 0;}
table#wp-calendar th {font:bold 14px Verdana;}
table#wp-calendar th, td {width:30px; height:30px;}

/*       ###############################
         TEXT
         ############################### */

#blog-line {height: 214px;}
div#blog-line h1 a {font:normal 50px Georgia, serif; color:#fff;}
div#blog-line h1 {font:38px Georgia, serif; padding:20px 0; margin:0; color:#fff; letter-spacing:-2px;}

div#left {font-size:120%;}
div#left a {color:#215c97;}
div#left a:hover {color:#ccc; text-decoration:underline;}
div#left h1 {float:left; font:bold 210% Helvetica, sans-serif; width:450px; letter-spacing:-1px;}
div#left h1.page_headline {margin:10px 0; font:bold 24px Helvetica, sans-serif; color:#002f82; letter-spacing: normal;}
div#left h1.page_headline a {text-decoration: none;}
div#left h1 a {color:#002f82; display:block; text-decoration:none;}
div#left h1 a:hover {color:#215c97; text-decoration:none;}
div#left h2 {font:bold 150% Georgia, serif; margin:0 0 10px 0;}
div#left h2.archive-title {margin:10px 0 0 20px; font:bold 26px Helvetica, sans-serif; color:#215c97;}
div#left h3 {font:italic 120% Georgia, serif; margin:0 0 5px 0;}
div#left ul, ol {margin:0 0 20px 20px;}

div.excerpt {font-size:120%;}
div.single_content {font-size:120%;}

p#font-resize a {display:inline; font:14px bold Verdana, sans-serif; padding:0px 5px;}
p#toggle-all a {display:block; width:80px; height:20px; padding:0 0 0 30px !important; font:12px bold Verdana, sans-serif;}
a.show-all {background:url(img/toggle.png) no-repeat;}
a.hide-all {background:url(img/toggle.png) 0px -20px no-repeat;}

p.previous-posts {margin:20px 0 0 0; float:left; font:normal 130% Verdana;}
p.next-posts {margin:20px 0 0 0; float:right; font:normal 130% Verdana;}
.page-numbers {font:normal 120% Helvetica, sans-serif; padding:3px 1px;}
div.date {font:normal 14px Georgia; text-align:center; color:#666;}
p.date-month {margin:2px 0 15px 0; color:#999; font:normal 32px Georgia;}

p.post_info {}
p.post_info_slide {font-size:14px;}
p.tag_info {margin:0 0 10px 0; font: italic 100% Helvetica, sans-serif;}
p.offset {margin:5px 0;}

p.wp-bookmark {margin:0;}
.wp-logo {float:left;}
div#credits {margin:0 0 0 65px; padding:5px 10px; height:46px; border:1px solid #ccc; -moz-border-radius:10px;-webkit-border-radius: 10px; font:120% normal Georgia, serif; }
a#totop {float:right; font:bold 120% Verdana, sans-serif;}
 
.clear {clear:both;}

code {font:normal 120% Courier, serif;}

/*      ##################################
           COMMENTS
        ################################## */

div#comments_box {margin: 0 0 20px 0; border-top: 1px solid #ccc;border-left: 1px solid #ccc;border-right: 1px solid #ccc;}
div#comments_box ul {margin:0 !important;}
div#respond {padding:10px 20px; border-bottom:1px solid #ccc;}
ul.children {margin:0 !important;}
li.comment, li.pingback {padding:20px; border-bottom:1px solid #ccc; list-style: none;}
li.depth-2, li-depth-3 {margin: 0 0 10px 0;}
ul.children li.comment {border: 1px solid #ccc;}
.comment-details {font:normal 130% Georgia, serif;}
.avatar {float:left; margin:0 20px 0 0; border:5px solid #f1f1f1;}
.comment-text {margin:50px 0 0 0;}
.comment-author-admin {background: #f9fbc1; padding: 10px !important;}
.bypostauthor {background: #dfe3f3; padding: 10px !important;}
.comment-reply {text-align:right; margin:0 5px 10px 0; font: italic 100% Georgia, serif;}

h2#comment-header {margin:40px 0 10px 0 !important; padding:0 0 5px 0;}

/*        ##################################
           FORMS
        ################################## */

label {display:block; margin:0 0 5px 0;}
.text {width:350px; margin:0 0 10px 0; padding:5px; background:url(img/bg-form-text.gif) repeat-x left top #fff; border:1px solid #ccc;}
textarea {width:450px; height:150px; margin:0; padding:5px; background:url(img/bg-form-text.gif) repeat-x left top #fff; border:1px solid #ccc; -moz-border-radius:5px;}
.submit {width:auto; padding:5px 20px; margin:5px 0; color:#fff; background:#333; border:1px solid #333; -moz-border-radius:5px;-webkit-border-radius: 5px;}
input {-moz-border-radius:5px;-webkit-border-radius: 5px; margin:0 5px 0 0;}

/*        ##################################
           SEARCHFORM
        ################################## */

input#search {width:150px; padding:5px; background:url(img/bg-form-text.gif) repeat-x left top; border:1px solid #ccc;}
#search-submit {padding:5px; color:#fff; background:#333; border:none;}
div#left div#searchform {padding: 0 0 0 20px;}
p.not-found {padding: 0 0 0 20px; margin:0;}

/*        ##################################
           WORDPRESS CSS
        ################################## */

img.alignright {float:right; margin:0 0 30px 30px;}
img.alignleft {float:left; margin:0 50px 30px 0;}
img.aligncenter {display:block; margin-left:auto; margin-right:auto;}
a img.alignright {float:right; margin:0 0 30px 30px;}
a img.alignleft {float:left; margin:0 50px 30px 0;}
a img.aligncenter {display:block; margin-left:auto; margin-right:auto;}

.aligncenter, div.aligncenter {display:block; margin-left:auto; margin-right:auto;}
.alignleft {float:left;}
.alignright {float:right;}

.wp-caption {border:1px solid #ddd; text-align:center; background-color:#f3f3f3; padding-top:4px; margin:10px;}
.wp-caption img {margin:0;padding:0;border:0 none;}
.wp-caption p.wp-caption-text {font-size:110%; line-height:17px; padding:0 4px 5px; margin:0;}

/*        ##################################
           SUPERFISH
        ################################## */

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {margin:0;padding:0;list-style:none;}
.sf-menu {line-height:1.0;}
.sf-menu ul {position:absolute;top:-999em;width:10em; /* left offset of submenus need to match (see below) */}
.sf-menu ul li {width:100%;margin:0 !important;}
.sf-menu ul ul li{margin:0 !important;}
.sf-menu li:hover {visibility:inherit; /* fixes IE7 'sticky bug' */}
.sf-menu li {float:left;position:relative;}
.sf-menu a {display:block;position:relative;}
.sf-menu li:hover ul,.sf-menu li.sfHover ul {left:0;top:38px; /* match top ul list item height */ z-index:1000;}
ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {top:-999em;}
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {left:10em; /* match ul width */ top:0;}
ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {top:-999em;}
ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {left:10em; /* match ul width */ top:0;}

/*** CUSTOM STYLES ***/
.sf-menu li ul {background:#222;border:1px solid #000;border-top:none;opacity:0.9;-moz-opacity:0.9;filter:alpha(opacity=90);}
.sf-menu li li ul, .sf-menu li li li ul {background:#222;border:1px solid #000;border-top:none;opacity:1.0;-moz-opacity:1.0;filter:alpha(opacity=100);}

/*        ##################################
          SLIDESHOW
          ################################## */

h1.slide_header {font-size: 32px !important; margin: 0 !important;}
#slideshow {margin:0 0 0 20px; width:450px; height:175px; position:relative; background:url(img/bg-form-text.gif) repeat-x left top; border: 1px solid #ccc; -moz-border-radius:5px;-webkit-border-radius: 5px; overflow:hidden;}
#slideshow #slidesContainer {margin:0 auto; padding:20px 0 10px 0; width:450px; height:175px; overflow:auto; /* allow scrollbar */ position:relative;}
#slideshow #slidesContainer .slide {margin:0 auto; width:440px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */ height:175px;}

.control {display:block;width:30px;height:175px;text-indent:-10000px;position:absolute;cursor:pointer;}
#leftControl {top:0;left:0;background:#ccc;background:url(img/slide_left.png) no-repeat center;}
#rightControl {top:0;right:0;background:url(img/slide_right.png) no-repeat center;}

/*       ###############################
         CLEARFIX
         ############################### */

.clearfix:after {content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0;}
.clearfix {display:inline-block;}
html[xmlns] .clearfix {display:block;}
* html .clearfix {height:1%;}
.clear {clear:both;}


/*       ###############################
         NAVIGATION
         ############################### */
#navholder{
width: 100%;
height:20px;
margin: 0 auto;
background:#cad0e4;
}

/***reset default styling***/
.nav,
.nav ul{
    list-style-type:none;
    margin:0;
    padding:0;
font-family: 'century gothic', arial;
font-weight: lighter;
font-size: 10pt;
color: #fff;
}
.nav a {
text-decoration:none;
}
/*CUSTOMIZATION*/
/*i have split the code to have the width/height/color separate from the rest of the code*/
/*COLORS*/
.nav {
    background:#002f82;  /*dark blue*/
text-align: center;
}
.nav a {
    background:#002f82;  /*dark blue*/
    color:#fff;
}
.nav ul {
    background:#b80507;  /*red - top link persistent background color*/
}
.nav a.main {
    background:transparent;/*so that the top link persistent background works*/
}
.nav ul a.main {
    background:#002f82;  /*dark blue*/
}
.nav a.main:hover {
    background:#b80507;  /*red*/
}
.nav .sub ul a {
    background:#b80507;  /*red*/
}
.nav .sub ul a.main {
    background:#002f82;  /*dark blue*/
}
.nav .sub ul a.main:hover {
    background:#e0e0e0;  /*light grey*/
color: #000;
}
.nav a:hover,
.nav a:focus,
.nav a:active{
    background:#e0e0e0;  /*light grey*/
color: #000;
}
.nav .sub li a:hover,
.nav .sub li a:focus,
.nav .sub li a:active{
    background:#b80507;  /*red*/
}
.nav .sub .sub ul a {
    background:#b80507;  /*red*/
color:#fff;
}
.nav .sub .sub ul a:hover,
.nav .sub .sub ul a:focus,
.nav .sub .sub ul a:active{
    background:#b80507;  /*red*/
}
.nav .sub .sub .sub ul a {
    background:#b80507;  /*red*/
}
.nav .sub .sub .sub ul a:hover,
.nav .sub .sub .sub ul a:focus,
.nav .sub .sub .sub ul a:active{
    background:#b80507;  /*red*/
}

/*HEIGHT*/
.nav {
height:20px;/*you could remove this and clear the float differently, but to me this makes the most sense*/
width:808px;
width: 60.55em;
margin: 0 auto;
}
.nav a {
padding:.2em 0;/*apply padding to links, to vertically center them, be careful with horizontal padding in IE5, correct width must be maintained*/
}
.nav a.main {
height:20px;/*needs to be the same as the persistent background trick and so that the sublevels are properly aligned*/
line-height:20px;/*not really necessary, but in this specific case it vertically centers the main link text*/
overflow:hidden;/*making it more bulletproof*/
padding:0;/*remove the padding that was applied above*/
}
.nav ul {
padding-top:20px;/*persistent background trick*/
margin-top:-20px;/*persistent background trick*/
}
.nav ul ul {
position:relative;/*so that it can be moved top/left*/
    top:-20px;/*this is the sole reason why the main links must have a fixed height*/
}


/*WIDTH (!IMPORTANT)*/
/*change each width value below, else the dropdown will stop working (:hover will still work in modern browsers because of the opera fix)*/
/*set the link width here*/
.nav .link,
.nav a {
    width:8.65em;/*same as width - was 9.0em*/
}
.nav ul li {
/*force ie8 to float-drop*/
max-width:8.65em;/*same as width*/
}
/*set the sublink left shift width here (same as width)*/
.nav ul ul {
/*move the sublinks to the side, so they dont overlap*/
    left:8.65em;/*same as width*/
}
.nav li.reversed ul {/*reverse the direction of sublinks for the last dropdown*/
left:auto;
    right:8.65em;/*same as width*/
}
/*add the negative value of "width - 1px" here (because css can't do math)*/
/*or (width - 0.063em) where 0.063em is 1px on 16px base size*/
.nav a {
/*makes the links very thin, so that the sublinks can hide inside the main link*/
margin-right:-8.937em;/*make this width - 1px*//*or width - 0.063em*/
margin-right:-8.587em;
}


/*Dropper Dropdown*/
/*supports up to 4 sub-levels in IE5-7, more can be added*/
/*modern browsers already support any amount of sublevels*/
/*made by Timo Huovinen*/

.nav li {
    float:left;/*fixes several IE related bugs, and allows for clearing*/
}
.nav ul {
    float:left;/*necessary for float drop*/
}
.nav ul li {
    clear:left;/*must clear the floated list item inside sublist*/
}
.nav a {
    position:relative;/*needs to have a position, to be above the rest*/
    display:block;
}
.nav a.main {
    float:left;/*necessary for float drop*/
margin-top:10000px;/*bring the links back into view*/
}
.nav .link,
.nav .sub {
margin-top:-10000px;/*hide the links and their containers, opera has low upper limits*/
}
.nav ul {
margin-bottom:-5000px;/*avoid any interaction between the sub's, can be any large size*/
}
/*the main trick, removes the negative right-margin and causes float drop*/
.nav a:hover,
.nav a:focus,
.nav a:active{
    margin-right:0;
}

/*OPERA fix*/
.nav ul:hover,
.nav ul ul:hover {
    clear:left;/*fix for opera sublinks flickering on :hover*/
}
/*background no longer needed*/
.nav ul ul {
    background:transparent;
}


/*IE5-6 + 7 bug fixes*/
.nav .sub {
    width:100%;
}
/*empty rule to fix occassional IE6 tabbing bug, one of the weirdest bug's i have seen.
it seems that this indexes the links together as one? does not happen for everyone, but im leaving it just in case.*/
a, a:hover, a:active, a:focus {}


