/*

 Credits:

 Originally based on K2 by Michael Heilemann & Chris J Davis
   (http://binarybonsai.com/wordpress/k2/)
 
 This theme is protected by the
   <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>,
   except for some icons which were created by Mark James
   (http://www.famfamfam.com/lab/icons/silk/) and distributed under 
   a <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">
   Creative Commons Attribution 2.5 License</a>.
*/


/*- Page Structure */

body {
    font: 62.5% Arial, Sans-Serif; /* Resets 1em to 10px */
    color: #444;
    background: #6691C2;
    margin: 0;
}

#body {
    padding: 0 0 0 0;
}

#header {
    width: 100%;
    padding: 0;
    position: relative;
    height: 120px;
    background: #6691C2 url('../images/pixels.gif') 302px 33px no-repeat;
    border-bottom: 10px solid #cca;
}

.content { 
    padding: 20px 0 20px 0;
    background: #ffffff;
}
#footer {
    width: 100%;
    padding: 5px 0 2px;
    margin: 0 0 0 0;
    position: absolute;
    bottom: 0;
    background: #6691C2;
    text-align: right;
    color: white; 
    border-top: 10px solid #bb9;
}
#footer ul {
    margin: 0;
    padding: 0 10px 0 0;
}
#footer ul li {
    margin: 5px 0 5px 5px;
    /*padding: 0 0 0 5px;*/
    display: inline;
}


#page { /* not currently in use? */
    background: white;
    text-align: left;
    margin: 0 0;/*auto;*/
    padding: 0 0 10px;
    position: relative;
    /* The entire template's width is set in this class. */
    width: 780px;
    _width: 740px;
    border: none;
}

body.flex #page { /* For the flexible-width setting. Not IE compatible */
    width: 80%;
    min-width: 780px;
    max-width: 1000px;
}

.primary {
    min-width: 400px;
}

.leftcolumn { 
    padding: 0 0 0 20px;
    margin: 0;
}

.secondary {
    width: 180px;
    min-width: 180px;
    font: 1em/1.5em Arial, Sans-Serif;
    color: #666;
}
.secondary img.prop { /* to help firefox */
    width: 180px;
    height: 1px;
}
.rightcolumn { 
    padding: 0 20px 0 0;
    margin: 0;
}

#comments {
    width: 100%;
    margin: 0;
    background: #ddc;
    /*padding: 0 0 10px 0;*/
}

.comments {
    /*margin: 0 10px;*/
    padding: 0 0 10px 0;
}


/*- Main Menu in Header */

#header ul.menu {
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    right: 20px;
}

#header ul.menu li {
    display: inline;
    margin: 0;
}

#header ul.menu,
#header ul.menu li a {
    padding: 5px 5px 6px;
}

#header ul.menu li a {
    font: 1em Verdana, Helvetica, Arial, Sans-Serif;
    color: white;
    margin: 0;
}

#header ul.menu li a:hover {
    background: #9bd;
    text-decoration: none;
}

#header ul.menu li.current_page_item a,
#header ul.menu li.current_page_item a:hover {
    color: white !important;
    text-decoration: none;
}

#header ul.menu li.page_item a {
    color: #333 !important;
    text-decoration: none;
}

.secondary .sidebar {
    border-top: 2px solid #666;
}
.secondary .sb-latest {
    border-top: 1px solid #ccc;
}
.secondary-item {
    margin: 0 0 20px;
    padding-top: 10px;
}

/*- Header title */

#header h1 {
    width: 298px;
    text-align: right;
    padding-top: 25px;
    margin: 0;
    font-family: 'Book Antiqua', Serif;
    font-style: normal;
    font-size: 4.5em;
    font-weight: bold;
    /*letter-spacing: -1px;*/
    word-spacing: -7px;
    text-transform: lowercase;
}
#header h1, h1 a, h1 a:hover, h1 a:visited {
    text-decoration: none;
    color: white;
    border-bottom: none;
}

#header h2 {
    position: relative;
    top: -8px;
    width: 293px;
    text-align: right;
    padding-top: 0;
    color: white;
    font: 1.1em/1em Arial, Sans-Serif;
    font-weight: normal;
    margin: 0 2px 0 4px;
}
#header #your {
    color: #333;
    padding: 0 3px;
}

/*- Headings */

h1, h2, h3, h4 {
    font-family: Arial, Sans-Serif;
}

h1, h1 a, h1 a:hover, h1 a:visited,
#header .description {
    text-decoration: none;
}

#page .content h1 { /* not used? */
    color: black;
    margin: 0 0 0 0;
    font-size: medium;
    text-decoration: none;
}

.comment { /* not used? */
    border: solid silver thin;
}

.pagetitle { /* Used on static pages and archives */
    text-align: center;
    margin: 15px 0 15px;
}

.secondary h2 { /* Secondary H2 is sidebar headlines */
    font-size: 1.5em;
    font-weight: normal;
    display: inline;
}

.primary h3, .primary h4 { /* H3 is entry headlines. H4 is comments and replyform headlines */
    font-size: 2.2em;
    font-weight: bold;
    /*letter-spacing: -1px;*/
    display: inline;
    margin-right: 20px;
}

.itemhead {
    margin-top: 10px;
    _padding-top: 10px;
}

.itemtext {
    margin-bottom: 30px;
}

.itemtext h3 { /* For use on pages */
    font-size: 1.7em;
    display: block;
    padding: 15px 0 0;
}

.itemtext h4 { /* For use on pages */
    font-size: 1.5em;
    display: block;
    padding: 15px 0 0;
}

.feedlink img { /* On the sidebar */
    height: 16px;
    width: 16px;
    border: none;
}

.title, .title a, .title a:visited,
h2, h2 a, h2 a:visited,
h3, h3 a, h3 a:visited,
h4, h4 a, h4 a:visited {
    color: #444;
}

h2, h2 a, h2 a:hover, h2 a:visited,
h3, h3 a, h3 a:hover, h3 a:visited,
h4, h4 a, h4 a:hover, h4 a:visited {
    text-decoration: none;
}

.prevnext { /* Previous/next links for a blog post */
    font-size: 1em;
    color: #bbb;
    margin-bottom: 20px;
}

.metadata { /* Time and category for blog entries */
    font-size: 1em;
    color: #777;
    padding-left: 20px;
}

.metadata a {
    color: #777;
}

.commentslink { /* put the comment icon on the left */
    /*padding: 2px 0 2px 20px;*/
    /*background: url('/site_media/images/comment.png') left center no-repeat;*/
    /*background: url('/site_media/images/comment-ie.png') left center no-repeat;*/
}

.chronodata { /* "Published Fri May 12th 2006...": add clock icon on the left. */
    /*background: url('/site_media/images/time.png') left center no-repeat;*/
}

.tagdata { /* not currently used. */
    display: block;
    padding: 2px 0 2px 20px;
    background: url('/site_media/images/tag_blue.png') left center no-repeat;
}

/*- Primary Contents */

.primary .itemhead {
    margin: 10px 0 0 0;
}
.primary .item, .primary .flatpage {
    border-top: 2px solid #666;
}

.primary .itemhead .title {
    font-family: Arial, Sans-Serif;
    font-size: 2.2em;
    font-weight: bold;
}

.primary .itemhead .subtitle { 
    color: #999;
    font-size: 0.7em;
}

.primary .text,
.primary .item .itemtext { /* main text of a post */
    font: 1.2em/1.6em 'Book Antiqua', Georgia, Times, Serif;
    text-align: justify;
    color: #444;
}

.primary .item .itemtext p,
.primary .item .itemtext ul,
.primary .item .itemtext ol,
.primary .item .itemtext div,
.primary .item .itemtext blockquote { /* paragraph spacing */
    margin: 13px 0;
}

.metalinks {
    margin-top: 3px;
}

.metalinks a {
    color: #999;
    padding: 2px;
}

.commentsrsslink {
    background: url('/site_media/images/feed.png') left top no-repeat;
    padding: 2px 0 2px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    height: 16px;
}

.trackbacklink {
    display: none;
    padding: 2px 0 2px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    height: 16px;
}

.comments .commentlist {
    margin: 20px 0;
    padding: 0 0;
}

.comments .commentlist li {
    margin: 10px 0;
    padding: 10px 10px 5px 0;
    list-style: none;
}
.comments .commentlist .item {
    border-top: 2px solid #27d;
}

.comments .commentlist .chronodata {
    padding: 2px 0 2px 20px;
    background: url('/site_media/images/time.png') left center no-repeat;
    display: block;
}

.comments .commentlist li img {
    padding: 0;
    border: none;
}

.comments .commentlist li .avatar {
    float: left;
    margin: 0 5px 0 0;
    /*border: 1px solid #666;*/
    padding: 0;
    width: 40px;
    height: 40px;
}
.comments .commentlist .comment-body {
    margin-left: 53px;
}

.comments .commentlist li .commentauthor {
    font-size: 1.5em;
    font-weight: bold;
    /*letter-spacing: -1px;*/
}

.comments .commentlist li .counter { /* numbers for comments. hidden. */
    display: none;
    font: normal 1.5em 'Century Gothic', 'Lucida Grande', Arial, Helvetica, Sans-Serif;
    color: #999;
    float: left;
    width: 35px;
}

.comments form {
    clear: both;
    padding: 1px 0 30px;
    margin: 0;
}

input[type=text], textarea {
    font: 1em Verdana, Arial, Helvetica, Sans-Serif;
    padding: 3px;
    color: #777;
}

input[type=text]:focus, textarea:focus {
    background: #fff;
    color: #333;
    border-color: #666;
}

.comments form input[type=text] {
    width: 100%;
    margin: 5px 5px 1px 0;
}

.comments form textarea {
    height: 250px;
    width: 100%;
    padding: 2px;
}

.comments form #submit {
    margin: 0;
    float: right;
}

.comments ul.errorlist {
    color: red;
    font-weight: bold;
}

.comments .captcha_box {
    border: 1px solid #999;
}

.comments form .captcha_box input[type=text] {
    width: auto;
    margin: 5px 0 0 0;
}


.comments .captcha_image {
    border: 1px solid #999;
}

/*- Links */

.primary a:hover, .primary a:visited:hover,
.secondary a:hover, .secondary a:visited:hover {
    text-decoration: underline;
}

h2 a:hover, h2 span a:hover {
    color: #27d !important;
}

a {
    color: #27d;
    text-decoration: none;
}

.itemtext a:visited {
    color: #b41;
}

a img {
    border: none;
}

#footer img {
    border: none;
}
#footer a {
    color: white;
    font-weight: bold;
}

#footer a:hover {
    border: none;
    text-decoration: none;
    background-color: #76a1d2;
}


/*- Various Tags and Classes */

.clear {
    clear: both;
    margin: 0;
    padding: 0;
}

.primary .itemtext img {
    padding: 4px;
    border: 1px solid #ccc;
    max-width: 100%;
}

.primary .itemtext img.right {
    float: right;
    margin: 0 0 10px 15px;
}

.center {
    text-align: center;
}

.alignright {
    float: right;
}
    
.alignleft {
    float: left
}

img.center, img[align="right"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
    
img.alignright, img[align="right"] {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}

img.alignleft, img[align="left"] {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
    
img.noborder {
    border: none !important;
}

.favorite img {
    padding: 0;
    border: none;
}

.err {
    color: red;
    font-weight: bold;
}

small {
    font-size: .9em;
    line-height: 1.5em;
}

small, strike {
    color: #777;
}
    
.code {
    font: 1.1em 'Courier New', Courier, Fixed, monospace;
    background-color: #FFFFCC;
    color: black;
    border: thin solid #999977;
    margin-left: 10px;
    padding: 10px;
    text-align: left;
}

pre {
    margin-left: 10px;
    /* Browser specific (not valid) styles to make preformatted text wrap */
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}}

acronym, abbr /*span.caps*/ {
    font-size: 0.9em;
    letter-spacing: .07em;
    border-bottom: 1px dashed #999;
    cursor: help;
}

blockquote {
    margin: 40px 0;
    padding: 10px 20px 10px 50px;
    background: url('/site_media/images/quote.png') 20px 10px no-repeat;
    _background: url('/site_media/images/quote-ie.png') 20px 10px no-repeat;
    border: none;
    font-size: 150%;
    color: #999;
}

hr {
    display: none;
}




/*- Begin Lists */
.itemtext ol, .itemtext ul {
    padding: 0 0 0 35px;
    margin: 0;
}

.itemtext ol li, .itemtext ul li {
    margin: 0 0 3px;
    padding: 0;
}

.secondary ul, .secondary ol, .sidebar > div {
    margin: 5px 0 0;
    padding-left: 0;
}

.secondary ul {
    _margin-left: 0px; /* IE Fix */
}

.secondary ol {
    margin-left: 15px;
}

.secondary ul li, .secondary ol li {
    margin: 0;
    padding: 1px 0;
}
    
.secondary ul li {
    list-style-type: none;
    list-style-image: none;
}

ol li {
    list-style: decimal outside;
}


/*- Search Form and Livesearch */

input[type=text], textarea {
    color: #444;
    padding: 2px 0 2px 2px;
    margin: 0;
}

input#livesearch {
    width: 100%;
}

input#s {
    width: 75%;
}

.livesearchform input[type=submit] {
    margin: 0;
}



/* CSS Beyond this point is for various supported plugins and not the 'core' K2 template */


/*
    Forms
*/

.form tr {
    vertical-align: top;
}

ul.error {
    color: red;
    font-weight: bold;
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
}

