/*   
Theme Name: O
Theme URI: http://www.o-theme.com/
Description: Open Source Wordpress Theme Framework
Author: Dian kabaivanov
Author URI: http://www.o-theme.com
Version: 0.01b
*/

/* === RESET === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
body { line-height:1; }
ol, ul { list-style:none; }
blockquote, q {	quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
/* remember to define focus styles! */
:focus { outline:0; }
/* remember to highlight inserts somehow! */
ins { text-decoration:none; }
del { text-decoration:line-through; }
/* tables still need 'cellspacing="0"' in the markup */
table {	border-collapse:collapse; border-spacing:0;}

body { background:url(images/bg.png) repeat-x top #FFF; font-family:Arial, Helvetica, sans-serif; font-size:0.8em; line-height:1.5em; }

/* === LYOUT === */
#wrapper { width:960px; margin:0 auto; }
#content { position:relative; z-index:1; }
#main { width:642px; padding:0; float:left; }
#footer-wrapper { margin-top:20px; color:#AAA; background:url(images/footer-bg.png) repeat-x; height:98px; }
#footer { padding:20px 20px 0; width:920px; margin:0 auto; }
#footer-nav { margin-bottom:25px; }
#footer-nav ul li { float:left; padding:0 10px; }
#footer-nav ul li a { color:#FFF; text-shadow:0 0 2px #000; }
#footer-nav ul li a:hover { text-decoration:underline; }

/* === HEADER ===*/
#header { height:250px; padding-bottom:10px; }
#header-top { height:53px; color:#FFF; }
#header-top-links { padding:15px 0 0 15px; float:left; }
#header-top a { color:#FFF; }
#header-top a:hover { color:#f39300; }
#search { float:right; width:264px; height:48px; background:url(images/search-bg.png) no-repeat; }
#header-logo { height:146px; padding-left:10px; background:#000; }
.logo { float:left; padding-right:20px; }

/* === NAVIGATION ===*/
/* Main*/
.vline { width: 1px; height: 24px; background: #01a8db; float: left; margin-top: 12px; }
#nav { background:url(images/nav-bg.png) repeat-x; height:39px; z-index:2; position:relative; }
#nav ul { margin: 0 0 0 10px; }
#nav ul li { float:left; position:relative;	}
#nav li a:hover { color: #FFF; background:url(images/nav-hover-bg.png) repeat-x; }
#nav a, #nav a:visited { color: #FFF; text-shadow:0 0 3px #123; font-size: 12px; font-weight:bold; letter-spacing:.1px; height: 39px; line-height: 39px; text-decoration: none; padding: 0 7px; display: block; }
#nav a:hover, #nav li.current-cat a, #nav li.current-cat a:visited { text-decoration:none; color:#FFF; }	
#nav a:active {	color:#FFF; }		
/* Dropdowns*/
#nav li:hover {	visibility: inherit; /* fixes IE7 'sticky bug' */ }
#nav li:hover ul, #nav li.sfhover ul { left: -10px!important; top: 39px; /* match top ul list item height */ }
ul#nav li:hover li ul, ul#nav li.sfhover li ul { top: -999em; }
ul#nav li li:hover ul, ul#nav li li.sfhover ul { left: 178px; /* match ul width */ top: 0; }
ul#nav li li:hover li ul, ul#nav li li.sfhover li ul { top: -999em;	}
ul#nav li li li:hover ul, ul#nav li li li.sfhover ul { left: 178px; /* match ul width */ top: 0; }
#nav li ul { position: absolute;left: -999em; height: auto;	width: 178px; z-index:1; border-right:1px solid #424242 !important; border-bottom:1px solid #424242 !important; }
#nav li li { width: 178px; background: #CCC; z-index:1000; height: 41px; margin:0; font-size:12px; border-right:none; border-bottom:1px solid #222; }
#nav li li a, #nav li li a:visited, #nav li.current_page_item li a, #nav li.current_page_item li a:visited { color:#FFF !important; border:none; line-height: 41px !important; }
#nav li li a:hover, #nav li li a:active, #nav li.current_page_item li a:hover, #nav li.current_page_item li a:active { color:#FFF !important; border:none; }	
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { left: auto; }
#nav ul li ul li a:hover { height: 41px; line-height:41px; color: #000!important; }

/* === TYPOGRAPHY === */
a:link, a:visited { text-decoration:none; color:#09F; }
.post h1, #single-post h1, .slide h1 { color:#F79700!important; text-decoration:none!important; font-style:normal!important; font-size:16px; line-height:22px; margin-bottom:5px; display:block; }
#single-post h2 { font-family:Georgia, "Times New Roman", Times, serif; font-size: 20px; line-height:20px; font-weight:normal; font-style:italic; padding:10px 0; }
#single-post p { padding:5px 0; }
#category h2 { font-size:24px; font-weight:normal; font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; margin-top:20px; display:block; margin-bottom:10px; }
#category a { color:#e56f16; text-decoration:underline; font-style:italic; }
#category p { padding-bottom:15px; }
a.title  { color:#F79700!important; text-decoration:none!important; font-style:normal!important; font-size:16px; line-height:22px; margin-bottom:5px; display:block; }


/* === CURRENT ISSUE ===*/
#current-issue { background:url(images/issue-bg.jpg) no-repeat; width:632px; height:260px; position:relative; }
#current-issue-content { float:left; font-size:14px; height:175px; line-height:22px; margin-left:30px; margin-top:66px; width:330px; }
.current-issue-more { margin-top:7px; float:right; }
#current-issue-thumb { position:absolute; height:201px; position:absolute; right:12px; top:47px; width:238px; }
.view-issue { display:block; margin:158px 0 0 97px; }
  
/* === POST === */
.post { width: 610px; margin:0 0 23px -5px; padding:10px; position:relative; }
#featured-posts { float:left; padding-left:3px; }
#home-links { float:right; width:255px; padding-right:10px; }
#home-links a { padding-top:10px; display:block; }
.feat-post { width: 350px; position:relative; padding:10px 0; border-bottom:1px solid #CCC; }
.delete { position:absolute; top:8px; right:8px; }
.thumb { float:left; }
.thumb img { padding:1px; background:#C7C7C7; border:1px solid #FFF; }
.post-content { float:right; width:210px; }
.post-meta { line-height:18px; font-weight:bold; float:left; }
.excerpt { }
.read-more { float:right; margin-top:4px; }
.read-more img { margin:0!important; padding:0!important; border:0!important; }
.shadow { width:621px; height:23px; background:url(images/post-sep.jpg); position:absolute; bottom:-24px; left:5px; }
#single-post { padding:0 23px 25px 23px; float:left; width:430px; }
#single-post-content { clear:both; }
#category { width:445px; padding:0 15px; float:left; }
.cat-post { width:445px; padding:10px 0; border-bottom:1px solid #CCC; }
.cat-post .post-content { width:305px; }
#archives { margin-top:20px; }
.digi-archive { float:left; padding:0 20px 15px 0; width:175px; }
.digi-archive .thumb { float:none; text-align:center; }
.digi-archive .title { float:none; text-align:center; display:block; }

/* === SIDEBAR === */
#ads-sidebar { float:right; text-align:center;}
#sidebar { width:170px; float:left; border-right:1px solid #DDD; padding-right:10px; }
#sidebar ul { padding:10px; }
#sidebar ul li { list-style-type:none; margin-bottom:5px; }
#sidebar ul li a { color:#000; line-height:12px; }

/* === FORM === */
#form-wrap { float:left; width:450px; padding-left:20px; }
.form ol li { padding-bottom:15px; }
.form ol li fieldset { border:1px solid #999; width:100%; padding:5px; background:#EEE; -khtml-border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -khtml-outline-radius:5px; -moz-outline-radius:5px; -webkit-outline-radius:5px; outline-radius:5px; }
.form ol li fieldset legend { padding:2px 8px; background: #F8F8F8; border:1px solid #999; display:block;  -khtml-border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -khtml-outline-radius:5px; -moz-outline-radius:5px; -webkit-outline-radius:5px; outline-radius:5px; box-shadow: 0px 0px 8px #818181; -webkit-box-shadow: 0px 0px 8px #818181; -moz-box-shadow: 0px 0px 8px #818181; }
.form ol li fieldset label { width:auto!important; }
.form ol li fieldset input { border:none!important; }
.form ol li:after { visibility: hidden;	display:block;	font-size:0;	content:" ";	clear:both;	height:0; }
.form ol li label { display:block; width:162px; text-align:right; padding-right:10px; float:left; }
.form ol li input { display:block; float:left; border:1px solid #888; padding:4px; -khtml-border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -khtml-outline-radius:5px; -moz-outline-radius:5px; -webkit-outline-radius:5px; outline-radius:5px; box-shadow: 0px 0px 3px #999; -webkit-box-shadow: 0px 0px 3px #999; -moz-box-shadow: 0px 0px 3px #999; }
.form ol li .req { background:#def4eb; }
.required-fields { color:#74bd9f; font-weight:bold; border-left:5px solid #37a477; padding-left:3px; }

/* === SEARCHFORM === */
#search #searchfield { margin:16px 0 0 22px; font-size:14px; width:132px; background:none; border:none; }
#search #searchsubmit { height:27px; margin-bottom:-7px; width:92px; }

/* === CLASSES ===*/
.category-title { font-size:18px; line-height:25px; padding-bottom:10px; }
.sidebar-title { color:#f79700; font-size:27px; line-height:23px; text-transform:lowercase; letter-spacing:-1px; font-weight:normal; padding:10px 0 10px 20px; background:url(images/sidebar-h1-bg.gif) no-repeat left top; display:block; }
.clear-b { clear:both; }
.left { float: left; }
.right { float: right; }
.center { display:block; margin:0 auto; text-align:center; }
.radius5 { -khtml-border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -khtml-outline-radius:5px; -moz-outline-radius:5px; -webkit-outline-radius:5px; outline-radius:5px; }
.drop-shadow { box-shadow: 0px 0px 8px #818181; -webkit-box-shadow: 0px 0px 8px #818181; -moz-box-shadow: 0px 0px 8px #818181; }
.demo { display:block; text-align:center; font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; font-size:18px; }

/*=== POST IMAGES */
.post-content img { padding:6px; background:#FFF; border:1px solid #DDD; margin:10px; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display:block!important; margin: 10px auto!important; }
.wp-caption { border:1px solid #DDD; display:block; margin:10px; padding:5px; text-align:center; background:#FFF; }
.wp-caption a { border:none; }
.wp-caption p { margin:0; }
.wp-caption img { padding:0; margin:0; border-color:#000; }
.wp-caption-text { color:#EEEEEE; display:block; font-size:11px; letter-spacing:0.1em; padding:4px 0 0; }

/* === COMMENTS === */
#comments { font-size:15px; padding:15px 0 5px; }
#respond { padding-top:20px; }
.comment { border:1px solid #DDD; margin:0 0 10px; padding:10px; -khtml-border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -khtml-outline-radius:5px; -moz-outline-radius:5px; -webkit-outline-radius:5px; outline-radius:5px; } 
.even { background:#F7F7F7; }
.odd { background:#F1F1F1; }
.byuser { background:#FFF; border-color:#AAA; box-shadow: 0px 0px 8px #818181; -webkit-box-shadow: 0px 0px 8px #818181; -moz-box-shadow: 0px 0px 8px #818181; }
.children { margin:10px 0 0 10px; } 


/* === PLUGIN STYLES === */
.wp-pagenavi { text-align:center; padding:5px 55px 10px 0;  }
.wp-pagenavi a, .extend { background:#DDD!Important; border-color:#000!important; color:#000!important; }
.wp-pagenavi .current { background:#CCC!important; color:#000!important; }
.wp-pagenavi span.pages, .wp-pagenavi .last { background:none!important; color:#000!important; border:none!Important; }

/* === CLEAR === */
.clear:after {	visibility: hidden;	display:block;	font-size:0;	content:" ";	clear:both;	height:0;	}
* html .clear             { zoom: 1; } /* IE6 */
*:first-child+html .clear { zoom: 1; } /* IE7 */


