/*
Theme Name: BlueMag
Theme URI: http://www.bloghonour.com/release/bluemag-wordpress-theme/
Description: A blue Wordpress theme that combine both magazine and blog into one. Support featured content slider, gravatar and thumbnail resizing.
Version: 1.0
Author: Dicky
Author URI: http://www.bloghonour.com/
Tags: blue, light, two-columns, fixed-width, left-sidebar, right-sidebar
*/

@import 'library/css/base.css';
@import 'library/css/wp-pagenavi.css';

body { background:#E4F2FD; margin-bottom:10px;}
h1,h2,h3,h4,h5,h6 { font-family:Arial,Tahoma,Verdana; color: #000000; font-weight:bold; margin-bottom:5px;}
h1 { font-size: 1.8em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em;}
h5 { font-size: 1.2em;}
h6 { font-size: 1.1em;}

.center, .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.left, .alignleft { float: left; }
.right, .alignright { float: right; }

a { color: #0066CC; text-decoration: none; outline: none; font-weight:bold;}
a:hover { color: #000000; }

#wrapper { background:#FFFFFF; overflow: hidden; text-align: left; margin-top:10px; margin-bottom:10px;}
#content-wrapper { margin-top:10px; }

/************************************************
	Header
************************************************/
#header { padding:0 5px; overflow: hidden; }
#header h1 {font-size:3em; }
#header #header-wrap { height: 80px; padding: 10px 10px 0 10px; }
#header .header-main {float:left; }
#header .header-img {float:right; }
#header #cat-navi { float: left; background: #3AB7FF; width: 100%;}
#header #cat-navi #rss-icon { background:url(images/feedicon.png) no-repeat 0 8px; padding: 5px 10px 5px 15px; margin: 0; float:right; }
#header #cat-navi #rss-icon a {color:#FFFFFF; }
#header #cat-navi #rss-icon a:hover {color:#000000; }

#nav { background: #3AB7FF; padding: 0; margin: 0;  }		
#nav ul { z-index: 999; padding: 0; margin: 0; list-style: none; line-height:1; }
#nav li { float: left; display: block; margin: 0px; padding: 0px; }
#nav a { display: block; margin: 0px; padding: 5px 10px; font-weight: bold; color: #FFFFFF; }
#nav a:hover { text-decoration: none; display: block; background: #43A0D5;}
#nav li li a, #nav li li a:link, #nav li li a:visited { opacity: .90; filter: alpha(opacity=90); background: #3AB7FF; width: 150px; margin: 0px; padding: 5px 10px 5px 10px; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; }
#nav li li a:hover, #nav li li a:active { background: #43A0D5; color: #FFFFFF; padding: 5px 10px 5px 10px; }
#nav li ul { position: absolute; width: 10em; left: -999em; }
#nav li:hover ul { left: auto; }
#nav li:hover ul, #nav li.sfhover ul { left: auto; }
#nav li ul ul { margin: -23px 0 0 171px; }
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { left: -999em; }
#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; }



/************************************************
	Sidebar
************************************************/
.sidebar h2 { font-size:1.3em; color:#FFFFFF; font-weight:bold; padding: 0 5px; margin-bottom:5px; background:#3AB7FF;}

.widget-left {margin-left:5px; }
.widget-right {margin-right:5px; }
.widget-bottom {width:280px; margin:0 10px; float:left;}

.widgetcontainer { background: #DBF3FD; margin-bottom: 10px; padding: 5px;}
.widgetcontainer p {margin-bottom: 0; }
.widgetcontainer ul { list-style: square outside; padding-left:10px; margin: 0 0.5em 0 0.5em; }

#searchform input.search { width: 120px; }
#searchform input.button { margin-top:5px; }

/************************************************
	Content
************************************************/
.post ul {margin:0 0 1.5em 1.5em; }
.post ol {margin:0 0 1.5em 3em;}

/* Post meta */
.postmeta {background: #DBF3FD; padding:2px 5px; margin-bottom:5px;}

/* Small story box on front page */
.story-box {padding:5px; width:260px; height:250px; float:left; background:#E7E7E7; margin-bottom:10px;}
.story-box .cat {background-color: #C0C0C0; border-left: 4px solid #A0A0A0; margin-bottom:2px; padding:2px; display:block;}
.story-box h3 {font-size:1.2m; }
.story-box p{margin-bottom:5px; }
.story-box p.postmetadata {float:right; font-style:italic; padding-left:5px; padding-right:5px; margin-bottom:5px;}

.alt {margin-left:10px; }


/************************************************
	Featured Post Section
************************************************/
.featured-post-section { margin-bottom: 10px; }
#jFlowSlide{ background:#DBF3FD; }
#myController { line-height:24px; height:24px; background:#3AB7FF; padding-left:5px; }
#myController span.jFlowSelected { background:#43A0D5;margin-right:0px; }

.slide-wrapper { padding: 5px; }
.slide-thumbnail { width:220px; float:left; }
.slide-thumbnail img { max-width:230px; max-height:200px; }
.slide-details { width:300px; float:right; }
.slide-details h2 { font-size:1.5em; line-height: 1; margin-bottom:5px; }

.jFlowControl, .jFlowPrev, .jFlowNext { color:#FFF; cursor:pointer; padding-left:5px; padding-right:5px; padding-top:2px; padding-bottom:2px; }
.jFlowControl:hover, .jFlowPrev:hover, .jFlowNext:hover { background: #43A0D5; }


/************************************************
	Comments Template
************************************************/
#content .comments-wrapper { background:#FFFFFF; margin-top:10px; margin-bottom:10px;}			
#content .comments-wrapper h3 { background:#DBF3FD; padding-left:5px; margin-bottom:10px; border-bottom:#3AB7FF solid 2px;}
#content .comments-wrapper p.author, #content .comments-wrapper p.commentmetadata {padding:0px; margin:0px;}
#content .comments-wrapper .commentlist {margin-bottom:20px; margin-left:0px;}
#content .comments-wrapper .commentlist li {list-style:none; margin-bottom:2px; padding:5px;}
#content .comments-wrapper .commentlist li.alt { margin-left:0;}
#content .comments-wrapper .commentlist li .avatar {float:left; margin-right:5px; }
#content .comments-wrapper .commentlist li .comment-data {float:left; width:420px;}
#content .comments-wrapper .commentlist li .comment-data .author a { font-size:1.2em; font-weight:bold;}

#content .comments-wrapper #commentform { padding:5px;}


/************************************************
	Footer
************************************************/
#footer-wrap {margin-top:10px; }

#footer-content { padding-left:10px; border-top: #57B4E1 solid 5px; border-bottom: #57B4E1 solid 2px; background: #DBF3FD; }
#footer-text p { padding:5px; margin:0; }

.copyright { float:left;}
.powered-by {float:right;}



/************************************************
	Misc
************************************************/

/* Code */
pre { margin:1.5em 0; padding:5px; overflow: auto;}
pre, code { font-size:1em;line-height:1.5;}

/* Images */
.post img { max-width: 95%; padding:5px; }
.sidebar img { margin-bottom: 5px; }
img.thumb {border:#606060 solid 2px; padding:1px; margin:0 5px 0 0; float:left; }

/* Form elements */
input.search, input#author, input#email, input#url, textarea#comment { border:#ADDDFF solid 2px;}

/* WP-Caption */
.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption-dd { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }
