/*
Theme Name:		RedLine
Theme URI: 		http://post-scriptum.info/redline-theme/
Version: 		0.5
Description:  	A lightweight WordPress theme built on <a href="http://wpframework.com/"><strong>WP Framework</strong></a>. With changeable header and features like microformats, a traditional template structure, clean semantic code and atomic templating system. This theme is compatible with <strong>HTML 5</strong> and <strong>CSS level 3</strong> standarts.
Author: 		Yulian Yordanov
Author URI:		http://post-scriptum.info/
Tags:			light, white, red, two-columns, three-columns, custom-header, fixed-width, sticky-post, threaded-comments, microformats, translation-ready

The theme RedLine is released under GNU General Public License version 2.

!-----------------------------------------------------------------------------------!
WP Framework: Copyright 2008 Ptah Dunbar <http://ptahdunbar.com> All rights reserved.
WP Framework is licensed under the terms of the GNU General Public License version 2.
!-----------------------------------------------------------------------------------!
*/

/**************************************************************/
 /* Reset - Resets all browsers down to common default settings
 * @credits Eric Meyer's CSS Reset 
 *<http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/>
 */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
:focus{outline:none;}
table{border-collapse:separate;border-spacing:0;}
caption,th,td{text-align:left;font-weight:normal;}
table,td,th{vertical-align:middle;}
blockquote:before,blockquote:after,q:before,q:after{content:"";}
blockquote,q{quotes:"" "";}
a img{border:none;}
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix{display:block;}
.clear{clear:both;}
/**************************************************************/

/* Applying base theme styles and colors */
/* Basic 2 column (content)(aside) fixed layout */
#container { clear:both; width: 960px; margin:0 auto; background:#F2F2F2; border:10px solid #FFF; outline: 1px solid #999; }
#primary { width: 530px; float: left; padding:10px 15px 10px 0px; background:#FFF url(library/media/images/content_bg.png) repeat-y scroll right center; text-align:justify; }
#secondary { width: 400px; float: right; padding:10px 5px 10px 10px; background:#F2F2F2; }
#footer { clear: both; padding:5px 0; color:#AAA; background:#333; margin-bottom:0; border-top: medium double #AAA; }

/* Sidebars */
#sidebar_top { width:100%; }
#sidebar_bottom { width:100%; font-size:12px; }
#sidebar_left { float:left; width:195px; }
#sidebar_right { float:right; width:194px; padding-left:5px; border-left: 1px dotted #CCC; }
 
/* Document Body */
body, input, textarea { font: 0.81em/1.618 "Segoe UI", "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", sans-serif; color:#222; background: url(library/media/images/brushedmetal.png) #CCC; }

/* Font Styles */
.serif { font-family: Georgia, "Times New Roman", Times, serif; }
.sans-serif { font-family: "Segoe UI", "Lucida Grande", "Lucida Sans Unicode", sans-serif; }

/* Vertical Rhythm */
.entry-header { border-top: 1px solid #971A24; }
.entry-meta { background:#f5f5f5; font-size:11px; color: #333; padding-right: 5px; text-align:right; }
.entry-footer { margin-bottom: 0; }

p, pre, ul, ol, dl, dd, blockquote, address, table, fieldset, form, .gallery-row, .comment-list ul, .comment-list ol { margin-bottom: 1em; }
.hentry, .widget, .comment, .navigation-links { margin-bottom: 1em; }

/*Feed Area */
#feedarea { float:right; text-align:right; clear:both; font:11px/1.5 Georgia, "Times New Roman", serif; color:#111; width:100%; font-style:italic; border-top:1px solid #333; margin-bottom:1px; }
#feedarea dl dt { display: inline; margin-right: 5px; }
#feedarea dl dd { display: inline; margin-bottom:0; background:#333 url(library/media/images/feed.png) no-repeat left center; padding:1px 5px 1px 17px; }
#feedarea dl { margin:0 auto; width:89em; }
#feedarea a { color:#FFF; }

/* Logo */
#logo { clear:both; }
#blog_header, #blog_header a { font-size: 48px; line-height: 1.2em; font-weight:bold; text-align:center; font-family: "Times New Roman", Times, serif; padding: 10px; } 
#blog_header a:hover { color: #06A; text-decoration: none; }
#blog_header a {color:transparent; text-decoration:none; }

/* Search */
#search_box { float:right; height:24px; }
#searchform { height:24px; display: inline; float: right; padding: 0; text-align: left; margin:0; }
#searchform #s { width: 140px; background: #FFF; color: #AAA; font-size: 11px; vertical-align: middle; }
#searchIcon { display: inline; margin-top:0; background: #FFF; vertical-align: middle; }

/* Pages Navigation */
#topmenu { width:100%; height:24px; background:#FFF; border-bottom:1px solid #DDD; border-left: 1px solid #AAA; }
.menu { float:left; }
.menu  ul { margin:0; }

/* Pages Navigation [.nav] */
.nav { font-family: "Times New Roman", Times, serif; float:left; width:100%; color:#111; }
.nav, .nav * { float:left; list-style:none; margin-left:0; }
.nav li { padding:0; position:relative; background: #f5f5f5; height:24px; }
.nav ul li { width:100%; }

ul.nav li.current_page_item a { background:#fff; text-decoration:none; font-size:11px; font-weight:bold; border-bottom:2px solid #fff; }

  /* [.nav] Hides items under top menu */
.nav ul { position: absolute; top: -9999em; width: 20em; /* left offset of submenus need to match (see below) */ }

  /* [.nav] Shows submenus */
.nav li:hover ul,
.nav li.nav-hover ul { left: -1px; top: 24px; /* match top ul list item height */ z-index: 99; }

  /* [.nav] Hides all sub items (4 levels deep) */
.nav li:hover li ul,
.nav li.nav-hover li ul,
.nav li li:hover li ul,
.nav li li.nav-hover li ul,
.nav li li li:hover li ul,
.nav li li li.nav-hover li ul { top: -999em; }

  /* [.nav] On :hover, displays all sub items (4 levels deep) */
.nav li li:hover ul,
.nav li li.nav-hover ul,
.nav li li li:hover ul,
.nav li li li.nav-hover ul,
.nav li li li li:hover ul,
.nav li li li li.nav-hover ul { left: 20em; /* match .nav ul width */ top: -1px; }

  /* [.nav] Default Skin */
.nav ul { border: 1px solid #eee; }
.nav li:hover ul,
.nav li.nav-hover ul { background: #ccc; }

.nav a { display:block; position:relative; padding:0 10px; color:#111; text-transform:uppercase; border-right:1px solid #DDD; border-top:1px solid #AAA; font-weight:normal; text-shadow:0 0.1em 0 #FFF; letter-spacing:1px; font-size:0.85em;line-height:2.1em; }
.nav a:hover { text-decoration: none; background: #06A; text-shadow:0 0.1em 0 #333; color:#FFF;}
.nav ul a { border-right: none; }
.nav li:hover, .nav li.nav-hover,
.nav a:focus { background: #A6B7C8; }

  /* [.nav] bugfix */
.ie7 .nav:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ }


/* Categories [#catg] */
#catg { border-bottom:1px solid #AAA; border-top:1px solid #CCC; width:100%; position:relative; float:left; background:#FFF; }

/* [#catg] Menu */
#catg .nav { width: 100%; background:#e2e2e2; margin:0;}
#catg .nav, #catg .nav * { float:left; list-style: none; margin-left:0; }
#catg .nav li { height:23px; float: left; padding: 0; position: relative; background:transparent; }
#catg .nav ul li { width: 100%; }

/* [#catg] Hides items under top menu */
#catg .nav ul { position: absolute; top: -9999em; width: 20em; /* left offset of submenus need to match (see below) */ }

/* [#catg] Shows submenus */
#catg .nav li:hover ul,
#catg .nav li.nav-hover ul { left: -1px; top: 23px; /* match top ul list item height */ z-index: 99;}

/* [#catg] Hides all sub items (4 levels deep) */
#catg .nav li:hover li ul,
#catg .nav li.nav-hover li ul,
#catg .nav li li:hover li ul,
#catg .nav li li.nav-hover li ul,
#catg .nav li li li:hover li ul,
#catg .nav li li li.nav-hover li ul { top: -999em; }

/* [#catg] On :hover, displays all sub items (4 levels deep) */
#catg .nav li li:hover ul,
#catg .nav li li.nav-hover ul,
#catg .nav li li li:hover ul,
#catg .nav li li li.nav-hover ul,
#catg .nav li li li li:hover ul,
#catg .nav li li li li.nav-hover ul { left: 20em; /* match .nav ul width */ top: -1px; }

/* [#catg] Default Skin */
#catg .nav li:hover ul,
#catg .nav li.nav-hover ul { background: #CCC; }

#catg .nav a { display: block; position: relative; padding: 0 10px; border:none; color: #111; text-transform: uppercase; font-weight:normal; text-decoration:underline;}
#catg .nav a:hover { color:#FFF; background: #971A24; text-decoration:none; text-shadow:0.1em 0.1em 0.1em #111;}
#catg .nav ul a { border-right: none; }
#catg .nav li:hover, #catg .nav li.nav-hover,
#catg .nav a:focus { background: #A6B7C8;}
#catg ul.nav li.current-cat a { color: #FFF; background: #971A24; text-decoration: none; text-shadow:0.1em 0.1em 0.1em #111;}
/* [#catg] bugfix */
.ie7 #catg .nav:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ }

/* Links */
#secondary a {color: #506778; }
a { color: #971A24; text-decoration: none; }
a:hover { text-decoration: underline; color:#971A24; }
.entry-content a:link, .entry-content a:active { text-decoration: none; }
.entry-content a:hover { text-decoration: underline; }
.entry-content a:visited  { color:#06A; }
.entry-content a:visited:hover { text-decoration: underline; color:#971A24; }
.more-link { background: #506778; color:#FFF !important; padding:0 2px 2px; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-weight: bold; clear: both; }
h1 { font-size: 24px; line-height: 26px; padding: 5px 0px; }
h2 { font-size: 20px; line-height: 22px; padding: 5px 0px; }
h3 { font-size: 16px; line-height: 20px; padding: 5px 0px; }
h4 { font-size: 14px; line-height: 18px; padding: 5px 0px; }
h5 { font-size: 12px; line-height: 18px; padding: 5px 0px; }
h6 { font-size: 10px; line-height: 16px; }

/* Content */
.hentry { border-bottom:1px solid #CCC; }
.page-title { font-size: 14px; font-weight: bold; }
.page-title span { font-style: italic; font-weight: normal; }
.entry-title a  { color: #333; text-shadow:0.08em 0.08em 0.1em #AAA;}
.entry-title { color: #111; font-size: 2.25em; letter-spacing: -1px; line-height:0.81em; text-align:left; font-weight:bold; font-family: "Times New Roman", Times, serif; }
.entry-title a:hover { color: #06A; text-decoration: none; text-shadow:0 1px 0 #FFF;}
.entry-content { padding: 5px 10px 0; }

/* Text Elements */
address { font-style: italic; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px dotted #666; }

blockquote { color: #333; background:#f1f1f1; font-size:12px; font-style: normal; border-left: 2px solid #939393; margin-left: 15px; margin-right:25px; padding: 0 10px 0 5px; }

strong { font-weight: bold; }
em, dfn, cite { font-style: italic; }
dfn { font-weight: bold; }

sup { bottom: 1ex; }
sub { top: .5ex; }
small { font-size: 12px; }

del { text-decoration: line-through; }
ins { text-decoration: underline; }

code, pre {  line-height: 15px; }
var, kbd, samp, code, pre { font: 12px/1.4 Consolas, "Courier New", Courier, monospace; background: #eee; }
kbd { font-weight: bold; }
samp, var { font-style: italic; }
pre { white-space: pre; overflow: auto; padding: 10px; border: 1px solid #ddd; clear: both; }
code { padding: 0px 3px; }
fieldset  { border:2px groove #999; display:block; margin-left:2px; margin-right:2px; padding:0.35em 0.625em 0.75em; }
fieldset > legend { border:medium none; float:none; height:auto; max-height:none; max-width:none; min-height:0; min-width:0; padding-left:2px; padding-right:2px; position:static; white-space:nowrap; }
legend { display:block; }

/* Lists: (ul, ol, dl) */
.entry-content ul, .entry-content ol, #search-query { margin-left: 35px; }

#sidebar_bottom ul { list-style-type:none; list-style-image:none; margin:0 0 0 16px; }
#sidebar_bottom li { margin:0; }

ul, ol, dl { margin-left: 15px; }

li ul, li ol { margin-bottom: 0; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }

ol { list-style-type: decimal; }

ul { list-style-type:disc; list-style-image: url(library/media/images/bullet.png); }
ul ul { list-style-type: square; list-style-image:none; }
ul ul ul { list-style-type: circle; }

dt { font-weight: bold; }

.fat li { margin-bottom: 10px; }

/* Tables */
table { border: 1px solid #ccc; border-width: 1px; line-height: 18px; margin: 0 0 22px 0; text-align: left; padding: 0 5px; }
table .even { background: #ddd; }
caption { text-align: left; }
th { font-weight: bold; }
tr, th, td { border-bottom: 1px dotted #ccc; }
th, td { padding: 5px 3px; }

/* Forms */
input, textarea, button { background: #f5f5f5; border-color: #aaa #ddd #ddd #aaa; border-style: solid; border-width: 1px; color: #333; font-size: 13px; padding: 3px; }
button { padding: 2px 10px; cursor: pointer; }
input:focus, textarea:focus, button:hover { background: #fff; border-color: #777 #ccc #ccc #777; }

/* bugfix */
.safari input { padding: 0px 3px; }
.chrome input { padding: 1px 3px; }

/* Widgets */
.widget-title a { color:#333; }
.widget-title { font-weight:bold; height:15px; font-size:11px; line-height:1.35em; border-bottom:1px solid #CCC; border-left:2px solid #971A24; border-right:1px solid #CCC; color:#333; background:url("library/media/images/widget_bg.png") repeat-y scroll left center #CCC; padding:5px 0 5px 5px; text-transform:uppercase; margin-bottom:3px; text-shadow:0 0.13em 0 #fff; }
.rsswidget img { vertical-align: bottom; }
#footer-widget-area { font-size: 12px; overflow: hidden; padding: 0 10px; text-align: justify; }
#footer-widget-area .widget-area { float: left; margin-right: 20px; width: 220px; }
#footer-widget-area #fourth { margin-right: 0; }

/* Comments */
.comment { border: 1px dotted #AAA; padding: 20px;}
.comment-content { padding-top: 5px; }
.comment-list, .comment-list .children { list-style: none; }
.comment-list { margin-left: 0; padding: 0; text-align: left; }
.comment-list li { padding: 10px; list-style: none; font-weight: normal; }
.comment-meta { font-weight: normal; font-size: 10px; margin-bottom: 10px; }
.comment-list p { font-weight: normal; text-transform: none; margin: 9px 10px 10px 0; }
.comment-list cite, .comment-list cite a { font-weight: bold; font-style: normal; }
.comment-permalink a, .comment-list cite a { color:#971A24; }
.comment-list .children { margin: 10px 0; }
.comment-list .administrator { background:#f0f8ff; }
.avatar { float: right; border: 1px #CCC solid; padding: 1px; }
.nocomments { text-align:center; margin:0; padding:0; }
.page-numbers.current { border:1px solid #CCC; padding:0 2px; }

/* Comment Reply */
.comment-reply a { background: none repeat scroll 0 0 #506778 !important; color: #FFF; padding: 0 2px 2px; }
.form-section { margin-bottom:10px; width:532px;}
.form-section label { cursor:pointer; }
.children .form-section { width:450px; }
.children #comment-form textarea { width:400px; }
#comment-form input { width:200px; padding:2px; margin:5px 0 0; }
#comment-form textarea { width:520px; padding:5px; }
#comment-form #submit { margin:0; float:right; border:1px solid #999; }
#commenter-details input { margin-right:10px; } 
#allowed-tags { font:11px Verdana, Tahoma, sans-serif; padding:5px 10px; background:#f6f6ee; border:1px #ddd dotted; margin-bottom:5px; border-top:none; }

/*Pings*/
.pings-list { font-size:11px; }

/*Footer*/
#footer a { color:#aaa; text-decoration:underline; }
#footer a:hover { color:#5c7c9a; background:none; }
#copyright { font-size: 11px; margin-bottom:0; padding-right:10px; text-align: right; }


/* Images */
img.alignleft { float: left; padding: 3px; border: 1px solid #999; margin: 8px 8px 0; display: inline; }
img.alignright { float: right; padding: 3px; border: 1px solid #999; background: #fff; margin: 10px 10px 0; display: inline; }
img.aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; margin-top: 5px; }

.wp-caption { text-align: center; background:#F3F3F3; padding:2px; border:1px solid #DDD; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption .wp-caption-text { margin: 0; padding: 5px; }

.wp-smiley { vertical-align:middle; margin: 0 !important; } /* Prevent the smileys from breaking line-height */

/* [gallery] */
.gallery { margin: auto; }
.gallery-image { border: 2px solid #cfcfcf; margin-left: 0; }
.gallery-caption { margin-left: 0; }
.gallery-item { float: left; text-align: center; margin-left: 0; }

.gallery-columns-2 { width: 50%; }
.gallery-columns-3 { width: 33%; }
.gallery-columns-4 { width: 25%; }
.gallery-columns-5 { width: 20%; }
.gallery-columns-6 { width: 16%; }
.gallery-columns-7 { width: 14%; }
.gallery-columns-8 { width: 12%; }
.gallery-columns-9 { width: 11%; }

/* Navigation */
.navigation-links { clear:both; padding:10px 0 0; }
.page-navigation .nav-next { float:left; }
.page-navigation .nav-previous { float:right; }
.single-page-navigation .nav-next { float:right; }
.single-page-navigation .nav-previous { float:left; }

/* [gallery] + navigation clearfix */
.gallery-row:after, .navigation-links:after, .container:after, .menu:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.gallery-row, .navigation-links, .container, .menu { display: block; }

/* Basic Alignments */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; }

/* Dropcap */
.dropcap { color: #971A24; display: inline; float: left; font-family: Palatino, "Palatino Linotype", "Times New Roman", serif; font-size: 4.0em; line-height: 0.8em; margin: 0 0.1em 0 0; text-transform: uppercase; text-shadow: 1px 1px 0 #630; }


